frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Google Releases Cogentic Papers on Integer Factorization, Discrete Logs and More

https://github.com/google-research/google-research/tree/master/cogentic_research_papers
96•rgwohlbold•1h ago•41 comments

Windows Loudness Equalization, reverse-engineered and ported to PipeWire

https://github.com/xoxorwr/pw-loudness-eq
145•ThrowNotAway•3h ago•83 comments

Button Sounds – collection of professionally-recorded button clicks and presses

https://buttons.joshwcomeau.com/
591•gaurang_tandon•11h ago•95 comments

Matrix Multiplication is Θ(n^2.25) [pdf]

https://github.com/openai/math/blob/main/preprints/The-matrix-multiplication-exponent-is-nine-fou...
806•E-Reverance•13h ago•450 comments

The short age of dragon riders

https://atilloy.com/2026/11/16/the-short-age-of-dragon-riders/
127•synapsomorphy•2d ago•64 comments

Models Can Communicate via Inference Servers Despite Being Sandboxed

https://www.lesswrong.com/posts/7wzWuLP3HhyBLmKfo/models-can-communicate-via-inference-servers-de...
330•gmays•12h ago•137 comments

Getting old Java phones online again

https://antcating.github.io/2026/11/23/getting-old-java-phones-online-again.html
103•waximabbax•1d ago•47 comments

U.S. jury convicts Huawei of fraud, Iran sanctions violations

https://www.upi.com/Top_News/US/2026/11/25/jury-convicts-Huawei/3151795587204/
25•nephihaha•31m ago•8 comments

Show HN: Old Nvidia and ATI tech demos, running again in the browser

https://gpu-demo-gallery.pages.dev/
226•arkits•10h ago•50 comments

Bypassing iOS Safari's 60 FPS Limit to Build Web Applications That Feel Native

https://rida.dev/blog/bypassing-ios-safari-60-fps-limit
314•vinhnx•11h ago•111 comments

Hazel (YC W24) Is Hiring a Product Designer

https://www.ycombinator.com/companies/hazel-2/jobs/8EhsvYE-product-designer-contract
1•augustschen•2h ago

Ternary Bonsai 2.5 27B

https://prismml.com/news/bonsai-2-5-27b
497•b0m•18h ago•151 comments

PenGPT: A Generative Transformer for Handwriting and Sketches

https://greydanus.github.io/2026/11/12/pengpt/
321•smusamashah•13h ago•54 comments

Taking over US Treasury subdomains for $3 each

https://www.intruder.io/research/taking-over-us-treasury-subdomains-for-3-each
151•negura•10h ago•29 comments

Pinocchio at 200: a tale of hunger, greed and Italy's culinary history

https://www.repubblica.it/en/europe/food-travel/2026/11/24/news/carlo_collodi_pinocchio_pellegrin...
7•simonebrunozzi•1d ago•0 comments

Marginalia Search, Money, C++, Rust, AI, Stuff

https://www.marginalia.nu/log/a_141_marginalia_update/
173•Curiositry•10h ago•73 comments

The Spray Bottle

https://mechanical-pencil.com/products/spray-bottle
547•vinhnx•3d ago•126 comments

The algebra of dependent types (2025)

https://dotat.at/@/2025-05-28-types.html
64•todsacerdoti•1d ago•9 comments

GPT-6 models demonstrate intrinsic protein-design capabilities

https://openai.com/index/gpt-6-models-demonstrate-intrinsic-protein-design-capabilities/
309•acossta•17h ago•91 comments

The Shapes of Rivers

https://dominicroye.github.io/shapes-of-rivers/
101•joexov•1d ago•29 comments

When in Doubt, Flail About

https://www.seangoedecke.com/when-in-doubt-flail-about/
77•zdw•1d ago•35 comments

Launch HN: Versine (YC F26) – MCP to send and receive money

94•harshithl1777•17h ago•86 comments

Top open problems in mathematics ranked by LLM-assessed importance

https://www.proofatlas.ai/open-problems/
76•ijidak•11h ago•43 comments

Serving Qwen via AWS Lambdas for fun and 80x negative profit

https://noahbuilt.it/writing/qwen-on-5600-lambdas
104•octember•11h ago•14 comments

Ask HN: Anthropic is accusing my company of distilling. How can I prove I'm not?

378•weli•21h ago•291 comments

Macrohistory in Six Facts

https://basilhalperin.com/essays/macrohistory.html
105•tptacek•11h ago•56 comments

Active intrusion campaign against Check Point security management servers

https://www.greynoise.io/blog/check-point-security-management-servers-intrusion-campaign
291•louiereederson•22h ago•146 comments

Lua for data representation (2025)

https://citrons.xyz/journal/2025-07-23
80•vinhnx•11h ago•37 comments

GTA 6 Running on Windows

https://twitter.com/raul_bs3/status/2125213756238291075
464•andrem•1d ago•522 comments

A faster algorithm for extracting hexadecimal digits of π

https://www.stylewarning.com/posts/faster-digit-extraction/
62•vinhnx•11h ago•2 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?