Archive for July, 2017

jq – a lightweight and flexible command-line JSON processor

July 17, 2017 Leave a comment

jq is like sed for JSON data – you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text.

jq is written in portable C, and it has zero runtime dependencies. You can download a single binary, scp it to a far away machine of the same type, and expect it to work.

jq can mangle the data format that you have into the one that you want with very little effort, and the program to do so is often shorter and simpler than you’d expect.

Categories: Interesting Tags: , ,

This cell phone can make calls even without a battery

July 6, 2017 Leave a comment

“HELLO, HELLO. I am calling from a battery-free phone.” Vamsi Talla’s words in a cluttered lab at the University of Washington in Seattle are barely audible through pops and static. But the fact they can be heard at all, on a nearby Android smartphone, is revolutionary, because Talla’s own cell phone has no battery at all. It draws what little power it needs from thin air.
The prototype cell phone is the culmination of a years-long quest by Talla, a research associate at the lab of Joshua Smith, who researches computer science and electrical engineering at UW. “If you had to pick one device to make battery-free, what would you pick,” asks Smith. “A cell phone is one of the most useful objects there is. Now imagine if your battery ran out and you could still send texts and make calls.”

Categories: Interesting