Hackaday Links: March 14, 2021

It’ll be Pi Day when this article goes live, at least for approximately half the globe west of the prime meridian. We always enjoy Pi Day, not least for the excuse to enjoy pie and other disc-shaped foods. It’s also cool to ponder the mysteries of a transcendental number, which usually get a good treatment by the math YouTube community. This year was no disappointment in this regard, as we found two good pi-related videos, both by Matt Parker over at Standup Maths. The first one deals with raising pi to the pi to the pi to the pi and how that may or may not result in an integer that’s tens of trillions of digits long. The second and more entertaining video is a collaboration with Steve Mould which aims to estimate the value of pi by measuring the volume of a molecular monolayer of oleic acid floating on water. The process was really interesting and the results were surprisingly accurate; this might make a good exercise to do with kids to show them what pi is all about.

Remember basic physics and first being exposed to the formula for universal gravitation? We sure do, and we remember thinking that it should be possible to calculate the force between us and our classmates. It is, of course, but actually measuring the attractive force would be another thing entirely. But researchers have done just that, using objects substantially smaller than the average high school student: two 2-mm gold balls. The apparatus the Austrian researchers built used 90-milligram gold balls, one stationary and one on a suspended arm. The acceleration between the two moves the suspended ball, which pivots a mirror attached to the arm to deflect a laser beam. That they were able to tease a signal from the background noise of electrostatic, seismic, and hydrodynamic forces is quite a technical feat.

We noticed a lot of interest in the Antikythera mechanism this week, which was apparently caused by the announcement of the first-ever complete computational model of the ancient device’s inner workings. The team from University College London used all the available data gleaned from the 82 known fragments of the mechanism to produce a working model of the mechanism in software. This in turn was used to create some wonderful CGI animations of the mechanism at work — this video is well worth the half-hour it takes to watch. The UCL team says they’re now at work building a replica of the mechanism using modern techniques. One of the team says he has some doubts that ancient construction methods could have resulted in some of the finer pieces of the mechanism, like the concentric axles needed for some parts. We think our friend Clickspring might have something to say about that, as he seems to be doing pretty well building his replica using nothing but tools and methods that were available to the original maker. And by doing so, he managed to discern a previously unknown feature of the mechanism.

We got a tip recently that JOGL, or Just One Giant Lab, is offering microgrants for open-source science projects aimed at tackling the problems of COVID-19. The grants are for 4,000€ and require a minimal application and reporting process. The window for application is closing, though — March 21 is the deadline. If you’ve got an open-source COVID-19 project that could benefit from a cash infusion to bring to fruition, this might be your chance.

And finally, we stumbled across a video highlighting some of the darker aspects of amateur radio, particularly those who go through tremendous expense and effort just to be a pain in the ass. The story centers around the Mt. Diablo repeater, an amateur radio repeater located in California. Apparently someone took offense at the topics of conversation on the machine, and deployed what they called the “Annoy-o-Tron” to express their displeasure. The device consisted of a Baofeng transceiver, a cheap MP3 player loaded with obnoxious content, and a battery. Encased in epoxy resin and concrete inside a plastic ammo can, the jammer lugged the beast up a hill 20 miles (32 km) from the repeater, trained a simple Yagi antenna toward the site, and walked away. It lasted for three days and while the amateurs complained about the misuse of their repeater, they apparently didn’t do a thing about it. The jammer was retrieved six weeks after the fact and hasn’t been heard from since.

Let Your Pi Make A Pie Chart For Your Pie

March 14th is “Pi Day”, for reasons which should be obvious to our more mathematically inclined readers. As you are not reading this post on March 14th, that must mean we’re either fashionably late to Pi Day 2019, or exceptionally early for Pi Day 2020. But in either event, we’ve got a hack for you that celebrates the day using two things we have it on good authority most hackers overindulge in: food and needless complexity.

This project comes from [Mike MacHenry], and it’s just as straightforward as it looks. Put simply, he’s using a load cell connected to the Raspberry Pi to weigh an actual pie and monitor its change over time. As the pie is consumed by hungry hackers, a pie graph (what else?) is rendered on the attached screen to show you how much of the dessert is left.

One might say that this project takes a three dimensional pie and converts it to a two dimensional facsimile, but perhaps that’s over-analyzing it. In reality, it was a fun little hack [Mike] put together just because he thought it would be fun. Which is certainly enough of a motive for us. More practically though, if you’re looking for a good example for how to get a load cell talking to your non-edible Raspberry Pi, you could do worse than checking this out.

We’ve also got to give [Mike] extra credit for including the recipe and procedure for actually baking the apple pie used in the project. While we’re not 100% sure the MIT license [Mike] used is actually valid for foodstuffs, but believe it or not this isn’t the first time we’ve seen Git used in the production of baked goods.

Archimedes Would Have Known Better If He Could Count To A Million

Today is March 14th, or Pi Day because 3.14 is March 14th rendered in month.day date format. A very slightly better way to celebrate the ratio of a circle’s circumference to its diameter is July 22nd, or 22/7 written in day/month order, a fractional approximation of pi that’s been used for thousands of years and is a better fit than 3.14. Celebrating Pi Day on July 22nd also has the advantage of eschewing middle-endian date formatting.

But Pi Day is completely wrong. We should be celebrating Tau Day, to celebrate the ratio of the circumference to the radius instead of the diameter. That’s June 28th, or 6.283185…. Nonetheless, today is Pi Day and in the absence of something truly new and insightful — we’re still waiting for someone to implement a spigot algorithm in 6502 assembly, by the way — this is a fantastic opportunity to discuss something tangentially related to pi, the history of mathematics, and the idea that human knowledge builds upon itself in an immense genealogy stretching back to the beginning of history.

This is our Pi Day article, but instead of complaining about date formats, or Tau, we’re going to do something different. This is how you approximate pi with the Monte Carlo method, and how anyone who can count to a million can get a better approximation of one the fundamental constants of the Universe than Archimedes.

Continue reading “Archimedes Would Have Known Better If He Could Count To A Million”

The Wonderful Scent Of Etching Pi On Pie For Pi Day

My “owl-hours” these last few months have been buried in the garage, chopping down aluminum extrusions for a homebrew laser cutter. Nevertheless, it’s time-well-spent. With the skeleton of the gantry now in place, what better way to give it a test-run other than engraving a few sweets?

(Goggles on, folks!)

Yesterday marked this year’s Pi Day, a time to commemorate our commitment to nerdom. I’m no baker; so when a couple friends put me to work on the assembly line of Pi-day pie-making, I couldn’t resist giving one a special touch.

This beloved journey towards building a laser cutter isn’t quite done, but it’s well on its way! Without fumigation, my only exceptions for cutting materials at this stage are paper, and food that smells great after burning it.

Without further ado, I’m honored to serve up a few digits of Pi-on-Pie.

To make the pattern, I generated a DXF vector file with Solidworks, and produced GCode with dxf2gcode. Admittedly, I wholeheartedly believe that this job better lends itself to GCMC, the open source GCode Metacompiler; but, sadly, time was against me. My only true regret: no raspberries in this pipeline.

From Wii-Motes to 3D sintered objects, we’ve seen some bizarre and fantastic objects enter and exit the hood of many laser cutters. If you’ve got a tale behind your build, we’d love to hear about some of your adventures. Join us on the IO and tell us your story as it happens!

(Ok, goggles off.)

Continue reading “The Wonderful Scent Of Etching Pi On Pie For Pi Day”

Happy Pi Day. 3.14159265359……

Unless you were alive in 1592, this is the closest to the perfect “Pi day” you’ll ever get.  3/14/15.  And if you want to take a moment to pause at 9:26:53 (am or pm?  Time zone? Country?) we’ll be right there with you. Well, sorta of.

Now, before you laugh, and think Pi is just a number, think again.  It’s almost magical in nature.  It’s effects on our daily lives is found everywhere.  From biology to astrophysics.  In the perspective of history, it can be used as a milestone to mark many different culture’s advancement of math and science.  In short, Pi is a keystone of the modern world.  With out it, we’d never would have gone to the moon. We might sill be on horse back.  And forget electronics.  That fun stuff never would have happened.

(As a side note, on this day, 3/14,  just happens to be Albert Einstein birthday.  Happy birthday!)

We hope you have an awesome Pi day.  We would love to see you in the comments too.  For example, we’d love to hear about and see posts of algorithms that can compute Pi.  How far can you compute Pi on a Raspberry Pi?  Or even child hood stories of your first encounter with that magical number.  Post up, and let us know your thoughts.

We’ll leave you with this cute video after the break, It’s an 8-year-old reciting 200 digits of Pi .  But if you need more digits….There is 1 million digits of pi.

Continue reading “Happy Pi Day. 3.14159265359……”