Recent submissions

Comment · 14 days ago
Different variable in a different scope referring to the same thing. Normally I'd agree with giving it a different name, but both scanner variables refer to the same object in memory, so it doesn't actually matter that they are different variables in the code as shown.
Comment · 25 days ago
I've got qwen3.6-something-or-other (also around 20GB) in 12GB VRAM with a 64k context, and I'm decently sure I could go to a 128k context without losing too much speed. it's doing around 40 tokens per second, though the initial prompt processing is a bit of a bottleneck.

MoE models are kind of bonkers.

Comment · 1 month ago
A well designed set of buttons is much faster to open than a zipper, and about as fast to close. I've got a number of jeans with button flies where opening them is a single handed smooth motion. I've unfortunately also got a number where it's a real fight for each individual button.
Comment · 2 months ago
Python doesn't try especially hard to stop you from doing stupid things in general. It's kind of core to the language that it doesn't. Hence no access modifiers. I think it's usually phrased as "we're all consenting adults".
Comment · 2 months ago
As the famous idiom goes, sticks and stones may break my bones but words can leave permanent psychological scars that may never heal.

Physical violence is definitely going to leave lasting effects, but words can still do the same.

Comment · 3 months ago
You can return data for multiple page elements with HTMX too using the "OOB" mechanism.
Comment · 3 months ago
"legitimate interest" was supposed to be for things like remember-login cookies and the like. Not for advertisers going "my interest is legitimate because it's how I make money".
Comment · 3 months ago
You can even get carbon fiber reinforced TPU for if you want shear strength but don't need the flexibility. From what I hear it's kind of bonkers how tough that stuff is.
Comment · 3 months ago
Comment · 4 months ago
You can still share pre-DRM copyrighted work without running afoul of any laws. Stuff like lending out or selling VHS tapes. Copyright is concerned about copying, not about moving. Digital media just makes the line between copying and moving sufficiently blurry that companies get away with making moving impossible under the guise of making copying impossible.
Comment · 4 months ago
Work on your reading comprehension. I never said anything was illegal. Spying means the act of keeping a secret watch for intelligence purposes. This is what they are doing. And just because it's legal does not mean it isn't wrong.
Comment · 4 months ago
Increasing prices at busy times (i.e. surge pricing) is... to some degree defensible. Spying on people and charging different prices to different people for the same thing (i.e. surveillance pricing) is not. Can you imagine the mayhem if companies just straight up knew salary information for all of their customers?
Comment · 4 months ago
Reduced test cases make it way easier to figure out what the actual bug is. E.g. a real world example is when I tested a "slugify" function with hypothesis. It almost immediately spat out this failing test case:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaẞ

Boy I sure do wonder what character could possibly be causing issues there. whereas without shrinking it might instead spit out something like

ЁЂЃЄЅІЇЈЉЊЋЌЍЎЏАБВГДẞЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп

Which makes finding the offending character a lot harder.

Comment · 5 months ago
It's automatic. If you post and the title gets mangled you can go back and edit the title and it won't get re-mangled, but you kinda have to be paying attention and be aware of that.
Comment · 5 months ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton