frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

EFF Challenges Secrecy in Eastern District of Texas Patent Case

https://www.eff.org/deeplinks/2026/04/eff-challenges-secrecy-eastern-district-texas-patent-case
1•Brajeshwar•1m ago•0 comments

Pi in the Sky (2016)

http://www.piinthesky.co/
1•radeeyate•2m ago•0 comments

Simulating and Evaluating Agentic Systems

https://www.gojiberries.io/simulating-and-evaluating-agentic-systems/
1•neehao•3m ago•0 comments

I Went to Jail

https://lincolnquirk.substack.com/p/i-went-to-jail
1•Cider9986•4m ago•0 comments

Why would ChatGPT "confess" to a crime it didn't commit?

https://radleybalko.substack.com/p/why-would-chatgpt-confess-to-a-crime
1•xKingfisher•5m ago•0 comments

Just How Much Should You Worry About Eating That Burnt Toast?

https://www.mcgill.ca/oss/article/medical-critical-thinking-health-and-nutrition/just-how-much-sh...
1•amichail•6m ago•0 comments

How Opus Came To Be (2019)

https://jmvalin.dreamwidth.org/16616.html
1•1317•6m ago•0 comments

"That's how floating point errors and triangle numbers solved a mystery."

https://unsung.aresluna.org/thats-how-floating-point-errors-and-triangle-numbers-solved-a-mystery/
1•rbanffy•10m ago•0 comments

Mise-En-Place

https://mise.jdx.dev/
1•dotmanish•12m ago•0 comments

The Death of Monochrome

https://monochrome.tf/
1•SockThief•12m ago•0 comments

PSA: If you're running iSponsorblockTV you'll need to pair your devices again

https://www.reddit.com/r/selfhosted/s/Au5rKG8VbB
1•dmunozv04•15m ago•1 comments

Claude Is Guilt-Ridden About the War, but Not Enough to Tell the Truth

https://newrepublic.com/article/209404/claude-ai-iran-war-guilt-truth
1•mortar•15m ago•1 comments

New NTFS-3G release after 4 years

https://github.com/tuxera/ntfs-3g/releases/tag/2026.2.25
2•haunter•16m ago•0 comments

Space Force awards up to $3.2B for Golden Dome interceptor prototypes

https://spacenews.com/space-force-awards-up-to-3-2-billion-for-golden-dome-interceptor-prototypes/
1•rbanffy•21m ago•0 comments

Colorado Adds Open-Source Exemption to Age-Verification Bill

https://fosstodon.org/@carlrichell/116460505717380644
3•terminalbraid•23m ago•0 comments

How to Say No (2023)

https://psyche.co/guides/how-to-stop-people-pleasing-by-learning-to-say-no
1•herbertl•24m ago•0 comments

Trump fires all 24 members of the U.S. National Science Foundation

https://www.science.org/content/article/trump-fires-nsf-s-oversight-board
45•skullone•24m ago•9 comments

Show HN: A privacy first companion AI

https://www.friendai.pro
1•krunkworx•27m ago•0 comments

George Washington as entrepreneur (2021)

https://lawliberty.org/george-washington-as-entrepreneur/
2•hhs•31m ago•0 comments

Show HN: LLM-wiki – One command Karpathy's wiki with QMD search for Claude/Codex

https://github.com/ivankuznetsov/llm-wiki
2•ivankuznetsov11•35m ago•1 comments

Objects of Categories as Complex Numbers (2002)

https://arxiv.org/abs/math/0212377
2•pizza•35m ago•0 comments

How I leared what a decoupling capacitor is for, the hard way

https://nbelakovski.substack.com/p/how-i-learned-what-a-decoupling-capacitor
4•actinium226•36m ago•0 comments

Got Bugs? U of G Collecting Samples to Catalogue Canada's Biodiversity

https://news.uoguelph.ca/2026/04/got-bugs-u-of-g-collecting-samples-to-catalogue-canadas-biodiver...
2•gnabgib•39m ago•0 comments

The Self-Defeating Condescension of an Anti-Racist Education

https://www.theatlantic.com/ideas/2026/04/anti-racism-schools-achievement-gap/686912/
3•apparent•42m ago•3 comments

Bitwarden CLI Backdoored on NPM for 93 Minutes

https://hackingpassion.com/bitwarden-cli-supply-chain-attack/
2•milkglass•44m ago•1 comments

Hair Dryer Used to Manipulate Polymarket

https://www.engadget.com/big-tech/someone-allegedly-used-a-hairdryer-to-rig-polymarket-weather-be...
2•simpleintheory•44m ago•1 comments

The Eurail Breach and the Digital ID Problem

https://reclaimthenet.org/the-eurail-breach-and-the-digital-id-problem
2•Cider9986•44m ago•0 comments

Astronomy and Mathematics in the Indian Classical Age

https://zenodo.org/records/15715590
1•suyashdeep•45m ago•1 comments

opinion: Professors Are Too Old

https://www.chronicle.com/article/professors-are-too-old
2•paulpauper•45m ago•1 comments

How Short-Form Clips Took over the Internet

https://www.theatlantic.com/podcasts/2026/04/how-short-form-clips-took-over-the-internet/686922/
2•paulpauper•46m ago•1 comments
Open in hackernews

Show HN: OpenEvolve – open-source implementation of DeepMind's AlphaEvolve

8•codelion•11mo 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•11mo 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•11mo ago
How many tokens did it take to generate the 800 versions of the code?
codelion•11mo ago
Checked my openrouter stats, it took ~3M tokens but that involved quite a few runs of various experiments.