H.264 is Magic
A high level walkthrough of the basics of video compression techniques used in MPEG, AVC/H.264, codecs.
Posts that commenters keep linking to, ranked by how many different people have cited them in Hacker News comments. 466 posts.
A high level walkthrough of the basics of video compression techniques used in MPEG, AVC/H.264, codecs.
Back in the day when the British had a penchant for conquering the world, they ran into a little problem on the subcontinent; cobras. Turns out there were a hell of a lot of the buggers wandering around India and it also turned out that they were rather venomous which
This is #3 in a very long series of posts on Stack Overflow’s architecture.Previous post (#2): Stack Overflow: The Hardware - 2016 EditionWe’ve talked abou...
What happens to a company when a visionary CEO is gone? Most often innovation dies and the company coasts for years on momentum and its brand. Rarely does it regain its former glory. Here’s why. Mi…
I contributed this one-filer to the C64 Demo compo at Datastorm 2013 . It ended up on 7th place, which I consider quite good for a technical proof of concept.
Haiku uses a custom vector image format to store icons. This is surprising both because most OSes consider bitmaps to be totally sufficient to represent icons and because there are plenty of vector graphics formats out this (e.g. SVG). The goal of the Haiku Vector Icon Format (HVIF) is to make vector icon files as…
This series has been independently translated into Chinese , Russian , Turkish , and Korean , and formatted as an ebook .
In my last blog entry LLand LR Parsing Demystified, we explored LL and LR parsers from ablack-box perspective. We arrived at a model for these parsers whereb...
Everyone agrees that housing in San Francisco is expensive, and that the high costs are hurting the city. But there is a lot of disagreement...
John Gilmore , an American entrepreneur and civil libertarian, once famously quipped that “the Internet interprets censorship as damage and routes around it.” This notion undoubtedly rings true for those who see national governments as the principal threats to free speech.
Note: the following is a record of some whimsical mathematical thoughts and computations I had after doing some grading. It is likely that the sort of problems discussed here are in fact well studi…
The big tech news this week is that the FBI is trying to force Apple to unlock a suspect's iPhone. One of the interesting points around this story is that the iPhone in question is an older one, an iPhone 5c. Newer phones have what Apple calls the Secure Enclave, which some say protects against requests of this…
Zed Shaw, of Learn Python the Hard Way fame, has now written The Case Against Python 3. I’m not involved with core Python development. The only skin I have in this game is that I like Python 3. It’s a good language. And one of the big factors I’ve seen slowing its adoption is that respected people in the Python commu
My first adventures in parsing theory came when I was doing anindependent study of programming languages in college. When I got tothe part about algorithms s...
Subscribe Subscribe to a syndicated feed of my weblog, brought to you by the wonders of RSS.
Signed integers are not allowed to overflow in C and C++, and this helps compilers generate better code. I was interested in how GCC is tak...
Did you buy the new MacBook or MacBook Pro? Maybe the Google Pixel? You're about to enter a world of confusion thanks to those new "USB-C" ports. See, that simple-looking port hides a world of complexity, and the (thankful) backward-compatibility uses different kinds of cables for different tasks. Shoppers have to be…
DTrace for Linux 2016: announcing a major milestone: the final kernel capabilities have merged in Linux 4.9-rc1 to enhanced BPF (eBPF) to provide an advanced programmable dynamic tracer similar to DTrace.
I was hoping you would mention the dynamic checkers, ASAN etc. My fear is people will start using these but not understand how to really use them properly. Since they’re dynamic checkers you really need a good testing harness and test cases to go with it. The bugs ASAN/TSAN etc catch are usually strange boundary…
After reading about the Oracle v. Google trial I looked up the famous 9 lines of code that Google allegedly stole from Oracle, which implement the rangeCheck method for arrays. Note that arrays and…
Firing People: a talk about firing people, by Zach Holman.
Many functional programming articles teach abstract functional techniques. That is, composition, pipelining, higher order functions. This one is different. I...
Scott Kupor at Andreessen Horowitz has a post today on some potential downsides of 10-year exercise periods for startup employees’ stock options. I’d recommend reading the whole thing for context here, but to summarize: * He argues that allowing employees who leave a company to keep their optio...