One For The Road: New Bike-Bottle Device Harvests Moisture As You Ride


Sustainable energy comes in many forms, but what about the fuel you'll need to sustain yourself?  A new invention can keep you happily hydrated by culling water from the atmosphere and delivering it straight into your bike bottle...no rest stops required.

Unless you need to check the map.  Again.
(Image courtesy adventurecycling.org.)

The Fontus, as reported by the Atlantic, is a new invention that is a simple and effective means of keeping a constant water supply, even if you find you've ridden your bike to the middle of nowhere.  Austrian creator Kristof Retezár designed the Fontus to be a sleek, unobtrusive bike-mounted device that funnels air through a top chamber to remove the inherent moisture. The air then settles over a "condensing structure" and a solar-powered cooler drips the water into your bike bottle.



In humid conditions, the Fontus could provide 17 ounces of water per hour for a cyclist. Eventually, it could be brought to remote areas of the world to improve quality of life where humidity is high but groundwater is scarce. Many areas in South America, Africa, and Southeast Asia in particular could benefit from this innovation.

Sustainability's many styles are inspiring some amazing inventions to roll out. And just think, if the cyclist was also harvesting their own pedal-powered electricity, they'd be a one-person transport, water, and power supply! Now if there were only a way to grow energy bars en route as well...

Nutrition on the road is serious business.
(Image courtesy si.wsj.net.)




New Earthquake Evasion App "QuakeAlert" To Save You From Seismic Shakes

Over 1,400 earthquakes have occurred in the last month, some with extremely devastating results.  Now, a firm called Early Warning Labs is set to give those in afflicted areas a heads-up via a new smartphone app.

As reported by the Daily Mail, the QuakeAlert system was created in a partnership between the U.S. government and experts in the seismology field.  QuakeAlert works twofold, with a warning sent via app to the user's smartphone, but also to various alarms one could place in their home or office.  The alarms give a countdown of probable "safe" time left, allowing people to plan their escapes from quake zones and tend to safety measures like disabling vulnerable gas lines.

Your travel plans might need all the advance notice possible.
(Image courtesy crisisboom.files.wordpress.com.)

The app grades the impending quakes on brutality from light to severe, so one knows what to expect.  Hints regarding all manner of earthquake safety are also issued.  Their stated mission is to "improve, expand, and lower the costs of the existing earthquake early warning systems."

You will also now have a leg up on looters / emergency-supply gatherers.
(Image courtesy discovermagazine.com.)

The app works by taking data from a network of seismic sensors.  The sensors judge the early earthquake's "P-wave" activity, enabling emergency warnings to preclude the major event.  Location, magnitude, and overall reach of the earthquake are then sent to the user.  A second warning is sent before the next phase, a.k.a "S-wave" activity (where much of the shaking and damages occur.)

Overall the network will hopefully help to save lives and instill a better sense of planning during these frenetic events.  The app itself is free, though the alarms will cost $100 each.  Still, it's a small price to pay for peace of mind when pieces of the earth pay you no mind.

Education for better evasion.
(Image courtesy thompsonreuters.com.)



Pew Report: 90% Of Americans Feel They've "Lost Control" Over Data Privacy

It's no secret that most civilian information in the United States is not secret.  But just how bad has the encroachment on our privacy gotten?  In a new Pew Research Center report, it seems that the cognitive dissonance of the American Dream is frustrating, but still not something people feel ready to fix...even though it is more critical now than ever to stop the erosion from the invasion.

It's not just a feeling.  It's their first move.
(Image courtesy mb.com.ph.)

The Washington Post reports that a recent study indicated Americans were very aware of the "privacy dystopia" they were living in, with 61% stating that they "would like to do more" to protect their online information.  Over 90% were aware that they had "lost control" over how private organizations were able to obtain and utilize their personal information.

Unfortunately, 55% were admittedly willing to trade personal information for free services online, which doesn't seem to be in line with most peoples' stated desires for privacy (yes, it DOES require sacrifice of some things, unfortunately, but perhaps someday with effort, that could be changed.  Cognizance of this is the first step to correcting it.)

Whatever this is, it isn't worth your security.
(Image courtesy news.softpedia.com.)

Other data from the report included some interesting findings:

-60% reported that revealing data to companies over the internet did not significantly improve their online experience

-88% did not trust advertisers the majority of the time

-82% did not trust the government all or most of the time

-Only 24% felt they could be easily anonymous online

-Perhaps most importantly, over 60% disagreed or strongly disagreed with the statement "it is a good thing for society if people believe that someone is keeping an eye on the things that they do online."

Cell phones, land lines, and social media site security were also assessed, but the overall results were clear:  the snooping needs to stop.  And until we cease squandering our own operational security or surrendering our data for the benefit of fleeting internet fun, this is going to be difficult to change.  It is no longer enough to disagree with privacy-violating practices - consumers and citizens must make the powers that be stop shamelessly snooping and selling our security.  Big Brother has become a bully, and it's time to fight back.

More technological shutters must be closed to block a variety of prying eyes.
(Image courtesy nypost.com.)

Step Up Your Art With New E-Traces Dance Shoes

As technology is accepted more and more into our daily lives, the effect it can have on one of our most elemental fascinations - artwork - becomes increasingly intriguing.  Now, thanks to one company's innovative new ballet shoes, the worlds of dance and abstract visual art have got a new way to tango. 

Like shoe-shaped Sharpies for your feet.
(Image courtesy cargocollective.com.)

According to makezine.com, designer Lesia Trubat Gonzalez's new project, E-traces, follows your footwork and turns it into artwork.  A Lilypad Arduino-based sensor takes pressure data from a dancer's feet, sending data from the customized ballet shoes to a computer program.  This then transforms the various movements into brushstroke-esque imagery.  The app allows customization and even graph readout of the data.

The technological palette.
(Image courtesy cargocollective.com.)

The technology could be used to assess one's performance (particularly in comparison to other dancers' graphical results) as well as to create a new form of visual art.  Can calligraphy be choreographed?  Dance a mile in these shoes and see what strokes of artistic genius appear.

Don't just wait for the dancefloor to change colors as your boogie!  Use E-Traces to add to the art!
(Image courtesy 2.bp.blogspot.com.)


Networking in Swift: Building the Swift Client, Part 3

This is part three in the tutorial segment on building a Swift client application to query a RESTful web API, from our series of articles on networking in Swift. In the first segment, we created a custom RESTful API in PHP that serves up the inventory of our hypothetical plumbing supply shop.

In this segment, we have been building a Swift client which queries this API and delivers that inventory content to our end user. In part one, we got our Swift application up and running. In part two of building the Swift client, we created our basic data model, hooked up the segues to our inventory views, and successfully handled raw responses from the server by printing them to the Xcode console.

In the present article, we'll create model objects from the JSON dictionary returned by the server (at the end of part two), and display our inventory item lists in their respective table view controllers.

Model Objects
When we left off in part two, we were filling out the requestInventory method in our PlumbingSupplyInventoryTableViewController. Currently, that method simply prints the returned JSON dictionary to the Xcode console. We'll now create model objects from this dictionary by factoring out the relevant code from the requestInventory method and placing them in a separate method to handle this logic. In your PlumbingSupplyInventoryTableViewController file, add the following method below the requestInventory function that we were working on in the previous article:

Notice that in the last line we do not print out the jsonResult dictionary object but instead wrap it in an array and return it to the caller. In the requestInventory method, replace the three lines of code we factored out into the new inventoryItems method with the following two lines of code:

If you run the app and select one of the two inventory item categories, you should see the same response as before in your console, but wrapped in an array. We'll now refine the raw JSON data. Replace the return [jsonResult] line of code in the inventoryItems method with the following snippet:


Let's take a closer look at this. The first line gets the raw data dictionary object from the JSON results container. The second line defines a container that will hold model objects that are built from the raw data dictionary objects from line one. Inside the for loop we iterate through the raw data dictionary objects and build an array of refined data objects. And in our last line we simply return the array of model objects.

If you now run the app again, you'll see the difference in the Xcode console output, which now returns a tidy array mapping individual inventory items to their memory locations. Let's display these inventory lists in their respective views.

Displaying Our Inventory Item List
Return to the main storyboard. Locate and select one of the table view cells from our PlumbingSupplyInventoryTableViewController scene. In the Attributes Inspector, locate the Style drop down menu and select the option “Basic.” Locate the Identifier field and type in “Cell”. Finally, locate the Accessory drop down menu and select the option “Disclosure Indicator.” Do the same for the other cell as well.

Now open the file PlumbingSupplyInventoryTableViewController.swift file. Inside and toward the top of the class, add the following property:

This data source property will supply our dynamic table view cells with the information to display on screen. The number of items in our data source will always be equal to the number of items from a single plumbing supply inventory category. In the same class  replace the default boilerplate code for the three methods below with the following snippets:

These data source methods are called by the system to query this controller on how to proceed when building our table view and displaying content within it. In the first method we simply tell the system that our table view will display only one section. The second method says that the number of items in our single table view section is equal to the number of items in our data source.

The last method does several things to build a table view cell. In the first line (line 12 in the snippet above) it dequeues a reusable cell. When scrolling a table view, table view cells that scroll off the screen are placed on a queue for reuse and cells that scroll onto the screen are removed from this queue and reused. This process helps speed up table view performance which makes possible the smooth table view scrolling with which we are all familiar. On the second line (line 13) we utilize the indexPath object to get the row number of the cell that is next to become visible in our table view; the row number corresponds to a unique item in our data source. There is a one-to-one correspondence between the cells and the items in our data source. The following line gets the name of an inventory item and assigns it to the label of the next cell to become visible. The last line simply returns that cell.

Let's jump back to where we defined our requestInventory function. In this method, replace this line of code that reads println(inventoryItems) with the following snippet:

What's going on here? In line 1, we capture a reference to the data source that is received from the self.inventoryItems(data) method call. The next segment is a C level API call to a dispatch system, on a queue of our choice, which executes code that we place inside its block/closure. The code inside the closure performs updates to our UI elements.

According to Apple's documentation, any code that updates UI elements must be executed on the main queue—which is what we do. The first line within the closure asks our table view to reload since we have assigned items to its data source. The second line hides the web activity indicator spinner, since our request for web content has terminated. Run the app and select on of the two plumbing supply categories. Once the content downloads you should see a table view similar to the one depicted below:


Success! We've successfully displayed the list of inventory items returned by the web API. Notice, however, that we did not use the callback responseHandler( error: nil, items: nil) closure but instead updated our UI in the method from above. We leave this as an exercise for the reader to implement. If you are not sure how to go about implementing this, don't worry, we wrote another method on a different controller that uses the closure to update its UI elements after an update. We do this towards the end of this tutorial.

This project can be found on GitHub.

We're almost done! In the next article, we'll display thumbnail images alongside each of the items in our inventory list above. And then in the final tutorial, we'll build our item description scene for each item in the inventory that displays the full image along with the extended description supplied by our API.

Index
Introduction
Introduction and Overview: From the Back End API to the End User Application

The Web API
Building a RESTful API in PHP, Part 1
Building a RESTful API in PHP, Part 2

The Swift Client App
Networking in Swift: Building the Swift Client, Part 1
Networking in Swift: Building the Swift Client, Part 2
Networking in Swift: Building the Swift Client, Part 3
Networking in Swift: Building the Swift Client, Part 4
Networking in Swift: Building the Swift Client, Part 5


This tutorial was authored by Stefan Agapie, a Senior iOS Software Engineer, and adapted for the present piece. 

Bitcoins And Biohacks: Dermally-Implant Your Dough?

Body modifications have been around as long as humanity.  We are constantly seeking new ways to embellish, improve, and artistically distinguish ourselves by pimping our corporeal rides, and now, technological innovations may be added to that mix.

As reported by the Telegraph UK, Dutchman Martijn Wismeijer has had 12mm NFC (near-field communication) computer chips embedded in his hands as a sort of human upgrade. On these chips, he stores the keys to his bitcoin wallet, as well as a personalized alarm clock where the chips must be held to a sensor to shut off his daily alarm.  

Easier than carrying around a sack of doubloons, for sure...but not as secure.
(Image courtesy techinasia.com.)

The 888-byte chips were installed via a ready-made syringe which delivered them to the fatty subdermal flesh.  While Wismeijer admitted that many doctors were recalcitrant to perform the modification, other body artists such as tattooists or piercers may be more amenable (although regardless of the surgeon, sterile conditions are still a must.)

The founder of Mr. Bitcoin, a company that deals in crypto-currency ATMs, Wismeijer says the chips are not secure enough to permanently carry the codes at the moment, but that his experiment in embedding them was a success.  He eventually would like the technology to include wireless key access for his home.  Wismeijer feels this type of "bio-hacking" is just the fingertip of the bigger body of possible uses for the technology.

In the beginning, there was the byte.
(Image courtesy storiesbywilliams.com.)

Wismeijer explained, “The reason I did take the implants is that I have real-world uses for it today, my phones and tablets are all compatible. I personally feel that by supporting these bio-hacking developments we can learn what works and what doesn't and that some day, in the not so distant future we will be able to implant more functionality like sub dermal glucose sensors or heart rate monitors and other vital health monitoring devices. Imagine a normally invisible tattoo on your arm glowing red when you get a heart attack, swipe your phone and your phone will notify doctor.

“By supporting these bio-hacking initiatives I believe we are paving the way for social acceptance while at the same time we support the bio-hacking technology that drives it.”

Bodymodding biohackers, use your new powers for good.
(Image courtesy hackpittsburgh.com,)

Roaches To The Rescue! New "Biobots" Could Help Respond To Your Cries For Help

Technology can be used for all manner of rescues.  We have devices and programs that can spot and stop fires, find humans in the dark, preserve habitability in difficult environments, and much more.  But what about sending another species on a rescue mission, amped up with the benefits of technology?  Meet the biobots.

As reported by the Atlantic, biobots are basically hot-rodded common cockroaches.  Armed with small electronic "backpacks", they are able to transmit sound wirelessly using a multi-directional microphone.  These dispatches are analyzed by first responders and could be used to help determine everything from a leak in a pipe to a human trapped under a pile of collapsed debris.

Is this the real hero Gotham needs?
(Image courtesy hightech-edge.com.)

Dr. Alper Bozkurt, an assistant professor of electrical and computer engineering at North Carolina State University and major contributor to the project, explained, "In a collapsed building, sound is the best way to find survivors."

Another type of the "backpack" the roaches can be outfitted with uses three-directional microphones to locate the source of the sound, which hopefully the roaches can be trained to pursue.  The research team hopes to train the roaches to go for only the most important sounds, such as prioritizing human cries for help rather than lesser distractions.  In time, these public nuisances may be recreated as creepy, crawly heroes!

Then it's only a matter of time before they teach themselves to remix the sounds into funky Roachstep jams.
(Image courtesy ddppchicago.files.wordpress.com.)