frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

First-Time User Experience

https://en.wikipedia.org/wiki/First-time_user_experience
1•nomilk•1m ago•0 comments

Reverse engineering Claude's memory system

https://manthanguptaa.in/posts/claude_memory/
1•Areibman•6m ago•0 comments

The Five Forces That Broke Capitalism – and One Possible Fix

https://www.bloomberg.com/news/features/2025-12-12/is-capitalism-failing-five-factors-that-broke-...
2•helsinkiandrew•9m ago•1 comments

The Path to Mojo 1.0

https://www.modular.com/blog/the-path-to-mojo-1-0
1•maxloh•9m ago•0 comments

'Godmother of AI' says degrees are less important in hiring

https://fortune.com/2025/12/12/fei-fei-li-stanford-professor-godmother-ai-college-degrees-skills-...
2•alexgotoi•9m ago•0 comments

Turning my reading list into podcasts

https://www.coryd.dev/posts/2025/turning-my-reading-list-into-podcasts
1•freediver•11m ago•0 comments

Fearless Website Updates with Hugo

https://home.expurple.me/posts/fearless-website-updates-with-hugo/
1•Expurple•13m ago•0 comments

Show HN: How to make Professional Footer for your website (Online-Tool) by me

https://medium.com/@fachaaccou/how-to-make-a-designed-footer-for-your-website-tutorial-online-too...
1•aminekhd•13m ago•0 comments

What I learned building an opinionated and minimal coding agent

https://mariozechner.at/posts/2025-11-30-pi-coding-agent/
1•gmays•14m ago•0 comments

Photonic Chips Are Coming Faster Than Anyone Expected – Akhetonics [video]

https://www.youtube.com/watch?v=9tqOPS6x9l8
1•starwatch•15m ago•0 comments

Stop writing if statements for your CLI flags

https://hackers.pub/@hongminhee/2025/stop-writing-if-statements-for-your-cli-flags
1•dahlia•21m ago•0 comments

My Gift to the Rustdoc Team

https://fasterthanli.me/articles/my-gift-to-the-rust-docs-team
1•joshka•29m ago•0 comments

Bamboos Blossomed in Japan in 2019

https://grapeejapan.com/114838
1•nvader•32m ago•0 comments

Medieval Moons

https://aeon.co/essays/what-the-moon-meant-to-medieval-christian-and-islamic-authors
1•prismatic•34m ago•0 comments

AI Analyzes Language as Well as a Human Expert

https://www.wired.com/story/in-a-first-ai-models-analyze-language-as-well-as-a-human-expert/
2•quapster•36m ago•0 comments

Tesla made a $350 pickleball paddle

https://www.popsci.com/technology/tesla-pickleball-racket/
2•Brajeshwar•37m ago•0 comments

I migrated cursor.com from a CMS to raw code and Markdown

https://leerob.com/agents
1•mherrmann•38m ago•2 comments

DIY 3D Printed Watercooling Distro Plate [video]

https://www.youtube.com/watch?v=LZRjqpvWzGo
1•edward28•40m ago•0 comments

Theory and AI Alignment

https://scottaaronson.blog/?p=9333
1•nsoonhui•44m ago•0 comments

Show HN: KV and wide-column database with CDN-scale replication

https://github.com/ankur-anand/unisondb
5•ankuranand•45m ago•0 comments

6 Months of Living with the Light Phone III

https://lukaswerner.com/post/2025-12-13@going-light
2•derHackerman•48m ago•1 comments

Microscopic robots that sense, think, act, and compute

https://www.science.org/doi/10.1126/scirobotics.adu8009
1•XzetaU8•50m ago•0 comments

Show HN: I built this after leaking my AWS keys on StackOverflow

https://codeanswr.com
2•saradev2025•50m ago•0 comments

Yet another P2P file transfer tool

https://xypd.zorig.dev/
1•zorig•51m ago•0 comments

Show HN: I built a one-click coin flip with no ads or tracking

https://wheelpage.com/coin-flip/
2•nalife520•59m ago•0 comments

Ask HN: New user here – unable to submit a link. Do I just need to wait?

1•ursAxZA•1h ago•1 comments

Show HN: I replaced a 5-person marketing team with a swarm of autonomous agents

https://blog.vect.pro/automated-marketing-strategy-guide
1•afrazullal•1h ago•0 comments

Show HN: I built an AI that scans 10k Reddit comments to find 'Blue Ocean' ideas

https://blog.vect.pro/trend-hacking-guide
1•WoWSaaS•1h ago•0 comments

Want to know what LLMs think about your brand?

https://www.spottedby.ai/
1•dalnoon•1h ago•1 comments

Positive Imagining Changes the Brain in Seconds

https://neurosciencenews.com/positive-imagining-social-neuroscience-30036/
1•ashishgupta2209•1h ago•0 comments
Open in hackernews

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

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