New
The latest blog posts to take off on Hacker News. 81,044 posts.
Spam in Your Calendar? Here’s What to Do
Many spam trends are cyclical: Spammers tend to switch tactics when one method of hijacking your time and attention stops working. But periodically they circle back to old tricks, and few spam trends are as perennial as calendar spam, in which invitations to click on dodgy links show up unbidden in your digital…
Improved VPC Networking for AWS Lambda
September 8, 2021: Amazon Elasticsearch Service has been renamed to Amazon OpenSearch Service. See details. Update – August 5, 2020: We have fully rolled out the changes to the following additional Regions to those mentioned below. These improvements are now available in the AWS China (Beijing) Region, operated by…
The Eternal Mainframe (2013)
The urge to replace the mainframe has reinvented the mainframe and its problems.
RSA: Theory and Implementation
RSA has been a staple of public key cryptography for over 40 years, and is still being used today for some tasks in the newest TLS 1.3 standard. This post describes the theory behind RSA - the math that makes it work, as well as some practical considerations; it also presents a complete implementation of RSA key…
Mozilla’s Manifest v3 FAQ
Developers have asked what Google's proposed changes to their extensions API, known as Manifest v3, mean for Mozilla. Here are some frequently asked questions.
Need a USB Cable? Build One
Personal homepage of Josef Adamcik
Lezer
I keep coming across people who consider parser technology a forbidding, scary field of programming. This is nonsense—a small parser can be very, very simple , and provide a wholesome exercise in recursive thinking. At the same time, it is true that you can make parsing extremely complicated. Mostly, this tends to…
Why the Amazon Basics Keyboard Is My Favorite Keyboard
I've been typing for 20+ years and this is one of my favorite general purpose / programming keyboards when factoring in a few things.
Firefox 69.0 Released
As of today, Enhanced Tracking Protection will be turned on by default, strengthening the security and privacy for all of our users around the world. We'd like to extend a special thank you to all of the new Mozillians who contributed to this release of Firefox.
Shenanigans With Hash Tables
One reason to know how your data structures work is so that when your problem has unusual constraints you can tweak how they work to fit the problem better or work faster. In this article I’ll talk about four different fun tweaks to the concept of a hash table that I made in the process of using hash tables to…
Population Growth
Explore global and national data on population growth, demography, and how they are changing.
FreeBSD on the Lenovo Thinkpad
Compatibility of FreeBSD on a Lenovo Thinkpad T480, notes and fixes (HiDPI, Trackpad, camera, etc).
Tree traversal without recursion: the tree as a state machine (2007)
I am currently working my way through Higher-Order Perl , a highly recommended tome on effective and practical use of functional programming techniques in Perl. As you’d expect from a book that spends a lot of time discussing such concepts as function composition and recursion, the subject of tree traversal makes a…
Good Code Design from Linux
Learn how Linux/FFmpeg C partial codebase is organized to be extensible and act as if it were meant to have “polymorphism”. Specifically, we’re going to briefly explore how Linux …
An introduction to deterministic builds with C/C++
What are deterministic builds?
Arabic and Islamic Themes in Frank Herbert's “Dune” (2004-2017)
Those who are familiar with Frank Herbert's famous novel Dune will notice his analogy for the spice, and the surrounding struggle for it, with the crude oil of the Middle East. The novel is symbolic about the dependence of the West on the oil, and the power struggles to control this valuable resource.
The more you learn, the faster you can learn
Throughout my schooling and career, I’ve impressed people over and over again with how quickly I pick up things, especially hard things. For instance, exactly 4y ago I did my first ever interview, got
Anatomy of a High-Performance Convolution
It's no surprise that modern deep-learning libraries have production-level, highly-optimized implementations of most operations. But just what is the black magic that these libraries use that we mere mortals don't? What exactly does one do to "optimize" or accelerate neural networks operations?
Escher-Like Spiral Tilings
The artist M.C. Escher drew many lovely tilings, which he called “regular divisions of the plane”. He worked hard to ensure that his tilings were of lifelike animal forms such as birds and fish. He filled notebooks with hand-drawn sketches of tilings, many of which later found their way into his woodcuts. If you’d…
The “mail is hard” myth
TL;DR: - Mail is not hard: people keep repeating that because they read it, not because they tried it - Big Mailer Corps are quite happy with that myth, it keeps their userbase growing - Big Mailer Corps control a large percentage of the e-mail address space which is good for none of us - It's ok that people have…
Beginner's Guide to Linkers (2010)
This article is intended to help C & C++ programmers understand the essentials of what the linker does. I've explained this to a number of colleagues over the years, so I decided it was time to write it down so that it's more widely available (and so that I don't have to explain it again). [Updated March 2009 to…