frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Thailand Accelerates Clean Energy Push to Cut LNG Dependence

https://oilprice.com/Latest-Energy-News/World-News/Thailand-Accelerates-Clean-Energy-Push-to-Cut-...
1•thelastgallon•27s ago•0 comments

The broadcast squeezeback, rebuilt with CSS Grid and WebVTT

https://www.mux.com/blog/the-broadcast-squeezeback-rebuilt-with-css-grid-and-webvtt
1•mmcclure•46s ago•0 comments

Suica, Japan's First IC Transit Card

https://www.tokyodev.com/articles/the-story-of-suica
2•zdw•1m ago•0 comments

Japanese polka dot artist Yayoi Kusama dies aged 97

https://www.bbc.com/news/articles/c3v4k0re3vwo
3•herbertl•2m ago•0 comments

Rfclt: Runtime type metadata in TS 7.0 without emitDecoratorMetadata

https://github.com/inversify/rflct
1•ower•3m ago•0 comments

Ratko Mladic, former general convicted of Bosnia genocide, dies

https://www.reuters.com/world/bosnian-serb-general-ratko-mladic-convicted-genocide-has-died-un-of...
1•layer8•6m ago•1 comments

Two alleged TeamPCP hackers arrested over global supply chain attacks

https://www.helpnetsecurity.com/2026/08/27/alleged-teampcp-hackers-arrested-australia/
3•madradavid•6m ago•0 comments

Solving all open source tech debt with Codex

1•surajkrajan•7m ago•0 comments

The Moral and Ethical Imperative of Agents

https://justusdevs.substack.com/p/the-moral-and-ethical-imperative
1•floydhead01•7m ago•0 comments

Apple gave Tim Cook a farewell party a week before Ternus takes over

https://thenextweb.com/news/tim-cook-apple-farewell-party-ternus-handover
2•ksec•9m ago•0 comments

Show HN: A better way to recognize developer contributions

https://github.com/Meridiona/meridian
3•meridiona•10m ago•0 comments

Bargain? We Tested Scaleway's $8 VPS in Amsterdam and Warsaw

https://webbynode.com/articles/bargain-we-tested-scaleways-8-vps-in-amsterdam-and-warsaw
1•gsgreen•10m ago•1 comments

The journey of a failed autonomous AI vulnerability hunter

https://twitter.com/pwnh4/status/2093001388246663370
1•pwnh4•10m ago•0 comments

Performance of Static Rust with MUSL (2025)

https://raniz.se/blog/2025/rust-musl-malloc/
1•mattrighetti•10m ago•0 comments

Launch HN: Salem Robotics (YC S26) – Software for industrial inspection robots

2•Salem_robotics•10m ago•0 comments

We open-sourced an office plugin for DSH (spreadsheets, docs, slides, and more)

https://github.com/dream-num/dsh-univer-office/tree/main
2•Nicole9•10m ago•0 comments

Show HN: PwnPad – hardware hacking platform built for practical learning

https://github.com/twelvesec/PwnPad
1•therepanic•11m ago•0 comments

Musk's SpaceX to build $100B launch facility in Louisiana

https://www.bbc.com/news/articles/cq5xel4v642o
1•ksec•11m ago•0 comments

Updating a vector database is no simple thing

https://softwaredoug.com/blog/2026/08/18/update-graph-vector-db
1•softwaredoug•12m ago•0 comments

Show HN: I built a site to share and find Claude Code passes

https://claudecoupons.com
1•alexander-g•13m ago•0 comments

Show HN: Warp – Run the 313B GLM-5.3-Flash on a MacBook with 8GB RAM

1•marcobambini•14m ago•0 comments

Nvidia: Jetson Orin Nano 2 Robotics Computer

https://nvidianews.nvidia.com/news/nvidia-announces-jetson-orin-nano-2-robotics-computer-to-redef...
1•tosh•15m ago•0 comments

US designates Palestine Action a terrorist group

https://www.bbc.com/news/articles/cn4kzd7k2nvo
2•tartoran•16m ago•0 comments

Engineered yeast for converting plastic and biomass compounds into food

https://acs.digitellinc.com/live/37/session/586399
1•ehwa37•16m ago•0 comments

SK Hynix holds groundbreaking ceremony for $4B HBM packaging facility at Purdue

https://www.reuters.com/world/asia-pacific/sk-hynix-holds-groundbreaking-ceremony-4-billion-india...
1•alephnerd•17m ago•0 comments

Ask HN: Should I leave web development to study medicine in my mid-30s?

2•lovepuzzles•18m ago•2 comments

IP Whitelisting for OpenRouter: What You Need to Know

https://outboundgateway.com/blogs/openrouter-ip-whitelisting/
2•theanonymousone•18m ago•0 comments

Openmuster See what your agents are doing in real time

https://www.openmuster.com/
1•johnngu•18m ago•1 comments

Uefa pursuing criminal legal action against Infantino

https://www.bbc.com/sport/football/articles/cx2zl5kwlxjo
2•brudgers•19m ago•0 comments

Parquet: What floor are we standing on?

https://oleander.dev/parquet
1•phixMe•20m 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.