OpenShift hits 1.0

OpenShift is a cloud computing platform as a service (PaaS) that has been in development at RedHat for the past two years.  It has recently hit the 1.0 milestone, and supports several programming languages, platforms, and frameworks including Java, PHP, Ruby, and Python.  I’m going to be testing it out by migrating this blog, and maybe a couple other projects to use the service, and I’ll see how it work.

 

 

Free cross platform diagramming tools for communicating your models

Here’s a few free cross platform diagramming tools I’ve been using lately:

Draw.io

Formerly known as diagram.ly, draw.io is an online diagramming application using the mxGraph JavaScript library.  I like that it can open files from your files system and also with Google Drive.

Link: http://draw.io

Dia

Dia is similar to Visio helps for UML flowcharts, network diagrams and more.

Link: http://dia-installer.de/

ArgoUML

I’ve been using ArgoUML for several years now for drawing UML use cases, deployment diagrams, and activity diagrams (fancy flow charts).

Link: http://argouml.tigris.org

Inkscape

Although I’ve used Inkscape in the past for diagramming, I mostly Inkscape in my workflow for converting svg images to alternative vector formats such as *.eps or *.emf.  This way I can maintain high quality images in programs such as Word (because word supports emf, but not SVG).

Link: http://inkscape.org

GM Developer portal for in car applications

General Motors has announced a developer portal for helping developers create applications for future GM vehicles.  From what I can tell, their Infotainment console will utilize HTML5 and javascript, and provide applications with vehicle information.

Check it out at https://developer.gm.com/

Developer documentation can be found here

https://developer.gm.com/faq/development-documentation

 

 

Related links

http://appsforvehicles.challenge.gov/

 

ROVER Raspberry pi settings

I wanted to try to move the ROVER server software to a Raspberry pi, so I wrote up an article at http://wiki.wicip.ca.  The current prototype uses a mini ATX based computer from zotac.com.  Here’s a backup copy of the article from http://wiki.wicip.ca/index.php/ROVER_Raspberry_pi_settings:

==Hardware==

http://www.raspberrypi.org

*Raspberry Pi Model B
*2 USB ports
*HDMI
*RCA out
*Ethernet
*Audio out
*256MB RAM
*8GB SD Card

==Install OS==

Tested with Raspbian “wheezy” installed onto an 8GB SD card using instructions from http://www.raspberrypi.org/downloads.

On first boot plug in keyboard and hdmi, and enable ssh server using setup tool as a backup, change password as well (default username = “pi” with password = “raspberry”)

==Networking==

Set the IP address to be static by editing /etc/network/interfaces file to be :

auto lo

iface lo inet loopback
iface eth0 inet static
   address 192.168.1.52
   netmask 255.255.255.0
   network 192.168.0.0
   broadcast 192.168.1.255
   gateway 192.168.1.1

==Setup VNC Server==

http://news.metaparadigma.de/linux-setting-up-a-debian-vnc-server-237/

===Install and start===

pi@raspberrypi:~$ sudo apt-get install tightvncserver
pi@raspberrypi:~$ tightvncserver :1

to auto start add the following line inside /etc/rc.local

su -c "/usr/bin/tightvncserver :1" pi

==Setup pyserial==

Download pyserial-2.6.tar.gz from pyserial.sourceforge.net
Extract to a directory and run

python setup.py install

You can test if pyserial is trying examples at http://pyserial.sourceforge.net/examples.html

==Install scripts==
Place the serverPi.py script in the directory /home/pi/Desktop/

Add the following command to /etc/rc.local

su -c "python /home/pi/Desktop/serverPi.py &" pi

 

What is SL4A?

Well I stumbled upon something cool on google code, it’s called SL4A, and it stands for Scripting layer for Android.  I think I heard of something like it before but since I don’t currently have an android device to test it on I havn’t been too inclined to test it out yet.  Nonetheless, it seems interesting because it apparently lets you run scripts in many different well known languages, and use these scripts to control the device.  I’m guessing some useful things may be related to accessing the gyroscope and GPS, but also potentially automating SMS sending and other phone related functions.  This is something to keep and eye out for, I know I will be.

http://code.google.com/p/android-scripting/