Exact binary vector search for RAG in 100 lines of Julia
Thanks for HN users mik1998 and borodi who brought up the popcnt instruction and the count_ones function in Julia which carries this out, I've updated the timings and it's even faster now.
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,247 posts.
Thanks for HN users mik1998 and borodi who brought up the popcnt instruction and the count_ones function in Julia which carries this out, I've updated the timings and it's even faster now.
Last summer I began reverse engineering Animal Crossing for the GameCube to explore the possibility of creating mods for the game. I also wanted to document the process to create tutorials for people interested in ROM hacking and reverse engineering. In this post I explore the developer debugging features that are…
I blog about random things security, everything is broken, nothing scales, shared memory models are flawed.
While I've blogged before about Palantir Technologies (e.g., Beware the Spectacular B-Round Valuation), this will probably be my last post about them because, since leaving MarkLogic, I am no longer terribly involved in the Intelligence Community space nor engaged against them as an indirect competitor. I initially
This colorful series walks you through the networking basics in just a few thousand words! It also offers hands-on labs to practice the obtained knowledge.
Whether you want to look at what your code is doing ‘under-the-hood’ or you’re trying to see what the ‘internals’ of the CLR look like, there is a whole range of tools that can help you out.
An occasional blog about OpenPGP keyservers and related issues
How does the Linux kernel represent processes and their state: A breakdown of task_struct and mm_struct
Why I have stopped working with IPFS and the distributed web
Image SourceThe United States could bounce back from the fall of Taiwan to Communist rule. It would have far more dire consequences for Japan. Consider this post a short, informal primer on why thi…
Object-oriented programming is out of fashion now, and it has been for a while. Rarely are new programming languages intentionally object-oriented. And there are good reasons for this: OO often requir…
This is the tale of what for me was a rather remarkable adventure. It was assembled on the basis of my personal recollection and experience, emails, GPS logs and some official documents. It represents solely the perspective and opinions of myself, in my more lucid moments. It is in no way intended to represent th
I have two children, 7 and 9, and they have friends who have phones. I've read 'digital vegan' and I'm convinced social media has a net negative effect (even if you disregard the terrible effect of being monitored). So they are starting to ask for a phone, and while we won't give it to them anytime soon, they are at…
I implemented search and filtering for entities on our product at epilot. The users were heavily using the feature, however, a unique issue surfaced: difficulties in filtering file names containing diacritical marks like umlauts (Äpfel, über, schön, etc.).
Sony would like you to know that any reasonable gamer would know that purchasing a game is just licensing a game (Video Games Chronicle), not owning it. And there is truth mixed in with a bold-face…
Some programming languages like Java or Scala offer more than one way to express a concept of “lack of value”. Traditionally, a special null value is used to...
Interactive post about the frequency of bank failures over time
What statistics can teach us about observing 3 deaths at Burning Man in 2026.
Last week, Apple quietly unveiled one of the more remarkable pieces of technology that has been developed in the past few years. AssistiveTouch allows one to control an Apple Watch without actually touching the device. Instead, a series of hand and finger gestures can be used to control everything f
I used to think that I didn’t need comments if I wrote self-documenting code. However, I have realized that I do write comments, and that I find them really useful. To see how many comments I…
“Preface to the highest stakes negotiations in history.”
Just stop, y’all. It’s a waste of your time and your effort. Put down your Google search for an email regular expression, take a step back, and breathe.
Little languages; what they are, why they matter and how they will shape the future of programming.
For decades, my parents have been working up to Flat-Earther beliefs. From Egyptology to Jehovah's Witnesses to theories that human built the Moon billions of years in the future. Surprisingly, it doesn't affect their successful lives very much. For me, it's a fun family pastime.
I've been floating ways to simplify the memory management story in Rust around the core team lately. Memory management is a contentious topic, since we've worked hard to get to the current state of things, and with the push toward stability lately, there is a (quite reasonable!) resistance to any changes at this…