Dr. Ben

Results 18 comments of Dr. Ben

Nice one solution! I can actually also recommend using the astar method (from the same library), got a 2x speedup over Dijkstra. (finds the same path) ;) Had fun testing...

hmm, could it be due to distance calculations?

``` rust fn distance(&self, other: &Pos) -> i32 { let square_dist = (self.0 - other.0).abs().pow(2) + (self.1 - other.1).abs().pow(2); (square_dist as f64).sqrt() as i32 } ``` But I wonder if...

indeed that's a good solution. I might add it to the experimental branch and update it along with other fixes.

Thank you very much for the contribution! This is indeed quite good and would give access to the superior Gnuplot fit function. The problem comes with the "Popen.communicate()" function, as...

Thanks again, This is a good find, and seems to work. In fact, the communicate function also seems use a thread for the readout https://github.com/python/cpython/blob/master/Lib/subprocess.py I will experiment with the...

I will use your suggested code since it is very clean and works very well! Thank you very much Dmitry, excellent work!

Thats actually explains a lot, also why my earlier attempts to just read stdout failed.

Yes this is something I wanted to fix.