frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Claude Code sends your email address to websites

https://github.com/anthropics/claude-code/issues/107757
790•motoroco•7h ago•267 comments

sshole

https://sshhole.com
2485•josemrb•17h ago•610 comments

MS Paint Remote Code Execution Vulnerability

https://www.cve.org/CVERecord?id=CVE-2026-83844
413•kuberwastaken•8h ago•154 comments

Nvidia Kubernetes Engine (NVKE)

https://github.com/dsx-ai-factory/nvke
35•gkapur•2h ago•11 comments

Pwn.college

https://pwn.college/
46•tripdout•2h ago•4 comments

Closed AI models dominate the price-performance frontier

https://village.dev/blog/closed-ai-models-now-dominate-the-price-performance-frontier/
39•kevin_hu•2h ago•29 comments

Inkling 2 Small

https://thinkingmachines.ai/news/inkling-2-small/
135•Philpax•5h ago•53 comments

The Hackintosh Reborn

https://www.naut.ca/blog/2026/11/05/the-hackintosh-reborn-with-ai/
261•rubatuga•10h ago•130 comments

Window Sweaters

https://github.com/saragordic/window-sweaters
280•nickswalker•12h ago•92 comments

Show HN: Firenook – Firebase emulators in Rust: 40× faster writes, 10× less RAM

https://firenook.dev/
75•sanjevirau•16h ago•14 comments

MoofTCP – A modern replacement for MacTCP on 68k Macs

https://github.com/matthewmrichter/mooftcp
31•marcusbasant•4h ago•18 comments

Launch HN: Rivet (YC W23) – Scale and Orchestrate Agents on S3

https://github.com/rivet-dev/rivet
86•NathanFlurry•12h ago•46 comments

Cuban: Facebook knowingly runs AI deepfake scam ads; docs say $16B fraud revenue

https://finance.yahoo.com/technology/ai/articles/mark-cuban-says-facebook-knowingly-213000020.html
212•randycupertino•6h ago•100 comments

Show HN: A decent text-to-image model trained for ~$20K (Apache 2.0 Weights)

https://www.linum.ai/field-notes/pjit-21k
188•schopra909•1d ago•17 comments

Motorola Signature 27 with GrapheneOS support

https://motorolanews.com/motorola-signature-27-2/
434•monneyboi•13h ago•319 comments

September in Servo: <progress>, rounded rectangles, and more

https://servo.org/blog/2026/11/05/september-in-servo/
210•iamnothere•14h ago•51 comments

Goodbye from Salon

https://www.salon.com/2026/11/05/goodbye-from-salon/
526•mkeeter•9h ago•189 comments

Download your favourite YouTube videos

https://criminallyvulgar.dev/you-should-absolutely-download-your-favourite-youtube-videos/
311•surprisetalk•16h ago•144 comments

I wish tech companies knew more about me

https://rakhim.exotext.com/i-wish-tech-companies-knew-more-about-me
358•freetonik•15h ago•308 comments

Pangram Image 1.0

https://www.pangram.com/blog/introducing-pangram-image-1-0
81•gmays•10h ago•36 comments

MCP Explained

https://mcp-explained.com/
277•rwilinski•15h ago•118 comments

Search for everyone

https://kagi.com/changelog#11820
609•elashri•9h ago•316 comments

Obscure audio codec is a perfect fit for the N64

https://phoboslab.org/log/2026/11/n64-ulc-codec
213•frostbyte7•16h ago•24 comments

The Stacks Project, Formalized in Lean

https://axiommath.ai/research/the-stacks-project-formalized/
78•namanbnsl•13h ago•22 comments

Baidu released ERNIE 5.5 Flash Base

https://ernie.baidu.com/release/ernie-5-5-flash-base/
171•pretext•20h ago•95 comments

Show HN: Stroq – a local audit of what your coding agent did and why

https://github.com/AGGIB/Stroq
78•agybay_07•13h ago•25 comments

Bild AI (YC W25) Is Hiring Founding Product Engineers

https://www.ycombinator.com/companies/bild-ai/jobs
1•rooppal•12h ago

My psychophysics as a bilateral cochlear implant user

https://claude.ai/artifact/L8qsMc3SorytGW3LA81nYf
172•mi-rae•13h ago•79 comments

So my ISP was hijacking my DNS

https://www.karthihegde.dev/posts/dns_tampering
188•frostbyte7•1d ago•136 comments

Hungary: Communist-era files released, up to 60k former agents revealed

https://www.euronews.com/2026/11/04/hungary-communist-era-files-opened-up-to-60000-former-agents-...
187•rdmuser•10h ago•42 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.