New
The latest blog posts to take off on Hacker News. 14,543 posts.
Tearing apart printf()
How does printf work behind the scenes
Python as a declarative programming language (2017)
If you look at the programming languages benchmarks game, Python is one of the slowest commonly used programming languages out there . Typical programs written in pure Python average around 40 times slower than the equivalent program written in C or C++.
History of Symbolics Lisp Machines (2007)
Richard Stallman has been telling a story about the origins of the Lisp machine companies, and the effects on the M.I.T. Artificial Intelligence Lab, for many years. He has published it in a book, and in a widely-referenced paper, which you can find at http://www.gnu.org/gnu/rms-lisp.html .
Fridge 0.1
Imagine something really cool, like a fridge connected to a powerwall, powered entirely by solar panels. What could be cooler than that?
Semantic Compression
An introduction to the idea that code should be approached with a mindset towards compressing it semantically, rather than orienting it around objects.
Lightweight Concurrency in Lua
wingolog: article: lightweight concurrency in lua
Validating UTF-8 strings using as little as 0.7 cycles per byte
Most strings found on the Internet are encoded using a particular unicode format called UTF-8. However, not all strings of bytes are valid UTF-8. The rules as to what constitute a valid UTF-8 string are somewhat arcane. Yet it seems important to quickly validate these strings before you consume them. In a previous…
JavaScript is Good, Actually
The subtext of many discussions around building software in Electron and React/Native involve this assumption that JavaScript is bad. There is a kind of unspoken understanding that JavaScript developers are stuck writing it, that either:
Part 1: Merging and patches
A recent paper suggested a new mathematical point of view on version control. I first found out about it from pijul, a new version control system (VCS) that ...
How to start a Go project in 2018
This post is fairly old. See the updated version Starting a Go project in 2023 Getting started with a Go project in 2018 is frankly a little more painful then getting anything else started IMHO. With …
“But didn't you write an embedded OS?”
I have been job hunting in the last 2 months or so. Thankfully, I am settled with a company I admire now, and it seemed like I had more luck than the average job applicant. But among the handful of companies that I had the pleasure to interview with, I had my fair share of interesting moments.
On null
I've had an interesting conversation on the topic of null over the last few days, spurred by the logical disaster of null. I disagreed with the statement in the post that: Logically-speaking, there is no such thing as Null This is true in some logics, but not in all logics. Boolean logic as described in...
A guide to better embedded C++
Disclaimer: this, by no means, is not a definitive description of the whole embedded-specific development. This is just a small good practice about interaction with hardware.
Git submodules revisited
Possibly not as horrible as I'd thought
Haskell's Missing Concurrency Basics (2016)
Michael Snoyman's personal homepage and blog, featuring writing about programming, open source, health, finance, religion, and whatever else catches his interest.
Low Level Bit Hacks You Absolutely Must Know
I decided to write an article about a thing that is second nature to embedded systems programmers – low level bit hacks. Bit hacks are ingenious little programming tricks that manipulate integers in a smart and efficient manner. Instead of performing operations (such as counting the number of 1 bits in an integer)…
Glom – Restructured Data for Python
Thoughts on FOSS and fintech, layered by Mahmoud Hashemi
My struggle to learn React
I'm Brad Frost, an independent creator, web designer & developer, teacher, speaker, writer, musician, and artist based in Pittsburgh, PA.