frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Schwung – open up your Ableton Move

https://schwung.dev/
1•Tomte•47s ago•0 comments

Shortcuts Playground: Create Apple Shortcuts with Claude Code/Codex

https://www.macstories.net/stories/introducing-shortcuts-playground/
1•logged4upvoting•2m ago•0 comments

Percent of Grades at Harvard Were A's. Enough Is Enough

https://www.nytimes.com/2026/05/21/opinion/harvard-easy-a-grades.html
1•paulpauper•2m ago•1 comments

AI as a Design Medium

https://www.harvarddesignmagazine.org/articles/ai-as-a-design-medium-rodenbeck/
1•CharlesW•2m ago•0 comments

Secure Boot and Microsoft CA Rollover – a heads-up for distributions

https://blog.einval.com/2026/05/22#secure_boot_ca_rollover
1•speckx•3m ago•0 comments

Social Science at the NSF

https://www.abundanceandgrowth.org/p/social-science-at-the-nsf
1•paulpauper•3m ago•0 comments

Frontier labs don't use most AI compute (yet)

https://epochai.substack.com/p/frontier-labs-dont-use-most-ai-compute
1•gmays•4m ago•0 comments

Meta Released a Reddit-Like App Built Around Facebook Groups

https://firethering.com/meta-forum-reddit-like-app-facebook-groups/
2•steveharing1•4m ago•0 comments

At Tyler Cowen University, No One Would Have Tenure

https://www.bloomberg.com/opinion/articles/2021-07-05/what-would-your-fantasy-university-look-like
1•paulpauper•4m ago•0 comments

Open source Kanban desktop app that runs parallel agents on every card

https://www.kanbots.dev/
2•vitriapp•5m ago•1 comments

Learn Shortest Path with step by step playback

https://algo-rhythm.dev/en/shortest-path/
5•bytego•5m ago•0 comments

Loop Fusion in Array Languages

https://mlochbaum.github.io/BQN/implementation/compile/fusion.html
1•tosh•6m ago•0 comments

Google API keys keep working after you delete them

https://www.aikido.dev/blog/google-api-keys-deletion
1•dsr12•7m ago•0 comments

Microsoft to stop sending SMS codes for personal accounts

https://support.microsoft.com/en-us/accounts-billing/manage/microsoft-to-stop-sending-sms-codes-f...
2•CharlesW•8m ago•1 comments

Coins.stream – Multiplayer Coin Pusher

https://coins.stream/
1•microsoftedging•8m ago•0 comments

Auth.md: an open protocol for agent registration

https://workos.com/auth-md
1•grinich•9m ago•0 comments

Bicycling Boosts Well-Being: A Scoping Review

https://www.frontiersin.org/journals/sports-and-active-living/articles/10.3389/fspor.2026.1807791...
2•gnabgib•11m ago•0 comments

Act News

1•ACTNews•12m ago•1 comments

It's 2026 so where are all the AI NPCs?

https://www.frisson-labs.com/ai-npcs-2026
1•coatol5•14m ago•0 comments

Lenny Rachitsky: Building isn't the bottleneck anymore. Noticing the problem is

https://blog.bruce.bot/lenny-rachitsky/
2•jchor•15m ago•0 comments

Women should be able to open things

https://worldspiritsockpuppet.com/2026/05/04/women-open-things.html
1•erwald•15m ago•0 comments

'Jerry-built' vs. 'Jury-rigged' vs. 'Jerry-rigged'

https://www.merriam-webster.com/grammar/jerry-built-vs-jury-rigged-vs-jerry-rigged-usage-history
1•debo_•17m ago•0 comments

Write good Git commit messages

https://www.echooff.dev/blog/write-good-git-commit-messages
1•speckx•17m ago•0 comments

How much US compute is China renting from the cloud?

https://www.the-substrate.net/p/how-much-us-compute-is-china-renting
1•erwald•19m ago•0 comments

Ask HN: Do people lie about why they hate AI writing on social media?

1•amichail•20m ago•4 comments

Dropover – Mouse Jiggling

https://daringfireball.net/linked/2026/05/15/dropover
1•ctaloi•22m ago•0 comments

The Law of Leaky Abstractions (2002)

https://www.joelonsoftware.com/2002/11/11/the-law-of-leaky-abstractions/
1•tosh•23m ago•0 comments

Show HN: Nativeblocks – Code-push for native Kotlin and Swift apps

https://nativeblocks.io/
1•alirezat775•23m ago•0 comments

The Code's the Thing

https://www.jimgumbley.com/blog/the-codes-the-thing.html
1•LeonigMig•23m ago•0 comments

DriftLens integrates the practice of self-observation

https://driftlens.substack.com/p/grounded-in-monastic-self-observation
1•driftlensOS•23m ago•0 comments
Open in hackernews

Show HN: OpenEvolve – open-source implementation of DeepMind's AlphaEvolve

8•codelion•1y ago
I've built an open-source implementation of Google DeepMind's AlphaEvolve system called OpenEvolve. It's an evolutionary coding agent that uses LLMs to discover and optimize algorithms through iterative evolution.

Try it out: https://github.com/codelion/openevolve

What is this?

OpenEvolve evolves entire codebases (not just single functions) by leveraging an ensemble of LLMs combined with automated evaluation. It follows the evolutionary approach described in the AlphaEvolve paper but is fully open source and configurable.

I built this because I wanted to experiment with evolutionary code generation and see if I could replicate DeepMind's results. The original system successfully improved Google's data centers and found new mathematical algorithms, but no implementation was released.

How it works:

The system has four main components that work together in an evolutionary loop:

1. Program Database: Stores programs and their metrics in a MAP-Elites inspired structure

2. Prompt Sampler: Creates context-rich prompts with past solutions

3. LLM Ensemble: Generates code modifications using multiple models

4. Evaluator Pool: Tests programs and provides feedback metrics

What you can do with it:

- Run existing examples to see evolution in action

- Define your own problems with custom evaluation functions

- Configure LLM backends (works with any OpenAI-compatible API)

- Use multiple LLMs in ensemble for better results

- Optimize algorithms with multiple objectives

Two examples I've replicated from the AlphaEvolve paper:

- Circle Packing: Evolved from simple geometric patterns to sophisticated mathematical optimization, reaching 99.97% of DeepMind's reported results (2.634 vs 2.635 sum of radii for n=26).

- Function Minimization: Transformed a random search into a complete simulated annealing algorithm with cooling schedules and adaptive step sizes.

Technical insights:

- Low latency LLMs are critical for rapid generation cycles

- Best results using Gemini-Flash-2.0-lite + Gemini-Flash-2.0 as the ensemble

- For the circle packing problem, Gemini-Flash-2.0 + Claude-Sonnet-3.7 performed best

- Cerebras AI's API provided the fastest inference speeds

- Two-phase approach (exploration then exploitation) worked best for complex problems

Getting started (takes < 2 minutes)

# Clone and install

git clone https://github.com/codelion/openevolve.git

cd openevolve

pip install -e .

# Run the function minimization example

python openevolve-run.py

examples/function_minimization/initial_program.py \

  examples/function_minimization/evaluator.py \

  --config examples/function_minimization/config.yaml \

  --iterations 50
All you need is Python 3.9+ and an API key for an LLM service. Configuration is done through simple YAML files.

I'll be around to answer questions and discuss!

Comments

codelion•1y ago
I actually managed to replicate the new SOTA for circle packing in unit squares as found in the alphaevole paper - 2.635 for 26 circles in a unit square. Took about 800 iterations to find the best program which itself uses an optimisation phase and running it lead to the optimal packaging in one of its runs.
helsinki•1y ago
How many tokens did it take to generate the 800 versions of the code?
codelion•1y ago
Checked my openrouter stats, it took ~3M tokens but that involved quite a few runs of various experiments.