News for hackers. Stuff that matters.
Re:The Absolute Minimum Every Software Developer Must Know A... by davidham on Monday October 02, 2023 @08:31AM (#37737256)
Is it just me, or is anyone else seeing what looks like the mouse pointer of everyone else reading the page, like 1,000 little ants on the screen
Re:The Absolute Minimum Every Software Developer Must Know A... by dekken_ on Monday October 02, 2023 @08:34AM (#37737277)
not just you, this is what my other comment is about (indirectly)
Re:The Absolute Minimum Every Software Developer Must Know A... by ilyt on Monday October 02, 2023 @09:04AM (#37737542)
I see nice crisp black text on white background because apparently server melted down
Re:The Absolute Minimum Every Software Developer Must Know A... by hot_gril on Monday October 02, 2023 @11:27AM (#37739373)
I saw that, except half the images weren't loading, and there was just one mouse pointer.
Re:The Absolute Minimum Every Software Developer Must Know A... by hwillis on Monday October 02, 2023 @09:12AM (#37737621)
turned off javascript as soon as I saw it. Like trying to read with twenty mosquitos in your face.
Re:The Absolute Minimum Every Software Developer Must Know A... by sebstefan on Monday October 02, 2023 @11:41AM (#37739561)
hey be nice to my mouse cursor
Re:The Absolute Minimum Every Software Developer Must Know A... by neurostimulant on Tuesday October 03, 2023 @10:50AM (#37752730)
If you're using firefox, toggling reader view should do the trick.
Re:The Absolute Minimum Every Software Developer Must Know A... by nigma1337 on Monday October 02, 2023 @09:18AM (#37737679)
Distracted me from reading the article, I just started chasing other people around.
Re:The Absolute Minimum Every Software Developer Must Know A... by dystroy on Tuesday October 03, 2023 @10:08AM (#37752200)
That's what's missing. When I click on a pointer, its owner should have the article replaced with a "GAME OVER" message.
Re:The Absolute Minimum Every Software Developer Must Know A... by zzzeek on Monday October 02, 2023 @09:18AM (#37737684)
yeah....why on earth would someone want their webpage to do this, especially if they have text they'd presumably want you to read?
Re:The Absolute Minimum Every Software Developer Must Know A... by fragmede on Monday October 02, 2023 @01:52PM (#37741870)
Have you ever read with other people, like in school or a book club, or been somewhere that there were other people around? It's an interesting move by the author; the loneliness epidemic hasn't gone unnoticed.

eg https://www.npr.org/2023/05/02/1173418268/loneliness-connect...

Re:The Absolute Minimum Every Software Developer Must Know A... by WD-42 on Monday October 02, 2023 @02:18PM (#37742256)
It's cute, and provides a hint of human connection that is otherwise absent on the web "hey, another human is reading this too!" which you probably know but something about seeing the pointer move makes it feel real.

Probably not the greatest during a hacker news hug of death, but if I read that article some other time and saw one of the moving pointers, I would think it was really cool.

Re:The Absolute Minimum Every Software Developer Must Know A... by aragonite on Monday October 02, 2023 @09:21AM (#37737711)
I've been drawing circles for over a minute now and no one has joined me yet, so I conclude those movements are random rather than made by intelligent beings. :)
Re:The Absolute Minimum Every Software Developer Must Know A... by KyleBerezin on Monday October 02, 2023 @12:01PM (#37739918)
That makes me think of this old gem https://imgur.com/gallery/BgKFcI9
Re:The Absolute Minimum Every Software Developer Must Know A... by extraduder_ire on Tuesday October 03, 2023 @09:40AM (#37751772)
I did the same for a while while I was reading. From another comment, the position only seems to update once a second, so it'll be hard for someone to notice your movements.
Re:The Absolute Minimum Every Software Developer Must Know A... by wirelesspotat on Monday October 02, 2023 @09:28AM (#37737803)
Yep, the website opens a websocket connection[0] and sends the mouse position every 1 second

[0] WS connection is on `wss://tonsky.me/pointers?id=XXXXXX&page=/blog/unicode/&platform=XXX`

Re:The Absolute Minimum Every Software Developer Must Know A... by lifeinthevoid on Monday October 02, 2023 @10:35AM (#37738682)
yup, pretty annoying
Re:The Absolute Minimum Every Software Developer Must Know A... by keb_ on Monday October 02, 2023 @11:11AM (#37739177)
Anytime tonsky's site gets posted here, I'm reminded by how awful it is, which is ironic given his UI/UX background. The site's lightmode is a blinding saturated yellow, and if you switch into darkmode, it's an even less readable "cute" flashlight js trick. I don't know why he thought this was a good idea. Thank god for Firefox reader mode.
Re:The Absolute Minimum Every Software Developer Must Know A... by ericmcer on Monday October 02, 2023 @11:29AM (#37739400)
I don't think he added moving cursors all over the page because he thought it was good UI/UX, he knows what he is doing.
Re:The Absolute Minimum Every Software Developer Must Know A... by superq on Monday October 02, 2023 @12:42PM (#37740729)
This is seemingly self-contradictory. Perhaps you could explain your reasoning further?
Re:The Absolute Minimum Every Software Developer Must Know A... by chaorace on Monday October 02, 2023 @01:29PM (#37741520)
It lets you hold hands with strangers
Re:The Absolute Minimum Every Software Developer Must Know A... by ksoped on Monday October 02, 2023 @01:19PM (#37741364)
You gotta know the rules to bend the rules
Re:The Absolute Minimum Every Software Developer Must Know A... by Scarbutt on Monday October 02, 2023 @01:22PM (#37741403)
It's called satire.
Re:The Absolute Minimum Every Software Developer Must Know A... by gpvos on Monday October 02, 2023 @04:44PM (#37744165)
Doing bad things is their idea of fun.
Re:The Absolute Minimum Every Software Developer Must Know A... by 876978095789789 on Monday October 02, 2023 @01:28PM (#37741497)
He appears (if his logos are anything to go by) to be a flat UI guy. I doubt any of these people know what they're doing.
Re:The Absolute Minimum Every Software Developer Must Know A... by keb_ on Monday October 02, 2023 @10:25PM (#37747187)
I'm having a hard time reconciling "he knows what he is doing" with him making his site practically unusable without a reader mode, which by the way, not every browser supports (especially on mobile).
Re:The Absolute Minimum Every Software Developer Must Know A... by throwaway290 on Tuesday October 03, 2023 @05:55AM (#37749800)
Don't even think of switching on the dark (night) mode with that attitude! :D

I really enjoyed the tongue in cheek design. I think every modern browser either allows you to turn on reader mode (especially on mobile) or just turn off CSS. This particular article works excellently even in w3m.

Re:The Absolute Minimum Every Software Developer Must Know A... by keb_ on Tuesday October 03, 2023 @10:13AM (#37752275)
> Don't even think of switching on the dark (night) mode with that attitude! :D

:D

> I really enjoyed the tongue in cheek design. I think every modern browser either allows you to turn on reader mode (especially on mobile) or just turn off CSS. This particular article works excellently even in w3m.

Firefox Focus on mobile does not have Reader Mode.

Re:The Absolute Minimum Every Software Developer Must Know A... by throwaway290 on Tuesday October 03, 2023 @10:27AM (#37752437)
Fair enough. Tbh at a different time I would probably be as pissed at the author as anyone. Might be mood dependent.

I should also add that the night mode won't be as fun on mobile either, just checked and I don't think it works with pointer events for the effect

Re:The Absolute Minimum Every Software Developer Must Know A... by slipperlobster on Tuesday October 03, 2023 @01:10PM (#37754688)
Fine, sure. Cute - turn on reader mode. Now the images that are supposed to be sitting over yellow background are dark gray images over a slightly less dark gray background.

The decision to design a serious (read: not-tongue-in-cheek) topic with these "quirky" tricks sucks, JMHO.

Re:The Absolute Minimum Every Software Developer Must Know A... by coldpie on Monday October 02, 2023 @11:58AM (#37739846)
Works like a normal website with JavaScript disabled. I didn't even know it did fancy junk until reading the comments here. NoScript saves the day again! I don't know how people can browse the web without it.
Re:The Absolute Minimum Every Software Developer Must Know A... by aembleton on Monday October 02, 2023 @01:47PM (#37741804)
By using reader mode
Re:The Absolute Minimum Every Software Developer Must Know A... by gpvos on Monday October 02, 2023 @04:47PM (#37744202)
It is some time ago since I last used it, but I found that too many websites that I want to read require Javascript to even show you the main body of text, or a reasonable layout. Is that different now?
Re:The Absolute Minimum Every Software Developer Must Know A... by coldpie on Tuesday October 03, 2023 @09:14AM (#37751404)
No. Just whitelist the main domain for sites that are obviously broken. Then try one or two likely subdomains if that's not enough. In the rare cases where it still wants more crap enabled, then it's usually not worth the effort, close tab and move on to something else. As you build up a whitelist over time, it becomes pretty rare that you need to interact with it more than a couple times per day. Yeah, it takes some effort, but it's worth it to nuke cookie banners and sticky headers and videos and all the other crap people do with JS.
Re:The Absolute Minimum Every Software Developer Must Know A... by gpvos on Tuesday October 03, 2023 @10:34AM (#37752529)
I already have that routine with uBlock Origin. I don't think NoScript offers all of uBO's functionality, and I certainly won't do the same dance for two extensions, but I'll look into uBO's abilities to specifically block JS.
Re:The Absolute Minimum Every Software Developer Must Know A... by coldpie on Wednesday October 04, 2023 @09:32AM (#37764906)
Makes sense! I use both, uBO just does its thing and I never interact with it. NoScript handles blocking & whitelisting javascript. It's totally possible uBO has a similar feature and I just don't know about it.
Re:The Absolute Minimum Every Software Developer Must Know A... by redder23 on Monday October 02, 2023 @09:17PM (#37746713)
I never understood how people can browser the we WITH IT. Even 10 years ago. today more then ever basically every website needs JS to work properly. I basically never come across a page where I have the urge to disable JS. I have a large list of adblock lists active that also help getting rid of cookie banners and other shit.

I can not imagine manually approving JS for every site. And again doing the inverse and have noscript installed to deny one website a year does not seem to be worth it for me. In this case I can also just use a adblock rule to block that specific script or all .js files from the domain I guess. So I really no not need NoScript.

Re:The Absolute Minimum Every Software Developer Must Know A... by jandrese on Tuesday October 03, 2023 @08:21AM (#37750891)
By default the script for the page itself is whitelisted, it is just the third party scripts that are blocked. This works fairly often, but there are a few sites that you can also globally unblock because they provide value. One example is mathjax, used to format equations on many pages.
Re:The Absolute Minimum Every Software Developer Must Know A... by coldpie on Tuesday October 03, 2023 @09:09AM (#37751353)
Many sites don't need JS at all, like the OP of this thread for example. For a lot of sites, disabling JS actually gives a better experience than leaving it enabled, again like the OP of this thread. It's a trade-off, but I find most uses of JS are so bad it's worth putting up with whitelisting. For example, I don't see cookie pop-ups, I don't see videos, disabling JS kills most of those stupid sticky headers that web designers love so much, and whatever too-clever crap the OP of this thread was doing is completely bypassed. The web is so, so much better with JS off by default.

For those sites that do need JS, NoScript's whitelist feature makes it quick & easy to fix. The first time I visit a new site, if it is obviously broken, then I whitelist the main domain. If that doesn't fix it, then I whitelist a couple likely-looking domains (often sites import JS from similar domains, or from common library domains). That's enough to get probably 90+% of websites working, while still leaving most garbage JS disabled. The remaining ~10% of websites that need a dozen domains whitelisted are probably not worth visiting anyway, so I just move on at that point. Or NoScript even lets you temp-whitelist everything for a given tab and just put up with the misery to get whatever I need from that one site. Since the whitelist persists forever, and I don't visit hundreds of different websites every day, after some time it becomes pretty rare that I need to whitelist more than one or two things per day.

You maintain an adblock blacklist, I maintain a NoScript whitelist. Not so different :)

Re:The Absolute Minimum Every Software Developer Must Know A... by Arech on Monday October 02, 2023 @01:58PM (#37741965)
I'd say this annoying trick is highly appropriate for the topic!
Re:The Absolute Minimum Every Software Developer Must Know A... by spacechild1 on Monday October 02, 2023 @03:00PM (#37742812)
It is obviously a joke (and a good one, I dare say). The fact that people seem to take it seriously says something about the contemporary state of webdesign :)
Re:The Absolute Minimum Every Software Developer Must Know A... by mplewis on Monday October 02, 2023 @03:46PM (#37743481)
It would be a better joke if there were an option to turn the joke off. As it is, dark mode doesn't exist and the pointers occlude text.
Re:The Absolute Minimum Every Software Developer Must Know A... by spacechild1 on Monday October 02, 2023 @04:02PM (#37743688)
> It would be a better joke if there were an option to turn the joke off.

As others have pointed out, reader mode works as expected.

Re:The Absolute Minimum Every Software Developer Must Know A... by keb_ on Monday October 02, 2023 @10:23PM (#37747171)
1. Not every browser has reader mode

2. I don't think it's a very good joke to post long-form content on your blog with the expectation that it's basically unreadable without a reader mode.

> The fact that people seem to take it seriously says something about the contemporary state of webdesign :)

Mind expanding and what it says exactly about contemporary web design?

Whether I take it seriously or not doesn't change the fact that it's still damn hard to read anything.

Re:The Absolute Minimum Every Software Developer Must Know A... by spacechild1 on Tuesday October 03, 2023 @03:05AM (#37748739)
> Mind expanding and what it says exactly about contemporary web design?

The same as when political satire is indistinguishable from actual politics. It means that the real things has sort of become a joke itself.

Re:The Absolute Minimum Every Software Developer Must Know A... by keb_ on Tuesday October 03, 2023 @10:11AM (#37752241)
I can agree that most modern web design is bad. I can also agree that the web design on tonsky's site is bad, but OK, I acknowledge that it is intentionally bad; so bad that it's unreadable. I had myself a chuckle now, and next time I see a link to tonsky's site, I'll click on it, chuckle, and immediately leave.
Re:The Absolute Minimum Every Software Developer Must Know A... by tqwhite on Tuesday October 03, 2023 @12:37PM (#37754198)
If you don't have reader mode, get a new browser. Don't tell him to make it boring for all the rest of us who behave normally.
Re:The Absolute Minimum Every Software Developer Must Know A... by keb_ on Tuesday October 03, 2023 @10:00PM (#37759991)
Boring and readable are not the same thing. Also, you can edit your comments on HackerNews
Re:The Absolute Minimum Every Software Developer Must Know A... by tqwhite on Tuesday October 03, 2023 @12:38PM (#37754206)
Also, I read it perfectly well and never thought about switching to reader. It made me laugh.
Re:The Absolute Minimum Every Software Developer Must Know A... by LordDragonfang on Monday October 02, 2023 @05:26PM (#37744636)
It's deeply ironic that an article about dealing with text properly has images which are part of the article text and yet have no alt-text, rendering parts of the article unreadable in reader mode if the server is slow.
Re:The Absolute Minimum Every Software Developer Must Know A... by torgard on Tuesday October 03, 2023 @02:54AM (#37748690)
Well, I thought it was fun.
Re:The Absolute Minimum Every Software Developer Must Know A... by johnnyanmac on Sunday October 08, 2023 @09:44PM (#37816093)
>it's an even less readable "cute" flashlight js trick. I don't know why he thought this was a good idea. Thank god for Firefox reader mode.

not even a proper flashlight. it updates when the mouse moves, so you're SOL if you scroll on desktop.

Re:The Absolute Minimum Every Software Developer Must Know A... by pookha on Monday October 02, 2023 @11:15AM (#37739224)
Good times. If you click on the sun switch the entire UI gets zeroed out and you get to use on:hover mouse shtick to read the UI through a fuzzy radius. Is Yoko Ono designing websites now?
Re:The Absolute Minimum Every Software Developer Must Know A... by WD-42 on Monday October 02, 2023 @02:15PM (#37742213)
It's a joke. It made me laugh.
Re:The Absolute Minimum Every Software Developer Must Know A... by keb_ on Monday October 02, 2023 @10:27PM (#37747209)
It's a bad joke. It made me close the browser tab.
Re:The Absolute Minimum Every Software Developer Must Know A... by Dylan16807 on Tuesday October 03, 2023 @03:16AM (#37748806)
> It's a bad joke.

To each their own.

> It made me close the browser tab.

If you can't handle refreshing or merely clicking it again, that's you having a problem, not the site having a problem.

Re:The Absolute Minimum Every Software Developer Must Know A... by keb_ on Tuesday October 03, 2023 @10:05AM (#37752150)
> If you can't handle refreshing or merely clicking it again, that's you having a problem, not the site having a problem.

No, it's the site's problem. The contrast between the blinding radioactive yellow background and the font is eye straining and doesn't meet the WCAG standards for accessible text. And the dark mode is unusable. The joke would be funnier if there was a real dark mode.

Re:The Absolute Minimum Every Software Developer Must Know A... by Dylan16807 on Tuesday October 03, 2023 @12:14PM (#37753877)
You said the joke made you leave. The normal color scheme is not part of the joke, and I'm sorry it hurts your eyes. I won't try to defend the eye hurting.

> doesn't meet the WCAG standards for accessible text.

Oh, which part of the standards? When I punch #000000 on #FDDB29 into contrast checkers I get good results.

The single quote isn't as good but all the rest has those colors.

Re:The Absolute Minimum Every Software Developer Must Know A... by keb_ on Tuesday October 03, 2023 @12:45PM (#37754307)
I'm using the Firefox Accessibility Tools. But you're right, I mistook the accessibility warning for the quote/header text for the body text. #000 > #FDDB29 does pass unfortunately.
Re:The Absolute Minimum Every Software Developer Must Know A... by jplusequalt on Tuesday October 03, 2023 @10:55AM (#37752794)
Boo! I enjoyed it a ton. More fun than another bland sleek web page.
Re:The Absolute Minimum Every Software Developer Must Know A... by keb_ on Tuesday October 03, 2023 @12:46PM (#37754322)
It's a creative and fun website, just not nice to use.
Re:The Absolute Minimum Every Software Developer Must Know A... by neonsunset on Monday October 02, 2023 @01:05PM (#37741086)
Yes, reading the article is impossible with erratic movement on the screen.
Re:The Absolute Minimum Every Software Developer Must Know A... by 876978095789789 on Monday October 02, 2023 @01:25PM (#37741463)
Yeah, it's extremely obnoxious.
Re:The Absolute Minimum Every Software Developer Must Know A... by lbltavares on Monday October 02, 2023 @02:13PM (#37742179)
It's fun specially for folks like me who have ADHD. But there should be a button to disable it
Re:The Absolute Minimum Every Software Developer Must Know A... by pests on Monday October 02, 2023 @02:41PM (#37742561)
I know which site you are talking about before even clicking the article :(
Re:The Absolute Minimum Every Software Developer Must Know A... by wizofaus on Monday October 02, 2023 @08:08PM (#37746213)
It's quite possibly the worst web page presentation I've come across in a long time - aside from the fact it looks like some bug has caused my OS to leave a random trail of mouse pointers all over the screen, some of them even move around, making me doubt my sanity when I'm quite sure I'm holding the mouse still. And the less said about the colours the better. There's no way I was going to put up with that long enough to read all the text on it.
Re:The Absolute Minimum Every Software Developer Must Know A... by arendtio on Tuesday October 03, 2023 @02:04AM (#37748437)
Too bad the Linux and the Mac pointer look so similar. But when you give them different background colors, it becomes more obvious which platform dominates, like:

  .pointer.l {
    background-color: green;
  }
Re:The Absolute Minimum Every Software Developer Must Know A... by ormax3 on Tuesday October 03, 2023 @11:09AM (#37752948)
first thing I did before reading the article, using uBO to block JS on the page
Re:The Absolute Minimum Every Software Developer Must Know A... by scruss on Thursday October 05, 2023 @04:38PM (#37783992)
as someone with a visual processing disorder, this is like having a page scream at me. Repeatedly. Never do this