New
The latest blog posts to take off on Hacker News. 3,290 posts.
Zero-day in Sign in with Apple
What if I say, your Email ID is all I need to takeover your account on your favorite website or an app. Sounds scary, right? This is what a…
A simple way to get more value from metrics
We spent one day 1 building a system that immediately found a mid 7 figure optimization (which ended up shipping). In the first year, we shipped mid 8 figures per year worth of cost savings as a result. The key feature this system introduces is the ability to query metrics data across all hosts and all services and…
Apple Mail randomly becomes the frontmost application in macOS
Since macOS 10.12 there’s a bug in Apple Mail that causes it to randomly become the frontmost application. If you are in full screen mode — like when you are giving a talk or watching a movie — it opens itself up in split view mode where it takes up half the screen while your other main window is being resized. I saw…
What is emergence?
Emergence occurs when there is a conceptual discontinuity between two descriptions targeting the same phenomenon. This does not mean that emergence is a purely subjective phenomenon — only th…
Career Choice Tip: Cybercrime Is Mostly Boring
When law enforcement agencies tout their latest cybercriminal arrest, the defendant is often cast as a bravado outlaw engaged in sophisticated, lucrative, even exciting activity. But new research suggests that as cybercrime has become dominated by pay-for-service offerings, the vast majority of day-to-day activity…
ECMAScript 4: The Missing Version
In your build tools, you may have noticed that you have an ECMAScript 3 target, and 5 and up, but never a 4. Why is that?
1,700-Year-Old Board Game Found in Norwegian Burial Mound
Rare elongated dice and board game pieces from the Roman Iron Age have been discovered in western Norway. Last month, Norwegian archaeologists chose to excavate the remains of a small Early Iron Age grave cairn
Launch an App
On May 14th, I launched Oh Bother — my first independent app in 7 years. I wrote a bit about my decision to build Oh Bother here, but now that my little app ...
Linux Security Hardening and Other Tweaks
A collection of kernel and userland settings one can change to improve the security and usability of a Linux system. Targeted at Arch, but should work for other distros too.
The radix 2^51 trick (2017)
Starting from the “ones” position, we add 6 + 6 = 12, write down a 2 and carry a 1. We proceed to the left, one position at a time, until there are no more digits to add.
Vitamin D: the New Covid-19 Chloroquine?
Welcome to this post, in which we’ll be taking a trip through the wild and bumpy ride that has been Vitamin D & sunlight research over the past few decades, and what it might mean for COVID-19. As with my previous post, before any non-specialist attempts to write something on COVID-19, we should wonder: are any actual…
Introduction to Apache Airflow
Airflow is a platform to programmatically author, schedule, and monitor workflows. In this blog we will underestand the basics of airflow
A Visual Guide to React Mental Models: UseState, UseEffect and Lifecycles
I love mental models. They’re crucial to understanding complex systems, allowing us to intuitively grasp and solve complex problems.
The Hard Part of Learning a Language
I want to do $THING. Normally I do my hacking in Python, which is okay but has lots of frustrations. My friends tell me $LANGUAGE is better for doing $THING. After going through the online tutorial, I can see why. Maybe I’ll try $LANGUAGE for this project! Just a few things I need to figure out first: How do I install…
Translation from VC-Backed PR Jargon to English of Magic Leap CEO Statement
“No one will remember us or anything we’ve done — unless Netflix makes one of those documentaries like the Fyre Festival one.”
Relationship between psychedelics, the brain, well-being, and creativity
Remarkable relationship between psychedelics, the brain, well-being, and creativity
Deno Is a Browser for Code
Explaining the different mental model Deno has about managing dependant code.
Idea Generation
The most common question prospective startup founders ask is how to get ideas for startups. The second most common question is if you have any ideas for their startup. But giving founders an idea...
The Fastest Google Fonts
Google Fonts is fast. Now it’s faster. Much faster.
What's in a Parser Combinator? (2016)
Simplex Sigillum Veri
Hypermodern Python
A guide to modern Python tooling with a focus on simplicity and minimalism.
How I made a game played in Notepad
Play games made by Sheepolution
The use of `class` for things that should be simple free functions
For those who only read above the fold: I don’t say that all object-orientation is bad! OOP, especially classical polymorphic OOP, has a well-deserved place in real code. I’m going to talk about a very specific antipattern that I see with some frequency: the use of class for things that should be simple free functions.
REPL Driven Design
If you follow me on facebook you know that I’ve been publishing daily CoronaVirus statistics. I generate these statistics using the daily updates in the Johns Hopkins github repository .