frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Valve will stop selling Steam gift cards at retailers over scam concerns

https://www.pcgamer.com/gaming-industry/valve-will-stop-selling-steam-gift-cards-at-retailers-ove...
2•josephcsible•7m ago•0 comments

Just me feeling that Mythos/Fabel just 1% there?

1•punnerud•7m ago•0 comments

Validation, Docs, tests, and database schemas from one source of truth

https://github.com/justhamade/triadjs
1•justhamade•10m ago•1 comments

Humans ask, computers propose, humans decide

https://jakemccrary.com/blog/2020/11/14/speeding-up-magit/
2•signa11•12m ago•0 comments

"Trust Us" Is Not a Control Surface: Anthropic and the Case for Open Weights

https://trust-us.vercel.app
1•tonydavis•13m ago•0 comments

Smartphones Broke British Politics

https://www.politico.eu/article/keir-starmer-uk-prime-minister-resignation-brexit-whatsapp-westmi...
2•giuliomagnifico•14m ago•0 comments

Canada introduces legislation to ban social media for children under 16

https://www.reuters.com/legal/litigation/canada-introduces-legislation-ban-social-media-children-...
3•thm•20m ago•0 comments

Allegro

https://liballeg.org/
1•tosh•23m ago•0 comments

Ask HN: What internal tool did you build that became a product?

2•nehpets•24m ago•1 comments

CopenPay returns and Copenhagen now rewards tourists who arrive by train

https://www.denmarklifestyledaily.com/article/812071964-copenpay-returns-3-times-bigger-copenhage...
1•slu•27m ago•0 comments

The dispute over what caused Air India flight 171 to crash

https://www.bbc.com/news/articles/cwyk9exxp2qo
2•1659447091•28m ago•0 comments

OpenAI mulls slashing prices as it competes with Anthropic for users

https://www.cnbc.com/2026/06/11/openai-mulls-slashing-prices-ahead-of-competition-from-anthropic-...
27•agentifysh•29m ago•10 comments

Show HN: I built a Red Flag Warning zone-check tool for the East Bay in 48h

https://redflag-check.info
2•vedant28t•29m ago•0 comments

Show HN: Vaportrail – flight recorder for Claude Code, Codex, and OpenCode

https://github.com/B33BMO/vaportrail
2•b33bmo•30m ago•1 comments

Tesla robotaxis stall as Musk's self-driving hype hits real-world traffic

https://www.latimes.com/business/story/2026-06-10/tesla-robotaxis-stall-as-musks-self-driving-hyp...
3•1vuio0pswjnm7•31m ago•0 comments

YouTube terms of service allow AI music training, Google says

https://www.billboard.com/pro/google-youtube-terms-of-service-ai-music-training-lawsuit/
1•sdoering•32m ago•1 comments

Feds move to formally allow sports "trading" on prediction markets

https://www.axios.com/2026/06/10/cftc-prediction-markets-sports-event-contract-rules
1•1vuio0pswjnm7•38m ago•0 comments

Nearly Everyone, Everywhere, Veers Left When Walking

https://www.nytimes.com/2026/06/10/science/humans-walking-veer-left-counterclockwise.html
4•bryanrasmussen•39m ago•2 comments

Agentic Frameworks

https://astledsa.substack.com/p/agentic-frameworks
1•astledsa•41m ago•0 comments

Adafruit files suit against Flux.ai over legal threats [pdf]

https://storage.courtlistener.com/recap/gov.uscourts.cand.471648/gov.uscourts.cand.471648.1.0.pdf
4•russdill•44m ago•1 comments

TokenPulse – Live token and rate limit tracker for Claude and ChatGPT

https://chromewebstore.google.com/detail/tokenpulse-—-chatgpt-clau/oimclhdbljodjkankcnalklchfce...
1•Anoop69_•45m ago•0 comments

TikTok

https://tiktok-guahdfjhshrk.com
1•DARKNNESSANKC•46m ago•0 comments

Grit by GitButler: A from-scratch reimplementation of Git in idiomatic Rust

https://github.com/gitbutlerapp/grit
1•maxloh•49m ago•0 comments

It blocked us at 'hello ' Anthropic Fable 5 refusing innocuous prompts

https://www.theregister.com/ai-and-ml/2026/06/10/anthropic-claude-fable-5-refuses-innocuous-promp...
9•abliterationai•51m ago•1 comments

I built a tool that reads code and lists features with file:line refs

https://www.verifiablyai.com/projects/requests
1•arvvind•53m ago•0 comments

Join-Calculus

https://en.wikipedia.org/wiki/Join-calculus
1•tosh•54m ago•0 comments

See what your AI coding agent is doing with Datadog Lapdog

https://chrisebert.net/see-what-your-ai-coding-agent-is-doing-with-datadog-lapdog/
1•cebert•1h ago•0 comments

Terms of Service Ban AI Agents from Using Stack Overflow for Agents

https://meta.stackoverflow.com/questions/438910/introducing-stack-overflow-for-agents
2•nomilk•1h ago•0 comments

Sales Is the Customer Clock

https://hari.computer/sales-is-the-customer-clock
2•andytratt•1h ago•0 comments

The Algorithm for Precision Medicine

https://www.janestreet.com/tech-talks/algorithm-for-precision-medicine/
2•vismit2000•1h 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.