New
The latest blog posts to take off on Hacker News. 5,567 posts.
Using SQL to find my best photo of a pelican according to Apple Photos
According to the Apple Photos internal SQLite database, this is the most aesthetically pleasing photograph I have ever taken of a pelican: Here’s the SQL query that found me my …
One-pass Compiler
A one-pass compiler emits assembly (or binary code) right during parsing, without creating an intermediate representation, such as an AST. This is a rare technique that was used back in the days when computer memory was scarce. This limited both the language features that were possible and the quality of the produced…
Siri, What Time Is It in London?
Every other service that tries to answer “What time is it in London?” gets it right. Only Siri gets it wrong.
Picture Hanging Knot (2017)
How to tie a knot for hanging a picture frame using cord and D-Rings.
Python Generated Sequence Diagrams
Understanding a system or software architecture simply, truly, absolutely, undoubtedly requires an occasional sequence diagram. I left ...
Using `make` and `git diff` for a simple and powerful test harness
People regularly go for complex test harnesses; and when you’re in an ecosystem, they can be a good fit. But outside ecosystems, it’s actually quite easy to produce a fairly good test harness.
My New FreeBSD Laptop: Dell Latitude 7390
A few months ago, after my System76 Galago Pro had its second experience with a dead/swelling batery, I decided that it was time to replace it. On February 15th, I ordered a Dell Latitude 7390.
The original source code of Microsoft GW-BASIC from 1983
We are excited to announce the open-sourcing of Microsoft's GW-BASIC on GitHub!
Firefox extensions to make remote work and school a little better
If you are newly working or going to school from home, the remote approach can be a big shift in how to get things done. Firefox has a number of browser ex
VexRiscv is a quadcore, Linux-capable RISC-V softcore for FPGA
FPGAs can be seen as a bridge between the domains of hardware and software as their hardware operation can be reprogrammed using code, giving developers unprecedented flexibility. In advanced products that Antmicro helps its customers build, this flexibility to process parallel data often needs to be complemented with…
An introduction to RabbitMQ
What is RabbitMQ? Find out about this open-source message broker in our introduction to the powerful Message Queue tech.
Rust Analyzer: Next few years
rust-analyzer is a new
PostgreSQL 13 Beta 1 Released
The PostgreSQL Global Development Group announces that the first beta release of PostgreSQL 13 is now [available for download](https://www.postgresql.org/download/). This …
The What-If Tool: Code-Free Probing of Machine Learning Models (2018)
Posted by James Wexler, Software Engineer, Google AI Building effective machine learning (ML) systems means asking a lot of questions. It's not eno...
Safe-Linking – Eliminating a 20 year-old malloc() exploit primitive
Research by: Eyal Itkin Overview One of our goals for every research project we work on in Check Point Research is to get an intimate understanding of how software work: What components do they contain? Are they vulnerable? How can attackers exploit these vulnerabilities? And more importantly, how can we protect…
Stealing secrets from developers using WebSockets
This is a story of a convoluted, not-very-useful method for extracting codez from unwitting JavaScript developers working on top secret…
Meat and Dairy Production
Meat is an important source of nutrition for people around the world. How quickly is demand growing? And what are the implications for animal welfare and the earth’s environment?
Libinput's bus factor is 1 (2019)
A few weeks back, I was at XDC and gave a talk about various current and past input stack developments (well, a subset thereof anyway). On...
Three bugs in the Go MySQL driver
Check out what we learned from shipping our busiest Go service in production—we found 3 bugs in the Go MySQL driver.
Wikipedia Is Badly Biased
Wikipedia's "NPOV" is dead. The original policy long since forgotten, Wikipedia no longer has an effective neutrality policy. There is a rewritten policy, but it endorses the utterly bankrupt canard that journalists should avoid what they call "false balance."
What Is Nix?
This article is going to be a crash course in what Nix is, how to think about it, and why it's such a valuable and paradigm-shifting piece of technology.
Sell Yourself, Sell Your Work
I've dealt with any number of technically brilliant people who produce outstanding work. The majority of them never bothered to write down their work and communicate it to others - report writing is too boring, uninteresting, and hard. And irrelevant. Or so they thought.
Surviving Depression
Profound sadness is what I have experienced for most part of the last decade...
Lovely Week with Elixir
Context It’s not often I get excited about programming languages since meeting Ruby in 2015. Way before that, drowning in misery of writing university course works in Java, has pushed me away from development. Ruby’s freedom and expressiveness was what pulled me back, and its style has kept me in. I was on the lookout…