Ask Hackaday: Earth’s Magnetic Field Shifting Rapidly, But Who Will Notice?

Just when you though it was safe to venture out, the National Oceanic and Atmospheric Administration released an unexpected update. Magnetic North is on the move — faster than expected. That’s right, we know magnetic north moves around, but now it’s happened at a surprising rate. Instead of waiting for the normal five year interval before an update on its position, NOAA have given us a fresh one a bit earlier.

There are some things that we can safely consider immutable, reliable, they’ll always be the same. You might think that direction would be one of them. North, south, east, and west, the points of the compass. But while the True North of the Earth’s rotation has remained unchanged, the same can not be said of our customary method of measuring direction.

Earth’s magnetic field is generated by a 2,000 km thick outer core of liquid iron and nickel that surrounds the planet’s solid inner core. The axis of the earth’s internal magnet shifts around the rotational axis at the whim of the currents within that liquid interior, and with it changes the readings returned by magnetic compasses worldwide.

The question that emerged at Hackaday as we digested news of the early update was this: as navigation moves inexorably towards the use of GPS and other systems that do not depend upon the Earth’s magnetic field, where is this still relevant beyond the realm of science?

Continue reading “Ask Hackaday: Earth’s Magnetic Field Shifting Rapidly, But Who Will Notice?”

New Contest: Flexible PCBs

The now-humble PCB was revolutionary when it came along, and the whole ecosystem that evolved around it has been a game changer in electronic design. But the PCB is just so… flat. Planar. Two-dimensional. As useful as it is, it gets a little dull sometimes.

Here’s your chance to break out of Flatland and explore the third dimension of circuit design with our brand new Flexible PCB Contest.

We’ve teamed up with Digi-Key for this contest. Digi-Key’s generous sponsorship means 60 contest winners will receive free fabrication of three copies of their flexible PCB design, manufactured through the expertise of OSH Park. So now you can get your flex on with wearables, sensors, or whatever else you can think of that needs a flexible PCB.

Continue reading “New Contest: Flexible PCBs”

Google Launches AI Platform That Looks Remarkably Like A Raspberry Pi

Google has promised us new hardware products for machine learning at the edge, and now it’s finally out. The thing you’re going to take away from this is that Google built a Raspberry Pi with machine learning. This is Google’s Coral, with an Edge TPU platform, a custom-made ASIC that is designed to run machine learning algorithms ‘at the edge’. Here is the link to the board that looks like a Raspberry Pi.

This new hardware was launched ahead of the TensorFlow Dev Summit, revolving around machine learning and ‘AI’ in embedded applications, specifically power- and computationally-limited environments. This is ‘the edge’ in marketing speak, and already we’ve seen a few products designed from the ground up to run ML algorithms and inference in embedded applications. There are RISC-V microcontrollers with machine learning accelerators available now, and Nvidia has been working on this for years. Now Google is throwing their hat into the ring with a custom-designed ASIC that accelerates TensorFlow. It just so happens that the board looks like a Raspberry Pi.

Continue reading “Google Launches AI Platform That Looks Remarkably Like A Raspberry Pi”

Better Living Through Science: Why Your Kids Probably Aren’t Getting Measles

Oddly, there’s been a few recent outbreaks of measles. It struck me how when I was a kid, a few hundred kids getting measles wouldn’t have been news at all. However, even a handful makes the news now, since in 2000 the Center for Disease Control declared measles eradicated in the United States.

So how can an eradicated disease come back? How did we eradicate it to start with? The answers tell a pretty interesting tale of science applying to everyday life.

Continue reading “Better Living Through Science: Why Your Kids Probably Aren’t Getting Measles”

“Good Code Documents Itself” And Other Hilarious Jokes You Shouldn’t Tell Yourself

Code documentation — is there anything more exciting than spending your time writing extensive comments? If I had to guess, your answer is probably somewhere along the lines of “uhm, yes, everything is more exciting than that”. Plus, requesting to document your code is almost like an insult to your well thought out design, this beautiful creation you implemented so carefully that it just has to be obvious what is happening. Writing about it is just redundant, the code is all you need.

As a result, no matter if it’s some open source side project or professional software development, code documentation usually comes in two flavors: absent and useless. The dislike for documenting ones code seems universal among programmers of any field or language, no matter where in the world they are. And it’s understandable, after all, you’re in it for the coding, implementing all the fun stuff. If you wanted to tell stories, you would have chosen a different path in life.

This reluctance has even formed whole new paradigms and philosophies claiming how comments are actually harmful, and anyone trying to weasel their way out of it can now happily rehash all those claims. But, to exaggerate a bit, we’re essentially villainizing information this way. While it is true that comments can be counterproductive, it’s more the fundamental attitude towards them that causes the harm here.

In the end, code documentation is a lot like error handling, we are told early on how it’s important and necessary, but we fail to understand why and instead grow to resent doing it again for that same old teacher, supervisor, or annoying teammate. But just like error handling, we are the ones who can actually benefit the most from it — if done right. But in order to do it right, we need to face some harsh truths and start admitting that there is no such thing as self-documenting code, and maybe we simply don’t understand what we’re actually doing if we can’t manage to write a few words about it.

So let’s burst some bubbles!

Continue reading ““Good Code Documents Itself” And Other Hilarious Jokes You Shouldn’t Tell Yourself”

Justin McAllister’s Simple, Post-Apocalypse-Friendly Antennas

Watch Justin McAllister’s presentation on simple antennas suitable for a zombie apocalypse and two things will happen: you’ll be reminded that everything antennas do is amazing, and their reputation for being a black magic art will fade dramatically. Justin really knows his stuff; there is no dangle-a-wire-and-hope-for-the-best in his examples. He demonstrates that it’s possible to communicate over remarkable distances with nothing more than an off-the-shelf radio, battery pack, and an antenna of simple design.

Continue reading “Justin McAllister’s Simple, Post-Apocalypse-Friendly Antennas”

When New Space Loses Out To NASA Pragmatism

You’ve got to admit, things have been going exceptionally well for SpaceX. In the sixteen years they’ve been in operation, they’ve managed to tick off enough space “firsts” to make even established aerospace players blush. They’re the first privately owned company to not only design and launch their own orbital-class rocket, but to send a spacecraft to the International Space Station. The first stage of their Falcon 9 rocket is the world’s only orbital booster capable of autonomous landing and reuse, and their Falcon Heavy has the highest payload capacity of any operational launch system. All of which they’ve managed to do at a significantly lower cost than their competition.

United Launch Alliance Atlas V

So it might come as a surprise to hear that SpaceX recently lost out on a lucrative NASA launch contract to the same entrenched aerospace corporations they’ve been running circles around for the last decade. It certainly seems to have come as a surprise to SpaceX, at least. Their bid to launch NASA’s Lucy mission on the Falcon 9 was so much lower than the nearly $150 million awarded to United Launch Alliance (ULA) for a flight on their Atlas V that the company has decided to formally protest the decision. Publicly questioning a NASA contract marks another “first” for the company, and a sign that SpaceX’s confidence in their abilities has reached the point that they’re no longer content to be treated as a minor player compared to heavyweights like Boeing and Lockheed Martin.

But this isn’t the first time NASA has opted to side with more established partners, even in the face of significantly lower bids by “New Space” companies. Their decision not to select Sierra Nevada Corporation’s Dream Chaser spaceplane for the Commercial Crew program in 2014, despite it being far cheaper than Boeing’s CST-100 Starliner, triggered a similar protest to the US Government Accountability Office (GAO). In the end, the GAO determined that Boeing’s experience and long history justified the higher sticker price of their spacecraft compared to the relative newcomer.

NASA has yet to officially explain their decision to go with ULA over SpaceX for the Lucy mission, but in light of what we know about the contract, it seems a safe bet they’ll tell SpaceX the same thing they told Sierra Nevada in 2014. The SpaceX bid might be lower, but in the end, NASA’s is willing to pay more to know it will get done right. Which begs the question: at what point are the cost savings not compelling enough to trust an important scientific mission (or human lives) to these rapidly emerging commercial space companies?

Continue reading “When New Space Loses Out To NASA Pragmatism”