Don’t use environment variables for configuration
Suppose you need to create a function for adding two numbers together in plain C. How would you write it? What sort of an API would it have?...
The latest blog posts to take off on Hacker News. 14,541 posts.
Suppose you need to create a function for adding two numbers together in plain C. How would you write it? What sort of an API would it have?...
There’s not a whole lot on TLA+ technique out there: all the resources are either introductions or case studies. Good for people starting out, bad for people past that. I think we need to write more intermediate-level stuff, what Ben Kuhn calls Blub studies. Here’s an attempt at that. Most TLA+ properties are…
Some pros and cons of using Excel for software development compared to the traditional approach of using a programming language
“signed char lotte” is a computer program written by Brian Westley and the winner of the “Best Layout” award in the 1990 International Obfuscated C Code Contest. The cleverness of the text is staggering. Superficially it reads as an epistolary exchange between two (possibly former) lovers, Charlotte and Charlie. At…
In Golang, nil is an interesting value. You may be familiar with Go’s philosophy of making the “zero value” meaningful.
I show how I improved four of my shell workflows to parameter-less commands with the help of fzf.
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…
Tiger got to hunt, Bird got to fly; Lisper got to sit and wonder, (Y (Y Y))? Tiger got to sleep, Bird got to land; Lisper got to tell himself he understand. -- Kurt Vonnegut, modified by Darius Bacon
Edit 2021-03-30: Jeremy Mikkola wrote about some closely related topics back in 2017. Edit 2021-03-31: Chris Siebenmann wrote a response to this post that explains exactly how interface values that are nil are typed. It’s more complicated than I thought! I’m not sure I have another Rust & Postgres blog post in me…
Comparing the Github and Gitlab pull request workflow to the Git built-in email workflow.
http://invisible-island.net/ autoconf/ Copyright © 2014–2015,2016 by Thomas E. Dickey
I’ve had it up to here (gestures at nose level) with the bullshit around programming language elitism. Back when I thought it mattered I was just as bad as the bullshit I’m seeing today…
A couple years back I gave a talk on researching software history, using “linked list interview questions” as an example topic. Since referring people to a video is less accessible than just writing a blog post, I’ve reproduced the question here. So why do interviewers like to ask linked list questions? If you ask…
A response to a developer weighing Clojure's benefits, explaining the REPL workflow through human-computer interaction and reflecting on individual productivity.
Abildskov.io
Three research developer tools that made programmers dramatically faster (Reflexion Models, the WhyLine, MatchMaker), and why none still run.
First an apology. I started this project because during the first 9 months of the COVID-19 pandemic business was down to a fraction of what it was before then, and I had a lot of time on my hand. But that has changed now and there is a lot of work in my ‘day job’, so I don’t have a whole lot of time to work on the…
From the finding of the diagram’s goal and audience to review checklist
How the public healthcare system in Italy is using software to support the vaccination effort is appaling. I’ve spent a good part of the last 30 years trying to convince people that software is imp…
8 AM. Like any other day, I take a quick glance at my GitHub notifications via Octobox.
An explanation of how to implement a simple hash table data structure, with code and examples in the C programming language.
An unusual benchmark for programming languages, designed to replace C. Unlike many other benchmarks, this one measures developer productivity and performance.
As cheesy as the title sounds, I promise it cannot beat the cheesiness of the technique I’ll be telling you about in this post. The morning I saw Mark …
Full-text search is everywhere. From finding a book on Scribd, a movie on Netflix, toilet paper on Amazon, or anything else on the web through Google (like [how to do your job as a software engineer](https://localghost.dev/2019/09/everything-i-googled-in-a-week-as-a-professional-software-engineer/)), you've searched…
Here is why SQLite is a perfect tool for you - whether you are a developer, data analyst, or geek.
I learned about socat a few years ago and am generally surprised more developers don’t know about it. Maybe I appreciate it all the more…
Detailed look into all the machinery involved in rendering Emoji
Last year I created Pomodone , a small time tracking application based on the Pomodoro technique of working in 25 minute intervals. It's a pretty basic app; it has a 25 minute timer (that runs in a Web Worker) and saves a history of your "poms" to a small Firebase database. I initially built it using React (well…
This post is an attempt to catalog some of my practices around testing Python projects. It's not meant to be treated as dogma- I anticipate I'll update this significantly over time.
Applying photo geolocation estimation to the game of GeoGuessr.