Recent Performance Improvements in Function Calls in CPython
How costly it is to call functions and builtins in your python code? Does inlining help? How have the recent CPython releases improved performance in these areas?
The latest blog posts to take off on Hacker News. 3,433 posts.
How costly it is to call functions and builtins in your python code? Does inlining help? How have the recent CPython releases improved performance in these areas?
The long, seemingly inevitable decline of an icon
I recently had solar panels and a battery storage system from GivEnergy installed at my house. A major selling point for me was that they have a local network API which can be used to monitor and…
South Island, New Zealand, a.k.a. Middle-Earth If you were to...
When do music stars achieve fame, and how long does fame typically last?
It's better to do it yourself.
Dmitry.GR: Everything you ever dreamed the RP2040 would be is here - fall in love with the RP2350
Cutting out the news has been one of the best lifestyle decisions I've made in recent years, second only to cutting out social media (though the two are not mutually exclusive). Reducing my intake of what is essentially junk information has significantly reduced anxiety and worry in my day to day life, and has freed…
After the atomic bombings of Hiroshima and Nagasaki, the US Army Air Force had plans to drop a third bomb on August 19, 1945—with more to come if necessary. Fat Man bomb casing at the USAF Museum
When you launch an app, macOS connects to Apple's OCSP service to check whether the app's Developer ID code signing certificate has been revoked by Apple. In November 2020, Apple's OCSP service experienced a mass outage , preventing Mac users worldwide from launching apps. In response and remedy to this outage, Apple…
I've been thinking a lot about personal data lately: where it's stored, how to extract it, and what to do with it. Here's where I landed.
Tony Hawk's Pro Strcpy: A game save and RCE exploit for the Tony Hawk game series that can be used to hack Xbox, Playstation 2, Gamecube, and Xbox 360 consoles.
This article was supposed to be published all at once on July 30'th. But because of the staggered launch delay into August 8 and 15, some sections of this article were redacted until August 14th.
Well-run payment systems are developed by engineers who understand what is the best use of their time: to catch unknown unknowns, and to do it fast.
My experience with moving from Mac to Linux for professional UX and UI design work and how to make the switch yourself.
Initial experiences with the MNT Pocket Reform, primarily the hardware (and tinkering!)
[Note that this article is a transcript of the video embedded above.] In February of 2017, one of the largest spillways in the world, the one at Oroville Dam in northern California, was severely damaged during releases from heavy rain. You might remember this. I made a video about it, and then ano
“How to let go: one life ends while another begins. I’m seven months pregnant with our daughter as Jake’s life comes to a close. How do I walk into an uncertain future without him…
Back in Dec 2022, when inflation was running high, I built a website for tracking price changes in the three largest supermarkets of my home country, Greece.
Exploring different ways to make sense of OpenStreetMap data.
Peter Jennings early history of VisiCalc
We build complex mathematical formulas bottom-up using pure lambda calculus. Includes instructions of how to translate Taylor series and other approximations to lambda terms.
Narrowband trichromatic (RGB) light sources are superior to broadband (white) light for scanning color negative film; there are very good reasons why all commercial film scanners use RGB. ( film scanners were using blue LEDs at least a decade before they would be widely used in consumer products! ) Scanning film with…
This is by my brother, Sam. I arrived to Arizona late Saturday, after learning that my brother has only a few days left before cancer ends him. Jake’s wife, Bess, confessed that she had neither the…
rqlite is a lightweight, open-source, distributed relational database written in Go. It is built on the Raft consensus protocol and uses SQLite as its storage engine. Development of 9.0 has begun and aims to reduce disk usage by approximately 50%. This goal will be achieved through a high-level design overhaul…
The context is smarter than you.
I’ve been using the Asus ROG Zephyrus G15 as my daily driver for a few years now. Laptops (gaming laptops especially) pack a lot of heat-generating components in a small and thin space, where the only airflow comes from the small blower fans in the system. In the case of the Zephyrus G15, there’s approximately 120…
Using `mdb` and `pmap` to find the cause of a crash.
Over the course of working on PSRayTracing (PSRT), I've been trying to find all sorts of tricks and techniques to squeeze out more performance from this C++ project. Most of it tends to be alternative algorithms, code rewriting, and adjusting data structures. I thought sprinkling the final keyword like an all purpose…