<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: trekhleb</title><link>https://news.ycombinator.com/user?id=trekhleb</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sat, 13 Jun 2026 12:46:52 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=trekhleb" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by trekhleb in "Claude Fable is relentlessly proactive"]]></title><description><![CDATA[
<p>This article gave me another nudge towards running Claude in a Docker container.<p>I made a thin Docker container wrapper "claude-pod" recently for my personal usage here: <a href="https://github.com/trekhleb/claude-pod" rel="nofollow">https://github.com/trekhleb/claude-pod</a><p>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.<p>But now I have more motivation for the containerisation :D. Not a 100% defence from the potential glitches, though, but still something...</p>
]]></description><pubDate>Fri, 12 Jun 2026 15:51:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=48505687</link><dc:creator>trekhleb</dc:creator><comments>https://news.ycombinator.com/item?id=48505687</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48505687</guid></item><item><title><![CDATA[New comment by trekhleb in "The Smallest Brain You Can Build: A Perceptron in Python"]]></title><description><![CDATA[
<p>Nice and minimalistic<p>I played with similar approach in JavaScript and built a NanoNeuron <a href="https://github.com/trekhleb/nano-neuron" rel="nofollow">https://github.com/trekhleb/nano-neuron</a> (it is more verbose than Python though)</p>
]]></description><pubDate>Mon, 08 Jun 2026 03:32:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=48441033</link><dc:creator>trekhleb</dc:creator><comments>https://news.ycombinator.com/item?id=48441033</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48441033</guid></item><item><title><![CDATA[Self-Parking Car Evolution]]></title><description><![CDATA[
<p>Article URL: <a href="https://trekhleb.dev/self-parking-car-evolution/">https://trekhleb.dev/self-parking-car-evolution/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=47513631">https://news.ycombinator.com/item?id=47513631</a></p>
<p>Points: 3</p>
<p># Comments: 1</p>
]]></description><pubDate>Wed, 25 Mar 2026 05:26:49 +0000</pubDate><link>https://trekhleb.dev/self-parking-car-evolution/</link><dc:creator>trekhleb</dc:creator><comments>https://news.ycombinator.com/item?id=47513631</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47513631</guid></item><item><title><![CDATA[A unified map of California's passenger rail systems]]></title><description><![CDATA[
<p>Article URL: <a href="https://trekhleb.dev/cali-vibe/transit/">https://trekhleb.dev/cali-vibe/transit/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=47479583">https://news.ycombinator.com/item?id=47479583</a></p>
<p>Points: 3</p>
<p># Comments: 0</p>
]]></description><pubDate>Sun, 22 Mar 2026 17:03:18 +0000</pubDate><link>https://trekhleb.dev/cali-vibe/transit/</link><dc:creator>trekhleb</dc:creator><comments>https://news.ycombinator.com/item?id=47479583</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47479583</guid></item><item><title><![CDATA[Show HN: CaliVibe – Explore California Neighbourhoods]]></title><description><![CDATA[
<p>Article URL: <a href="https://trekhleb.dev/cali-vibe/">https://trekhleb.dev/cali-vibe/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=47364920">https://news.ycombinator.com/item?id=47364920</a></p>
<p>Points: 1</p>
<p># Comments: 0</p>
]]></description><pubDate>Fri, 13 Mar 2026 14:25:09 +0000</pubDate><link>https://trekhleb.dev/cali-vibe/</link><dc:creator>trekhleb</dc:creator><comments>https://news.ycombinator.com/item?id=47364920</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47364920</guid></item><item><title><![CDATA[Dijkstra's Algorithm in JavaScript]]></title><description><![CDATA[
<p>Article URL: <a href="https://github.com/trekhleb/javascript-algorithms/blob/master/src/algorithms/graph/dijkstra/README.md">https://github.com/trekhleb/javascript-algorithms/blob/master/src/algorithms/graph/dijkstra/README.md</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=45860503">https://news.ycombinator.com/item?id=45860503</a></p>
<p>Points: 1</p>
<p># Comments: 0</p>
]]></description><pubDate>Sat, 08 Nov 2025 22:11:07 +0000</pubDate><link>https://github.com/trekhleb/javascript-algorithms/blob/master/src/algorithms/graph/dijkstra/README.md</link><dc:creator>trekhleb</dc:creator><comments>https://news.ycombinator.com/item?id=45860503</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45860503</guid></item><item><title><![CDATA[A map of every recorded battle based on Wikipedia]]></title><description><![CDATA[
<p>Article URL: <a href="https://battles.nodegoat.net/viewer.p/23/385/scenario/3/geo/">https://battles.nodegoat.net/viewer.p/23/385/scenario/3/geo/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=43300940">https://news.ycombinator.com/item?id=43300940</a></p>
<p>Points: 8</p>
<p># Comments: 4</p>
]]></description><pubDate>Sat, 08 Mar 2025 15:28:22 +0000</pubDate><link>https://battles.nodegoat.net/viewer.p/23/385/scenario/3/geo/</link><dc:creator>trekhleb</dc:creator><comments>https://news.ycombinator.com/item?id=43300940</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43300940</guid></item><item><title><![CDATA[Top Tech Jobs]]></title><description><![CDATA[
<p>Article URL: <a href="https://www.trueup.io/">https://www.trueup.io/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=42912171">https://news.ycombinator.com/item?id=42912171</a></p>
<p>Points: 1</p>
<p># Comments: 0</p>
]]></description><pubDate>Sun, 02 Feb 2025 21:47:40 +0000</pubDate><link>https://www.trueup.io/</link><dc:creator>trekhleb</dc:creator><comments>https://news.ycombinator.com/item?id=42912171</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42912171</guid></item><item><title><![CDATA[Tech Jobs Radar]]></title><description><![CDATA[
<p>Article URL: <a href="https://jobs-radar.com/">https://jobs-radar.com/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=42611457">https://news.ycombinator.com/item?id=42611457</a></p>
<p>Points: 2</p>
<p># Comments: 0</p>
]]></description><pubDate>Mon, 06 Jan 2025 15:40:55 +0000</pubDate><link>https://jobs-radar.com/</link><dc:creator>trekhleb</dc:creator><comments>https://news.ycombinator.com/item?id=42611457</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42611457</guid></item><item><title><![CDATA[A collection of essential TypeScript types]]></title><description><![CDATA[
<p>Article URL: <a href="https://github.com/sindresorhus/type-fest">https://github.com/sindresorhus/type-fest</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=42283808">https://news.ycombinator.com/item?id=42283808</a></p>
<p>Points: 1</p>
<p># Comments: 0</p>
]]></description><pubDate>Sat, 30 Nov 2024 20:26:43 +0000</pubDate><link>https://github.com/sindresorhus/type-fest</link><dc:creator>trekhleb</dc:creator><comments>https://news.ycombinator.com/item?id=42283808</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42283808</guid></item><item><title><![CDATA[Shitcode Principles (2020)]]></title><description><![CDATA[
<p>Article URL: <a href="https://github.com/trekhleb/state-of-the-art-shitcode">https://github.com/trekhleb/state-of-the-art-shitcode</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=42250474">https://news.ycombinator.com/item?id=42250474</a></p>
<p>Points: 1</p>
<p># Comments: 0</p>
]]></description><pubDate>Tue, 26 Nov 2024 21:54:46 +0000</pubDate><link>https://github.com/trekhleb/state-of-the-art-shitcode</link><dc:creator>trekhleb</dc:creator><comments>https://news.ycombinator.com/item?id=42250474</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42250474</guid></item><item><title><![CDATA[System Design Sketches]]></title><description><![CDATA[
<p>Article URL: <a href="https://okso.app/showcase/system-design">https://okso.app/showcase/system-design</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=42244441">https://news.ycombinator.com/item?id=42244441</a></p>
<p>Points: 1</p>
<p># Comments: 0</p>
]]></description><pubDate>Tue, 26 Nov 2024 10:35:19 +0000</pubDate><link>https://okso.app/showcase/system-design</link><dc:creator>trekhleb</dc:creator><comments>https://news.ycombinator.com/item?id=42244441</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42244441</guid></item><item><title><![CDATA[New comment by trekhleb in "Ask HN: Is distributed LLM training in browsers (WebRTC and WebGPU) possible?"]]></title><description><![CDATA[
<p>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.<p>Does it even make sense to ask this? Is it reasonable or feasible?<p>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).<p>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.<p>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)?</p>
]]></description><pubDate>Fri, 22 Nov 2024 22:50:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=42218007</link><dc:creator>trekhleb</dc:creator><comments>https://news.ycombinator.com/item?id=42218007</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42218007</guid></item><item><title><![CDATA[Ask HN: Is distributed LLM training in browsers (WebRTC and WebGPU) possible?]]></title><description><![CDATA[

<p>Comments URL: <a href="https://news.ycombinator.com/item?id=42217823">https://news.ycombinator.com/item?id=42217823</a></p>
<p>Points: 4</p>
<p># Comments: 5</p>
]]></description><pubDate>Fri, 22 Nov 2024 22:19:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=42217823</link><dc:creator>trekhleb</dc:creator><comments>https://news.ycombinator.com/item?id=42217823</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42217823</guid></item><item><title><![CDATA[Postgres and MySQL: The Main Differences]]></title><description><![CDATA[
<p>Article URL: <a href="https://twitter.com/hnasr/status/1859366187534254274">https://twitter.com/hnasr/status/1859366187534254274</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=42212729">https://news.ycombinator.com/item?id=42212729</a></p>
<p>Points: 3</p>
<p># Comments: 0</p>
]]></description><pubDate>Fri, 22 Nov 2024 10:47:44 +0000</pubDate><link>https://twitter.com/hnasr/status/1859366187534254274</link><dc:creator>trekhleb</dc:creator><comments>https://news.ycombinator.com/item?id=42212729</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42212729</guid></item><item><title><![CDATA[Training Baby GPTs in Browser]]></title><description><![CDATA[
<p>Article URL: <a href="https://trekhleb.dev/homemade-gpt-js/">https://trekhleb.dev/homemade-gpt-js/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=42110243">https://news.ycombinator.com/item?id=42110243</a></p>
<p>Points: 7</p>
<p># Comments: 1</p>
]]></description><pubDate>Mon, 11 Nov 2024 20:37:54 +0000</pubDate><link>https://trekhleb.dev/homemade-gpt-js/</link><dc:creator>trekhleb</dc:creator><comments>https://news.ycombinator.com/item?id=42110243</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42110243</guid></item><item><title><![CDATA[New comment by trekhleb in "Homemade GPT JS – A Tensorflow.js Re-Implementation of MinGPT"]]></title><description><![CDATA[
<p>Thanks for the feedback! WebGPT is good. Looks like it is a vanilla JS? I used TensorFlow.js to offload all the troubles of working with tensors, gradients, and WebGPU integration to it. Along with a possibility to train the model in the browser it also helped to keep the actual GPT code pretty concise (<300 lines). Hopefully it will make easier to learn the model architecture itself for those who’re interested.</p>
]]></description><pubDate>Sun, 10 Nov 2024 20:35:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=42102451</link><dc:creator>trekhleb</dc:creator><comments>https://news.ycombinator.com/item?id=42102451</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42102451</guid></item><item><title><![CDATA[Homemade GPT JS – A Tensorflow.js Re-Implementation of MinGPT]]></title><description><![CDATA[
<p>Article URL: <a href="https://github.com/trekhleb/homemade-gpt-js">https://github.com/trekhleb/homemade-gpt-js</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=42101998">https://news.ycombinator.com/item?id=42101998</a></p>
<p>Points: 2</p>
<p># Comments: 2</p>
]]></description><pubDate>Sun, 10 Nov 2024 19:19:05 +0000</pubDate><link>https://github.com/trekhleb/homemade-gpt-js</link><dc:creator>trekhleb</dc:creator><comments>https://news.ycombinator.com/item?id=42101998</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42101998</guid></item><item><title><![CDATA[System Design Sketches]]></title><description><![CDATA[
<p>Article URL: <a href="https://trekhleb.dev/blog/2024/system-design-sketches/">https://trekhleb.dev/blog/2024/system-design-sketches/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=40985250">https://news.ycombinator.com/item?id=40985250</a></p>
<p>Points: 3</p>
<p># Comments: 0</p>
]]></description><pubDate>Wed, 17 Jul 2024 12:43:48 +0000</pubDate><link>https://trekhleb.dev/blog/2024/system-design-sketches/</link><dc:creator>trekhleb</dc:creator><comments>https://news.ycombinator.com/item?id=40985250</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40985250</guid></item><item><title><![CDATA[New comment by trekhleb in "Watch cars evolve using genetic algorithm"]]></title><description><![CDATA[
<p>It is a very visual and entertaining visualization, I love it.<p>It inspired me to experiment with a genetic algorithm in "Self-parking car evolution":<p><a href="https://trekhleb.dev/self-parking-car-evolution/" rel="nofollow">https://trekhleb.dev/self-parking-car-evolution/</a></p>
]]></description><pubDate>Mon, 29 Apr 2024 06:45:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=40195241</link><dc:creator>trekhleb</dc:creator><comments>https://news.ycombinator.com/item?id=40195241</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40195241</guid></item></channel></rss>