New
The latest blog posts to take off on Hacker News. 3,290 posts.
The effects on cognition of sleeping 4 hours per night for 12-14 days
Discuss this study on my forum or see discussion on Hacker News (>400 points, >350 comments). Abstract I slept 4 hours a night for 14 days and didn’t find any effects on cognition (assessed via Psychomotor Vigilance Task, a custom first-person shooter scenario, and SAT). I’m a 22-year-old male and normally I sleep 7-8…
It’s OK for your open source library to be a bit shitty (2015)
That half-finished thing you threw on PyPI and forgot about? The world is genuinely slightly better for it existing.
Game of Life in one Ruby statement inspired by APL
Well, the title says it all!
No One Goes There Anymore
There's a famous Yogi Berra quote that goes: Nobody goes there anymore. It's too crowded. I have a serious medical condition. I don't us...
Serve Videos Instead of GIFs
The Graphics Interchange Format ( GIF ) is over 30 years old but is a pervasive part of internet culture. We use GIFs to serve short, silent, and looping videos, which frequently become memes . Entire services exist to create and share them, and many smartphone keyboards have built-in GIF support.
Getting started with Rust by building a tiny Markdown compiler
Jelajahi katalog produk dan informasi lengkap dari PANEN99.
What every software engineer should know about Apache Kafka
To help fellow engineers wrap their head around Apache Kafka and event streaming, I wrote a 4-part series on the Confluent blog on Kafka’s core fundamentals....
If I could bring one thing back to the internet it would be blogs
Nowadays especially it's nice to have things to read. New things, things from various sources and various voices, various minds talking about their thoughts and experiences, telling their stories, posting pictures and th…
Extracting ROM constants from the 8087 math coprocessor's die
Intel introduced the 8087 chip in 1980 to improve floating-point performance on the 8086 and 8088 processors, and it was used with the ori...
Modern C++ gamedev: thoughts and misconceptions
C++ remains one of the leading programming languages in game development despite the emergence of new technologies and languages. Its flexibility, performance, and extensive ecosystem make it the preferred choice for building complex game systems, engines, and high-performance applications.
OpenBSD on the Microsoft Surface Go 2
I used OpenBSD on the original Surface Go back in 2018 and many things worked with the big exception of the internal Atheros WiFi. This meant I had to keep it tethered to a USB-C dock for Ethernet or use a small USB-A WiFi dongle plugged into a less-than-small USB-A-to-USB-C adapter.
State of Loom
Project Loom aims to drastically reduce the effort of writing, maintaining, and observing high-throughput concurrent applications that make the best use of available hardware.
Pretending OOP Never Happened
OOP, for all its excesses, was a big step forward in software engineering. The way to move past OOP is to replace it with another discipline, not anarchy.
In Defense of the Modern Web
I expect I'll annoy everyone with this post: the anti-JavaScript crusaders, justly aghast at how much...
So you want to write your own CSV code (2014)
So You Want To Write Your Own CSV code? Fields separated by commas and rows separated by newline. Easy right? You can write the code yourself in just a few lines.
The unattributable “db8151dd” data breach
I was reticent to write this blog post because it leaves a lot of questions unanswered, questions that we should be able to answer. It's about a data breach with almost 90GB of personal information in it across tens of millions of records - including mine. Here's what I
So much of academia is about connections and reputation laundering
1. Statistics / numerical analysis / data science is a lot harder than you, the reader of this blog, might think.
Next dream job can be in an HTTP header
Have you ever thought to find your next job in an HTTP header? cURL can reveal this and many more secrets.
Solar’s Future is Insanely Cheap
This is part 1 of a series where I’ll look at the future costs of clean energy and mobility technologies.
Reverse engineering the 76477 “Space Invaders” sound chip from die photos (2017)
Remember the old video game Space Invaders? Some of its sound effects were provided by a chip called the 76477 Complex Sound Generation ch...
Security Flaws in Adobe Acrobat Reader Allow Gaining Root on macOS Silently
Yuebin Sun(@yuebinsun2020) of Tencent Security Xuanwu Lab 0x0 SummaryToday, Adobe Acrobat Reader DC for macOS patched three critical vulnerabilities(CVE-2020-9615, CVE-2020-9614, CVE-2020-9613) I repo
How to prepare for losing your programming job
Another week has passed, and another 3 million people in the US have filed for unemployment. While the current situation hasn’t impacted programming jobs quite as much, it’s just a matter of time before the economic damage hits most everywhere. There will be layoffs, and plenty of them, and occasionally whole…
What developers should know about TCP
Why do you need to place your servers geographically close to your users? One of the reasons is to achieve lower latencies. That makes a lot of sense when you are sending short bursts of data that should be delivered as quickly as possible. But what about large files, such as videos? Surely there is a latency penalty…
Roman Finger Counting
I recently wrote a final paper on the history of written numerals. In the process, I discovered this fascinating tidbit that didn’t really fit in my paper, but I wanted to put it somewhere. So I’m writing about it here.
My New Old Apple IIe Computer
How I found a vintage Apple IIe computer on the sidewalk and brought it back to life