frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

MathML

https://developer.mozilla.org/en-US/docs/Web/MathML
1•tosh•6m ago•1 comments

The cost of military deployments (and why Europe is running out of time)

https://vulpesetleo.substack.com/p/pulling-5000-troops-from-germany
1•hnsa•10m ago•0 comments

Fixing LLM Writing with Distribution Fine Tuning

https://rosmine.ai/2026/05/18/fixing-llm-writing-with-distribution-fine-tuning/
1•tosh•11m ago•0 comments

Samsung to distribute up to $26.6B to staff in AI-driven bonuses

https://www.tomshardware.com/tech-industry/big-tech/samsung-reportedly-set-to-distribute-up-to-us...
3•signa11•17m ago•2 comments

Repeated Header in a Next.js page using iframe and BBPress

1•Thompson_Li•23m ago•0 comments

Chapter House: A Complete Children's Library

https://chapter.house/
1•MrBuddyCasino•23m ago•0 comments

Full Stack Developer

1•shoaibcodes•25m ago•0 comments

Show HN: Sylph – the open-source company brain behind my YC startup

https://github.com/getnao/sylph
2•ClaireGz•25m ago•0 comments

ChatGPT for PowerPoint in Beta

https://chatgpt.com/apps/powerpoint/
1•sofumel•30m ago•0 comments

Efficient, SQL-backed C++ project indexer designed for large codebases

https://github.com/walti1972/mcp-cpp-project-indexer
1•walti1972•30m ago•0 comments

Former Price Andrew sexual misconduct being examined

https://www.abc.net.au/news/2025-11-01/virginia-giuffre-voice-finally-heard-prince-andrew-epstein...
1•asdefghyk•47m ago•1 comments

Samsung Chip Workers to Get Average $340k Bonus in AI Boom

https://www.bloomberg.com/news/articles/2026-05-21/samsung-chip-workers-to-get-average-340-000-bo...
1•helsinkiandrew•48m ago•2 comments

Why does the arrow (->) operator in C exist?

https://stackoverflow.com/questions/13366083/why-does-the-arrow-operator-in-c-exist
4•signa11•57m ago•1 comments

Welcome to John Regehr's Integers in C quiz

https://acepace.net/integerQuiz/
2•signa11•58m ago•0 comments

PopPy: Opportunistically Exploiting Parallelism in Python Compound AI Apps

https://arxiv.org/abs/2605.18697
1•matt_d•1h ago•0 comments

Use your Intel iMac as an external display for Apple Silicon Macs

https://github.com/swellweb/targetBridge
1•tjek•1h ago•0 comments

SpaceX tries to launch a bigger Starship, hits a series of last-minute problems

https://apnews.com/article/spacex-musk-starship-rocket-launch-eee2fd12d03e7c3c2e24753eb80c0d17
1•1vuio0pswjnm7•1h ago•0 comments

Interview with the Engineer of Uruky, a Privacy Search Engine

https://theprivacydad.com/interview-with-the-engineer-of-uruky-a-private-search-engine/
1•BrunoBernardino•1h ago•0 comments

SpaceX is heavily reliant on Starlink for growth and profit

https://www.cnbc.com/2026/05/21/spacex-starlink-growth-profit-nasdaq-ipo.html
2•1vuio0pswjnm7•1h ago•0 comments

Despite a $500M net worth, Shaq just finished his fourth degree

https://fortune.com/2026/05/20/500-million-net-worth-shaq-finished-his-fourth-degree-warning-for-...
3•1vuio0pswjnm7•1h ago•0 comments

I Simulated 31,125 VR Data Streams to Break My Hardware (Emovision Stress Test)

https://linustechtips.com/topic/1637924-i-tried-to-melt-my-intel-ultra-7-router-setup-simulating-...
2•Subtextofficial•1h ago•0 comments

First Starship Interplanetary Mission

https://www.spacex.com/updates#first-starship-interplanetary-mission
1•cryptoz•1h ago•1 comments

AIMF – An open file format specification for AI-native media

https://github.com/ai-mf/media-engine
1•aimediaformat•1h ago•0 comments

Amnesty supports Dutch lawsuit against illegal tracking in Apps by AppLovin

https://www.amnesty.org/en/latest/news/2026/05/amnesty-international-supports-lawsuit/
2•DavideNL•1h ago•1 comments

What I learned from tinkering with programming languages in the last 34 days

2•alonsovm44•1h ago•0 comments

ML-intern: an open-source ML engineer that reads papers, trains and ships models

https://github.com/huggingface/ml-intern
3•pyinstallwoes•1h ago•1 comments

Canada's early-stage angel investing falls to five-year low

https://www.theglobeandmail.com/business/article-early-stage-angel-investing-report-national-ange...
2•petethomas•1h ago•0 comments

Ramen at 8. Run after work. Movie tonight. Drop the plan. See who's innn

https://www.innn.life
2•essekar•1h ago•0 comments

SimpleUI – a user-friendly homescreen for KOReader

https://github.com/doctorhetfield-cmd/simpleui.koplugin
1•Curiositry•1h ago•0 comments

Designing Firefox for the Future

https://blog.mozilla.org/en/firefox/new-firefox-design/
6•microflash•1h 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.