frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

OpenAI's Ad Business Is on Pace to Miss Its Own Forecast by 90%, Analyst Says

https://www.adweek.com/media/openais-ad-business-is-on-pace-to-miss-its-own-forecast-by-90-analys...
1•EvgeniyZh•2m ago•0 comments

Ask HN: How could a startup stand a chance when Reddit won't even let you post?

1•SecureChats•10m ago•0 comments

The Martian Ideology

https://www.nplusonemag.com/issue-52/reviews/the-martian-ideology/
1•arutar•17m ago•0 comments

Ask HN: Why are so many accomplished founders joining Anthropic?

1•guru3s•18m ago•2 comments

Altera returns to growth as AI, robotics fuel demand, CEO says

https://www.reuters.com/business/altera-returns-growth-ai-robotics-fuel-demand-ceo-says-2026-07-10/
1•adithyaharish•20m ago•0 comments

Why We're Dismantling the International Criminal Court

https://www.wsj.com/opinion/why-were-dismantling-the-icc-0af0a8a6
3•andsoitis•22m ago•2 comments

Turso v0.7.0

https://turso.tech/blog/turso-0.7.0
2•ms7892•25m ago•0 comments

Fake Government Loan Schemes: Warning Signs to Avoid Scams – SMFG India Credit

https://www.smfgindiacredit.com/knowledge-center/fake-government-loan-schemes.aspx
1•saumyaraut11•28m ago•0 comments

Launched BattleShip on Chaaaaa.com

1•Kevintbt•30m ago•0 comments

Rip-CLI: Commandline interface of rip

https://github.com/Projekt-RIP/rip-cli
1•thunderbong•30m ago•0 comments

Copyright law is now the biggest battleground in Australia's AI boom

https://www.abc.net.au/news/2026-07-14/copyright-law-battleground-in-australia-ai-boom/106891890
1•ahonhn•31m ago•1 comments

Ask HN: Is rapid API still worth efforts in 2026?

2•mmakeev•32m ago•0 comments

Show HN: An Interactive Guide to Poker

https://poker.shivs.me
1•sxhivs•34m ago•0 comments

Show HN: Giving Claude Code and codex its voice using kokoro

https://github.com/softcane/aloud
1•pradeep1177•47m ago•0 comments

Anthropic runs like Wile E. Coyote into the brick wall of consciousness research

https://www.theintrinsicperspective.com/p/anthropic-runs-like-wile-e-coyote
2•RebelPotato•47m ago•0 comments

The Empire Strikes Back

https://scottsumner.substack.com/p/the-empire-strikes-back
1•paulpauper•49m ago•0 comments

A new kind of robot swims the seas and soars the skies

https://www.npr.org/2026/07/09/nx-s1-5885040/robot-flying-aerial-aquatic-mit-birds
1•paulpauper•50m ago•0 comments

Cat Is Being Nice? Think Again

https://www.nytimes.com/2026/07/10/science/cat-grooming-licking-research.html
2•paulpauper•50m ago•0 comments

Australia is offering free daytime electricity

https://lenergy.com.au/free-daytime-electricity-is-coming-heres-how-it-actually-works/
4•i2oc•51m ago•2 comments

TV Time is getting shut down. It's founder is building its replacement

https://www.neowin.net/news/tv-time-is-on-its-last-legs-its-founder-is-already-building-its-repla...
1•bundie•58m ago•0 comments

IronCurtain – A secure* runtime for autonomous AI agents

https://github.com/provos/ironcurtain
1•n0on3•1h ago•0 comments

Show HN: Codex Pet Web – put any Codex pet on any website

https://pets.caro.sh
1•kobi_kadosh•1h ago•0 comments

Hands-On with iOS and iPadOS 27, macOS 27 Golden Gate, and Siri AI

https://eshumarneedi.com/2026/07/13/handson-with-ios-and-ipados.html
1•mindracer•1h ago•0 comments

GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learning

https://arxiv.org/abs/2507.19457
3•handfuloflight•1h ago•0 comments

Egypt and Turkey deny LGBTQ+ cruise access to port over immorality

https://www.jpost.com/international/article-902192
2•andsoitis•1h ago•0 comments

Locked Away

https://www.newyorker.com/magazine/2026/07/20/locked-away
3•petethomas•1h ago•0 comments

Built a Chrome extension to organize GitHub stars

https://chromewebstore.google.com/detail/stardeck/cegfcmcniionnghnglfehbdmelffbnan
1•nandanadileep29•1h ago•0 comments

Lawsuit: Man used Grok to make 7K sex images of stepdaughter, then shot himself

https://arstechnica.com/tech-policy/2026/07/lawsuit-grok-user-made-7k-child-sex-images-xai-only-r...
1•philips•1h ago•0 comments

Detection of a four-carbon sugar in interstellar space

https://www.nature.com/articles/s41550-026-02905-7
2•anyonecancode•1h ago•0 comments

US "Normalizing Unmanned Aircraft Systems Bvlos Operations" Rule Moves Closer

https://www.unmannedairspace.info/latest-news-and-information/us-normalizing-unmanned-aircraft-sy...
1•bryanrasmussen•1h 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.