frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The Rise of the Deserving Rich

https://economist.com/finance-and-economics/2026/07/23/the-rise-of-the-deserving-rich
2•andsoitis•2m ago•0 comments

PlayMagicReef – Kids color in a fish, scan it, and it appears in a digital tank

https://www.playmagicreef.com
1•eugenejlee•5m ago•0 comments

Rolling in the Diffs

https://pwno.io/diff
2•ryanmerket•5m ago•0 comments

The Space Force is now seeking to buy up to $30B in rocket launches

https://arstechnica.com/space/2026/07/the-space-force-is-now-seeking-to-buy-up-to-30-billion-in-r...
2•Levitating•5m ago•0 comments

Frontier-class LLM inference on a laptop CPU

https://github.com/arizqi/cpubrrr
1•yogthos•5m ago•0 comments

I stopped alt-tabbing my way through LeetCode practice

https://leetcopilot.dev/blog/how-ai-chat-changed-my-leetcode-practice
2•alexwang24•8m ago•0 comments

California-bought cars can be hijacked via Bluetooth

https://www.theregister.com/security/2026/07/23/millions-of-california-bought-cars-can-be-hijacke...
2•sbulaev•8m ago•0 comments

Coolify

https://coolify.io/
1•matthberg•10m ago•0 comments

Y Combinator joins the army [video]

https://www.youtube.com/shorts/iOeW40N-1VI
1•matei88•10m ago•1 comments

Stanford MS&E435 Economics of the AI Supercycle [video]

https://www.youtube.com/watch?v=sRvrXL83N-c
1•anonu•12m ago•0 comments

Microsoft could do something big

https://www.marginpoints.com/essays/microsoft-could-do-something-big
1•historian1066•12m ago•0 comments

An Almost Periodic Function

https://www.johndcook.com/blog/2026/07/23/an-almost-periodic-function/
1•ibobev•12m ago•0 comments

Show HN: Notebooker.ai – NotebookLM alternative, your own models, keys, storage

https://notebooker.ai/
1•mistakevin•13m ago•0 comments

2026 Fields and Abacus Medals 2026

https://www.quantamagazine.org/series/fields-and-abacus-medals-2026/
1•ibobev•13m ago•0 comments

How Fast Is the Universe Expanding?

https://www.quantamagazine.org/how-fast-is-the-universe-really-expanding-20260723/
3•ibobev•15m ago•0 comments

LinkedIn Slop

https://olly.world/linkedin-slop
2•speckx•15m ago•0 comments

Selfie for sign-in: a new, easy way to access your Google Account

https://blog.google/innovation-and-ai/technology/safety-security/selfie-video-sign-in/
4•lkurtz•15m ago•0 comments

Ask HN: What's SoTA in Agent Memory?

2•polyphilz•15m ago•0 comments

Show HN: Ef_vi vs. DPDK vs. AF_XDP – 24h tail-latency benchmarks on real NICs

https://github.com/ASherjil/ABTRDA3
2•CoreCppEngineer•16m ago•1 comments

Stronger AI agents did more damage, not less

https://www.agentx-core.com/blog/stronger-agents-more-dangerous-unguarded
3•vdalal•18m ago•0 comments

Maybe Jacobian Conjecture Counterexamples Are Not Rare

https://win-vector.com/2026/07/23/maybe-jacobian-conjecture-counterexamples-are-not-rare/
3•jmount•19m ago•0 comments

Sierra acquires TakeOff, the long-horizon AI agent platform

https://runtimewire.com/article/sierra-acquires-takeoff-long-horizon-ai-agents
3•ryanmerket•20m ago•0 comments

What happened to the tea.xyz spam wave

https://nesbitt.io/2026/06/11/what-happened-to-tea.html
4•jcbhmr•21m ago•0 comments

macOS 27 Beta Hides Trippy Siri 'Voice Pad' Interface

https://www.macrumors.com/2026/07/23/macos-27-beta-hidden-siri-voice-ui/
1•dabinat•22m ago•0 comments

Three Architectures for Responsive IDEs (2020)

https://rust-analyzer.github.io//blog/2020/07/20/three-architectures-for-responsive-ide.html
2•cosmic_quanta•23m ago•0 comments

The Long Trip to Java (1996)

http://www.blinkenlights.com/classiccmp/javaorigin.html
1•downbad_•23m ago•0 comments

DepsGuard – Guard your dependencies against supply chain attacks

https://depsguard.com/
1•eranation•23m ago•0 comments

ICE Illegally Scooped Up Medicaid Data, Then Shared It with Palantir

https://www.techdirt.com/2026/07/23/ice-illegally-scooped-up-medicaid-data-then-shared-it-with-pa...
16•cdrnsf•24m ago•0 comments

'Extraordinary' Iron Age war trumpet find in Britain may have Boudicca links

https://www.theguardian.com/science/2026/jan/07/iron-age-war-trumpet-find-britain-norfolk-boudicc...
2•bookofjoe•28m ago•0 comments

AI Casino

https://selfprompt.dev/posts/2026-07-16-ai-casino
3•speckx•28m 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.