Hacker Newsnew | past | comments | ask | show | jobs | submit | ginko's commentslogin

Guess this is a good opportunity to plug the DIY trackball I made using build123d:

https://github.com/ginkgo/trackball/


>Bonus authenticity: use `a^=a` to zero a register in a single x86 instruction (and makes a real difference for compiler toolchains 30+ years old).

Modern compilers will still use xor for zeroing registers on their own.

For instance: https://godbolt.org/z/n5n35xjqx

Variable a(register esi) is first initialized to 42 with mov and then cleared to zero using xor.


Yes, the whole comment is tongue in cheek for pointless manual optimizations.

There's lack of security theater and there's:

> All "access control" logic lived in the JavaScript on the client side, meaning the data was literally one curl command away from anyone who looked.

They are not the same thing.


You've got to wonder from where did the "AI" parroted that.

A Stackoverflow wrong answer?

I've been thinking of this but I figured the start/end of seasons make a lot of sense if you think about the effect the length of days has on temperature. Essentially the length of days effects the rate of energy added by the system. For instance days are longest on June 21st but temperatures will generally keep increasing until August.

It's a bit like taking that sinusoid and integrating it resulting in a cosine shifted by a quarter of a phase.


I do redirects like that in my browser using Redirector. https://addons.mozilla.org/en-US/firefox/addon/redirector/

There is another one: https://libredirect.github.io/ A web extension that redirects YouTube, Instagram, Reddit, TikTok and many other websites to alternative privacy-friendly frontends. This is a fork of no longer maintained Privacy Redirect. Alternative frontends are fetched automatically, so it mostly works out of the box.

I guess the moment has passed by now but I wish there were a USB HID protocol for keyboards to identify their layout, or even better yet make the keyboard protocol layout agnostic so that keyboards send the high-level unicode character / modifier instead of a physical key code.

There's only two countries with over 500 million people and they're complete freak outliers.

> For Spain, in 2022 83.9% of the population participated in gambling

Does that include the Christmas lottery? If so then that’s not really comparable.


It does. A large part of the country participates in that one.

The numbers for Norway aren't plausible at all. Full time 45€ after tax would be a yearly net income of 95000 euros. At a ~50% marginal tax rate that's be a yearly income of over 2 million kroner. No way that's the average.

According to Statistics Norway the monthly average salary in Norway was 62070kr in 2025, so 744840kr per year.

https://www.ssb.no/en/arbeid-og-lonn/lonn-og-arbeidskraftkos...


Where do you take the "rotten" part from? I assume it's made out of regular dried liquorice roots.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: