Fernando Castanon retweeted
SQL cheat sheet - Every JOIN explained 📘📚
Save it for later ✅
#sql
Fernando Castanon retweeted
the sieve of Eratosthenes can find every prime up to about 8 million using just 1MB of memory
one bit represents one number and composite numbers are marked using simple bit operations
the same technique is still used in prime generators and for choosing efficient hash table sizes
Fernando Castanon retweeted
10 Key Data Structures We Use Every Day
- list: keep your Twitter feeds
- stack: support undo/redo of the word editor
- queue: keep printer jobs, or send user actions in-game
- hash table: cashing systems
- Array: math operations
- heap: task scheduling
- tree: keep the HTML document, or for AI decision
- suffix tree: for searching string in a document
- graph: for tracking friendship, or path finding
- r-tree: for finding the nearest neighbor
- vertex buffer: for sending data to GPU for rendering
Over to you: Which additional data structures have we overlooked?
--
Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/3KCnWXq
Fernando Castanon retweeted
🚀 The wonders of Mars, captured like never before! 🔴
NASA’s Perseverance rover brings us breathtaking views of the Red Planet. Every frame reveals another piece of Mars’ mysterious world. 🌌
The journey of discovery continues! 🛰️
Fernando Castanon retweeted
This is the closest shot of Jupiter that is recently captured by NASA’s team
Fernando Castanon retweeted
the neural bees under the hood: a 50M queen (8 layers, d640, TinyStories-pretrained) and workers that are copies of one 3M model (4 layers, d128)
they never read anothers outputs. two gated cross-attention links connect their residual streams, both ways
Day 4 of #66DaysOfData
Today I learned:
Artificial Intelligence
I explored the N-Queen Problem, where the goal is to place n queens on an n × n chessboard so that none can attack each other. Unlike the sliding tile puzzle, the objective is not to find a path to a solution, but to find one or more valid board configurations. This showed me how AI can represent a problem as a state space and systematically explore possible solutions.




















