Better HN
topnewbestaskshowjobs
Log inSign up

bjin

520 karma · joined Dec 29, 2010 (15y ago) · 16 submissions

Submissions

comment 1d ago · link · parent

Back in 2015, when I was still at Google, there was a small group of code-golf enthusiasts spending hours trying to save just one byte on their solutions for weekly code-golf problems. No matter how hard you tried, there always seemed to be another Googler who found a shorter solution. And once a problem entered the challenge phase and every solution became public, it was always astonishing to read how brilliant other people's solutions were.

11 years later, LLMs are evolving fast. A recent OpenAI post ("Perplexity and Intelligence", https://openai.com/index/perplexity-and-intelligence/) described researchers watching a model solve open math problems one after another in a Slack thread. I started to wonder: how would frontier models compete with the records that a small group of brilliant minds created with hours of effort each week?

So I built this benchmark. Frontier models do find a lot of new approaches (and very brilliant ones) to solve these problems. For example, in two problems ("Surviving Queens" and "The Rolling Dice"), frontier models use complex numbers to solve them in Python and Ruby (both languages have built-in complex number support). And for the "(-5)-Smooth Numbers" problem, where you have to write code to list the first n positive integers of the form (-2)^x⋅(-3)^y⋅(-5)^z, most solutions build them with nested loops or by growing a set, then sort. GPT-6.2 Astra gets them all from powers of 4, and earns a sole best with this brilliant solution:

    g=lambda n:sorted(4**i%(2**999-5)%(2**49-3)for i in range(7000))[:n]
There is a dedicated section for this: https://bjin.github.io/go-codegolf-benchmark/#why/finding-a-...

It's nice to see GPT-6.2 Astra become the first frontier model to beat the human records in code golfing. Along with other frontier models, it finds a lot of interesting solutions that Googlers back in 2015 didn't. On the other hand, I also believe code golfing can be a good benchmark (not a comprehensive one, of course) for frontier models.

Code golfing rewards thinking differently, because a shorter solution usually comes from looking at the problem from a different angle. It also rewards running experiments, not just thinking: writing a search program to find a shorter expression, or exploring lesser-known features and functions in the target compiler, interpreter, or library. Human code golfers do this a lot, and no public training data tells a frontier model how to do so.

2.

GPT-6.2 Astra is the first model to beat Googlers' code golf records(bjin.github.io ↗)

3 points · by bjin · 2d ago · 2 comments

3.

go/codegolf benchmark: frontier models vs. Google's 2015 code golfers(bjin.github.io ↗)

4 points · by bjin · 1mo ago · discuss

4.

DeepSeek Harness developer preview(deepseek.com ↗)

747 points · by bjin · 3mo ago · 314 comments

5.

Wallbleed: A Memory Disclosure Vulnerability in the Great Firewall of China(gfw.report ↗)

8 points · by bjin · 1y ago · discuss

comment 9y ago · link · parent

So, going through the "missing pieces" list you provided earlier, the only thing that actually holds is probably just NGU. You can insist that it's a "deal breaker" for you, fine. But attacking others being disingenuous simply because they don't agree is probably too much.

Context for others: NGU is a proprietary algorithm created by the author of madVR.

7.

AlphaGo's next move(deepmind.com ↗)

285 points · by bjin · 9y ago · 172 comments

8.

Clckwrks - a Haskell blogging and CMS framework(clckwrks.com ↗)

3 points · by bjin · 14y ago · discuss

9.

CSDN leaked 6M user password and emails(codeplete.com ↗)

1 points · by bjin · 14y ago · discuss

10.

The Haskell Platform 2011.4.0.0 is now available(hackage.haskell.org ↗)

117 points · by bjin · 14y ago · 11 comments

11.

Google Code Jam 2012 Schedule(code.google.com ↗)

20 points · by bjin · 14y ago · 3 comments