frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

PocketBase has moved off GitHub

https://github.com/pocketbase/pocketbase/issues/7872
147•p2detar•3h ago•56 comments

Show HN: I made a tiny live replica of SFO

https://tinysfo.com/
273•eiiot•5h ago•97 comments

Audible removes download option for purchased audiobooks

https://consumerrights.wiki/w/Audible_removes_download_option_for_purchased_audiobooks
1070•DeepLogin•13h ago•424 comments

The importance of understanding what the fuck is going on

https://blog.jsbarretto.com/post/understanding
55•notfried•3h ago•9 comments

Does Task Framing Change How Claude Code Works? A Preliminary Study

https://xinyadu.github.io/blog/claude-code-sabotage.html
910•abedelez•14h ago•347 comments

Gmail "Send as" ends January 2027

https://emailfa.st/blog/gmail-send-as-ending-cloudflare-email-routing
269•tombakerbuilds•5h ago•177 comments

Computer Disease (2020)

https://blog.adafruit.com/2020/01/13/richard-feynman-on-computer-disease/
196•jvanderbot•8h ago•76 comments

Show HN: Peat, a fork of Neon's serverless Postgres, on Postgres 18 and 19

https://github.com/Zabaca/peat
29•uptownhr•2h ago•5 comments

Silently degrading the model's capabilities is sabotage

https://twitter.com/TimSweeneyEpic/status/2126682647862862063
624•tosh•9h ago•250 comments

Conductive Dyes Could Turn Hair into EEG Electrodes

https://spectrum.ieee.org/hair-dye-eeg-electroencephalography
15•dverlaeckt80•2d ago•1 comments

Lua as a Query Language

https://remy.wang/blog/lua-ql.html
9•remywang•1h ago•4 comments

M 5.0 earthquake - 5 km SW of Manhattan Beach, CA

https://earthquake.usgs.gov/earthquakes/eventpage/ci41581136/executive
153•dboreham•7h ago•90 comments

Show HN: Archive95, an independent archive of the early web

https://archive95.net/
44•WumboSpasm•4h ago•6 comments

Nightmare mode: simulating disk failures

https://antithesis.com/blog/2026/nightmare-mode/
21•dverlaeckt80•2d ago•1 comments

What Changes When You Upgrade from PostgreSQL 18 to 19

https://rishigoomar.com/postgresql-19-what-changes-when-you-upgrade-from-18
53•rgoomar•2d ago•3 comments

Tilapia are multi-jawed monsters

https://signoregalilei.com/2026/11/01/tilapia-are-multi-jawed-monsters/
40•surprisetalk•3d ago•5 comments

Rez Dreamcast, Its Prototypes: When Psychedelic Gaming Came to Consoles

https://www.sega-dreamcast-info.com/en/rez-dreamcast-development-history-prototypes-minidv-archive
75•zdw•3d ago•27 comments

Werner Vogels' Tech predictions for 2027 and beyond

https://www.allthingsdistributed.com/2026/11/tech-predictions-for-2027-and-beyond.html
38•simonebrunozzi•4h ago•19 comments

Show HN: Venndetta, daily Venn diagram puzzles about real-world data

https://trost.co/venndetta/
28•matthewtoast•3h ago•18 comments

GGUF LLM Models with Hidden Malware on Hugging Face Reached 2400 Victims

https://malspark.com/blog/malicious-gguf-models-hugging-face/
259•homarp•13h ago•84 comments

Language Modeling Is Compression [pdf]

https://proceedings.iclr.cc/paper_files/paper/2024/file/3cbf627fa24fb6cb576e04e689b9428b-Paper-Co...
64•gmays•5h ago•15 comments

Aschenbrenner's Situational Awareness Tells Investors It Lost 65% in 3rd Quarter

https://www.wsj.com/finance/investing/aschenbrenners-situational-awareness-tells-investors-it-los...
13•vismit2000•24m ago•0 comments

Show HN: Pippin – Message your agents from any device

https://pippin.chat
20•cwbuilds•7h ago•12 comments

Farewell

https://github.com/p-e-w/heretic/issues/601
1016•nolist_policy•13h ago•410 comments

Physics Breakthrough Simulator

https://pages.ethanmdavidson.com/ai-physics-breakthrough
156•machinerychorus•10h ago•60 comments

Diablo II

https://www.filfre.net/2026/11/diablo-ii/
249•doppp•15h ago•92 comments

Why stop at Emacs? Native apps you or an AI reprogram in Clojure while they run

https://github.com/RiccardoSottini/AffrescoUI
101•RiccardoSottini•11h ago•78 comments

Rødhals Man: a life at the end of the Mesolithic world

https://www.cambridge.org/core/journals/antiquity/article/rdhals-man-a-life-at-the-end-of-the-mes...
28•anyonecancode•3d ago•3 comments

How Old Electromechanical Pinball Machines Work

https://how-old-pinball-machines-work.mattmakai.com/
61•makaimc•3d ago•22 comments

Show HN: Luciole Mono – terminal font designed for legibility

https://scriptor-pro.github.io/luciole-mono/
159•BaudouinVH•12h ago•59 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?