HNHacker News
TopNewBestAskShowJobs

aninteger

915 karma · joined June 9, 2011

submissionscomments
aninteger··on D2 Is Non-Profit
Just to be clear, this doesn't seem to be based on Walter Bright's D language. Maybe people already know that, but I didn't.
aninteger··on LLMs are making me lose my savviness
The only problem with this analogy is that LLMs are not orbital sanders... Or if they are, they are orbital sanders that operate correctly only 95% of the time. The other 5% of the time they do the wrong thing and cause you to do more work and/or damage the wood (not a great analogy though).
aninteger··on Where did all the public bathrooms go?
We've had homeless people forever (although less). I think we used "hobo", or "tramp" back in the 1960s.
aninteger··on Software rendering in 500 lines of bare C++
Sorta unrelated but I really enjoy (I don't want to use the past tense as I often refer back to it) your article on Emulator Backed Remakes (https://gabrielgambetta.com/remakes.html). Thanks!
aninteger··on Why Ctrl+V won't paste images in Claude Code on WSL, with a fix
And some of us love to live in the 1970s with cheap non-HiDPI monitors (or maybe it's just me).
aninteger··on Let's Buy Spirit Air
Famous Richard Branson quote:

"If you want to be a millionaire, start with a billion dollars and launch a new airline."

aninteger··on Dillo Browser Release 3.3.0
I did attempt this with whatever was state of the art (SOTA) about 6 months ago for my own C++ and was disappointed. It's just not there yet.
aninteger··on Magic: The Gathering took me from N2 to Japanese fluency
There's a serious advantage to becoming fluent by moving to a country that speaks that language fluently. Try becoming fluent in Japanese in Nigeria for "Japanese hard mode"
aninteger··on Windows Server 2025 Runs Better on ARM
It's "legacy" because it's essentially tied to Windows. Yes, technically it works on Linux, and no doubt that was an amazing feat, but no serious company is running MSSQL on Linux when all the documentation, all the best practices are all based on running that on Windows.
aninteger··on Gemma 4 on iPhone
Having Scarlett Johansson's voice might not be so bad or even something less robotic.
aninteger··on I hate: Programming Wayland applications
XCB did not largely replace Xlib. In fact, some (all?) implementations of Xlib are built on top of XCB.
aninteger··on DECwindows Motif
Time to port this to Wayland using Claude code, right?
aninteger··on Let's write a toy UI library
You could submit your PR to Nakst's Luigi toolkit: https://github.com/nakst/luigi

You don't have to make a complete alternative. You can add calls to ATK (accessibility toolkit) on Linux/Unix platforms. I'm not sure what needs to be done on Win32 platforms though.

aninteger··on The C++ standard for the F-35 Fighter Jet [video]
It doesn't but it definitely "implements" a single inheritance tree (with up casting/down casting) which I believe Xt toolkits (like Motif) also did.
aninteger··on The C++ standard for the F-35 Fighter Jet [video]
The best example I can think of is the Win32 controls UI (user32/Create window/RegisterClass) in C. You likely can't read the source code for this but you can see how Wine did it or Wine alternatives (like NetBSD's PEACE runtime, now abandoned).

Actually the only toolkit that I know that sort of copied this style is Nakst's Luigi toolkit (also in C).

Neither really used inheritance and use composition with "message passing" sent to different controls.

aninteger··on Vibe Coding in the 90s
Vibe coding in the 90s was probably like learning C and pointers for the first time and then deciphering strange errors when you couldn't figure out how scanf worked, so you added asterisks and ampersands to the code until it compiled.
aninteger··on Contracts for C
There seems to be at least 2 lcc forks (lcc-win32/win64, and pelles-c) that have their own small communities. Although maybe they are dead.
aninteger··on WebAssembly: Yes, but for What?
I guess https://github.com/jart/cosmopolitan might just be the WebAssembly for the command line then.
aninteger··on Gecode is an open source C++ toolkit for developing constraint-based systems
For some reason I pictured this software as a system for developing memory or CPU constrained software. Like granting only 1 mb of memory and maybe having functions executed in a certain number of "clock ticks"
aninteger··on Hacktical C: practical hacker's guide to the C programming language
> Less controversially, when you write C, you write for a virtual machine described by the C spec, not your actual hardware.

Isn't this true for most higher level languages as well? C++ for instance builds on top of C and many languages call into and out of C based libraries. Go might be slightly different as it is interacting with slightly less C code (especially if you avoid CGO).

aninteger··on Why Is This Site Built with C
The article also mentioned the size of the dependency (over 400 mb)
aninteger··on Best Buy and Target CEOs say prices are about to go up because of tariffs
I guess it's time to print out those "I did this!" stickers of Trump and put them next to the price tags.
aninteger··on Decompilation of Minecraft: Legacy Console Edition
> If you are on Ubuntu 18.04...

Probably best to use a slightly newer Ubuntu.

aninteger··on Linux as co-operative Windows process (2017)
I wonder if something like this might make a comeback for workers that are blocked from using wsl/hyperv on their corporate laptops. For me I've been using msys2 as an "alternative" since I'm unable to use wsl. It's not the same but it's all I got.
aninteger··on The Microsoft 365 Copilot launch was a disaster
Pretty impressive, only $20 grand?
aninteger··on Liberux: Linux phone
The point is that since the price isn't listed, it's likely high or very high.
aninteger··on Curl-Impersonate
I think we should list the sites where this fingerprinting is done. I have a suspicion that Microsoft does it for conditional access policies but I am not sure of other services.
aninteger··on Trinity Desktop Environment (TDE)
> It's like the FAQ is trying to hint that TDE is the "real" KDE, a continuation of the same project initiated by Matthias Ettrich (who, afaict, has no connection to TDE), and that the KDE Foundation's project is an impostor.

Certainly that's one interpretation. The other interpretation is exactly what is said and no more. Where did this "imposter" accusation come from?

aninteger··on Goodbye, Rust. I wish you success but I'm back to C++ (sorry, it is a rant)
At first I thought you were serious, but I can appreciate a good attitude with sarcasm.
aninteger··on "We Will Pass Those Tariff Costs Back to the Consumer," Says CEO of AutoZone
> Interestingly the importer in the article was looking at alternate chains of supply, but "manufacturing in the US" wasn't one of his proposed solutions.

With NAFTA/NAFTA 2, it doesn't make sense to manufacture in the USA anyway when they have cheaper labor in Mexico. China knows this too.

Page 1 of 13Next →