frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The Holy Grail in AI Marketing Will Make Everything Wonderfully Terrible

https://hastalavista.ai/society/the-holy-grail-in-ai-marketing-will-make-everything-wonderfully-t...
1•alleyio•37s ago•0 comments

Stellantis bets on small affordable EVs for European comeback

https://www.reuters.com/business/autos-transportation/stellantis-bets-small-affordable-evs-europe...
2•alephnerd•5m ago•1 comments

Chapter 1 of Ways of Seeing by John Berger

https://www.ways-of-seeing.com/ch1
2•rafael859•9m ago•0 comments

Show HN: SupplyVision – I made meta-search for independent fashion retailers

https://supplyvision.app/
1•brachkow•11m ago•0 comments

Show HN: I added optional chaining to CPython

https://github.com/grandimam/cpython
2•grandimam•13m ago•0 comments

Anthropic is out with new nonsense about Claude

https://dair-community.social/@emilymbender/117412868905734653
3•nobody9999•19m ago•1 comments

CalVer 26.0: 10th Anniversary Edition

https://sedimental.org/calver_26.html
3•mhashemi•21m ago•3 comments

AI-Powered Plasma Cutting

https://www.deldiosglasshouse.com/stuff-weve-made/ai-g-code
1•cjemmott•24m ago•1 comments

I built a simple app for cooking steak

https://play.google.com/store/apps/details?id=com.akshatpandey.steaktimer&hl=en_US
1•vedicashcapcut•28m ago•2 comments

Arena Allocators in C

https://eliasebner.com/blog/guides/arena-allocators-in-c/
2•dimonomid•28m ago•0 comments

Karpathy on Learning

https://twitter.com/karpathy/status/1756380066580455557
3•sonabinu•28m ago•1 comments

The Controversial Class That MIT Is Paying a Professor Not to Teach

https://www.nytimes.com/2026/10/09/us/mit-professor-michel-degraff-palestine-course.html
4•mikhael•30m ago•0 comments

Total Annihilation, rebuilt for modern computers

https://nanolathe.gg
8•jttnr•31m ago•0 comments

"Natural deploy" build your own self hosted orchestration framework

1•Akilan1999•34m ago•0 comments

NYC's "Click to Cancel" rule is now in effect

https://www.nyc.gov/main/click-to-cancel
7•gregsadetsky•34m ago•0 comments

Solar 'traffic controller' for apartments takes top Australian design award

https://www.theguardian.com/environment/2026/oct/09/amazing-piece-of-technology-solar-traffic-con...
2•DamonHD•36m ago•0 comments

We're unlocking the biggest mysteries of the clitoris

https://www.sciencefocus.com/the-human-body/were-finally-unlocking-the-biggest-mysteries-of-the-c...
17•Vaslo•39m ago•1 comments

Show HN: RugShield 402 – DEX honeypot simulator via HTTP 402 on Base

https://github.com/ak10082247-max/rugshield-402
1•kurox_real•44m ago•0 comments

57B tokens and nothin' on – a jq rewrite

https://nial.se/blog/57-billion-tokens-and-nothin-on/
3•nialse•46m ago•1 comments

Canada's employment surprisingly shrinks in September, jobless rate inches up

https://www.reuters.com/world/americas/canadas-employment-surprisingly-shrinks-september-jobless-...
1•frank_clover•47m ago•0 comments

Gossip Girl for Literature

https://gutenberg-ten.vercel.app/
1•aithena•47m ago•0 comments

A quick way to visit a random page on MDN

https://kevinkipp.com/blog/random-mdn-page/
2•Velocifyer•47m ago•0 comments

List of Top Ideas and Articles

https://manket16.github.io/idea-atlas/
1•Manket1610•50m ago•0 comments

Abandoning functionalism: Some intuition pumps (2024)

https://forum.effectivealtruism.org/posts/6cc9y3rwSBRWsquBs/abandoning-functionalism-some-intuiti...
2•eatitraw•51m ago•0 comments

Japan Turns to Ukraine's Battle-Tested Drone Killers, Signs Deal with SkyFall

https://united24media.com/war-in-ukraine/japan-turns-to-ukraines-battle-tested-drone-killers-sign...
3•Teever•51m ago•0 comments

How Diablo drew its sprite shadows

https://glebm.github.io/share-glebm-com/diablo_sprite_shadows.html
2•glebm•52m ago•0 comments

Salty.im – A decentralised, self-hosted, secure, private messaging platform

https://salty.im/
1•gurjeet•53m ago•0 comments

YouTuber builds 'Flock-like' camera to track police vehicles, gets police visit

https://www.tomshardware.com/tech-industry/cyber-security/canadian-youtuber-builds-flock-like-cam...
41•ljf•55m ago•14 comments

Thirty Years That Shaped Postgres Architecture

https://www.i-programmer.info/news/84-database/19204-thirty-years-that-shaped-postgres-architectu...
2•aquastorm•56m ago•0 comments

Show HN: Vocafy – Listen to Vocaloid songs by producer, from the original videos

https://vocafy.kkweb.io/en
1•piro0919•58m 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.