frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Incentives Drive Everything

https://yusufaytas.com/incentives-drive-everything/
3•yusufaytas•1m ago•0 comments

Show HN: Local Emulator for Google Cloud Workflows

https://github.com/lemonberrylabs/gcw-emulator
1•rmgn•1m ago•0 comments

A New Share Button

https://blog.joinmastodon.org/2026/03/a-new-share-button/
1•robin_reala•1m ago•0 comments

You Can Meditate in a Coffin in Japan. They'll Even Give You a Cute One

https://www.vice.com/en/article/you-can-meditate-in-a-coffin-in-japan-theyll-even-give-you-a-cute...
1•herbertl•2m ago•0 comments

Ask HN: What are you actually using openclaw for?

1•thisismyswamp•3m ago•0 comments

CLI tool that adds semantic search to any existing Postgres database

https://github.com/varmabudharaju/pgsemantic
1•varmabudharaju•5m ago•1 comments

OpenAI's "compromise" with The Pentagon is what Anthropic feared

https://www.technologyreview.com/2026/03/02/1133850/openais-compromise-with-the-pentagon-is-what-...
1•joozio•5m ago•0 comments

Bitter winter drags on for Kyiv residents as Russia wipes out power

https://www.theguardian.com/world/2026/feb/13/everything-is-frozen-bitter-winter-drags-on-for-kyi...
2•PaulHoule•6m ago•0 comments

Quantifying the Swiss Marriage Tax

https://gendx.dev/blog/2026/03/02/swiss-marriage-tax.html
1•gendx•7m ago•0 comments

Show HN: Minit Games, a feed-first platform for short-form HTML5 games

https://minit.games/
1•oleschaper•7m ago•0 comments

Show HN:Turn any GitHub .MD into a collaborative editor by replace "g" with tune

https://www.get-colibri.com/
1•jannesblobel•8m ago•0 comments

Linux Flies into Space

https://www.windriver.com/blog/Linux-Flies-into-Space
2•CrankyBear•8m ago•0 comments

Show HN: Alpha of a Speech to Text iOS App (Feature Requests Welcome)

https://kaikunze.de/aimemo/
1•kgarten•9m ago•0 comments

OpenPolicy – Policy-as-Code. Finally

https://www.openpolicy.sh/
2•jamie_davenport•10m ago•0 comments

90% of human expertise is not verifiable

https://twitter.com/phoebeyao/status/2027117627278254176
1•gmays•10m ago•0 comments

Poland Plans Social Media Ban for Kids in Challenge to US Tech

https://www.bloomberg.com/news/articles/2026-02-27/poland-plans-social-media-ban-for-kids-in-chal...
3•danielam•11m ago•0 comments

I code more from my phone than my Mac now

https://macky.dev/#architecture
1•eureka_boy•12m ago•1 comments

Show HN: Tensor Spy: inspect NumPy and PyTorch tensors in the browser, no upload

https://tensorspy.com/
1•jacobn•13m ago•0 comments

Four questions agents can't answer

https://blog.marcua.net/2026/02/25/four-questions-agents-cant-answer.html
2•abnercoimbre•15m ago•0 comments

Show HN: I built a free alternative to Gravit Designer after it shut down

https://studio.wladradchenko.ru
1•wladradchenko•16m ago•0 comments

Making large Postgres migrations practical

https://clickhouse.com/blog/practical-postgres-migrations-at-scale-peerdb
1•__s•16m ago•0 comments

Show HN: Product Model – A structured grammar for bridging PRDs and code

https://github.com/pmTouchedTheCode/product-model
1•jace_yoo•18m ago•0 comments

Google tests new Learning Hub powered by goal-based actions

https://www.testingcatalog.com/google-tests-new-learning-hub-powered-by-goal-based-actions/
1•gmays•19m ago•0 comments

The Vanishing Giants [Coaling Towers] of America's Steam Age

https://thereader.mitpress.mit.edu/the-vanishing-giants-of-americas-steam-age/
2•samizdis•19m ago•0 comments

The Vegetarian Offset

https://hydroindulgence.com/s
1•Dithilli•19m ago•1 comments

Show HN: Grabchars 2.0 – get keystrokes direct, first update in 36 years

https://github.com/DanielSmith/grabchars
2•buckydigital•20m ago•1 comments

History Rhymes: Large Language Models Off to a Bad Start?

https://michaeljburry.substack.com/p/history-rhymes-large-language-models
1•next_xibalba•21m ago•0 comments

GitHub – Maderix/ANE: Training Neural Networks on Apple Neural Engine

https://github.com/maderix/ANE
2•bilsbie•22m ago•0 comments

Show HN: Engram – Give your terminal an eidetic memory with local AI

https://github.com/TLJQ/engram
2•tljq•22m ago•0 comments

Malus: Clean room engineering of any open-source dependency

https://malus.sh/blog.html
2•ahub•23m ago•1 comments
Open in hackernews

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

8•codelion•9mo 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•9mo 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•9mo ago
How many tokens did it take to generate the 800 versions of the code?
codelion•9mo ago
Checked my openrouter stats, it took ~3M tokens but that involved quite a few runs of various experiments.