frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Attention Costs $100k

https://tornikeo.com/your-attention-costs-100k/
232•tornikeo•2h ago•98 comments

Google Play Integrity locks out alternative operating systems

https://consumerrights.wiki/w/Google_Play_Integrity_locks_out_alternative_operating_systems
356•DeepLogin•6h ago•135 comments

California to require businesses to provide customers with human support

https://calmatters.digitaldemocracy.org/bills/b-29278
146•DeepLogin•4h ago•59 comments

My OpenAI Dot made a discovery without me asking

https://echo.ls/dots-cwc/
657•maplet•12h ago•321 comments

BetterSPICE is a free, open-source SPICE circuit simulator

https://bspicesim.com/
146•zdw•7h ago•39 comments

What broke when I enabled PQC for Git and SSH

https://nordlenord.github.io/my-shared-notes/?id=f86ed9e6f4ac17225617717a5a14255f
143•tukHelix•8h ago•54 comments

Did AI rediscover a cryptographic attack NSA had known since 2015?

https://an.dywa.ng/ecc.html
923•cbeuw•20h ago•630 comments

NSA, NIST, and post-quantum cryptography

https://blog.cr.yp.to/20220805-nsa.html
122•frostbyte64•6h ago•17 comments

My second-hand 5G router came with a Tailscale backdoor named after me

https://blog.euhe.eu/posts/second-hand-router-backdoor/
77•siguiriya•2h ago•33 comments

FreeHand

https://microsoft.github.io/FreeHand/
102•jhack•7h ago•46 comments

Making cement in seconds just needs a big microwave

https://arstechnica.com/science/2026/12/making-cement-in-seconds-just-needs-a-really-big-microwave/
46•amooe•3d ago•22 comments

Make Me a Million-Bench: a benchmark where AIs build companies in the real world

https://andonlabs.com/evals/mmm-bench
165•lukaspetersson•11h ago•102 comments

CleanYourTV: Remove Ads and Bloat from Android TV and Google TV

https://cleanyour.tv
546•kls0e•21h ago•182 comments

How to find and upgrade SSH and PGP keys using P‑256, ED25519, and Curve25519

https://sethmlarson.dev/how-to-find-and-upgrade-256-bit-curve-keys
291•lumpa•14h ago•109 comments

Into which trinitarian heresy hath ye fallen?

https://blesswrong.com
512•rachelshu•18h ago•368 comments

OpenAI's matrix multiplication paper solved a harder problem in computer science

https://www.newscientist.com/article/2602472-openai-solved-a-huge-problem-in-computer-science-and...
208•shinryuu•14h ago•40 comments

Tinybrowser: A browser running directly in the browser

https://tinybrowser.ericc.ch/
139•auraham•10h ago•50 comments

Intellectual Debt After Generative AI

https://www.noemamag.com/intellectual-debt-after-generative-ai/
607•theanonymousone•1d ago•407 comments

Dufuna canoe: world's second-oldest known boat

https://en.wikipedia.org/wiki/Dufuna_canoe
6•bookofjoe•3d ago•0 comments

Claude still falls for old jailbreak exploits

https://spectrum.ieee.org/anthropic-ipo-security
373•speckx•18h ago•221 comments

Counting large numbers of events in small floating point registers

https://dotat.at/@/2026-12-02-approx-count.html
3•todsacerdoti•2d ago•0 comments

OpenAI: Smooth four-dimensional Poincaré conjecture disproved [pdf]

https://github.com/openai/math/blob/main/preprints/Exotic-four-spheres-detected-by-Khovanov-homol...
215•xhevahir•10h ago•136 comments

Modern ThinkPads suck and I feel like a loser for buying new X1

https://www.reddit.com/r/thinkpad/s/NPoyFragud
12•cromka•49m ago•1 comments

Rare books destroyed in truck crash, upending Oakland man's future

https://oaklandside.org/2026/11/25/pratum-rare-books-big-rig-crash-wuum/
257•gnabgib•18h ago•74 comments

Silence at NIST, Panic on X: Who Gets to Tell Us Our Encryption Is Broken?

https://soghoian.net/blog/silence-at-nist-panic-on-x/
10•hellcow•2h ago•1 comments

Building Z86: Lessons from Implementing an Out-of-Order x86 CPU on FPGA

https://nand2mario.github.io/posts/2026/z86/
52•wicket•2d ago•3 comments

An OS with no threads: The Actor Model

https://www.timdbg.com/posts/dbgos-actor-model/
342•ingve•1d ago•151 comments

The spectrum between coding and vibe coding

https://dmitryfrank.com/articles/ai_for_coding_in_2026
216•dimonomid•20h ago•121 comments

Show HN: Weavon, 99.93% Pandoc in 9.3 MB of Rust, 15-50x faster, PDF without TeX

https://github.com/weavon/weavon
323•deyvium•20h ago•138 comments

Diving Lock 21: a submerged Victorian canal lock on the St Lawrence River

https://davidgibbins.com/journal/2016/4/8/diving-lock-21-a-submerged-victorian-canal-lock-on-the-...
5•pombo•3d ago•0 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?