Readit News logoReadit News
hoten commented on Rethinking DOM from first principles   acko.net/blog/html-is-dea... · Posted by u/puzzlingcaptcha
joquarky · 21 days ago
Extension not necessary:

In Chrome, open DevTools, Shift+Ctrl+P > Disable JavaScript

hoten · 21 days ago
CSS can prevent selection.
hoten commented on Yosemite embodies the long war over US national park privatization   theconversation.com/yosem... · Posted by u/rntn
hdgvhicv · 25 days ago
They’ll pave paradise and put up a parking lot?
hoten · 25 days ago
A sad eventuality, but perhaps at least an interesting game.

Just saw an trailer for an unreleased game: rollercoaster tycoon, but for parking lots.

https://store.steampowered.com/app/3031880/Car_Park_Capital/

hoten commented on Google shifts goo.gl policy: Inactive links deactivated, active links preserved   blog.google/technology/de... · Posted by u/shuuji3
rsync · a month ago
"I'll never use a URL shortener again."

I don't know if anyone should use a URL shortener or not ... but if you do ...

"Oh By"[1] will be around in thirty years.

Links will not be "purged". Users won't be tracked. Ads won't be served.

[1] https://0x.co

hoten · a month ago
I'm not sure how to ask this without being rude, so I'll just shoot. Is this example satire? https://0x.co/examples.html

What normal person would find this glove and result in it being returned to its owner? Even if "0x.co" was written too, I think most people wouldn't understand it to be a URL.

hoten commented on IRS Direct File on GitHub   chrisgiven.com/2025/05/di... · Posted by u/nickthegreek
BrandoElFollito · 3 months ago
What is the core reason for the government in the US to not provide a simple online tax filing portal like we generally have in Europe.

It is pre-filled with the known incomes so for the best majority of people filling their taxes is a 1 minute exercise.

This also helps, I guess, to have the taxes flow in.

hoten · 3 months ago
lobbying on behalf of the tax filing industry

additionally, the US has (one of?) the most complex tax systems in the world. In part b/c most of it is carve outs...on behalf of various lobbyist groups / catering to specific voting blocks.

hoten commented on Writing your own C++ standard library part 2   nibblestew.blogspot.com/2... · Posted by u/signa11
jandrewrogers · 3 months ago
Not even close, and I am a fan of abseil. The design of abseil has legacy constraints that don’t need to apply to a C++20 clean room implementation. I have better re-implementations of abseil components in my own “standard” library simply because I didn’t have those constraints.

There are many good libraries out there, or fragments of libraries, but I’ve never found one that really scratches this itch.

hoten · 3 months ago
Could you give a couple examples?
hoten commented on Show HN: Porting Terraria and Celeste to WebAssembly   velzie.rip/blog/celeste-w... · Posted by u/coolelectronics
coolelectronics · 3 months ago
My bad! Switched over to the github pages fallback. Cloudflare pages isn't suitable because the wasm files (100mb+) exceed the 25mb limit. (i could bypass this with service worker jank but that tends to be fragile). Github Pages also isn't suitable because it doesn't have a native way of sending the coi/coep headers that are required for SharedArrayBuffer to be available. Can also bypass that with service worker jank but I would prefer not to
hoten · 3 months ago
btw: this results in a white page on the first load until you manually reload, since the SW has not been loaded yet. May want to force a page reload on the SW install event to fix.

also: this is incredibly cool. thanks for writing this up and sharing!

hoten commented on A leap year check in three instructions   hueffner.de/falk/blog/a-l... · Posted by u/gnabgib
kragen · 3 months ago
True: https://godbolt.org/#g:!((g:!((g:!((h:codeEditor,i:(filename... but I understood hoten to be saying that compilers would generally produce that version from the short-circuiting version, and they don't.
hoten · 3 months ago
Yeah I was wrong.

Do we know why the compiler doesn't do it? Surely the output is the same and avoiding branches is clearly faster.

Maybe short circuiting requires such an optimization not be made?

hoten commented on A leap year check in three instructions   hueffner.de/falk/blog/a-l... · Posted by u/gnabgib
andrepd · 3 months ago
This impl is mentioned in TFA.. It's much slower and includes branches.
hoten · 3 months ago
I'd expect even without optimizations on, there wouldn't be branches in the output for that code.
hoten commented on How Riot Games is fighting the war against video game hackers   techcrunch.com/2025/05/03... · Posted by u/badmonster
rcxdude · 4 months ago
This attitude is a bit alien to me. At the level I play games (which is in the range of like 90% of gamers), my opponents are basically anonymous, and someone obviously cheating and someone smurfing has about the same effect of ruining the fun. The points mean nothing except maybe to measure my own improvement at the game. If someone's cheating and I can't tell them from the other players, I don't care.
hoten · 4 months ago
If you can't fully connect your results in the game to your skill (because you can't trust if the others cheated), then you can't trust you are improving (or how to adapt to maybe improve).

On an evolutionary level, the purpose of play is to improve your skill in something in a tight, enjoyable feedback loop. Cheating messes with that.

Though your approach is preferable, I do think cheating (or more broadly, not trusting that you can learn how to improve with further play) kneecaps the whole point of playing.

(I'm badly presenting an idea I learned from Jonathan Blow re: how some game design ideas, such as opaque adaptive difficulty like rubberbanding found in racing games, destroys the purpose of playing)

hoten commented on Home washing machines fail to remove important pathogens from textiles   medicalxpress.com/news/20... · Posted by u/bookmtn
LadyCailin · 4 months ago
I have worked at sit down dining and fast food, and neither places did my laundry for me. Aprons, sure, but not the rest of the clothes. The clothes which I had to buy in the first place.
hoten · 4 months ago
Lucky! Chilis had me washing my own aprons.

u/hoten

KarmaCake day1903September 2, 2018
About
Connor Clark

https://hoten.cc/

work: google lighthouse / chrome devtools twitter: @cjamcl GH: https://github.com/connorjclark/

Currently hacking on a Zelda game engine: https://github.com/ZQuestClassic/ZQuestClassic/ - https://zquestclassic.com/

View Original