/operate/ - Endchan Operations

Let us know what's up

Posting mode: Reply

Check to confirm you're not a robot
Name
Email
Subject
Comment
Password
Drawing x size canvas
File(s)

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)
>>5684
うぃ! >>>/librejp/32919


https://jsbin.com/hicubizucu/1/edit?js,output
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.
https://dbaron.org/log/20100309-faster-timeouts
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
>>5685
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
https://github.com/YuzuJS/setImmediate
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
>>>/librejp/32951
>I can't open quick-reply window with click the post number.
1 line of that fix (and addition of a setImmediate call)
https://gitgud.io/to_sha_ki/8TailedLynxJa/commit/0a6199731aeb028a879750e93d15a7afd730de3b

I will write some more reply later.


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


to_sha_ki#+NqD6W 02/18/2017 (Sat) 16:53:23 [Preview] No. 5695 del
>>5690
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.
https://gitgud.io/InfinityNow/LynxChan/blob/master/src/be/engine/domManipulator/common.js#L721


odilitime Board owner 02/18/2017 (Sat) 16:59:07 [Preview] No. 5696 del
>>5695
> 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
>>5696
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.
https://gitgud.io/to_sha_ki/8TailedLynxJa/commit/0aaa2356399db76cd59be56322e8ead27ec31dab
https://jsbin.com/zefazeqeqi/1/edit?js,output


[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
>>5702
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
>>5706
teeheehee

>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.
https://html2canvas.hertzen.com/examples.html


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
https://gitgud.io/to_sha_ki/8TailedLynxJa/commit/927bc3fe442b211c5c96ad95ec33c301788d7a6a
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
>>5719
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
>>5765
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)
https://gitgud.io/to_sha_ki/8TailedLynxJa/commit/4300f390ea6f54e7dc0ae97dc4f1dd3ba2c7fb71
I fixed that "[Hide User Post]" will not work after a post with the existing ID are added with javascript-Refresh.

userID=hasId.innerHTML
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
>>5798
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)
>>5884
thank you for merge.

it's been a while.

https://gitgud.io/to_sha_ki/8TailedLynxJa/commit/cc79f2a8d01939e34caf2a62c5bfd995dfb2d856
・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
>>6283
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)
>>5684
>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
>>6325
Ughhhhh fuck off kike


Anonymous 06/01/2017 (Thu) 10:49:53 [Preview] No. 6352 del
>>6325
>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)
>>6352
>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
>>6310
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:

https://gitgud.io/to_sha_ki/8TailedLynxJa/commit/cb1dce771132d4d4f8a9576a7d8a02d7d5423b1d
(1). static/error_494.html: recovery page for too large cookies. custom error page for nginx.
   (This file does not depend on other files.)

https://gitgud.io/to_sha_ki/8TailedLynxJa/commit/a0a91f9a2967eff55ac159d756f4dc2cbf09bdfe
(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
>>6591
>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
>>6601
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.
>>>/librejp/92745


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

>>6816
fixed.


to_sha_ki#xs0+7l 07/23/2017 (Sun) 12:52:39 [Preview] No. 6833 del
>>6827
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.

https://gitgud.io/to_sha_ki/8TailedLynxJa/commit/8b103c4ab7c6a69a1174f4ac81353e81e173cb07


odilitime Board volunteer 11/16/2017 (Thu) 10:10:39 [Preview] No. 7594 del
>>6837
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
>>7594
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
>>7607
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



Top | Return | Catalog | Post a reply