HNHacker News
TopNewBestAskShowJobs

erk__

2,667 karma · joined April 1, 2016

Contact: hn@erk.dev
submissionscomments
erk__··on Wikipedia deprecates Archive.today, starts removing archive links
Well the last annual report I could find actually says that they got a return of 17.65% so 3% would be pretty bad

https://wikimediaendowment.org/annualreports/2023-2024-annua...

erk__··on Zig Libc
There is a couple libc implementations:

- c-ward [0] a libc implementation in Rust

- relibc [1] a libc implementation in Rust mainly for use in the Redox os (but works with linux as well)

- rustix [2] safe bindings to posix apis without using C

[0]: https://github.com/sunfishcode/c-ward

[1]: https://gitlab.redox-os.org/redox-os/relibc/

[2]: https://github.com/bytecodealliance/rustix

erk__··on xAI joins SpaceX
xAI bought Twitter a bit under a year ago: https://www.bbc.com/news/articles/ceqjq11202ro
erk__··on Fossil versus Git
tbh I don't think that really counts when it is a tool made by the sqlite developer.
erk__··on Don't fall into the anti-AI hype
tbh I think it is just a question about time before flask guy has something to sell: https://earendil.com/
erk__··on C Is Best (2025)
Tbh I thought that was clear when I used the phrase "unscientific".
erk__··on C Is Best (2025)
Then it would not be unscientific.
erk__··on C Is Best (2025)
A quick unscientific count on cve.org counts ~86 race condition CVEs in the Linux kernel last year, so you might be overstating how well bug antennas work.
erk__··on Programming languages used for music
There was a music language made for the Danish GIER machine, made in 1971 (at least the 2nd edition of the handbook is from there)

The handbook for the language is sadly only in Danish so it might not be super interesting: https://datamuseum.dk/bits/30002486

Here is the code for movement 1 and 2 of Eine Kleine Nachtmusik: https://datamuseum.dk/aa/gier/30000644.html

erk__··on Is Mozilla trying hard to kill itself?
Is the whole issue not that they are less of a band of activists than they used to be. Now it is suddenly no longer about free and open source software, but more of means to run the whole machine, which is why they probably have profit oriented CEO as bad as that is.

IMO they need to be more a crew of activists than they are now. Fight against stuff like intrusion of AI in every single part of our lives and such.

erk__··on Rootless Pings in Rust
Ahh I guess that means that its possible in safe rust to cast a file descriptor to a different type. I was just looking at how socket2 did it and forgot to have a proper look.
erk__··on Rootless Pings in Rust
The std api can only create UdpSockets, the trick here is that you use Socket2 which allows more kinds of sockets and then you tell UdpSocket that some raw file descriptor is a upd socket through a unsafe api with no checks and I guess it works because they use the same api on posix.

Edit: It is possible in safe rust as well, see child comment.

The macro used by socket2: https://docs.rs/socket2/0.6.1/src/socket2/lib.rs.html#108

The FromRawFd trait: https://doc.rust-lang.org/stable/std/os/fd/trait.FromRawFd.h...

erk__··on ICC ditches Microsoft 365 for openDesk
The Excel replacement they use is this one: https://www.collaboraonline.com/calc/
erk__··on Why should I care what color the bikeshed is? (1999)
Interestingly phk's own site has only been referenced once http://freebsd.dk/sagas/bikeshed/
erk__··on JupyterGIS breaks through to the next level
It seems like something called "nicescroll" hijacks the scrolling on the page, its compiled in the minified javascript so a bit hard to tell though.

Turning off javascript seems to fix it though.

erk__··on Typst: A Possible LaTeX Replacement
I rewrote my website to use typst for all the content and I really like how it is to integrate as well, its just a rust crate that I use in my build script because Typst is just on crates.io

https://erk.dev/2025/04/19/bureaucracy

erk__··on Zig feels more practical than Rust for real-world CLI tools
Pointers to a vec could also be invalidated at any point when adding a new element and causing a reallocation

(I think Miri will shout at you if you use a invalidated pointer here)

erk__··on IG Nobel Prize Winners 2025
The 35th First Annual Ig Nobel Ceremony is also up on YouTube and is worth a watch as well: https://www.youtube.com/watch?v=z1cP4xKd_L4
erk__··on Stone Age settlement found under the sea in Denmark
This is not even the only stone age settlement under water in Denmark, there is at least one other I know of on Zealand, article in Danish about it: https://www.vikingeskibsmuseet.dk/fagligt/marinarkaeologi/ma...
erk__··on John Carmack's arguments against building a custom XR OS at Meta
You mean for the PlayStation? That is a FreeBSD fork, probably chosen over Linux because of the license.
erk__··on Zig's Lovely Syntax
Maybe it just have to do with what you are used to, it was one of the things that made me like Rust coming from F# it had the same `name : type` and `let mutable name` that I knew from there.
erk__··on 150 years of Hans Christian Andersen
A few years ago the H. C. Andersen center made a New website with all his works online: https://hcandersen.dk/en/works/?pageNumber=1&genre=tale

Both in Danish and English

erk__··on Optimizing a Math Expression Parser in Rust
It should be noted that even though the post links to the perl version for some reason, it is actually not what cargo flamegraph [0] uses, it uses a reimplementation of it in Rust called inferno [1].

[0]: https://github.com/flamegraph-rs/flamegraph

[1]: https://github.com/jonhoo/inferno

erk__··on Firefox 120 to Firefox 141 Web Browser Benchmarks
I don't think I have ever run into it on Windows, but I have seen it pretty much every time I update it on Linux through the package manager.
erk__··on The Fed says this is a cube of $1M. They're off by half a million
At the complete other end there is this art piece which should contain a total of $84,000 in Danish kroner and euros, but contains a grand total of $0:

https://www.cbsnews.com/news/jens-haaning-take-the-money-and...

erk__··on Denmark's Archaeology Experiment Is Paying Off in Gold and Knowledge
There is also a version of Danefæ for non-human made things called Danekræ

https://samlinger.snm.ku.dk/en/danekrae/

There is a lot less specimens in that collection as it only includes specimens that are deemed important in some ways, right now there are 1054.

They can be viewed online here: https://collections.snm.ku.dk/en/search?dataset=5b5305ae-35d...

(edit: That online collection only seem to contain biological specimen, meteors and geological specimens are not included as far as I can tell)

erk__··on Long live Xorg, I mean Xlibre
The main author is the person in Linus yells at here: https://www.theregister.com/2021/06/11/linus_torvalds_vaccin...
erk__··on Lieferando.de has captured 5.7% of restaurant related domain names
It is not allowed with some domain names such as .DK where you can complain if you see a domain name used in that way.
erk__··on Dijkstra on Ada
A better article that is actually about the competition is this one which was on HN the other day: https://iment.com/maida/computer/redref/

https://news.ycombinator.com/item?id=44048775

erk__··on Telum II at Hot Chips 2024: Mainframe with a Unique Caching Strategy
Yeah there are some of those, but IBM has stuff like Ed25519 signatures, x86 at least seems to be a bit on the back foot when it comes to implementing things like that. They will probably rather wait until AES is popular before they add it.
← PreviousPage 2 of 27Next →