frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

How to Build a Minimal ZFS NAS Without Synology, QNAP, TrueNAS

https://neil.computer/notes/how-to-setup-minimal-zfs-nas-without-truenas/
1•4diii•30s ago•0 comments

Traceburn, a local profiler that found 69% avoidable agent spend

https://github.com/TommyTranX/traceburn
1•tt_ay•51s ago•0 comments

How to avoid being held up by the labs

https://www.siliconcontinent.com/p/how-to-avoid-being-held-up-by-the
1•dash2•2m ago•0 comments

Show HN: I built an AI hairstyle preview tool before your next haircut

https://hairstylespro.com
1•shanxi•6m ago•0 comments

Show HN: 0day Rubbish – AI Vulnerability Discovery Platform (0day-Rubbish.com)

https://0day-rubbish.com/
1•wisdomtreelzz•8m ago•0 comments

Trump administration lifts restrictions on OpenAI's GPT 5.6

https://www.axios.com/2026/07/08/openai-gpt-trump-ban-lifted
2•jessesoo•17m ago•1 comments

Linus Torvalds Warned Everyone About Microsoft – Now It's Happening in RT

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

Kortix

https://kortix.com
1•handfuloflight•24m ago•0 comments

Understanding the Go Runtime: Profiling

https://internals-for-interns.com/posts/go-runtime-profiling/
1•valyala•24m ago•0 comments

Running go-to-market like an engineer: my first 90 days at a dev tool

https://tessakriesel.com/how-i-grew-signups-71-in-90-days-by-running-gtm-like-an-engineer/
1•builtfordevs•25m ago•0 comments

Show HN: Mold, an autonomous zine about AI culture

https://www.moldzine.ai/
1•gabelev•27m ago•0 comments

Half of Americans struggle to afford groceries and gas, exclusive poll finds

https://www.theguardian.com/business/2026/jul/07/cost-of-living-poll-groceries-gas
4•rawgabbit•30m ago•1 comments

So you want to learn physics (second edition, 2021)

https://www.susanrigetti.com/physics
2•azhenley•32m ago•0 comments

Show HN: AI or Not

https://aiornot.vote/
1•buffer_overlord•32m ago•0 comments

Agent Data Injection Attacks

https://arxiv.org/abs/2607.05120
4•juppytt•34m ago•2 comments

On vibe forks

https://rahulpandita.me/blog/2026-06-29-vibe-forks/
1•azhenley•34m ago•0 comments

Maine librarians are helping patrons resist AI and Big Tech

https://www.bangordailynews.com/2026/07/02/midcoast/midcoast-culture/maine-librarians-are-helping...
5•cdrnsf•36m ago•0 comments

Copy That Floppy – Cambridge guide for preserving data from fragile floppy disks

https://www.digipres.org/the-floppy-guide/
2•whiteblossom•37m ago•0 comments

Japan's borrowing costs soar to 30-year high on debt fears

https://www.ft.com/content/851aa883-073f-4423-a43e-9b09fdbe7c86
1•petethomas•38m ago•0 comments

3.5M Developers. Then Microsoft Pulled the Plug

https://www.youtube.com/watch?v=CPhAkzb4kUo
1•cable2600•39m ago•0 comments

Show HN: A quiet new tab that replaces your default boring new tab in Chrome

https://chromewebstore.google.com/detail/nook-tab/loogeapnnikphlehifdfmmceaeidbhnd
1•masterbrewer•42m ago•0 comments

Protobuf-py: Protobuf for Python, without compromises

https://buf.build/blog/protobuf-py
2•ming13•43m ago•1 comments

Paseo: Orchestrate coding agents from your desk and your phone

https://paseo.sh/
1•jerlendds•43m ago•0 comments

I made an "evolving scene" presentation creation skill

https://github.com/Codagent-AI/and-scene
1•paulcaplan•44m ago•1 comments

Forget the GPU Shortage: The Real AI Bottleneck Was Diagnosed in 2007

https://sal4rkhn.substack.com/p/forget-the-gpu-shortage-the-real
2•salarkhannn•46m ago•0 comments

China May Restrict Access to Its Most Powerful AI Models

https://time.com/article/2026/07/07/china-ai-models-alibaba-bytedance/
1•stenlix•47m ago•0 comments

SQLite (2.2k files) vs. MySQL-Server (58k files) visualization

https://old.reddit.com/r/PrincipalAi/comments/1uqgpll/mysql58k_files_vs_sqlite22k_files_visualiza...
1•fernando-ram•47m ago•0 comments

How America's Wealth Distribution Has Changed Since 1989

https://www.visualcapitalist.com/americas-wealth-distribution-1989-2025/
3•theanonymousone•51m ago•0 comments

We built a Rust EDR. macOS notarization tried to kill it

https://www.nemesislabs.xyz/
1•davidobi023•52m ago•0 comments

Wall clock is the wrong metric

https://www.anantjain.xyz/posts/wall-clock-is-the-wrong-metric
1•anant90•52m 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.