Guide to Python Debugging
<p> Even if you write clear and readable code, even if you cover your code with tests, even if you are very experienced developer, weird bugs will inevitab...
<p> Even if you write clear and readable code, even if you cover your code with tests, even if you are very experienced developer, weird bugs will inevitab...
The hardest program I’ve ever written, once you strip out the whitespace, is 3,835 lines long. That handful of code took me almost a year to write. Granted, that doesn’t take into account the code that didn’t make it. The commit history shows that I deleted 20,704 lines of code over that time. Every surviving line has…
My experience with both languages.
While I was there, I thought a lot about tools – mechanical tools, software tools, tools that last, and tools that are fragile. The somber snow-covered scenery made me think about how quickly most of the tools we use today get outdated or replaced, and I thought about the kinds of tools that I’ve been building for…
I’m using the iOS Bedtime feature for years now. With yesterday’s iOS 14 update the feature got moved from the Clock app to the Health app. Unfortunately the migration is done by disabling your existing alarm and showing a button to open the Health app to set it up again. I woke up late and well rested today.
A minimal template for a safe Bash script. It includes error handling, parameter parsing, and cleanup.
How many of you have listened, read or taken part in a discussion about programming languages that goes like the following: Person A: "Pro...
If you’re reading this post, you might be interested in trying your hand at live coding on stream, as a way of sharing your projects in a more relatable, immediate way than a polished blog post, teaching others about programming, or just as a way to have fun. I think that live coding and streams in general are an…
I’ve taken to using the word “energized” over “impactful.” “Impactful” feels company-centric, and while that’s important, “energized” is more inwards-looking. Finding energizing work is what has kept me at Stripe for so long, pursuing impactful work. - Michelle Bu We all have a finite amount of time to live, and…
Another story from printer-land of 20 years ago: this time about a seemingly impossible bug.
Many of you are likely to have seen the post by Huixiang’s Voice on Medium showing that Huixiang Chen’s laptop contained downloads of most…
The M1 is up *here*, running fast and cool, and all the competing chips from Intel, AMD, Qualcomm, Samsung, and whoever else are down *there*, running hot or running slow, looking around for their recently stolen pants.
Hi, Welcome to BIG, a newsletter about the politics of monopoly.
A flurry of newsroom revolts has transformed the American press
You can view a video related to this blog post here: Does UASP make the Raspberry Pi faster?. A couple weeks ago, I did some testing with my Raspberry Pi 4 and external USB SSD drives. I found a USB 3.0 SSD was ten times faster than the fastest microSD card I tested. In the comments on the video associated with that…
LinkedIn Ads are awash in mistaken clicks and bot traffic that make the platform's value extremely dubious, according to a new study from RMG.
For the past half year or thereabouts I have been working on a little project of mine that I call 'NymphCast' [1]. The initial idea for it o...
[What follows are my thoughts on some recent research in machine learning privacy. These are my thoughts, and do not represent those of others.]
student, nomad in machine learning
A version of this article appeared in War on the Rocks. Controlling advanced chip manufacturing in the 21st century may well prove to be like controlling the oil supply in the 20th. The coun…
Precursor (pre·cur·sor | \ pri-ˈkər-sər): 1. one that precedes or gives rise to; a predecessor; harbinger 2. a pocketable open development board
I didn’t know that my next project will turn into a nudity platform and a home for spammers. But it did happen while I wasn’t paying attention. And here are the details. For the next 5/…
TIL this trick, via Pascal Hirsch on Twitter. Enter a line of Bash starting with a # comment, then run !:q on the next line to see what that would be with proper Bash escaping applied.
After 65 years at Mad Magazine, comic artist Al Jaffee announced his retirement. Jaffee was best known for his Mad Fold-Ins, where folding the page would reveal a hidden message in the artwork. Plenty of examples can be found on the web. The problem is, they all show the before and after statically, side by
How does SQLite work? Part 1: pages!
This article is part of a series: This article How I moved my setup from a Mac to a Linux laptop Fed up with the Mac, I spent six months with a Linux laptop. The grass is not greener on the other side The M1 Macbook Air, one year
*Please see the associated Hacker News comments for some interesting discussion related to this article.*