frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The Plan to Make American Crime Obsolete (A16Z Show)

https://open.spotify.com/episode/3leFhrUTOzmhoqQwS8F4BR
1•fallinditch•1m ago•0 comments

Building Vector Similarity Search in PostgreSQL with Pgvector

https://machinelearningmastery.com/building-vector-similarity-search-in-postgresql-with-pgvector/
1•eigenBasis•2m ago•0 comments

Scripts and Aliases for Your Linux

https://alexeev-dev.bearblog.dev/scripts-and-aliases-for-your-linux/
1•alexeev-prog•3m ago•0 comments

Booking.com and Weaviate

1•CShorten•4m ago•0 comments

Agent Braille – 8-bit state encoding for LLM agents, ~92% fewer tokens than JSON

https://github.com/Tetrahedroned/Agent-Braille
2•Octothorped•4m ago•0 comments

Pre-announcement of BIND 9 security issues scheduled for disclosure 20 May 2026

https://lists.isc.org/pipermail/bind-announce/2026-May/001294.html
1•bpoyner•5m ago•0 comments

Actually, Democracy Dies in H.R.

https://www.nytimes.com/2026/05/18/world/americas/actually-democracy-dies-in-hr.html
3•mitchbob•6m ago•1 comments

Understanding the Go runtime: the "select" statement

https://internals-for-interns.com/posts/go-runtime-select/
2•valyala•6m ago•0 comments

$6 gas and refinery fears collide with California's climate ambitions

https://calmatters.org/environment/climate-change/2026/05/carbon-market-free-permit-california/
1•cdrnsf•7m ago•0 comments

Don't make fun of renowned Dan Brown

https://jimmyakin.com/2024/03/dont-make-fun-of-renowned-dan-brown.html
1•tibbar•7m ago•0 comments

Attempts at a Horse

https://bestofm.com/q/5
1•lhmiles•7m ago•0 comments

Tell HN: Writing an LLM critique/takedown? – Do not use an LLM to write it

1•evolve2k•9m ago•2 comments

Everything You Do Is Being Recorded: Is there any way of fighting back?

https://www.theatlantic.com/technology/2026/05/ai-wearable-surveillance-countermeasures/687203/
1•CharlesW•9m ago•0 comments

Always Be Blaming

https://matklad.github.io/2026/05/18/always-be-blaming.html
1•surprisetalk•10m ago•0 comments

The Invention of Buses

https://worksinprogress.co/issue/the-invention-of-buses/
1•surprisetalk•10m ago•0 comments

Dawn of the Electric World Order

https://www.phenomenalworld.org/analysis/dawn-of-the-electric-world-order/
1•speckx•11m ago•0 comments

Built an expired domains platform – what do you think?

1•samirbelabbes•14m ago•0 comments

Shame them, shun them, ban them, beat them

https://www.experimental-history.com/p/shame-them-shun-them-ban-them-beat
1•mday27•17m ago•0 comments

Modulejail: Shrink a Linux kernel-module attack surface by blacklisting modules

https://github.com/jnuyens/modulejail/
1•wingmanjd•19m ago•0 comments

Kotlin-agent-skills: A collection of skills for projects using Kotlin

https://github.com/Kotlin/kotlin-agent-skills/
1•rezaprima•19m ago•0 comments

GPU Exchange

https://gpubook.io
1•jesse_portal•24m ago•0 comments

Paris Staged a Stress Test for Extreme Heat

https://reasonstobecheerful.world/paris-staged-a-huge-stress-test-for-extreme-heat/
2•speckx•24m ago•0 comments

Engineering the Disposable Diaper

https://worksinprogress.co/issue/engineering-the-disposable-diaper/
1•surprisetalk•25m ago•0 comments

Show HN: Ask Claude about your sleep, runs, and recovery

https://pacetraining.co/
2•anton_salcher•25m ago•0 comments

Artificial Used to Be a Compliment

https://worksinprogress.co/issue/whos-afraid-of-artificial-flavors/
1•surprisetalk•25m ago•0 comments

NASA Partnered with HackClub and AMD to Give Away $2.5M in Tech Swags

https://mag.openrockets.com/p/httpsstardancehackclubcom-mp9gemdz
1•Vara_Pixel•29m ago•0 comments

Show HN: Agent-QA – natural-language E2E tests for apps built with coding agents

https://vostride.com/agent-qa
1•pranshuchittora•29m ago•0 comments

Book Club: Designing Data-Intensive Applications, 2nd Edition

https://www.heltweg.org/posts/book-club-designing-data-intensive-applications-2-nd-edition/
2•rhazn•30m ago•0 comments

The Applicability of Spaced Repetition

https://borretti.me/article/the-applicability-of-spaced-repetition
1•ibobev•31m ago•0 comments

Academia, startups, big tech, and back again

https://austinhenley.com/blog/academiastartupsbigtech.html
1•ibobev•31m ago•0 comments
Open in hackernews

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

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