New
The latest blog posts to take off on Hacker News. 49,254 posts.
Memory Management in Python
To speed-up memory operations and reduce fragmentation Python uses a special manager on top of the general-purpose allocator, called PyMalloc.
Curve fitting A: Linear Least Squares
The graph on the left shows a third example, taken from analytical chemistry: a straight-line calibration data set where X = concentration and Y = instrument reading (Y = a + b X). Click to download that data . The blue dots are the data points. They don't all fall in a perfect straight line because of random noise…
Regex for Noobs – An Illustrated Guide
This blog post is an illustrated guide to regex and aims to provide a gentle introduction for people who never have fiddled with regex, want to, but are kind of intimidated by the whole thing.
Why a mock doesn’t work
Mocking is a powerful technique for isolating tests. But yours isn’t working. Why!?
Elsevier threatens others for linking to Sci-Hub but does so itself
Sci-Hub is a copyright-violating site that provides infringing access to scholarly publications that are behind paywalls. Its ethics are problematic but it’s...
Modern Text Rendering with Linux
Introduction
Open Source Hardware Hearing Aid Part 1
My mother got hearing aids a few years ago. About a month later, she lost one. Insurance said if she wanted a replacement, she could pay them many thousands of dollars or she could wait a year.
Exploring Mathematics with Matplotlib and Python
Data Visualization can be a great tool for mathematical exploration and experimentation. In this article, I show you an example using Matplotlib and Python.
From 30 to 230 Docker containers per host
I could not find much information on the interwebs how many containers you can run per host. So here are mine and the issues we ran into along the way.
The Tragedy of UCS-2
Apropos of nothing, I'd like to tell you a tale. It's not an original tale, but it's one of my favorites.
Killing a process and all of its descendants
Killing processes in a Unix-like system can be trickier than expected. Last week I was debugging an odd issue related to job stopping on Semaphore. More specifically, an issue related to the killing of a running process in a job.
Dark Matter Developers: The Unseen 99% (2012)
In astronomy and cosmology, dark matter is a currently-undetermined type of ...
Would you accept cheaper rent in exchange for a monthly Amazon purchasing quota?
I’m sure many of you either have an Alexa-powered device in your house, or at least have played around with one somewhere. So it won’t be surprising to you that Amazon has been partnering with home…
Typed Properties in PHP 7.4
PHP 7.4 adds typed properties to classes
Secretly Public Domain: Most books published in the US before 1964
This is how Project Gutenberg is able to publish all these science fiction stories from the 50s and 60s . Those stories were published in issues of magazines that didn't send in the renewal form. But up til now this hasn't been a big factor, because 1) the big publishers generally made sure to send in their renewals…
Knuth on Huang's Sensitivity Proof: “I've got the proof down to one page” [pdf]
The Sensitivity Conjecture, which I blogged about here, says that, for every Boolean function f:{0,1}n→{0,1}, the sensitivity of f—that is, the maximum, over all 2n input strings x∈{0,1}n, of…
Google and Mozilla are failing to support browser extension developers
It is a regular occurrence to hear about open source developers selling their browser extensions, only for their users to be exploited later on by the new owners. Purchase offers for browser extensions usually range between $0.1 and $0.3 per user, depending on factors such as the geographical distribution of users…
Facebook Plans on Backdooring WhatsApp?
This article points out that Facebook’s planned content moderation scheme will result in an encryption backdoor into WhatsApp: In Facebook’s vision, the actual end-to-end encryption client itself such as WhatsApp will include embedded content moderation and blacklist filtering algorithms. These algorithms will be…
John Carmack on Parallel Implementations (2018)
ps aux | more
Dwindling CPAN Releases
This couple of months I’ve been casually looking at daily CPAN uploads, because I entered the Once-a-day-releases game. I notice that the uploads are getting scarcer and scarcer. So today I d…