GPS III Launching Today But You Can’t Use It Until 2022

Imagine if you bought a new car but they keys were not going to be shipped to you until a few years later. That’s analogous to the situation the U.S. Air Force finds itself in. The first GPS III satellite is finally ready to launch today, December 18, 2018 — a little over 2 years beyond the original schedule. However, most of the unique GPS III features won’t be available until at least 2022, according to a 2017 Government Accounting Office (GAO) report to Congress.

GPS III is a project to launch 32 new satellites that will — for military users — be more difficult to jam. For civilian users, the new GPS satellites will be compatible with other systems, including the EU’s Galileo system. But the big draw? About three times the accuracy of the current system. For civilian use, that means 3 to 10 feet under good conditions as opposed to the current systems’ 10- to 33-foot resolution.

Continue reading “GPS III Launching Today But You Can’t Use It Until 2022”

Does Library Bloat Make Your Smartphone App Look Fat?

While earlier smartphones seemed to manage well enough with individual applications that only weighed in at a few megabytes, a perusal of the modern smartphone software store uncovers some positively monstrous file sizes. The fact that we’ve become accustomed to mobile applications requiring 100+ MB downloads on what’s often a metered Internet connection in only a few short years is pretty crazy if you stop to think about it.

Seeing reports that the Nest app for iOS tipped the scales at nearly 250 MB, [Alexandre Colucci] decided to investigate. On his blog he not only documents the process of taking the application apart piece by piece to find out just what’s eating up all that space, but lists some potential fixes which could shave a bit off the top. Even if you aren’t planning a spelunking expedition into your pocket supercomputer’s particular variant of the Netflix app, the methodology and tools he uses here are fascinating in their own right and might be something worth adding to your software bag of tricks.

By passing the application’s files through a disk usage visualizer called GrandPerspective, [Alexandre] immediately identified some rather large blocks of content. The bundled Apple Watch version of the app takes up 23 MB, video and audio used to walk the user through the device setup weigh in at 22 MB, and localization files for various languages consumes a surprising 33 MB. But the biggest single contributor to the application’s heft is the assorted libraries and frameworks which total up to an incredible 67 MB.

Of course the question is, how much of it is really necessary? It’s hard to be sure from an outsider’s perspective, but [Alexandre] notes that a few of the libraries used seem to be redundant or obsolete. In some cases this could be the result of old code still lurking in the project, but the four different libraries used for user tracking probably aren’t in there by accident. It also stands to reason that the instructional videos could be offloaded to something like YouTube, so that only users who need to view them have to expend their bandwidth on it.

Getting a little deeper into things, [Alexandre] notes that some of the localization images appear to be redundant. As a specific example, he points to the images of the Nest itself displaying Fahrenheit and Celsius temperatures. While logically this should only be two image files, there are actually eight copies of the Celsius image, each filed away as language-specific. These redundant localization images could easily be stripped out, but with gains measured in only a few hundred kilobytes, it probably wasn’t considered worth the effort during development.

In the end there’s really not as much bloat as we might like to believe. There were some redundant files, maybe a few questionable library inclusions, and the Apple Watch version of the app could surely be separated out. All together, it might get you a savings of 30 – 40%, but still not enough to bring it down under 100 MB.

All signs point to the fact that modern smartphone software development is just a lot more burdensome than us hackers might like. Save for projects looking to put control back into the hand’s of the users, it looks like mobile operating systems aren’t going to be slimming down anytime soon.

Can Magnets Replace The Spring In A Pogo Stick?

Betteridge’s law of headlines states that any headline that ends in a question mark can be answered by the word ‘no’. It’s the case with articles asking if Millennials are responsible for all of the world’s ills, or if some technology is the future. So we come to this fascinating case of native content (amusing, veiled advertising) from a store that sells really, really powerful magnets. The title of the article asks if magnets can replace the spring in a pogo stick. The answer, of course, is no, but it does provide a fascinating look at linear versus exponential growth.

A pogo stick is simply a spring with a set of handles and footholds that is the subject of a great number of hilarious YouTube videos, at least one of which is impressive. The physics of a pogo stick is determined entirely by Hooke’s Law, and is a linear equation, not counting the strength of a spring and the yield point of steel, but this is a pogo stick we’re talking about. Magnets, on the other hand, obey the inverse square law. Is it possible to fit an exponential function to fit a linear function? No. No, it is not.

I refuse to believe this is the first use of the phrase, ‘immensely disappointing pogo stick’

But a lack of understanding of the basic forces of nature never stopped anyone, so the folks at K & J Magnetics made a really neat test. They printed out a 1/8th scale pogo stick, complete with a spring. It worked like any pogo stick would. Then they took out the spring and put a few magnets where the spring should go. How did that work? Well, it bottomed out and was an immensely disappointing pogo stick.

If a problem is worth solving, it’s worth solving wrongly, so more magnets were added. Mounting three magnets onto a pogo stick gave the same exponential force, but still not enough. Four, five, and six magnets were added to the model pogo stick, and while six magnets gave this model pogo enough force to be ‘bouncy’, there simply wasn’t enough space for the pogo stick to compress.

The takeaway from this experiment is extremely obvious in retrospect, but probably too subtle for a lot of people. There’s a difference between a linear relationship and and exponential relationship. There’s also a video, you can check that out below.

Continue reading “Can Magnets Replace The Spring In A Pogo Stick?”