HNHacker News
TopNewBestAskShowJobs

flohofwoe

23,650 karma · joined October 15, 2013

submissionscomments
flohofwoe··on GCC steering committee announces AI policy
You sound like a webdev, e.g. the "let's just install 1000s of unvetted external dependencies" is nowhere else nearly as extreme as in web development land.
flohofwoe··on EU now fears US interference in European elections
Western Europe was much more integrated with the US during the Cold War than it was at any time after 1990 (just as Eastern Europe was thightly integrated with the USSR), and that process of disentanglement with the US has accelerated dramatically once the US decided to start the process of turning itself into a fascist autocracy (its quite similar with Eastern Europe disentangling from the post-USSR actually, just that Western Europe is about 30 years late to the party).
flohofwoe··on EU now fears US interference in European elections
> with Vance's support of Orban

Tbh, if that always plays out like it did in this case I'm all for US interference in EU elections ;)

flohofwoe··on Fixing a bug with byte order marks
> But presumably burning all your early adopters is not a winning strategy.

This topic is so old that most early adaptors probably have retired by now ;)

flohofwoe··on Zig's Incremental Compilation Internals
I mean sure, from a purely 'is this program correct' pov you're correct, but then a hello-world is mainly about "how do I get some frigging text to show up on the terminal", and how likely is that to fail anyway (at least I never had the canonical C hello-world fail on me).
flohofwoe··on Zig's Incremental Compilation Internals
Tbf, it's a useful indicator whether a language follows the "simple things should be simple, complex things should be possible" principle. The vanilla 'Hello World' should always be an example of the "simple things should be simple" part.
flohofwoe··on Zig's Incremental Compilation Internals
That's the 'official' hello world which is indeed a bit verbose (it's "correct" in the way that it generally shows how to stream formatted text to stdout though).

Arguably this is the more beginner friendly version, this prints to stderr though:

hello.zig:

    const print = @import("std").debug.print;

    pub fn main() void {
        print("Hello World!\n", .{});
    }
...and then

    zig run hello.zig
flohofwoe··on Zig's Incremental Compilation Internals
IME dynamic libraries ever only add more problems on the pile but never solve anything (they're basically only good for plugin systems, or as userland operating system interface).

Shared libraries work slightly differently on each operating system, and at least on Windows and macOS, having to load thousands of tiny shared libraries will almost definitely cause your startup time to explode. I once wrote an 'OOP system for C' where each class lives in its own DLL, and let's just say that this was probably the most stupid idea I ever came up with, and I came up with a lot of stupid ideas in my life ;)

flohofwoe··on Fixing a bug with byte order marks
Ugh, why are BOMs even still a thing in the 21st century? E.g. when will Windows finally arrive in the late 1990s and switch to UTF-8 for everything?

The UTF-8 BOM is especially bizarre because UTF-8 is completely endian-agnostic (so this "UTF-8 Byte Order Mark" is at most an indicator that this file is UTF-8 encoded, but guess what? Outside the Windows bubble, all text files are UTF-8 anyway).

flohofwoe··on About the security content of macOS Tahoe 26.6
It works on macOS too, I don't own any iOS devices.
flohofwoe··on User Interfaces of the Demo Scene
Productivity was usually excellent once you discovered and learned all the little details of the UI, which could take a while (think of vim versus regular text editors). Most of those tools were basically 'single-page-apps', e.g. all features crammed into a single UI page, but it also meant that all features were only one mouse click away.
flohofwoe··on Teach yourself programming in ten years (1998)
On Wayback machine references to this post (a much shorter version though) go back to 1998, this is the oldest reference:

https://web.archive.org/web/19980206223800/https://www.norvi...

flohofwoe··on About the security content of macOS Tahoe 26.6
You can already turn off most glass effects in 26 via "System Settings => Accessibility => Display => Reduce Transparency".

I had that turned off years ago (for reasons I don't remember), and was wondering what all the fuzz was about when 26 came out because I didn't see much of a difference ;)

IMHO the actual important visual changes in the 27 beta is that rolls back the bizarre oversized corner radius in Finder windows, and they also got rid of the 'every menu item must have an icon' idea.

flohofwoe··on C/C++ projects packaged for Zig
> so then my glib question: what is the purpose of this project?

The whole point is to massively simplify integrating those libraries into Zig projects by explicitly not having to deal with external build systems or separate C/C++ compiler toolchains.

> Is the grpc makefile no bueno?

Does it work out-of-the-box on Windows? That's usually the first question when encountering a Makefile (and just looking at the first lines of the Makefile, it doesn't, instead it needs to run inside mings: https://github.com/grpc/grpc/blob/a63b3a4d949a7057a0e5443e7a...).

With Zig you usually only need the Zig toolchain, which runs just fine in a regular Windows cmd.exe.

flohofwoe··on C/C++ projects packaged for Zig
Eventually Clang will become an external dependency though and "somehow" integrated into the build system (so hopefully not much will change convenience-wise - because the tight integration of the Zig toolchain with C and C++ is indeed one of its most precious features).
flohofwoe··on How is the Bun rewrite in Rust going?
It's the equivalent of porting Unreal Engine 5 to another language and then using it exclusively to run a 2D Tetris clone. Let's wait for the next Bun release when more real-world code is hammering it before declaring victory.

(also, fwiw, a manual rewrite would be under the same scrunity and suffer from the same skepticism, at least when obviously rushed).

flohofwoe··on Chinese chipmaker shares surge 470%
FWIW I still play PC games on 1080p (also has the nice side effect that I don't need to buy an overpriced highend GPU, nor use upscaling hacks like DLSS which trash image quality).
flohofwoe··on How is the Bun rewrite in Rust going?
The Bun author himself writes that the port is not idiomatic Rust:

    Do the rewrite that looks like we transpiled our Zig code to Rust. We can gradually refactor it to reduce unsafe usage and look more like idiomatic Rust after Bun v1.4 ships.
(from: https://bun.com/blog/bun-in-rust)

The original version of Bun was already a line-by-line (manual) port of esbuild from Go to Zig (also mentioned in this post), so the Zig code already wasn't "Zig-idiomatic" and apparently riddled with problems. That doesn't inspire much confidence in the LLM-translated Rust version tbh.

flohofwoe··on How is the Bun Rewrite in Rust going?
How much of the Bun/Node API surface does Claude Code actually use though? Conceptually it's a relatively simple TUI application.
flohofwoe··on How is the Bun rewrite in Rust going?
Claude Code most likely only uses a tiny fraction of Bun/Node features, so Claude Code switching to the Rust rewrite doesn't mean all that much.
flohofwoe··on Third Drone Shot Down in Three Days in Romanian Territory
Trump is 80 years old. He won't be long for this mortal coil, or at least his brain won't (arguably it already isn't).
flohofwoe··on SIMD for Collision
Do the Apple CPUs support SVE? If not then it's not worth the hassle tbh (and support on Android devices doesn't seem to be great either).
flohofwoe··on The Visual 6502
The core of the simulation are these two functions:

https://github.com/mist64/perfect6502/blob/09fc542877a843182...

As far as I understood it, this basically re-evaluates the state of a 'dirty list' of transistors though all their connections, and loops until the node list has 'settled' again into a stable state (e.g. state changes from the last loop didn't cause trigger new state changes). Haven't thought about how this could be threaded or simd-ified.

flohofwoe··on JEP 541: Deprecate the macOS/x64 Port for Removal
Not on macOS at least, the Firefox user agent on my uptodate M1 MBP says that I'm on "Intel Mac OS X 10.15".

PS: and on my Win11 machine Firefox says that I'm on 'Windows NT 10.0', which AFAIK is the same NT version that was also reported on Win10.

flohofwoe··on JEP 541: Deprecate the macOS/x64 Port for Removal
FWIW old Macs (I have a 2014 MBP still lying around) still boot up and work, they just don't get the latest OS updates anymore.
flohofwoe··on JEP 541: Deprecate the macOS/x64 Port for Removal
Browsers stopped reporting "real" user agents a long time ago as fingerprinting protection.
flohofwoe··on Learn OpenGL, extensive tutorial resource for learning Modern OpenGL
The extension is "feature complete" and works. Why should it need updates when it's not broken?

It should also work for all compiler toolchains that generate DWARF debug info, which is pretty much standard across all compiled languages, otherwise gdb or lldb couldn't be used either with those languages (Microsoft of course does its own thing, as is tradition, but its not like msvc supports wasm output in the first place - Blazor oth appears to support wasm debugging in VS and VSCode)

flohofwoe··on Learn OpenGL, extensive tutorial resource for learning Modern OpenGL
Basically this, just with code-generated launch.json which starts a regular node https server (eg fewer extensions needed than in this blog post):

https://floooh.github.io/2023/11/11/emscripten-ide.html

flohofwoe··on Russia's businesses under strain from Ukraine's attacks on Wildberries
For not being fascist, the propaganda and general 'optics' and messages coming out of Russia sure look a lot like Germany in the 1930s, and Ukraine is basically the same playbook as Sudetenland - both started with a claim that a suppressed German/Russian minority must be protected from atrocities by the Czechoslovakian/Ukrainian 'aggressors' by integrating those lands into the 'Reich'. Thankfully Putin is by far not as successful bringing a much smaller country to its knees than Hitler was.
flohofwoe··on Russia's businesses under strain from Ukraine's attacks on Wildberries
Are you also so concerned about Russia lobbing ballistic missiles at Ukrainian city centers?

> if Iran managed to carry out similar attacks

Iran did manage to attack Amazon facilities, just not in the US: https://www.cnbc.com/2026/07/21/iran-war-update-five-things-...

...and the US also attacked 'civilian infrastructure' in Iran:

https://www.dw.com/en/us-strikes-on-southern-iran-infrastruc...

Not sure why Ukraine should be singled out and berated for attacks on what are essentially dual use facilities. At least Ukraine doesn't do obious terror attacks against civilians like Russia does.

← PreviousPage 13 of 34Next →