frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Supply Chain Attacks in Practice

https://kerkour.com/supply-chain-attacks-in-practice
1•512bitCrypto•35s ago•0 comments

Show HN: Chrome extension that flags phishing and typosquatted sites

https://haveibeensquatted.com/browser-protection
2•charlieekelly•1m ago•0 comments

Show HN: Kompromat, a minimalistic open-source protocol for read teaming

https://kompromat.sh/
1•punctumfix•1m ago•0 comments

Every Role but Author: Directing AI Agents on Mission-Critical Infrastructure

https://www.cycletime.com/writing/every-role-but-author/
1•lanestevens•1m ago•0 comments

SSH agent forwarding is dangerous

https://kimhq.net/blog/secure-ssh-agent-forwarding/
1•Kimcha•1m ago•1 comments

Time to move on: why RushDB took the hard path off Neo4j

https://rushdb.com/blog/time-to-move-on-from-neo4j
1•onepx•2m ago•0 comments

Show HN: Spokendocs – Voice memos and meetings to documents, locally on your Mac

https://spokendocs.com/
1•dennisschneider•2m ago•0 comments

Unbundling Multimodal Vision Encoding

https://unbundling.github.io/
1•gmays•3m ago•0 comments

Show HN: Cooja-NG: Multi-SoC emulator and low-power wireless network simulator

https://github.com/mikroverk/cooja-ng
1•joakimeriksson•4m ago•1 comments

What I Learned Building Websites for the Public Sector

https://www.ryangittings.co.uk/blog/building-websites-for-the-public-sector/
1•speckx•4m ago•0 comments

Show HN: Agav – an open-source terminal agent designed to waste fewer tokens

https://github.com/prapaa-ai/agav
2•GeradeMoleculee•5m ago•0 comments

AI crawlers read my site more than Google does. A third of Googlebots were fake

https://opensource-analytics.com/ai-crawlers-in-access-logs/
1•markosavran•5m ago•1 comments

Splitting EBS gp3 into tiers for cost savings: fio tests on 2TB and 8TB volumes

https://backedblock.io/blog/fio-vs-gp3
1•migrx•5m ago•0 comments

Show HN: Revix AI – PR review against the standards your repo follows

https://www.revix.ai
1•oscarestudillom•6m ago•0 comments

Solveit: Take back your agency. (from fast.ai)

https://solve.it.com/
1•chrisczura•6m ago•1 comments

How do you recover why a technical decision was made, six months later?

https://archlog.dev/
1•ArchLog•7m ago•1 comments

Show HN: Daily Scribe – a daily newspaper for Kindle you can write back to

https://www.dailyscribe.ca
1•RonanOD•8m ago•0 comments

Supertoast, Redux

https://hatchet.run/blog/supertoast-wasnt-enough
1•abelanger•10m ago•0 comments

Show HN: I built the Apple Screen Time I needed to stop doomscrolling / phubbing

https://www.lightscroll.app/
1•juanferreras•10m ago•0 comments

Vue Flow joins xyflow

https://xyflow.com/blog/vue-flow-joins-xyflow
1•moklick•12m ago•0 comments

Gears (2020)

https://ciechanow.ski/gears/
1•dverlaeckt80•12m ago•0 comments

Vera Rubin NVL72: 2x Blackwell Ultra Performance in MLPerf Training v6.1

https://developer.nvidia.com/blog/nvidia-vera-rubin-nvl72-achieves-up-to-2x-blackwell-ultra-perfo...
1•wondersky•12m ago•0 comments

Efficacy of exercise therapies in knee osteoarthritis (network meta-analysis)

https://pmc.ncbi.nlm.nih.gov/articles/PMC13762337/
2•chavasorani•13m ago•1 comments

Show HN: Kalka – An open-source design tool where every layer is real HTML/CSS

https://github.com/leyscore/kalka
1•bauriceley•13m ago•0 comments

Show HN: LooPo – A word completion game run in the browser

https://loopo.online
1•yuzman•14m ago•0 comments

Using Tries to resolve bash command effects in 343 nanoseconds

https://dirac.run/posts/braket
1•GodelNumbering•15m ago•0 comments

Show HN: Nanossh – A lightweight SSH-like remote shell in Rust(2.5MB RAM, 1 RTT)

https://github.com/sumant1122/nanossh
1•paperplaneflyr•15m ago•0 comments

Show HN: A base language model in Kannada (435M)

https://huggingface.co/SuhasBhairav/kalike
1•techappsdev•15m ago•0 comments

Show HN: Rewrite, a free editor that rewrites text and edits Word, LaTeX and PDF

https://github.com/SamratDuttaOfficial/Rewrite
2•TheDutta•16m ago•0 comments

Show HN: Skiss – Save websites with their real CSS, fonts and full-page shots

https://skiss.co/
2•tmaxxco•16m 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.