Work in progress: 181,232 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #16387

M

multigrad

Personal blog · multigrad.blogspot.comprogrammingmath

multigrad is a personal blog at multigrad.blogspot.com about programming and math. Since 2014, 4 different Hacker News readers have linked it 8 times, most often “Evolutionary algorithm to find Quake III's fast inverse square hack with Python”. The last post was in 2014, but the archive is still widely read.

Visit the blog
8mentions?
4HN people?
2014–2022first – last linked?
Links on Hacker News per year · peak 4 in 2014

Too few sampled comments (1) to say how often HN recommends it.?

Why HN links it

HN readers link this blog's post on using genetic algorithms to evolve a fast approximation of square root. The one comment cites it as an example of generating code at run time.

Summarised by Claude from a sample of 1 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.

Most-linked posts?

  1. Evolutionary algorithm to find Quake III's fast inverse square hack with Python
    3 people · 3 mentions · first linked 2014-04-08
  2. Fun with Python bytecode – Generate and modify it using evolutionary algorithms
    2 people · 3 mentions · first linked 2014-06-20

What Hacker News says?

  1. Interesting topic. We did something similar in the past using the bytecode instead of the AST tree to accelerate genetic algorithm evolution: http://multigrad.blogspot.com/2014/07/low-level-frenzy.html http://multigrad.blogspot.com/2014/06/fun-with-python-byteco... I'm curious, what was the original use case for pyast64? Feels like we could apply it to genetic programming fairly straightforwardly.

    Comment linking /2014/06/fun-with-python-bytecode.html

    on “Compiling a subset of Python syntax to x86-64 assembly for fun and zero profit”
  2. Submitted Evolutionary algorithm to find Quake III's fast inverse square hack with Python as a story · 173 points

    HN discussion
  3. I've had this idea before. This guy used genetic algorithms to create a fast approximation of square root ( http://multigrad.blogspot.com/2014/04/math-evolution-and-dir... ). You may be able to use a similar method to generate code at run time and get around patents. You can't patent the output of an algorithm.

    Comment linking /2014/04/math-evolution-and-dirty-tricks.html

    on “Linux for Lettuce”
  4. Submitted Fun with Python bytecode – Generate and modify it using evolutionary algorithms as a story · 81 points

    HN discussion
  5. Submitted Math Evolution And Dirty Tricks (2014) as a story · 2 points

    HN discussion
  6. Submitted Executing x86-64 opcodes in Python – Genetic Programming case study as a story · 2 points

    HN discussion
  7. Submitted Fun with Python bytecode as a story · 1 points

    HN discussion

Search all of HN for multigrad.blogspot.com