Hackaday Visits The Electric City

Much to the chagrin of local historians, the city of Scranton, Pennsylvania is today best known as the setting for the American version of The Office. But while the exploits of Dunder Mifflin’s best and brightest might make for a good Netflix binge, there’s a lot more to the historic city than the fictional paper company. From its beginnings as a major supplier of anthracite coal to the introduction of America’s first electrically operated trolley system on its streets, Scranton earned its nickname “The Electric City” by being a major technological hub from the Industrial Revolution through to the Second World War.

Today, the mines and furnaces of Scranton lie silent but not forgotten. In the 1980’s, the city started turning what remained of their industrial sites into historic landmarks and museums with the help of State and Federal grants. I recently got a chance to tour some of these locations, and came away very impressed. They’re an exceptional look into the early technology and processes which helped turn America into an industrial juggernaut.

While no substitute for visiting these museums and parks for yourself, hopefully the following images and descriptions will give you an idea of what kind of attractions await visitors to the modern day Electric City.

Continue reading “Hackaday Visits The Electric City”

Why Is Continuous Glucose Monitoring So Hard?

Everyone starts their day with a routine, and like most people these days, mine starts by checking my phone. But where most people look for the weather update, local traffic, or even check Twitter or Facebook, I use my phone to peer an inch inside my daughter’s abdomen. There, a tiny electrochemical sensor continuously samples the fluid between her cells, measuring the concentration of glucose so that we can control the amount of insulin she’s receiving through her insulin pump.

Type 1 diabetes is a nasty disease, usually sprung on the victim early in life and making every day a series of medical procedures – calculating the correct amount of insulin to use for each morsel of food consumed, dealing with the inevitable high and low blood glucose readings, and pinprick after pinprick to test the blood. Continuous glucose monitoring (CGM) has been a godsend to us and millions of diabetic families, as it gives us the freedom to let our kids be kids and go on sleepovers and have one more slice of pizza without turning it into a major project. Plus, good control of blood glucose means less chance of the dire consequences of diabetes later in life, like blindness, heart disease, and amputations. And I have to say I think it’s pretty neat that I have telemetry on my child; we like to call her our “cyborg kid.”

But for all the benefits of CGM, it’s not without its downsides. It’s wickedly expensive in terms of consumables and electronics, it requires an invasive procedure to place sensors, and even in this age of tiny electronics, it’s still comparatively bulky. It seems like we should be a lot further along with the technology than we are, but as it turns out, CGM is actually pretty hard to do, and there are some pretty solid reasons why the technology seems stuck.

Continue reading “Why Is Continuous Glucose Monitoring So Hard?”

Collecting, Repairing, And Wearing Vintage Digital Watches

Electronics enthusiasts have the opportunity to be on the very cusp of a trend with vintage digital watches (VDW). Vintage digital watches are those watches that from the late 70’s and throughout the 80’s. They’re unlike any watch style today, and for anyone around when they made their debut these deliver a healthy dose of nostalgia.

Monetarily speaking, it is not worth the money to pay a watch maker to restore a digital watch but for those of us with basic electronics skills we can put the time and effort into making them run again and be one of the few in possession of functioning VDW. It’s a statement as well as a sign of your own aptitude.

Earlier this year, Steven Dufresne walked us through the history of the digital watch. In this article we will dive into the world of vintage digital watch repair.

Continue reading “Collecting, Repairing, And Wearing Vintage Digital Watches”

Sci-Hub: Breaking Down The Paywalls

There’s a battle going on in academia between the scientific journal publishing companies that have long served as the main platform for peer review and spreading information, and scientists themselves who just want to share and have access to the work of their fellows. arxiv.org launched the first salvo, allowing researchers in physics to self-publish their own papers, and has gained some traction in mathematics and computer science. The Public Library of Science journals focus on biology and medicine and offer peer review services. There are many others, and even the big firms have been forced to recognize the importance of open science publication.

But for many, that’s still not enough. The high prestige journals, and most past works, are stuck behind paywalls. Since 2011, Sci-Hub has taken science publishing open by force, illegally obtaining papers and publishing them in violation of copyright, but at the same time facilitating scientific research and providing researchers in poorer countries with access that their rich-world colleagues take for granted. The big publishing firms naturally fought back in court and won, and with roughly $20 million of damages, drove Sci-Hub’s founder underground.

Continue reading “Sci-Hub: Breaking Down The Paywalls”

Shushing Sonic Booms: NASA’s Supersonic X-Plane To Take Flight In 2021

The history of aviation is full of notable X-Planes, a number of which heralded in new generations of flight. The Bell X-1 became the first aircraft to break the speed of sound during level flight in 1947 with the legendary Charles “Chuck” Yeager at the controls. A few years later the X-2 would push man up to Mach 3, refining our understanding of supersonic flight. In the 1960’s, the North American built X-15 would not only take us to the edge of space, but set a world speed record which remains unbroken.

Compared to the heady post-war days when it seemed the sky was quite literally the limit, X-Planes in the modern era have become more utilitarian in nature. They are often proposed but never built, and if they do get built, the trend has been towards unmanned subscale vehicles due to their lower cost and risk. The few full-scale piloted X-Planes of the 21st century have largely been prototypes for new military fighter jets rather than scientific research aircraft.

But thanks to a commitment from NASA, the Lockheed Martin X-59 might finally break that trend and become another historic vehicle worthy of the X-Plane lineage. Construction has already begun on the X-59, and the program has recently passed a rigorous design and timeline overview by NASA officials which confirmed the agency’s intent to financially and logistically support the development of the aircraft through their Low Boom Flight Demonstrator initiative. If successful, the X-59 will not only help refine the technology for the next generation of commercial supersonic aircraft, but potentially help change the laws which have prevented such aircraft from operating over land in the United States since 1973.

Continue reading “Shushing Sonic Booms: NASA’s Supersonic X-Plane To Take Flight In 2021”

Five Year Old Bug Spawns Router Botnet Monster

In the news has been yet another router botnet. [Hui Wang] and [RootKiter] of 360Netlab announced their discovery of what they call the “BCMUPnP_Hunter” rootkit. They estimate this botnet to be running on over 100,000 routers worldwide.

There are two elements of this story that I found particularly baffling. First, this botnet infects routers using a vulnerability that was first reported by Defensecode over five years ago, in 2013! The second oddity is the wide range of devices that are vulnerable and are now part of the botnet. Dozens of brands and at least 116 models have been found to be infected.

One of the details of this story hasn’t been reported entirely accurately. The bug is not built into the Broadcom chipset. Unlike Spectre and Meltdown, it’s not actually a hardware fault. Broadcom distributes a Software Development Kit (SDK) that enables device manufacturers like D-Link, TP-Link, and Linksys to quickly develop firmware for routers using Broadcom chips. The vulnerability lies in this code, rather than part of the hardware itself.

Continue reading “Five Year Old Bug Spawns Router Botnet Monster”

Creating Black Holes: Division By Zero In Practice

Dividing by zero — the fundamental no-can-do of arithmetic. It is somewhat surrounded by mystery, and is a constant source for internet humor, whether it involves exploding microcontrollers, the collapse of the universe, or crashing your own world by having Siri tell you that you have no friends.

It’s also one of the few things gcc will warn you about by default, which caused a rather vivid discussion with interesting insights when I recently wrote about compiler warnings. And if you’re running a modern operating system, it might even send you a signal that something’s gone wrong and let you handle it in your code. Dividing by zero is more than theoretical, and serves as a great introduction to signals, so let’s have a closer look at it.

Chances are, the first time you heard about division itself back in elementary school, it was taught that dividing by zero is strictly forbidden — and obviously you didn’t want your teacher call the cops on you, so you obeyed and refrained from it. But as with many other things in life, the older you get, the less restrictive they become, and dividing by zero eventually turned from forbidden into simply being impossible and yielding an undefined result.

And indeed, if a = b/0, it would mean in reverse that a×0 = b. If b itself was zero, the equation would be true for every single number there is, making it impossible to define a concrete value for a. And if b was any other value, no single value multiplied by zero could result in anything non-zero. Once we move into the realms of calculus, we will learn that infinity appears to be the answer, but that’s in the end just replacing one abstract, mind-boggling concept with another one. And it won’t answer one question: how does all this play out in a processor? Continue reading “Creating Black Holes: Division By Zero In Practice”