frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Everything I own, owned

https://schlarp.com/posts/everything-i-own-owned/
650•schlarpc•8h ago•200 comments

Anthropic's best AI model struggles to attract users as cheaper tools thrive

https://www.ft.com/content/5ee49718-c258-4f01-aa32-7e5b76ae5245
428•naves•12h ago•371 comments

I were 17, I'd learn how to build LLMs from scratch

https://twitter.com/paulg/status/2091544343589060625
12•bilsbie•10h ago•16 comments

How I find problems to solve as a staff engineer

https://lalitm.com/post/find-problems-staff-engineer/
375•vanpra•11h ago•123 comments

OCR It – pull text out of un-copyable documents for your LLM

https://github.com/thiagotigaz/ocr-it
4•thiagolima•28m ago•1 comments

My agent.md to improve LLM-assisted code quality

https://fabiensanglard.net/agent.md/index.html
283•ibobev•12h ago•109 comments

Migrating a Synology NAS to a UniFi UNAS Pro 8 with Robocopy, SMB Multichannel

https://www.hanselman.com/blog/migrating-a-synology-nas-to-a-unifi-unas-pro-8-with-robocopy-smb-m...
42•soheilpro•5h ago•35 comments

I built a low-latency AI companion that plays Skyrim with me

https://pantel.is/projects/ai-gaming-companion/
93•pantelisk•7h ago•18 comments

Google Workspace thinks my domain is an email provider (2025)

https://blog.elis.cc/articles/google-workspace-thinks-my-domain-is-an-email-provider/
266•el1s7•11h ago•78 comments

What Is a Harness?

https://earendil.com/posts/what-is-a-harness/
404•tosh•16h ago•146 comments

How Complex Systems Fail (1998)

https://how.complexsystems.fail/
295•shortcrct•15h ago•68 comments

AI Chip Architectures

https://www.jepeake.com/ai-chip-architectures
59•Finbarr•1d ago•24 comments

Rural Village in Spain Is Welcoming Digital Nomads with Open Arms

https://www.cntraveler.com/story/this-rural-village-in-spain-is-welcoming-digital-nomads-with-ope...
78•simonebrunozzi•10h ago•53 comments

Malware infects Android-based automotive head unit firmware

https://securelist.com/android-head-unit-malware/121106/
232•campuscodi•17h ago•121 comments

My favorite nonfiction books about cults, scams, and schemes

https://bookdna.com/best-books/nonfiction-about-cults-scams-and-schemes
221•bwb•17h ago•82 comments

Fable and the end of the free lunch

https://www.dbreunig.com/2026/08/23/fable-the-end-of-moore-s-law.html
138•dbreunig•11h ago•113 comments

Elevated Errors for Multiple Models

https://status.claude.com/incidents/vgz5psbjmt1h
17•rob•1h ago•3 comments

Why Sal Khan't: On Learning by Making but Teaching by Telling

https://punyamishra.com/2026/04/16/why-sal-khant-on-learning-by-making-but-teaching-by-telling/
173•the-mitr•14h ago•100 comments

Explain it to me like I'm ten

https://timharford.com/2026/08/explain-it-to-me-like-im-ten/
120•bookofjoe•12h ago•46 comments

Implementation of GPT-2 in pure CMake

https://github.com/AlpinDale/gpt2.cmake
69•porridgeraisin•9h ago•14 comments

New EU-wide product repair rules come into force

https://www.rte.ie/news/business/2026/0824/1588931-repair-rules/
14•austinallegro•1h ago•0 comments

A website for debloated open source alternatives

https://debloat.dev/
311•ryanvogel•14h ago•97 comments

The first search engine for Internet-connected devices

https://www.shodan.io/
15•momentmaker•6h ago•0 comments

Nearly 3M Teslas recalled in China over hidden door handles

https://www.bbc.com/news/articles/c4g6ggdg030o
86•chicken-stew•2h ago•85 comments

Decoding silent reading from non-invasive EEG

https://arxiv.org/abs/2608.20186
47•root-parent•10h ago•23 comments

Former OC actor Ben McKenzie on crusade to take down 'stupid' cryptocurrency

https://www.rnz.co.nz/life/people/celebrity/former-oc-actor-ben-mckenzie-on-crusade-to-take-down-...
44•billybuckwheat•4h ago•21 comments

Kodak DC50 now usable on the Apple II

https://www.colino.net/wordpress/archives/2026/08/23/kodak-dc50-now-usable-on-the-apple-ii/
58•ibobev•14h ago•9 comments

Over 170k Nonprofits Lost All Their Data. Is Microsoft to Blame?

https://slate.com/technology/2026/08/microsoft-software-nonprofit-data-delete.html
231•tchalla•11h ago•108 comments

Declarative WebGPU with S-Expressions

https://hugodaniel.com/posts/declarative-webgpu-with-s-expressions/
37•hugodan•10h ago•4 comments

Parallel development without the headaches using Git worktree

https://barrd.dev/article/parallel-development-without-the-headaches-using-git-worktree/
50•oogali•8h ago•36 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?