I'll Use the Pythagorean Theorem in Real Life!!
SaberStat data collection | November 2023 One of the projects that I have been working on lately has been a Lightsaber battle hit/miss tracker for the Apple Watch. The project originally started in November 2023 , but got shelved for a while as I worked on tra86 and STORMM . I restarted it about 3 weeks ago, with a better understanding of how to build for Apple Platforms and general comfort in Swift. This blog post isn't so much about SaberStat the product, as much as it is about a step towards determining a hit detection algorithm for the app itself. Frank and I collected some data back then using a mini "Sensor Logger" app (shoutout Kelvin Choi) on the Watch that would send data over HTTP using POST requests. A running HTTPD server on our respective laptops would use a Python script to collect this data and put it into a fancy CSV (which I cobbled up in 25-ish minutes, outside, during Amherst winter). If you're interested in how this was done, feel free to read...

