frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Fixing Tool-Call Accuracy in vLLM

https://www.ubicloud.com/blog/fixing-tool-call-accuracy-in-vllm
75•coffeemug•2h ago•23 comments

Birdwatching rewires the brain and slows cognitive decline

https://www.bbc.com/future/article/20261019-birdwatching-rewires-the-brain-and-slows-cognitive-de...
295•cisc•2d ago•119 comments

One of the Greatest Inventions in the History of Human Transport

https://humantransit.org/2024/12/one-of-the-greatest-inventions-in-the-history-of-human-transport...
96•skadamat•3d ago•27 comments

Partyline: A group voice application for Reticulum, built on LXST

https://github.com/RFnexus/partyline
11•iamnothere•43m ago•2 comments

Switzerland. Block by block. At 1:1 scale

https://blocks.manifold3d.ch/
347•theanonymousone•6h ago•158 comments

Pharo 14

https://pharo.org/news/2026-10-26-Pharo14Release.html
53•xkriva11•4h ago•9 comments

Colorfigures

https://april-zhu.com/colorfigures
55•the-mitr•3d ago•7 comments

Show HN: TitleArt – Make text like it's 1997

https://titleart.dvy.io/
330•davidbarker•12h ago•63 comments

PhysicsForums and the Dead Internet Theory (2025)

https://hallofdreams.org/posts/physicsforums/
18•bmacho•2d ago•6 comments

Behind the scenes at the NeXT Computer office

https://exhibits.stanford.edu/menuez/browse/next-computer-inc?per_page=96&sort=pub_year_isi+asc%2...
204•Austin_Conlon•11h ago•118 comments

OLED iPad Mini

https://www.apple.com/shop/buy-ipad/ipad-mini
113•etothet•1h ago•135 comments

Anthropic S-1

https://www.sec.gov/Archives/edgar/data/2130357/000162828026067168/anthropicpbc-sx1.htm
649•SiNTEx•2h ago•604 comments

Dolly Parton's Imagination Library

https://imaginationlibrary.com/
623•jumploops•21h ago•103 comments

PaperPilot – Zero-Cloud, Pure-Rust PDF Engine with WASM and MCP

https://github.com/KrushnaVardhanReddy/PaperPilot
201•vardhan1237•11h ago•73 comments

Websites Should Be Printable

https://brennenputh.me/blog/printable-websites/
151•bagatelle•4h ago•120 comments

Brown student maps the hidden global labor powering AI

https://www.brown.edu/news/2026-10-26/ai-data-workers
50•cdrnsf•2h ago•36 comments

Growing Trees

https://brashandplucky.com/2026/10/15/growing-trees.html
151•ibobev•3d ago•23 comments

Peta releases video showing experiments on infant monkeys at Univ of Washington

https://www.theguardian.com/us-news/2026/oct/26/peta-monkey-experiment-video
12•mikhael•35m ago•4 comments

Show HN: A Truly Modular Keyboard

https://github.com/notaroomba/keybytes
228•NotARoomba•1d ago•72 comments

Overgrown, when plants invade your abandoned tabs

https://charliegerard.dev/blog/overgrown-extension/
364•speckx•3d ago•123 comments

Vegemite is not a human right

https://www.cnn.com/2026/10/26/australia/prisoner-vegemite-rejected-judge-scli-intl
18•sumnole•1h ago•14 comments

DOJ says presidents should be able to sell secrets on eBay

https://freedom.press/the-classifieds/doj-says-presidents-should-be-able-to-sell-secrets-on-ebay/
54•_____k•1h ago•7 comments

The new iPad mini

https://www.apple.com/newsroom/2026/10/apple-gives-ipad-mini-its-biggest-update-ever/
81•soheilpro•2h ago•70 comments

AmiJa, a cycle-exact Amiga emulator written in Java

https://www.reddit.com/r/amiga/comments/1xftc5s/amija_amiga_emulator_in_java/
10•doener•53m ago•0 comments

Writing Is Closer to Thought Than Code

https://danielmiessler.com/blog/writing-is-closer-to-thought-than-code
46•eigenBasis•2h ago•21 comments

Attention Is Not What You Need (2025)

https://arxiv.org/abs/2512.19428
162•westurner•15h ago•55 comments

Iron Age salt-mining complex found beneath Hallstatt in Austria

https://archaeologymag.com/2026/09/iron-age-salt-mining-complex-beneath-hallstatt/
104•janandonly•3d ago•48 comments

Why I Am a Programmer

https://www.alfie.wtf/programming/why-i-am-a-programmer.html
290•jruohonen•20h ago•89 comments

We should be more ambitious with the software we build

https://danluu.com/ambitious/
857•ltratt•1d ago•744 comments

Steal My Bitcoin CTF PoC

https://github.com/KillaBoi/StealMyBitcoin-PoC
153•davikr•15h ago•43 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?