frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Debiasing Your Software Design Decision-Making

https://www.youtube.com/watch?v=rcLRzDm8cwQ
1•RebootStr•1m ago•0 comments

Show HN: Checkout the new Customisable Template feature for marketing content

https://www.clickcast.tech/template-editor
1•modulusme•3m ago•0 comments

Show HN: MemoryOps – governed memory infrastructure for AI assistants

https://github.com/patibandlavenkatamanideep/memoryops-ai
2•pvmanideep20•4m ago•0 comments

An Ascendant Constitutional Theory Is a Threat to American Science

https://www.theatlantic.com/ideas/2026/06/unitary-executive-scientific-research/687565/
1•thunderbong•7m ago•0 comments

Hugging Face, ModelScope, or CSGHub: How Should a Team Choose?

https://github.com/OpenCSGs/csghub
1•YangXYfc•8m ago•0 comments

LM Link – This is the future I want

1•smalltorch•21m ago•0 comments

Consciousness and Orch OR

https://hameroff.arizona.edu/research-overview/orch-or
2•andsoitis•23m ago•0 comments

Badc – optimizing cross-platform C compiler built with Claude

https://github.com/kromych/badc
1•kromych•24m ago•2 comments

Show HN: Browse the web your way

https://browse-your-way.vercel.app
2•MaxLeiter•26m ago•0 comments

Puppeteer Stealth: Complete Guide to Avoiding Detection

https://scrapfly.io/blog/posts/puppeteer-stealth-complete-guide
1•ankitg12•28m ago•0 comments

Show HN: Eye-brain-hand – a quick neuro coordination and memory test

https://ubershmekel.github.io/eye-brain-hand/
1•ubershmekel•31m ago•0 comments

Absolute State of Unreal 2026

https://www.joewintergreen.com/absolute-state-of-unreal-2026/
1•anonymousab•33m ago•0 comments

ShipFast: Production-ready deploy templates for devs who hate DevOps

https://dpaste.com/94VY3XYU9
1•shipfastdev•34m ago•1 comments

Danish privacy activist Lars Andersen raided by police

https://twitter.com/LarsAnders1620/status/2068208864747540516#m
41•I_am_tiberius•39m ago•11 comments

Ask HN: Favorite Sorting Algorithm?

1•akashwadhwani35•44m ago•2 comments

Ask HN: Do you have an unusual income source

4•xupybd•46m ago•0 comments

Japan to raise visa fees for foreign nationals

https://www.japantimes.co.jp/news/2026/06/20/japan/japan-raise-visa-fees/
4•geox•49m ago•0 comments

Cini, an app to rank movies and shows

1•jtsilver123•54m ago•1 comments

Sharing a Good One

1•SharingAGoodOne•56m ago•0 comments

Show HN: 2Flights – Track your flights; delays and stats (iOS/Android)

https://2flights.io
1•umuslitdinov•59m ago•0 comments

Stop Fearing Incidental Findings

https://ostro.ws/post-healthcare
1•robbieo•1h ago•1 comments

About the writing process (or lack thereof)

https://www.thefoxfirepub.com/blog/blog-post-title-four-lr658-tcthp-wf5mw-mx4m8-tgp6b
1•FantasticPulp•1h ago•0 comments

Chinas War on Female Delusion

https://mamathemagazine.com/chinas-war-on-female-delusion/
18•trojanalert•1h ago•0 comments

Samsung Electronics brings ChatGPT and Codex to employees

https://openai.com/index/samsung-electronics-chatgpt-codex-deployment/
1•doppp•1h ago•0 comments

How do you process asynchronous tasks today?

https://meerkatagents.com/
2•kannanreghu•1h ago•1 comments

SC law legalizes pinball for youth, ending decades-old prohibition

https://scdailygazette.com/2026/06/17/sc-law-legalizes-pinball-for-youth-ending-decades-old-prohi...
3•eric_h•1h ago•0 comments

Magpie-search – a federated search engine for LLM's/agents

https://github.com/xfloukiex-lab/magpie-search
1•Floukie•1h ago•0 comments

Niaid funded Wuhan Institute of Virology coronavirus gain-of-function research

https://www.dni.gov/index.php/newsroom/press-releases/press-releases-2026/4166-pr-11-26
8•stinkbeetle•1h ago•3 comments

China targets U.S. firms in retaliation for Pentagon blacklist

https://www.cnbc.com/2026/06/22/china-trade-curbs-us-companies-export-controls-procurement-exclus...
2•ilreb•1h ago•0 comments

Timesharing on the MIT Weather Radar PDP-8/IX

https://retrocomputingforum.com/t/timesharing-on-the-mit-weather-radar-pdp-8-ix/5569
1•signa11•1h 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.