frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: HackerBooks – HackerTube, but for books recommended on HN

https://hackerbooks.org
35β€’roanshβ€’29m agoβ€’7 comments

HackerTube: YouTube built from videos recommended by HN

https://karpathy.bearblog.dev/hacker-tube/
1732β€’karpathyβ€’20h agoβ€’458 comments

Proving and improving the Platonic Representation Hypothesis with JEPAs

https://arxiv.org/abs/2610.39302
49β€’Anon84β€’3h agoβ€’14 comments

Novellas with Groff

https://movq.de/blog/postings/2026-10-31/0/POSTING-en.html
42β€’dverlaeckt80β€’2h agoβ€’13 comments

Lenovo's 'encrypted' fingerprint USB is just an unencrypted SD card in a case

https://www.reddit.com/r/technology/comments/1xl2pr3/lenovos_encrypted_fingerprint_usb_drive_is_j...
112β€’entryleveljobscβ€’1h agoβ€’48 comments

Police chief unplugs Flock cameras after company ignores contract cancellation

https://www.tomshardware.com/tech-industry/big-tech/police-chief-physically-unplugs-flock-cameras...
97β€’entryleveljobscβ€’1h agoβ€’17 comments

Bidirectional Charging During Grid Outages

https://www.jefftk.com/p/bidirectional-charging-during-grid-outages
17β€’luuβ€’20h agoβ€’11 comments

An Italian farmer found some unknown seeds in his attic and planted them

https://www.smithsonianmag.com/science-nature/italian-farmer-found-unknown-seeds-attic-with-nothi...
618β€’ecaresβ€’17h agoβ€’176 comments

Show HN: I rebuilt my old canvas 3D library as a small WebGL 2 library – phoria2

https://kevs3d.co.uk/phoria2/
28β€’kevs3dβ€’1d agoβ€’3 comments

One-minute frequency disturbances from synchronization in power systems

https://www.nature.com/articles/s41560-026-02144-0
44β€’croesβ€’1d agoβ€’16 comments

Brazilian Court Sanctions Lawyers for Prompt Injection in Court Filing

https://jetstream.security/insights/brazilian-court-sanctions-prompt-injection-filing/
225β€’doodlesdevβ€’14h agoβ€’121 comments

Copper – A minimal low-level programming language with OOP and generics

https://tibleiz.net/copper/
13β€’bogdanoff_2β€’1d agoβ€’6 comments

Memdoor: A team of 5 Qwen3.8-27B models beats Fable 5 on LiveCodeBench Hard

https://github.com/guregodevo/memdoor/tree/main/examples/workflows/team-solve
352β€’guregodevoβ€’17h agoβ€’173 comments

TCP Use-After-Free: CVE-2026-98432 / CVSS 9.8

https://atlasum.net/blog/cve-2026-98432-linux-ipv4-tcp-uaf
594β€’ogerβ€’21h agoβ€’293 comments

Radiation Map of the World

https://radiaverse.com/
54β€’slaterβ€’3d agoβ€’19 comments

AI agent swarms in Minecraft fail to build civilization, drown in bureaucracy

https://www.tomshardware.com/tech-industry/artificial-intelligence/ai-agent-swarms-unleashed-in-m...
65β€’entryleveljobscβ€’2h agoβ€’24 comments

Show HN: Point your camera at a landscape to learn about its geology

https://outcrop.rocks/
79β€’headsupernovaβ€’3d agoβ€’19 comments

Enlightenment 0.28.0 Release

https://www.enlightenment.org/news/2026-10-31-enlightenment-0.28.0
21β€’birdcultureβ€’1h agoβ€’4 comments

Domain hacks with unusual Unicode characters (2018)

https://xn--69f31l4t57c0mag4b613h.xn--7uh4898msjaso/πŸ††πŸ†ƒπŸ…΅/
36β€’n_plus_1_accβ€’5h agoβ€’31 comments

Show HN: OmniDiff – Opensource, super fast, content aware Git difftool, in Rust

https://github.com/ivankovic/omnidiff
13β€’FabCHβ€’3h agoβ€’14 comments

Understanding Email Encryption

https://www.fastmail.com/blog/email-encryption/
71β€’nmjenkinsβ€’1d agoβ€’19 comments

Leaking Secrets from Air-Gap Computers by Spelling Radio Signals from RAM (2024)

https://arxiv.org/abs/2409.02292
144β€’hapax_legomenaβ€’14h agoβ€’72 comments

Running a bootstrapped SaaS for 20 years with my brother

https://blog.zamzar.com/2026/10/30/20-years-766-million-files-two-chameleons/
176β€’whyleycβ€’2d agoβ€’43 comments

Restrooms along the Norwegian Scenic Routes

https://www.visitnorway.com/plan-your-trip/travel-tips-a-z/norwegian-scenic-routes/worlds-best-to...
599β€’giuliomagnificoβ€’5h agoβ€’344 comments

The AI cost of JavaScript frameworks

https://nolanlawson.com/2026/10/28/the-ai-cost-of-javascript-frameworks/
190β€’luuβ€’10h agoβ€’128 comments

Altoids Project

https://uvdn7.github.io/altoids-project/
143β€’uvdn7β€’17h agoβ€’7 comments

Zinc creep in cable spelter sockets brought down the Arecibo telescope in 2020

https://maketecheasier.com/arecibo-zinc-creep-collapse/
146β€’ohjeezβ€’1d agoβ€’45 comments

A brief history of just-in-time: forty years of JIT work, from 1960–2000

https://dl.acm.org/doi/10.1145/857076.857077
59β€’gjvcβ€’3d agoβ€’1 comments

It's the memory latency, stupid

https://pivotlake.io/blog/its-the-memory-latency-stupid/
238β€’ntur1337β€’21h agoβ€’76 comments

A 1580 Map Shows Why Data Visualization Is Never Neutral

https://thereader.mitpress.mit.edu/a-1580-map-shows-why-data-visualization-is-never-neutral/
71β€’the-mitrβ€’2d agoβ€’9 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?