frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

IBM and the University of Chicago Demonstrate Quantum Advantage

https://newsroom.ibm.com/2026-07-30-ibm-and-the-university-of-chicago-demonstrate-quantum-advanta...
1•riversflow•2m ago•0 comments

Story of Roomy

https://story.roomy.space
1•jdsane•10m ago•0 comments

What if SELECT, FROM, WHERE were functions?

https://remy.wang/blog/prela.html
1•remywang•11m ago•0 comments

Show HN: Do-over, undo for AI agent shell commands

https://github.com/CaydenChik/doover
1•Cayden27•15m ago•1 comments

Flock Has a Powerful New AI Tool for Police. We Got Its Code

https://www.wired.com/story/flock-safety-os-investigate/
3•divbzero•18m ago•0 comments

AI is changing how we code. Is this positive?

1•simondukr•21m ago•1 comments

Contract for difference

https://en.wikipedia.org/wiki/Contract_for_difference
1•petethomas•21m ago•0 comments

Ask HN: When will the AI bubble burst and eradicate all life in the planet?

2•roschdal•21m ago•1 comments

Keycloak unauthenticated account takeover via reset-credentials flow bypass

https://github.com/keycloak/keycloak/issues/51833
1•4mnt•21m ago•0 comments

AI Is Changing How We Hac

1•simondukr•22m ago•0 comments

Agarwood

https://en.wikipedia.org/wiki/Agarwood
2•teleforce•24m ago•0 comments

PgDog is 2x faster than RDS Proxy

https://pgdog.dev/blog/pgdog-vs-rds-proxy
1•levkk•30m ago•0 comments

Vibe Coder – A Parody of Downfall

https://twitter.com/amitranjan/status/2090011590150287837
2•vismit2000•33m ago•0 comments

Ways to Smuggle SQLite into Nix

https://fzakaria.com/2026/08/19/three-ways-to-smuggle-sqlite-into-nix
1•ingve•35m ago•0 comments

NASA's Attempt to Save the Swift Telescope Has Failed

https://www.nytimes.com/2026/08/19/science/nasa-swift-telescope-failed-rescue.html
3•greenburger•35m ago•0 comments

Jason Arday's Final Self-Delusion

https://www.theatlantic.com/ideas/2026/08/jason-arday-death-lies-delusion/688311/
3•pabo•36m ago•0 comments

Why the Future Doesn't Need Us (2000)

https://www.wired.com/2000/04/joy-2/
2•naves•38m ago•0 comments

LLM Reasoning Traces Are Not Audit Records

https://rye.ai/blog/cot-faithfulness-reasoning-traces-not-audit-logs/
1•wakahiu•38m ago•1 comments

Windows brings out the Rorschach test in everyone

https://devblogs.microsoft.com/oldnewthing/20030825-00/?p=42803
6•luu•41m ago•0 comments

Rising number of people seeking ADHD diagnosis without treatment, say experts

https://www.theguardian.com/society/2026/aug/18/great-adhd-myth-rising-diagnosis-without-treatment
3•theanonymousone•45m ago•0 comments

The data center fight is heating up

https://www.axios.com/2026/08/19/ai-power-data-center-electricity-construction
6•1vuio0pswjnm7•54m ago•1 comments

The tests your agent writes defend the code it saw. Bugs included

4•Marvin_RunAI•55m ago•0 comments

Cuisenaire Rods

https://en.wikipedia.org/wiki/Cuisenaire_rods
4•tosh•56m ago•0 comments

Old.reddit.com is now login only

6•denvrede•56m ago•4 comments

Seoul to cover all sidewalks with shade by 2028 to combat heat waves

https://en.yna.co.kr/view/AEN20260819007000315
6•riffraff•58m ago•0 comments

Wrapping C libraries in Nim (2023)

https://peterme.net/wrapping-c-libraries-in-nim.html
3•erikschoster•58m ago•0 comments

Show HN: Rove – parallel coding agents that can fan out subtasks and report back

https://github.com/Sma1lboy/rove
1•zhallen_work•1h ago•0 comments

Asana cleared 5 years of engineering work in 2 weeks with Codex

https://openai.com/index/asana/
28•tosh•1h ago•55 comments

Why Every Receipt in Taiwan Is a Lottery Ticket [video]

https://www.youtube.com/watch?v=s1EVk7k9S7Q
3•dataflow•1h ago•0 comments

My Grandfather's Career Took Off at 58

https://kejiakejia.substack.com/p/my-grandfathers-career-took-off-at
18•jamarna•1h ago•2 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.