Understanding and writing a JPEG decoder in Python
How the JPEG format works: file headers and markers, Huffman coding, quantization, zigzag and the DCT, explained by writing a JPEG decoder in Python.
The latest blog posts to take off on Hacker News. 49,247 posts.
How the JPEG format works: file headers and markers, Huffman coding, quantization, zigzag and the DCT, explained by writing a JPEG decoder in Python.
It might seem a reasonable question, but it makes some terrible assumptions: lines of code = effort lines of code = value all lines of c...
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…
It is with sadness that I write to tell you that I am resigning from The New York Times.
How TikTok exposed Facebook’s blindspot, thanks to its Chinese roots, and why those Chinese roots make TikTok a genuine concern.
Come for the schools, be used as pawns for politics.
The AirPods Pro “Rattlegate” The first generation of the AirPods was generally regarded as a perfect product. “Apple at its best!” was the universally accepted opinion. I used them for a long time. No speaker issues, no battery issues. Excited for the noise cancelling feature I ordered the AirPods Pro and for the…
People in the bitcoin community often make fun of me as a nocoiner . That is, I don't have any bitcoins and am vocal about that fact. (Ne...
An essay that bids farewell to x87 – a computing architecture too long for this world.
Feross Aboukhadijeh is a computer security researcher, teacher, web developer, designer, long distance runner, gamer, music lover, and builder of websites that (sometimes) go viral.
There’s widespread use of adblockers on the web but users are increasingly blocking cookies and other tracking scripts too. Browsers such as Safari, Firefox and Brave are privacy-focused.
There was one remarkable legacy system when I was working in a bank sometime back. This could be summarized as an internal AWS lambda equivalent. The offering was complete with full CI, CD, unit te…
How is your startup sharing knowledge with the rest of your team?We’ve been using slack’s #general or #random channels to make announcements.We regularly post documents and PPTs in slack channels s...
You’re intrigued by biotech and want to explore ideas in the area. Where do you start?
Science News, Physics, Science, Philosophy, Philosophy of Science
Part 4 covers pattern matching, destructuring, and enums
My diplomatic life true revealing stories behind the hype is a story that takes the sheen off the perception of a glamorous and privileged lifestyle.
A couple of months ago I received a present, a small book titled ‘Why we sleep’ by Matthew walker. It is an interesting book that takes you through the physiological and psychological effects of sleeping and the damage done by lack of sleep. I don’t necessarily subscribe to each and every bit in the book, there are…
Leverage S3 and CloudFront to host your web app in an infinitely scalable way.
On a Spring 2019 walk in Beijing I saw two street sweepers at a sunny corner. They were beat-up looking and grizzled but probably younger than me. They’d paused work to smoke and talk. One told a story; the other’s eyes widened and then he laughed so hard he had to bend over, leaning on his broom. I suspect their jobs…
GitHub quietly released a new feature at some point in the past few days: profile READMEs. Create a repository with the same name as your GitHub account (in my case …
A quick look at the ballistics and stability of aerial fireworks.