HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
Jason2Brownlee
CleverAlgorithms
TeX2011–2024
Jason2Brownlee / CleverAlgorithms

CleverAlgorithms

Clever Algorithms: Nature-Inspired Programming Recipes

8Distinct people
12Mentions
0Explicit recommenders
2.1KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Clever Algorithms: Nature-Inspired Programming Recipes

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:03:16 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year12 dated mentions

Observed mentions: 2011-01-11 14:27:44 UTC to 2024-05-12 06:15:04 UTC.

012342011-01-01 00:00:00 UTC to 2012-01-01 00:00:00 UTC (exclusive): 4 mentions; 1 submissions, 3 comments20112012-01-01 00:00:00 UTC to 2013-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2013-01-01 00:00:00 UTC to 2014-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2014-01-01 00:00:00 UTC to 2015-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2015-01-01 00:00:00 UTC to 2016-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments20172018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20112011-01-01 00:00:00 UTC2012-01-01 00:00:00 UTC413
20122012-01-01 00:00:00 UTC2013-01-01 00:00:00 UTC000
20132013-01-01 00:00:00 UTC2014-01-01 00:00:00 UTC101
20142014-01-01 00:00:00 UTC2015-01-01 00:00:00 UTC101
20152015-01-01 00:00:00 UTC2016-01-01 00:00:00 UTC110
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC000
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC000
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC000
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC000
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC000
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC101
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC211
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC110
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC101

What Hacker News says

12 sources
You might like these- - Matrix Arcade (https://yizhe-ang.github.io/matrix-explorable//) - Computational Discovery on Jupyter (https://computational-discovery-on-jupyter.github.io/Computa...) - Nature Inspired Programming Recipes (https://github.com/clever-algorithms/CleverAlgorithms) - A Little Calculus (https://papl.cs.brown.edu/2018/func-as-data.html#%28part._.A...) - The Matrix in Computer Science (https://cs.brown.edu/courses/cs053/current/lectures.htm) - Discrete Mathematics and Functional Programming (https://cs.wheaton.edu/~tvandrun/dmfp/) - A Programmer's Introduction to Mathematics (https://pimbook.org/) - Complexity Explorer (https://www.complexityexplorer.org/) - Learn Physics with Functional Programming (https://nostarch.com/learn-physics-functional-programming) - Seeing Theory (https://seeing-theory.brown.edu/) - Coding The M
Read the rest
In Immersive Linear Algebra (2015)
There's a lot of them. Here's one interesting book that catalogs many, with implementations. https://github.com/clever-algorithms/CleverAlgorithms Also, not sure if they're in this book or not, going from memory (I haven't looked at it in a while) but a few other things that might be relevant here, that I haven't seen mentioned yet: https://en.wikipedia.org/wiki/Flocking_(behavior) -- simulations of animal flocking behavior have found some applications https://en.wikipedia.org/wiki/Artificial_life - ALife in general may be thought of as slightly "nature inspired", or at least certain approaches to it https://en.wikipedia.org/wiki/Boids - Boids specifically is an ALife approach that heavily uses Flocking The OP might also find something of interest in "chemical computing" and/or "DNA computing". https://en.wikipedia.org/wiki/Chemical_compu
Read the rest
In Ask HN: Which algorithms based on biological ideas do you know?
Maybe Clever Algorithms: Nature-Inspired Programming Recipes[1]. These techniques might not be useful to everybody, all the time, but they can be very handy in places. Edit: A couple of other suggestions. Managing Gigabytes: Compressing and Indexing Documents and Images[2] Mining of Massive Datasets[3] Algorithm Design Manual[4] Network Algorithmics[5] Neural Network Design[6] I think all of these fall into the category of "Won't be applicable to everyone, but can be good for those who need this kind of stuff." [1]: https://github.com/clever-algorithms/CleverAlgorithms [2]: https://people.eng.unimelb.edu.au/ammoffat/mg/ [3]: http://www.mmds.org/ [4]: https://www.amazon.com/Algorithm-Design-Manual-Steven-Skiena... [5]: https://www.amazon.com/Network-Algorithmics-Interdisciplinar... [6]: https://hagan.okstate.edu/NNDesign.pdf
In Ask HN: Most interesting, mildly impractical, well-written books on software?
I have a little skype group where we discuss AI. If you are interested you can add me on skype: Switch336 As for learning AI it is best to learn it in the language that you are strongest in or a language that is easy to understand the semantics from it. For that matter Lua, Ruby, and Python are fairly commonplace for people trying to learn how to use AI. But AI algorithms can be written in any language really. I'd suggest books with common examples of AI; like https://github.com/jbrownlee/CleverAlgorithms. He uses ruby for most of their examples but they are fairly understandable. If you cannot get the books you want. You may be better off checking out the source codes at least. There are tons of free online books if you do some more searching. And you can even read some online ipython notebooks or blog posts about AI that may be more hel
Read the rest
pful. Anyways, the more the merrier for discussions. So feel free to join our group. Just give me a message and I'll add you :D.
In Tips for a young dreamer and developer [Help]
I am no longer an academic. I had a go at the startup thing and am now a PhD surviving in industry :) The book has been released (today!) as a paperback, free PDF and free online. You may also fork the content on github if your keen: https://github.com/jbrownlee/CleverAlgorithms I'm happy to answer any questions. Some guff from the back cover of the book: Implementing an Artificial Intelligence algorithm is difficult. Algorithm descriptions may be incomplete, inconsistent, and distributed across a number of papers, chapters and even websites. This can result in varied interpretations of algorithms, undue attrition of algorithms, and ultimately bad science. This book is an effort to address these issues by providing a handbook of algorithmic recipes drawn from the fields of Metaheuristics, Biologically Inspired Computation and Computationa
Read the rest
l Intelligence, described in a complete, consistent, and centralized manner. These standardized descriptions were carefully designed to be accessible, usable, and understandable. Most of the algorithms described were originally inspired by biological and natural systems, such as the adaptive capabilities of genetic evolution and the acquired immune system, and the foraging behaviors of birds, bees, ants and bacteria. An encyclopedic algorithm reference, this book is intended for research scientists, engineers, students, and interested amateurs. Each algorithm description provides a working code example in the Ruby Programming Language. Source code and additional resources can be downloaded from the books companion website online at http://www.CleverAlgorithms.com
In Clever Algorithms: Nature-Inspired Programming Recipes
I just pressed "publish" on this book only hours ago. I'm happy to answer any questions. From the back cover: Implementing an Artificial Intelligence algorithm is difficult. Algorithm descriptions may be incomplete, inconsistent, and distributed across a number of papers, chapters and even websites. This can result in varied interpretations of algorithms, undue attrition of algorithms, and ultimately bad science. This book is an effort to address these issues by providing a handbook of algorithmic recipes drawn from the fields of Metaheuristics, Biologically Inspired Computation and Computational Intelligence, described in a complete, consistent, and centralized manner. These standardized descriptions were carefully designed to be accessible, usable, and understandable. Most of the algorithms described were originally inspired by biologic
Read the rest
al and natural systems, such as the adaptive capabilities of genetic evolution and the acquired immune system, and the foraging behaviors of birds, bees, ants and bacteria. An encyclopedic algorithm reference, this book is intended for research scientists, engineers, students, and interested amateurs. Each algorithm description provides a working code example in the Ruby Programming Language. Source code and additional resources can be downloaded from the books companion website online at http://www.CleverAlgorithms.com EDIT: Forgot to mention the book is in paperback, free PDF, and free online as a webpage. You can also fork the content on github at https://github.com/jbrownlee/CleverAlgorithms
In Clever Algorithms, Nature-Inspired Programming Recipes in Ruby

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.