Related Posts
How to convert Android GPS coordinates into X,Y coordinates.
Without further math bullshit about all the conversion systems, when you have a bunch of Android GPS coordinates (which are compatible with Google Earth and Google Maps), and you want to draw them on a finite 2D plane, here’s what worked for me. [java] int x = (int) ((PLANE_WIDTH/360.0) * (180 + lon)); int y […]
![](https://www.gubatron.com/blog/wp-content/uploads/2014/05/Screen-Shot-2014-05-22-at-9.39.28-PM.png)
The real price of Bitcoin in Bolivares Fuertes: BitVen.com
I’ve just released a tool for Venezuelans looking to know what the ACTUAL price of Bitcoin is in Bolivares Fuertes, it’s called BitVen.com Most price tickers out there don’t know about Venezuela’s currency control reality and they post the Bitcoin price using the Government’s official dollar exchange rate, the problem is, that it’s really hard […]
![](https://www.gubatron.com/blog/wp-content/uploads/2022/12/progress_image_100_7fdc7b72-6c19-42f5-affe-d055d02d6f8e.webp)
What is the Rust equivalent to Java’s PrintWriter?
In Rust, the equivalent of Java’s PrintWriter is the std::io::Write trait, which is implemented by a number of types that can be used to write data to an output stream, such as a file or a network socket. To use Write to write text to an output stream, you can use the write_all method, which […]