New
The latest blog posts to take off on Hacker News. 2,307 posts.
The rectangularness of countries
What is the most rectangular country?
Braid Code Cleanup (part 1)
I am still puzzling through the right way to think about some ideas in compression, so let’s take a break from that and talk about generally cleaning up the ...
Getting a network trace from a single application
I recently wanted a way to get a network packet trace from a specific application. My googling showed me an old askubuntu thread that solve...
Functional programming in C (2013)
0.1 Discriminated unions in C 0.2 Nested functions and lambda variables 0.3 Automatic cleanup of local variables 0.4 Data structures 0.5 Wrapping up This post/program (as I’m writing it in literate…
What Template Haskell gets wrong and Racket gets right
Why are macros in Haskell terrible, but macros in Racket great? There are certainly many small problems with GHC’s Template Haskell support, but I would say that there is one fundamental design point which Racket got right and Haskell got wrong: Template Haskell does not sufficiently distinguish between compile-time…
Jepsen: MongoDB
Previously in Jepsen , we discussed Redis . In this post, we’ll see MongoDB drop a phenomenal amount of data. See also: followup analyses of 2.6.7 and 3.4.0-rc3 .
Serverless Architectures
Serverless architectures replace a managed server with a collection of third party services and FaaS
Become a 10x Programmer by Managing Your Time Better
Become aware of bad habits that make you less productive and learn how to break them with proper time management skills.
Malware in the browser: how you might get hacked by a Chrome extension
A case study of a Chrome extension that turned out to be some nasty botnet malware.
What ever happened to Wordstar?
One of the most interesting stories in the history of computing surrounds the dominant word processor of the late 1970’s and early 1980’s — Wordstar.
Zeroing Memory is Hard: VC++ 2015 arrays
Quick, what’s the difference between these two C/C++ definitions of initialized local variables? char buffer[32] = { 0 };char buffer[32] = {}; One difference is that the first is legal in C a…
Exponential time complexity in the Swift type checker
One of the most annoying problems in Swift is when the compiler gives an 'Expression was too complex to be solved in a reasonable time' error. I look at why this error occurs, how to avoid it and talk about how this should be solved in a future compiler update.
Cyberpower crushes coup
Rewriting the rulebook on coups, time to add cyberpower
How I Could Steal Money from Instagram, Google and Microsoft
TL;DR: Instagram ($2000), Google ($0) and Microsoft ($500) were vulnerable to direct money theft via premium phone number calls. They all offer services to supply users with a token via a computer-voiced phone call, but neglected to properly verify whether supplied phone numbers were legitimate, non-premium numbers…
Destroy All Ifs – A Perspective from Functional Programming
Replace conditionals with lambdas for simpler code that's more powerful
Hablog – High-availability, distributed, lightweight, static site with comments
High availability (HA), distributed, lightweight, static site yet with comments,with a responsive UI. These are a few characteristics of the ideal bloggingpl...
Is duckduckgo.com partially enforcing the “celebrity threesome injunction”?
The "celebrity threesome injuction" forbids publication in England and Wales of the identities of a famous married couple who reportedly had sex with someone else. In other words, nothing bad, or important.