Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 81,131 posts.
Urban highways destroy wealth
Infrastructure investment is often seen as a good way to stimulate the economy and to provide facilities to allow the economy to grow. It's...
Bringing a dynamic environment to C: My linker project
I'm writing a linker. It's an unusual linker. It's focus is not on producing executable files. Instead, its focus is to facilitate rapid iteration on a program without having to re-link or re-open it after making changes. It is hot-loading of code at an object-file granularity.
Fearless Security: Memory Safety
Memory safety violations can cause programs to crash unexpectedly and can be exploited to alter intended behavior--languages can manage this multiple ways
How to compare floats in Python
davidamos.dev is your first and best source for information about davidamos. Here you will also find topics relating to issues of general interest. We hope you find what you are looking for!
Don't use Git rebase
You love rebasing, right? Rewriting history might be appealing, but there are good reasons not to.
Done, and Gets Things Smart
First off, I'm calling for a moratorium on Simpsons references until the writers over there are Done, and gets things funny . Secondly, is it possible to cluster DGTSers? Can they recognize each others' brilliance and form into a sort of hive mind, or do they end up abrading one another with slight differences?…
Polymers capable of killing bacteria without inducing antibiotic resistance
Dr. Quentin Michaudel and his research team have created a new family of polymers capable of killing bacteria without inducing antibiotic resistance — a major step in the fight against superbugs.
The social side of science seen in the research on programming language quality
I love science. Not the “space is beautiful” faux-science, but the process of doing science. Hours spent calibrating equipment, cross-checking cites of cites of cites, tedious arguments about p-values and prediction intervals, all the stuff that makes science Go. And, when it does happen, the drama. I also want us to…
The Almost Romance Languages
If you like languages, you’ve probably heard the terms Romance and the Romance family. Although it started life as a name for the language of medieval France, Romance has come to be the umbre…
Introduction to Microservices
Deliver modern applications with NGINX. Explore high-performance load balancing, API gateways, and web server solutions trusted by top global enterprises.
Fibers, Oh My
Fibers, Oh My! # Written by Dale Weiler, last updated Oct 5th, 2020 Twitter GitHub It’s been brought to the attention of many people in the game development industry that you can use fibers to parallelize your engines and games. This one presentation in particular: Parallelizing the Naughty Dog engine using fibers has…
Finding unique items: hash vs. sort
A while back, I was trying to speed up some code which finds unique items in a collection. For example, transforming "AABBADCAB" => "ABDC" . There are two ways to do this efficiently - one is based on sorting, the other based on hashing. So, which is faster? I couldn't find the answer, so I ran some experiments and…
Who moved my cheese, 1Password?
For the impatient, feel free to skip to the TL;DR summary.
Debugging my wife's alarm clock
My wife's alarm clock has been acting up lately. Sporadic at first but then every day, it wouldn't blare in the morning at the set time. Instead, when it was supposed to go off it would... reset itself. The time would start flashing in that "I'm confused because the power went out" sort of way.
On the Wildness of Children
The Revolution Will Not Take Place in a Classroom
OpenSSL CVE-2016-0799: heap corruption via BIO_printf
There are a couple of issues with OpenSSL’s BIO_*printf() functions, defined in crypto/bio/b_print.c, that are set to be fixed in the forthcoming security release. The function that is primar…
Weathering Software Winter (2022)
This is a blog post based on a transcript of a talk by Devine on November 26th 2022. Watch the video version on (YouTube). The slideshow presentation was made using Adelie .
Fast memcpy, a system design
When I worked at Google, fleet-wide profiling revealed that 25-35% of all CPU time was spent just moving bytes around: memcpy, strcmp, copying between user and kernel buffers in network and disk I/…
Mastodon Is Rewinding the Clock on Social Media – In a Good Way
A comment on a Hacker News thread inspired me to contemplate why Mastodon is everything we loved about social media before…
The Day “/Proc” Died
Solaris'd... This morning I got an email from our group manager asking about a UNIX server...
Stop MitM on the first SSH connection, on any VPS or cloud provider
This little script stops attacks on the first SSH connection to a new VM, even on providers (like Hetzner Cloud ) that don't offer a proprietary solution ; we only need cloud-init , which is widely supported .
SELinux is beyond saving
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…