frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Muse Spark Open

https://research.meta.ai/blog/muse-spark-open
321•bigwheels•1h ago•214 comments

Neural networks are clean

https://already-clean.goodfire.com/
272•themgt•3h ago•82 comments

Krea 3 – An image model built for editing at scale

https://www.krea.ai/krea-3
165•dvrp•3h ago•64 comments

Wayland desktop for Linux with skeuomorphic design

https://github.com/fyzugx/DEsk
380•FinalDestiny•6h ago•157 comments

Celebrating 70 Years of Fortran

https://fortran-lang.org/news/2026/09-15-Fortran-birthday/
150•rbanffy•4h ago•59 comments

The engineering that allows articulated buses to bend

https://www.theautopian.com/you-wont-believe-the-incredible-engineering-that-allows-articulated-b...
17•CharlesW•18h ago•1 comments

Delta’s Biscoff cookies were supposed to be temporary

https://www.seriouseats.com/biscoff-history-12168161
108•mhb•1d ago•94 comments

E Ink Launches Latest Version of Color EPaper Platform, E Ink Kaleido 4

https://www.eink.com/news/detail/EInk-Launches-Latest-Version-of-Color-ePaper-Platform-E-Ink-Kale...
24•Perroboc•1h ago•5 comments

Libreboot 26.10 "Ominous Olive" released with UEFI, Chromebook support

https://libreboot.org/news/libreboot2610.html
205•iamnothere•6h ago•123 comments

Jev Meets the Trolley Problem

https://zachlandes.com/trolley-problem/
106•zlandes86•3h ago•39 comments

Why I Wrote PGP (1991, revised 1999)

https://philzimmermann.com/EN/essays/WhyIWrotePGP.html
20•GaryBluto•1d ago•3 comments

Zero-Click Spyware Delivered via Targeted Ads: AdFection

https://citizenlab.ca/research/how-discover-tech-turned-targeted-ads-into-a-pipeline-for-spyware/
251•jcomp•8h ago•62 comments

Someone on Torrent Sites Kept Fucking with My Sonarr

https://thereallo.dev/blog/someone-on-torrent-sites-kept-fucking-with-my-sonarr-setup
5•speckx•20m ago•4 comments

Show HN: Unfenced – Land for sale that borders public land

https://unfenced.land/
212•otherwatersflow•8h ago•148 comments

The technical actions needed to ensure the continuity of UTC

https://www.bipm.org/en/cgpm-2026/resolution-5
71•gliffie•3h ago•32 comments

Simons Foundation launches $15M effort to help mathematicians navigate AI era

https://www.simonsfoundation.org/news/simons-foundation-launches-15m-effort-to-help-mathematician...
187•aaraujo002•4h ago•164 comments

Show HN: Proa – A Rust web framework with fast SSR and multi-target rendering

https://proa.so/
53•burnrate•3h ago•7 comments

Why We're Banning AI

https://www.currentaffairs.org/news/why-were-banning-ai
111•vinyl7•1h ago•89 comments

We are entering a period of overlapping crises

https://hamishcampbell.com/we-are-entering-a-period-of-overlapping-crises/
5•speckx•47m ago•0 comments

I know why the mathematicians weep

https://www.derekthompson.org/p/i-know-why-the-mathematicians-weep
289•RickJWagner•5h ago•453 comments

C++26 Contracts: Introduction to Preconditions and Postconditions

https://www.cppstories.com/2026/cpp26_contracts/
102•ibobev•6h ago•98 comments

Steam Client is now faster than Epic's new vibe coded launcher

https://respawnfirst.com/steam-client-is-now-faster-than-epics-new-vibe-coded-launcher/
188•starkparker•3h ago•217 comments

Game of Life – But Multiplayer, Hypermedia and Python

https://stario.dev/apps/life
22•bobowski•1d ago•9 comments

Show HN: Sygal – Convert PDFs, scans and web pages to Markdown, locally

https://sygal.app
23•cyrillsemah•3h ago•5 comments

Wanted to download an ISO, ended up writing a kernel exploit

https://blog.dfb.sh/blog/eap770-root-for-two-zeros/
309•0xdeafbeef•2d ago•152 comments

More on Anthropic's Scion ripping off Mononoke

https://sunshowers.io/posts/anthropic-mononoke-2/
159•sunshowers•2h ago•47 comments

An Israeli firm is sending zero-click spyware through online ads

https://www.theverge.com/tech/1011956/discover-tech-zero-click-ads-spyware
186•drewfax•2h ago•81 comments

Prompt injection in HTTP headers: what 217M web responses show

https://www.signalscorps.com/blog/prompt-injection-in-http-headers/
71•panoramas4good•5h ago•11 comments

Turn an old junk phone into a Talking Jack-O-Lantern

https://jack-o.io/
11•dakila5•1d ago•5 comments

An update on independent evaluators

https://www.anthropic.com/news/an-update-on-independent-evaluators
24•surprisetalk•2h ago•8 comments
Open in hackernews

The Fastest Way yet to Color Graphs

https://www.quantamagazine.org/the-fastest-way-yet-to-color-graphs-20250512/
62•GavCo•1y ago

Comments

tonyarkles•1y ago
In case you haven't looked at the article, this is looking specifically at the Edge Coloring problem and not the more commonly known Vertex Coloring problem. Vertex Coloring is NP-complete unfortunately.
erikvanoosten•1y ago
You can convert edge coloring problems into vertex coloring problems and vice versa through a simple O(n) procedure.
meindnoch•1y ago
Wrong. You can convert edge-coloring problems into vertex-coloring problems of the so-called line graph: https://en.m.wikipedia.org/wiki/Line_graph

But the opposite is not true, because not every graph is a line graph of some other graph.

erikvanoosten•1y ago
Indeed. Thanks, I stand corrected.
tonyarkles•1y ago
Hrm... right. It's been a while. And it looks like both Vertex Coloring and Edge Coloring are both NP-complete (because of the O(n) procedure you're talking about and the ability to reduce both problems down to 3-SAT). I've started looking closer at the actual paper to try to figure out what's going on here. Thanks for the reminder, I miss getting to regularly work on this stuff.

Edit: thanks sibling reply for pointing out that it's not a bidirectional transform.

mauricioc•1y ago
For the edge-coloring problem, the optimal number of colors needed to properly color the edges of G is always either Delta(G) (the maximum degree of G) or Delta(G) + 1, but deciding which one is the true optimum is an NP-complete problem.

Nevertheless, you can always properly edge-color a graph with Delta(G) + 1 colors. Finding such a coloring could in principle be slow, though: the original proof that Delta(G) + 1 colors is always doable amounted to a O(e(G) * v(G)) algorithm, where e(G) and v(G) denote the number of edges and vertices of G, respectively. This is polynomial, but nowhere near linear. What the paper in question shows is how, given any graph G, to find an edge coloring using Delta(G) + 1 colors in O(e(G) * log(Delta(G))) time, which is linear time if the maximum degree is a constant.

Syzygies•1y ago
Yes. The article ran through this point as follows:

"In 1964, a mathematician named Vadim Vizing proved a shocking result: No matter how large a graph is, it’s easy to figure out how many colors you’ll need to color it. Simply look for the maximum number of lines (or edges) connected to a single point (or vertex), and add 1."

I keep wondering why I ever read Quanta Magazine. It takes a pretty generous reading of "need" to make this a correct statement.

JohnKemeny•1y ago
phkahler•1y ago
Is this going to lead to faster compile times? Faster register allocation...
john-h-k•1y ago
Very few compilers actually use vertex coloring for register allocation
isaacimagine•1y ago
Totally. The hard part isn't coloring (you can use simple heuristics to get a decent register assignment), rather, it's figuring out which registers to spill (don't spill registers in hot loops! and a million other things!).
NooneAtAll3•1y ago
and this post isn't even about vertex coloring
DannyBee•1y ago
No.

In SSA, the graphs are chordal, so were already easily colorable (relatively).

Outside of SSA, this is not true, but the coloring is still not the hard part, it's the easy part.

Not really. Coloring a graph is almost always talking about proper coloring, meaning that things that objects that are related receive different colors.

If you read the introduction, you'll also read that the goal is to "color each of your lines and require that for every point, no two lines connected to it have the same color."

Ps. "How many colors a graph needs" is a very well established term in computer science and graph theory.

mockerell•1y ago
I think the comment referred to the phrase „a graph needs X (colors or whatever)“. For me, this can be read two ways: 1. „a graph always needs at least X colors“ or 2. „a graph always needs at most X colors“.

Personally, I would interpret this as option 1 (and so did the comment above I assume). In that case, the statement is wrong. But I’d prefer to specify „at most/ at least“ anyways.

Or even better, use actual vocabulary. „For every graph there exists a coloring with X colors.“ or „any graph can be coloured using X colors“.

PS: I also agree with the sentiment about quanta magazine. It’s hard to get some actual information from their articles if you know the topic.

JohnKemeny•1y ago
What about this statement:

No matter how large a car is, it is easy to figure out how much money you'll need to buy it. Simply look at the price tag.

(From: No matter how large a graph is, it’s easy to figure out how many colors you’ll need to color it. Simply look for the maximum ...)

mauricioc•1y ago
Parent's point is that sometimes (but not always) the store is perfectly fine selling you a car for $1 less than what the "price tag" of Delta(G)+1 dollars asks for, so "need" is a bit inaccurate.