frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

LLM from scratch, part 29 – using DDP to train a base model in the cloud

https://www.gilesthomas.com/2026/01/llm-from-scratch-29-ddp-training-a-base-model-in-the-cloud
1•gpjt•1m ago•0 comments

Show HN: bikemap.nyc – visualization of the entire history of Citi Bike

https://github.com/freeman-jiang/bikemap.nyc
2•freemanjiang•1m ago•0 comments

We're Thinking About Addiction Wrong

https://jacobin.com/2026/01/social-causes-drug-addiction
1•wahnfrieden•2m ago•0 comments

Amazon wants to know what every corporate employee accomplished last year

https://www.businessinsider.com/amazon-corporate-employees-performance-reviews-accomplish-last-ye...
2•petethomas•3m ago•0 comments

AI Keeps Building the Same Purple Gradient Website

https://prg.sh/ramblings/Why-Your-AI-Keeps-Building-the-Same-Purple-Gradient-Website
1•satvikpendem•5m ago•0 comments

Pittsburgh Post-Gazette Announces It Will Cease Operations

https://www.nytimes.com/2026/01/07/business/media/pittsburgh-post-gazette-closing.html
1•bookofjoe•5m ago•1 comments

The Silence of the LLaMbs: Getting LLMs to Shut Up

https://ossa-ma.github.io/blog/silence-of-the-llambs
2•ossa-ma•5m ago•0 comments

Columbia Univ. Center on Global Energy Policy: Q&A on US Actions in Venezuela

https://www.energypolicy.columbia.edu/qa-on-us-actions-in-venezuela/
1•TMWNN•7m ago•0 comments

Key open source challenges in developing countries (2023)

https://opensource.com/article/23/4/challenges-open-source-developing-countries
4•devonnull•7m ago•0 comments

EMF Exposure from a Substation Could Be Cause of 49ers' Tendon Rupture Epidemic

https://peteranthonycowan.substack.com/p/could-chronic-emf-exposure-from-a
1•CGMthrowaway•7m ago•0 comments

Show HN: MakeMe – A Makefile tool rewritten from Fish to Go

1•OakNinja•9m ago•0 comments

Show HN: Game Boy Release Timelines

https://gameboyessentials.com/timelines
1•philistine•9m ago•0 comments

Automated testing without the setup: Mechasm.ai Beta

https://mechasm.ai
1•sleepless02•10m ago•1 comments

Ask HN: Job seekers, what's working / not working?

1•Jabbs•11m ago•0 comments

OpenAI adds ChatGPT Health for medical questions

https://www.axios.com/2026/01/07/chatgpt-health-tab-apple-fitness-apps
2•FergusArgyll•12m ago•1 comments

The Dream of the Universal Library

https://asteriskmag.com/issues/12-books/the-dream-of-the-universal-library
1•ilamont•15m ago•0 comments

Show HN: Grammar of Graphics CLI tool made in Rust

https://github.com/williamcotton/gramgraph
1•williamcotton•17m ago•0 comments

Infinite Canvas: Building a Seamless, Pan-Anywhere Image Space – Codrops

https://tympanus.net/codrops/2026/01/07/infinite-canvas-building-a-seamless-pan-anywhere-image-sp...
1•rcarmo•17m ago•0 comments

OpenAI to Buy Pinterest? A Strategic Analysis

https://nekuda.substack.com/p/openai-to-buy-pinterest-heres-what
1•ilamont•19m ago•1 comments

What are we to make of "AI replacement"?

https://joshuagans.substack.com/p/what-are-we-to-make-of-ai-replacement
1•paulpauper•19m ago•0 comments

Lua is a pretty good config language

https://til.andrew-quinn.me/posts/lua-is-a-pretty-good-config-language/
1•hiAndrewQuinn•20m ago•0 comments

ActorAgents

https://tailrecursion.com/~alan/ActorAgents.html
1•wooby•20m ago•0 comments

Claude Code CLI Broken

https://github.com/anthropics/claude-code/issues/16673
20•sneilan1•21m ago•5 comments

Show HN: Startup Simulator – AI Choose Your Own Adventure

https://startup-simulator-beta.vercel.app/
1•baristaGeek•24m ago•0 comments

Dora 2025: Year in Review

https://dora.dev/insights/dora-2025-year-in-review/
1•cebert•29m ago•0 comments

Unit testing your code's performance, part 1: Big-O scaling

https://pythonspeed.com/articles/big-o-tests/
2•todsacerdoti•30m ago•0 comments

Tailscale state file encryption no longer enabled by default

https://tailscale.com/changelog
32•traceroute66•30m ago•16 comments

Show HN: Prompt Tower – build and visualize your context

https://prompttower.com/
3•ramoz•31m ago•0 comments

Free health summaries from the top creators

https://summabase.com/en
1•luis13hgr•32m ago•0 comments

Ledger customers impacted by third-party Global-e data breach

https://www.bleepingcomputer.com/news/security/ledger-customers-impacted-by-third-party-global-e-...
1•DGAP•34m ago•0 comments
Open in hackernews

High-performance header-only container library for C++23 on x86-64

https://github.com/kressler/fast-containers
74•mattgodbolt•1d ago
From the readme:

The B+tree implementation provides significant performance improvements over industry standards for large trees. For some workloads with large trees, we've observed:

- vs Abseil B+tree: 2-5× faster across insert/find/erase operations - vs std::map: 2-5× faster across insert/find/erase operations

Comments

ognarb•1d ago
> History/Motivations This project started as an exploration of using AI agents for software development. Based on experience tuning systems using Abseil's B+tree, I was curious if performance could be improved through SIMD instructions, a customized allocator, and tunable node sizes. Claude proved surprisingly adept at helping implement this quickly, and the resulting B+tree showed compelling performance improvements, so I'm making it available here.

It seems the code was written with AI, I hope the author knows what he is doing. Last time I tried to use AI to optimize CPU-heavy C++ code (StackBlur) with SIMD, this failed :/

LoganDark•1d ago
Oh hey, I wrote a Stackblur implementation in Rust. The trick I used is to SIMD across multiple rows/columns of the image rather than trying to SIMD the algorithm itself.

https://github.com/logandark/stackblur-iter

klaussilveira•1d ago
Both Codex/Claude Code are terrible with C++. Not sure why that is, but they just spit out nonsense that creates more work than it helps me.

Have you tried to do any OpenGL or Vulkan work with it? Very frustrating.

React and HTML, though, pretty awesome.

seg_fault•1d ago
I had the same experience. C++ doesn't even compile or I have to tell it all the time "use C++23 features". I tried to learn OpenGL with it. This worked out a bit, since I had to spot the errors :D
TingPing•1d ago
Same here. C++ changes fast and can be written in many styles so not a ton of training data I assume.
DrBazza•1d ago
In what scenarios are they terrible? I hope not every scenario. I've found Codex adequate for refactoring and unit tests. I've not used it in anger to write any significant new code.

I suppose part of the problem is that training a model on publicly available C++ isn't going to be great because syntactically broken code gets posted to the web all the time, along with suboptimal solutions. I recall a talk saying that functional languages are better for agents because the code published publicly is formally correct.

simonw•1d ago
Which models?

It's possible Opus 4.5 and GPT-5.2 are significantly less terrible with C++ than previous models. Those only came out within the past 2 months.

They also have significantly more recent knowledge cut-off dates.

klaussilveira•23h ago
I'll be specific:

I've been recently working with Opus 4.5 and GPT-5.2. Both have been unable to migrate a project from using ARB shaders to 3.3 and GLSL. And I don't mean migrating the shaders themselves, just changing all the boring glue code that tells the application to use GLSL and manage those instead of feeding the ARB shaders directly.

They have also failed spectacularly at implementing this paper: https://www.cse.chalmers.se/~uffe/soft_gfxhw2003.pdf

No matter how I sliced it, I could not get a simple cube to have the shadows as described in the paper.

I've also recently tried to get Opus 4.5 to move the Job system from Doom 3 BFG to the original codebase. Clean clone of dhewm3, pointed Opus to the BFG Job system codebase, and explained how it works. I have also fed it the Fabien Sanglard code review of the job system: https://fabiensanglard.net/doom3_bfg/threading.php

As well as the official notes that explain the engine differences: https://fabiensanglard.net/doom3_documentation/DOOM-3-BFG-Te...

I did that because, well, I had ported this job system before and knew it was something pretty "pluggable" and could be implemented by an LLM. Both have failed. I'm yet to find a model that does this.

simonw•23h ago
Thanks, that's very specific! Sounds like that's out of reach of the current generation of models.

Will be interesting to see if models in six months time can handle this, since they clearly can't do it today.

dustbunny•13h ago
It's funny, I've also been trying to use AI to implement (simpler) shadow mapping code and it has failed. I eventually formed a very solid understanding of the problem domain myself and achieved my goals with hand written code.

I might try to implement this paper, great find! I love this 2000-2010 stuff

klaussilveira•9h ago
Oh, boy, then I have something for you:

https://artis.inrialpes.fr/Publications/2003/HLHS03a/SurveyR...

https://mrelusive.com/publications/papers/SIMD-Shadow-Volume...

https://terathon.com/gdc05_lengyel.pdf

inetknght•1d ago
On the other hand, I've been using Claude Code for the past several months at work in several C++ projects. It's been fine at understanding C++. It just generates a lot of boilerplate, doesn't follow DRY, and gets persnickety with tests.

I've started adding this to all of my new conversations and it seems to help:

    You are a principal software engineer. I report to you. Do not modify files. Do not write prose. Only provide observations and suggestions so that I can learn from you.
My question to the LLM then follows in the next paragraph. Foregoing most of the LLM's code-writing capabilities in favor of giving observations and ideas seems to be a much better choice for productivity. It can still lead me down rabbit holes or wrong directions, but at least I don't have to deal with 10 pages of prose in its output or 50 pages of ineffectual code.
tarnith•22h ago
Yeah, it's a decent rubber duck.

As soon as it starts trying to write actual code or generate a bunch of files it's less than helpful very quickly.

Perhaps I haven't tried enough, but I'm entirely unsold on this for anything lower level.

dustbunny•13h ago
Gemini & ChatGPT have not done well at writing or analyzing OpenGL like rendering code for me, as well. And for many algorithms, it's not good at explaining them as well. And for some of the classical algorithms, like cascading shadow mapping, even articles written by people and example source code that I found is wrong or incomplete.

Learning "the old ways" is certainly valuable, because the AIs and the resources available are bad at these old ways.

FpUser•1d ago
I use ChatGPT with C++ but in very limited manner. So far it was overall win. I watch the code very closely of course and usually end up doing few iterations (mostly optimizing for speed, reliability, concurrency).

Also to generate boilerplate / repetitive.

Overall I consider it a win.

nurettin•1d ago
I use Claude to generate C++ 23, it usually performs well. It takes a bit of nudging to avoid repeating itself, reusing existing functionality, not altering huge portions without running tests, etc. But generally it is helpful and knows what to do.
shihab•1d ago
I'd love to see a breakdown of what exactly worked here, or better yet, PR to upstream Abseil that implements those ideas.

AI is always good at going from 0 to 80%, it's the last 20% it struggles with. It'd be interesting to see a claude-written code making its way to a well-established library.

leopoldj•4h ago
I apologize if this is common knowledge. Modern C++ coding agents need to have a deep semantic understanding of the external libraries and header files. A simple RAG on the code base is not enough. For example, GitHub Copilot for VS Code and Visual Studio uses IDE language services like IntelliSense. To that extent, using a proper C++ IDE rather than a plain editor will improve the quality of suggested code. For example, if you're using VS Code, make sure the C/C++ Extension Pack is installed.
the_arun•1d ago
There is also new Adaptive Radix Tree implementation - https://www.db.in.tum.de/~leis/papers/ART.pdf which is supposed to be faster than B-Tree
plorkyeran•1d ago
2-5x faster than both abseil's b+tree and std::map means that abseil's b+tree had to be the same performance as std::map for the tested workload. This is... very unusual. I have only ever seen it be much faster or moderately slower.
sedatk•1d ago
Not necessarily. Insert could be 5x faster in one, and 2x faster in another, and there would still be orders of magnitude difference between both. 2x-5x is a long range.
dicroce•23h ago
Ok, maybe someone here can clear this up for me. My understanding of B+tree's is that they are good for implementing indexes on disk because the fanout reduces disk seeks... what I don't understand is in memory b+trees... which most of the implementations I find are. What are the advantages of an in memory b+tree?
wffurr•23h ago
https://github.com/abseil/abseil-cpp/blob/master/absl/contai... mentions that b-tree maps hold multiple values per node, which makes them more cache-friendly than the red-black trees used in std::map.

You use either container when you want a sorted associative map type, which I have not found many uses cases for in my work. I might have a handful of them versus many instances of vectors and unsorted associative maps, i.e. absl::flat_hash_map.

dataflow•22h ago
Memory also has a seek penalty. It's called a cache miss penalty. It might be easier to think of them in general as penalties for nonlocality.
barishnamazov•22h ago
Also want to share B- tree implementation from the Algorithmica HPC book: https://en.algorithmica.org/hpc/data-structures/b-tree/