frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Case Study: AI Trainer Platform and Job Board [Months 1-6]

https://www.indiehackers.com/post/case-study-ai-trainer-platform-and-job-board-months-1-6-fcb5f25d54
1•interceptor666•1m ago•0 comments

Show HN: Nostalgia – A shareable Windows 98 desktop builder

https://nostalgia-stilloo.zocomputer.io/
1•tsachin•2m ago•0 comments

Stop screeching about immigration, and get smart about it

https://www.noahpinion.blog/p/stop-screeching-about-immigration
1•squirrel•2m ago•0 comments

Show HN: AI Toolbox supports Claude Opus 5

https://www.ai-toolbox.co
1•superduper5551•2m ago•0 comments

Ask HN: Good Data Classification Software?

1•ChrisRun•5m ago•0 comments

New Tariffs Cover 99.4% of U.S. Imports. Your Plan Doesn't

https://medium.com/@alanscottencinas/new-tariffs-cover-99-4-of-u-s-imports-your-plan-doesnt-cb3a7...
1•encinas88•10m ago•0 comments

Code mode can help smaller LLM models

https://instavm.io/blog/how-code-mode-can-help-smaller-llm-models
1•mkagenius•13m ago•0 comments

Show HN: The TERSE state language and protocol

https://github.com/terse-lang/terse
1•infiniteAdmin•14m ago•1 comments

WICG Proposal Draft: Web Smart Card API

https://wicg.github.io/web-smart-card/
1•ubavic•15m ago•0 comments

Geometric Median

https://en.wikipedia.org/wiki/Geometric_median
1•rzk•16m ago•0 comments

SIMD within a bignum in pure Python

https://www.da.vidbuchanan.co.uk/blog/python-swar.html
1•fanf2•17m ago•0 comments

Click to Pray, Click to Leak: The Pope's Official App Exposes 700K+ User Emails

https://bobdahacker.com/blog/click-to-pray
3•OuterVale•21m ago•0 comments

Sharecoin – GPU fork of Bitcoin with a randomness beacon

https://github.com/TVHeroes/Sharecoin
2•TVHeroes•29m ago•0 comments

I'm Running a Programming Contest

https://eieio.games/blog/im-running-the-icfp-programming-contest/
1•signa11•31m ago•0 comments

The interesting part of an Agent Harness is what you add on top

https://www.martinrichards.me/post/whats_inside_the_harness/
1•3uler•31m ago•1 comments

Why a philosopher turned down Anthropic (AI industry asking the wrong questions)

https://www.ft.com/content/bdb3b820-905b-431e-82c0-386535755af1
1•bishopsmother•32m ago•0 comments

Memory Safety's Hardest Problem

https://matklad.github.io/2026/07/20/memory-safety-hardest-problem.html
1•miniBill•34m ago•0 comments

Continuation-Centric Computing with Arca

https://www.usenix.org/conference/osdi26/presentation/srivatsan
1•matt_d•36m ago•0 comments

Vortex – a Bluetooth-first alternative to KDE Connect

https://github.com/zoir-dev/vortex
2•zoyirjon•37m ago•0 comments

Ask HN: Teach Me Something New

1•chistev•37m ago•1 comments

Trump lashes out at 'fake news' jokes about 2028 presidential run, in press gala

https://www.france24.com/en/americas/20260725-trump-lashes-out-at-fake-news-and-jokes-about-2028-...
1•JPLeRouzic•37m ago•0 comments

Attorney General Bonta Secures Deal Halting Warner Bros

https://oag.ca.gov/news/press-releases/attorney-general-bonta-secures-deal-halting-warner-bros-pa...
1•01-_-•38m ago•0 comments

Australia's Next Target in the War on Kids Online: Your VPN

https://www.techdirt.com/2026/07/20/australias-next-target-in-the-war-on-kids-online-your-vpn/
1•01-_-•39m ago•0 comments

Against Slop: An Interview with Meghan O'Gieblyn

https://substack.nybooks.com/p/against-slop-an-interview-with-meghan
1•Michelangelo11•40m ago•0 comments

QBE Build Script for Windows

https://codeberg.org/codemplasi/QBE-Compiler-Backend-for-windows
1•triilman•42m ago•1 comments

A Rubyist in Go Land: Your First Pokémon API Client

https://baweaver.com/writing/2026/07/24/a-rubyist-in-go-land-your-first-pokemon-api-client/
1•thunderbong•42m ago•0 comments

The Last Honest Movie Star [video]

https://www.youtube.com/watch?v=1leVuo5M6w4
2•7777777phil•42m ago•0 comments

Amazon cuts some jobs in its artificial general intelligence unit

https://www.cnbc.com/2026/07/22/amazon-lays-off-some-employees-in-its-agi-unit.html
5•mgh2•45m ago•0 comments

Show HN: TS Compiler Knowledge Graph reducing AI tokens about 90%

https://github.com/samchon/ttsc/tree/master/packages/graph
2•autobe•46m ago•0 comments

Canadian woman who was NATO intern arrested in Belgium on spying charge

https://www.reuters.com/world/china/canadian-woman-who-was-nato-intern-arrested-belgium-spying-ch...
4•doener•46m 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.