frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

1Password Security Incident

https://1password.com/blog/update-on-nov-2026-security-incident
731•lxhrstn•3h ago•300 comments

Holy shit holy shit holy shit holy shit: The magnitude of what’s now happening

https://scottaaronson.blog/?p=10379
403•Kotlopou•1h ago•268 comments

A few questions for the guy who went snorkeling in a Home Depot retention pond

https://www.vox.com/down-to-earth/511999/home-depot-retention-pond-snorkel-joseph-ricketts
374•gumby•5h ago•93 comments

SSH is a GUI framework

https://zydra.sh/articles/ssh-is-a-gui-framework/
52•teledream•4d ago•22 comments

The polynomial Hirsch conjecture is false [pdf]

https://github.com/openai/math/blob/main/preprints/Superpolynomial-graph-diameter-of-simple-polyt...
68•acossta•3h ago•8 comments

GPT-6.2 Astra is the first model to beat Googlers' code golf records

https://bjin.github.io/go-codegolf-benchmark/#leaderboard
15•bjin•3d ago•3 comments

Spending 35B Opus 5.5 Tokens to Write a Symphony

https://danprice.ai/blog/opus-symphony
24•halfprice06•1h ago•17 comments

Britain's ghost stations

https://spectator.com/article/britains-ghost-stations-are-fascinating/
53•translocator•3h ago•9 comments

Google releases Cogentic papers on integer factorization, discrete logs and more

https://github.com/google-research/google-research/tree/master/cogentic_research_papers
392•rgwohlbold•7h ago•302 comments

Windows Loudness Equalization, reverse-engineered and ported to PipeWire

https://github.com/xoxorwr/pw-loudness-eq
287•ThrowNotAway•9h ago•163 comments

Can a TV be too large? An investigation

https://techcrunch.com/2026/11/22/can-a-tv-be-too-large-an-investigation/
31•jomon003•2d ago•33 comments

I checked Clojure's core with Lean and found unreported bugs

https://s.conao3.com/blog/2026/e4f733
135•encyclopedism•6h ago•50 comments

Porting Rockbox to an undocumented $9 AliExpress 'YP3' MP3 player with LLMs

https://jayd.ml/2026/11/14/rockbox-on-yp3.html
161•jaydenmilne•1d ago•70 comments

Predicting LoRA size for any dataset

https://engram.com/blog/lora-size
85•jxmorris12•22h ago•9 comments

The matrix multiplication exponent is nine fourths [pdf]

https://github.com/openai/math/blob/main/preprints/The-matrix-multiplication-exponent-is-nine-fou...
969•E-Reverance•19h ago•540 comments

Button Sounds – collection of professionally-recorded button clicks and presses

https://buttons.joshwcomeau.com/
794•gaurang_tandon•17h ago•127 comments

Deriving Black-Scholes

https://david.alvarezrosa.com/posts/deriving-black-scholes/
41•meysamazad•3h ago•29 comments

Show HN: An agent skill that optimizes code with falsifiable hypotheses

https://chszlab.github.io/AgenticAlgorithmEngineering/
19•0x23•2d ago•2 comments

Show HN: Rchive – Every drive I've owned since the 90s, searchable in one window

https://www.rchive.computer/
8•kevinsync•1d ago•4 comments

In C++, = default and {} are not the same constructor

https://lemire.me/blog/2026/11/02/default-and-braces-are-not-the-same-constructor/
82•surprisetalk•5h ago•141 comments

Rumors swirling that labs might have cracked Factoring in P

https://www.reddit.com/r/singularity/comments/1y59ef1/rumor_that_openai_or_anthropic_found_a_way_to/
391•lilytweed•5h ago•275 comments

How did pinwheel calculators work?

https://blog.coredump.cx/p/how-did-pinwheel-calculators-work
22•surprisetalk•19h ago•1 comments

Models Can Communicate via Inference Servers Despite Being Sandboxed

https://www.lesswrong.com/posts/7wzWuLP3HhyBLmKfo/models-can-communicate-via-inference-servers-de...
420•gmays•18h ago•186 comments

Hazel (YC W24) Is Hiring a Product Designer

https://www.ycombinator.com/companies/hazel-2/jobs/8EhsvYE-product-designer-contract
1•augustschen•9h ago

Investigating degraded experiences across GitHub products

https://www.githubstatus.com/incidents/qn8mfv6q5hlx
172•pinjasaur•5h ago•90 comments

Smart people who give a shit use tools

https://www.iankduncan.com/engineering/2026-11-19-smart-people-who-give-a-shit-use-tools
200•matthewsinclair•13h ago•163 comments

The industrialization of noise: Automated proof-solving is the same old dead end [pdf]

https://arxiv.org/abs/2611.31286
58•pseudohadamard•12h ago•81 comments

A Beer Brewer's Noise Estimation

https://chillphysicsenjoyer.substack.com/p/a-beer-brewers-noise-estimation
5•surprisetalk•2d ago•0 comments

Pinocchio at 200: a tale of hunger, greed and Italy's culinary history

https://www.repubblica.it/en/europe/food-travel/2026/11/24/news/carlo_collodi_pinocchio_pellegrin...
60•simonebrunozzi•1d ago•10 comments

Show HN: Old Nvidia and ATI tech demos, running again in the browser

https://gpu-demo-gallery.pages.dev/
313•arkits•16h ago•68 comments
Open in hackernews

Faster sorting with SIMD CUDA intrinsics (2024)

https://winwang.blog/posts/bitonic-sort/
92•winwang•1y ago
Code at https://github.com/wiwa/blog-code/

Comments

ashvardanian•1y ago
The article covers extremely important CUDA warp-level synchronization/exchange primitives, but it's not what is generally called SIMD in the CUDA land .

Most "CUDA SIMD" intrinsics are designed to process a 32-bit data pack containing 2x 16-bit or 4x 8-bit values (<https://docs.nvidia.com/cuda/cuda-math-api/cuda_math_api/gro...>). That significantly shrinks their applicability in most domains outside of video and string processing. I've had pretty high hopes for DPX on Hopper (<https://developer.nvidia.com/blog/boosting-dynamic-programmi...>) instructions and started integrating them in StringZilla last year, but the gains aren't huge.

winwang•1y ago
Oh wow, TIL, thanks. I usually call stuff like that SWAR, and every now-and-then I try to think of a way to (fruitfully) use it. The "SIMD" in this case was just an allusion to warp-wide functions looking like how one might use SIMD in CPU code, as opposed to typical SIMT CUDA.

Also, StringZilla looks amazing -- I just became your 1000th Github follower :)

ashvardanian•1y ago
Thanks, appreciate the gesture :)

Traditional SWAR on GPUs is a fascinating topic. I've begun assembling a set of synthetic benchmarks to compare DP4A vs. DPX (<https://github.com/ashvardanian/less_slow.cpp/pull/35>), but it feels incomplete without SWAR. My working hypothesis is that 64-bit SWAR on properly aligned data could be very useful in GPGPU, though FMA/MIN/MAX operations in that PR might not be the clearest showcase of its strengths. Do you have a better example or use case in mind?

winwang•1y ago
I don't -- unfortunately not too well-versed in this field! But I was a bit fascinated with SWAR after I randomly thought of how to prefix-sum with int multiplication, later finding out that it is indeed an old trick as I suspected (I'm definitely not on this thread btw): https://mastodon.social/@dougall/109913251096277108

As for 64-bit... well, I mostly avoid using high-end GPUs, but I was of the impression that i64 is just simulated. In fact, I was thinking of using the full warp as a "pipeline" to implement u32 division (mostly as a joke), almost like anti-SWAR. There was some old-ish paper detailing arithmetic latencies in GPUs and division was approximately more than 32x multiplication (...or I could be misremembering).

bobmcnamara•1y ago
Parallel compares: https://graphics.stanford.edu/~seander/bithacks.html#ZeroInW...
DennisL123•1y ago
Interesting stuff. Not sure if I read this right that it‘s 16 und 32 bit values of integers that get sorted. If yes, I‘d love to see if the GPU implementation can beat a competitive Radix sort implementation on a CPU.
winwang•1y ago
It's 32 32-bit values which get sorted. I don't think a GPU sort would beat a CPU sort at this scale, even if you don't take kernel launch time into account. CPUs are simply too fast for (super-)small data, especially with AVX-512. But if we're talking about a larger amount of data, that would be a different story, i.e. as part of a normal gpu mergesort.
maeln•1y ago
It is also useful if your data already lives on the GPU memory. For example, when you need to z-sort a bunch of particles in a 3d renderer particle system.
exDM69•1y ago
A 32 way GPU sorting algorithm might be just what I need for sorting and deduplicating triangle id's in a visibility buffer renderer I am working on.

Thanks for sharing.

winwang•1y ago
As someone who doesn't know very much about graphics (ironically), you're welcome and hope it helps!
fourseventy•1y ago
What are the biggest use cases of GPU accelerated sorting?