Re:Trailer for Bravo's Start-Ups: Silicon Valley
by jhuckestein on Monday October 08, 2012 @08:58PM
(#4629429)
To Dwight's (I've met him a few times, too. He actually seems like a clever guy) credit, it sounds like he said Dijkstra ;) Just goes to show how little the producers of the show care about the "techy stuff".
Re:Trailer for Bravo's Start-Ups: Silicon Valley
by rosser on Monday October 08, 2012 @09:12PM
(#4629467)
Yes, he said Dijkstra. He's a FoaF, the mutual friend is a coworker of mine, and this was the topic du jour in one of our IRC channels this afternoon. The context for the discussion was trying to determine whether he was too drunk to math, or needed another drink.
Re:Trailer for Bravo's Start-Ups: Silicon Valley
by GuiA on Monday October 08, 2012 @09:06PM
(#4629452)
Well if you're going to have negatively weighted vertices, Dijkstra's algorithm is out of the picture from the start :)
Re:Trailer for Bravo's Start-Ups: Silicon Valley
by jhuckestein on Monday October 08, 2012 @09:13PM
(#4629475)
Depending on your use-case, you can often just add the value of the largest negative edge weight (pair of vertices, not a vertex) to all weights and use a simple algorithm like Dijkstra
Re:Trailer for Bravo's Start-Ups: Silicon Valley
by GuiA on Tuesday October 09, 2012 @12:39AM
(#4629982)
Interesting- thanks! In what cases can't we do that? (ie. why did Ford and Bellman bother at all?)
Re:Trailer for Bravo's Start-Ups: Silicon Valley
by Evbn on Tuesday October 09, 2012 @12:50AM
(#4630010)
In a use case where you don't actually need a shortest path?
Or if you know the path will be a constant numbers of edges, I guess, otherwise adding weights would bias the algorithm toward fewer hops.
Re:Trailer for Bravo's Start-Ups: Silicon Valley
by GuiA on Monday October 08, 2012 @09:04PM
(#4629445)
>One assumes he's the one shouting "Negative cycles? Bellmans algorithm or Dyson's?!"
I'm assuming he's talking about shortest-path algorithms here (and actually referring to the Ford-Bellman algorithm)— anyone have info about the Dyson algorithm he's referring to?
Never heard of it and googling wields nothing.
Re:Trailer for Bravo's Start-Ups: Silicon Valley
by tptacek on Monday October 08, 2012 @09:13PM
(#4629469)
I assume he was thinking of Dijkstra's algorithm.
Re:Trailer for Bravo's Start-Ups: Silicon Valley
by michaelochurch on Monday October 08, 2012 @09:14PM
(#4629479)
I assume he crossed Dijkstra's algorithm with the Dyson sphere.
http://news.ycombinator.com/threads?id=dw5ight
One assumes he's the one shouting "Negative cycles? Bellmans algorithm or Dyson's?!"
Dwight cofounded Carsabi, which acqui-failed into Facebook presumably after getting zorched with C&Ds from Craigslist. So you have Craigslist to blame for this show too; if Carsabi hadn't taken off, who'd be writing the code on this show? DAMN YOU AGAIN, CRAIG NEWMARK!!!1!1!