/operate/ - Endchan Operations

Let us know what's up

Posting mode: Reply

Check to confirm you're not a robot
Drawing x size canvas

Remember to follow the rules

Max file size: 350.00 MB

Max files: 5

Max message length: 4096

Manage Board | Moderate Thread

Return | Catalog | Bottom

Expand All Images

odilitime Board owner 02/16/2017 (Thu) 15:22:54 [Preview] No. 5684
working with a developer from /librejp/, we'll made some minor adjustments on page loading and refresh. We're trying to:
1. Make sure freshly added posts at the bottom of the page have all the same bells as whistles at the posts that were there when the page loaded
2. Cut down on browser stalls when processing large pages

Let me know if you notice anything better or worse.

to_sha_ki#+NqD6W 02/17/2017 (Fri) 13:11:27 [Preview] No. 5685 del
(33.12 KB 646x213 jsbin.png)
うぃ! >>>/librejp/32919

I rewrote `ioFor' somewhat.
- separate "names for receiving numbers" and "names for function objects"
- support backwards loop
- put semi-colon to end of line
(I feel that initialization of `options' is too complicated)

As the poly fill of `setImmediate', this implementation is good for performance.
the licence is Mozilla Public Licence,
but if independence the file, (maybe) can use that without changing the whole license from MIT.

as a try, I going to write a function that you don't need to call next() in the loop body.
with such a name:
 `asyncForCountdown', `asyncForCountup', `asyncForEach', `asyncLoop'

odilitime Board owner 02/18/2017 (Sat) 01:59:54 [Preview] No. 5690 del
Wow, thanks, this is cool. Saw the rewrite, took me some time to understand. I like the new names and backwards step feature. I didn't think to add that.

I saw this polyfill but it's 40k of file size
but what you found is much smaller but supports less browsers (does support most of them).

But we really need to profile and figure out what's causing the pauses on the large pages. I'm guessing it's some sort of non-optimized DOM operation that's causing the jank. After we find the cause then I'll make a decision on whether we need setImmediate or not and which one.

>I going to write a function that you don't need to call next() in the loop body
Well we probably could add an option that makes it wait until next is complete.

I was also working on an ioForIn version. I have some other functions in other projects I'm working on that are similar I'm realizing. I had a "serialMap" that's very similar to ioFor. And it's partner "asyncMap" (see https://gitgud.io/Sapphire/FutaBilly/blob/master/archive/archive.js#L235 ). Also have a "apertureMap" (but forget which project has it). Probably can roll all this up into it's own library here.
Edited last time by odilitime on 02/18/2017 (Sat) 02:01:10.

to_sha_ki#+NqD6W 02/18/2017 (Sat) 06:59:27 [Preview] No. 5691 del
>I can't open quick-reply window with click the post number.
1 line of that fix (and addition of a setImmediate call)

I will write some more reply later.

odilitime Board owner 02/18/2017 (Sat) 11:26:09 [Preview] No. 5693 del
Ah yes, thank you. All fixed

to_sha_ki#+NqD6W 02/18/2017 (Sat) 16:53:23 [Preview] No. 5695 del
ya. I like the backwards step. I often use it in my code.

>After we find the cause then I'll make a decision on whether we need setImmediate or not and which one.
I think too.
(why I wanted to introduce something like setImmidiate.
that main-reason was for a certain feature )

I wait for those library functions without writing my async-functions.

Besides improving JS-code, there are a few things that can be easy.
1. move the <script> tag to the end of <body> tag
2. and... I going to change the lynxchan engine for fix the thumb size.
Maybe need to add it code here.

odilitime Board owner 02/18/2017 (Sat) 16:59:07 [Preview] No. 5696 del
> I going to change the lynxchan engine for fix the thumb size
What thumbnail size fix? I already made one.

to_sha_ki#+NqD6W 02/18/2017 (Sat) 17:14:35 [Preview] No. 5697 del
Oh! I've seen the tag attributes now.
When did you make it?

to_sha_ki#+NqD6W 02/19/2017 (Sun) 12:28:38 [Preview] No. 5702 del
I localized day-of-week expression.

[Hide User Posts] is duplicated.
hookShowHideUi is called from thread.js/refreshCallback and showHide.js .

rather than code change to detect duplicates,
I think that it is better to shift to the method of hooking to addPost .

odilitime Board owner 02/20/2017 (Mon) 05:16:42 [Preview] No. 5706 del
Thanks again! Applied.

>[Hide User Posts] is duplicated.
Oh didn't know. Good catch.

>I think that it is better to shift to the method of hooking to addPost .
but the initial pageload wouldn't be covered would it?
Either way it needs to be rewritten.

Hey here's a feature I'd really like. 8ch.net has the ability to screenshot a page. I'd really like that for EndChan. I've made something before but my time is best spent on fixing bugs. I also have to fix the unban system apparently.
Edited last time by odilitime on 02/20/2017 (Mon) 06:43:43.

to_sha_ki#+NqD6W 02/20/2017 (Mon) 14:27:48 [Preview] No. 5710 del

>but the initial pageload wouldn't be covered would it?
my description was insufficient.
I said shift from "hooking to refreshCallback" to "hooking to addPost".
write a new function that receive a postCell, and add it to the bottom of addPost.
to leave hookShowHideUi call on page loading.

>Hey here's a feature I'd really like. 8ch.net has the ability to screenshot a page. I'd really like that for EndChan. I've made something before but my time is best spent on fixing bugs. I also have to fix the unban system apparently.
would you like to reflect endchan server's front-end files and back-end files to the repository?
(Several files in the repository look old)
I want to see the bug.

I found this. but I have never used it yet.

to_sha_ki#+NqD6W 02/20/2017 (Mon) 15:30:50 [Preview] No. 5712 del
(24.60 KB 408x234 code.png)
I just confirmed that html2canvas can work.
I will not proceed with this, I will write each hook for addPost.

to_sha_ki#+NqD6W 02/22/2017 (Wed) 10:31:31 [Preview] No. 5719 del
I changed not to use updateTimes() and hookShowHideUi()

refreshCallback calls addPost and
addPost calls processPostCell and
processPostCell calls adjustPostTime and applyShowHidePost

adjustPostTime() is a substitue for updateTimes()
applyShowHidePost() is a substitue for hookShowHideUi()

new postCell to be added newly will be processed individually.
processes only postCell to be newly added to page.

odilitime Board owner 03/06/2017 (Mon) 06:09:34 [Preview] No. 5765 del
thank you and applied. Sorry for the delay, it has been a busy week.

to_sha_ki#+NqD6W 03/07/2017 (Tue) 15:18:29 [Preview] No. 5769 del
thank you. the real-life is important.

to_sha_ki#+NqD6W 03/13/2017 (Mon) 12:55:25 [Preview] No. 5798 del
(29.15 KB 458x197 id_with_tag.png)
I fixed that "[Hide User Post]" will not work after a post with the existing ID are added with javascript-Refresh.

in this expression, when hasId.innerHTML is changed, userID is also changed.
labelId.innerHTML was changed by thread.js/updateIdLabels function.

odilitime Board owner 03/29/2017 (Wed) 12:42:18 [Preview] No. 5884 del
thank you so much for the fix. I've put it in place.

to_sha_ki#xs0+7l 05/13/2017 (Sat) 10:33:08 [Preview] No. 6283 del
(111.61 KB 302x270 double_count_down.webm)
thank you for merge.

it's been a while.

・catalog hiding support.( >>5889 )
・the issue on firefox. fix double countdown of catalog update timer.

Anonymous 05/15/2017 (Mon) 21:06:45 [Preview] No. 6292 del
Hi Ron

odilitime 05/23/2017 (Tue) 06:32:06 [Preview] No. 6310 del
Again, thank you so much. You read my horrible code, and write in the same style, I find this a rare but highly valued quality.

I see you used DocumentFragment, was working why? Should we convert more to use that?

Your changes are now in place.

Anonymous 05/26/2017 (Fri) 05:32:46 [Preview] No. 6325 del
(165.36 KB 1280x720 fasffafsfasf.jpg)
>cheap china clap

lol you bought all that fag color monitors you dont need and now have no money left for a proper keyboard with letters.

i suggest you to but buy some stickers from ebay to fix your cheap china keyboard.if you want you can use a marker or chalk to redraw them manually. in case you need advise on how to use chalk: we have guy on our board called schlomoko, he is a professional faggot and specialized on drawing interesting mojis with chalk on the walkway.

Anonymous 05/31/2017 (Wed) 07:32:13 [Preview] No. 6338 del
Ughhhhh fuck off kike

Anonymous 06/01/2017 (Thu) 10:49:53 [Preview] No. 6352 del
>So obsessed with that guy, he professes his love for him across multiple boards
D'Awww. Isn't that cute?

Anonymous 06/01/2017 (Thu) 16:30:16 [Preview] No. 6355 del
(165.05 KB 1280x720 fasasffafasf.jpg)
>he is herem he is there, schlomoko is everywhere.
schlomoko is always with me. it sometimes feels like he and me are one and the same person

to_sha_ki#xs0+7l 06/25/2017 (Sun) 05:08:33 [Preview] No. 6591 del
excuse me 1 month. my mind was on a journey to another place.
(I changed my psychiatric medicine. I have stabilized recently.)

I used the DocumentFragment to not change code's function call flow.
it can simplify the function call flow.
but tricky behaviour and not a bit proper use.

I think it is better to organize the DOM structure.

merge request of this time:

(1). static/error_494.html: recovery page for too large cookies. custom error page for nginx.
   (This file does not depend on other files.)

(2). options to place settings in cookie, even though local storage is available.

(3). minor modification of local storage related.

odilitime Board volunteer 06/26/2017 (Mon) 02:43:47 [Preview] No. 6601 del
>excuse me 1 month. my mind was on a journey to another place.
No worries

>I have stabilized recently
Glad to hear that.

>merge request of this time:
Why are cookies better than localstorage? Why would someone prefer cookies?

to_sha_ki#xs0+7l 06/27/2017 (Tue) 05:48:21 [Preview] No. 6610 del
I think local-storage better than cookies.

there is a Puffin user in /librejp/.
Puffin browser supports local-storage. but it doesn't save/resotore at exit/start.

the recovery page was more worth in a month ago.
I am too late.

to_sha_ki#xs0+7l 07/22/2017 (Sat) 08:35:45 [Preview] No. 6815 del
two issues
1. apply of unintended markdown
2. unbalanced tag

workaround is necessary

to_sha_ki#xs0+7l 07/22/2017 (Sat) 08:42:35 [Preview] No. 6816 del
quotation style is not working.

odilitime Board volunteer 07/22/2017 (Sat) 21:38:45 [Preview] No. 6827 del
this is now fixed.


to_sha_ki#xs0+7l 07/23/2017 (Sun) 12:52:39 [Preview] No. 6833 del
thank you

to_sha_ki#xs0+7l 07/25/2017 (Tue) 07:38:15 [Preview] No. 6837 del
catalog hiding are not woking now.
probably there is no object specifier.


odilitime Board volunteer 11/16/2017 (Thu) 10:10:39 [Preview] No. 7594 del
this is now fixed. Sorry for the delay.

If I install LynxChan 1.8 do you want to move forward with your translation?

Anonymous 11/22/2017 (Wed) 00:55:14 [Preview] No.7607 del
Who is Triangles, and are they still around? If not, why isn't the "claim board" link fixed to another email address?

odilitime Board volunteer 11/23/2017 (Thu) 00:31:23 [Preview] No.7610 del
Balrog and I run triangles. (Though I usually get to things before Balrog). It's the current valid email. Sorry for the delay, claims have been processed

Anonymous 11/27/2017 (Mon) 20:15:24 [Preview] No.7664 del
when you updating the site to 1.9?

Anonymous 11/28/2017 (Tue) 08:32:15 [Preview] No.7695 del
When will the EndchanGold™ system be implemented?

to_sha_ki#xs0+7l 12/18/2017 (Mon) 13:54:31 [Preview] No.7993 del
Updating LynxChan is a good thing, I think.
I am little reluctant to introduce a Japanese translation version.
(I plan to continue to suggest patch)

to_sha_ki#xs0+7l 12/21/2017 (Thu) 12:29:29 [Preview] No.8015 del
(11.13 KB 529x190 1513859343534.jpg)
the thumbnail for the inline player is created by js.
though img tag before js processing has width and height attributes, current js doesn't retain width and height attribute.
so this change.

Top | Return | Catalog | Post a reply