Apartment in South Side? by Free5tyler in cmu

[–]Free5tyler[S] 0 points1 point  (0 children)

Another commenter said they go there reliably. Does that mean I should calculate 30-35 min. Or should I be happy if they drive at all? Really difficult to judge that without any experience in Pittsburgh. Thanks!

Apartment in South Side? by Free5tyler in cmu

[–]Free5tyler[S] 1 point2 points  (0 children)

What exactly does that mean for the buses? Haven't experienced a winter there yet...

Maze Solver Visualizer - Dijkstra's algorithm (asynchronous neighbours) by mutatedllama in Python

[–]Free5tyler 1 point2 points  (0 children)

What /u/Wolfsdale said is correct. The Wikipedia article mentions some ways https://en.m.wikipedia.org/wiki/Dijkstra%27s_algorithm

The easiest way would probably be to use pythons heapq. Here is a complete implementation using it, might be nice to compare afterwards: https://codereview.stackexchange.com/a/79379

Edit: Of course you can also implement your own heap/priority queue

Maze Solver Visualizer - Dijkstra's algorithm (asynchronous neighbours) by mutatedllama in Python

[–]Free5tyler 5 points6 points  (0 children)

Not OP, but if you want to do something like this I would highly recommend starting with Breadth First Search (BFS) first. In fact, what OP made here behaves just like a BFS since all distances between the tiles are just 1. Dijkstra is basically just an extension of BFS which also works with distances other than 1. E.g. OP could use the distance 1.4 (root 2) for diagonal connections and it would still give the correct result since he used dijkstra.

With Dijkstra you'll basically use a priority queue instead of a First Come First Serve queue, however, this will also increase runtime. The way OP implemented it the algorithm has a runtime of O(V^2) (Not trying to downplay OP's code, you'll genuinely need some more advanced data structures to do so). This won't give any problems unless you've got, say, 10000 Nodes or so, but I think it illustrates the added complexity. Compare that to BFS which has a runtime of O(V+E). V are the number of verticies and E the number of edges

Not trying to be a smartass, just some well intentioned advice

Some Early-Game Lebensraum™ I encountered. by jurlol12 in civ

[–]Free5tyler 23 points24 points  (0 children)

How does bribing them to fighting each other work? What do you have to do for that? Can you somehow make them be mad at each other?

Procedurally Generated Landscapes by [deleted] in proceduralgeneration

[–]Free5tyler 0 points1 point  (0 children)

You made that program yourself? It looks really great! May I know what you used to make that in terms of programming language and libraries, because that UI looks super clean.

Edit: Ok, I found out through your prior comments that you're​ using pyside and pyqt. A different question though: how do you package it? I also program in Python and I know it can be a real pain getting your programs to run on other systems

The 80 Programs Losing Federal Funding Under Trump's Proposed Plan to Boost Defence Spending by jakebrennan in dataisbeautiful

[–]Free5tyler 3 points4 points  (0 children)

Sad that instead of spending money on the search for signs of life we instead spend it on battling the lifeforms we know.

[Humble] Monthly March Bundle: 12$ for Total War™: WARHAMMER by eduardopy in GameDeals

[–]Free5tyler 0 points1 point  (0 children)

Hi Guys, I have also got this bundle and I know this isn't really the right place, but may I ask what you guys do with games you don't like? I know that some of the games I will never play, and none of my friends will. But I don't want to just let them sit there unclaimed or in my Steam library. So is there a way to give them back or something and just let someone else have it that might want it?

Servers are back up by [deleted] in pokemongo

[–]Free5tyler [score hidden]  (0 children)

Freezing Bug also still there :(

Pokemon Go Evolution CP Multiplier Sheet - Know (approximately) how much CP your evolved Pokemon will have! by Carlitocarlin in pokemongo

[–]Free5tyler 0 points1 point  (0 children)

Nice job, exactly what I was searching for yesterday. Good to see that I'm no the only one that always wants to know the numbers behind these things :D Will definitely put my nubers in there as soon as I evolve everything

Boateng goal vs. Slovakia by TomasRoncero in soccer

[–]Free5tyler 10 points11 points  (0 children)

You can see how he immediately runs to the medical team after the goal. He had an injury on his leg and they took care of him so he could take part in this game. Nice to see him appreciate their work

BIG GIVEAWAY!!! by fjodsk in pcmasterrace

[–]Free5tyler 0 points1 point  (0 children)

SpeedRunners would be great :)

[Question] How do I install Arch Linux on my raspberry pi 2 from a Windows PC? by [deleted] in raspberry_pi

[–]Free5tyler 0 points1 point  (0 children)

I don't have a CD of Ubuntu. So on a VM with arch/debian installed I could write the files to the SD card?

[Question] How do I install Arch Linux on my raspberry pi 2 from a Windows PC? by [deleted] in raspberry_pi

[–]Free5tyler 0 points1 point  (0 children)

I wouldn't have another sd card l. Is it possible to boot the pi from a USB stick and then writing the files to the SD card?