frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Claude Code weekly limits reduce by a third tomorrow

https://support.claude.com/en/articles/15910845-claude-code-may-august-2026-weekly-limits-promotion
122•tyre•1h ago•69 comments

Data centers raise nearby temperatures by up to 4 degrees in Phoenix

https://asmedigitalcollection.asme.org/sustainablebuildings/article/7/2/024501/1233035/Data-Cente...
65•cwwc•50m ago•34 comments

Using the railway network as a flatbed scanner

https://philo.gay/linecam/
288•otherayden•5h ago•50 comments

Fixing a bricked Framework laptop

https://quantum5.ca/2026/08/16/fixing-bricked-amd-7040-series-framework-13-laptop-with-20-tools/
234•jp_sc•4h ago•142 comments

The Amazon tax

https://seths.blog/2026/08/the-amazon-tax/
522•herbertl•4h ago•367 comments

Cursor launches Origin, GitHub alternative

https://cursor.com/changelog/origin-code-hosting
242•tomasreimers•1d ago•190 comments

Launch HN: machine0 (YC S26) – Persistent CPU and GPU VMs from the CLI

https://machine0.io
22•bwm•1h ago•14 comments

Linux 7.3 improves performance when running out of vRAM

https://pixelcluster.dev/VRAM-Overcommit/
427•flaburgan•10h ago•190 comments

Python Polars Cheatsheet (based on our O'Reilly book)

https://opensource.posit.co/resources/cheatsheets/polars/
101•jeroenjanssens•4h ago•15 comments

We've flown a radiation-blocking vest to the Moon and back, and it worked

https://arstechnica.com/science/2026/08/weve-flown-a-radiation-blocking-vest-to-the-moon-and-back...
21•rbanffy•4d ago•4 comments

Superpowers, Not Superintelligence

https://bond.now/news/superpowers-not-superintelligence
15•edbernays•1h ago•20 comments

Splitting a Git Commit

https://blog.gnoack.org/post/git-history-split
71•signa11•3d ago•32 comments

Teaching my kid to code with a modern MUD

https://tau.dev/2026/08/07/canon
163•andrewjanke•6d ago•50 comments

Code-native generation of highly programmable 3D assets (2026)

https://arxiv.org/abs/2607.22738
30•baigy•3h ago•32 comments

Memory prices climb 500% in 12 months

https://www.tomshardware.com/pc-components/ram/memory-prices-climb-500-percent-in-12-months-up-to...
197•haunter•1d ago•153 comments

Ask HN: I've quit six systems for tracking my illness. What works?

29•Abh1Works•2d ago•33 comments

Babies born under sugar rationing grew into adults with lower cancer risk

https://theconversation.com/babies-born-under-sugar-rationing-grew-into-adults-with-lower-cancer-...
155•zeristor•4h ago•35 comments

Fairphone is now officially available in the United States

https://www.fairphone.com/nl/stories/the-fairphone-gen-6-is-all-about-giving-you-more
272•Vinnl•5h ago•135 comments

Show HN: Openleetcode – local LeetCode runner where tests live in the repo

https://github.com/therepanic/openleetcode
13•therepanic•2h ago•4 comments

Universal health coverage could save $1T and 114k lives a year: study

https://ysph.yale.edu/news-article/universal-health-coverage-could-save-one-trillion-dollars-and-...
463•karakoram•1d ago•581 comments

Google has acquired the data of failed US airline Spirit

https://www.theregister.com/ai-and-ml/2026/08/18/google-buys-crashed-airline-spirits-data-at-auct...
489•pseudolus•8h ago•338 comments

California's new tire efficiency rules could save drivers $1B a year

https://grist.org/transportation/californias-new-tire-efficiency-rules-could-save-drivers-1b-a-year/
74•littlexsparkee•15h ago•105 comments

Show HN: macOS data protection keychain for Electron apps

https://github.com/biw/keychain-store
3•biwills•50m ago•0 comments

Meta Files Patent for Facial Recognition, Automatic Recording of People

https://www.privacyguides.org/news/2026/08/17/meta-files-patent-for-facial-recognition-automatic-...
205•DeepLogin•5h ago•128 comments

Rethinking Database Programming

https://acadia.engineering/blog/rethinking-database-programming
193•honungsburk•10h ago•101 comments

Ask HN: GitHub employees what's going on? Why?

133•sharts•1d ago•101 comments

Why your Amazon order confirmation emails have become so unhelpful

https://www.theverge.com/ai-artificial-intelligence/977733/amazon-order-emails-google-gmail-ai-ag...
25•Macha•1h ago•9 comments

Degraded performance for multiple models

https://status.claude.com/incidents/q7txxvbsftgq
139•matt89•1h ago•121 comments

Finger: Social network that never died

https://en.andros.dev/blog/54572bc7/finger-the-1971-social-network-that-never-died/
136•andros•10h ago•47 comments

Diesel Margins Top $100 a Barrel to Reach Record High as Supply Crunch Grows

https://www.bloomberg.com/news/articles/2026-08-18/diesel-margins-top-100-a-barrel-to-reach-recor...
27•toomuchtodo•1h ago•10 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?