frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

GPU World

https://www.gpuworld.org/
147•simonpure•4h ago•63 comments

Fastpotify

https://fastpotify.rocks/
286•nreece•4h ago•130 comments

Restroom Archive

https://restroomarchive.com
94•jcalx•4h ago•19 comments

Tmp.0ut Volume 5

https://tmpout.sh/5/
17•ghuntley•8h ago•15 comments

I turned my security cameras into an automatic bird identification system

https://jasontucker.blog/how-i-turned-my-security-cameras-into-an-automatic-bird-identification-s...
467•speckx•14h ago•113 comments

Playa Phone

https://playaphone.com/
601•cutoff•16h ago•209 comments

CollectWise (YC F24) Is Hiring

https://www.ycombinator.com/companies/collectwise/jobs/7U500pP-founding-customer-success-engineer
1•OBrien_1107•44m ago

A walkable ASCII cyberpunk city in one HTML file [video]

https://www.youtube.com/watch?v=3YtygAx_C6A
306•keithcarolus•13h ago•37 comments

Terence Tao explains 6 essential mathematical concepts [video]

https://www.youtube.com/watch?v=OOMx2BHHWtE
385•matthewsinclair•1d ago•49 comments

Dwarf Fortress is getting the mother of all magic updates

https://www.rockpapershotgun.com/dwarf-fortress-is-getting-the-mother-of-all-magic-updates-extend...
389•Tomte•4d ago•154 comments

Evidence of Fraud in an Influential Study About Procrastination

https://datacolada.org/138
195•Anon84•8h ago•129 comments

RotaryCell: Making an unmodified rotary phone work over LTE with an ESP32-S3

https://github.com/fregacmols/RotaryCell
44•jombib•5h ago•4 comments

Borges Labyrinth in Venice reopens to the public

https://www.wallpaper.com/design-interiors/labirinto-borges-venice-reopening
60•gone35•3d ago•23 comments

Roget's Thesaurus

https://artflsrv04.uchicago.edu/roget-thesaurus/
9•gregsadetsky•1d ago•0 comments

Apple caught off guard by AI demand for Mac Mini and Mac Studio

https://www.macrumors.com/2026/08/30/apple-unexpected-mac-mini-and-studio-demand/
389•thm•19h ago•436 comments

Flat vs. segmented memory – it's recursive

https://www.humprog.org/~stephen/blog/2026/08/25/#flat-vs-segmented
15•signa11•5d ago•0 comments

Show HN: Laser Graffiti

https://laser.consti.de
180•con•2d ago•36 comments

Vermell – Minimal, dependency-free C++ web framework using epoll

https://github.com/vermellcc/vermell
18•standar-donkey•2h ago•7 comments

Cheap GPS jammers are filling the world with navigation dead zones

https://www.wsj.com/tech/gps-jammers-dead-zones-e76f3261
128•vinnyglennon•1d ago•126 comments

I think the military commissary's freezers were hacked

https://signalandsilence.substack.com/p/i-think-someone-hacked-the-commissary
326•jcurbo•20h ago•184 comments

Interactive pattern discovery in binaries (FF-16-TUI)

https://github.com/HexLasso/FF-16-TUI
31•HexLasso•3d ago•3 comments

2004 RuneScape fit a multiplayer RPG into 56k dial-up

https://jkm.dev/posts/how-2004-runescape-fit-a-multiplayer-rpg-into-56k-dialup/
100•fagnerbrack•6h ago•52 comments

Smartphone LED detects hidden cameras with AI

https://www.chosun.com/english/industry-en/2026/08/30/SBFXUIJQYZEARKP5T4FBAY25HQ/
201•geox•2d ago•56 comments

DoltLite: A SQLite fork with Git-style version control, built with 2k agent PRs

https://www.dolthub.com/blog/2026-08-31-doltlite-beta/
30•lbw1215•6h ago•15 comments

Lion-man

https://en.wikipedia.org/wiki/Lion-man
100•gurjeet•2d ago•49 comments

AI Can Make You Suck Faster Too

https://www.hermit-tech.com/blog/ai-can-make-you-suck-faster-too
68•degamad•2h ago•72 comments

RavynOS: Pre-alpha open-source OS based on Darwin, FreeBSD, Apple open-source

https://ravynos.com/
197•Bluestein•15h ago•113 comments

Reverse engineering my ADHD test

https://nullpt.rs/reverse-engineering-adhd-test
206•hazebooth•4d ago•122 comments

ChatGPT Work Tool and Skill Reference

https://codex-tool-reference.simonw.chatgpt.site/
213•ijidak•17h ago•52 comments

Run macOS Software on Linux

https://www.darlinghq.org/
214•Bluestein•8h ago•68 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.