Automating heating with Home Assistant
I’ve been on a mission to use Home Assistant to optimize my home heating, with the dual goals of reducing gas usage and increasing comfort. It’s worked out…
The latest blog posts to take off on Hacker News. 49,216 posts.
I’ve been on a mission to use Home Assistant to optimize my home heating, with the dual goals of reducing gas usage and increasing comfort. It’s worked out…
In this post, I am going to talk about the N + 1 queries problem. While trying to solve this problem myself recently, I noticed most of the blog posts only talk about the very simple version of the problem and the proposed solutions would break down when the use cases get complex. I will try to get into more depth and…
(First, Some Background)
Via this comment on Hacker News I started exploring the ClickHouse Playground . It's really cool, and among other things it allows CORS-enabled API hits that can query a decade of history from the GitHub events archive in less than a second.
A teacher friend of mine told me that this year students were different. If she asked to see a hall pass from a freshman, they'd give her the finger. They swore at her and were gen...
A rant about "year of Linux on the desktop" from a tired old man. I've been part of the Linux community since before Linux was called Linux. Over the years there's been many people telling me directly that Linux is silly or wrong or imperfect, or that free and open source software is foolish or pointless. A lot more…
An allegory against complacency about aging and death.
Throwing the whole world into a single room together doesn't work.
Binary search is a workhorse of competitive programming. There are occasional easy problems where binary search is the solution in and of itself; more often, it’s used as a primitive building block…
How PC hardware is implementing USB-C in a way that may or may not violate standards.
By good luck we have been able to make an emergency landing on this uninhabited space station. There have been no casualties. We all count ourselves fortunate to have found safe haven at a moment when the expedition was clearly set on disaster.
Motivation by itself gives us the willingness to do something, but nothing more. Once we make a start, the game changes and it becomes about knowing how to make progress.
An alternate to traditional <code>deleted_at</code> soft deletion that stays out of the way and minimizes bugs.
If your household uses Xfinity for cable, you have almost definitely heard of Xfinity Stream at some point. If you haven’t, Xfinity Stream is a service that allows you to access Xfinity’s on-demand TV over the internet. This can be useful if you want to watch something on Xfinity’s on-demand TV but do not want to go…
How far can I get in Advent of Code if I do all the problems in Dreams?
For the past few years, we have seen a lot of discussions around the concept of the Software Supply Chain. These discussions started around the time of LeftPad and escalated with multiple incidents in the past few years. The problem of all the work in this domain is that it forgets a fundamental point.
Using modern brute force approach to improve image quality on retro computers, by Arnaud Carré
It seems that Mac OS keeps regressing instead of improving…
Casual introduction to the uncertainty principle from quantum mechanics and how it leads to neutron stars and superfluids
For the longest time I had seen this framed image entitled “The First TV Image of Mars” in an out of the way place at JPL. I loved taking people there showing them this low res image and how it had been made by coloring numbers that were stapled to a wall. When I got to curate an exhibition about data and art, I had…
...I learned a lot from that period, but one of the things I learned that I did not expect was what I now call my '5% rule.' No matter how kind, warm, thoughtful, amazing, cheerful, consistent, and perfect I treated people roughly 5% of them would just be terrible (yes, I have the numbers to back this)...
Transforming a SVG path into a rope drawing turned out to be a surprisingly fun problem to solve. I'll walk you through the process and show you a few tricks that made it work.
Benchmarking Rust to determine if small structs should be passed by-copy or by-value.
Defeating Windows Defender detection on Windows 10 by creating a large (>2MB) payload allocated on the stack
A preview of `pavex`, an upcoming Rust web framework built around compile-dependency injection. An attempt to combine great development ergonomics with high runtime performance.
You can get OpenBSD Mastery: Filesystems for Kindle direct from me at Tilted Windmill Press or at Gumroad . You can get a Kindle-friendly ebook from any number of other retailers, but while they’re all supposed to be DRM-free I can’t advise on prying the file out of another vendor’s ecosystem. The one place you cannot…
In November last year — I started building a DIY security alarm system, using a Raspberry Pi as the controller. My plan was to make a self-sustained system, using proper alarm hardware — like PIR sensors and sirens. Integration with Home Assistant would be an add-on, not a requirement. I wanted the system to be as…
Our system is set up to create mutual antagonism between members of the working class. Meanwhile, faceless corporate executives remain shielded like mob bosses.
One way that first principles thinking fails is when you build your analysis up from a deficient set of base principles. Everything is correct and true, but you still end up mistaken. Here's how that looks like in practice.
~250 fetishes, graphed for your pleasure