Live data from Hacker News

Man who thought opening a TXT file is fine thought wrong

paulosyibelo.com

31–40 of 316 posts

Re: Man who thought opening a TXT file is fine thought wrong

#31
post #4

To the author: This website seems to use something called SmoothScroll (edit: a javascript library) which makes my scrolling really really jumpy/janky. I'm using chrome on a MacBook with the touchpad. Made it basically impossible to scroll around the page which in turn made it very difficult for me to read the article.

Something on the site triggered mcafee on my laptop.

Re: Man who thought opening a TXT file is fine thought wrong

#32
post #4

To the author: This website seems to use something called SmoothScroll (edit: a javascript library) which makes my scrolling really really jumpy/janky. I'm using chrome on a MacBook with the touchpad. Made it basically impossible to scroll around the page which in turn made it very difficult for me to read the article.

I'm using Chrome and Windows10 but also got unpleasant behavior. I can't quite tell whats going on for multiple pushes of the scroll wheel but one 'tick' would push the page a set amount, and then a moment later the movement was repeated (but without the prompting input). Adds up to kind of a 'gross' overall feeling when scrolling. EDIT: when scrolling with the arrow keys it looks like theres an attempt at 'smoothing…

That this behavior is called "SmoothScroll" is what pushes it over the boundary for me firmly into self-satire (and so I am in stitches playing from laughing so hard at your great description and then experiencing the actual behavior); who writes these scripts, and why? :(

Re: Man who thought opening a TXT file is fine thought wrong

#34

File extensions are a kludge anyway. (And Windows 10 still hides them by default, because hey, backwards compatibility, and you wouldn't want to confuse Grandma who's seen the file be called "grandkids" since Windows 95..). Why should the filetype be dependent on the name? People even think renaming a .BMP to .JPG means now it's a compressed file! Old school Macs stored the filetype outside of a file, so you can rena…

Not really outside. The metadata was stored in a so-called "resource fork", with the file contents proper in a "data fork", both of which belonged to the file per se. Part of the resource fork was the "creator code", four bytes identifying the application which had created or could open the file, and the "type code", four more bytes defining which, among the potentially many kinds of files a given application could open, this file actually was. Binaries were stored in the same format, with IIRC an extra bit somewhere flagging them as executable.

Classic Palm OS used an identical scheme, and for both platforms there was a freeware "ResEdit" application you could find to let you edit resource forks without paying for a real developer toolkit.

Re: Man who thought opening a TXT file is fine thought wrong

#35

Earlier quoted context omitted.

Was about to post the same. This might be the most frustrating scrolling I've ever encountered.

Messing with native scrolling as a web antipattern is right up there with interfering with copy and paste. I will never understand why people do these things.

Breaking the back button is the ultimate sin in my book. This comes close.

Re: Man who thought opening a TXT file is fine thought wrong

#38
post #28
post #4

To the author: This website seems to use something called SmoothScroll (edit: a javascript library) which makes my scrolling really really jumpy/janky. I'm using chrome on a MacBook with the touchpad. Made it basically impossible to scroll around the page which in turn made it very difficult for me to read the article.

Also to the author: This is most likely costing you readers. Just weighing the pros and cons here: Pro: People who don't have smooth scrolling mouses will suddenly enjoy smooth scrolling on this website. Even this is a questionable "pro". Most people have scrolling setup how they want it and don't need it fixed on a per-website basis. Con: Degradating a core function of the computer (scrolling) for people who already…

It says something when the top comment isn't about the content of the article but about how bad someone broke people's browsing experience.

Re: Man who thought opening a TXT file is fine thought wrong

#39
post #18

The bug is fixed now, as the articles notes at the end. I cannot reproduce this at all now. When I put HTML in an actual .txt file, TextEdit opened it showing the markup, not the rendered content. This is regardless of whether in Preferences, I check or uncheck "Display HTML files as HTML code instead of formatted text" checkbox.

He says it was patched in 2020.

But the log viewer shows March 31 2021?
Post reply on HN