frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Iran Is Using Foreign Criminals to Attack Its Critics Overseas

https://www.newyorker.com/news/letter-from-the-uk/iran-is-using-foreign-criminals-to-attack-its-c...
1•firefax•2m ago•0 comments

The cost of today's "smart" devices

https://www.fsf.org/blogs/community/2026-the-hidden-cost-of-todays-smart-devices
1•smitty1e•3m ago•0 comments

The Official Ig Nobel Card Game Is Born, Improbably

https://improbable.com/2026/08/24/the-official-ig-nobel-card-game-is-born/
1•sohkamyung•7m ago•0 comments

Bookshelf – Self-hosted eBook library that runs on object storage

https://github.com/murerkinn/bookshelf
2•arbayi•8m ago•0 comments

Tiny, fast Windows Notepad replacement (source available)

https://liquidninja.com/metapad/
1•bananaboy•8m ago•0 comments

SQLite as a Document Database (2020)

https://dgl.cx/2020/06/sqlite-json-support
2•lioeters•8m ago•0 comments

The text mode lie: why modern TUIs are a nightmare for accessibility

https://www.osnews.com/story/144892/the-text-mode-lie-why-modern-tuis-are-a-nightmare-for-accessi...
3•birdculture•11m ago•0 comments

Evaluating Shrinking (Experience Report)

https://dl.acm.org/doi/10.1145/3830439.3831271
1•matt_d•12m ago•0 comments

From Gradients to ChatGPT

https://mister-meeseeks.github.io/g2c/
1•simonpure•13m ago•0 comments

Show HN: AiSyncing – Back up your AI coding assistant memories to GitHub

https://github.com/DiegoSalazar/AiSyncing
1•mastermindxs•17m ago•0 comments

Directory navigator that doesn't require you to visit a folder first

https://github.com/RudySource/Dirgo
2•rudus•17m ago•0 comments

War Machines: Netflix Confirms Sequel to Hit Sci-Fi Movie War Machine

https://moztako.me/war-machines-netflix-war-machine-sequel/
2•cecyev•18m ago•0 comments

Characterizing the spiral: potential mechanisms in AI-associated delusions

https://www.nature.com/articles/s44277-026-00065-0
3•jambalaya8•19m ago•0 comments

Mission impossible? Quantifying military emissions

https://thebulletin.org/2026/08/mission-impossible-quantifying-military-emissions/
1•measurablefunc•20m ago•0 comments

Show HN: Flostep – Diagrams people can actually walkthrough

https://flostep.dev/
1•pandurang90•23m ago•0 comments

Lean: Postmortem for the Kernel Soundness Bug Hunt

https://leodemoura.github.io/blog/2026-8-24-postmortem-for-the-kernel-soundness-bug-hunt/
3•matt_d•24m ago•0 comments

Epigenetic aging biomarker responsiveness to longevity interventions in humans

https://www.nature.com/articles/s41591-026-04562-9
3•bookofjoe•25m ago•0 comments

Show HN: Mainly – a self-hosted mail client built for your multiple domains

https://mainly.crnst8.com/
1•flowerpil•32m ago•0 comments

Equations explained colorfully with KaTeX and Markdown

https://github.com/stared/equations-explained-colorfully
1•lioeters•34m ago•1 comments

Codeanywhere Is Sunsetting

https://codeanywhere.com/blog/codeanywhere-is-sunsetting
3•jcbhmr•35m ago•1 comments

Show HN: Stigmergy, a Karpathy-style LLM wiki for a team, not one person

https://github.com/sturlese/stigmergy
1•sturlese•36m ago•0 comments

OpenDryFire – 10x cheaper laser dry-fire scoring from a webcam and mic

https://github.com/aysark/opendryfire
1•infinitone•36m ago•0 comments

Migrating off Heroku to AWS without killing your deploy speed

https://www.qovery.com/blog/migrate-heroku-to-aws-keep-deployment-fast
1•makaimc•40m ago•0 comments

PageLens–A Chrome extension that uses AI to summarize your tab

https://github.com/heinevwinston-bot/PageLens
1•WinstoneH•43m ago•0 comments

Why AI Detection Fails for Academic Integrity

https://arxiv.org/abs/2608.11256
1•Anon84•46m ago•0 comments

Agile Design and Implementation of a Systolic Array-Based CNN Accelerator (2024) [pdf]

https://www.ijerm.com/download_data/IJERM1103012.pdf
1•peter_d_sherman•51m ago•1 comments

The computer use verification skill that every agent needs

https://twitter.com/zachlloydtweets/status/2084411777354277027
1•gmays•52m ago•0 comments

Show HN: Self-hosted tunnels: local directory/port, your domain, HTTPS, passkeys

https://github.com/schappim/mygrok
1•schappim•53m ago•0 comments

iCloud+ Hide My Email addresses will remain on icloud.com

https://developer.apple.com/news/?id=1ptvdtcm
83•K7PJP•55m ago•17 comments

Supreme Court Allows Trump Plan to Restrict Mail-In Voting, for Now

https://www.nytimes.com/2026/08/24/us/politics/supreme-court-trump-mail-ballots.html
6•mikhael•55m ago•2 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.