A Fantastic Frontier Of FPGA Flexibility Found In The 2019 Supercon Badge

We have just concluded a successful Hackaday Superconference where a highlight for many was digging into this year’s hardware badge. Shaped in the general form of a Game Boy handheld gaming console, the heart of the badge is a large FPGA opening up new and exciting potential for badge hacking.

Beyond our normal tools of compiling custom code or modifying hardware with a soldering iron, we now have the option to change core hardware behavior with Verilog. And people explored this new frontier to great effect, as seen at the badge hacking ceremony. (Video embedded below.)

FPGAs are not new, technically speaking, why are they exciting now? We can thank their recent growth in capability, their rapidly falling cost, and the relatively new availability of open source toolchains. These developments elevated FPGA into one of the most exciting trends in hardware today, so this year’s badge master [Sprite_TM] built an open FPGA playground for several hundred of his closest Supercon friends. Let’s take a look at what people were able to accomplish in just a few days using this unique and powerful hardware.

Continue reading “A Fantastic Frontier Of FPGA Flexibility Found In The 2019 Supercon Badge”

The Golden Age Of Ever-Changing Computer Architecture

Given the accuracy of Moore’s Law to the development of integrated circuits over the years, one would think that our present day period is no different from the past decades in terms of computer architecture design. However, during the 2017 ACM Turing Award acceptance speech, John L. Hennessy and David A. Patterson described the present as the “golden age of computer architecture”.

Compared to the early days of MS-DOS, when designing user- and kernel-space interactions was still an experiment in the works, it certainly feels like we’re no longer in the infancy of the field. Yet, as the pressure mounts for companies to acquire more computational resources for running expensive machine learning algorithms on massive swaths of data, smart computer architecture design may be just what the industry needs.

Moore’s law predicts the doubling of transistors in an IC, it doesn’t predict the path that IC design will take. When that observation was made in 1965 it was difficult or even impossible to envision where we are today, with tools and processes so closely linked and widely available that the way we conceive processor design is itself multiplying.

Continue reading “The Golden Age Of Ever-Changing Computer Architecture”

The Young Engineers Guide To University Capstone Projects

Engineering degrees are as wide and varied as the potential careers on offer out in the real world. There’s plenty of maths to learn, and a cavalcade of tough topics, from thermodynamics to fluid mechanics. However, the real challenge is the capstone project. Generally taking place in the senior year of a four-year degree, it’s a chance for students to apply everything they’ve learned on a real-world engineering project.

Known for endless late nights and the gruelling effort required, it’s an challenge that is revered beforehand, and boasted about after the fact. During the project, everyone is usually far too busy to talk about it. My experience was very much along these lines, when I undertook the Submarine That Can Fly project back in 2012.  The project taught me a lot about engineering, in a way that solving problems out of textbooks never could. What follows are some of the lessons I picked up along the way. Continue reading “The Young Engineers Guide To University Capstone Projects”

The Strain Of Flu Shot Logistics

Did you get a flu shot this year? How about last year? In a world of next-day delivery and instant downloads, making the yearly pilgrimage to the doctor or the minute clinic feels like an outdated concept. Even if you get your shots free at the office, it’s still a pain to have to get vaccinated every year.

Unfortunately, there’s really no other way to deal with the annual threat of influenza. There’s no single vaccine for the flu because there are multiple strains that are always mutating. Unlike other viruses with one-and-done vaccinations, influenza is a moving target. Developing, producing, and distributing millions of vaccines every year is a massive operation that never stops, or even slows down a little bit. It’s basically Santa Claus territory — if Santa Claus delivered us all from mass epidemics.

The numbers are staggering. For the 2018-19 season, as in last year, there were 169.1 million doses distributed in the United States, up from 155.3 million doses the year before. How do they do it? We’re gonna roll up our sleeves and take a stab at it.

Continue reading “The Strain Of Flu Shot Logistics”

Tales From The Sysadmin: Dumped Into The Grub Command Line

Today I have a tale of mystery, of horror, and of hope. The allure of a newer kernel and packages was too much to resist, so I found myself upgrading to Fedora 30. All the packages had downloaded, all that was left was to let DNF reboot the machine and install all the new packages. I started the process and meandered off to find a cup of coffee: black, and darker than the stain this line of work leaves on the soul. After enough time had elapsed, I returned, expecting the warming light of a newly upgraded desktop. Instead, all that greeted me was the harsh darkness of a grub command line. Something was amiss, and it was bad.

(An aside to the reader, I had this experience on two different machines, stemming from two different root problems. One was a wayward setting, and the other an unusual permissions problem.)

How does the fledgling Linux sysadmin recover from such a problem? The grub command line is an inscrutable mystery to the uninitiated, but once you understand the basics, it’s not terribly difficult to boot your system and try to restore the normal boot process. This depends on what has broken, of course. If the disk containing your root partition has crashed, then sorry, this article won’t help.

In order to get a system booting, what exactly needs to happen? How does booting Linux work, even? Two components need to be loaded into memory: the kernel, and the initramfs. Once these two elements are loaded into memory, grub performs a jump into the kernel code, which takes over and finishes the machine’s boot. There is one more important detail that we care about — the kernel needs to know where to find the root partition. This is typically part of the kernel parameters, specified on the kernel boot line.

When working with an unfamiliar shell, the help command is a good starting point. grub runs in a very limited environment, and running the help command scrolls most of the text off the screen. There is an environment variable that helps out here, enabling output paging:set pager=1.
Continue reading “Tales From The Sysadmin: Dumped Into The Grub Command Line”

Training Bats In The Random Forest With The Confusion Matrix

When exploring the realm of Machine Learning, it’s always nice to have some real and interesting data to work with. That’s where the bats come in – they’re fascinating animals that emit very particular ultrasonic calls that can be recorded and analysed with computer software to get a fairly good idea of what species they are. When analysed with an FFT spectogram, we can see the individual call shapes very clearly.

Creating an open source classifier for bats is also potentially useful for the world outside of Machine Learning as it could not only enable us to more easily monitor bats themselves, but also the knock on effects of modern farming methods on the natural environment. Bats feed on moths and other night flying insects which themselves have been decimated in numbers. Even in the depths of the countryside here in the UK these insects are a fraction of the population that they used to be 30 years ago, but nobody seems to have monitored this decline.

So getting back to our spectograms, it would be perfectly reasonable to throw these images at a convolutional neural network (CNN) and use an image feature-recognition strategy. But I wanted to explore the depths of the mysterious Random Forest. Continue reading “Training Bats In The Random Forest With The Confusion Matrix”

Brussels Looks Towards Banning Fossil Fuel Transportation As Soon As 2035

Many cities around the world routinely struggle with smog. Apart from being unsightly, heavy air pollution has serious negative health effects, both in the short term and with regards to long-term life expectancy. Over the years, governments have tried to tackle the problem with varied tactics around the world.

When talking about smog, Brussels is not one of the cities that comes first to mind. Regardless, the local government has developed its new climate plan that seeks to abolish fossil fuel vehicles from its streets by 2035. The scheme has a variety of measures that will be staggered over the coming years. It’s part of a broadening trend in transportation, and something we’ll likely see more of around the world in coming years.

What’s The Go?

Brussels is in the process of reducing congestion by converting former roads into pedestrian-only spaces. REUTERS/Eric Vidal

Under the new plan, diesel vehicles will be banned from the city’s Low Emission Zone, or LEZ, by 2030. This will further extend to gasoline vehicles in 2035. Furthermore, special categories of higher polluting vehicles will have bans enforced even earlier. Motorcycles had previously been exempt from the LEZ, but moving forward, the most polluting models will be locked out of the city centre as soon as 2022. The aim is to reduce emissions, with a goal of cutting CO2 output by 40 percent by 2030, and becoming carbon neutral by 2050. The city is also exploring the concept of a Zero Emission Zone, or ZEZ, expanding upon earlier efforts which transformed the Boulevard Anspach from a heavily-trafficked road into a pedestrian-only plaza. Continue reading “Brussels Looks Towards Banning Fossil Fuel Transportation As Soon As 2035”