The Curious Engineer

All blogs / AI / ML

Lior Sinai

liorsinai.github.io

Musings on mathematics, coding and physics.

AI / MLMathAlgorithms / data structuresOther languages

Posts
44 from 26 Jun 2020 to 21 Jun 2026
Posting
now and then (1 in the last year)
Kind
personal blog
Feed
https://liorsinai.github.io/feed.xml

2026 1

  1. Names in the USA (1880-2025)

2025 2

  1. DeepSeek’s Multi-Head Latent Attention
  2. Notes on the Martinez-Rueda Polygon Clipping algorithm

2024 8

  1. MicroGrad.jl: Part 5 MLP
  2. MicroGrad.jl: Part 4 Extensions
  3. MicroGrad.jl: Part 3 Automation with IRTools
  4. MicroGrad.jl: Part 2 Automation with expressions
  5. MicroGrad.jl: Part 1 ChainRules
  6. Covering all birthdays
  7. Generative transformer from first principles in Julia
  8. Radix Tree in Julia

2023 5

  1. The Weiler-Atherton polygon clipping algorithm
  2. Implementing the GZip-kNN Classification paper
  3. How (not) to compare 2D scatter plots
  4. Dobble probabilities
  5. Guided denoising diffusion

2022 4

  1. Image generation with MNIST
  2. Denoising diffusion probabilistic models from first principles
  3. Transformers from first principles in Julia
  4. Backpropagation through a layer norm

2021 16

  1. Quaternions: Part 4
  2. Quaternions: Part 3
  3. Quaternions: Part 2
  4. Quaternions: Part 1
  5. Pinging the world from South Africa
  6. Sudoku OCR reader in Julia: part 1
  7. Sudoku OCR reader in Julia: part 2
  8. Sudoku OCR reader in Julia: part 3
  9. Sudoku OCR reader in Julia: part 4
  10. Sudoku OCR reader in Julia: part 5
  11. The Birthday Problem: Advanced
  12. Integer partitions
  13. Intuitive explanations for non-intuitive problems: the Birthday Problem
  14. Intuitive explanations for non-intuitive problems: the Monty Hall problem
  15. A private blockchain for files: part 2
  16. A private blockchain for files: part 1

2020 8

  1. Thoughts on Julia after 2 weeks
  2. Random forest classifier from scratch in Julia
  3. LRU cache in C++
  4. Regex matching with nonograms and finite state machines
  5. Random forest classifier from scratch in Python
  6. 100 years to solve an integral
  7. Sudoku Solver in Python
  8. Scramble Puzzle Solver in Python