
By MAX GENDLER from NYT Sports https://ift.tt/2KMyTZ7
Even though machine learning AKA ‘deep learning’ / ‘artificial intelligence’ has been around for several decades now, it’s only recently that computing power has become fast enough to do anything useful with the science.
However, to fully understand how a neural network (NN) works, [Dimitris Tassopoulos] has stripped the concept down to pretty much the simplest example possible – a 3 input, 1 output network – and run inference on a number of MCUs, including the humble Arduino Uno. Miraculously, the Uno processed the network in an impressively fast prediction time of 114.4 μsec!
Whilst we did not test the code on an MCU, we just happened to have Jupyter Notebook installed so ran the same code on a Raspberry Pi directly from [Dimitris’s] bitbucket repo.
He explains in the project pages that now that the hype about AI has died down a bit that it’s the right time for engineers to get into the nitty-gritty of the theory and start using some of the ‘tools’ such as Keras, which have now matured into something fairly useful.
In part 2 of the project, we get to see the guts of a more complicated NN with 3-inputs, a hidden layer with 32 nodes and 1-output, which runs on an Uno at a much slower speed of 5600 μsec.
This exploration of ML in the embedded world is NOT ‘high level’ research stuff that tends to be inaccessible and hard to understand. We have covered Machine Learning On Tiny Platforms Like Raspberry Pi And Arduino before, but not with such an easy and thoroughly practical example.
Many of us have seen an old bus for sale for a tantalizingly low price, and begun thinking about the possibilities. [EpiclyEpicEthan1] is someone who took the next step, bought the bus, and got to work converting it to an RV, with impressive results.
The bus in question is a 2002 International RE3000, which in its former life had helped move school children and barrels of pool chemicals to and fro. The project began, as many do, with a full teardown of the interior. With this done, the floor was treated to remove rust and repainted. Insulation and new plywood boards were then installed, and the fit-out began.
The amount of work involved in the build is immense. There’s a master bedroom, auxiliary bedroom, bathroom, and kitchen area. It’s a fully featured RV in every sense of the word, and yes, there is hot water. There was also significant work done to improve the driving experience, with switches relocated, lights added, and a reversing camera installed for easier parking.
Overall, it’s an impressive project that should serve as great inspiration to anyone wanting to attempt something similar. Then again, if your means are a little more limited, you could always go for a Corolla build.
We’ve seen countless different robot kits promoted for STEM education, every one of which can perform the robotic “Hello World” task of line following. Many were in attendance at Maker Faire Bay Area 2019 toiling in their endless loops. Walking past one such display by Microduino, Inc. our attention was caught by a demonstration of their mCookie modules in action: installing a peripheral module took less than a second with a “click” of magnets finding each other.
Many Arduino projects draw from an ecosystem of Arduino shields. Following that established path, Microduino had offered tiny Arduino-compatible boards and peripherals which connected with pins and headers just like their full-sized counterparts. Unfortunately their tiny size also meant their risk of pin misalignment and corresponding damage would be higher as well. mCookie addresses this challenge by using pogo pins for electrical contacts, and magnets to ensure proper alignment. Now even children with not-quite-there-yet dexterity can assemble these modules, opening up a market to a younger audience.
Spring loaded electric connections are a popular choice for programming jigs, and we’ve seen them combined with magnets for ideas like modular keyboards, and there are also LittleBits for building simple circuits. When packaged with bright colorful LEGO-compatible plastic mounts, we have the foundation of an interesting option for introductory electronics and programming. Microduino’s focus at Maker Faire was promoting their Itty Bitty Buggy, which at $60 USD is a significantly more affordable entry point to intelligent LEGO creations than LEGO’s own $300 USD Mindstorm EV3. It’ll be interesting to see if these nifty mCookie modules will help Microduino differentiate themselves from other LEGO compatible electronic kits following a similar playbook.
Jony Ive is just too easy to parody.
Apple announced the longtime chief design officer's departure from the company on Thursday. In a statement, the company said Ive will launch his own design firm with Apple as his main client.
In the last decade, Ive has been particularly memorable for putting minimalism on a pedestal, explaining designs from the austere confines of a white background, and narrating product releases with his impossibly buttery voice.
Jony Ive can finally come out of that white room he's been held in for three decades pic.twitter.com/Rw2hbv8ee2
— Alissa Walker (@awalkerinLA) June 27, 2019 Read more...
Facebook's "Supreme Court" is starting to take shape.
More than six months after Mark Zuckerberg revealed his plan to create an "independent body" to review controversial content decisions, Facebook says it has made fresh progress on the effort.
The company has spent the last several months hosting discussions and reviewing public feedback on its plans. On Thursday, the company published a 44-page paper that delves into those discussions and how it's thinking about the crucial decisions it faces.
It's a long and complex process, but it's one that could dramatically impact some of Facebook's most consequential decisions. Here's what we know about it so far. Read more...
More about Tech, Facebook, Social Media Companies, Tech, and Social Media CompaniesEver felt threatened by someone else's fancy language skills?
New Jersey Senator Cory Booker seemed to feel just that during the Democratic Debate on Wednesday night, when rival candidate Beto O'Rourke flexed his Spanish skills first.
When Beto was asked if he would support a higher tax rate for top earners, he responded by stating that the economy needed to "work for everyone." Beto then switched mid-answer to Spanish, and Booker was caught glaring in his wake.
Booker, of course, can also speak SpanishHe made his pitch to voters when he called into Univision's Despierta América when he announced his candidacy back in February. Read more...
More about Politics, Democratic Debate, Cory Booker, Beto O Rourke, and CultureThe 18650 cell has become a ubiquitous standard in the lithium battery world. From power drills to early Tesla vehicles, these compact cells power all manner of portable devices. A particularly common use is in laptop batteries, where they’re often built into a pack using the Smart Battery System. This creates a smart battery that can communicate and report on its own status. PackProbe is a software tool built to communicate with these batteries, and you might just find it comes in handy.
The code runs on the WiFi-enabled Arduino Yún by default, but can be easily modified to suit other Arduino platforms. Communicating over SMBus using the Arduino’s I2C hardware, it’s capable of working with the vast majority of laptop batteries out there which comply with the Smart Battery System. With that standard being minted in 1994, it’s spread far and wide these days.
It’s a great way to harvest not only the specifications and manufacturing details of your laptop battery pack, but also to check on the health of the battery. This can give a clear idea over whether the battery is still usable, as well as whether the cells are worth harvesting for those in the recycling business.
You’re not limited to just the Arduino, though. There’s a similar tool available for the ESP8266, too.
Facebook may soon have new rules for "deepfakes."
That's according to Mark Zuckerberg, who said Wednesday that the company is currently discussing specific policies that would police deepfakes, a term that refers to videos that have been realistically manipulated using artificial intelligence.
The issue was recently thrust into the spotlight after a manipulated video of Nancy Pelosi went viral on the platform. The video, which experts said had been slowed down, made the Speaker of the House's speech sound slurred as if she were drunk. Facebook's fact checkers eventually marked the video as false, but it had already spread widely before Facebook down-ranked it in users' News Feeds. Read more...
More about Tech, Facebook, Mark Zuckerberg, Social Media Companies, and DeepfakesVintage parts may be documented, but that doesn’t mean they’re particularly useful or accessible. If the phrase “eyestrain from unsearchable, badly-scanned PDF datasheets” makes your lower eyelid twitch in sympathy, read on.
While [Bald Engineer] was researching how he might make a portable Apple II, he was delighted to find that the vintage components he needed to examine were documented. However, he became frustrated with the seemingly endless number of poor quality PDF scans and the inability to search effectively. He decided to re-create the entire Apple IIgs schematic in KiCad, and in the process the Bit Preserve project was born. The goal is to act as a safe haven for modern and editable versions of vintage electronic schematics. The GitHub repository can be found here.
[Bald Engineer] talks a bit about his Apple II project, as well as the ideas behind the Bit Preserve project in his KiCon 2019 talk “Preserving History with KiCad”. KiCon was wild, and we have loads of photos of the projects and details so be sure to check it out.
Do it now!
That's sleazy used car salesman Howard Kleiner back in action, this time trying to get would-be electric car buyers hyped about gas-guzzling, fossil fuel-burning cars.
Except it's — surprise! — former California governor, body builder, and movie star Arnold Schwarzenegger with a fake mustache and wig. He's just pretending to be a salesman obsessed with muscle cars that burn tons of gas as part of a campaign to get more people informed about electric vehicles.
"We need to get off fossil fuels as quickly as we can," the governator said in a phone call this week.
The tongue-in-cheek video is part of EV coalition Veloz's "Kicking Gas" and Electric For All campaign to bring more electric cars to California and beyond. The organization works with automakers, utilities, government agencies, charging networks, and other transportation groups to raise awareness about electric vehicles. Read more...
More about Arnold Schwarzenegger, Electric Vehicles, Tech, and TransportationCloud based IDEs and development tools have grown over the years, though most have limitations in their free tiers and may not be fully compatible with other services such as GitHub. [Aadi Bajpai] loved using PythonAnywhere and to collaborate using GitHub, so he made a update server that automatically updates the running code once you make a push to Github
PythonAnywhere gives you access to a python shell over a web browser, and also lets you run a web app that can be accessed via a custom sub-domain. Even though it does not have direct integration with GitHub, you can drop to the bash shell to and get access to a git client.
For this hack, [Aadi Bajpai] utilizes the webhooks from GitHub that are triggered when a push event is detected. A flask server running on PythonAnywhere is written such that once triggered by the get POST request, it locally executes a git pull from the repository. There a bit more work that allows adding a bit of security sauce to the recipe but it is a pretty elegant solution and can be used for other cases as well.
Setting up alert notifications has been demonstrated to be an interesting task, though integrating Discord or Slack for notifications adds a little more bragging rights.
If you like solving puzzles out in the real world, you’ve probably been to an escape room before, or are at least familiar with its concept of getting (voluntarily) locked inside a place and searching for clues that will eventually lead to a key or door lock combination that gets you out again. And while there are plenty of analog options available to implement this, the chances are you will come across more and more electronics-infused puzzles nowadays, especially if it fits the escape room’s theme itself. [Alastair Aitchison] likes to create such puzzles and recently discovered how he can utilize a USB powered plasma globe as a momentary switch in one of his installations.
The concept is pretty straightforward, [Alastair] noticed the plasma globe will draw significantly more current when it’s being touched compared to its idle state, which he measures using an INA219 current shunt connected to an Arduino. As a demo setup in his video, he uses two globes that will trigger a linear actuator when touched at the same time, making it an ideal multiplayer installation. Whether the amount of fingers, their position on the globe, or movement make enough of a reliable difference in the current consumption to implement a more-dimensional switch is unfortunately not clear, but definitely something worth experimenting with.
In case you’re planning to build your own escape room and are going for the Mad Scientist Laboratory theme, you’ll obviously need at least one of those plasma globes sparking in a corner anyway, so this will definitely come in handy — maybe even accompanied by something slightly larger? And for all other themes, you can always resort to an RFID-based solution instead.
If you read science fiction, you are probably familiar with the idea of a light or solar sail. A very large and lightweight sail catches solar “wind” that accelerates a payload connected to the sail. Some schemes replace the sun with a laser. Like most things, sails have pros and cons. They don’t require you to carry fuel, but they are also maddeningly slow to accelerate and require huge sails since there isn’t much pressure produced by a star at a distance. So far not many real spacecraft have used the technique, IKAROS was the first back in 2010. However, this month should see the launch of a crowdfunded cubesat that will use a solar sail to move to a higher orbit.
The 5 kg satellite built by Georgia Tech students is about the size of a loaf of bread. Once in orbit, it will deploy solar panels and a square solar sail nearly 20 feet long on each side. Despite the nearly 350 square feet of area, the sail is less than 5 microns thick. You can see more details about the mission in the video below.
It is tempting to think of solar sails as a true analog to wind sails, but the analogy only goes so far. Tacking with a sailboat depends on the interaction between the wind pressure above and water pressure below. In space, there’s no other pressure to work with. However, according to the Solar Sails Wiki, you can change the angle of attack on the sail to cause your orbit around the sun to get bigger or smaller, which is a bit like tacking.
Since light pressure can constantly accelerate a sailing vehicle, you can achieve interstellar speeds with some patience. Then again, some people think alien light sails are already whizzing through our solar system.
`````````Microsoft's next Surface could be unlike any other, and not just because it will be foldable.
A new report in Forbes reveals more details about the rumored device, and it sounds like the next-generation Surface will be a serious departure from previous versions of the product. The report, which was based off a market research firm's "supply chain sources," claims that the fold-up Surface will have dual 9-inch displays, LTE or possibly 5G support, and will launch in the first half of 2020.
It's not clear if the "foldable" Surface refers to simply a collapsible dual-screen device, or to a truly flexible display. Previous reports have indicated that Microsoft is prepping Windows 10 for both such scenarios. And rumors of a foldable Surface have been swirling for nearly a year. Read more...
More about Tech, Microsoft, Microsoft Surface, Tech, and Consumer TechIf you know how to protect your mainframe from the backdoor trojan worm that’s duplicated the virus code malware drive in the reboot server, uh, code, then this article isn’t for you. If it sounds made up and like a movie script from the '90s, then keep reading unless you want your identity stolen and used on the dark web to buy caviar and rhino horn.
Unless you can type as well as the guy below (a government official in the original 1995 film Ghost in the Shell), or you've already got a cybersecurity solution like Bitdefender set up, then the world of computer viruses and hacking can be real confusing — but important to know. Read more...
More about Tech, Movies, Cybersecurity, Hacking, and VirusMost of us have a pretty simple model of how a computer works. The CPU fetches instructions and data from memory, executes them, and writes data back to memory. That model is a good enough abstraction for most of what we do, but it hasn’t really been true for a long time on anything but the simplest computers. A modern computer’s memory subsystem is much more complex and often is the key to unlocking real performance. [Pdziepak] has a great post about how to take practical advantage of modern caching to improve high-performance code.
If you go back to 1956, [Tom Kilburn’s] Atlas computer introduced virtual memory based on the work of a doctoral thesis by [Fritz-Rudolf Güntsch]. The idea is that a small amount of high-speed memory holds pieces of a larger memory device like a memory drum, tape, or disk. If a program accesses a piece of memory that is not in the high-speed memory, the system reads from the mass storage device, after possibly making room by writing some part of working memory back out to the mass storage device.
Caching takes this even further. The CPU executes code from a small but very fast cache. A larger and slower cache acts as mass storage for the fast cache. That cache may have its own cache until eventually one of the caches empties into a mass storage device. Naturally, there are some differences since the purpose is different: cache is mainly concerned with faster memory access while virtual memory tries to allow large programs to run in less physical memory.
However, this is a lot different than our common mental model. In a very real sense, today’s modern CPUs execute programs from mass storage. That’s why you can have many huge programs running on a single computer with limited memory. However, the CPU really executes from a very small high-speed memory.
A modern cache is often split into separate parts for instruction and data, and [Pdziepak] is looking specifically at the level 1 instruction cache. It gets pretty detailed, but it does talk about tools to examine cache performance and also about hot and cold functions, something we don’t think gets enough use.
Of course, if you are just writing normal code, you probably don’t care. But if you are trying to wring the most performance you can get out of your CPU, you’ll enjoy the post.
Unfortunately, the cache has had a bad security rep lately. Although Meltdown and Spectre got most of the press, there’s also Foreshadow.
Many held out hope that the Bibas family might have still been alive. from BBC News https://ift.tt/eoylikQ