frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Sidequest – A lightweight project planner for juggling several projects

https://offware.io/sidequest/
1•timsamoff•23s ago•1 comments

AWS Context: a governed business-meaning graph for AI agents, now GA

https://aws.amazon.com/blogs/aws/aws-helps-agents-do-more-with-your-data/
1•dvaplima•27s ago•0 comments

Benefits of Datacenters in Space

1•Gee101•52s ago•0 comments

The Troll Toll

https://ajaychavda.com/blog/the-troll-toll
1•romania1•1m ago•0 comments

Sneakernet: A slow, decentralized messaging network

https://drewdevault.com/blog/Introducing-sneakernet/
1•djha-skin•5m ago•0 comments

Price Hikes and Layoffs at JetBrains

https://gamedev.net/news/7441-price-hikes-layoffs-at-jetbrains/
1•georgecmu•5m ago•0 comments

Local Agentic Coding Free

https://github.com/wondergeorge/george-coder
1•shotbymikebeck•6m ago•0 comments

AI Brain Fry: What worked for me

https://namirsab.dev/blog/ai-brain-fry-what-worked-for-me/
1•namirsab•6m ago•1 comments

OpenAI and Salesforce expand partnership to bring Salesforce workflows

https://openai.com/index/expanding-our-salesforce-partnership/
1•qainsights•8m ago•0 comments

Killed Any Mutants Lately?

https://entropicthoughts.com/killed-any-mutants-recently
1•birdculture•9m ago•0 comments

Show HN: Mference – 100% Private AI for Macs

https://github.com/NeelM0906/Mference
1•watdawgdoin•9m ago•0 comments

After a year of tinkering, my factory is finally running smoothly

https://twitter.com/Steve_Yegge/status/2127977854944288923
8•flimp•11m ago•4 comments

WeebTube–YouTube for Anime

https://weebtube.cc/
1•iloveyoutwo•12m ago•0 comments

Sweden introduces single-agreement music licence for podcasts

https://www.reuters.com/legal/litigation/sweden-introduces-single-agreement-music-licence-podcast...
1•nephihaha•12m ago•0 comments

One day, someone will ask what you did in 2027 [video]

https://www.youtube.com/watch?v=ZSHa-EuNJao
1•tectonic•13m ago•0 comments

New map of the Milky Way reveals billions of stars in unprecedented detail

https://www.msn.com/en-us/science/astronomy/ar-AA2iJeL8
1•swingandamiss•14m ago•0 comments

World Energy Outlook 2026

https://www.iea.org/reports/world-energy-outlook-2026
1•simonebrunozzi•16m ago•0 comments

PG Proxy: Postgres proxy and transaction-level connection pooler

https://github.com/DataDog/pg-proxy
1•plaur782•18m ago•0 comments

Scientists grow potatoes in simulated Moon soil with remarkable results

https://www.sciencedaily.com/releases/2026/12/261201005903.htm
2•nate•18m ago•0 comments

Freehand, Microsoft's minimal harness for strong LLMs

https://github.com/microsoft/FreeHand
1•blueSky1989•19m ago•1 comments

Ask HN: Hiring Devs part-time and remote?

1•conqrr•19m ago•1 comments

Oxford University Press crowns 'slopaganda' its 2026 Word of the Year

https://www.theregister.com/ai-and-ml/2026/12/02/oxford-university-press-crowns-slopaganda-its-20...
1•samizdis•19m ago•0 comments

Optimize Programming Languages for Verifying Code, Not Writing It

https://gavinray97.github.io/blog/optimize-languages-for-verifying-code-not-writing-it
1•gavinray•20m ago•0 comments

FSF Ethical Tech Giving Guide

https://www.fsf.org/givingguide/v17/
1•fsflover•22m ago•0 comments

When you teach your kids to cut snowflakes, teach them prime factorization

https://moultano.wordpress.com/2026/05/01/cutting-snowflakes-and-prime-factorization/
2•moultano•24m ago•0 comments

Never Stop Learning: An Open Letter to ColdFusion Developers

https://codemonkey.studio/articles/never-stop-learning-an-open-letter-to-coldfusion-developers
1•rmason•24m ago•2 comments

Show HN: Cutzio – Finds the best moments in your video and cuts the rest

https://cutzio.app
1•devsome•26m ago•0 comments

Opspicy – A library for spec-driven development and testing

https://github.com/enspirit/opspicy
1•blambeau•26m ago•0 comments

ChatGPT/Codex/Dot can't archive its own chats

https://help.openai.com/en/articles/8809935-deleting-and-archiving-chats-in-chatgpt
1•0x4e•30m ago•0 comments

AurionMail: E2EE suite (CryptPad/Stalwart) with single-password UX

https://github.com/Aurion-Mail/docs
7•remiiiii•30m ago•1 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.