frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

How to Build a Minimal ZFS NAS Without Synology, QNAP, TrueNAS (2024)

https://neil.computer/notes/how-to-setup-minimal-zfs-nas-without-truenas/
118•4diii•2h ago•63 comments

Tenda firmware (multiple versions) contains hidden authentication backdoor

https://kb.cert.org/vuls/id/213560
153•miniBill•6h ago•42 comments

Copy That Floppy – Cambridge guide for preserving data from fragile floppy disks

https://www.digipres.org/the-floppy-guide/
33•whiteblossom•3h ago•7 comments

Structure and Interpretation of Computer Programs Video Lectures (1986)

https://ocw.mit.edu/courses/6-001-structure-and-interpretation-of-computer-programs-spring-2005/v...
132•gjvc•6h ago•11 comments

GitLost: We Tricked GitHub's AI Agent into Leaking Private Repos

https://noma.security/blog/gitlost-how-we-tricked-githubs-ai-agent-into-leaking-private-repos/
16•ColinEberhardt•1h ago•3 comments

GAO: DOE Is Prematurely Excluding Less Expensive Options for Nuclear Cleanup

https://www.gao.gov/products/gao-26-108193
181•Jimmc414•8h ago•80 comments

Canada's only watchmaking school still ticking after 80 years

https://www.cbc.ca/news/canada/montreal/canada-s-only-watchmaking-school-9.7254211
111•throw0101a•3d ago•47 comments

Chat Control 1.0 and 2.0 Explained

https://fightchatcontrol.eu/chat-control-overview
565•gasull•16h ago•189 comments

Local, CPU-Friendly, High-Quality TTS (Text-to-Speech) with Kokoro

https://ariya.io/2026/03/local-cpu-friendly-high-quality-tts-text-to-speech-with-kokoro/
372•speckx•12h ago•76 comments

GPT-5.6 Sol, along with Terra and Luna, will launch publicly this Thursday

https://twitter.com/OpenAI/status/2074704958419792299
121•jfrbfbreudh•2h ago•56 comments

Show HN: Neil the Seal Game

https://neiltheseal.app/
36•dalemhurley•2d ago•34 comments

30papers.com – Ilya's 30 essential ML papers, in a beginner friendly format

https://30papers.com/
467•notmcrowley•14h ago•72 comments

The difference between "today's task" and "accretive work"

https://pluralistic.net/2026/07/02/canonization/
23•hn_acker•5d ago•12 comments

Show HN: Davit, a Apple Containers UI

https://davit.app
275•xinit•12h ago•61 comments

Herdr: One terminal to rule them all

https://herdr.dev/
243•handfuloflight•6d ago•110 comments

LineageOS Statistics

https://stats.lineageos.org
37•pentagrama•5h ago•18 comments

Show HN: Chiptune Radio

https://chiptune-radio.alephvoid.com/
41•bootbloopers•5h ago•8 comments

Out of the Armchair

https://literaryreview.co.uk/out-of-the-armchair
4•Thevet•6d ago•0 comments

Is The Economist Always Wrong?

https://www.economist.com/interactive/finance-and-economics/2026/07/02/is-the-economist-always-wrong
118•nreece•4h ago•103 comments

Pure-Python symbolic regression that rediscovered Kepler's law from 8 data point

https://github.com/ariel95500-create/gp-elite
33•sade_95•5d ago•11 comments

Show HN: Rowboat – Open-source, local-first alternative to Claude Desktop

https://github.com/rowboatlabs/rowboat
143•segmenta•14h ago•39 comments

l: A new runtime for k and q

https://lv1.sh/
130•skruger•12h ago•73 comments

Scheme Is a Hoot

https://gracefulliberty.com/notes/scheme-is-a-hoot/
60•signa11•2d ago•5 comments

IEEE Rolls Out Large Language Models Training Course

https://spectrum.ieee.org/large-language-models-ieee-course
59•JeanKage•1w ago•8 comments

Every new car sold in the European Union must include a driver monitoring camera

https://allaboutcookies.org/eu-mandatory-distracted-driver-system
549•nickslaughter02•10h ago•708 comments

We're extending access to Fable 5 on all paid plans through July 12

https://twitter.com/claudeai/status/2074548242386178258
158•minimaxir•13h ago•164 comments

Why skilled workers come to Germany and then leave again

https://www.dw.com/en/germany-migrants-skilled-workers-integration-labor-market-bureaucracy-langu...
229•theanonymousone•20h ago•581 comments

Jim's TrueType QR Code Font

https://github.com/jimparis/qr-font
165•arantius•14h ago•21 comments

Notes on Software Quality

https://anthonyhobday.com/blog/20260410
114•speckx•12h ago•50 comments

Why we built yet another Postgres connection pooler

https://pgdog.dev/blog/why-yet-another-connection-pooler
168•levkk•15h ago•40 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?