frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

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

https://an.dywa.ng/ecc.html
193•cbeuw•1h ago•124 comments

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

https://cleanyour.tv
89•kls0e•1h ago•31 comments

I pen plotted secp256k1 (Bitcoin's elliptic curve)

https://harmonique.one/posts/i-pen-plotted-secp256k1-bitcoin-s-elliptic-curve
29•futurecat•36m ago•1 comments

Wax: A User-Friendly Syntax for WebAssembly

https://tarides.com/blog/2026-11-26-wax/
68•theanonymousone•2h ago•16 comments

Got PQC?

https://www.gotpqc.com
204•owenthejumper•5h ago•102 comments

HN Jobs Trends

https://hnjobs.mathieularose.com/
94•rzk•1h ago•43 comments

Google sent me to collections: GCP's 20-min AI alert fired 10h late ($76K bill)

https://www.reddit.com/r/googlecloud/comments/1yazk1p/google_sent_me_to_collections_20min_vertex_ai/
377•sheep1165•3h ago•179 comments

Examining a vintage RAM chip, I find a counterfeit with a different die (2017)

https://www.righto.com/2017/08/inside-fake-ram-chip-i-found-something.html
60•dverlaeckt80•1d ago•9 comments

How I almost found the eMudhra d=4 Private Key

https://blog.hboeck.de/archives/910-How-I-almost-found-the-eMudhra-d4-Private-Key.html
288•hannob•8h ago•49 comments

US banks are sharing Social Security numbers with advertising giants Reddit, X

https://www.melurna.com/research/psa-online-forms-can-collect-your-data-even-if-you-never-hit-sub...
355•DeepLogin•4h ago•116 comments

An OS with no threads: The Actor Model

https://www.timdbg.com/posts/dbgos-actor-model/
223•ingve•7h ago•112 comments

Richest 0.01% of Americans now hold their largest share of wealth in US history

https://bsky.app/profile/steverattner.bsky.social/post/3n3txzafd7s2j
296•afavour•2h ago•197 comments

Keeping HTTPS Connections Safe in Chrome

https://blog.google/security/keeping-https-connections-safe-in-chrome/
437•arwt•12h ago•234 comments

Where Does the Fourier Transform Come From?

https://fasterik.net/blog/where-does-the-fourier-transform-come-from/
9•fasterik•1h ago•1 comments

Icewind Dale

https://www.filfre.net/2026/12/icewind-dale/
3•doppp•15m ago•0 comments

The spectrum between coding and vibe coding

https://dmitryfrank.com/articles/ai_for_coding_in_2026
7•dimonomid•49m ago•2 comments

Fears over OpenAI missing revenue targets prompt tech sell-off

https://www.theguardian.com/technology/2026/dec/04/openai-missing-revenue-targets-tech-sell-off
130•jcolot•3h ago•94 comments

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

https://github.com/weavon/weavon
18•deyvium•1h ago•5 comments

Avoiding embarrassment is getting expensive

https://tornikeo.com/avoiding-embarrassment/
334•tornikeo•9h ago•206 comments

How far behind are open-weight models?

https://sebastianraschka.com/blog/2026/how-far-behind-are-open-weight-models.html
769•ModelForge•1d ago•602 comments

Rex is now available to everyone

https://www.superlogical.com/updates/rex-available-to-everyone
1011•kylebarron•1d ago•353 comments

Unmodified 748B DeepSeek-v4.1-Flash on one RTX 4090

https://axel-labs.com/research/deepseek-v4-1-flash-on-one-rtx-4090
380•bobbitybobob•20h ago•96 comments

Cloudflare will be fully post-quantum in 2027

https://blog.cloudflare.com/project-quantum-leap/
897•jupenur•1d ago•446 comments

Memtest86+ v9.10 adds NUMA support for multi-socket servers

https://github.com/memtest86plus/memtest86plus/releases/tag/v9.10
138•FiderHi•13h ago•7 comments

Plain Text Accounting

https://plaintextaccounting.org/
139•saikatsg•12h ago•52 comments

Intellectual Debt After Generative AI

https://www.noemamag.com/intellectual-debt-after-generative-ai/
328•theanonymousone•9h ago•271 comments

Post-quantum key exchange in Tailscale v1.106

https://tailscale.com/blog/pqc-key-exchange
489•tatersolid•22h ago•95 comments

I quit big tech to build with AI

https://drawsolve.com/blog/building-with-ai
793•James_Stryker_D•16h ago•412 comments

MiniMax-M4, an open-weight, natively multimodal Mixture-of-Experts model

https://github.com/MiniMax-AI/MiniMax-M4
549•cmrdporcupine•1d ago•190 comments

Why Aren't We Working Less?

https://teodordermendzhiev.com/writing/why-arent-we-working-less/
268•tdermendjiev•4h ago•377 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?