Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,258 posts.
Tar Files Created on macOS Display Errors When Extracting on Linux (2024)
tar.gz files seem to include extra files starting with ._. When these are extracted on Linux, a bunch of errors are displayed.
The pervasive effects of C's malloc() and free() on C APIs
You're probably reading this page because you've attempted to access some part of my blog (Wandering Thoughts) or CSpace , the wiki thing it's part of. Unfortunately you're using a browser version that my anti-crawler precautions consider suspicious, most often because it's too old (most often this applies to versions…
Billion file filesystem
For a lark I made an ext4 file system with a billion empty files. https://gitlab.com/larswirzenius/create-empty-files has the program I wrote for this. I've done this before , but this time I made it a little simpler for me to do it again: everything in one Rust program rather than clunky scripts.
Compiler Development: Rust or OCaml?
The question of which language suits best for compiler development is a frequent one amongst language enthusiasts (e.g., see discussions here , here , and here ). Sadly, most of the commenters either 1) just answer with their language of choice without any explanation, or 2) provide a vague explanation without any…
You Should Compile Your Python and Here’s Why
write Python that’s faster than C by optimizing your code, adding standard type annotations, and using Mypyc.
Role-playing with AI will be a powerful tool for writers and educators
Or, how well can GPT-4 simulate an acid trip in 1963?
The Guide to Stock Options Conversations
Why every manager should talk to their employees about stock options
Dungeons and Dragons turns 50 today
I'm very interested in the history of Dungeons & Dragons , but I'm not a historian – especially when compared to someone like Jon Peterson. ...
Lessons Learned from the Book “Effective Remote Work”
Lessons Learned from the Book Effective Remote Work by James Stanier
Replace Philips Hue Automation with Home Assistant's
This is the 3rd post in the My journey with Home Assistant focus series. I’m the happy owner of a couple of Philips Hue connected lights for a some years. Some of them are colored, some of them regular. In addition, I bought a sensor to go along with the light I installed in my toilets: it turns on automatically when…
2:40
Another great post
Eating the Birds of America: Audubon's Culinary Reviews of America's Birds
On June 26, 1826, John James Audubon sat aboard the cotton schooner Delos off of Florida’s Gulf coast, en route from New Orleans to Liverpool, where he was hoping to find a publisher for his extensive portfolio of paintings of American birds.[1] On this particular day, the winds were still, leaving Audubon’s boat to…
Parameterized types in C using the new tag compatibility rule
C23 has a new rule for struct, union, and enum compatibility finally appearing in compilers starting with GCC 15, released this past April, and Clang later this year. The same struct defined in different translation units (TU) has always been compatible — essential to how they work. Until this rule change, each such…
Understanding the BeagleBone’s built in microcontrollers (2016)
The BeagleBone Black is an inexpensive, credit-card sized computer that has two built-in microcontrollers called PRUs. While the PRUs provi...
FastSpark: A New Fast Native Implementation of Spark from Scratch
TLDR: Here is the code to explore.
90% of Everything Is Crap
I like Sturgeon’s law for a lot of reasons. But most of all, I like it as a nudge to try harder to like things.
Bring Your Own Password Manager: Portable BitWarden on a Pi Zero
BYOPM is a self hosted portable Password Manager implementation based on BitWarden and Raspberry PI Zero.
Natural language is an unnatural interface
How can we use familiar design patterns to constrain the unwieldy state space of large language models?
Building Remote Teams for Startups
Most of the companies in the last year had to try out remote work in one way or the other. These are my highly notes on #remote #teams.
The case for frameworks
I push back on Alex Russell's "Market for Lemons" post blaming JS frameworks and their advocates for poor mobile web performance. Developers aren't stupid or deceived: React dominates because of rational economics. Frameworks save developer time, enable hiring, and compound via ecosystems. Better frameworks, not fewer…
The danger of the mediocre success when testing startup hypotheses (2023)
Or, how to ensure you learn absolutely nothing.
BuckleScript: An OCaml to JavaScript compiler
RECENTLY I've been paying attention to the BuckleScript compiler from OCaml to JavaScript (ES5, to be exact). I'm seeing some significant a...
The Opposite of Documentation is Superstition (2020)
Yes I know I'm technically on vacation but if I go too long without writing I die from a witch's curse and I don't want to work on longform projects For...
Having a game I'm into makes every day enjoyable
About a month ago, I became hooked on mahjong, the ultimate game. It’s a bit late in my life to start, but that’s how it is. In the past, I might have thought, “Playing games like this would be ruinous, leading to personal downfall.” But now, as I’ve grown older, I’ve stopped worrying about these
A different cluetrain
Back to: Escape from the planet of the Ice Giants | Forward to: Even More Obligatory Author Shilling