frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Coldframe, a honeypot that poses as a supermarket fridge controller

https://github.com/hedgerow-dev/coldframe
41•hedgerow-dev•54m ago•7 comments

The $8 Linux Computer (2022)

http://thelittleengineerthatcould.blogspot.com/2022/12/the-8-linux-computer.html
131•zenincognito•4h ago•54 comments

How Long Can Life Wait?

https://mceglowski.substack.com/p/how-long-can-life-wait
47•Ariarule•1h ago•13 comments

Need for Speed Underground 2 online in the browser

https://nfsu2.xyz/
552•fluxusars•8h ago•169 comments

Libghostty 1.0

https://mitchellh.com/writing/libghostty-1-0
940•mfiguiere•18h ago•156 comments

Text.js: Build full-stack React apps that render inside console.log

https://textjs.org/
40•nateb2022•3d ago•14 comments

What I run on my $10 USD OpenStick, Linux, Homelab

https://blog.bosscher.ch/posts/openstick/
5•LaurensBER•10m ago•1 comments

MaxxBench – "Nice DeepSWE score. But is it true?"

https://maxxbench.unlap.ai/research/why-maxxbench/
6•antiuniverse•1h ago•0 comments

The End of AI Frontiers

https://hunch.net/?p=13764006
4•andsoitis•18m ago•0 comments

Microsoft Researcher John Langford Exits. AI Frontiers Group Declared Finished

https://businessexaminer.ca/victoria-articles/item/microsoft-researcher-john-langford-exits-as-ai...
8•srean•19m ago•1 comments

Running a law firm on Free software

https://decoded.legal/blog/2026/11/running-a-law-firm-on-free-software-2026-edition/
155•DeepLogin•8h ago•77 comments

They don't make 'em like that any more: Borland Turbo Pascal 7

https://kevinboone.me/tpwin.html
96•andsoitis•2h ago•62 comments

British Library Legal deposit and web archiving

https://www.bl.uk/services/legal-deposit/web-archiving
45•robtherobber•4d ago•21 comments

Every Mac comes with an (undocumented) family member classifier

https://8rank.ai/game/apple-intelligence-personal-knowledge-graph
441•infwhispers•8h ago•249 comments

Tasfer: a text editor drawn on a 2D canvas

https://www.hamza.se/blog/tasfer
43•hamza512b•3d ago•17 comments

ZeBridge – PostgreSQL replicas on devices, synchronized over NATS

https://github.com/ndrean/ZeBridge
8•ndrean•4d ago•1 comments

Ask HN: How did you convince family and friends to join your XMPP/Matrix server?

54•mtlynch•3h ago•37 comments

Building the NBC News Big Board

https://ejfox.com/projects/nbc-big-board
49•whalesalad•3d ago•17 comments

The Gordon Gekko Effect: The Role of Culture in the Financial Industry [pdf]

https://www.newyorkfed.org/medialibrary/media/research/epr/2016/epr_2016_gordon-gekko-effect_lo.pdf
22•tylerdane•4h ago•15 comments

A Jev that can ask Opus for help gives Opus accuracy at 4x lower cost

https://hightouch.com/blog/llm-judges-identity-resolution
554•theanomaly•22h ago•136 comments

Show HN: We compressed a 31B video+audio diffusion model to 14B, 6 steps, INT8

https://github.com/Video-Rebirth/hyperflow-h3-flash
12•jiant•3h ago•4 comments

ToothPaste

https://brisk4t.github.io/blog/toothpaste/
73•speckx•3d ago•16 comments

Apple Keyboard has a blacklist of phrases you can't swipe

https://www.theguardian.com/technology/2026/nov/06/struggling-to-spell-male-chauvinist-pig-apple-...
46•user_7832•1h ago•26 comments

Show HN: Spindle – a full-featured, type-safe web framework for OCaml 5

https://github.com/hyphatech/spindle
45•zaiev•2d ago•8 comments

Optimising the Rail Cube

https://owenlacey.dev/railcube-optimisation/post
7•owenlacey•3d ago•0 comments

Greece has its own Pompeii: Thera buried Akrotiri in ash 17th-16th century BCE

https://www.smithsonianmag.com/history/greece-has-its-own-pompeii-and-the-ruins-tell-a-captivatin...
181•derbOac•3d ago•25 comments

US FAA says it will phase out floppy disks from air traffic control by 2028

https://www.reuters.com/world/us/us-faa-says-it-will-phase-out-floppy-disks-air-traffic-control-b...
390•ChrisArchitect•1d ago•318 comments

The Components of Agent Memory

https://www.anthropic.com/research/components-of-agent-memory
120•geoffbp•11h ago•65 comments

Every processor die anyone has photographed and given away

https://sheets.works/data-viz/cpu-dies
3•user_7832•2h ago•0 comments

8088 Domination Post-Mortem

https://trixter.oldskool.org/2014/06/19/8088-domination-post-mortem-part-1/
58•cosmojg•3d ago•7 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?