frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Beam: Reflection's 501B open-weight model

https://reflection.ai/blog/introducing-beam
449•Philpax•14h ago•143 comments

Protect Your Friends and Loved Ones

https://ephemeral.cx/2026/07/protect-your-friends-and-loved-ones/
31•speckx•2d ago•8 comments

Accountability mechanisms can be joyful (2024)

https://liquidbrain.net/blog/accountability-and-joy/
33•luu•2d ago•9 comments

Find the flattest route between any two points in SF

https://flattensf.com/
200•ishan0102•11h ago•70 comments

Dust: Pretraining Transformers Without Backpropagation

https://qlabs.sh/research/dust
187•E-Reverance•12h ago•44 comments

Friendship ended with Deno, now Node is my best friend

https://dbushell.com/2026/10/03/deno-to-node/
166•ibobev•11h ago•92 comments

Opus 5.5 agents discover two room-temperature magnetic semiconductor candidates

https://www.vals.ai/blogs/room-temperature-magnetic-semiconductors
352•outlier99•12h ago•232 comments

Web Search API

https://developers.cloudflare.com/changelog/post/2026-10-02-introducing-web-search-api/
545•tosh•22h ago•248 comments

Resurrecting iChat Audio and Video Conferencing

https://blog.pipetogrep.org/2026/09/11/resurrecting-ichat-audio-and-video-conferencing/
48•thepipetogrep•5h ago•12 comments

Example.com just launched the biggest redesign in decades

https://www.debugbear.com/blog/example-dot-com-redesign-history
222•jgx0•10h ago•141 comments

An algorithmic failure beneath the secret ballot

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

Testing 12 different Zigbee temperature/humidity sensors

https://smarthomescene.com/reviews/best-selling-zigbee-temperature-sensors-tested/
112•walrus01•2d ago•49 comments

Competitive Programmer's Handbook (2018) [pdf]

https://cses.fi/book/book.pdf
199•vinhnx•2d ago•47 comments

Why Common Lisp is now the best programming language

https://www.vivienhenz.com/common-lisp
159•misterchocolat•6h ago•218 comments

The complement of true is true, except when it's false

https://dryperspective.github.io/posts/complement-of-true/
11•aw1621107•1d ago•1 comments

Global Solar Atlas: summary of solar power potential globally

https://globalsolaratlas.info/
52•stratts•10h ago•35 comments

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...
431•rdmuser•10h ago•310 comments

Using A.I. and machine learning to decode communication of sperm whales

https://blue-continuum.com/the-man-who-listens-to-whales
22•dnetesn•1d ago•6 comments

Show HN: Photoc – Command-line tools for photographers

https://github.com/ahmetomerv/photoc
34•ahmetomer•2d ago•5 comments

Show HN: Entombed in a Raycaster

https://www.stelabouras.com/blog/entombed-raycaster/
23•stelabouras•2d ago•5 comments

The lamps in my house

https://arslan.io/2026/10/05/the-lamps-in-my-house/
202•farslan•19h ago•89 comments

Ephemeral Testing

https://lemire.me/blog/2026/10/05/ephemeral-testing/
56•ibobev•10h ago•19 comments

DEDA – Tracking Dots Extraction, Decoding and Anonymisation Toolkit

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

Samon: Designing a Zen Garden Raking Puzzle

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

Apple and a hacker's future

https://stratechery.com/2026/apple-and-a-hackers-future/
257•maguay•23h ago•217 comments

Making a GTK application in Haskell, part 1

https://floreal.tech/blog/2026/making-a-gtk-app-in-haskell-part-1/
156•Vosporos•19h ago•41 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...
190•0xedb•1d ago•125 comments

The first fully implanted cochlear implant reaches patients

https://spectrum.ieee.org/fully-implantable-cochlear-implant
90•rbanffy•4d ago•71 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
726•emptybits•1d ago•564 comments

Linux containers in 500 lines of code (2016)

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