Better HN
topnewbestaskshowjobs
Log inSign up

trekhleb

1,628 karma · joined Oct 25, 2017 (9y ago) · 148 submissions

Creator of javascript-algorithms repo on GitHub. Software engineer @Uber.

https://trekhleb.dev

https://github.com/trekhleb

https://www.linkedin.com/in/trekhleb/

Submissions

1.

Michelangelo AI(michelangelo-ai.org ↗)

2 points · by trekhleb · 1w ago · discuss

2.

Agent Skills(vercel.com ↗)

1 points · by trekhleb · 1w ago · discuss

3.

Claude-Pod(github.com ↗)

2 points · by trekhleb · 1mo ago · discuss

4.

Several Models Debate to Consensus(yesbrainer.ai ↗)

1 points · by trekhleb · 1mo ago · discuss

comment 1mo ago · link · parent

Typo. Thanks for pointing that out.

6.

Self-parking car using genetic algorithm (2021)(trekhleb.dev ↗)

66 points · by trekhleb · 1mo ago · 5 comments

7.

344,799 Bible cross-references(trekhleb.dev ↗)

3 points · by trekhleb · 1mo ago · discuss

8.

Bible Fascinator(designs.drawingwithdata.com ↗)

1 points · by trekhleb · 2mo ago · discuss

9.

Multiple LLMs trying to reach a consensus(trekhleb.dev ↗)

2 points · by trekhleb · 4mo ago · discuss

10.

The Everything Chart(levels.io ↗)

3 points · by trekhleb · 4mo ago · discuss

11.

IT Atlas(levels.fyi ↗)

4 points · by trekhleb · 4mo ago · discuss

12.

Wayback Machine(web.archive.org ↗)

7 points · by trekhleb · 4mo ago · discuss

comment 4mo ago · link · parent

Thank you.

The comparison and the reference to the karpathy/llm-council is available on GitHub https://github.com/trekhleb/yesbrainer

In short, Karpathy's llm-council is one fixed answer→rank→synthesize pass behind a local server you have to run, while Yes-Brainer is a zero-setup browser app with three deliberation structures — including a real multi-round debate (consensus mode)

comment 4mo ago · link · parent

The app is open-sourced here https://github.com/trekhleb/yesbrainer - feel free to check the sources

15.

Show HN: Yes-Brainer – A council of LLMs that debate in the browser, BYOK(yesbrainer.ai ↗)

1 points · by trekhleb · 4mo ago · 3 comments

16.

Claude's Learning Mode(engadget.com ↗)

1 points · by trekhleb · 4mo ago · discuss

comment 5mo ago · link · parent

This article gave me another nudge towards running Claude in a Docker container.

I made a thin Docker container wrapper "claude-pod" recently for my personal usage here: https://github.com/trekhleb/claude-pod

However, I wasn't using it that often, just because of that additional friction of running Claude via `PORTS="3000 5173" claude-pod` instead of just `claude`, etc.

But now I have more motivation for the containerisation :D. Not a 100% defence from the potential glitches, though, but still something...

comment 5mo ago · link · parent

Nice and minimalistic

I played with similar approach in JavaScript and built a NanoNeuron https://github.com/trekhleb/nano-neuron (it is more verbose than Python though)

19.

Self-Parking Car Evolution(trekhleb.dev ↗)

3 points · by trekhleb · 8mo ago · 1 comment

20.

A unified map of California's passenger rail systems(trekhleb.dev ↗)

3 points · by trekhleb · 8mo ago · discuss

21.

Show HN: CaliVibe – Explore California Neighbourhoods(trekhleb.dev ↗)

1 points · by trekhleb · 8mo ago · discuss

22.

Dijkstra's Algorithm in JavaScript(github.com ↗)

1 points · by trekhleb · 1y ago · discuss

23.

A map of every recorded battle based on Wikipedia(battles.nodegoat.net ↗)

8 points · by trekhleb · 1y ago · 4 comments

24.

Top Tech Jobs(trueup.io ↗)

1 points · by trekhleb · 1y ago · discuss

25.

Tech Jobs Radar(jobs-radar.com ↗)

2 points · by trekhleb · 1y ago · discuss

26.

A collection of essential TypeScript types(github.com ↗)

1 points · by trekhleb · 1y ago · discuss

27.

Shitcode Principles (2020)(github.com ↗)

1 points · by trekhleb · 1y ago · discuss

28.

System Design Sketches(okso.app ↗)

1 points · by trekhleb · 1y ago · discuss

comment 2y ago · link · parent

What I mean is training something like GPT-3 in a distributed manner using a large number of regular browsers or laptops with average WebGPU support/power and WebRTC for communication.

Does it even make sense to ask this? Is it reasonable or feasible?

I understand there are many nuances, such as the size and source of the training data, the size of the model (which would be too large for any browser to handle), network overhead, and the challenge of merging all the pieces together, among others. However, speculative calculations suggest that GPT-3 required around 3x10^22 FLOPs, which might (very speculatively) be equivalent to about 3,000 regular GPUs, each with an average performance of 6 TFLOPs, training it for ~30 days (which also sounds silly, I understand).

Of course, these are naive and highly speculative calculations that don’t account for whether it’s even possible to split the dataset, model, and training process into manageable pieces across such a setup.

But if this direction is not totally nonsensical, does it mean that even with a tremendous network overhead there is a huge potential for scaling (there are potentially a lot of laptops connected to the internet that potentially and voluntary could be used for training)?

12345