frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Northflank Breached

https://status.northflank.com
157•js4ever•2h ago•89 comments

A Working Nintendo in ~1GB of Qwen Weights

https://github.com/dbreunig/nesformer
65•dbreunig•1h ago•57 comments

Backdoor in Claude Code for VS Code extension on the Cursor Marketplace

https://phorion.io/blog/offical-claude-code-vsx-compromise/
454•_chall•10h ago•372 comments

My favourite PowerMac is a Nintendo Wii

https://virtuallyfun.com/2026/10/29/my-favourite-powermac-is-a-nintendo-wii/
13•DHowett•38m ago•0 comments

The federated code forge

https://tangled.org/blog/forge/
82•zlliang•2h ago•35 comments

GitHub Incident with Actions, Pages, and Webhooks

https://www.githubstatus.com/incidents/pwxsjgnvrk6b
8•damontal•5m ago•3 comments

Florilegium: Procedural Flowers in LaTeX

https://github.com/kevinraymond/florilegium
46•nanna•2h ago•7 comments

AI isn't replacing SREs, it's deskilling them

https://newsletter.signoz.io/p/ai-isnt-replacing-sres-its-deskilling
262•dorianniemiec•2h ago•196 comments

Breaking the open web won't stop the bad bots

https://www.techpolicy.press/breaking-the-open-web-wont-stop-the-bad-bots/
32•raybb•2d ago•5 comments

US tech stocks see sharp falls over AI cost fears

https://www.bbc.co.uk/news/articles/cvwy72e0n72yo
136•mindracer•1h ago•91 comments

Azure's Weakest Link – Five Full Cross-Tenant Compromises

https://www.binarysecurity.no/posts/2026/10/one-root-case
200•swq115•7h ago•35 comments

Show HN: Spinf-serve – inference server for bulk scoring and decisions

https://github.com/spinfinc/spinf-serve
7•giarec•1h ago•0 comments

Proton's CEO Cancels AI 'Re-Interviews'

https://www.404media.co/protons-ceo-cancels-ai-re-interviews/
46•cdrnsf•38m ago•10 comments

Blockchain intelligence firms link North Korea to $6.3B hack on Binance

https://www.npr.org/2026/10/30/g-s1-150902/blockchain-intelligence-firms-link-north-korea-to-6-3b...
93•paulpauper•2h ago•27 comments

How do you take a picture of a black hole?

https://www.quantamagazine.org/how-do-you-take-a-picture-of-a-black-hole-20261029/
55•dverlaeckt80•8h ago•44 comments

Show HN: I built a multiplayer game where you're an aerial fighter cat

https://catcopter.com
34•pawelwentpawel•2h ago•17 comments

Building an AI-native engineering org

https://twitter.com/sgondala2/status/2115832070274723875
11•sgondala_ycapp•20h ago•5 comments

Polymarket 1h halt after vendor compromise; affected users will be 'made whole'

https://www.nbcnews.com/business/consumer/polymarket-trading-halt-hack-wallets-rcna606405
62•theanonymousone•2h ago•20 comments

Tracks along the longest drive on another world

https://science.nasa.gov/blog/tracks-along-the-longest-drive-on-another-world/
29•shcallaway•16h ago•2 comments

Compile-Time Dependent Types

https://thenumb.at/Syl-Intro/
33•ibobev•4d ago•7 comments

Why a program doesn't work when run from a batch file, but works when clicked

https://devblogs.microsoft.com/oldnewthing/20261026-00/?p=112797/
99•ibobev•3d ago•54 comments

The $6.3B Binance hack was pulled off in just 20 minutes

https://www.wired.com/story/the-dollar63-billion-binance-hack-was-pulled-off-in-just-20-minutes/
217•domhudson•5h ago•155 comments

Pell Puzzles Review

https://dles.gg/reviews/pell-puzzles
12•trizoza•2d ago•1 comments

Finding Panics with Call Graph Analyzer

https://tweedegolf.nl/en/blog/242/finding-panics-with-call-graph-analyzer/
56•ndr•2d ago•3 comments

Anthropic may not secure investment-grade rating after IPO, Blackstone says

https://www.ft.com/content/59383c7f-8d82-493f-bf01-d2e862a1018f
14•petethomas•36m ago•1 comments

Medicare Will Pay $50k for Your Heart Attack. It Should Pay $100 to Prevent It

https://www.medpagetoday.com/opinion/second-opinions/123553?trw=no
196•brandonb•3h ago•190 comments

Gilgamesh by Simon Armitage review – an ancient epic is brilliantly translated

https://www.theguardian.com/books/2026/oct/20/gilgamesh-by-simon-armitage-review-an-ancient-epic-...
158•benbreen•3d ago•46 comments

Wasmer (YC S19) Is Hiring OS/Hypervisor Experts in Europe

https://www.workatastartup.com/jobs/98722
1•syrusakbary•11h ago

Geist Serif

https://vercel.com/blog/introducing-geist-serif
52•Zm44•2h ago•20 comments

Herdr has released native app

https://github.com/herdrdev/herdr-app
325•cherioo•17h ago•218 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.