frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Bonsai 27B: A 27B-Class model that runs on a phone

https://prismml.com/news/bonsai-27b
334•xenova•5h ago•119 comments

Dependabot version updates introduce default package cooldown

https://github.blog/changelog/2026-07-14-dependabot-version-updates-introduce-default-package-coo...
44•woodruffw•1h ago•24 comments

Financing the AI boom: from cash flows to debt [pdf]

https://www.bis.org/publ/bisbull120.pdf
26•1vuio0pswjnm7•1h ago•2 comments

The Tower Keeps Rising

https://lucumr.pocoo.org/2026/7/13/the-tower-keeps-rising/
292•cdrnsf•6h ago•144 comments

Cursor 0day: When Full Disclosure Becomes the Only Protection Left

https://mindgard.ai/blog/cursor-0day-when-full-disclosure-becomes-the-only-protection-left
181•Synthetic7346•5h ago•73 comments

How I use HTMX with Go

https://www.alexedwards.net/blog/how-i-use-htmx-with-go
56•gnabgib•3h ago•10 comments

Your 'app' could have been a webpage (so I fixed it for you)

https://danq.me/2026/07/09/your-app-could-have-been-a-webpage/
665•MrVandemar•3d ago•416 comments

The largest available Minecraft world, totalling 15 TB

https://2b2t.place/1million
131•_____k•3d ago•37 comments

The Estranged Worlds of J. G. Ballard

https://lareviewofbooks.org/article/jg-ballard-illuminated-man-christopher-priest-nina-allan/
20•Caiero•1d ago•4 comments

Guardian Angels: LLM Personalization for Productivity and Security

https://gwern.net/guardian-angel
46•andsoitis•10h ago•3 comments

How to stop Claude from saying load-bearing

https://jola.dev/posts/how-to-stop-claude-from-saying-load-bearing
395•shintoist•11h ago•453 comments

Microsoft Deletes User's 25-Year-Old Account with Thousands Spent on Games

https://xcancel.com/JoshuaKhane/status/2076918699248803977
63•HelloUsername•1h ago•22 comments

The Second Life of Sanskrit

https://openthemagazine.com/india/the-second-life-of-sanskrit
41•bookofjoe•3d ago•24 comments

I'm a USB-C Maximalist

https://shkspr.mobi/blog/2026/07/im-a-usb-c-maximalist/
119•speckx•7h ago•214 comments

The zero-cost fallacy: open-source software in the agentic era

https://www.thoughtworks.com/insights/blog/open-source/zero-cost-fallacy-open-source-agentic-era
88•backlit4034•4d ago•68 comments

Banter

https://homosabiens.substack.com/p/banter
8•surprisetalk•4d ago•1 comments

Are we offloading too much of our thinking to AI?

https://www.artfish.ai/p/offloading-thinking-to-ai
345•yenniejun111•7h ago•335 comments

Kontigo (YC S24) Is Hiring (Head of Security)

https://www.ycombinator.com/companies/kontigo/jobs/uNttrlv-head-of-security
1•jecastillof•6h ago

Launch HN: Agnost AI (YC S26) – Extract user feedback from agent conversations

https://agnost.ai
37•laalshaitaan•6h ago•22 comments

Human Canaries: Remembering the Munitionettes

https://www.historytoday.com/archive/great-debates/human-canaries-remembering-munitionettes
7•Thevet•23h ago•0 comments

Show HN: Opening lines of famous literary works

https://www.verbaprima.com/
135•plicerin•7h ago•78 comments

Accretive Editing

https://justindfuller.com/programming/accretive-editing
12•iamjfu•4d ago•4 comments

Measuring Input Latency on Linux: X11 vs. Wayland, VRR, and DXVK

https://marco-nett.de/blog/measuring-input-latency-on-linux-x11-vs-wayland-vrr-dxvk/
332•hoechst•6h ago•207 comments

Show HN: Juggler – an open-source GUI coding agent, by the creator of JUCE

https://github.com/juggler-ai/juggler
154•julesrms•2d ago•77 comments

StubHub, CEO hit with ‘deceptive practices’ class action over mass scalping

https://www.cbc.ca/news/world/stubhub-ceo-class-action-scalping-9.7268987
79•b112•3h ago•36 comments

Same model, same Q4_K_M label: 5.02, 5.07 and 5.27 bits per weight

https://github.com/logxio/picchio
9•logickkk1•1h ago•2 comments

Demis Hassabis has a plan to harness AI safely

https://twitter.com/demishassabis/status/2076957440109625718
129•asiergoni•13h ago•167 comments

Punch yourself in the face with reality

https://adi.bio/reality
198•AdityaAnand1•11h ago•96 comments

Agnes Callard’s theory of the uni-context

https://www.derekthompson.org/p/a-philosophers-one-word-theory-to
88•FinnLobsien•8h ago•91 comments

The Agentic Loop: Three loops in a trench coat

https://www.bobbytables.io/p/the-agentic-loop-three-loops-in-a
65•btables•8h ago•15 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?