frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Advent of Code 2026

https://adventofcode.com/2026
668•meffmadd•5h ago•297 comments

Claude's 5-minute timer is 23% of your coding bill

https://www.requesty.ai/blog/claude-5-minute-prompt-cache
129•danvdb•2h ago•44 comments

Fake Meta Ads Manager apps passed App Store review; two ran as Apple's top ad

https://husseinsaleh.com/2026/12/01/fake-meta-ads-manager-apps-pass-app-store-review-apple-ads/
327•itshusseinsaleh•5h ago•146 comments

Ty 1.0: an extremely fast Python type checker and language server

https://astral.sh/blog/ty-1.0
99•burntsushi•1h ago•20 comments

Michael Caine has died

https://www.nytimes.com/2026/12/01/movies/michael-caine-dead.html
184•ChrisArchitect•53m ago•50 comments

Micromorts – visualizing your chances of dying doing everyday activities

https://hugo0.com/micromorts
197•montenegrohugo•4h ago•105 comments

Anthropic suspended us in the most critical time of the year

https://weli.dev/blog/anthropic-suspended-us-in-the-most-critical-time-of-the-year/
247•weli•3h ago•184 comments

CellGemma: Predicting cell responses to help accelerate cancer research

https://blog.google/innovation-and-ai/models-and-research/google-deepmind/cellgemma/
33•carlesonielfa•1h ago•5 comments

Amazon releases its first open-weight model, Ergo

https://techcrunch.com/2026/12/01/amazon-releases-its-first-open-weight-model-ergo-to-protect-ent...
99•jaredwiener•56m ago•16 comments

Cryptopocalypse

https://www.argmin.net/p/cryptopocalypse
239•_delirium•3h ago•120 comments

Goals don't work. Rely on your values

https://adam.ci/train/goals-do-not-work/
283•adamci•7h ago•110 comments

Roald Dahl's contribution to neurosurgery: the Wade-Dahl-Till shunt

https://pmc.ncbi.nlm.nih.gov/articles/PMC3029661/
105•thunderbong•2d ago•15 comments

Show HN: A GUI for polishing the text your coding agent writes

https://draftmux.raine.dev/
169•rane•7h ago•75 comments

Bob's Company

https://lucumr.pocoo.org/2026/11/28/bob/
452•BerislavLopac•10h ago•252 comments

Initial Assessment of Anthropic's Findings on Lattice Cryptography

https://cirg.org/statements/1/
779•nwcs•19h ago•423 comments

Best Buy Putting 4K UHD Discs Back on Store Shelves

https://www.mediaplaynews.com/the-odyssey-was-not-a-one-off-best-buy-putting-4k-uhd-discs-back-on...
649•kartik147•19h ago•497 comments

Nuclear magnetic resonance on a single atom with a local probe

https://www.nature.com/articles/s41467-026-78801-5
80•Cilan798•1d ago•8 comments

Amazon Ergo

https://huggingface.co/collections/Amazon-FMR/amazon-ergo
41•xendo•53m ago•6 comments

Backblaze Sending the Names of Files on B2 to an Ad Tracker – Again

https://www.reddit.com/r/backblaze/comments/1ya3iol/backblaze_sending_the_names_of_files_on_b2_to...
55•CTOSian•1h ago•8 comments

Cause of FAA systems failure that grounded flights identified, contractor says

https://www.local3news.com/regional-national/cause-of-faa-systems-failure-that-grounded-flights-n...
126•firesteelrain•16h ago•107 comments

C++ Needs to Catch Up

https://www.vinniefalco.com/p/c-needs-to-catch-up-and-fast
220•simonask•10h ago•223 comments

Return to the Boston Area After 50+ Years: What can we learn from VLDB 1975?

https://www.vldb.org/pvldb/vol19/p4983-srivastava.pdf
10•matt_d•1d ago•3 comments

Baggins End

https://www.bagginsend.net/
71•tosh•7h ago•32 comments

'Big fat lady' hawk who ate too many chickens to fly soars free once again

https://www.cbc.ca/radio/asithappens/hefty-hawk-released-9.7439479
149•randycupertino•3d ago•46 comments

Red heads are linked to a mutation that makes them resistant to anesthesia (2024)

https://health.clevelandclinic.org/why-do-redheads-need-more-anesthesia
293•illidan1000•17h ago•173 comments

Cloudflare Clairic System One Extraction Models Are Now Open-Weight

https://blog.cloudflare.com/open-clairic/
271•reddmachine•15h ago•55 comments

Show HN: GoModel – an open-source AI gateway – LiteLLM alternative

https://gomodel.enterpilot.io/
28•santiago-pl•4h ago•7 comments

Chez from a Clojurian perspective

https://get-aksh.com/blog/chez-from-a-clojurian-perspective
73•pushpankar•2d ago•47 comments

Adhesive coatings in naval archaeology: Materials from Roman Republican wreck

https://www.frontiersin.org/journals/materials/articles/10.3389/fmats.2026.1758862/full
32•bookofjoe•2d ago•0 comments

Finding and fixing Android memory leaks with Perfetto, SQL, and AI agents

https://perfetto.dev/blog/hunting-android-memory-leaks
23•lalitmaganti•1d ago•7 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?