New
The latest blog posts to take off on Hacker News. 49,257 posts.
Why I don't use web components
For my first post on dev.to I thought I'd write about a nice, safe topic that's free of controversy:...
NPM & left-pad: Have We Forgotten How To Program?
Intro Okay developers, time to have a serious talk. As you are probably already aware, this week React, Babel, and a bunch of other high-profile packages on NPM broke. The reason they broke is rather astounding: A simple NPM package called left-pad that was a dependency of their code. left-pad, at the time of writing…
Elegant Error Handling with the JavaScript “Either” Monad
JavaScript gives us a built-in language feature for handling exceptions: try…catch statements. And they’re better than littering our code with if-statements. But they can be problematic. And they are not the only way to handle errors. In this article, we’ll take a look at using the ‘Either monad’ as an alternative to…
Google to Reimplement Curl in Libcrurl
Not the entire thing, just "a subset". It's not stated very clearly exactly what that subset is but the easy interface is mentioned in the Chrome bug about this project. What? The Chromium bug states that they will create a library of their own (named libcrurl) that will offer (parts of) the libcurl API and … Continue…
Where Has the Magic Gone?
A big change that I’ve realised during undergrad is that engineering doesn’t feel ‘magical’ anymore.
Debian Riscv64 port in mid 2019
It's been a while since last post (Talk about the Debian GNU/Linux riscv64 port at RISC-V workshop), and sometimes things look very quiet from outside even if the people on the backstage never stop working. So this is an update on the status of this port before the release of buster, which should happen in a few weeks…
Nines are not enough: meaningful metrics for clouds
Nines are not enough: meaningful metrics for clouds Mogul & Wilkes, HotOS’19 It’s hard to define good SLOs, especially when outcomes aren’t fully under the control of any single party. Th…
Turbinia – An Uninvited Guest (2014)
Turbinia - An Uninvited Guest
The worst morale-boosting gesture I've experienced
I promise you this story is true. Many years ago, when I was very young and you were even younger... Work was not going well. Our recently launched product was a flop. Rumours of job cuts were swirling. Things were tense. I was sat in work, headphones on, trying to drown out the sound of the open-plan office. Grinding…
Fixing a Small Calc.exe Bug
tldr; saw a Windows Calculator bug on reddit . Since calc.exe was open-sourced I thought I’d try to find the bug and fix it. Cloned the code, recreated the bug, and found a minimal fix .
Go Creeping In
I’ve seen the inside of the Google and Amazon tech stacks. There are common threads that run through them and also, I bet, through most BigTechCos. Here and there down the stack is a lot of C++ and vestigial remnants from earlier days, Perl or PHP or whatever. Out in front of humans, of course, JS. But in between…
Adventure Games and Eigenvalues (2017)
Do adventure games have dead ends? The author of The Teeny Tiny Mansion proves the absence of dead ends in that game via formal verification (in particular, with the help of the cbmc model-checking program ). Here I’ll demonstrate how to prove the same thing via Markov theory. The Markov approach requires more…
Classes vs. Data Structures
Or rather, an object is a set of functions that operate on implied data elements.
Minnesota court decision means doctors can be sued by patients they don't treat
By KIP SULLIVAN (30) On April 17, the Minnesota Supreme Court published an opinion holding that doctors who deny services to patients may be sued even if they did not have a doctor-patient relation…
FBI agent accidentally reveals own 8chan posts
Updated August 4, 2019: Added link to “A.C.L.U. Says F.B.I. Funded ‘Army’ To Terrorize Young War Dissidents” The unsealing of an application for a search warrant by the federal governme…
This TRS-80
A first-hand story about the TRS-80 Model 100 and journalism
In Defence of the Technical Interview
Coding puzzles and their prevalence
Slack will never replace email
Hello Mr Butterfield,
People Met in Hotel Lobbies (2017)
Selections from the Washington Post's Gilded Age coverage of notable visitors to the city