New
The latest blog posts to take off on Hacker News. 49,258 posts.
Easy laser-cut electronics cases for maker boards (2017)
Downloadable acrylic case designs for the Raspberry Pi Zero+Stackable USB Hub, Orange Pi Lite & Marvell ESPRESSObin.
Progressive web apps are coming to iOS 11.3: Cupertino, we have a problem
IMPORTANT: iOS 11.3 final version is now published. Check my updated article on the topic: Progressive Web Apps on iOS are here
Ursula K. Le Guin on “Spare Time”
In praise of the mundane, unquantifiable, impractical activities that feed creative work and fill life with meaning.
How Old School C Programmers Process Arguments
Here’s a bit of code from Kernighan’s and Ritchie’s seminal text, The C Programming Language . I’m not sure I’d actually recommend coding this way (as written in the book, the entire program has only one comment), but it’s so darn clever and concise, I can’t help but post it. This snippet is part of a larger program…
‘Jackpotting’ Attacks Hit U.S. ATMs
ATM “ jackpotting ” — a sophisticated crime in which thieves install malicious software and/or hardware at ATMs that forces the machines to spit out huge volumes of cash on demand — has long been a threat for banks in Europe and Asia, yet these attacks somehow have eluded U.S. ATM operators. But all that changed this…
Understanding the C/C++ memory model
I know that a lot of people struggle with understanding the memory model introduced in C11/C++11. In a recent conversation I was alerted to the existence of this blog post, which while correct (by …
Kaggle Learn review: there is a deep learning track and it is worth your time
Right from my undergrad days when I was starting out with machine learning to this date, my admiration for Kaggle continues to grow. In addition to being synonymous with and popularizing data scien…
If you watch closely enough, everything is a speaker
Using high speed cameras, it’s possible to record the vibrations of everyday objects caused by nearby sounds and reverse engineer the sounds…essentially turning
Postgres indexes under the hood
Many software engineers use database indexes every day, but few of us really understand how they work. In this post I’ll explain: How indexing works in Postgres using B-Trees What B-Trees are Why they are a good fit for this problem Indexes in Postgres Postgres actually offers 4 different kinds of indexes for…
Moving efficiently in the CLI
A cheatsheet for moving efficiently in the CLI!
Interactive GPU Programming, Part 1: Hello CUDA
Today, fast number crunching means parallel programs that run on Graphical Processing Units (GPUs). Thanks to the recent highly publicized deep learning and ...
How to Run Your Own Mail Server (2017)
A guide to self-hosting your email on FreeBSD using Postfix, Dovecot, Rspamd, and LDAP.
How and why I run my own DNS servers
Despite my woeful knowledge of networking, I run my own DNS servers on my own websites run from home.
How Generative Music Works
For his 1965 composition “It's Gonna Rain”, Steve Reich designed a generative mechanical system.
A practitioner’s guide to reading programming languages papers
Last week I jokingly said that POPL papers must pass an ‘intellectual intimidation’ threshold in order to be accepted. That’s not true of course, but it is the case that programming languages paper…
NASA’s IMAGE satellite, lost since 2005, is alive
Over the past week the station has been dedicated to an S-band scan looking for new targets and refreshing the frequency list, triggered by the recent launch of the mysterious ZUMA mission. This t…
Using Self-Organizing Maps to Solve the Traveling Salesman Problem
Using Self-Organizing Maps to solve the Traveling Salesman Problem The Traveling Salesman Problem is a well known challenge in Computer Science: it consists on finding the shortest route possible that traverses all cities in a given map only once. Although its simple explanation, this problem is, indeed, NP-Complete…
Some obscure C features
Date: 2018-01-25 Git: https://gitlab.com/mort96/blog/blob/published/content/00000-home/00010-obscure-c-features.md
Conflict vs. Mistake
Jacobite – which is apparently still a real magazine and not a one-off gag making fun of Jacobin – summarizes their article Under-Theorizing Government as “You’ll never hear…
About rel=noopener (2016)
2021 update: Browsers now implicitly set rel=noopener for any target=_blank link, following a spec change . If the demo on this page no longer seems scary, congratulations — you’re using a modern browser!