New
The latest blog posts to take off on Hacker News. 49,258 posts.
The 40M dollar job
An extract from my book Just Fired. Still in progress...
Thoughts on Rust, a few thousand lines in
To say my first foray into Rust was a frustrating struggle would be an understatement. I picked a terrible first project that left me neck deep in Rust’s trickiest areas right off the bat. I was excited to try again. A few years ago I wrote Sumoshell, a CLI App for log analysis. I’d wanted to improve it for a while…
The State of Software Security in 2019
My goal in this post is to skim my observations on the state of software design and development over the past year, and to try to find a meaningful way forward for myself for 2019. My perspective is limited by the fact that I have worked exclusively in client-side software security for the past 7.5 years. Still, I…
Why I Am Not an Austrian Economist
I was first introduced to Austrian economics during my senior year in high school, when I first read and enjoyed the writings of Mises and Rothbard. The summer before I began my undergraduate work at UC Berkeley, I was able to attend the 1989 Mises Institute summer seminar at Stanford, where I met Murray Rothbard and…
Cancer Progress: Much More Than You Wanted To Know (2018)
Official statistics say we are winning the War on Cancer. Cancer incidence rates, mortality rates, and five-year-survival rates have generally been moving in the right direction over the past few d…
Modchips of the State
Collection of my projects and hacks.
Interesting Tech Markets for 2019
Every year I take a step back and ask if there are common themes in technology.
Monorepos and the Fallacy of Scale
In a recent blog post entitled “Monorepos: Please don’t,” Matt Klein discusses the pros and cons - as it turns out, mostly cons in his view - of monorepos. The long and short of it is that he thinks that they are not a good fit for most teams. After thinking about this question for a few years I have come to the…
Coolest Things I Learned in 2018
David shares the coolest things he learned in 2018. Read here.
Warning Signs in Experimental Design and Interpretation (2007)
When an experimental study states "The group with treatment X had significantly less disease ( p = 1%)", many people interpret this statement as being equivalent to "there is a 99% chance that if I do treatment X it will prevent disease." This essay explains why these statements are not equivalent. For such an…
Adding Glue to a Desktop Environment
In this article we will put some light on a lot of tools used in the world of Unix desktop environment customization, particularly regarding wmctrl, wmutils, xev, xtruss, xwininfo, xprop, xdotools, xdo, sxhkd, xbindkeys, speckeysd, xchainkeys, alttab, triggerhappy, gTile, gidmgr, keynav, and more. If those don't make…
Things You Can’t Say About Assange or WikiLeaks
A complete copy of the 140 things that WikiLeaks said journalists weren’t supposed to say about Julian Assange
I learnt C++ in 2018 and have no regrets
My quest for relearning C++ started in November 2018. I have been reading + blogging + writing C++ from then. I would like to reflect on my journey a bit. Before I begin, I would like to state that th
WebGL + Rust: Basic Water Tutorial
In this tutorial we’ll discuss the ideas and concepts behind rendering water and then talk through some demo code.
Apple’s Errors
Apple’s management made three errors that led to the restatement of revenue; those errors, though, suggest that the company’s business is in better shape than it appears.
The Hand Licking Incident
When my oldest son was seven and in second grade, we were living in Kansas. Some time after the school year started, he began licking his ha...
How to Start Learning Computer Graphics Programming
Ever since I opened up my Direct Messages and invited everyone to ask me computer graphics related questions on Twitter , I am very often asked the question "How can I get started with graphics programming?". Since I am getting tired of answering this same question over and over again, I will in this post compile a…
Do Not Use Task Manager for Memory Info
Task Manager can be lacking as a memory tracker. Let's cover alternatives to replace it. First, let’s discuss how memory allocations work in Windows.
Why Telegram is insecure (2015)
Telegram, the encrypted messaging app loved by terrorists, has been in the news lately. Terrorists have long used existing commercial and…
What Left-Handedness Reveals About How the Brain Works (2014)
From Medieval sword-fighters to Broca’s brains, or why the hand may hold the key to the link between creativity and mental illness.
A Primer on Database Replication (2017)
A Primer on Database Replication
AVX512 VBMI – remove spaces from text
Removing spaces from a string is a common task in text processing. Instead of removing single character we often want to remove all the white space characters or the punctuation characters etc.
Understanding the BeagleBone’s built in microcontrollers (2016)
The BeagleBone Black is an inexpensive, credit-card sized computer that has two built-in microcontrollers called PRUs. While the PRUs provi...
Initialization in C++ is Seriously Bonkers
I was recently reminded of why I think it’s a bad idea to teach beginners C++. It’s a bad idea because it is an objective mess—albeit a beautiful, twisted, tragic, wondrous mess. Despite the current state of the community, this post is not a polemic against modern C++. This post is partly a follow-up on Simon Brand’s…
9999999999999999.0 – 9999999999999998.0
Note that some of the wrong answers can be fixed with various workarounds. For example Common–Lisp gives the correct answer for: