Wednesday, October 14, 2015

Will Your Job Be Replaced





I recently came across this job loss calculator which allows you to estimate if your job will be replaced by machines.  

As a Software Developers Systems Software, I would have a 12.8% chance of being replaced by a machine.  As a EE I would have about 10.2% chance.  As a Computer and Information Systems Manager, I would have a 3.5% chance.  Maybe I should keep my fingers in all three....  (Of course, I may retire before being replaced which would be great for me, but....).





Tuesday, September 1, 2015

Photo Editing on Linux

On September 26, 2015, I will be at FREDLUG at the England Run library in Fredericksburg, VA discussing photo and video editing on Linux.  I will be working with a couple of other presenters on the agenda  My focus will be on photo editing and managing photo collections using Linux.  This subject is dear to me as I have been processing photos on Linux for many years for my kids Cheerleading competitions, Karate events, Weddings, family photos, nature photos, etc.
I frequently take photos of a very wide range of subjects:
  • Art:  museums, sculpture, paintings, family-created art
  • Astronomy:  astrophotography, planets, sunrise, sunset
  • Family:  kids, weddings, Christmas and related events
  • Nature:  day and night, forests, mountains, waterfalls, trees, sunrise/sunset
  • Photo art:  creative shots with multiple cameras, creative post-processing, etc.
  • Scanned images:  from film typically including very old family photos
  • Scanned documents including some 100-year-old telegrams
  • Sports:  Cheerleading, football, and karate
  • Technical:  circuits, equipment, Arduino, buildings, family inventory
  • Travel:  ancient sites, interesting structures, Churches, Mosques, Temples, Wats
I have used many, many cameras, film and digital including:
  • Canon 50D and 350D, plus other Canon and Nikon SLRs, and mirrorless systems
  • Celestron and generic digital microscopes
  • Multiple web cams 
  • Raspberry Pi camera module (5MP)
  • Point and shoot digital cameras including Nikon Coolpix, Olympus, and others.
  • Canon AE1 Program, EX-Auto, and misc other film cameras and SLRs
  • Scanned images from family pictures, some over 100 years old
I have used many lenses on the SLR cameras including 50mm 1.8, 20mm, zoom lenses, etc.


When processing photos on Linux, I primarily use these tools:
Note, Picasa is not open source but works well for non-destructive editing of large sets of photos.  I began using it years ago, so still use it to organize the huge sets of photos I manage.  I still use Picasa as it is fast and does retouch well, but am considering moving to Digikam.

This is a good review of image editors for Linux at techradar.com.

For processing RAW images I have used multiple tools.  I really liked RawStudio, however the link at http://www.rawstudio.org seems to be broken so I used the link to github.  RawStudio seems to have less support so I am leaning towards Darktable.
  • Darktable:  seems slower than RawStudio, good for batches of images 
  • RawStudio:  good for batches of images, seems to be dying or not well supported
  • UFRaw: good for single images

Some image software and editors I have yet to try, but am interested in:
My next mission is to move from Picasa to a fully-open-source image processing workflow stream that is compatible with the current version of Fedora and that supports my existing photo hierarchy. I will post my progress in this task in future blog entries.

I may have to stick with RegiStax for stacking astro images.... Again this will be the subject of a future blob posting on Astronomical Image processing on Linux.

I have stitched together some panorama images using Hugin with excellent results.  I also tried to make HDR images using Luminance HDR (with varying degreees of success).

Many cameras can be directly controlled from Linux using Gphoto2, for example I can change the ISO, shutter speed, aperture, and shutter for my 50D.  I can command the camera to take 20 pictures, 1 second apart, and download them all from a script.  Great stuff and also the subject of a follow-on post....

I have done only a little video processing on Linux.  The options here are not as mature.  
I will do a post in the future about Video on Linux including my experience with Kino and Kdenlive. This seems to be an interesting Linux video editor review at linux.com.

Update:  9/28/2015:  The presentation went very well.  We demonstrated a lot of applications and captured from a webcam, Celestron microscope, and the Canon 50D!

Some of my photography can be seen at:  https://wadesfavorites.shutterfly.com/.

Enjoy!

Monday, August 31, 2015

Google EU Law Notice

I just got this from Google.  Interesting.  Glad they are trying to take privacy seriously.
However here in the states we have more and more hacks, like the OPM breach.

Google's quote:  "European Union laws require you to give European Union visitors information about cookies used on your blog. In many cases, these laws also require you to obtain consent.

As a courtesy, we have added a notice on your blog to explain Google's use of certain Blogger and Google cookies, including use of Google Analytics and AdSense cookies.

You are responsible for confirming this notice actually works for your blog, and that it displays. If you employ other cookies, for example by adding third party features, this notice may not work for you. Learn more about this notice and your responsibilities."

Yes, I am confirming that it works as it really does not matter for this at this point.

Tuesday, June 16, 2015

Rise of the Machines!

Could your job be at risk from robots?

Technology has been displacing blue collar workers for centuries including the automobile (replacing teamsters) and factory automation (your car was built by robots).  Recently, we have seen a rise in automated checkout systems.  Smart technology is now threatening white collar jobs including attorneys.

One argument against the rise of the minimum wage is that if it were to rise, companies that typically hire a lot of minimum wage staff like the fast food industry might turn to robots.  Although McDonalds deny that they plan on moving to robots, they have a new McDonald’s In Phoenix Run Entirely By Robots.  Is this the way of the future?

What will happen to the workplace?  Will we all become button pressers like George Jetson?

Extrapolating the rise of machines and especially artificial intelligence has led to some theorizing that we soon will witness the Technological Singularity.  This would be a point in time with
the advent of "strong AI" leading to machines that are more intelligent than us.   The Technological Singularity is not a new ideas but has been popularized by  Vernor Vinge and Ray Kurzweil (now a director of engineering at Google).  For more info see:  http://www.singularity.com/ and Vernor Vinge's 1993 essay on the Technological Singularity.

When could the Technological Singularity occur?  Vinge predicts some time before 2030 whereas others like Kurzweil predict somewhat later in time.  I think we are closer to it than we realize.

There are many who are scared of this rise of the machines, especially "strong AI" including Bill Gates, Elon Musk, and Stephen Hawking.  Elon Musk even donated $10M to the Future of Life Institute to run a global research program aimed at keeping AI beneficial to humanity.

We are now seeing articles like this from Nature on the Ethics of Artificial Intelligence.

Where will we be in 10 years?  20 years?  Will we be the masters or the slaves?
Will we be fighting the Berserkers like in the books by Fred Saberhagen?

As a side note, will the Terminator run Linux like 97% of the Top 500 supercomputers?



Thursday, May 28, 2015

Hack Your Car

Is your car safe?  Can it be hacked?  

I just drove a car with a smart control system that had a menu-based setup screen for the car.  It was the first time I ever saw "setup your car" as a menu option -- FROM THE RADIO!  Where are we headed?

Can these systems that allow us to setup cars from the radio be hacked?  Most likely, YES!

This is a very interesting Senate Report Shaming Automakers Security.  Just how secure is your car?

We may never know how secure/insecure your car is.  For example in the UK, the government
suppressed research into how to hack cars.  Is it happening here?

This recent information is now coming to light after the Toyota revelations a few years ago about unintended acceleration:  Toyota Single Bit Flip That Kills.  Toyota tried to cover up problems with their engine control module including lying to congress and the NHTSA.  (I covered this in a previous blog post:  Toyota's Killer Software.)

Toyota is not the only car company with unintended acceleration .  Back in the 1980s, there were multiple reports of the Audi 5000 having unintended acceleration and it might have been software:  "intermittent malfunctions of the electronic control unit were observed and recorded”.

GM is recalling over 200,000 Cadillac and Chevrolet Impala cars for a breaking problem.  Some reports indicate that it is a break software glitch.  Note that the NHTSA opened an investigation last year to "investigate allegations of inappropriate autonomous braking while driving”.

Are you ready for that self-driving car?  "It's safe!  Trust Us!"

Tuesday, April 28, 2015

What is an Arduino

From the official Arduino website:

“Arduino is a tool for making computers that can sense and control more of the physical world than your desktop computer. It's an open-source physical computing platform based on a simple microcontroller board, and a development environment for writing software for the board.”

Basically, Arduino is a credit-card sized computer that costs about $20. It is open source hardware and runs open source software. The development environment is cross-platform and runs on Linux, Windows and Mac. It is at the core of the Maker community.

ArduinoUno_R3_Front_450px.jpg

Arduino is an ecosystem:
  • Open Source GUI and Compiler (GCC)
  • Very simple software framework (wiring)
  • Shallow learning curve, even for those with limited electronic and programming experience, but not dumbed down!
  • Created so kids to professionals can create hardware/software applications with minimal effort! 
  • Choice of science fair projects everywhere!
  • Open Source Hardware (schematics, board layouts)
  • Inexpensive hardware and many choices
  • Many “shields” available (network, display, etc.)
  • Very active community with extremely extensive resources available for free
  • Easy to interface with Linux/Win and Android 
  • http://openprojectsandapps.org/STEM_arduino.php
  • robots, robotics competitions, http://www.arduino.cc/en/Main/Robot
  • drones, http://ardupilot.com
  • scientific devices and solutions http://blog.arduino.cc/category/science/
  • Arduino-powered satellites have launched to ISS


Arduino Hardware:

USB interface (can power from USB)
5V or 3.3V (7-12V input)
ATmega328 CPU (8-bit, 8/16 MHz)
14 digital I/O (6 can provide PWM)
6 analog input pins (10-bit)
1 UART
2K RAM, 32K Flash (.5K bootloader)
1K EEPROMI2C, SPI interfaces

arduino_board.png

Where Can I get One:
Note, these notes are from a presentation I gave at FredLUG on 4/25.

I'll try to make the full set of slides available and link here or in a future post.

What Can You Do With Arduino

I've had a lot of fun recently building gadgets with my Arduino and Maple Mini systems.  When I showed a picture of what I built, several people asked "but what can it do"?  Good question.

From the perspective of most people using modern computers (desktops, laptops, tablets, smart phones), the lowly Arduino is a toy.  You can't browse the Internet on it (at least not very well, maybe in text mode and very slowly).  You can't play YouTube or Netflix on it.  It does not connect to a VGA or HDMI monitor, nor have a USB port for a keyboard or mouse.  While the Maple is a bit faster, it still has the same limitations.  What good is Arduino?

People seem to forget what our early computers were like.  My first computer had 128 bytes of RAM, a 2K boot EPROM, and 4 MHz processor.  Input was via a HEX keypad and display was on 7-segment LEDs.  Program storage was to a tape player.  The Arduino blows this away.  The Maple is no comparison, with a 72 MHz processor, 20K RAM, and 128K flash.   Back in those days you HAD to learn something about the hardware do make it do anything useful.  Today Arduino is the platform to learn about computing and hardware.

When I started working with embedded systems, most of my software was in assembly and I encoded it by hand, then entered the HEX code directly into the computer.  Later, I had an assembler on our VAX mini-computer (1 MIPS, slower than an Arduino, but supporting 50+ users).  We also had emulators costing $5000 or more (very unreliable).  These allowed us to download our code directly to the system we were testing and debug it.  A minimal embedded system was a dozen or so chips and took up many times the space of Arduino today.  Today we can get started with an Arduino with a retail cost of $

This is where the fun starts!

But what can you build with Arduino (and Arduino-like systems)?  Some people build projects to learn hardware and software.  Arduino is used for music projects to play music, visualize music, etc.  Some hack toys to add motion, sounds, interactions, etc.  There is an entire community using Arduino to build autopilots for drones.  Arduino has been used for biometrics and you can buy an EKG shield. There are even projects to build Arduino gaming systems.

Arduino is not just about technology, but also Art.  There are sites dedicated to Arduino for artists.
 It is at the forefront of wearable computing like the Adafruit FLORA wearable system.

The Arduino platform is very simple to setup and use.  Kids in middle school have used it to create science fair projects.  There are many articles about using Arduino in the classroom.  Why not, the cost is low and the performance is high.  Kids can learn to write very simple programs and get nearly-immediate feedback on what they wrote.  The software is free, open source, and easy to setup and use.  All you need is a modern PC/laptop, modern O/S (Win/Mac/Linux), and a USB cable.

Google the Internet for top Arduino projects and you will find articles like Hacknmod top Arduino projects listing some really cool, pretty, and fun projects.

Today we use Arduino and similar systems nearly anywhere that you would have used a custom microprocessor board 10 or 20 years ago.  It is expanding the reach of computing to new areas including artists and hobbyists who would never have used a computer a few years ago.  New industries are being created such as the maker communities including companies like Adafruit and Spark Fun.

You can get the Arduino from many source including Adafruit and Spark Fun for $10 and up (or less for clones).  The development environment is free and available for Windows, Mac, and Linux.  Download it from the Arduino site or install in your favorite operating system (Fedora:  yum install arduino, Ubuntu:  apt-get install ubuntu).

You can get the Maple Mini from SparkFun and clones from various sources on the Internet for as low as $5.  Not bad for a 72 MHz computer faster than your Windows 95 desktop a few years back.

Happy Hardware Hacking!