frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The August 17 outage, and the work ahead

https://github.blog/news-insights/company-news/the-august-17-outage-and-the-work-ahead/
203•0xedb•3h ago•232 comments

Consumer Rights Wiki

https://consumerrights.wiki/w/Main_Page
153•gregsadetsky•4h ago•8 comments

I like 'em thick: an apology to my English teachers

https://www.experimental-history.com/p/i-like-em-thick
493•Ariarule•2d ago•235 comments

Aaron Swartz was prosecuted for scraping, while Meta does it without consequence

https://blog.curiousquail.com/im-upset-again-about-a-co-creator-of-rss-being-prosecuted-for-somet...
557•speckx•2h ago•97 comments

I should have loved biology (2020)

https://jsomers.net/i-should-have-loved-biology/
168•tyre•5h ago•63 comments

AliExpress runs silent WebAudio fingerprinting that breaks Bluetooth multipoint

https://blog.laserphile.com/2026/08/aliexpress-webpage-keeping-multipoint.html
825•emctech•12h ago•274 comments

Citizen Devs: Everyone is an engineer now

https://www.massdriver.cloud/blogs/the-citizen-developer
32•metal13•1h ago•37 comments

HTML Can Do That

https://chrisburnell.com/html-can-do-that/
506•encyclopedism•1d ago•147 comments

Malicious Rust crate Arrayref runs a build-time payload

https://safedep.io/arrayref-proc-macro1-rust-build-time-malware/
351•abhisek•9h ago•346 comments

Show HN: Huzzah – a novel approach to coding with AI

https://www.danielvaughn.dev/posts/huzzah/
174•danielvaughn•3h ago•94 comments

Code as an Artifact

https://pradeeproark.com/posts/code-as-an-artifact-means-to-an-end/
13•pradeeproark•1h ago•3 comments

CIA funding helped keep NeXT afloat in the 80s

https://www.wsj.com/tech/steve-jobs-apple-next-cia-161b65f9?st=NWWds1&reflink=desktopwebshare_per...
296•EwanG•22h ago•193 comments

SpacetimeDB: A Short Technical Review

https://strn.cat/posts/spacetime/
41•hurrrr•3h ago•9 comments

Show HN: I trained a 125M model to autocomplete piano on-device

https://simedw.com/2026/08/20/midi-autocomplete/
462•simedw•10h ago•103 comments

Linux 7.2

https://www.igalia.com/2026/08/19/Linux-72-Released.html
175•mariuz•7h ago•57 comments

Why aren't smart people happier? (2022)

https://www.experimental-history.com/p/why-arent-smart-people-happier
55•rafaelc•4h ago•90 comments

Vomit: Clean up Claude 5's token output with a separate LLM

https://github.com/zachahn/vomit
162•Bluestein•7h ago•165 comments

Sixtyfour (YC P25) Is Hiring

https://www.ycombinator.com/companies/sixtyfour/jobs/39SkSrA-software-engineering-intern
1•HPMOR•6h ago

Speeding Up (Small) Ruby Hashes

https://byroot.github.io/ruby/performance/2026/08/13/speeding-up-ruby-hashes.html
8•arto•6d ago•0 comments

How to compromise your system with a job interview

https://www.codedge.de/posts/how-to-compromise-your-system-with-a-job-interview
110•codedge•7h ago•86 comments

Tidal Cycles – Live coding music with Algorithmic patterns

https://tidalcycles.org/
35•gjvc•3h ago•6 comments

Watching TikTok and Instagram deactivates the cognitive control network: Study

https://www.rathbiotaclan.com/tiktok-videos-deactivate-key-cognitive-brain-regions/
276•Akasci•4h ago•104 comments

Scientists Release Biggest 2D Map of the Universe

https://newscenter.lbl.gov/2026/08/10/scientists-release-biggest-2d-map-of-the-universe/
8•gmays•1h ago•1 comments

Anti-AI fonts are useless and harmful

https://blog.yaros.ae/anti-ai-fonts-are-useless-and-harmful/
90•speckx•7h ago•64 comments

Hacking with Claude on a $27 smart watch

https://www.mikekasberg.com/blog/2026/08/19/hacking-with-claude-on-a-27-smart-watch.html
78•speckx•8h ago•43 comments

Every Model Cheats

https://dreadnode.io/research/every-model-cheats-prompt-level-mitigation-of-cheating-on-offensive...
71•vga805•9h ago•54 comments

Mojo is now open source

https://www.modular.com/blog/mojo-open-source
318•visheshdembla•2d ago•68 comments

The Wonders of the Male Human Pelvis

https://nautil.us/the-wonders-of-the-male-human-pelvis-1283947
17•littlexsparkee•2h ago•1 comments

DiffusionGemma Technical Report

https://arxiv.org/abs/2608.00146
122•gmays•9h ago•32 comments

Git at any scale

https://cursor.com/blog/git-at-any-scale
247•meetpateltech•2d ago•72 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?