MMEncode is not available on Linux distros any more.

Posted by admin - Under: Linux, Software

Not sure what happened to this or why but its no longer available. I used to have a script that used it to convert binary data to text for attachments on emails. Having searched high and low I came up with a new solution – use openssl.

You can do the same that you were doing with mmencode by doing the following

openssl base64 -e < $FILE

Enjoy.

Xamarin: Unable to install new debug version of Android app on a Motorola Ultra

Posted by admin - Under: Software, Xamarin

On running from the Xamarin studio, I could no longer deploy to the companie’s Motorola Ultra. From the deploy to device window I was seeing the following error: [INSTALL_FAILED_UPDATE_INCOMPATIBLE]

This normally means that there is an old version hanging around on the device which you can’t overwrite – usually because the older version is signed and the new version is not because its running as debug from the Xamarin studio. On most Android devices they show the package name of the app in the installed apps and you can just go and remove it by the usual un-install method.

For some reason on my companies Motorola Ultra this was not showing. Took me a while but this is how I did uninstall it. You have to run up the Android debugger for which on my mac is located in …

/Users/<loggedinuser>/Library/Developer/Xamarin/android-sdk-macosx/platform-tools

Then you issue the command

./adb uninstall com.<package>.<name>

And Bob’s your uncle the package is uninstalled and you can then run the new one up and it gets deployed to the phone with no issue.

Hope that helps someone.

Global Emergency Resources LLC – 57th Presidential Inauguration.

Posted by Paul Farrow - Under: Personal, Software

Over the last couple of weeks I was very privileged to have some of the software that I have worked on being used for the 57th Presidential Inauguration. It is probably my biggest career moment ever – so far !

My employer Global Emergency Resources LLC landed a contract to supply the first aid locations and command centers with their product – HC Standard.

Ex·cerpt from Global Emergency Resource’s website:

WASHINGTON, D.C. – The 2013 Presidential Inauguration brought landmark changes in emergency management and spectator safety. For the first time, inaugural personnel used a powerful situational awareness software suite to track medical emergencies; reunite lost family members; and provide real time information to event organizers. Emergency personnel from The District of Columbia, Maryland, Virginia, and the United States military integrated emergency data using HC Standard® – a patient tracking and critical asset software solution developed by Global Emergency Resources, LLC based in Augusta, Georgia.

HC Standard® allowed local, state and federal agencies, including the National Parks Service, US Secret Service, the Red Cross, and Homeland Security officials to have a common operating picture of major events during the Inauguration, including the Presidential Candlelight Reception; the Inaugural Parade; activities along the National Mall; the Commander in Chief Ball; the Inaugural Ball; and the Inaugural Prayer Service.

The DC Department of Health partnered with the Maryland Institute for Emergency Medical Service Systems (MIEMSS), the Northern Virginia Emergency Response System (NVERS), and the Maryland Department of Human Resources (MD DHS) to provide patient care and tracking throughout the event. Each partner used its own installation of HC Standard® to enter patient data with Motorola MC65 handheld devices. The data was aggregated and shared in all systems so that EMTs, first responders, and command center leaders could see the full picture of Inaugural events as they occurred.

During the Inauguration, HC Standard® tracked every emergency or first aid case and plotted it in each of the three emergency operations centers used for the event tracking and management. Additionally, family members who were lost, and those who were looking for them, had their information uploaded to a multijurisdictional database so they could be more easily reunited. Even the 100+ horses that carried the mounted police were part of the HC Standard® operating picture.

“Interoperability was key,” says Stan Kuzia, CEO and founder of Global Emergency Resources. “The EMS and Healthcare partners in the National Capital Region (NCR) have worked diligently over the years to eliminate information silos and enhance communication. This Presidential Inauguration demonstrated their hard work is paying off”. The various civilian agencies in the NCR also worked closely with their military counterparts to share a combined picture of patients and missing persons being treated and handled during the entire event. HC Standard® helped to bridge the interoperability gaps on Inauguration Day as near real-time data was available to military responders just as fast as their civilian counterparts.

Original document can be found here: http://www.ger911.com/news-and-events/17-news/133-inauguration2013

MySQL pegging CPU after the leap second adjustment.

Posted by Paul Farrow - Under: Linux, Software

So I find that my MySQL database is running high on CPU all of a sudden. I optimize the tables etc and no difference. I hunt around the internet to find that there seems to be a problem with this years leap second adjustment which sends MySQL into orbit.

The solution reset the date

date -s "`date`"

and it dropped back to normal.

Credit goes to this lady here http://www.sheeri.com/content/mysql-and-leap-second-high-cpu-and-fix

BackupPC Has qw(…) Warnings Since Upgrading Perl

Posted by Paul Farrow - Under: Linux, Software

So since upgrading Perl I am presented with qw warnings coming out of the cron job checking that BackupPC is running.

Use of qw(...) as parentheses is deprecated at /usr/share/BackupPC/lib/BackupPC/Storage/Text.pm line 301.
Use of qw(...) as parentheses is deprecated at /usr/share/BackupPC/lib/BackupPC/Lib.pm line 1412.

The way to get rid of these warnings is to enclose qw in parentheses and Perl processes the foreach parameters without warnings.

Like so

Text.pm (Line 301)

#
# Promote BackupFilesOnly and BackupFilesExclude to hashes
#
foreach my $param (qw(BackupFilesOnly BackupFilesExclude)) {
next if ( !defined($conf->{$param}) || ref($conf->{$param}) eq "HASH" );
$conf->{$param} = [ $conf->{$param} ]
if ( ref($conf->{$param}) ne "ARRAY" );
$conf->{$param} = { "*" => $conf->{$param} };
}

Lib.pm (Line 1412)

foreach my $param (qw(BackupFilesOnly BackupFilesExclude)) {
next if ( !defined($conf->{$param}) );
if ( ref($conf->{$param}) eq "HASH" ) {

CryoDefense

Posted by Paul Farrow - Under: Software, Windows Mobile

Just like to give out a shout to a young man Neil Bostrom who I had the pleasure of working with at Standard Life Healthcare.  It seems in the last year he has not only launched a company TreeHouse Development but a new game for the Microsoft Windows 7 Phone platform and its called CryoDefense.

CryoDefense Logo

End Of An Era

Posted by Paul Farrow - Under: Personal

Back in May of 1994 I opened my company Farrow Computing Limited when I was a mere boy.  I never thought I would be as successful as I was with it.  But finally because of my emigration to the USA, it was closed at the end of March 2010, sixteen years of running my own business.

Looking back there were plenty of times of “what if I cant get work..”  “What if I mess something up”, but looking back it really did go well.  Enjoyed most of it.

Truly the end of an era.

Updated My Blog To Use An Ebay Plugin

Posted by Paul Farrow - Under: Personal

ok I updated my wordpress blog to use a plugin from watchcount.com, so that I can list my ebay items on my blog. I will be selling a lot of stuff soon due to my impending emigration to the USA yahooooooo !!!!

There was a small FEATURE in the plugin that didnt allow it to work when php is hosted on IIS but have worked with the author and have now solved that which is great. Actually great support from them and it works a treat.

So I now have ebay items on the sidebar and you can post directly into the text like this… Check out the tattoo flash from my impending brother in law !!! yahoooo. OK OK I am getting a bit wild for a Monday morning I know any way check this out.

Right Now on eBay! These item(s) are live on eBay right now. (Click photos to see more info on eBay.)
(No results found.)
Search eBay auctions ending soon for "hidden" deals.

Not sure on the ebay header bit but I guess thats ebay doing that so probably nothing we can do about it.

Opened a #Twitter Account And Installed The #WordPress #Twittertools Plugin

Posted by Paul Farrow - Under: Software

As I have some time on my hands these days I finally decided to open a Twitter account. Some of my friends do it although not a lot as most of their activity seems to be on Facebook.

Opening the account was fairly easy. And twitter is self explanatory really. I guess the real reason for getting on Twitter is another way of publishing my useless information that I release from time to time via my WordPress blog. So I downloaded the plugin twittertools and set up the Twitter login details which worked a treat – when I now published a post on my blog it pushed it to my Twitter account paulfarr0w. The problem was that it had the big long url in it so hunted about and realised that actually within twittertools it had 3 other plugins, one being the interface to bit.ly which gives you tiny url’s.

Signed up for an account with bit.ly and posted again and bobs your uncle now I have posts going through twitter as well all from one source my blog.

Oh one last thing the hash’s in the titles tell Twitter to group the posts by those keywords which is pretty nifty.

Firefox 3.5 and WordPress – Cant Login

Posted by Paul Farrow - Under: Apple, Microsoft Windows, Software, Vista

Since upgrading to firefox 3.5, I couldnt login any more to my wordpress (currently 2.7) blog.  It was wierd as I couldnt login using firefox 3.5 on my apple running OS-X 10.5 and I couldnt login using firefox 3.5 on Vista.  But I could login on my clients machine running firefox 3.5 on Windows XP.

What seemed to be the problem was that in my userid / password cache I had two id’s for the site one with a capatalised first letter and one all lowercase, ie.  Admin and admin.

Now prior to firefox 3.5 this wasn’t a problem as it picked the correctly saved one.  Now since firefox 3.5 it looks like it always wants to pick the capitalised one and there seems to be no way to pick the non capitalised id’s however much you try to get it to do it.

Well all I needed to do was remove the duplicate unused id’s and it then worked.  You can do this from preferences -> security -> stored passwords, look for the ids you want to remove, highlight them and hit remove.

Once the duplicate id’s were tidied I could now login using firefox 3.5.  Guess this is a feature of firefox 3.5.