New
The latest blog posts to take off on Hacker News. 49,258 posts.
Things I Enjoy in Rust: Error Handling
Things I enjoy in Rust:
Defeating Racket’s separate compilation guarantee
Being a self-described programming-language programming language is an ambitious goal. To preserve predictability while permitting linguistic extension, Racket comes equipped with a module system carefully designed to accommodate composable and compilable macros . One of the module system’s foundational properties is…
O(N^2) in CreateProcess
So many possible introductions to this one: Windows 7: Sheesh, I sure am slow at creating processes Windows 10: Hold my beer… Or how about: A) How long does CreateProcess take on Windows? B) How lo…
P = NP Proofs: Advice to claimers
Advice to claimers The Claimers The Claimers are a gang on the hit AMC television series The Walking Dead. They are the main antagonists in the second half of the zombie-apocalypse show’s Sea…
Comparing JVM alternatives to JavaScript
I am mostly a backend developer, but every now and then I need to do some frontend work. Even if just for personal use.
Elixir, Phoenix, Absinthe, GraphQL, React, and Apollo
ds160 has 2 repositories available. Follow their code on GitHub.
Is everything an MLM
Last week, I linked to a NYT article about the spread of CorePower Yoga: how its business model is contingent upon enrolling thousands in expensive “teacher training” courses, even though there’s already a surfeit of teachers out there.
Goodbye Joe
Today, we've learned of Joe's passing away. I wasn't a super close friend of Joe, but I have known him and talked with him at various conferences over the last ten years or so. He's unsurprisingly been a huge influence in my career, and so I thought I should write this little post about him and his impact.
Vendors must start adding physical on/off switches to devices that can spy on us
Update (May 15, 2019): This post was linked and its author quoted as a source in this Fast Company article on the same subject. Where's my webcam's off switch? Have you ever noticed that your webcam doesn't have an "off" switch? I looked on Amazon, and I couldn't find any webcams for sale that
Visualization techniques for different data sets
Visualizations are awesome.
What is ZIL anyway?
The Infocom ZIL code dump has kicked off a small whirlwind of news articles and blog posts. A lot of them are somewhat hazy on what ZIL is, and how it relates to MDL, Lisp, Z-code, Inform, and the rest of the Golden-Age IF ecosystem. So I'm ...
Writing a Technical Book for Manning
If you've ever thought of publishing a tech book then read up on my experiences writing HTTP/2 in Action for Manning.
Asynchronous Programming in Rust
Asynchronous programming in Rust continues to make exciting strides, including the upcoming stabilization of the futures API . But, while these core APIs make it possible to write async Rust code today, it's not easy: it's a far cry from the smoothness of synchronous code.
Learning Parser Combinators with Rust
This article teaches the fundamentals of parser combinators to people who are already Rust programmers. It assumes no other knowledge, and will explain everything that isn't directly related to Rust, as well as a few of the more unexpected aspects of using Rust for this purpose. It will not teach you Rust if you don't…
Visualizing Commodore 1541 Disk Contents
G64 files are C64/1541 disk images that contain all bits as they are physically laid out on the 5¼-inch floppy disk. Let’s visualize them! This animation shows 28 regular Commodore 1541 disks. Track 1 contains 21 sectors. Every sector is prefixed by two small red areas: These are the SYNC marks.…
How to Track Your Kids (and Other People's Kids) with the TicTocTrack Watch
Do you ever hear those stories from your parents along the lines of "when I was young..." and then there's a tale of how risky life was back then compared to today. You know, stuff like having to walk themselves to school without adult supervision, crazy stuff like that
The Power of Lifetimes
The execution of a program unfolds over some interval of time. The lifetime of every temporary resource (e.g., variable or object) is the time span between that resource’s “creation” and “destruction”. This lifetime is wholly contained within the typically-longer lifetime of the program.
Xubuntu 19.04: The Exhaustive Update
Xubuntu 19.04 “Disco Dingo” is just around the corner. It features numerous updates and an updated snapshot of Xfce 4.14 development.
I found two identical packs of Skittles among 468 packs
This article was discussed on Hacker News, and was cited in The Mathematical Gazette. Introduction This is a follow-up to a post from earlier this year discussing the likelihood of encountering two…
How Not to Acknowledge a Data Breach
I’m not a huge fan of stories about stories, or those that explore the ins and outs of reporting a breach. But occasionally I feel obligated to publish such accounts when companies respond to a breach report in such a way that it’s crystal clear they wouldn’t know what to do with a data breach if it bit them in the…
How the quantum search algorithm works
An explanation of how the quantum search algorithm works, & introduction to the design of quantum algorithms
Graphical Introduction to Dynamic Programming
I’ve been helping a friend understand dynamic programming (DP for short), so I’ve been on the lookout for good resources. The topic is covered all across the web, but I found many of them focused on the code, and not enough on the beautiful visualizations that shed light into how DP works.
Lessons from the Long Depression
"war, after all, is a highly effective (though destructive) demand stimulus." Sinking new warships, new warplanes, new tanks in the ocean without ever having used them would still be a great demand stimulus. So why not sink the money in infrastructure etc. ?
Making the obvious code fast (2016)
Jonathan Blow of “The Witness” fame likes to talk about just typing the obvious code first. Usually it will turnout to be fast enough. If it doesn’t, you c...
Let’s Encrypt to transition to ISRG root
Let's Encrypt have announced that on July 8th, 2019 they will begin issuing new certificates from their own intermediate CA and not their current cross-signed intermediate. Here's what that means and what action, if any, site operators need to take…