frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

I wish someone told me this before I gave 50% of my company away:(

https://medium.com/@marvlus/i-wish-someone-told-me-this-before-i-gave-away-50-of-my-company-523ba...
1•marvinrussell•3m ago•0 comments

Pomp and symbolism mark Kim Jong Un's first state visit to China

https://www.reuters.com/graphics/CHINA-NORTHKOREA/lgvdzjnllvo/
1•giuliomagnifico•3m ago•0 comments

The rise of the populist right is not a mystery

https://www.ft.com/content/dd5b4b67-8d25-4552-a89a-2d51f837205c
2•aanet•3m ago•1 comments

GL.iNet admits using reverse shells on routers during breach response

https://www.bleepingcomputer.com/news/security/glinet-admits-using-reverse-shells-on-routers-duri...
2•floralhangnail•4m ago•0 comments

Congress Could Put Encrypted Messaging at Risk in Next Week's Defense Vote

https://www.eff.org/deeplinks/2026/12/congress-could-put-encrypted-messaging-risk-next-weeks-defe...
1•nickslaughter02•4m ago•0 comments

Tell HN: Main/master debacle still hurts 7 years later

1•lostmsu•5m ago•0 comments

Cloudflare CEO Warns of AI Encryption Risks as Eight Tech Giants Urge Upgrades

https://www.ibtimes.co.uk/cloudflare-post-quantum-cryptography-transition-2027-1836788
1•jboyonline•7m ago•0 comments

Google rushed to swap Chrome P-256 key 11 days before NSA AI crypto warning

https://www.xda-developers.com/google-rushed-replace-cryptographic-signing-key-chrome-before-nsa/
1•sdko•9m ago•0 comments

Electric recycling of Portland cement at scale

https://www.nature.com/articles/s41586-024-07338-8
1•foota•9m ago•1 comments

RedCopilot – Find subreddits for your product and check their rules

https://redcopilot.certifiedkarma.com/
4•ameypandey•10m ago•0 comments

Chrome will stop trusting popular HTTPS certificates in March

https://arstechnica.com/security/2026/12/chrome-will-stop-trusting-popular-https-certificates-in-...
1•jonbaer•11m ago•0 comments

Labor market analysis – are we cooked yet?

https://nitbard.codeberg.page/2026/12/05/employer_demand_across_the_post_pandemic_economy.html
1•nitbard•11m ago•0 comments

Grand Theft Auto VI Has Made the PlayStation 5 'Sold Out Everywhere'

https://www.nytimes.com/2026/12/05/business/ps5-gta-6-sony-buyers.html
2•saikatsg•14m ago•0 comments

SamBLE – Open-Source Bluetooth Low Energy SoC

https://github.com/fuad1502/samble
1•altilunium•15m ago•0 comments

Show HN: Earth Now – a live 3D Earth wallpaper for macOS

https://github.com/Hensobo/earth-now
1•HenSobo•15m ago•0 comments

Keyboards from up to 283 brands at risk of keystroke hijacking

https://cyberinsider.com/keyboard-software-vulnerability/
2•kelt•18m ago•0 comments

MCP rug pulls: how to detect when an MCP server changes its tools

https://axium-lab.com/blog/mcp-rug-pull
2•luisperis1011•18m ago•0 comments

The complete map of the US financial system

https://economy.fogpier.com/map
1•zdw•21m ago•0 comments

Mercedes reaches labour deal to secure German sites in cost row

https://www.reuters.com/business/world-at-work/mercedes-reaches-labour-deal-secure-german-sites-c...
2•Tomte•22m ago•0 comments

Judge in Amazon vs. Perplexity suit dismisses claim as to browser but not iOS [pdf]

https://storage.courtlistener.com/recap/gov.uscourts.cand.459191/gov.uscourts.cand.459191.142.0.pdf
1•droidjj•23m ago•0 comments

Claude Became an Accomplice in a Plot to Steal a Startup's Codebase

https://www.bloomberg.com/news/features/2026-12-03/anthropic-s-claude-helped-in-an-insider-plot-t...
1•propter_hoc•24m ago•2 comments

Show HN: Catpad – cat that purrs via trackpad for ADHD brains

https://getcatpad.com/
1•ddbrx•24m ago•0 comments

OneBusAway Pocket: Real-Time Bus and Train Arrivals Without a Server

https://opentransitsoftwarefoundation.org/2026/12/introducing-onebusaway-pocket/
1•aaronbrethorst•24m ago•0 comments

Change or add anything on this site

https://levmiseri.com/changeme/
2•levmiseri•27m ago•0 comments

Only one of 13 surveyed Android phone models cut storage from 2025 to 2026

https://heavytechasia.com/only-one-of-13-surveyed-phone-models-cut-storage-from-2025-to-2026/
2•ilamont•30m ago•0 comments

First-ever AI movie hits theaters as Hollywood grapples with AI use

https://www.cbsnews.com/news/gods-dont-give-gifts-first-fully-ai-movie-theaters/
3•satvikpendem•32m ago•0 comments

Show HN: Bay Area tech jobs near Caltrain and BART stations

https://hypetrain.fyi
2•0x676c•32m ago•0 comments

What's your optimal Claude model setting?

2•novlrdotcom•32m ago•0 comments

Adobe Acrobat 2020 owners hit by a sudden licence problem

https://www.neowin.net/news/adobe-acrobat-2020-owners-hit-by-a-sudden-licence-problem/
3•dutchvanderlind•37m ago•0 comments

Ladies of the Kasbah, the Story of Ireland's Most Infamous Brothel

https://garethstack.wordpress.com/2026/12/05/ladies-of-the-kasbah-the-story-of-irelands-most-infa...
3•dbspin•37m ago•1 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.