frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Whitegoods that aren't, but should be

https://www.rubenerd.au/whitegoods-that-arent-but-should-be/
1•Tomte•3m ago•0 comments

QR and Barcode Scanner

https://play.google.com/store/apps/details?id=com.qrcode.scanner.barcode.reader.qr.generator&hl=e...
1•karlnelsone•4m ago•1 comments

China may restrict foreign access to Chinese open-source AI models

https://www.reuters.com/technology/artificial-intelligence/china-weighs-silicon-curtain-around-so...
1•crowd51•6m ago•0 comments

Can AI Answer the $3T Question?

https://techcrunch.com/2026/07/09/can-ai-answer-the-3-trillion-question/
1•mjs06•6m ago•0 comments

The Future of Meta Superintelligence: A 1 Year Progress Update

https://newsletter.semianalysis.com/p/the-future-of-meta-superintelligence
1•mji•7m ago•0 comments

Old Photo to New Photo Online

https://oldphototonewphoto.com
1•keepscreenawake•8m ago•0 comments

Ask HN: How are you hiring engineers now?

1•nshmadhani•11m ago•3 comments

Show HN: Banana Battle – DOS Gorillas rebuilt as a web game

https://michael480th.github.io/Banana-Battle/
1•arrozconcosas•13m ago•1 comments

Anyone Mosh Coding Yet?

https://moshcoding.com
1•buffer_overlord•20m ago•0 comments

Why Industry 5.0 is more than AI-powered analytics

https://geekyants.com/blog/industry-40-built-visibility-industry-50-must-automate-decisions-says-...
2•Krishnaswaroop•22m ago•1 comments

Soaring 'McMansion' insurance prices create opening for commercial group

https://www.ft.com/content/e5c6684b-f401-405a-86f2-b5e96cb535a1
1•petethomas•24m ago•0 comments

Bayeux Tapestry delivered to British Museum in dead of night

https://www.bbc.co.uk/news/articles/cly9r54e5r4o
1•zeristor•24m ago•0 comments

Elvebredd for iOS

https://apps.apple.com/us/app/elvebredd/id6760745063
1•klausmikelson•26m ago•0 comments

The Feel-Good Story of the World Cup Is Too Good to Be True

https://www.theatlantic.com/technology/2026/06/world-cup-tourists-america/687572/
1•mmooss•27m ago•0 comments

Promising inference software, written in Zig

https://zml.ai/posts/llmd/
1•sachamorard•31m ago•0 comments

Turn off this Meta setting before someone generates AI images of you

https://www.malwarebytes.com/blog/ai/2026/07/turn-off-this-meta-setting-before-someone-generates-...
3•taubek•34m ago•1 comments

TinyToT – Tree of Thoughts Inference Server

https://github.com/guilt/TinyToT
1•vkaku•34m ago•1 comments

AI subscriptions cut quotas and raised prices in early 2026

https://wellstsai.com/en/post/ai-subscription-shakeout-2026-claude/
1•Tint6666•36m ago•0 comments

Reuters World News Podcast

https://www.reuters.com/podcasts/reuters-world-news/
1•gurjeet•37m ago•0 comments

China's provinces asked to bail out risk-fraught regional banks

https://www.chinabankingnews.com/p/chinas-provinces-asked-to-bail-out
2•andsoitis•48m ago•0 comments

Publishers Are Preparing to Opt Out of Google Search

https://www.adweek.com/media/publishers-opt-out-google-search/
8•giuliomagnifico•51m ago•0 comments

Lisp as the Maxwell's Equations of Software

https://michaelnielsen.org/ddi/lisp-as-the-maxwells-equations-of-software/
35•andsoitis•51m ago•1 comments

Experiment with tiny quantum universe: time 'arises' from changes in disorder

https://www.sciencedaily.com/releases/2026/07/260709160632.htm
2•alok-g•52m ago•1 comments

Neuralwatt Doubling the Price

https://portal.neuralwatt.com/pricing
2•MehrdadKhnzd•53m ago•0 comments

The great AI data centre cover-up

https://www.ft.com/content/7800ba0f-1420-49fe-b260-9838632a19a4
2•1vuio0pswjnm7•1h ago•1 comments

AI Investors Buying Accounting Companies and Force Them to Use OpenAI [video]

https://www.youtube.com/watch?v=2dp98vEGWq0
2•xbmcuser•1h ago•0 comments

Zeno's Paradox and Infinite Sums – Lectures on Infinity (Lecture 1) [video]

https://www.youtube.com/watch?v=4Y9p0yp8Mow
2•FillMaths•1h ago•0 comments

Italy privacy watchdog fines Character.ai owner over age-check failures

https://www.reuters.com/business/italy-privacy-watchdog-fines-characterai-owner-over-age-check-fa...
1•1vuio0pswjnm7•1h ago•0 comments

Hypeplan: Turn plans into terminal keynote speeches

https://github.com/martinrue/hypeplan
1•afisxisto•1h ago•1 comments

Semantic Fingerprinting Made Easy

https://github.com/thorwhalen/guise
1•ankitg12•1h 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.