/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

senthil.learntosolveit.com
| | mika-s.github.io
3.1 parsecs away

Travel
| | One thing that can be hard to get right is the mapping from to radians to to radians. Or to to -180° to 180°. I've been unable to find information about it with Google (except for the functions that comes with Matlab), so I decided to share a function I've made that does the transformation. In C#: void TransformToPipi(double inputAngle, out double outputAngle, out int revolutions) { revolutions = (int)((inputAngle + Math.Sign(inputAngle) * Math.PI) / (2 * Math.PI)); outputAngle = (inputAngle + Math.Sign(inputAngle) * Math.PI) % (2 * Math.PI) - (Math.Sign(Math.Sign(inputAngle) + 2 * (Math.Sign(Math.Abs(((inputAngle + Math.PI) % (2 * Math.PI)) / (2 * Math.PI))) - 1))) * Math.PI; } The function takes an angle in radians as input and outputs an angle between and...
| | studywolf.wordpress.com
3.0 parsecs away

Travel
| | When plotting means and confidence intervals, sometimes the mean lines are hard to see and it's nice to have included in your legend the color of the confidence interval shading. It turns out this is a bit of a chore in Matplotlib, but building off of their online examples you can get something that looks...
| | kaveh.page
2.9 parsecs away

Travel
| | S&P500 recently went on a 9-day winning streak. I wanted to see how often this has happened historically.
| | english.elpais.com
18.7 parsecs away

Travel
| New chatbots capable of generating text and images from a few, simple prompts provide glimpses of how AI could change the workplace, education, superpower relations and our daily lives