New
The latest blog posts to take off on Hacker News. 49,258 posts.
Paper is dead, long live paper programming
It should come as no surprise to anyone who reads this blog that I love to program "by hand." I happen to practice a degree of ascetical programming practices, and I believe that they help me to more deeply internalize and understand problems, ultimately delivering higher quality solutions. One of
Determining the Average Apple Device Lifespan
In The Number I provided a model for estimating the number of active Apple devices at any point in time. The relationship between active devices and cumulative devices sold gives us a rule of thumb…
How Do We Learn?
Piaget’s Constructivism, Papert’s Constructionism: What’s the difference? by Edith Ackermann (PDF)
Age of Empires Definitive Edition's pathing and movement
Typical Age DE forum post: The pathfinding in the game is terrible. First off, Age of Empires Definitive Edition is a remaster of...
Should you Rust in embedded yet?
A transcript of the talk I given in 2018 about the state of embedded programming in Rust.
Decode Like It's 1999: MPEG-1 Decoder in JavaScript
A few years ago I started to work on an MPEG1 Video decoder, completely written in JavaScript. Now, I finally found the time to clean up the library, improve its performance, make it more error resilient and modular and add an MP2 Audio decoder and MPEG-TS demuxer. This makes this library not just an MPEG decoder, but…
Futures of distributions
Seems Debian is talking about why they are unable to package whole categories of modern software, such as anything using npm. It's good they're having a conversation about that, and I want to give a broader perspective.
Why I Quit Google to Work for Myself
For the past four years, I’ve worked as a software developer at Google. On February 1st, I quit. It was because they refused to buy me a Christmas present.
Probabilistic Programming and Bayesian Methods for Hackers (2013)
Bayesian Methods for Hackers : An intro to Bayesian methods + probabilistic programming with a computation/understanding-first, mathematics-second point of view.
Usenet, authentication, and engineering: early design decisions for Usenet
A Twitter thread on trolls brought up mention of trolls on Usenet . The reason they were so hard to deal with, even then, has some lessons for today; besides, the history is interesting. (Aside: this is, I think, the first longish thing I’ve ever written about any of the early design decisions for Usenet. I should…
NumPy Exercises for Data Analysis in Python
The goal of the numpy exercises is to serve as a reference as well as to get you to apply numpy beyond the basics. The questions are of 4 levels of difficulties with L1 being the easiest to L4 being the hardest.
Why Searching Through 500M Pwned Passwords Is So Quick
In the immortal words of Ricky Bobby, I wanna go fast [https://www.youtube.com/watch?v=_qJGsSuFRIg]. When I launched Pwned Passwords V2 last week [https://www.troyhunt.com/ive-just-launched-pwned-passwords-version-2/], I made it fast - real fast - and I want to talk briefly here
Nobody's just reading your code
Most programmers agree that we don't read enough code. The interviews in Peter Seibel's book, “Coders at work” highlight a comical contradiction: almost all the programmers interviewed by Seibel recommend that others read code for fun, but none of them routinely do so themselves. Seibel even asked Hal Abelson (of SICP…
Reasoning with Types in Rust
Hi, I'm Ariel (she/her), a newly-minted member of the Swift team at Apple ! Previously, I helped lead the Luau team at Roblox where my efforts primarily focused on the design and implementation of Luau 's type system. I also led the creation of Lute to support using Luau both to build developer tooling, and as a…
Insights on the First Three Years of the Right to Be Forgotten at Google
This blog post distills the key findings of our longitudinal analysis of how Europe’s right to be forgotten (RTBF) is being applied in practice.
Why Is It Taking 20 Minutes to Mine This Bitcoin Block?
You have just made a Bitcoin transaction and you are eager to see if it appears in the next block. You know that the expected time between Bitcoin blocks is 10 minutes. You check the log of your Bitcoin node. It has been 7 minutes since the previous block. You recall that blocks occurrences in Bitcoin are a Poisson…
E-Mail Leaves an Evidence Trail
If you’re going to commit an illegal act, it’s best not to discuss it in e-mail. It’s also best to Google tech instructions rather than asking someone else to do it: One new detail from the indictment, however, points to just how unsophisticated Manafort seems to have been. Here’s the relevant passage from the…
How I Learned to Stop Worrying and Love the State Machine
“Any sufficiently complicated model class contains an ad-hoc, informally-specified, bug-ridden, slow implementation of half of a state machine.”–former colleague 1
Speed Without Wizardry
Vyacheslav Egorov, who goes by mraleph on the Web, wrote a responseto my article “Oxidizing Source Maps with Rust and WebAssembly”titled “Maybe you don’t nee...
The Dropbox Comp
Dropbox has filed its S-1, but comparisons with Box, Atlassian, and Slack demonstrate how difficult it is to tell just how good its business is.
2,800 New Data Breaches with 80M Records Added
tl;dr - a collection of nearly 3k alleged data breaches has appeared with a bunch of data already proven legitimate from previous incidents, but also tens of millions of addresses that haven't been seen in HIBP before. Those 80M records are now searchable, read on for the full story:
Compiler bug? Linker bug? Windows Kernel bug
See the end of the post for an October 2018 bug fix update, or read the whole story: Flaky failures are the worst. In this particular investigation, which spanned twenty months, we suspected hardwa…
What I Learned Burning $14k on YouTube Ads for Candy Japan
Explains how expensive it is to advertise on YouTube, what is involved in launching a campaign and finally tweaking it towards profitability.