frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Advent of Code 2026

https://adventofcode.com/2026
532•meffmadd•3h ago•245 comments

Fake Meta Ads Manager apps passed App Store review; two ran as Apple's top ad

https://husseinsaleh.com/2026/12/01/fake-meta-ads-manager-apps-pass-app-store-review-apple-ads/
270•itshusseinsaleh•3h ago•117 comments

Micromorts – visualizing your chances of dying doing everyday activities

https://hugo0.com/micromorts
152•montenegrohugo•3h ago•75 comments

Cryptopocalypse

https://www.argmin.net/p/cryptopocalypse
143•_delirium•1h ago•53 comments

Anthropic suspended us in the most critical time of the year

https://weli.dev/blog/anthropic-suspended-us-in-the-most-critical-time-of-the-year/
58•weli•1h ago•33 comments

Goals don't work. Rely on your values

https://adam.ci/train/goals-do-not-work/
247•adamci•6h ago•93 comments

Roald Dahl's contribution to neurosurgery: the Wade-Dahl-Till shunt

https://pmc.ncbi.nlm.nih.gov/articles/PMC3029661/
81•thunderbong•2d ago•11 comments

Show HN: A GUI for polishing the text your coding agent writes

https://draftmux.raine.dev/
151•rane•5h ago•65 comments

Bob's Company

https://lucumr.pocoo.org/2026/11/28/bob/
417•BerislavLopac•8h ago•239 comments

Initial Assessment of Anthropic's Findings on Lattice Cryptography

https://cirg.org/statements/1/
768•nwcs•18h ago•413 comments

Best Buy Putting 4K UHD Discs Back on Store Shelves

https://www.mediaplaynews.com/the-odyssey-was-not-a-one-off-best-buy-putting-4k-uhd-discs-back-on...
622•kartik147•18h ago•475 comments

Nuclear magnetic resonance on a single atom with a local probe

https://www.nature.com/articles/s41467-026-78801-5
63•Cilan798•1d ago•6 comments

Cause of FAA systems failure that grounded flights identified, contractor says

https://www.local3news.com/regional-national/cause-of-faa-systems-failure-that-grounded-flights-n...
102•firesteelrain•14h ago•78 comments

C++ Needs to Catch Up

https://www.vinniefalco.com/p/c-needs-to-catch-up-and-fast
183•simonask•9h ago•186 comments

Baggins End

https://www.bagginsend.net/
66•tosh•5h ago•29 comments

'Big fat lady' hawk who ate too many chickens to fly soars free once again

https://www.cbc.ca/radio/asithappens/hefty-hawk-released-9.7439479
131•randycupertino•2d ago•41 comments

Red heads are linked to a mutation that makes them resistant to anesthesia (2024)

https://health.clevelandclinic.org/why-do-redheads-need-more-anesthesia
284•illidan1000•16h ago•163 comments

Cloudflare Clairic System One Extraction Models Are Now Open-Weight

https://blog.cloudflare.com/open-clairic/
258•reddmachine•14h ago•54 comments

Chez from a Clojurian perspective

https://get-aksh.com/blog/chez-from-a-clojurian-perspective
69•pushpankar•2d ago•44 comments

Show HN: GoModel – an open-source AI gateway – LiteLLM alternative

https://gomodel.enterpilot.io/
18•santiago-pl•3h ago•4 comments

Running CPython Bytecode on an FPGA

https://www.lazzaro.com.ar/post/2026-11-29-running-cpython-bytecode-on-an-fpga/
6•llazzaro•2d ago•0 comments

CrowdGPT – A Collaboratively Trained AI

https://www.crowdgpt.net/
568•Vxtzq•21h ago•220 comments

Adhesive coatings in naval archaeology: Materials from Roman Republican wreck

https://www.frontiersin.org/journals/materials/articles/10.3389/fmats.2026.1758862/full
29•bookofjoe•2d ago•0 comments

Finding and fixing Android memory leaks with Perfetto, SQL, and AI agents

https://perfetto.dev/blog/hunting-android-memory-leaks
17•lalitmaganti•1d ago•6 comments

Galactic quasi-polynomial quantum algorithms for integral and module lattices [pdf]

https://github.com/anthropics/formal-math/blob/main/lattices/papers/01-quasi-polynomial-quantum-a...
304•Skrillor•18h ago•157 comments

Hetzner Inference API

https://www.hetzner.com/ai/inference-api/
454•PaoloBarbolini•8h ago•151 comments

Usb2shell: Root on Linux from a USB Plug-In

https://usb2shell.com/
342•matanyall•20h ago•154 comments

Advent of Puzzles – An advent calendar with 25 logic puzzles

https://adventofpuzzles.io/
344•ruslan5t•17h ago•83 comments

Squashfs: Fix a lot of AI issues and AI style issues

https://lkml.iu.edu/hypermail/linux/kernel/2611.2/22806.html
197•gpi•5h ago•160 comments

Post-quantum cryptography is still safe

https://blog.cloudflare.com/pq-is-still-safe/
215•soheilpro•15h ago•38 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.