frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Initial Assessment of Anthropic's Findings on Lattice Cryptography (CIRG)

https://cirg.org/statements/1/?dedupe
319•nwcs•3h ago•205 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...
170•Skrillor•3h ago•67 comments

Best Buy will officially sell physical media in stores again

https://media4k.pages.dev/best-buy-will-officially-sell-physical-media-in-stores-again/
160•kartik147•3h ago•100 comments

CrowdGPT – A Collaboratively Trained AI

https://www.crowdgpt.net/
311•Vxtzq•6h ago•119 comments

Usb2shell: Root on Linux from a USB Plug-In

https://usb2shell.com/
133•matanyall•4h ago•50 comments

Cryptanalytic result from Anthropic: paper title leaked

https://twitter.com/justalexoki/status/2127397764250456277
521•aklein•10h ago•710 comments

Nvdriver is a clean-room, open-source Rust Linux kernel driver for Nvidia GPUs

https://github.com/QuixiAI/nvdriver
805•rreyes1979•13h ago•403 comments

Advent of Puzzles – An advent calendar with 25 logic puzzles

https://adventofpuzzles.io/
50•ruslan5t•2h ago•14 comments

Homomorphic encrypted Llama 3.1 8B at 1.7 tokens per second

https://bel.belfortlabs.com/
54•solyin•3h ago•14 comments

We Must Pace the Frontier, Part 2

https://darioamodei.com/post/we-must-pace-the-frontier-part-2
371•denysvitali•12h ago•762 comments

I built an LLM where Gemini 4 wrote the initial weights as code

https://weights-as-code.pages.dev/
483•umjunsik132•13h ago•160 comments

ItaliaCiv

https://italiaciv.it/
67•simonebrunozzi•3h ago•7 comments

People must remain in control of the future

https://openai.com/index/people-must-remain-in-control-of-the-future/
149•j4mie•7h ago•235 comments

Show HN: Device, a free open-source DAW for Mac, Windows and Linux

https://devicedaw.github.io/
102•devicedaw•6h ago•40 comments

Why is the keyboard and telephone numbers in a different order? (2020)

https://retrocomputing.stackexchange.com/questions/15611
11•Skyfall106•1h ago•1 comments

Rail Cube in Prolog

https://chen.cat/prolog/railcube/
30•triska•1d ago•0 comments

If It Floats

https://blog.coredump.cx/p/if-it-floats
44•surprisetalk•1d ago•3 comments

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

https://health.clevelandclinic.org/why-do-redheads-need-more-anesthesia
8•illidan1000•1h ago•2 comments

Show HN: Understanding FAT16 – an interactive filesystem explainer

https://fat16.asciitweezers.com/
20•giant_fern•2d ago•1 comments

US public sector cyberdefenders can find vulnerabilities with Mythos in GovCloud

https://claude.com/resources/articles/claude-mythos-5-2-in-aws-govcloud
142•lumpa•10h ago•56 comments

iOS on iPod Nano

https://github.com/nfzerox/iOSOniPodNano
161•msephton•2d ago•57 comments

Behringer shuts down its German development center after 37 Years

https://synthanatomy.com/2026/11/behringer-shuts-down-its-german-development-center-after-37-year...
221•mobilio•5h ago•136 comments

Roc version 0.1.0, eight years in the making

https://rtfeldman.com/roc-0.1.0
441•DrDeadCrash•13h ago•115 comments

FujiKit – Open-source Fujifilm X-series protocol spec, Swift SDK, and CLI

https://github.com/maam00/fujikit
89•maam00•8h ago•20 comments

How Engineers Designed a Mission to One of Jupiter's Icy Moons

https://spectrum.ieee.org/jupiter-europa-clipper-mission-jpl
16•pseudolus•2d ago•0 comments

A 5090 has more transistors than existed on the planet in 1972

https://piyh.github.io/transistor-history-vs-flagship-devices/
325•piyh•7h ago•145 comments

A Visual Guide to Agent Harnesses

https://newsletter.maartengrootendorst.com/p/a-visual-guide-to-agent-harnesses
179•mariuz•9h ago•25 comments

Uncovering Hidden TCP Throttling in the Linux Kernel

https://www.cdn77.com/blog/debugging-nginx-linux-contribution
317•josefinaspidlen•12h ago•36 comments

Philip Emanuel Weidmann, developer of Heretic, found dead

https://www.reddit.com/r/LocalLLaMA/comments/1y9gsrf/philip_emanuel_weidmann_developer_of_heretic/
413•theanonymousone•7h ago•146 comments

How to Crochet Hyperbolic Space

https://crochetcoralreef.org/artscience/hyperbolicspace/
45•rectalogic•2d ago•2 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.