How to build a search engine with Ruby on Rails
Implementing search in your Rails app can be vexing. Here's a great pattern to use that combines the best parts of ActiveRecord and Postgres.
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 21,828 posts.
Implementing search in your Rails app can be vexing. Here's a great pattern to use that combines the best parts of ActiveRecord and Postgres.
Happy 3rd birthday, Go!
Small steps towards running my favorite demo again.
Build a Container Image from Scratch — Danish Prakash
Introducing Elena, a simple, tiny library for building Progressive Web Components.
AI helping pharmaceutical researchers query decades of information buried in PDF reports
Using the power of randomness to answer scientific questions.
Stay up to date with events, learning resources, and recent developments in Rust and WebAssembly community.
Why do we need to talk about robust JavaScript and how do we achieve it?
I like to learn at least one new programming language every year - it’s mostly for fun - they are rarely useful for projects that I actually have to ship . This year, I’ve decided to look at Zig. After skimming through the official documentation and finishing the ray tracing in one weekend exercise, I realize that Zig…
Two new language frontends have been added to GCC : Modula-2 and Rust . I think this is great news on both accounts: having a Wirth language in GCC fills my childhood heart with joy (though I do wish GNU Pascal can one day be revived and mainlined, as Pascal was the first non- BASIC language I learned). And Rust…
Or why robots are playing DOOM now
MailCrab is an email test server for development, written entirely in Rust.
What is rate limiting? Navigate through the pros and cons of the available algorithms and best practices for how to design scalable rate limiting in Kong API.
For quite some time now I’ve been trying to learn about distributed systems, and it’s appropriate to say that once you start digging, there seems to be no end to it, the rabbit hole goes on and on. The literature in distributed systems is quite extensive, with lots of papers coming from different universities, plus…
A friend introduced me to the game 24 , a simple game you can play with a deck of playing cards. Over the course of playing the game, I realized that either my friend was really good at this game, or that I wasn't!
Raytracing is a relatively simple way to render images of 3D objects. The core is an elegant idea, that one can simulate the real-world behavior of photons of light bouncing off of surfaces and colors accumulating from their paths. It’s not inherently fast, but the simplicity of the core lets it model interesting…
How to infer character encodings with statistics
If the short answer leaves you wanting, keep reading. I must admit that this sentence from the Hare announcement may have caused some confusion:
Nearly every line of code I write for fun is in Rust. It's not because I need great performance, though that's a nice benefit. I write a lot of Rust because it's a joy to write code in. There is so much else to love about Rust beyond going fast without segfaults.
You're probably reading this page because you've attempted to access some part of my blog (Wandering Thoughts) or CSpace , the wiki thing it's part of. Unfortunately you're using a browser version that my anti-crawler precautions consider suspicious, most often because it's too old (most often this applies to versions…
stlab hosts modern, modular C++ algorithms and data structures.
Many people are currently assessing React Native as a platform to develop their next mobile app on. This is no trivial matter. Switching your software development platform involves a high setup cost and will profoundly impact your daily programming workflow. It is also one of the costliest decisions to reverse after…
In order to get the most performant site possible when building the codebase for our public Stack Overflow site, we didn’t always follow best practices.