10,595 karma · joined Dec 4, 2013 (12y ago) · 4,861 submissions
comment 7mo ago · link · parent
Dig the wave though, upvoted.
EDIT: and I think there's actually an issue... Somehow there are kinda vertical "bands" where the sub-pixel anti-aliasing shifts. Like I've got a few characters looking too green (on the entire vertical), then a band of pixels looking too red. Very strange. Firefox / Linux but others sites don't do that. First time I see those "bands" with a font using sub-pixel AA.
2nd EDIT: https://news.ycombinator.com/item?id=35866283 In that thread from 2023 on the same site, people are noticing the same weird rainbow/banding fx so it's not just my setup ; )
comment 7mo ago · link · parent
The game Commando was still loading and I'd let it run for hours on the intro screen (music by Rob Hubbard) while I'd do other things.
> I remember trying to write my own player in assembly (yet another unfinished project).
Never wrote a SID tune nor a mod-player but my neighbors did: they wrote an Amiga mod player for... The Atari ST. It could play the four channels. Of course the quality wasn't the same and you were forced to waste CPU-cycles but it was working.
Fun memories.
Now as TFA: recently I took old DOS .ASM files of mine and basically told Sonnet 4.6: "Make them compile again" and discovered the world of UASM etc. and eventually we made it to compile.
Seeing those C64 assembly files: I haven't tried it yet but I take I could do the same? Just ask whatever LLM to find me a way to compile and tell me how to play these in an emulator?
Anyone knows where to start / what's the TDLR to compile these C64 files?
For example for old DOS .ASM files the TDLR; is "Compile them using the free UASM assembly, run the result in DOSBox".
comment 7mo ago · link · parent
I never ever saw that and I'm literally using usb-to-ethernet adapters on Linux since forever. It's about the chipset you're using and how the kernel supports it no? For example for 2.5 Gbit/s ethernet if you go with anything with a Realtek RTL8156B (and not the older non 'B') or anything more recent it should work flawlessly.
Before buying I look on the Internet for users' returns / kernel support what the latest chipset the cool kids on the block are using.
As I've been perfectly happy with Realtek 8156B for 2.5 Gbit/s if I wanted to buy a 10 Gbit/s one, I'd look at cool kids, like that Jeff Geerling dude from TFA/Youtube, and see he's using a Realtek 8159 and I'd think: "Oh that's close to mine, I trust that to work very well".
I literally still even have an old USB2.0-to-100Mbit/s that I use daily and that has never failed me neither (it's for an old laptop that I use as some kind of terminal over SSH). I don't recommend 100 Mbit/s: my point is that it's been many moons all this has flawless support under Linux.
> Is this just my hardware?
To me it's due to a poor chipset / poor chipset support in the USB-to-ethernet adapter you're using.
These things, when they're a well supported chipset, are flawless.
comment 7mo ago · link · parent
I've got another one although it may not be that incompatible with your scenario...
What do you think a country willing to slaughter (January 2026) 30 000+ of its own people, sending islamists with assault weapons in hospitals to finish the wounded (and unarmed) and hanging publicly his athletes would do once it gets the atomic bomb?
Really: what do you think a country like that shall do?
I've got another one: one they'll have nuked Israel out of the world, do you think islamists are going to stop there?
Now we get to your scenario: maybe Netty knows Iran nuking Israel with the atomic bomb is coming and maybe it's blackmailing Trump (maybe for example Trump was in a threesome with Bill Gates when Bill Gates, factually, caught STDs on Epstein's island: who knows!?)...
But that still doesn't change my question: what is a regime made of murderers capable of killing 30 000 unarmed of its own people going to do to "infidels" all around the world once it'll be done with Israel?
comment 7mo ago · link · parent
Of course nothing is. But there's a reason projects like "Talos" do exist: no terminal, no SSH, no package manager (how do we like package managers like NPM lately btw?), read-only filesystem, definitely no systemd, etc.
And then a minimal number of executables.
This does, definitely, reduce the attack surface.
I'm not speaking about this Show HN's project but there are such things as systems both more secure and requiring less maintenance than others.
Throwing in the towel and saying: "nothing can ever be 100% secure so we'll always need to patch so we may as well YOLO by accepting npm packages modified 3 minutes ago" is not the way to go forward either.
comment 7mo ago · link · parent
Joystick calibration: what a blast from the past! Blast from the past I encountered recently...
Joysticks had to be "calibrated" and it was something you had to do for each game that supported joysticks. These would give back analog values and they'd depend on the phases of the moon or the room temperature or both. I'm not making this up: this was a serious pain point both for players and coders.
FWIW in that DOS game of mine from 1991 or so for which I still had the .ASM source code files (about 30 000 lines of assembly code, 15 000 of which were auto-generated code to do very fast sprites drawing in the VGA 320x200 "tweaked" mode) and which I managed, at long last, to get to compile again a few days ago thanks to UASM (and quite some LLM help), I found lines like these:
ul_corner_ch:
db 63,"PUT YOUR JOYSTICK IN THE UPPER LEFT CORNER AND PRESS A BUTTON "
lr_corner_ch:
db 63,"PUT YOUR JOYSTICK IN THE LOWER RIGHT CORNER AND PRESS A BUTTON "
p1_choose:
dw 1 ;1 keyboard 2 joystick
p2_choose:
dw 0 ;0 none 1 keyboard 2 joystick
And basically a 350 lines assembly file only for joystick calibration.So you can understand that "auto-calibration" as in TFA is quite a selling point!
comment 7mo ago · link · parent
Desktop publishing.
Brokerage apps (some are webapps but many ship an actual desktop app).
And yet, to me, something changed: I still "install apps locally", but "locally" as in "only on my LAN", but they can be webapps too. I run them in containers (and the containers are in VMs).
I don't care much as to whether something is a desktop app, a GUI or a TUI, a webapp or not...
But what I do care about is being in control.
Say I'm using "I'm Mich" (immich) to view family pictures: it's shipped (it's open source), I run it locally. It'll never be "less good" than it is today: for if it is, I can simply keep running the version I have now.
It's not open to the outside world: it's to use on our LAN only.
So it's a "local" app, even if the interface is through a webapp.
In a way this entire "desktop app vs webapp" is a false dichotomy, especially when you can have a "webapp (really in a browser) that you can self-host on a LAN" and then a "desktop app that's really a webapp (say wrapped in Electron) that only works if there's an Internet connection".
comment 7mo ago · link · parent
I'm very interest by this. Can you go a bit more into details?
ATM for example I'm running Claude Code CLI in a VM on a server and I use SSH to access it. I don't depend on anything specific to Anthropic. But it's still a bit of a pain to "switch" to, say, Codex.
How would that simple CLI tool work? And would CC / Codex call it?
comment 7mo ago · link · parent
But how did that turn out for Ghislaine Maxwell though? We aren't seeing her much in the posh NYC parties anymore are we?
And something also has to be said about public shame when sentences like: "Bill Gates got even more STDs than Windows got viruses and that lead to his wife quitting him".
I'd rather be a small millionaire than a billionaire having to suffer headlines like that.
comment 7mo ago · link · parent
Selling cars, worldwide, made sense when they weren't always connected to the mother land. Germans selling you a BMW in the 80s? You've got the key: you turn the key. They couldn't turn off all the BMWs if suddenly the US were to be at war with Germany again.
But this madness of cars receiving OTA updates and remote subscriptions and whatnots?
comment 7mo ago · link · parent
It used to be not only faster but also smaller. And back then this mattered.
Say you had a computer running at 33 Mhz, you had 33 million cycles per second to do your stuff. A 60 Hz game? 33 million / 60 and suddenly you only have about 500 000 cycles per frame. 200 scanlines? Suddenly you're left with only 2500 cycles per scanline to do your stuff. And 2500 cycles really isn't that much.
So every cycle counted back then. We'd use the official doc and see how many cycles each instruction would take. And we'd then verify by code that this was correct too. And memory mattered too.
XOR was both faster and smaller (less bytes) then a MOV ..., 0.
Full stop.
And when those CPU first began having cache, the cache were really tiny at first: literally caching ridiculously low number of CPU instructions. We could actually count the size of the cache manually (for example by filling with a few NOP instructions then modifying them to, say, add one, and checking which result we got at the end).
XOR, due to being smaller, allowed to put more instructions in the cache too.
Now people may lament that it persisted way long after our x86 CPUs weren't even real x86 CPUs anymore and that is another topic.
But there's a reason XOR was used and people should deal with it.
We zero with XOR EAX,EAX and that's it.
comment 7mo ago · link · parent
I thought we now had advanced tools to which we could ask to do things like: "Remove all mention of Claude Code in the Pro, but not in the Pro Max plan".
But apparently the CGI-days called and asked the webmaster to manually edit .html files one by one?
comment 7mo ago · link · parent
Claude's TUI is not a TUI. It's the most WTF thing ever: the TUI is actually a GUI. A headless browser shipped the TUI that, in real-time, renders the entire screen, scrolls to the bottom, and converts that to text mode. There are several serious issues and I'll mention two that do utterly piss me off...
1. Insane "jumping" around where the text "scrolls back" then scrolls back down to your prompt: at this point, seen the crazy hack that TUI is, if you tell me the text jumping around in the TUI is because they're simulating mouse clicks on the scrollbar I would't be surprised. If I'm not mistaken we've seen people "fixing" this by patching other programs (tmux ?).
2. What you see in the TUI is not the output of the model. That is, to me, the most insane of it all. They're literally changing characters between their headlessly rendered GUI and the TUI.
> Claude’s TUI feels more like it’s been grown than designed.
"grown" or "hacked" are way too nice words for the monstrosity that Claude's TUI is.
Codex is described as a: "Lightweight coding agent that runs in your terminal". It's 95%+ Rust code. I wonder if the "lightweight" is a stab at the monstrosity that Claude's TUI is.
comment 7mo ago · link · parent
But it's not only for simple sites. Don't underestimate the power of, say, a SSE stream using brotli compression: this can stream a shitload of data for serious apps (like real-time financial data).
Resource usage on the client-side is also close to nil with a SSE stream and minimal JavaScript and on the server-side it hardly changes anything: that data was going to be sent to the front-end one way or another anyway.
And if you take something like DOM morphing and, say, Datastar: it's not conceptually that different from React. The DOM reconciliation doesn't happen at the same place and not in exactly the same manner, but it's not entirely dissimilar IMO.
It's not just htmx: there's are different projects and, interestingly IMO, developers from many different languages who are now beginning to tackle this problem of Javascript (way too) heavy frameworks.
I think it's a bit early to say this is a niche.
comment 7mo ago · link · parent
We had one for our AD&D sessions and we'd definitely be using it. AFAIR it didn't necessarily roll for very long but it was a bit hard to make sure what numbers was really the one at the top. Still: it had a cool factor.
comment 7mo ago · link · parent
Oh yup I read/played those books too! The earliest one you could find the end by going, literally, to the last page of the book. Then at some point they changed that and you couldn't cheat anymore for the end was "hidden" at some random place on the book!
Thanks for reminding me about those (Cthulu I remember too!).
comment 7mo ago · link · parent
> ... what should happen to the Context.ai employee that thought it was a good idea to play games in their work machine ...
And if we think just a tiny, tiny, bit about this the entire concept of a laptop that's both used at work and outside work for non-work related things is already quite a stretch.
I could name one company that is top 10 in market cap in the world where engineers had, on their desk (or below it), a work computer that was not connected to the Internet (but fully connected to an internal network) and a second computer, on another network, that was connected to the Internet. They may still have that setup today: don't know.
FWIW my main "workstation" (it doesn't have ECC memory and, weirdly enough, the actual workstation here is... a Proxmox server) doesn't even have sound.
No sound.
Ask yourself this: can you work without your main work computer even have the ability to emit any sound? For most people it's yes.
And I'm no luddite: countless NUCs, Pi's (got a tower of stacked Raspberry Pi's), laptops, etc.
But I don't need to watch Youtube vids on my main work computer. And I certainly don't need to play games on it.
Conf call? There are laptops for that.
Youtube vids? Just watched several from Clojure/Conj 2025 these last days. From one of the laptops.
The very idea that you game on the laptop that you bring to the coffee shop that you bring at work is what brought down Vercel. And shall take down many others.
comment 7mo ago · link · parent
https://fr.wikipedia.org/wiki/L%27%C5%92il_noir
First tabletop roleplaying game I ever played: a friend going to the same school and living in the street next to ours had it. I was maybe 12 or 13 years old.
Then a little bit later we discovered the real thing: Advanced Dungeons and Dragons" (oh the memories not just of playing but also melting metal in mom's kitchen, late at night when she was asleep, in the regular pan she'd use to cook [!] to mold figurines, paint them, etc.).
Once I discovered AD&D, I couldn't help but feel that The Dark Eye was a cheap knock-off, a pale imitation, of D&D / AD&D.
comment 7mo ago · link · parent
And for ECC, I know many are using the "2 exp 255 - 19" / 25519 for it's unlikely to be backdoored but it's only 256 bits but... Can't we find, say, "2 exp 2047 - 19" (just making that one up) and be safe for a while too?
Basically: for RSA and ECC, is there anything preventing us from using keys 10x bigger?
comment 7mo ago · link · parent
Endless waste of time, red tape, administratrivia...
All for exactly nothing.
comment 7mo ago · link · parent
So I started looking for both a shape and a switch that'd suit me. I obsessed over it.
I even got a few collectible ones: a very rare split Cherry MX-5000 keyboard (comes stock with cherry brown switches but they could be swapped) and then the rare real "industrial" IBM Model M (in olive grey instead of beige color).
Eventually I found out Topre switches on the japanese HHKB keyboars (Happy Hacking Keyboard) and as I've got family in Japan, I had three HHKB Pro JP shipped to me (when family would come to visit).
I don't speak/type japanese but I dig that japanese version as a very narrow spacebar and hence more modifiers and modifiers that are easier to reach with the thumbs.
Been a happy camper since more than 10 years now.
So basically... Maybe I obsessed over it a bit but then I eventually "found" my keyboard and it's the HHKB Pro JP and found my switch: and my switch is Topre and nothing else.
comment 7mo ago · link · parent
That's not what capitalists claim. Capitalists claim communism is responsible for tens, if not hundreds, of millions of death due to famine. And overall miserable ways of life, as if humans were termites deprived of any individualism and any freedom.
Capitalists claim that France importing 500 000 people from the third world each year, out of which only 10% are ever going to work (and these are official numbers) and yet offering them all a safety net is unsustainable. And that that socialism is only going to lead to one thing: running out of taxpayers' money.
Capitalists don't claim they have the best system: what they claim is that they haven't seen a less worse one.
comment 7mo ago · link · parent
Those arrived with the 386 (286? Don't remember but 386 for sure) and DOS was well alive late into the 386 and even late in the 486 days.
> For UNIX on the same machines, they also had no such protections.
I was already running Linux on my 486 before Windows 95 arrived. Linux and DOS. One had those protections, the other didn't.
comment 7mo ago · link · parent
Packages shipping as part of Linux distros are signed. Official Emacs packages (but not installed by the default Emacs install) are all signed too.
I thankfully see some projects released, outside of distros, that are signed by the author's private key. Some of these keys I have saved (and archived) since years.
I've got my own OCI containers automatically verifying signed hashes from known author's past public keys (i.e. I don't necessarily blindly trust a brand new signature key as I trust one I know the author has been using since 10 years).
Adding SHA hashes pinning to "curl into bash" is a first step but it's not sufficient.
Software shipped properly aren't just pinning hashes into shell scripts that are then served from pwned Vercel sites. Because the attacker can "pin" anything he wants on a pwned JavaScript site.
Proper software releases are signed. And they're not "signed" by the 'S' in HTTPS as in "That Vercel-compromised HTTPS site is safe because there's an 'S' in HTTPS".
Is it hard to understand that signing a hash (that you can then PIN) with a private key that's on an airgapped computer is harder to hack than an online server?
We see major hacks nearly daily know. The cluestick is hammering your head, constantly.
When shall the clue eventually hit the curl-basher?
Oh wait, I know, I know: "It's not convenient" and "Buuuuut HTTPS is just as safe as a 10 years old private key that has never left an airgapped computer".
Here, a fucking cluestick for the leftpad'ers:
https://wiki.debian.org/Keysigning
(btw Debian signs the hash of testing release with GPG keys that haven't changed in years and, yes, I do religiously verify them)
comment 7mo ago · link · parent
You can't have it both ways: if it's not a big deal, then he can publish it.
If you say "Don't publish", then you acknowledge that it's a big deal.
I say to GP: "Congrats for finding a shell escape, it's always a big deal. But don't publish it... Yet".
Give them a chance to fix it. But it they don't even answer to the emails, even just saying: "thx we're busy we can't fix right now but will do", then at some point you just publish.
It doesn't take long to answer an email saying "thanks, we'll fix it eventually".
comment 7mo ago · link · parent
I've got a few great memories from the mid-80s...
Being on school-vacation trip with my teacher and classmates at about 11 years old and sending a letter to my mom with a BASIC program I asked her to type on my computer at home and then calling her to ask her the result of the program.
Then pedaling on my BMX clone bicycle to go meet strangers I'd meet through classified ads in a local newspaper where ads read like this (in french but I'll translate):
"Have 120 games for the C64, listing on demand. Send your listing."
At 13 years old or so, we'd buy an ad in the local newspaper and run ads like that, with our phone number and (snail) mail address.
Many games we didn't care about but we load them again and again to see and re-see the "cracktro" before the game (except they weren't yet called cracktro: the term hadn't been coined yet).
Salivating in front of shops displaying computers: but those looking too "serious", as kids we didn't dare to enter those so we'd watch through the window.
Fast-forward 10 years to the mid-nineties and I find myself working with a person whose books (in french) about computing I used to buy and read to learn about computers and programming.
These were the days.