Taming floating-point sums
Suppose you have an array of floating-point numbers, and wish to sum them. You might naively think you can simply add them, e.g. in Rust:
The latest blog posts to take off on Hacker News. 5,273 posts.
Suppose you have an array of floating-point numbers, and wish to sum them. You might naively think you can simply add them, e.g. in Rust:
tmux (short for “terminal mux” (short for “multiplexer”)) is i3 for your terminal. Oh, it’s so much more than that, and I recently discovered with some joy that it is installed by default on OpenBSD, but its fundamental value add to any programmer who has to SSH into servers more than once a week is it allows you to…
Or how to find the largest power of 2 that divides x?
I once worked at a company that priced everything with a .95 ending. The bestselling software package was $999.95. Add-on products were $9.95, or $19.95, or $49.95. Everything ended with a .95. It had been this way for more than twenty years. One day, one of the VPs suggested we change all prices to end […]
I apologize if this information is already known, but I couldn’t find any references about it and I wanted to understand what was going on and share with you because I think there is some value doing it. In case this wasn’t known, I apologize to the Go team for not talking to them first and jumping the full disclosure…
Link to: https://www.nytimes.com/2024/05/24/technology/google-ai-overview-search.html
In my off time (and my on time, for that matter) I've been working on this quirky thing I've called Scinamalink (sounds like 'skinamarink'). Scinamalink lets customers send Magic login links to their users with a single REST API call. If you don't know what a magic
I spent 2022 learning to draw and was blindsided by the rise of AI art There is lots to say about this, whether it has been or will be a good thing for artists and society in the long run. I hope to write about it in another post. models like Stable Diffusion. Suddenly, the computer was a better artist than I could…
Ever transferred assets between brokerages? Impressive, terrifying machinations happened in the background. No cats were harmed.
Yesterday, I had a coronectomy: the top halves of my bottom wisdom teeth were surgically removed. It was my first time being sedated, and I didn’t know what to expect. While I was unconscious…
Dissecting and symbol-mapping a camera firmware to get around WiFi hotspot mis-detection
From The World I Live In , by Helen Keller Before my teacher came to me, I did not know that I am. I lived in a world that was a no-world....
Google Cloud shares details of an incident impacting one Australian customer's use of Google Cloud VMware Engine. Learn what happened and how we're preventing it from happening again.
Looking beyond the hype and explaining why microservices should nearly become extinct.
Estimating the effort needed to re-implement the Wi-Fi driver
This is the first of two posts about a renderer I have been developing, focusing on what I've built and how it works. The second post discusses why I've built it and my plans for the future. I've been developing a custom real-time renderer which uses very small voxels to produce a distinctive visual style that…
Last year I thought that we had reached some sort of peak in terms of how far one can go in building useless things by converting a 42U rack into a
A letter from Lewis Carroll to Nature, March 31, 1887: Having hit upon the following method of mentally computing the day of the week for any given date, I send it you in the hope that it may interest some of your readers. I am not a rapid computer myself, and as I find my average time for doing any such question is…
From Mario bouncing off a Goomba to two cars bumping into each other in a racing game, dealing with collisions is such an integral part of most video games that we often take it for granted.
How is tail recursion different from regular recursion? What do continuations have to do with this, what is CPS, and how do trampolines help? This article provides an introduction, with code samples in Python and Clojure.
Two weeks before Russia invaded Ukraine in February 2022, a large, mysterious new Internet hosting firm called Stark Industries Solutions materialized and quickly became the epicenter of massive distributed denial-of-service (DDoS) attacks on government and commercial targets in Ukraine and Europe. An investigation…
When we amplify the "Golden Gate Bridge" feature, Claude's responses focus on the bridge. For a short time, anyone can interact with this model.
Gordon Moore’s famous prediction about computing power must count as one of the most astonishingly accurate forecasts in history. But it may also have been badly misunderstood — in a way that now l…
Researchers from the University of Cambridge have developed a method to produce very low emission concrete at scale – an innovation that could be transformative in the transition to net zero.
Google and many other organizations, such as NIST, IETF, and NSA, believe that migrating to post-quantum cryptography is important due to the large risk posed by a crypt…
PHP currently powers [~75% of the websites](<https://w3techs.com/technologies/details/pl-php>) on the internet. It may not be the “sexy boi” of programm...
Next time you look at a transmission line, I hope you'll focus on the big four properties: characteristic impedance, high-frequency loss, delay, and cros...