Rust lifetimes: Getting away with things that would be reckless in C++
Random code snippets, projects and musings about software from Eric Kidd, a developer and occasional entrepreneur.
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 21,825 posts.
Random code snippets, projects and musings about software from Eric Kidd, a developer and occasional entrepreneur.
A talk by Dave Gauer , 2023. Made with minslides , which I made for this talk . Use the J and K keys to go forward and backward. You can also just scroll down like a regular web page. Toggle notes/annotations with the N key.
I always felt a little bad for the ghosts in Pac-Man. They patrol the maze, they corner the guy, and then he eats a glowing pellet and suddenly they're the ones running for their lives. So I built a small game where you finally get to play the other side.
Building a minimal VisiCalc clone from scratch in C to understand how spreadsheets work.
I love raytracers; in fact I’ve written half a book about them. Probably less known is my love for the ZX Spectrum , the 1982 home computer I grew up with, and which started my interest in graphics and programming. This machine is so ridiculously underpowered for today’s standards (and even for 1980s standards), the…
Dive into the world of AI engineering with this exploration of Deep Research in report generation. Learn how LLM-as-a-judge systems, machine learning, and ev...
An accelerated FAST feature detector for the ESP32-S3 leveraging 128-bit SIMD instructions, achieving ~2x the performance of the reference implementation.
How does printf work behind the scenes
Disclaimers before we start For those who don’t want to read/don’t care that much, here are the results. I hope after seeing them you are compelled to read. TL;DR: I wrote a super fast phrase search algorithm using AVX-512 and achieved wins up to 1600x the performance of Meilisearch. The source code can be found here…
I always liked to see and touch the cover artwork of the CDs and LPs I bought in the past, but in the end the convenience of digital streaming won me over and I accepted no (or stamp-sized) artwork. Lately I’ve been missing this more and more and ultimately decided to try to do something about it. So I built a…
How I use DeepWiki to speed up real coding work
This article explores the design decisions of typing lists and tuples in Elixir within a sound gradual type system.
It should have good performance and be able to hold many entries. Reads are more common than writes. I know how I would do it already, but I’m curious about your approach.
I really like QR codes. Recently I purchased a new sticky-note-like pad from a new local stationery store in Minneapolis. The sheets have a 10x10 grid and 2x10 grid. I knew what I wanted to...
In early September I gave a keynote at Kiwi PyCon in New Zealand on effective learning for programmers. There were two pieces to the talk: one about …
wingolog: article: generators in firefox now twenty-two times faster
CakhiaTV trực tiếp bóng đá tất cả giải đấu Full HD, miễn phí, không lag. Cà Khịa TV nhật lịch thi đấu, kết quả, link xem bóng đá hôm nay nhanh nhất.
The max-flow problem, which is ubiquitous in network analysis, scheduling, and logistics, can now be solved more efficiently than ever.
Sometimes I just want to put pixels on a screen. I don’t want to think about SDL this or OpenGL that—I just want to draw my pixel buffer and be done.
I began with inanimate objects living in a world of forces, and I gave them desires, autonomy, and the ability to take action according to a system of
Ever since version 1.1, Opus has been able to automatically detect whether its input is speech or music, and choose the optimal encoding mode accordingly. The original speech/music detector was based on a simple (non-recurrent) neural network, followed by an HMM-based layer to combine the neural network results over…
Posted by Heng-Tze Cheng, Senior Software Engineer, Google ResearchThe human brain is a sophisticated learning machine, forming rules by memorizing...
Disclaimer: prepare for hair-splitting and nitpicking
The bottleneck has shifted from implementation to specification.
js;dr = JavaScript required; Didn’t Read. Pages that are empty without JS: dead to history (archive-org), unreliable for search results (despite any search engine claims of JS support, check it yourself), and thus ignorable. No need to waste time reading or responding. Also known as, if it’s not curlable, it’s not on…
Let us say that I ask you to find the number I am thinking about between -1000 and 1000, by repeatedly guessing a number. With each guess, I tell you whether your guess is correct, smaller or larger than my number. A binary search algorithm tries to find a value in an interval by repeating … Continue reading Fast…