frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

No Need for Retirement When Utopia Is Around the Corner

https://blog.jim-nielsen.com/2026/skip-retirement-for-utopia/
1•speckx•1m ago•0 comments

Black Mirror: Be Right Back

https://www.howclosetoblackmirror.com/be-right-back
1•beatthatflight•3m ago•0 comments

Steam Next Fest Has Become a Disaster and a Grim Look at the Future

https://kotaku.com/steam-next-fest-has-become-a-massive-disaster-and-a-grim-look-at-the-future-20...
1•natebc•5m ago•0 comments

Three Rights of the Image

https://medium.com/@smoking2man/three-rights-of-the-image-how-the-visual-takes-possession-of-real...
1•Aldus551•6m ago•0 comments

Agentic Testing: Where Agents Fit in the E2E Testing Stack

https://slack.engineering/agentic-testing-where-agents-fit-in-the-e2e-testing-stack/
1•ankitg12•6m ago•0 comments

EL2 hypervisor and toolchain that boots macOS on the Snapdragon X2 Elite

https://github.com/Snapintosh/Snapintosh
1•hard_times•7m ago•0 comments

OpenAI's Ad Pixel Tracks by Default, and European Shops Aren't Switching It Off

https://ciphercue.com/blog/openai-chatgpt-ad-pixel-european-shops
1•adulion•7m ago•0 comments

Run AI prompts in any app from your menubar

https://www.snippetbar.com
1•martin_rariga•8m ago•0 comments

Is anybody still coding in PHP?

1•cfarre•9m ago•1 comments

Farewell, BioWare: The End of an RPG Giant

https://gardinerbryant.com/farewell-bioware-the-end-of-an-rpg-giant/
2•speckx•12m ago•0 comments

I get 215 GitHub notifications a day, so I built a bot to triage them

https://paolino.me/copilot-triage/
1•earcar•12m ago•0 comments

Ask HN: Qualcomm Atheros driver issues on Linux firmware?

1•coffeebar•14m ago•0 comments

Snapchat Now Supports PlayCanvas Games

https://blog.playcanvas.com/snapchat-now-supports-playcanvas-games/
1•ovenchips•16m ago•0 comments

Show HN: Orbit – A local macOS workspace for side projects

https://orbitdesktop.com/
1•capten_masin•16m ago•0 comments

Dutch government had hacked into Jared Kushner's phone

https://twitter.com/jaredkushner/status/2113376217415958767
8•teekert•18m ago•0 comments

Agent management is people management?

https://www.youtube.com/watch?v=VcIlkaI0mUk
1•claudiacsf•22m ago•1 comments

Show HN: Best otaku AI to chat about Anime with

https://otaku.animearray.site/
3•anitroves•23m ago•2 comments

Show HN: Vezur – A browser-based tool to upscale and clean up compressed videos

https://vezurai.com/
1•cby821555203•25m ago•0 comments

Show HN: Arc Decide RAG and conversation insights under 1gb

https://huggingface.co/Arc53/arc-decide-0.4b-v0.2
1•alextttty•25m ago•0 comments

Job Loss and Cortisone Mania

https://tilschuenemann.de/job-loss-cortisone-mania
2•speckx•28m ago•0 comments

Aging Populations Weighing on Global Retirement Systems

https://www.plansponsor.com/
1•throw0101c•30m ago•2 comments

Free Cached Input

https://runinfra.ai
3•OsamaJaber•31m ago•0 comments

Jared Kushner's Hacked Phone Revealed His Secret Negotiations

https://wallhop.io/https://www.vanityfair.com//story/jared-kushner-hacked-phone-secret-negotiations
5•alexander2002•31m ago•3 comments

I built Peer Fitness, an app to make walking fun with friends

https://play.google.com/store/apps/details?id=com.texvnx.peerfitness&hl=en_US
1•m-maaz-azhar•32m ago•1 comments

Forward deployed engineers are the future

https://keithbrown.com/forward-deployed-engineers
1•drewlem•35m ago•0 comments

Using the Dygma Defy ergonomic keyboard for 6 months

https://www.typequicker.com/blog/dygma-defy
1•absoluteunit1•36m ago•0 comments

Bitchat Becomes France's Top Social App Amid Riots and Mobile Network Outage

https://gizmodo.com/jack-dorseys-bitchat-becomes-frances-top-social-app-amid-riots-and-mobile-net...
1•giuliomagnifico•37m ago•1 comments

Dark mode for Medium is finally here

https://medium.engineering/dark-mode-was-never-on-our-roadmap-heres-how-it-got-built-b8e0a54c1d12
1•tontonius•39m ago•0 comments

'VPNs at Risk': Tech Coalition Pushes Back on Piracy Blocking Duties for VPNs

https://torrentfreak.com/vpns-at-risk-tech-coalition-pushes-back-on-piracy-blocking-duties-for-vpns/
2•gslin•42m ago•0 comments

The Founder Purity test is a measure of how much founder experience you have

https://john.fun/founderpurity
1•pghqdev•45m 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.