frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The Adventure Family Tree

https://mipmip.org/advfamily/advfamily.html
1•exvi•41s ago•0 comments

Meet the academics refusing to use generative AI

https://www.nature.com/articles/d41586-026-00508-w
1•XzetaU8•2m ago•1 comments

Sandbox Your Agents

https://philippkuhnhardt.de/blog/sandbox-your-agents/
1•Extasia785•3m ago•0 comments

ProgramBench (Meta) Repro: variance across runs and findings

https://nickcheng0921.github.io/2026/05/10/thoughts-on-programbench-part1.html
1•porterbaseball•7m ago•1 comments

Show HN: DialYourShot – interactive espresso parameter tool

https://dialyourshot.com/
3•pirotechnique•15m ago•0 comments

Show HN: Harper, a free ocean forecast for surfers

https://harper.surf/
1•fbenevides•16m ago•0 comments

Somewhere Nearby is Colossal Cave (2007)

https://dhq.digitalhumanities.org/vol/1/2/000009/000009.html
1•exvi•17m ago•0 comments

GitHub Copilot is deprecating Grok Code Fast 1

https://github.blog/changelog/2026-05-08-upcoming-deprecation-of-grok-code-fast-1/
1•whtsky•18m ago•0 comments

Apple Faces £3B UK Trial over iCloud Lock-In Claims

https://www.macrumors.com/2026/05/07/apple-icloud-lock-in-uk-lawsuit/
2•johneth•21m ago•0 comments

The Brand Age

https://www.paulgraham.com/brandage.html
1•KnuthIsGod•22m ago•0 comments

European Lisp Symposium 2026

https://european-lisp-symposium.org/2026/index.html
2•Igrom•22m ago•1 comments

Writers are fleeing the Substack Tax

https://www.theverge.com/tech/927294/substack-tax-ghost-beehiiv
3•articsputnik•23m ago•1 comments

UX Dark Patterns and Social Media Addiction

https://www.designorate.com/ux-dark-patterns-and-social-media-addiction/
1•rrm1977•26m ago•0 comments

Squatt.ing – The state of the .ing top level domain shortly after public release

https://blog.ioces.com/matt/posts/squatt.ing/
1•shoobs•26m ago•0 comments

Modi urges Indians to WFH and limit foreign travel as Iran war continues

https://www.bbc.com/news/articles/c8r8e2ne1v6o
1•penguin_booze•31m ago•0 comments

Young evil genius forces hamster to run on wheel to power his gadgets

https://www.theregister.com/offbeat/2026/05/06/youtuber-turns-hamster-wheel-into-phone-charger/52...
1•luckys•32m ago•0 comments

Show HN: Built a tool that analyzes product reviews and shows real pros/cons

https://chromewebstore.google.com/detail/astrea/ddlhfimgdflliapbjpfaeoheahhmgikl
1•adrianrogers04•33m ago•0 comments

A Tour of Txtar

https://rednafi.com/go/txtar/
1•ingve•37m ago•0 comments

Connections – James Burke

https://www.youtube.com/playlist?list=PLf02uWXhaGRng_YzH-Ser_VEV4lGSLX_1
1•gurjeet•38m ago•0 comments

Encouraging Autonomous Driving Companies to Share Safety-Critical Data

https://dl.acm.org/doi/pdf/10.1145/3757493
3•luu•39m ago•0 comments

Toward Worker-Owned Delivery Platforms with the OpenCourier Protocol

https://platform.coop/blog/toward-worker-owned-delivery-platforms-with-the-opencourier-protocol/
1•utopiah•39m ago•1 comments

Detachment 201, the US Army unit led by tech executives

https://english.elpais.com/technology/2026-04-13/detachment-201-the-us-army-unit-led-by-tech-exec...
2•BaudouinVH•39m ago•0 comments

Why is AI trust so much higher in China (87%) than the US (32%)? [pdf]

https://www.edelman.com/sites/g/files/aatuss191/files/2025-11/2025%20Edelman%20Trust%20Barometer%...
2•nilen•41m ago•4 comments

Bashism – Greg's Wiki

https://mywiki.wooledge.org/Bashism
2•dr_girlfriend•45m ago•0 comments

Gmail registration now requires scanning a QR code and sending a text message

https://discuss.privacyguides.net/t/google-account-registration-now-requires-sending-an-sms-via-p...
3•negura•45m ago•1 comments

Bring Kindness Back to Open Source

https://www.hanselman.com/blog/bring-kindness-back-to-open-source
2•mashally•46m ago•1 comments

Ask HN: What is your workflow for filtering academic papers?

1•hydra-f•46m ago•0 comments

Bash Pitfalls - Greg's Wiki

https://mywiki.wooledge.org/BashPitfalls
2•dr_girlfriend•46m ago•0 comments

ASTro: AST-Based Reusable Optimization Framework

https://github.com/ko1/astro/
1•riffraff•47m ago•0 comments

BashFAQ - Greg's Wiki

https://mywiki.wooledge.org/BashFAQ
2•dr_girlfriend•48m 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.