frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Meghan O'Gieblyn: Against Slop

https://www.nybooks.com/online/2026/07/11/against-slop-meghan-ogieblyn/
1•mitchbob•4m ago•1 comments

Capture the Flag

https://unik.cx/ctf/index.html
1•eyberg•5m ago•0 comments

One of China's workhorse rockets just exploded in flight

https://arstechnica.com/space/2026/08/one-of-chinas-workhorse-rockets-just-exploded-in-flight/
1•pseudolus•6m ago•0 comments

Musk's Daily Starship Problem

https://tmfassociates.com/blog/2026/08/10/musks-daily-starship-problem/
1•TheAlchemist•7m ago•0 comments

Ambulance defibrillators removed from sale, still on the road

https://www.theage.com.au/national/confusion-and-concern-nsw-ambulance-defibrillators-removed-fro...
1•Alien1Being•9m ago•0 comments

How to Keep Thinking

https://www.seangoedecke.com/how-to-keep-thinking/
2•vismit2000•10m ago•0 comments

Gulf States Accept a New Normal in Hormuz: Iran Is in Control

https://www.wsj.com/world/middle-east/gulf-states-accept-a-new-normal-in-hormuz-iran-is-in-contro...
22•petethomas•21m ago•2 comments

Portail – Sovereign Rust AI Gateway and BitNet B1.58 SIMD Tensor Engine

https://portail-vaked-dev.pages.dev/showcase
1•pocok0xRE•23m ago•0 comments

Chvostek Sign

https://en.wikipedia.org/wiki/Chvostek_sign
1•petethomas•26m ago•0 comments

See How a Tesla-SpaceX Merger Gives Musk a Shortcut to His $1T Payday

https://www.wsj.com/business/see-how-a-tesla-spacex-merger-gives-musk-a-shortcut-to-his-1-trillio...
1•spenvo•28m ago•0 comments

Attention-Only Transformers

https://arxiv.org/abs/2607.18363
1•MediaSquirrel•29m ago•1 comments

Ontario Teachers' pension plan posts 9.5% return through SpaceX stake

https://financialpost.com/fp-finance/ontario-teachers-pension-return-2026-spacex-stake
3•cuoder•31m ago•0 comments

100 Kodiak driverless trucks are headed for public roads

https://www.foxnews.com/tech/100-kodiak-driverless-trucks-headed-public-roads
1•RickJWagner•32m ago•0 comments

'I felt Tourette's would ruin my life, now I teach at Cambridge'

https://www.bbc.com/news/articles/c7944gv359jo
1•RickJWagner•33m ago•0 comments

CapShip – Mobile Starter Kit

https://capship.org/
1•yousefbustamiii•36m ago•1 comments

Unified.nvim

https://github.com/axkirillov/unified.nvim
1•dboon•42m ago•0 comments

A C++ toolchain from 357 bytes, in Bazel

https://fzakaria.com/2026/08/01/a-c++-toolchain-from-357-bytes-in-bazel
1•signa11•46m ago•0 comments

Old.reddit.com Stops Working

https://old.reddit.com/r/emacs
2•snfernandez•49m ago•6 comments

They don't make 'em like Sublime Text anymore

https://dbushell.com/2026/08/07/sublime-text/
2•Curiositry•50m ago•0 comments

Propaganda of the deed

https://en.wikipedia.org/wiki/Propaganda_of_the_deed
1•petethomas•53m ago•0 comments

Hyperspace

https://hypercritical.co/hyperspace/
2•swyx•58m ago•0 comments

I wrote my book by hand

https://augustlamm.substack.com/p/i-wrote-my-book-by-hand
3•herbertl•59m ago•1 comments

Claude will watermark AI-generated text and images

https://tokenstead.ai/
3•cdnsteve•59m ago•0 comments

In Arizona, it may be easier to steal a home than a TV as deed fraud grows

https://www.usatoday.com/
4•rawgabbit•1h ago•1 comments

Recycle – Floppydisks

https://www.floppydisk.com/recycle
5•calvinmorrison•1h ago•0 comments

Another August

https://kellykeene.blog/2026/08/01/another-august/
1•wawayanda•1h ago•0 comments

Chinese rocket explodes shortly after liftoff

https://www.space.com/space-exploration/launches-spacecraft/chinese-rocket-explodes-less-than-90-...
3•glimshe•1h ago•0 comments

Japanese government announces measures against mega-solar projects

https://twitter.com/takaichi_sanae/status/2086977599130194229
1•anigbrowl•1h ago•1 comments

ChatGPT to Markdown: export any chat [video]

https://www.youtube.com/watch?v=TXPMnpUxab4
2•quysala147258•1h ago•2 comments

eBay scammer took $600 from me; eBay suggests cotton-candy flavor energy drinks

https://www.reddit.com/r/Wellthatsucks/s/si0ksx7ceI
1•rogerrogerr•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.