frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

OpenSSH adds support for composite ML-DSA 87 / ECDSA p384

https://github.com/openssh/openssh-portable/commit/fc6f265302adcbf88c5b4273e9cc9f4e5f81ab94
260•weeha•7h ago•57 comments

Intel confirms Hyper-Threading flaw in several CPUs

https://tldrdailynews.com/news/technology/technology/intel-confirms-unfixable-hyper-threading-fla...
164•lucamark•5h ago•76 comments

MAI Transcribe 2.5: The new frontier of speech recognition

https://microsoft.ai/news/mai-transcribe-2-5/
284•gmays•9h ago•88 comments

Joint statement from Anthropic and OpenAI on recent advances in cryptography

https://www.anthropic.com/news/joint-statement-cryptography
1153•aghuang•19h ago•761 comments

How Hot Are Mitochondria?

https://matthewleighton.substack.com/p/how-hot-are-mitochondria
24•mleighton•4d ago•0 comments

Minisign 2 Is Here

https://00f.net/2026/12/04/minisign2/
111•chmaynard•6h ago•14 comments

Snakes can cartwheel, hilarious new slow-motion footage shows

https://www.sciencefocus.com/news/snakes-cartwheel-footage
199•ColinWright•4d ago•41 comments

Evidence for the Tomb of Alexander the Great at Alexandria's Shallalat Gardens

https://www.academia.edu/182065274/The_Sema_of_Alexandria_Archaeological_Architectural_and_Topogr...
73•tsaki•4d ago•4 comments

Gaia unveils two-billion-star map of our galaxy and beyond

https://www.esa.int/articles/about-us/directorates/science/gaia/gaia-unveils-two-billion-star-map...
216•rexbee•11h ago•87 comments

The bitter lesson for agent memory

https://hatchery.build/blog/the-bitter-lesson-for-agent-memory
391•tosh•13h ago•129 comments

OpenBridge, a modern standard for industrial UIs

https://www.openbridge.no
359•starkparker•15h ago•81 comments

The Busy Beaver Frontier (2020) [pdf]

https://www.scottaaronson.com/papers/bb.pdf
13•srcreigh•1d ago•2 comments

Stanford Lecture: Dr. Don Knuth – Claude and the Art of Computer Programming

https://www.youtube.com/watch?v=-1AajkwngqM
120•froh•2d ago•25 comments

The need for at least a third mobile OS option

https://blog.ovalerio.net/archives/3359
328•brazukadev•17h ago•274 comments

I gave Claude a $100 drone and some instructions

https://oleksgorpynich.com/blog/claude-drone
238•oleksg•14h ago•90 comments

Open Music Theory

https://viva.pressbooks.pub/openmusictheory/
196•gregsadetsky•11h ago•41 comments

Handling dates and times in SQL queries with PostgreSQL

https://www.mon-code.net/post/186/handling-dates-and-times-in-sql-queries-with-postgresql
11•metfan•3d ago•6 comments

Mistral Vibe: The coding agent for chonky codebases

https://mistral.ai/products/vibe/
437•doener•21h ago•152 comments

Linux 7.3 on a stock 4 MB Macintosh Plus

https://github.com/ActionRetro/nugget-linux
154•hochmartinez•12h ago•42 comments

WordPress Plugin WP Rocket CVE-2026-125812: Exploits in the Wild, Dissected

https://noc.org/articles/wp-rocket-vulnerability-exploit-cve-2026-125812
31•sucuri2•7h ago•17 comments

Yes, P-256 is probably cooked

https://www.int08h.com/post/how-cooked-are-your-keys/
357•int08h•19h ago•192 comments

Two-Photon Mesoscope

https://github.com/benkrasnow/Two_photon_mesoscope
71•tobr•4d ago•9 comments

Delete the Paper, Beat the Authors: Introducing FrontierCS 2 (Benchmark)

https://bair.berkeley.edu/blog/2026/12/03/fcs2/
13•charlie42•4h ago•9 comments

Unlimited SVG Works: Projection of Visual Worlds into SVG-Anything

https://github.com/baidu/Unlimited-SVG/
95•tingletech•4d ago•9 comments

DKIM was introduced at a unlucky time; or, happy 20 years of CVE-2008-0166

https://dreamstation.systems/personal/dkimdebian.html
223•robinpie•18h ago•37 comments

Plato's Key-a rotation and a global scale let an LLM use other's representations

https://hazyresearch.stanford.edu/blog/2026-11-25-platos-key
83•tomrod•10h ago•23 comments

They should be dead: how snow insects survive freezing temps

https://www.quantamagazine.org/they-should-be-dead-how-snow-insects-survive-freezing-temps-20261204/
33•titusblair•1d ago•4 comments

Claude Coke: Would Al agents buy cocaine from the dark web?

https://ghollbeck.github.io/claude-coke-blog/
96•flawn•13h ago•64 comments

Owls in Towels

https://owlsintowels.org/
539•jjgreen•1d ago•51 comments

Cryptography rumors are getting more specific

https://www.johndcook.com/blog/2026/12/05/dlp-attack/
226•christophetd•16h ago•145 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.