New
The latest blog posts to take off on Hacker News. 14,544 posts.
A Programmer’s Introduction to Unicode
Pixels and polygons and shaders, oh my!
JavaScript in Parallel: Web Workers and SharedArrayBuffer
Common legal challenges and effective strategies in open source software development. Ensure your projects are legally sound & compliant
Mathematical Notation in Emacs
Any combination of these tools may be chosen; Fira Code is not required to utilize prettify-symbols or pretty-mode. Similarly, the entire Fira Code font is not required to use Fira’s ligatures.
AWS Lambda – Best practices
In this post we are going to go through the best practices while building an AWS Lambda function. In order to go through this blog you should know what is it and you should ideally have built at le…
Removing everything from GitHub
Github recently drafted an update to their Terms Of Service. The new TOS is potentially very bad for copylefted Free Software. It potentially neuters it entirely, so GPL licensed software hosted on Github has an implicit BSD-like license. I'll leave the full analysis to the lawyers, but see Thorsten's analysis .
Compile-Time Evaluation in the Zig System Programming Language
Zig places importance on the concept of whether an expression is known at compile-time. There are a few different places this concept is used, and these building blocks are used to keep the language small, readable, and powerful.
Problems with RESTful APIs (2015)
Why you might benefit from letting this popular paradigm rest in peace.
How many floating-point numbers are in the interval [0,1]?
Most commodity processors support single-precision IEEE 754 floating-point numbers. Though they are ubiquitous, they are often misunderstood. One of my readers left a comment suggesting that picking an integer in [0,232) at random and dividing it by 232, was equivalent to picking a number at random in [0,1). I am not…
I Wrote My Fastest Hashtable
I had to get there eventually. I had a blog post called “I Wrote a Fast Hashtable” and another blog post called “I Wrote a Faster Hashtable.” Now I finally wrote the fastest…
Epoll is fundamentally broken
This time we'll focus on Linux's select(2) successor - the epoll(2) I/O multiplexing syscall.
One Year with Rust: I wrote a full featured application in rust, and so can you
I wrote a full featured application in rust, and so can you!
Id Software Programming Principles
id Software co-founder John Romero tells the early story of the game company inthis GDC 2016 talk and lists the programming principles that guided them towar...
A Simple Rust GUI with QML
You may have heard of Rust by now. The new programming language that “pursuis the trifecta: safety, concurrency, and speed”. You have to admit, even if you don’t know what trifecta means, it sounds exciting.
“A state of flow can be achieved by deep work”
The following article summarizes my lessons learned from the books Deep Work and Flow. It can be the way to achieve a fulfilled life. Cal Newport and Mihaly Csikszentmihalyi have written outstanding books in their ...
The Myers diff algorithm: part 1
If you enjoy this article, I have published a book explaining the internals of Git through implementation: Building Git .
Demangling C++ Symbols in Rust
I wrote a Rust crate to demangle C++ symbols: cpp_demangle. Find iton crates.io and github.
The Impact Github is Having on Your Software Career
Update 2019: This article got 183 comments on Reddit, and 237 comments on Hacker News. Many commenters said it couldn’t be done — they…
Common Multithreading Mistakes in C# – Unsafe Assumptions
An in-depth look at exactly what the CPU and runtime can do to subvert us when we don't write properly thread-safe code.
Weaponizing PostScript
In a recent pentesting assignment, there was a service which converted uploaded files to PDF/A format, to make them safer for handling. Afte...