frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Pebble Watch software is now 100% open source

https://ericmigi.com/blog/pebble-watch-software-is-now-100percent-open-source
590•Larrikin•5h ago•100 comments

Claude Advanced Tool Use

https://www.anthropic.com/engineering/advanced-tool-use
275•lebovic•4h ago•104 comments

Shai-Hulud Returns: Over 300 NPM Packages Infected

https://helixguard.ai/blog/malicious-sha1hulud-2025-11-24
826•mrdosija•13h ago•679 comments

Three Years from GPT-3 to Gemini 3

https://www.oneusefulthing.org/p/three-years-from-gpt-3-to-gemini
152•JumpCrisscross•1d ago•93 comments

Unpowered SSDs slowly lose data

https://www.xda-developers.com/your-unpowered-ssd-is-slowly-losing-your-data/
84•amichail•4h ago•51 comments

Claude Opus 4.5

https://www.anthropic.com/news/claude-opus-4-5
688•adocomplete•5h ago•311 comments

Cool-retro-term: terminal emulator which mimics look and feel of the old CRTs

https://github.com/Swordfish90/cool-retro-term
143•michalpleban•6h ago•59 comments

Neopets.com Changed My Life (2019)

https://annastreetman.com/2019/05/19/how-neopets-com-changed-my-life/
35•bariumbitmap•5d ago•14 comments

Moving from OpenBSD to FreeBSD for firewalls

https://utcc.utoronto.ca/~cks/space/blog/sysadmin/OpenBSDToFreeBSDMove
128•zdw•5d ago•60 comments

Show HN: I built an interactive HN Simulator

https://news.ysimulator.run/news
116•johnsillings•6h ago•58 comments

The Bitter Lesson of LLM Extensions

https://www.sawyerhood.com/blog/llm-extension
70•sawyerjhood•5h ago•29 comments

What OpenAI did when ChatGPT users lost touch with reality

https://www.nytimes.com/2025/11/23/technology/openai-chatgpt-users-risks.html
72•nonprofiteer•18h ago•76 comments

PS5 now costs less than 64GB of DDR5 memory. RAM jumps to $600 due to shortage

https://www.tomshardware.com/pc-components/ddr5/64gb-of-ddr5-memory-now-costs-more-than-an-entire...
222•speckx•4h ago•140 comments

Show HN: OCR Arena – A playground for OCR models

https://www.ocrarena.ai/battle
29•kbyatnal•3d ago•10 comments

Bytes before FLOPS: your algorithm is (mostly) fine, your data isn't

https://www.bitsdraumar.is/bytes-before-flops/
31•bofersen•1d ago•7 comments

Everything you need to know about hard drive vibration (2016)

https://www.ept.ca/features/everything-need-know-hard-drive-vibration/
11•asdefghyk•4d ago•4 comments

Chrome Jpegxl Issue Reopened

https://issues.chromium.org/issues/40168998
205•markdog12•11h ago•77 comments

TSMC Arizona outage saw fab halt, Apple wafers scrapped

https://www.culpium.com/p/tsmc-arizona-outage-saw-fab-halt
150•speckx•5h ago•60 comments

You can see a working Quantum Computer in IBM's London office

https://www.ianvisits.co.uk/articles/you-can-see-a-working-quantum-computer-in-ibms-london-office...
25•thinkingemote•2d ago•5 comments

Corvus Robotics (YC S18): Hiring Head of Mfg/Ops, Next Door to YC Mountain View

1•robot_jackie•7h ago

Random lasers from peanut kernel doped with birch leaf–derived carbon dots

https://www.degruyterbrill.com/document/doi/10.1515/nanoph-2025-0312/html
4•PaulHoule•5d ago•0 comments

Inside Rust's std and parking_lot mutexes – who wins?

https://blog.cuongle.dev/p/inside-rusts-std-and-parking-lot-mutexes-who-win
121•signa11•4d ago•48 comments

Launch HN: Karumi (YC F25) – Personalized, agentic product demos

http://karumi.ai/
20•tonilopezmr•5h ago•10 comments

Building the largest known Kubernetes cluster

https://cloud.google.com/blog/products/containers-kubernetes/how-we-built-a-130000-node-gke-cluster/
90•TangerineDream•3d ago•62 comments

Mind-reading devices can now predict preconscious thoughts

https://www.nature.com/articles/d41586-025-03714-0
107•srameshc•5h ago•75 comments

NSA and IETF, part 3: Dodging the issues at hand

https://blog.cr.yp.to/20251123-dodging.html
294•upofadown•12h ago•158 comments

Fifty Shades of OOP

https://lesleylai.info/en/fifty_shades_of_oop/
34•todsacerdoti•14h ago•5 comments

GrapheneOS migrates server infrastructure from France

https://www.privacyguides.org/news/2025/11/22/grapheneos-migrates-server-infrastructure-from-fran...
187•01-_-•5h ago•67 comments

The history of Indian science fiction

https://altermag.com/articles/the-secret-history-of-indian-science-fiction
72•adityaathalye•2d ago•6 comments

Implications of AI to schools

https://twitter.com/karpathy/status/1993010584175141038
131•bilsbie•6h ago•141 comments
Open in hackernews

Bytes before FLOPS: your algorithm is (mostly) fine, your data isn't

https://www.bitsdraumar.is/bytes-before-flops/
31•bofersen•1d ago

Comments

jmole•1d ago
> worst case scenario being the flat profile where program time is roughly evenly distributed

It sounds like the “worst case“ here is that the program is already optimized.

bofersen•1d ago
Author here, kinda sorta. I should've been a bit more specific than that. You can have a profile showing a function taking up 99% of the time, but when you dive into it, there's no clear bottleneck. But just because there's no bottleneck, that doesn't mean it's optimized; vice versa-a well-optimized program can have a bottleneck that's already been cycle-squeezed to hell and back.

What I wanted to say was that a spiky profile provides a clear path to optimizing a piece of code, whereas a flat profile usually means there are more fundamental issues (inefficient memory management, pointer chasing all over the place, convoluted object system, etc.).

saghm•20h ago
It sounds like a flat profile essentially is a local optimum, compared to cases where there's a path "upwards" along a hill to some place more optimal that doesn't require completely changing your strategy.
bofersen•15h ago
That's actually a good observation, yeah. It's often the case that you dig deeper and deeper and find some incomprehensible spaghetti and just say "fuck it, I'll just do what I can here, should be enough".
colonCapitalDee•1d ago
Great article. Can confirm, writing performance focused C# is fun. It's great having the convenience of async, LINQ, and GC for writing non-hot path "control plane" code, then pulling out Vector<T>, Span<T>, and so on for the hot path.

One question, how portable are performance benefits from tweaks to memory alignment? Is this something where going beyond rough heuristics (sequential access = good, order of magnitude cache sizes, etc) requires knowing exactly what platform you're targeting?

bofersen•1d ago
Author here. First of all, thanks for the compliment! It’s tough to get myself to write these days, so any motivation is appreciated.

And yes, once all the usual tricks have been exhausted, the nest step is looking at the cache/cache line sizes of the exact CPU you’re targeting and dividing the workload into units that fit inside the (lowest level possible) cache, so it’s always hot. And if you’re into this stuff, then you’re probably aware of cache-oblivious algorithms[0] as well :)

Personally, I almost never had the need to go too far into platform-specific code (except SIMD, of course), doing all the stuff in the post is 99% of the way there.

And yeah, C# is criminally underrated, I might write a post comparing high-perf code in C++ and C# in the future.

[0]: https://en.wikipedia.org/wiki/Cache-oblivious_algorithm

VorpalWay•2m ago
To the list of profiling tools I would like to add KDAB Hotspot and KDE Heaptrack.

The former, hotspot, is a visualiser for perf data, and it deals ok with truly massive files that made perfetto and similar just big down. It also supports visualing off-CPU profiles ("why is my program slow but not CPU bound?").

The latter, heaptrack, is a tool with very similar UI to hotspot (I think the two tools share some code even) to profile malloc/free (or new/delete). Sometimes the performance issue is as simple as not reusing a buffer but reallocating it over and over inside a loop. And sometimes you wonder where all the memory is going.