Minifying HTML for GPT-4o: Remove all the HTML tags
tl;dr; if you want to pass HTML data to GPT-4o, just strip out all the HTML and pass raw text, it’s cheaper and there is little to no performance degradation. Source code and demo available.
The latest blog posts to take off on Hacker News. 3,433 posts.
tl;dr; if you want to pass HTML data to GPT-4o, just strip out all the HTML and pass raw text, it’s cheaper and there is little to no performance degradation. Source code and demo available.
I have completed an initial new port of systemd to musl. This patch set does not share much in common with the existing OpenEmbedded patchset. I wanted to make a fully updated patch series targetin…
Thistle Tea is my new World of Warcraft private server project. You can log in, create a character, run around, and cast spells to kill mobs, with everything synchronized between players as expected for an MMO. It was floating around in my head to build this for a while, since I have an incurable nostalgia for early…
I am Dan, full stack software engineer.
Folding antennas into different shapes to create near infinite radiation patterns.
Code level discussion of web scraping, gray hat automation, growth hacking and bounty hunting
An introduction to signals: a written version of my talk at RustConf 2023.
Let's create a Git commit using Git's low-level (plumbing) commands
One of the hardest things for people to understand with distributed systems is that eventual consistency is the same thing as eventual inconsistency. The very...
An exploration of the newly supported at-rule for explicitly defining and animating custom properties in CSS.
The best way to both save Intel and have leading edge manufacturing in the U.S. is to split the company, and for the U.S. government to pick up the bill via purchase guarantees.
The difference in security defaults between Debian and Red Hat.
The personal website of JT Archie. Includes a blog, work ethic, and projects they have worked on.
Cosine similarity measures the angle between two vectors — the dot product divided by the product of their magnitudes. Here's what each part of the formula does.
Tim and Neal’s thoughts on the definition of the “Metaverse,” its technological and economic growth, Neal’s reaction on the day Facebook changed its name to Meta, the future of Fortnite , their thoughts on Apple’s Vision Pro, blockchains, and the ethics of Generative AI, plus “Snow Crash 2," a
A short story on why I still go through the effort of self hosting servers and some things it taught me recently.
For a few years now I have been working on the Haskell Language Server (HLS), and the lsp library for the LSP protocol and writing LSP servers. Unsurprisingly, I have developed some opinions about the design of the LSP! Recently I gave a talk about HLS and LSP at the Haskell Ecosystem Workshop at Zurihac 2024. One…
The power of engineering applied to writing
Given the complexity of today's computing hardware, it’s easy to get confused about what is meant by the word “core”.
[Note that this article is a transcript of the video embedded above.] This is the Puente Hills Landfill outside of Los Angeles, California. The first truckload of trash was dumped here in 1957, and the trucks just kept coming. For more than five decades, if you threw something away in LA County, t
In this short video Steve Ballmer talks about a puzzle question he would ask candidates interviewing at Microsoft. Solving it is based on b...
The first argument of a program’s command line, typically reflecting the program’s name/path and often referred to as argv[0], can in most cases be set to an arbitrary value without affecting the process’ flow. Making the case against argv[0], this post demonstrates how it can be used to deceive security analysts…
The cost of solar panels is plummeting, and this will flood the power grid with cheap electricity. But that’s just Act 1. We won’t stop building solar at the limits of the grid - we’ll build a lot more. This post explains why we'll keep building more,
Would you like the design a web API that is reliable and pleasant to use? I have some ideas for you.
The seedy underbelly of gRPC.
A deep dive into spectral analysis of diffusion models of images, revealing how they implicitly perform a form of autoregression in the frequency domain.
I am making steady progress towards moving the Computers Are Bad enterprise cloud to its new home, here in New Mexico. One of the steps in this process is, of course, purchasing a new server... the current Big Iron is getting rather old (probably about a decade!) and here in town I'll have the rack space for more…