frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

docs: Add AI Section to Contributing.md

https://github.com/thelounge/thelounge/pull/5130/files
1•MaxLeiter•14s ago•0 comments

LLMs Can Infer Political Alignment from Online Conversations

https://arxiv.org/abs/2603.11253
1•Anon84•24s ago•0 comments

Technical Deep Dive into the Entropy Issue

https://blog.coinkite.com/entropy-technical-backgrounder/
1•janandonly•55s ago•0 comments

Kimi K3 found a new lower bound for the minimal superpermutation problem

https://levkropp.github.io/superperm/
1•biglevvo•1m ago•0 comments

Official ModRetro M64 Deep Dive: Console, Controller, Games [video]

https://www.youtube.com/watch?v=9gOJUEcKYRk
1•nomilk•1m ago•0 comments

Open Hardware and Free Software: Teufel Mynd, a Case Study

https://fsfe.org/news/2026/news-20260629-01.html
1•smartmic•5m ago•0 comments

Drones offer alternative to balloons for weather research

https://www.theguardian.com/news/2026/jul/31/weatherwatch-drone-base-station-offers-alternative-w...
1•arnejenssen•5m ago•0 comments

Fetch Needs Error Codes

http://www.jasnell.me/posts/fetch-needs-error-codes
1•meysamazad•5m ago•0 comments

Reviewing finished tasks from last week in org-agenda and Emacs

https://ashishpanigrahi.com/blog/done-items-org-agenda/
1•meysamazad•7m ago•0 comments

List of Style Guides

https://en.wikipedia.org/wiki/List_of_style_guides
1•dredmorbius•7m ago•1 comments

Show HN: Rad – A New Relational Database

https://www.radengine.dev/
1•Southclaws•13m ago•0 comments

A Scriptable 3D Graph Visualization

https://verticesandedges.net/?nburl=./examples/Cube.ipynb
1•countgraph•16m ago•0 comments

Enterprise cloud infrastructure uptake shows no sign of slowing

https://www.theregister.com/off-prem/2026/08/01/enterprise-cloud-infrastructure-uptake-shows-no-s...
2•magoghm•18m ago•0 comments

How to Prompt Any LLM?

https://blog.sparsh.dev/how-to-prompt-llms/
1•sparshrestha•19m ago•1 comments

BitChat: When the government bans the app, but not the network

https://ownyourdatamp.substack.com/p/bitchat-when-the-government-bans
2•marcoparisi•20m ago•0 comments

What is distributed Key Generation (DKG)?

https://stoffelmpc.com/stoffel-blog/what-is-distributed-key-generation-(dkg)
1•badcryptobitch•22m ago•0 comments

Show HN: WordJS – Open-source CMS where plugins run in OS sandboxes

https://github.com/jaimemartinez/wordjs
1•jaimedmartinezh•26m ago•0 comments

Startup Game

1•FDX2018•28m ago•0 comments

A Surveillance Treaty in Disguise: Canada Signs UN Cybercrime Convention

https://www.michaelgeist.ca/2026/07/a-surveillance-treaty-in-disguise-the-trouble-with-canadas-qu...
23•iamnothere•29m ago•1 comments

The World First AI Agentic Radio, for vibe coders, good vibes only

https://www.twitch.tv/myimaginationai
1•myimaginationai•31m ago•1 comments

Codex reimplemented in 8k lines of C++, <1MB binary

https://github.com/paoloanzn/microcodex
2•paoloanzn•36m ago•0 comments

Show HN: CSP Validator and Generator

https://dmarcguard.io/tools/csp-validator/
1•meysamazad•38m ago•0 comments

China's tech advances are causing chaos from Silicon Valley to the White House

https://www.theguardian.com/technology/2026/aug/01/china-silicon-valley-white-house
5•beardyw•38m ago•1 comments

Ask HN: Can AI breakthroughs in mathematics help non-mathematicians feel better?

1•amichail•40m ago•1 comments

The Art of 64-bit Assembly

https://nostarch.com/art-64-bit-assembly-v2
2•0x54MUR41•40m ago•0 comments

Cradle. Animated Web Companions

https://cradlestudio.vercel.app/
1•maranga•41m ago•1 comments

Beauty in My Backyard

https://worksinprogress.co/issue/beauty-in-my-backyard/
1•jger15•42m ago•0 comments

Grok: Imagine Video 1.5

https://twitter.com/grok/status/2083353607370416632
2•tosh•49m ago•0 comments

The Collatz conjecture was false [video]

https://www.youtube.com/watch?v=RnfFC_LowtU
2•ykonstant•49m ago•1 comments

Supply and Demand Is Not What Most People Think

https://shonczinner.substack.com/p/supply-and-demand-is-not-what-most
2•kjshsh123•51m 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.