frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Top model scores may be skewed by Git history leaks in SWE-bench

https://github.com/SWE-bench/SWE-bench/issues/465
267•mustaphah•4h ago•89 comments

Fartscroll-Lid: An app that plays fart sounds when opening or closing a MacBook

https://github.com/iannuttall/fartscroll-lid
29•gaws•43m ago•6 comments

Danish supermarket chain is setting up "Emergency Stores"

https://swiss.social/@swaldorff/115186445638788782
24•sohkamyung•49m ago•2 comments

Unusual Capabilities of Nano Banana (Examples)

https://github.com/PicoTrex/Awesome-Nano-Banana-images/blob/main/README_en.md
131•SweetSoftPillow•2h ago•72 comments

Claude's memory architecture is the opposite of ChatGPT's

https://www.shloked.com/writing/claude-memory
163•shloked•4h ago•84 comments

Rails on SQLite: new ways to cause outages

https://andre.arko.net/2025/09/11/rails-on-sqlite-exciting-new-ways-to-cause-outages/
71•ingve•4h ago•24 comments

Bulletproof host Stark Industries evades EU sanctions

https://krebsonsecurity.com/2025/09/bulletproof-host-stark-industries-evades-eu-sanctions/
137•todsacerdoti•5h ago•44 comments

Building my childhood dream PC

https://fabiensanglard.net/2168/
23•joexbayer•3d ago•1 comments

AirPods live translation blocked for EU users with EU Apple accounts

https://www.macrumors.com/2025/09/11/airpods-live-translation-eu-restricted/
170•thm•11h ago•186 comments

How Palantir is mapping the nation’s data

https://theconversation.com/when-the-government-can-see-everything-how-one-company-palantir-is-ma...
115•mdhb•2h ago•24 comments

Behind the scenes of Bun Install

https://bun.com/blog/behind-the-scenes-of-bun-install
307•Bogdanp•10h ago•102 comments

NT OS Kernel Information Disclosure Vulnerability

https://www.crowdfense.com/nt-os-kernel-information-disclosure-vulnerability-cve-2025-53136/
93•voidsec•7h ago•22 comments

'Robber bees' invade apiarist's shop in attempted honey heist

https://www.cbc.ca/news/canada/british-columbia/robber-bees-terrace-bc-apiary-1.7627532
100•lemonberry•6h ago•58 comments

Making io_uring pervasive in QEMU [pdf]

https://vmsplice.net/~stefan/stefanha-kvm-forum-2025.pdf
42•ingve•4h ago•2 comments

Doorbell prankster that tormented residents of apartments turns out to be a slug

https://www.theguardian.com/world/2025/sep/08/doorbell-prankster-that-tormented-residents-of-germ...
28•robin_reala•3d ago•2 comments

Adam (YC W25) Is Hiring to Build the Future of CAD

https://www.ycombinator.com/companies/adam/jobs/q6td4uk-founding-engineer
1•HetengAaronLi•5h ago

CRISPR offers new hope for treating diabetes

https://www.wired.com/story/no-more-injections-crispr-offers-new-hope-for-treating-diabetes/
151•manveerc•9h ago•42 comments

Show HN: Making a cross-platform game in Go using WebRTC Datachannels

https://pion.ly/blog/making-a-game-with-pion/
47•valorzard•1d ago•1 comments

Launch HN: Ghostship (YC S25) – AI agents that find bugs in your web app

36•jessechoe10•4h ago•14 comments

A Web Framework for Zig

https://www.jetzig.dev/
52•nivethan•5h ago•2 comments

Conway's Game of Life, but musical

https://www.hudsong.dev/digital-darwin
140•hudsongr•9h ago•27 comments

From burner phones to decks of cards: NYC teens adjusting to the smartphone ban

https://gothamist.com/news/from-burner-phones-to-decks-of-cards-nyc-teens-are-adjusting-to-the-sm...
149•geox•9h ago•140 comments

A tech-law measurement and analysis of event listeners for wiretapping

https://arxiv.org/abs/2508.19825
61•lapcat•6h ago•7 comments

Samsung taking market share from Apple in U.S. as foldable phones gain momentum

https://www.cnbc.com/2025/08/16/samsungs-us-market-share-apple-rivalry-foldable-phones.html
139•mgh2•14h ago•201 comments

Adjacency Matrix and std:mdspan, C++23

https://www.cppstories.com/2025/cpp23_mdspan_adj/
21•ashvardanian•3d ago•12 comments

ApeRAG: Production-ready GraphRAG with multi-modal indexing and K8s deployment

https://github.com/apecloud/ApeRAG
19•earayu•3d ago•8 comments

An engineering history of the Manhattan Project

https://www.construction-physics.com/p/an-engineering-history-of-the-manhattan
112•rbanffy•10h ago•61 comments

Public Suffix List

https://publicsuffix.org/
59•mooreds•3d ago•16 comments

Reshaped is now open source

https://reshaped.so/blog/reshaped-oss
246•michaelmior•13h ago•42 comments

GrapheneOS and forensic extraction of data (2024)

https://discuss.grapheneos.org/d/13107-grapheneos-and-forensic-extraction-of-data
284•SoKamil•10h ago•157 comments
Open in hackernews

Adjacency Matrix and std:mdspan, C++23

https://www.cppstories.com/2025/cpp23_mdspan_adj/
21•ashvardanian•3d ago

Comments

munk-a•3h ago
These approaches may be nice to demonstrate the concept in brief but I'm a bit sad the article didn't take the opportunity to go into a design that only stores the triangular data since it's pretty trivial to overload operators in C++. If this is meant to be a demonstration of the performance advantage of mdspan over nested vector creation (which certainly is the case for large multidimensional arrays) it'd be good to dial that up.
bee_rider•2h ago
Are the adjacency matrices in graph theory really usually dense?
Malipeddi•2h ago
Same thing caught my eye. They are usually sparse.
michelpp•2h ago
Yep, for any decent sized graph, sparse is an absolute necessity, since a dense matrix will grow with the square of the node size, sparse matrices and sparse matrix multiplication is complex and there are multiple kernel approaches depending on density and other factors. SuiteSparse [1] handles these cases, has a kernel JIT compiler for different scenarios and graph operations, and supports CUDA as well. Worth checking out if you're into algebraic graph theory.

Using SuiteSparse and the standard GAP benchmarks, I've loaded graphs with 6 billion edges into 256GB of RAM, and can BFS that graph in under a second. [2]

[1] https://github.com/DrTimothyAldenDavis/GraphBLAS

[2] https://onesparse.com/

michelpp•2h ago
For a powerful sparse adjacently matrix C library check out SuiteSparse GraphBLAS, there are binding for Python, Julia and Postgres.

https://github.com/DrTimothyAldenDavis/GraphBLAS

contravariant•46m ago
Technically the article is saying the graphs are dense. Which might make sense, but using sparse matrices to represent sparse graphs is not unusual.
Night_Thastus•2h ago
I can see a use for this. It would be nice to not have to write the typical indexing boilerplate when dealing with multidimensional data. One less area to make a mistake. Feels less kludgy.

I wonder if this has any benefit of row vs column memory access, which I always forget to bother with unless suddenly my performance crawls.

michelpp•2h ago
It's an interesting exploration of ideas, but there are some issues with this article. Worth noting that it does describe it's approach as "simple and naive", so take my comments below to be corrections and/or pointers into the practical and complex issues on this topic.

- The article says adjacency matrices are "usually dense" but that's not true at all, most graph are sparse to very sparse. In a social network with billions of people, the average out degree might be 100. The internet is another example of a very sparse graph, billions of nodes but most nodes have at most one or maybe two direct connections.

- Storing a dense matrix means it can only work with very small graphs, a graph with one million nodes would require one-million-squared memory elements, not possible.

- Most of the elements in the matrix would be "zero", but you're still storing them, and when you do matrix multiplication (one step in a BFS across the graph) you're still wasting energy moving, caching, and multiplying/adding mostly zeros. It's very inefficient.

- Minor nit, it says the diagonal is empty because nodes are already connected to themselves, this isn't correct by theory, self edges are definitely a thing. There's a reason the main diagonal is called "the identity".

- Not every graph algebra uses the numeric "zero" to mean zero, for tropical algebras (min/max) the additive identity is positive/negative infinity. Zero is a valid value in those algebras.

I don't mean to diss on the idea, it's a good way to dip a toe into the math and computer science behind algebraic graph theory, but in production or for anything but the smallest (and densest) graphs, a sparse graph algebra library like SuiteSparse would be the most appropriate.

SuiteSparse is used in MATLAB (A .* B calls SuiteSparse), FalkorDB, python-graphblas, OneSparse (postgres library) and many other libraries. The author Tim Davis from TAMU is a leading expert in this field of research.

(I'm a GraphBLAS contributor and author of OneSparse)

Dylan16807•1h ago
This is very much a nitpick but a million million bits is 116GB and you can squeeze 192GB of RAM into a desktop these days, let alone a workstation or a server. (Even if mdspan forces bytes, you can fit a million^2 elements into a server.)
michelpp•1h ago
Fair enough, showing my age with "impossible".

But still true that dense growth is not linear but quadratic to the number of nodes.

zamadatix•23m ago
You seem to do a lot of work on sparse graphs, as most people do, but if you re-read the opening line carefully:

> In graph theory, an adjacency matrix is a square matrix used to represent a finite (and usually dense) graph.

Many of these issues evaporate on the realization the article sets out to talk talk to the use of adjacency matrices for dense graphs, which it's trying to point out are the ones you'd commonly use an adjacency matrix for, rather than trying to claim all graphs are dense so you should always use an adjacency matrix.

E.g. a dense graph of 1,000,000 nodes would usually be considered "a pretty damn large dense graph" and so on. These are probably good things to have mentioned here though, as pulling in an article about adjacency matrices for conversation without context of knowing why you're using one already can lead to bad conclusions by folks.

michelpp•8m ago
You're right, I did read the article before commenting, but I see your point that I didn't completely understand the intent.