Hack Amazon’s Dash buttons to do things other than buying stuff

Amazon’s Dash buttons are tiny adhesive physical triggers that can order for you, through the magic of WiFi, anything you need to stock up on. But that’s not the limits of their power, if you’re willing to tinker with them. Ted Benson, (who works at a company that likes to regularly perform such shenanigans with the aid of its web tools), reckons it”ll you take under 10 minutes to repurpose Amazon’s physical iteration of Buy It Now. (I think he’s underestimating the degree of incompetence this editor possesses, but anyhow.) Benson managed to hack a diaper-ordering Dash button to act as an Internet Of Things -style tracker for how often his (adorable) baby poops. Or how many times he wakes up in a night. The trick lies in the fact that Amazon’s buttons aren’t constantly connected to WiFi. For the sake of battery life, the buttons only come to life when pushed, meaning the workaround picks up when your button is trying to access the internet, and registers that as a trigger for anything but buying stuff from Amazon. With a little bit of python code, a simple program can track when the button tries to connect to the WiFi, and once it gets a hit, record a datapoint. (In this case, inside a Google Doc spreadsheet.) Of course, you need to ensure you’ve setup the button not to order something every time you press it –easily done when you first start using the button. If you’re looking to make the idea of smart diapers seem suddenly very stupid, you can find all the code and instruction needed in the Medium post right here Filed under: Wearables , Internet , Amazon Comments Source: Medium Tags: amazon, amazondash, dashbutton, diapers, internetofthings, poop, video

More:
Hack Amazon’s Dash buttons to do things other than buying stuff

Breathing Beijing’s Air Is the Equivalent of Smoking Almost 40 Cigarettes a Day

iONiUM writes: The Economist has a story about how bad the air quality is in Beijing. Due to public outcry the Chinese government has created almost 1, 000 air quality monitoring stations, and the findings aren’t good. They report: “Pollution is sky-high everywhere in China. Some 83% of Chinese are exposed to air that, in America, would be deemed by the Environmental Protection Agency either to be unhealthy or unhealthy for sensitive groups. Almost half the population of China experiences levels of PM2.5 that are above America’s highest threshold. That is even worse than the satellite data had suggested. Berkeley Earth’s scientific director, Richard Muller, says breathing Beijing’s air is the equivalent of smoking almost 40 cigarettes a day and calculates that air pollution causes 1.6m deaths a year in China, or 17% of the total. A previous estimate, based on a study of pollution in the Huai river basin (which lies between the Yellow and Yangzi rivers), put the toll at 1.2m deaths a year—still high.” Read more of this story at Slashdot.

Link:
Breathing Beijing’s Air Is the Equivalent of Smoking Almost 40 Cigarettes a Day

DirectX 12 Performance Tested In Ashes of the Singularity

Vigile writes: The future of graphics APIs lies in DirectX 12 and Vulkan, both built to target GPU hardware at a lower level than previously available. The advantages are better performance, better efficiency on all hardware and more control for the developer that is willing to put in the time and effort to understand the hardware in question. Until today we have only heard or seen theoretical “peak” performance claims of DX12 compared to DX11. PC Perspective just posted an article that uses a pre-beta version of Ashes of the Singularity, an upcoming RTS utilizing the Oxide Games Nitrous engine, to evaluate and compare DX12’s performance claims and gains against DX11. In the story we find five different processor platforms tested with two different GPUs and two different resolutions. Results are interesting and show that DX12 levels the playing field for AMD, with its R9 390X gaining enough ground in DX12 to overcome a significant performance deficit that exists using DX11 to the GTX 980. Read more of this story at Slashdot.

Read More:
DirectX 12 Performance Tested In Ashes of the Singularity

IBM wires up ‘neuromorphic’ chips like a rodent’s brain

IBM has been working with DARPA’s Systems of Neuromorphic Adaptive Plastic Scalable Electronics ( SyNAPSE ) program since 2008 to develop computing systems that work less like conventional computers and more like the neurons inside your brain. After years of development, IBM has finally unveiled the system to the public as part of a three-week “boot camp” training session for academic and government researchers. The TrueNorth system, as it’s been dubbed, employs modular chips that act like neurons. By stringing multiple chips together researchers can essentially build an artificial neural network. The version that IBM just debuted contains about 48 million connections — roughly the same computing capacity as a rat’s brain — over an array of 48 chips. These systems are designed to run “deep learning” algorithms — similar to Facebook’s new facial recognition feature or Skype’s insta-translate function — but at a fraction of the cost, electrical draw and space needed by conventional data centers. For example, a TrueNorth chip contains 5.4 billion transistors but only uses 70 mw of power. An Intel processor, conversely contains just 1.4 billion transistors and draws between 35 and 140 watts. In fact, future iterations of the TrueNorth system could (theoretically at least) be shrunk small enough to fit inside cell phones or smart watches. These chips also hold an advantage over the GPUs (graphics chips) and FPGAs (function-specific programmable chips) that the industry currently uses because TrueNorth chips operate much the same way that the deep learning algorithms running on them do. With it, IBM hopes to eventually shift some of the computing power requirements away from traditional data centers and onto end user devices. This should speed up the computing process since data isn’t being sent back and forth over the network. Instead, companies could simply develop a deep learning model (say, to count the number of cars in a photo), upload it to a central data server and then have the model run on the user’s TrueNorth-enabled device. The system would be able to spot every car in the user’s image gallery without having to upload each photo to the remote server for processing. Unfortunately, the system is still in its infancy and years away from your phone. [Image Credit: IBM] Filed under: Google , Facebook Comments Via: Wired Source: IBM Tags: computing, deeplearning, facebook, FPGA, google, GPU, IBM, neuralnetwork, neuromorphic, Skype, SyNAPSE

See the original post:
IBM wires up ‘neuromorphic’ chips like a rodent’s brain

Chastity Belts Were Definitely Not A Medieval Thing

It’s the stuff of legends: the knight riding to the Crusades with the key to his lady’s chastity belt tucked under his armor. But it’s about as real as stories of Prester John or the Holy Grail . Read more…

See more here:
Chastity Belts Were Definitely Not A Medieval Thing

Sprint Announces New "iPhone Forever" Plan to Always Keep You Up to Date

In the never ending parade of changes to cell phone carrier plans , Sprint has announced a new plan aimed at ensuring you always have the latest phone. Provided that phone is an iPhone, that is. Read more…

View the original here:
Sprint Announces New "iPhone Forever" Plan to Always Keep You Up to Date

A Software Upgrade Grounded Hundreds of Flights This Weekend

Were you flying to or from the eastern seaboard over the weekend? I’m so sorry. A botched software update caused hundreds of flights to be delayed or cancelled on Saturday and Sunday, so there’s a decent chance you had a bad trip. What happened? A software upgrade, of course. Read more…

View original post here:
A Software Upgrade Grounded Hundreds of Flights This Weekend

Calling 1959 from your Web code: A COBOL bridge for Node.js

Have you ever wanted to just cut and paste some of that legacy COBOL code from mainframe applications into your latest Web application? No? Well, Romanian Web developer  Ionică Bizău  has developed a way to do just that, creating a COBOL bridge for Node.js , the JavaScript-based cross-platform runtime environment that has become a go-to technology for server-side Web development. The plugin is an attempt to breathe new life into the programming language derived from the work of computing pioneer Admiral Grace Hopper. Published under the “Kindly” license (as in, if you want to use it in a commercial application, you should “kindly ask the author”), Node COBOL requires you install GNUCobol along with it. COBOL code can then be embedded in JavaScript. Here’s an example provided by Bizău: // Dependencies var Cobol = require(“cobol”); // Execute some COBOL snippets Cobol(function () /* IDENTIFICATION DIVISION. PROGRAM-ID. HELLO. ENVIRONMENT DIVISION. DATA DIVISION. PROCEDURE DIVISION. PROGRAM-BEGIN. DISPLAY “Hello world”. PROGRAM-DONE. STOP RUN. */ , function (err, data) console.log(err ); // => “Hello World” Cobol(__dirname + “/args.cbl”, args: [“Alice”] , function (err, data) console.log(err ); // => “Your name is: Alice” // This will read data from stdin Cobol(function () /* IDENTIFICATION DIVISION. PROGRAM-ID. APP. *> http://stackoverflow.com/q/938760/1420197 ENVIRONMENT DIVISION. INPUT-OUTPUT SECTION. FILE-CONTROL. SELECT SYSIN ASSIGN TO KEYBOARD ORGANIZATION LINE SEQUENTIAL. DATA DIVISION. FILE SECTION. FD SYSIN. 01 ln PIC X(64). 88 EOF VALUE HIGH-VALUES. WORKING-STORAGE SECTION. PROCEDURE DIVISION. DISPLAY “Write something and then press the key” OPEN INPUT SYSIN READ SYSIN AT END SET EOF TO TRUE END-READ PERFORM UNTIL EOF DISPLAY “You wrote: “, ln DISPLAY “————” READ SYSIN AT END SET EOF TO TRUE END-READ END-PERFORM CLOSE SYSIN STOP RUN. */ , stdin: process.stdin , stdout: process.stdout , function (err) if (err) console.log(err); }); // => Write something and then press the key // You wrote: Hi there! // => ———— Bizău notes on his GitHub page that Node COBOL is ready for use in production—though he knows of no one who is doing so as of yet. Read on Ars Technica | Comments

Visit link:
Calling 1959 from your Web code: A COBOL bridge for Node.js