On Jellypotato...
-
@flabdablet said in On Jellypotato...:
How it should work is that some div around every post should have an ID attribute and post URLs should include a fragment identifier that references that ID, so locating the correct scroll point becomes the browser's job. Browsers are good at that job. All this hipster whitespace inner-platform bullshit needs to die.
This.
-
@flabdablet said in On Jellypotato...:
How it should work is that some div around every post should have an ID attribute and post URLs should include a fragment identifier that references that ID, so locating the correct scroll point becomes the browser's job.
The anchor's already there:
It just needs, y'know, using
-
@ben_lubar said in On Jellypotato...:
I think the <video> tags might be doing it.
No. It happens with ordinary images too. I think it's related to not having the size of the images inside the cooked HTML; while getting that info might be a PITA, it's the only way to have a chance of getting the browser to get the div sizes right on the first load.
-
@julianlam said in On Jellypotato...:
ANY site with many pictures suffers from the same issue.
Well that's blatantly untrue. Even the morons at the W3C provided a way to create a correctly-sized placeholder before the image loads. You're (apparently) not using it for various reasons, but it exists.
-
@fbmac said in On Jellypotato...:
I told you guys, he wont let us have fun, and keeps fixing the most funny bugs.
Maybe we should troll about the bugs in some private group where he doesnt see.
onebox
? Could restrict that....I think.
-
@julianlam said in On Jellypotato...:
Any longer, and if I relocate you, I'll get complaints that there's more jellypotato.
The behavior of this page on first load, or after a browser cache clear and/or shift-refresh, is as expected by and acceptable to the kind of curmudgeon who would reflexively disable infiniscroll as soon as offered the chance to.
Edit: and this one is all responsive and shit. Also, whitespace. And it loads properly in the stock browser on my piss-poor Huawei Y210 phone and scrolls very nicely thank you.
-
@julianlam can you just load the landing zone to the topic, and prevent loading during page skip? Then you can do an ajax load of the images, keeping the div hidden with some placeholder until the image is loaded with dimensions?
-
@flabdablet said in On Jellypotato...:
@julianlam said in On Jellypotato...:
Any longer, and if I relocate you, I'll get complaints that there's more jellypotato.
The behavior of this page
Edit: and this one is all responsive and shit.
That's quite interesting! I took a look at both and like what I see, though when I tried to implement the same on NodeBB, I got jellypotato still, so I don't quite know what's causing it.
Thanks for proving me wrong, though! It means there's hope yet
-
@Matches said in On Jellypotato...:
@julianlam can you just load the landing zone to the topic, and prevent loading during page skip? Then you can do an ajax load of the images, keeping the div hidden with some placeholder until the image is loaded with dimensions?
Yep, this is more or less what we do now.
-
@Tsaukpaetra said in On Jellypotato...:
Something glitches once per topic where I get sent back the the point of insertion.
-
-
@julianlam said in On Jellypotato...:
So I can send you to the right place, but if that place decides to hop on a plane and reappear 600px downwards, I can't easily accommodate without introducing more jellypotato.
Pardon for jumping in late, but someone mentioned getting the image sizes when they're uploaded. If you do that, and write out the width and height attributes on the img tags, there won't be any jellypotato, because the browser will reserve the proper amount of space! Like has worked since 1996 or whatever.
-
This post is deleted!
-
@FrostCat said in On Jellypotato...:
someone mentioned getting the image sizes when they're uploaded.
I think someone also mentioned that this wouldn't work for one-boxed images because raisins.
-
@Tsaukpaetra Yeah, because you can't precalculate the height. Doesn't matter, it'd still be a huge improvement.
-
@FrostCat what if I link to an image that has random dimensions every time you request it?
-
@LB_ Then you're probably an asshole. :)
-
@LB_ said in On Jellypotato...:
what if I link to an image that has random dimensions every time you request it?
Sounds like a practical joke for a CDN...
-
@Tsaukpaetra Funny you should say that; serving the same image at unexpected dimensions is exactly what the Wikia CDN does
-
What does jellypotato mean.
-
@xaade said in On Jellypotato...:
What does jellypotato mean.
IIRC, Jellypotato is a portmanteau of Jelly and Potato, so named for the forum's tendency to wobble like a portion of gelatin tossed around like a potato while scrolling.
Other WTFers may chime in with the discopaedia entry (search is failing me at the moment).
-
@xaade said in On Jellypotato...:
What does jellypotato mean.The page moves out from under your scroll wheel.
-
@Tsaukpaetra I tried to search for it, and didn't find it. Though IIRC, the coining of the term was actually based on the EmojiOne version of (@aliceif?)
-
@Tsaukpaetra It's a compound, not a portmanteau, if you want to be the best kind of correct :)
-
@RaceProUK said in On Jellypotato...:
I tried to search for it
I trawled through all the entries, and finally found it!
@Onyx said in Teh Official Discopædia (ﷺ,@abarker, creator and prophet of the Discopædia):
Jellypotato
*noun* A nonsense bug that neither users nor Discodevs can figure out. Currently used to refer to a bug where clicking a user's avatar causes scrolling of the page and/or hijacking of usercard content. It is posible this term might encompass other bugs, but such use has not yet been encountered in the wild.Hijacking and you
Any subsequent usercards you view will have the content of jellypotato causing usercard. While highly entertaining it also causes huge amount of confusion to unsuspecting users.
Current known jellpotato carriers
First occurence: A post in /t/1000
Though, it should probably be updated...
Edit: A comma with space will break the link. Thanks, markdown.
-
@julianlam It appears that the mobile view suffers from a different kind of jellypotato: when I'm scrolling through a text-only topic I may sometimes see the topic contents get blanked or get pixelated. The browser will then jellypotato when I scroll or still have my finger on the screen.
Sometimes I get a glimpse of a black bar on the right-hand side so I think this problem is caused by the menu opening and closing quickly. Is it possible to configure the sensitivity of this gesture or to disable it outright?
Note that I'm using Firefox for Android.
-
@JBert said in On Jellypotato...:
the topic contents get blanked or get pixelated.
Isn't that a sign of navigation though? IIRC the browser stores a snapshot of the page upon navigation, so if you hit the Back button you get presented with a picture of the last page while it loads up (so you're not faced with a White Screen Of Lag, usually).
@JBert said in On Jellypotato...:
caused by the menu opening and closing quickly.
Could definitely be. Sensitivity on that things is wretchedly high.
-
@LB_ said in On Jellypotato...:
what if I link to an image that has random dimensions every time you request it?
autojellypotato
which sounds an awful lot like autofellatio.... ?
-
@Tsaukpaetra said in On Jellypotato...:
so named for the forum's tendency to wobble like a portion of gelatin tossed around like a potato while scrolling.
hell that's way more thought out than the original raisin for the word.
jellypotato was originally a usercard thing, but became all inclusive for any time you lose your location in the page due to browser scrolling that is out of your control or unintended.
-
@julianlam said in On Jellypotato...:
like what I see
To be fair, kittens are quite hard to dislike.
And what's with the understanding, accepting tone? Surely, as a forum developer, that's .
-
@RaceProUK said in On Jellypotato...:
@Tsaukpaetra I tried to search for it, and didn't find it. Though IIRC, the coining of the term was actually based on the EmojiOne version of (@aliceif?)
AFAIK the source of that is a joke created completely independently of TDWTF which @aliceif transplanted into local nomenclature and it stuck. For our purposes I still stand by Discopædia entry I wrote.
-
@julianlam said in On Jellypotato...:
Thanks for proving me wrong
-
Will push more tweaks to the logic (actually a simplification, rather than throwing more code at this problem) tonight.
I forgot to push this morning from home
-
@julianlam said in On Jellypotato...:
actually a simplification, rather than throwing more code at this problem
♥
-
@julianlam I didn't expect you would be trolled here so hard and so quickly. Any regrets yet?
Any thought about banning everyone from meta.nodebb?
-
@fbmac said in On Jellypotato...:
I didn't expect you would be trolled here so hard and so quickly.
YMBNH
-
-
@julianlam Here is an interesting link to follow:
https://what.thedailywtf.com/topic/19419/where-have-the-custom-emojis-gone/94
Well, not twice, because cache is too fast. I went into that topic and ended up there. Then the emojis above loaded in and the page slowly marched down.
-
said in On Jellypotato...:
in and the page slowly marched down
That was really cool! I didn't notice it the first time because when I (re)posted it it was at the bottom of the viewport.
-
@boomzilla said in On Jellypotato...:
@julianlam Here is an interesting link to follow:
https://what.thedailywtf.com/topic/19419/where-have-the-custom-emojis-gone/94
Well, not twice, because cache is too fast. I went into that topic and ended up there. Then the emojis above loaded in and the page slowly marched down.
That'd be an edge case
The jelly potato fixes apply only to images that are block level. We also add the
img-responsive
class to them so they don't overflow past the viewport.For emoji and such, the plugin correctly adds
not-responsive
to the images, so they get passed over and don't get mucked with.In the case of emoji... since they're:
a. small
b. manually added (or of identical size)They should have
width
andheight
attributes, so the browser can correctly reserve space for them.
-
@julianlam said in On Jellypotato...:
They should have width and height attributes, so the browser can correctly reserve space for them.
I hope you intend to detect those, not hardcode them, otherwise will be unhappy.
Yes, we're dicks like that.
-
@Onyx Yeah, in the case of emoji, they're all identical sizes, like 24×24. For manually uploaded emoji, we get the dimensions on upload, so one imagines it could be saved for reference then
-
@julianlam said in On Jellypotato...:
For manually uploaded emoji, we get the dimensions on upload, so one imagines it could be saved for reference then
No, no, no! You are doing it wrong! You should require all emoji to be 16x16 and enforce that by running all emoji through ImageMagick on an hourly basis to prevent people from mucking with them post-upload.
-
@AlexMedia And then you can move them to a CDN to improve performance!
-
My potatoes are still jelly, and now I can't even see half of the imagesthat are posted on thisforum. @julianlam let me tell you a discofable:
One day two discovelopers were going up a mountain with a donkey. “Why is jeff walkingand letting sam ride the donkey?” said the users, “he's the lead developer, he should be the one on the Ass”. “Fuck you” said jeff but sam apologized profusely and hopped off to let jeff on. “Why is jeff riding and making sam walk” said the users, “sam always listens to our complains”. “Fuck you” said jeff, but eager to please sam hopped on the donkey. “Why is this donkeyperforming so poorly?” said the users, “oh my god, you're overloading it you monsters”. “Fuck you” said jeff, but sam hopped off and started carrying the donkey with jeff still on it. Now sam cannot shrug, or it all comes crashing down on top of him.
The moralof this story is: don'timplement a kurobar.
-
@Buddy said in On Jellypotato...:
“he's the lead developer, he should be the one on the Ass”
I thought Jeff was the ass?
-
@Buddy said in On Jellypotato...:
My potatoes are still jelly
I encouraged to turn on the iframely plugin. I bet this is what is causing the return of jellypotato.
I happen to like iframely, especially for links to Twitter. Blakey seems to hate it (granted, he hates everything). What does everyone else think, is it worth the jellypotato?
-
@loopback0 they should call him jeff fox-worthy, because he's a blowhard pundit.
-
@NedFodder I'm not bothered by the , it's the missing images that annoys me.
-
@Buddy said in On Jellypotato...:
The moralof this story is: don'timplement a kurobar.
According to @ben_lubar the notifications get auto-cleared after a while, I think.
Filed Under: Just saying