frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Fedware: Government apps that spy harder than the apps they ban

https://www.sambent.com/the-white-house-app-has-huawei-spyware-and-an-ice-tip-line/
78•speckx•1h ago•14 comments

Do your own writing

https://alexhwoods.com/dont-let-ai-write-for-you/
100•karimf•7h ago•26 comments

How to turn anything into a router

https://nbailey.ca/post/router/
452•yabones•6h ago•171 comments

Bird brains (2023)

https://www.dhanishsemar.com/writing/bird-brains
252•DiffTheEnder•6h ago•159 comments

CodingFont: A game to help you pick a coding font

https://www.codingfont.com/
195•nvahalik•4h ago•112 comments

Cherri – programming language that compiles to an Apple Shortuct

https://github.com/electrikmilk/cherri
125•mihau•2d ago•22 comments

A sea of sparks: Seeing radioactivity

https://maurycyz.com/projects/spinthariscope/
21•maurycyz•1h ago•5 comments

Seeing Like a Spreadsheet

https://davidoks.blog/p/how-the-spreadsheet-reshaped-america
20•paulpauper•2d ago•1 comments

OCR for construction documents does not work, we fixed it

https://www.getanchorgrid.com/developer/docs/endpoints/drawings-doors
67•wcisco17•3h ago•46 comments

William Blake, Remote by the Sea

https://www.laphamsquarterly.org/roundtable/william-blake-remote-sea
7•occurrence•36m ago•0 comments

Build123d: A Python CAD programming library

https://github.com/gumyr/build123d
81•Ivoah•22h ago•34 comments

The Hateful Eight is 85% of S&P 500 Decline

https://paulkedrosky.com/chart-of-the-day-the-hateful-eight-is-85-of-s-p-500-decline/
14•aanet•1h ago•3 comments

Take better notes, by hand

https://brianschrader.com/archive/take-better-notes-by-hand/
117•sonicrocketman•3h ago•57 comments

In math, rigor is vital, but are digitized proofs taking it too far?

https://www.quantamagazine.org/in-math-rigor-is-vital-but-are-digitized-proofs-taking-it-too-far-...
65•isaacfrond•4d ago•51 comments

An NSFW filter for Marginalia search

https://www.marginalia.nu/log/a_134_nsfw/
47•speckx•3h ago•7 comments

Mathematical methods and human thought in the age of AI

https://arxiv.org/abs/2603.26524
167•zaikunzhang•8h ago•65 comments

FTC action against Match and OkCupid for deceiving users, sharing personal data

https://www.ftc.gov/news-events/news/press-releases/2026/03/ftc-takes-action-against-match-okcupi...
172•gnabgib•4h ago•84 comments

Show HN: Coasts – Containerized Hosts for Agents

https://github.com/coast-guard/coasts
27•jsunderland323•4h ago•9 comments

The curious case of retro demo scene graphics

https://www.datagubbe.se/aipixels/
319•zdw•14h ago•81 comments

How Does Offline Bitcoin Signing Work Step by Step

https://frozensecurity.com/blog/how-offline-bitcoin-signing-works/
3•frozensecurity•50m ago•0 comments

I am definitely missing the pre-AI writing era

https://www.lesswrong.com/posts/BJ4pnropWdnzzgeJc/i-am-definitely-missing-the-pre-ai-writing-era
181•joozio•12h ago•155 comments

I use Excalidraw to manage my diagrams for my blog

https://blog.lysk.tech/excalidraw-frame-export/
234•mlysk•12h ago•99 comments

New Washington state law bans noncompete agreements

https://www.seattletimes.com/business/local-business/new-washington-law-bans-noncompete-agreements/
228•toomuchtodo•2h ago•88 comments

Proactively Parasocial

https://nicklandolfi.com/posts/proactively-parasocial.html
18•jxmorris12•4d ago•3 comments

Fibonacci's Composed Fractions

https://ztoz.blog/posts/fibonacci-fractions/
5•aebtebeten•3d ago•1 comments

You are falling behind because you haven't fed the insincerity machine

https://christianheilmann.com/2026/03/28/you-are-falling-behind-because-you-havent-fed-the-insinc...
96•speckx•2h ago•17 comments

The ladder is missing rungs – Engineering Progression When AI Ate the Middle

https://negroniventurestudios.com/2026/03/19/the-ladder-is-missing-rungs/
36•sorenvrist•5h ago•3 comments

Hamilton-Jacobi-Bellman Equation: Reinforcement Learning and Diffusion Models

https://dani2442.github.io/posts/continuous-rl/
135•sebzuddas•12h ago•39 comments

Recover Apple Keychain

https://arkoinad.com/posts/apple_keychain_recovery.html
6•speckx•2h ago•0 comments

Copilot edited an ad into my PR

https://notes.zachmanson.com/copilot-edited-an-ad-into-my-pr/
1368•pavo-etc•15h ago•558 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•10mo ago

Comments

tonyarkles•10mo 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•10mo ago
You can convert edge coloring problems into vertex coloring problems and vice versa through a simple O(n) procedure.
meindnoch•10mo 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•10mo ago
Indeed. Thanks, I stand corrected.
tonyarkles•10mo 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•10mo 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•10mo 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•10mo ago
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•10mo 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•10mo 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•10mo 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.
phkahler•10mo ago
Is this going to lead to faster compile times? Faster register allocation...
john-h-k•10mo ago
Very few compilers actually use vertex coloring for register allocation
isaacimagine•10mo 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•10mo ago
and this post isn't even about vertex coloring
DannyBee•10mo 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.