frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Things C++26 define_static_array can't do

https://quuxplusone.github.io/blog/2026/04/24/define-static-array/
1•jandeboevrie•2m ago•0 comments

Stop Celebrating Ubuntu 26.04 – It's a Disaster [video]

https://www.youtube.com/watch?v=tG2ZMvBT8W4
1•muterad_murilax•5m ago•0 comments

Why isn't it possible to play a fun and serious game of poker not for money?

https://statmodeling.stat.columbia.edu/2026/04/26/why-isnt-it-possible-to-play-a-fun-and-serious-...
1•Tomte•5m ago•0 comments

You Can't Automate Presence

https://codeplusconduct.substack.com/p/you-cant-automate-presence
1•mooreds•8m ago•0 comments

Thousands of EV Car Leases Are Ending Soon, Giving Buyers an Affordable Option

https://www.nytimes.com/2026/04/25/business/electric-vehicles-used-leases.html
1•mooreds•8m ago•0 comments

Ask HN: Self hosted PostgreSQL vs. RDS managed

2•mikeinfra•10m ago•0 comments

Commodore 4064 Repair – C64 in a PET style case

http://blog.tynemouthsoftware.co.uk/2026/04/commodore-4064-repair-c64-in-pet-style-case.html
1•razorbeamz•10m ago•0 comments

Octopal: Powerful AI agents without blind trust

https://octopal.ca/
1•pmbstyle•10m ago•1 comments

Your Agent is a Distributed System (and fails like one)

https://maheshba.bitbucket.io/blog/2026/04/24/agentfailures.html
1•Malp•13m ago•0 comments

Show HN: Homebutler – See and manage your homelab from one Go binary

https://homebutler.dev
1•swq115•14m ago•0 comments

Python and C killer seekers rejoice

1•kvthweatt•17m ago•0 comments

A View from the Floor of the White House Correspondents' Dinner

https://dandiamond.substack.com/p/a-view-from-the-floor-of-the-white
1•_tk_•17m ago•0 comments

I work 10 hours daily without deadlines or schedules

https://orchidfiles.com/building-without-booking-time/
1•theorchid•18m ago•0 comments

Disneyland guests can opt out of facial recognition at park entrances

https://thehill.com/policy/technology/5847024-disneyland-facial-recognition-entry-gates-opt-out/
1•thunderbong•21m ago•0 comments

Gestionale magazzino su misura: come ho digitalizzato un'azienda di ricambi

https://donatodelpeschio.it/blog/gestionale-magazzino-pmi-ricambi-automotive-napoli-laravel
1•donnyBlanko•21m ago•0 comments

The LinkedIn Spyware Situation [video]

https://www.youtube.com/watch?v=mHj6IvBmlpU
1•mannanj•27m ago•0 comments

Books for People with Print Disabilities

https://archive.org/details/printdisabled
2•bookofjoe•28m ago•0 comments

Has AI Changed the Course of Drug Development? Three Years Later

https://divingintogeneticsandgenomics.com/post/has-ai-changed-drug-development-3-years-later/
2•YeGoblynQueenne•29m ago•0 comments

Why Every AI-Coded App Is an Island

https://rootcx.com/blog/why-every-ai-coded-app-is-an-island
1•seyz•29m ago•0 comments

The AI Question That No AI Person Asks [video]

https://www.youtube.com/watch?v=o9Vbvp4awQU
1•vermilingua•30m ago•0 comments

CPU Has More Registers Than You'd Think

https://fp32.org/register_renaming.html
1•birdculture•33m ago•0 comments

The Fastest Linux Timestamps

https://www.hmpcabral.com/2026/04/26/the-fastest-linux-timestamps/
1•hmpc•33m ago•0 comments

Ask HN: Md PhD

1•Sxouterred•34m ago•0 comments

QNX on the Commodore 900 – Raiders of the lost hard drive [video]

https://archive.fosdem.org/2025/schedule/event/fosdem-2025-5479-raiders-of-the-lost-hard-drive/
3•rbanffy•38m ago•0 comments

At least 10 people tied to sensitive US research have died or disappeared

https://www.cnn.com/2026/04/21/us/deaths-disappearances-scientists-investigation
21•acdanger•39m ago•18 comments

National Science Board members told by Trump administration they were terminated

https://thehill.com/policy/energy-environment/5849158-national-science-board-members-terminated-t...
2•pera•43m ago•0 comments

DeepSeek V4 plays Go on a 9x9 board

https://chat.deepseek.com/share/95z1fr6y7rj4q5nmd0
2•morpheos137•46m ago•2 comments

Innovative Captcha Solutions for Reality of Modern Attacks

https://github.com/mCaptcha/mCaptcha/discussions/199
1•paulnpace•46m ago•0 comments

Microsoft Reportedly Looking at Rebasing Azure Linux on Fedora

https://www.phoronix.com/news/MS-Azure-Linux-Fedora-Based
6•rbanffy•46m ago•0 comments

Build Yourself Flowers

https://vickiboykis.com/2026/04/20/build-yourself-flowers/
1•mooreds•47m ago•0 comments
Open in hackernews

Show HN: OpenEvolve – open-source implementation of DeepMind's AlphaEvolve

8•codelion•11mo 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•11mo 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•11mo ago
How many tokens did it take to generate the 800 versions of the code?
codelion•11mo ago
Checked my openrouter stats, it took ~3M tokens but that involved quite a few runs of various experiments.