frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Is Arabic One Language?

https://www.parallel-arabic.com/arabic-dialects
1•selmetwa•17s ago•0 comments

Show HN: Sign Contracts on a Scroll with Wax

https://scrollusign.com
1•juliusgeo•2m ago•0 comments

Quantum effect could reverse gravity and violate Einstein's theory of relativity

https://www.newscientist.com/article/2599897-quantum-effect-could-reverse-gravity-and-violate-ein...
1•valiant-comma•4m ago•1 comments

Exclusive Stream: The Transformers: The Movie and Optimus Prime: Awakening [video]

https://www.youtube.com/watch?v=-XToMWLJEIg
1•bookofjoe•8m ago•0 comments

Show HN: Using Claude and Codex to beat the original Netflix Prize challenge

https://mquan.github.io/netflix_challenge/
1•quan•9m ago•0 comments

Dark Web Answers API: Ask the Dark Web

https://webz.io/products/dark-web-answers-api/
9•webzio1•9m ago•0 comments

What the Richest Man Did to the Poorest Children

https://www.nytimes.com/2026/11/28/opinion/elon-musk-usaid-south-sudan.html
2•esalman•10m ago•0 comments

The web is losing its personality

https://ishadeed.com/article/web-personality/
1•nothing_is_real•13m ago•0 comments

Show HN: Yonmoku, 3D four in a row with gravity for iPhone

https://jjfisherdev.github.io/yonmoku-site/
1•jshin92•13m ago•0 comments

Fotoshi

https://fotoshi.com/blog/introducing-fotoshi?id=20261109509
1•altilunium•14m ago•0 comments

A Cumulative Culture Theory for Developer Problem-Solving

https://osf.io/preprints/psyarxiv/tfjyw_v1
1•mooreds•19m ago•0 comments

Interpretable Machine Learning

https://christophm.github.io/interpretable-ml-book/
1•tomrod•19m ago•0 comments

Claude Code wastes millions of tokens for "Waiting" notifications

https://github.com/anthropics/claude-code/issues/105928
2•6581•20m ago•0 comments

Is Edge Rot the New Burn-In? [video]

https://www.youtube.com/watch?v=FPpxnE0VH88
1•skibz•20m ago•0 comments

Show HN: Renovate-preview – dry-run Renovate locally, see updates as a table

https://github.com/kwentine/renovate-preview
1•kwentine•21m ago•0 comments

I Build Engines Before I Build AI Agents

https://www.reddit.com/r/claude/comments/1y7o2n8/why_i_build_engines_before_i_build_ai_agents/
1•kileo•22m ago•0 comments

NYAG James Announces Creation of AI Enforecment Unit

https://ag.ny.gov/press-release/2026/attorney-general-james-announces-creation-ai-safety-standard...
1•PLenz•23m ago•0 comments

In Plain Code: Defeating Claude and ChatGPT

https://github.com/0x90sh/hidden-in-plain-code
3•0x90sh•23m ago•0 comments

Myst V's 2005 Neural Network

https://glthr.com/end-of-ages-slate-neural-network
1•glth•23m ago•0 comments

Show HN: Geography Daily Game Revisited

2•proy87•23m ago•0 comments

Gemma 4 fine-tuning overview

https://gemma.ai/tuning/
2•bluepeter•25m ago•0 comments

Show HN: Quark – native apps with react. no webview or Chromium

https://github.com/project-strange-quark/strange-quark
1•sinisterMage•26m ago•1 comments

So, I rewrote my game in C3

https://www.madrigalgames.com/blog/so-i-rewrote-my-game-in-c3/
1•Brajeshwar•27m ago•0 comments

LA schools block Google's AI features, consider dropping tech giant's products

https://apnews.com/article/google-artificial-intelligence-schools-search-engine-lausd-762a613b11b...
6•Teever•32m ago•0 comments

iOS on iPod Nano

https://github.com/nfzerox/iOSOniPodNano
2•msephton•33m ago•0 comments

Ask HN: Who is still worried about copyright issues with AI generated code?

2•sonjaqql•34m ago•0 comments

Show HN: Free check of whether AI assistants recommend your brand

https://geo.modelfold.ai/
1•modelfold•34m ago•0 comments

Russian Orthodox Church Patriarch Kirill Calls on Christians to Tame AI

https://www.washingtonpost.com/world/2026/11/05/paraguays-president-out-after-bank-implosion-free...
1•nephihaha•35m ago•1 comments

Physics Breakthrough Simulator

https://pages.ethanmdavidson.com/ai-physics-breakthrough
30•machinerychorus•35m ago•2 comments

Show HN: Orion game launcher, one app to rule them all

https://orion-launcher.com/en/
1•sikher06000•35m 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.