frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Claude: System Prompts

https://platform.claude.com/docs/en/release-notes/system-prompts
119•tosh•1h ago•56 comments

Firefox for iOS now has a native adblocker

https://support.mozilla.org/en-US/kb/block-ads-firefox-ios
88•pentagrama•1h ago•27 comments

A SAT Attack on Tarski's High School Algebra Problem

https://arxiv.org/abs/2608.08421
32•matt_d•4d ago•14 comments

Does anyone run Postgres without PgBouncer?

https://brandur.org/fragments/postgres-without-pgbouncer
58•abelanger•3d ago•23 comments

Research papers using "kidney disappointment" instead of "kidney failure"

https://scholar.google.com/scholar?q=%22kidney+disappointment%22
100•Alifatisk•2h ago•43 comments

Asus Bike Booster

https://www.asus.com/accessories/bike-booster/asus-oxiis/oxiis-intelligent-bike-booster/
522•wiradikusuma•4d ago•360 comments

Chestnut – eGPU dock with open-source firmware

https://hwbusters.com/news/comma-ai-egpu-dock-runs-open-source-firmware-249-bare-799-with-an-rx-9...
65•txrx0000•2d ago•17 comments

Asynchronous I/O in DuckDB: Work, Thread, Work

https://duckdb.org/2026/07/31/asynchronous-io
217•pdet•6d ago•28 comments

Tasklet (YC P26) Is Hiring a Head of Design Engineering

https://tasklet.ai/careers/head-of-design-engineering
1•mayop100•1h ago

Superconducting monolayer cuprate with a single CuO2 plane

https://www.nature.com/articles/s41586-026-10857-1
35•sbulaev•3d ago•11 comments

Software Engineering fundamentals matter more

https://rhonabwy.com/2026/08/15/software-engineering-fundamentals-matter-more-than-ever/
232•ingve•16h ago•146 comments

Cultivating a state of mind where new ideas are born (2023)

https://www.henrikkarlsson.xyz/p/good-ideas
220•felixbraun•17h ago•54 comments

A True Telnet BBS on a Casio Calculator

https://ei3lh.eu/2026/08/16/a-true-telnet-bbs-on-a-casio-calculator/
8•austinallegro•2h ago•0 comments

Super El Niño Keeps Growing as New Forecasts Reach Record Territory Ahead Winter

https://www.severe-weather.eu/long-range-2/super-el-nino-growth-accelerating-to-record-strength-f...
332•dgellow•19h ago•221 comments

Semaglutide linked to lower predicted dementia risk

https://alz-journals.onlinelibrary.wiley.com/doi/10.1002/dad2.70432
452•randycupertino•22h ago•340 comments

Guiding Ships with Moire Patterns (2018)

https://tinkerings.org/2018/03/28/guiding-ships-with-moire-patterns/
85•Eridanus2•13h ago•22 comments

What I Learned Securing Sniffnet with the GitHub Secure Open Source Fund

https://sniffnet.app/news/github-secure-open-source-fund/
8•dmit•2d ago•0 comments

Patterns and problems in emerging multi-agent systems

https://www.anthropic.com/research/multiagent-systems
148•maxutility•12h ago•105 comments

At-home test for infected ticks could improve Lyme Disease diagnosis

https://www.smithsonianmag.com/innovation/the-first-at-home-test-for-infected-ticks-could-improve...
272•gmays•1d ago•105 comments

Falstad Math and Physics Simulations

https://www.falstad.com/mathphysics.html
42•pykello•10h ago•10 comments

AI in drug discovery – what it is, where we stand and the path forward

https://www.science.org/content/blog-post/so-how-ai-drug-discovery-doing-really
161•AnodicElegy•19h ago•84 comments

Anthropic revenue reportedly jumps to more than $11.5B in second quarter

https://www.cnbc.com/2026/08/15/anthropic-revenue-jumps-to-over-11point5-billion-in-q2-report.html
8•AnodicElegy•48m ago•5 comments

Show HN: Grafana agent observability for Hermes Agent

https://github.com/alexander-akhmetov/grafana-agento11y-hermes
16•eventuallyacat•6h ago•0 comments

RISC-V: They Should Have Known Better

https://dmitry.gr/?r=06.%20Thoughts&proj=12.%20RV
344•dmitrygr•2d ago•387 comments

A fortuitous decade as an indie software developer

https://lapcatsoftware.com/articles/2026/8/3.html
120•frizlab•5d ago•17 comments

Show HN: Mic Drop, a real-time multiplayer karaoke game

https://www.micdrop.gg/
71•johnsillings•14h ago•30 comments

A U.S. Strategy to Prevent the Creation of Mirror Life

https://www.rand.org/pubs/research_reports/RRA4335-1.html
9•thunderbong•1h ago•3 comments

Numba in the Browser: Unlocking a New Scientific Python Stack in JupyterLite

https://notebook.link/blog/numba-in-the-browser/
62•xalfotis•4d ago•12 comments

What happens when an LLM never sees material beyond fifth grade?

https://littlelearner-ll.github.io/
205•porridgeraisin•7h ago•173 comments

A spectre is haunting Unicode

https://www.dampfkraft.com/ghost-characters.html
253•sensanaty•1d ago•98 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?