frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

ChatGPT is adding real cartoonists' signatures to fake New Yorker cartoons

https://www.niemanlab.org/2026/10/chatgpt-is-adding-real-cartoonists-signatures-to-fake-new-yorke...
268•rdmuser•3h ago•149 comments

Beam: Reflection's 501B open-weight model

https://reflection.ai/blog/introducing-beam
318•Philpax•7h ago•91 comments

Find the flattest route between any two points in SF

https://flattensf.com/
113•ishan0102•4h ago•40 comments

Dust: Pretraining Transformers Without Backpropagation

https://qlabs.sh/research/dust
110•E-Reverance•5h ago•18 comments

AI Tutoring with Khanmigo in a Two-Year School Experiment

https://edworkingpapers.com/ai26-1551
30•bryan0•2h ago•22 comments

Example.com Just Launched the Biggest Redesign in Decades

https://www.debugbear.com/blog/example-dot-com-redesign-history
90•jgx0•3h ago•57 comments

Friendship ended with Deno, now Node is my best friend

https://dbushell.com/2026/10/03/deno-to-node/
64•ibobev•3h ago•12 comments

Opus 5.5 agents discover two room-temperature magnetic semiconductor candidates

https://www.vals.ai/blogs/room-temperature-magnetic-semiconductors
219•outlier99•5h ago•163 comments

Samon: Designing a Zen Garden Raking Puzzle

https://gwern.net/doc/design/2026-10-03-gwern-samon.html
20•networked•2h ago•7 comments

An Algorithmic Failure Beneath the Secret Ballot

https://blog.citp.princeton.edu/2026/08/03/an-algorithmic-failure-beneath-the-secret-ballot/
30•leecoursey•2d ago•8 comments

Worth Building

https://armstr.ng/writing/worth-building
39•colinarms•3h ago•29 comments

Web Search API

https://developers.cloudflare.com/changelog/post/2026-10-02-introducing-web-search-api/
489•tosh•15h ago•222 comments

Ephemeral Testing

https://lemire.me/blog/2026/10/05/ephemeral-testing/
35•ibobev•3h ago•12 comments

Using Blu-ray M-Disk as backup of last resort

https://smyck.net/2026/10/03/holocron-the-backup-of-last-resort/
64•hukl•1d ago•60 comments

Competitive Programmer's Handbook (2018) [pdf]

https://cses.fi/book/book.pdf
123•vinhnx•2d ago•26 comments

DEDA – Tracking Dots Extraction, Decoding and Anonymisation Toolkit

https://github.com/dfd-tud/deda
32•greyface-•1d ago•4 comments

Anthropic reported diary entry to police, woman faces felony charge

https://www.techspot.com/news/114091-florida-woman-used-claude-diary-anthropic-reported-shoot.html
559•emptybits•20h ago•471 comments

Testing 12 different Zigbee temperature/humidity sensors

https://smarthomescene.com/reviews/best-selling-zigbee-temperature-sensors-tested/
37•walrus01•1d ago•7 comments

Global Solar Atlas: summary of solar power potential globally

https://globalsolaratlas.info/
14•stratts•3h ago•9 comments

Texas city demands $2M for public records on Flock usage

https://arstechnica.com/tech-policy/2026/10/texas-city-demands-2m-for-public-records-on-flock-usage/
106•01-_-•4h ago•14 comments

Unruly Folded Sheets

https://literaryreview.co.uk/unruly-folded-sheets
4•Thevet•1d ago•0 comments

Better Space-Time Trade-Offs for LSM-Tree Based Key-Value Stores [pdf]

https://nivdayan.github.io/dostoevsky.pdf
17•ibobev•3h ago•0 comments

Making a GTK application in Haskell, part 1

https://floreal.tech/blog/2026/making-a-gtk-app-in-haskell-part-1/
135•Vosporos•11h ago•33 comments

Learning Jazz Pianist Style with Cross-Attention Conditioning

https://almostimplemented.github.io/jazz-pianist-style/
21•ishan0102•3h ago•2 comments

High Diesel Prices Bankrupted 16 Trucking Companies in Just 30 Days

https://www.thedrive.com/news/high-diesel-prices-bankrupted-16-trucking-companies-in-just-30-days
22•speckx•1h ago•7 comments

Apple and a hacker's future

https://stratechery.com/2026/apple-and-a-hackers-future/
210•maguay•16h ago•187 comments

The lamps in my house

https://arslan.io/2026/10/05/the-lamps-in-my-house/
132•farslan•12h ago•66 comments

The Future of Mathematics

https://terrytao.wordpress.com/2026/10/05/the-future-of-mathematics/
102•smilelamp•6h ago•56 comments

Qualcomm licenses patents on Huawei’s LogicFolding chip tech

https://www.bloomberg.com/news/articles/2026-10-05/qualcomm-licenses-patents-on-huawei-s-logicfol...
176•0xedb•18h ago•117 comments

Linux containers in 500 lines of code (2016)

https://blog.lizzie.io/linux-containers-in-500-loc.html
100•mkornaukhov•12h ago•22 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?