Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,250 posts.
The Art of Unix Programming
My fourth book.
Python, Machine Learning, and Language Wars (2015)
This has really been quite a journey for me lately. And regarding the frequently asked question “Why did you choose Python for Machine Learning?” I guess it…
Python C API, PyPy and the road into the future
tl;dr; We are willing to commercially support CPython C API in PyPy, so if you want pypy to support library X, get in touch with me at fij...
Building a Durable Execution Engine with SQLite
Lately, there has been a lot of excitement around Durable Execution (DE) engines. The basic idea of DE is to take (potentially long-running) multi-step workflows, such as processing a purchase order …
Can a model trained on satellite data really find brambles on the ground?
Can a model trained on satellite data really find brambles on the ground? We put a new model to the test with a field trip around Cambridge. The results...
Use this instead of press releases
I’m QUITE TIRED of dealing with MILLIONS of tech entrepreneurs (these days there are a HELL of a lot of you) and (some) PR people who have ZERO clue how to pitch me/TechCrunch/the media. Their pitches are long-winded and rambling. They ask if they could ‘send some more information’. Listen, I have no idea if it’s…
Text case changes the size of QR codes
Changing the case of text can change the size of the corresponding QR code. This is one of the reasons Bitcoin moved from Base58 to bech32 encoding.
Uncommon Uses of Python in Commonly Used Libraries
Some off-the-beaten uses of Python learned from reading libraries.
How early 8-bit arcade machines differed in design from 8-bit home computers
TL;DR: what I learned about the Bomb Jack arcade machine while writingan emulator for it.
How Does an Intel Processor Boot?
When we switch on a computer, it goes through a series of steps before it is able to load the operating system. In this post we will see how a typical x86 processor boots. This is a very complex an…
How I got banned from Codewars
Hello everyone.
Go Testing by Example [video]
I opened GopherCon Australia in early November with the talk “Go Testing By Example”. Being the first talk, there were some A/V issues, so I re-recorded it at home and have posted it here:
Towards λ-calculus
lambdaway is built on a wiki engine, lambdatank, and a small Lisp dialect, lambdatalk.
Having fun abusing the C language
I was looking through the book Expert C Programming again when I came upon their “light relief” section on The International Obfuscated C Code Competition . It’s a contest to write the most obscure code. That the language C has a competition where you write confusing code in it probably says something about the…
Wired Documentary on Shenzhen
This shoot was a lot of fun, and it was a great pleasure working with Posy and Jim. I think their talent as producer and director really show through. They also did a great job editing my off-the-cuff narratives. The spot in the video where I’m pointing out Samsung parts isn’t matched to the b-roll of Apple parts, but…
Bespoke: A programming language for people who say please
Modern programming languages are full of violence, vulgar abbreviations, and naked imperatives. Bespoke is a statically typed alternative in which exceptions are regrettable circumstances, mutexes ...
Sampling with SQL
Sampling is one of the most powerful tools you can wield to extract meaning from large datasets. It lets you reduce a massive pile of data into a small yet representative dataset that’s fast and easy to use.
ClojureScript 101
While none of the ideas in core.async are new, understanding how to solve problems with CSP is simply not as well documented as using plain callbacks or Promises . My previous posts have mostly explored fairly sophisticated uses of core.async , this post instead takes the form of a very basic tutorial on using…
Memrefuting
(in which I bring this blog back to the “safe, uncontroversial” territory of arguing with people who think they can solve NP-complete problems in polynomial time) A few people have aske…
Fitting Cubic Bézier Curves
Blog of Raph Levien.