frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

I'm Tired of Talking to AI

https://orchidfiles.com/im-tired-of-ai-generated-answers/
1635•theorchid•6h ago•780 comments

Tech CEOs are apparently suffering from AI psychosis

https://techcrunch.com/2026/05/27/tech-ceos-are-apparently-suffering-from-ai-psychosis/
152•IAmGraydon•2h ago•64 comments

I think Anthropic and OpenAI have found product-market fit

https://simonwillison.net/2026/May/27/product-market-fit/
29•simonw•52m ago•12 comments

PostHog will train AI models with your data (opted-in by default)

https://posthog.com/blog/training-ai-models
101•tartieret•1h ago•77 comments

Last.fm is now independent

https://support.last.fm/t/last-fm-is-now-independent/118591
261•twistslider•1h ago•81 comments

DuckDuckGo search saw 28% more visits after Google said people love AI mode

https://www.pcgamer.com/hardware/duckduckgos-ai-free-search-saw-nearly-28-percent-more-visits-in-...
109•HelloUsername•1h ago•33 comments

Reflex (YC W23) Is Hiring SWEs, Growth, and GTM Roles

https://www.ycombinator.com/companies/reflex/jobs
1•apetuskey•30m ago

Mini Micro Fantasy Computer

https://miniscript.org/MiniMicro/index.html#about
187•nicoloren•7h ago•67 comments

Theseus: Translating Win32 to WASM

https://neugierig.org/software/blog/2026/05/theseus-wasm.html
34•ingve•2d ago•6 comments

Matrix Multiplications on GPUs Run Faster When Given "Predictable" Data (2024)

https://www.thonking.ai/p/strangely-matrix-multiplications
103•tosh•4d ago•31 comments

All of human cooking compressed into 2 megabytes

https://arxiv.org/abs/2605.22391
256•josefchen•9h ago•93 comments

Incident with Pull Requests, Issues, Git Operations and API Requests

https://www.githubstatus.com/incidents/xy1tt3hs572m
196•maxnoe•5h ago•152 comments

A Comma and a Question Mark, Redux: Quick Terminal Helpers Using Pi

https://z3ugma.github.io/2026/05/25/a-comma-and-a-question-mark/
9•z3ugma•1d ago•0 comments

XLIDE: VBA without excel

https://github.com/WilliamSmithEdward/xlide_vscode
48•sts153•5h ago•13 comments

Phloto for My Photo Flow

https://cceckman.com/writing/phloto/
25•evakhoury•20h ago•2 comments

My new obsession: A horse-racing board game of pure luck

https://alexanderbjoy.com/horse-race-board-game/
28•surprisetalk•2d ago•17 comments

The Melancholy of Slaying Monsters

https://thereader.mitpress.mit.edu/the-strange-melancholy-of-slaying-monsters/
234•prismatic•22h ago•104 comments

Cloudflare Flagship

https://developers.cloudflare.com/flagship/
318•tjek•17h ago•163 comments

Raft Consensus with a Minority of Nodes

https://padhye.org/raft-minority/
100•moarbugs•1d ago•15 comments

Private Equity Bought America's Essential Services

https://rubbishtalk.com/economy/how-private-equity-bought-americas-essential-services/
314•NoRagrets•5h ago•368 comments

Show HN: Open-source Workspace (mail,docs,spreadsheet,drive) web/iOS

https://tinycld.org/
14•nathanstitt•2h ago•7 comments

An Update on Composer and Packagist Supply Chain Security

https://blog.packagist.com/an-update-on-composer-packagist-supply-chain-security/
10•Seldaek•2h ago•1 comments

Atomically precise mechanosynthesis of carbon structures on hydrogenated Silicon

https://arxiv.org/abs/2605.27250
29•gene-h•6h ago•4 comments

Claude Code as a Daily Driver: Claude.md, Skills, Subagents, Plugins, and MCPs

https://arps18.github.io/posts/claude-code-mastery/
252•arps18•12h ago•198 comments

The VibeSec Reckoning

https://martinfowler.com/articles/vibesec-reckoning.html
52•HieronymusBosch•3h ago•15 comments

The worst job interview I ever had

https://www.oliverio.dev/blog/the-worst-job-interview-i-had
557•oliverio•21h ago•446 comments

Declassified CIA Cartography Maps from the 1980s

https://brilliantmaps.com/cia-maps-1980s/
48•speckx•3h ago•18 comments

Evolving Webflow for the Agentic Web

https://webflow.com/blog/evolving-webflow-for-the-agentic-web
31•rocketpastsix•3h ago•16 comments

That Methyl Methacrylate Tank

https://www.science.org/content/blog-post/methyl-methacrylate-tank
401•nooks•22h ago•174 comments

BadHost – CVE-2026-48710: Starlette Host-Header Auth Bypass

https://badhost.org/
112•ylk•1d ago•41 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?