Very Far Around Robin Hoods Barn

Oh the lengths you’ll go to include services such as Google+ that by design do not readily make themselves available for such things! First I had to find a way to link my Google+ profile to my Google Voice number, all to get a magic email address which I can only send using Google Mail so that the email will automatically end up on my Google+ profile. That part is done, then I went over to IFTTT.com and investigated how that might work. So I uncorked the WordPress channel and set it to watch this blog for new entries, when it sees one, it should collect all the details and then send those using my Gmail account to my Google+ magic email address. Now lets see if the damn thing works. 🙂

TL;DR: Now I have a way to publicize on Google+ from WordPress automatically.

 

WordPress Jetpack and Post By Email

Several days ago, when I had all that trouble working with Jetpack for my WordPress.org blog I couldn’t get stats to work. I sent a support ticket to the developer of Jetpack and it turned out that it was a problem with my web host, iPage. Once they fixed the problem on their side, the stats worked again. There was another problem, one that hasn’t worked for a very long time and I gave up hope almost. There is a feature of Jetpack called “Post By Email” and this feature should work, but never has. I once again opened a support ticket with the developer of Jetpack and told them what was wrong.

Late last night I got an email from a WordPress.org Forum [Post](http://wordpress.org/support/topic/jetpack-post-by-email?replies=13#post-3952121) that I’ve been commenting on stating that the issue is solved if you upgrade your installation of PHP to 5.3 on your web host. So I logged into iPage, found the PHP settings, pushed them to 5.3 and then tried again. My test post worked like a charm!

So much so that I am sending this post via email. It should arrive in moments and then I’ll publish it. Hooray! I love a fix. What a great way to start the day!

For the want of pgrep on Mac OSX

I’ve got an issue at work, of course. I’ve got a Mac OSX xServer that has grown crotchety and so I’ve gotten to making things better by using killall on various running processes in order to “clean up the mess”. This is all fine and good and these processes respawn and the world goes back to normal and everything is fine, however I also want to renice this pesky command and give it a lower priority. While killall can do a search by name, renice requires a pid. The way you get pids is to run the ‘ps’ command, but this gives you a big pile of data and really all you want is just the pid itself, so you can pass that to renice.

So here’s how to get your cake and eat it too on Mac OSX Leopard Server:

1) First, change your shell – the default for root is /bin/sh, do this by issuing this command:

chsh -s /bin/bash root

2) Then you’ll need to give bash a profile, create a new file call it .bash_profile and fill it with this text:

[[ -s ~/.bashrc ]] && source ~/.bashrc

3) Next you’ll need to fill out that .bashrc because that contains the function you need to replicate pgrep:

pgrep() for arg; do ps aux|grep $1|grep -v grep|awk '{print $2}';done;

4) Log out and log back in and you’ll end up in bash, not sh, and you’ll have a new command at your disposal, pgrep. You can then use pgrep CommandName and it’ll spit out the pid related to what you are after.

5) Then you can use this new function with renice this way:

renice 20 `pgrep CommandName`

One thing to note here is that the ` character is the backtick character. You’ll find this hiding out in the upper left corner of your keyboard, it’s the unshifted tilde button.

FBackup: Free Is Good

At work I was asked to put together a server on the cheap which I’m fine with as long as everyone understands that doing so has some implicated risk. A server cast on a desktop machine is a risky proposition. You don’t have power support from redundant power supplies, you don’t have RAID which can protect you from hard drive failure, and the machine is not designed to be a very robust server in any stretch of the imagination – it just lacks the processing and RAM that would really answer the need strongly. However, once I covered those risks, everyone was still on-board with me moving forward. I rolled a server out, used an Operating System that would be best to not speak about and set up the software.

Being a part of the technology from the great beast, of course it didn’t work well at first. There were hidden requirements, annoying requirements. Requirements with “dots” in their name. Once I figured out the how and got the thing running I took it down from the lab place I was working on it in and moved it to its permanent home in our machine room. From the point of deployment which was a few days ago I’ve had a niggling worry that the thing is going to fail, as any machine could when it relies on just one hard drive. I needed a backup solution.

The built-in backup solution in the “product” that I was “using” as an “operating system” was just not going to work. I needed something that would work well and be free above all else. I went to the great sage and eminent junkie Google and eventually ran across FBackup. It’s not glorious, it’s not complicated, but it is exactly what I was looking for. So now with that software installed, and it’s quite good in fact for the “operating system” I was using I don’t have to worry so much about that “server” going down. If it does, eh, who cares, at least the data will be safe. For those that wonder where I put my backups, I have a NAS, a handy dandy DroboNAS that isn’t the fastest tool in the shed, but at 16TB, it certainly has a lot of space and it’s RAID means that I don’t have to worry so much about hardware failure with that box.

So, hooray for FBackup. It’s free, and while I can’t spare any change for it, what I can do is recommend it. If you are looking for something handy and you can’t get your hands on a native installation of ‘tar’ like you should be using, this is quite good. It’s not Backup Exec of course, but then, I would rather chew a lightbulb than even hear the words “Backup Exec” spoken aloud.

Cloze

Discovered a neat new site and I sent invites out to everyone who I thought initially might find it useful. The site is called Cloze and it combines email and social networking in one view. There are free apps for iPhone and iPad as well. So if you got some email from me and you weren’t expecting it, now you know who it was from. I had to use my work email because many of the addressees on the mail were work contacts and they wouldn’t know who I am if I used my gmail account.

Hindsight – 2/5/2004

As I was looking over my old LiveJournal posts I found this gem from 2/5/2004, a whole 7 years ago! Gosh how time flies! Enjoy!

Busy Busy Busy… Buzz Buzz Buzz

Whew! Just got done polishing the new chrome on the new database system here at work. We had a rep from the vendor come in to deliver the first cut of the converted database and then walk us through all the errors that came up in conversion so we can take specific steps to make sure our database that goes into the second (and final) cut is as good as it’ll ever be.

Of course, the road to happiness is riddled with potholes. The rep, Yvonne, arrived, installed the new database but nobody told us that the new database was ZIP’ed using WinZip 9 beta and all we had was WinZip 8.1, so we couldn’t unzip the database. Adding insult to injury, the server we were working on was so well secured that getting WinZip 9 beta proved to be herculean in its own regard. We eventually got it, unpacked the database and installed it. >mini-fanfare< Then we fiddled around with establishing OLAP cubes for a subsystem that might only be used by at most 2 people – then once that was done we went back to Walwood and I worked on getting our replicated database on our report server to work.

The rep from our vendor came in and created a queue for us and told us that it would work. I then spent the next two days listening to all the errors present in the data and in-between times when we weren’t talking about the conversion errors I was working on getting the replicated report server to work as it should. For three days I was smacking my forehead against a brick wall, errors ranging from “can’t login” to “can’t add NULL value to table yada yada yada” and I even went so far to discover to my chagrin that a database I thought I needed wouldn’t replicate in a merge dynamic properly, only transactionally. This semi-solution would break down when you deleted or added any report criteria, since it would add a table to the primary server and then cause the replication process to panic. As it turns out, one of the settings the rep from the vendor made was wholly incorrect, instead of pointing to our report server it should have been pointing to our main database server instead. Once I fixed the setting I realized that I didn’t need to replicate the report database at all and once I fixed that – everything fell into its proper position – now you can add and edit and delete criteria willy-nilly without causing replication errors because there is no need to replicate that part of the database. Whew. After three days of being unable to make any of the replicated server work I had a little Eureka moment and did a happy dance.

What I thought would take nearly all day today was done by 9:30am. I still have a very busy day but at least now with a major part of it deflated it doesn’t seem like such an impossible task. A part of me gets all twitchy that I, an untrained yo-yo can figure out the vendors product and fix what the rep broke. A part of me is glimmering tho, when the rep was here she asked me “So, did you go to class for SQL 2000?”, “No.”, “Do you at least have a manual or a guidebook?”, “No.”, “Well, how did you figure out how to do what you are doing?”, “I just did it, didn’t seem too hard to me…” and of course she just sat there staring at me like I was growing antlers.

And people wonder why I question the value of certifications. Bah. 😉

 

iPad Apps Series

Over the next few blog posts I will be listing about ten iOS Apps that I find worthy to be on my iPad. I’ve written about my iPad before, how the device has changed my life and it appears from what I can see in the incoming Google Searches that hit this blog, that people might find some of these interesting. One short note to add however, I will not be including the apps that come with iOS 4.2.1 by default, since we all have those and can appreciate them. Since iBooks is pushed when you first touch the App store, that too will be left off the list, as everyone should already have looked into it to see if it fits their needs.

So, without further ado, here’s the first ten:

  1. Evernote – The app has a crashing problem and a display glitch. That being said, having your Evernote library handy even off-network is worth it’s weight in gold.
  2. Wx – Excellent short-and-sweet weather app. NWS is changing some key XML files which might break the app, but maybe the author will cope in time.
  3. Flipboard – The ultimate browser for Facebook, Twitter, and Google Reader. It received a huge shot of adrenaline in the arm recently, but the biggest feature, multiple accounts for everything, is very much overdue.
  4. WordPress – The WordPress App. It’s an okay way to blog and it works natively with the WordPress interface. I’m never quite sure whether my blog posts get in properly or not and I’m always wary that the entire app could crash at any moment. It hasn’t done so yet, but I definitely get the sense that failure is just over the next river bend.
  5. Reeder – My Go-To App for browsing Google Reader RSS feeds. It is very clean and very slick, with shortcuts for Instapaper and Twitter/Facebook. The only thing I would like to see with this app is a “Clip to Evernote” feature. Perhaps it’s coming.
  6. Instapaper – Buy this app, enjoy the service. Nothing brings on the Instapaper love more than sitting at work at 5pm, knowing you have to go, seeing a flurry of unread tabs in Safari and with a few clicks, saving each page to Instapaper, saving it for later… very useful indeed.
  7. Wikipanion+ – Great app to query Wikipedia and keep page details offline when you can’t reach the network. Some people get bent out of shape when they discover that the information in Wikipedia isn’t curated by some scholar. I think they are spending too much time with very nit-picky academics. Sometimes Wikipedia is “Good Enough”
  8. Twitter – The home Twitter client is probably the best of all the Twitter apps out there. I can’t quite make up my mind between Twitteriffic or Twitter. Currently Twitter is on the home screen and Twitteriffic is stuck in a folder.
  9. Friendly – I bought this Facebook app when it was paid and I’ve found it steadily getting better with time. It might as well just be picked up by Facebook as their official iPad app. I don’t think that will happen until Facebook realizes that the iPad is just as useful as a computer or an iPhone to access its services.
  10. GetGlue – At first I thought this app was going to be another lame Foursquare ripoff, but the ability to check in to shows, movies, wine, or a host of other topics really works surprisingly well. The first thing I noticed about GetGlue was that it socialized popular media. You could see who watches Primeval for example and develop new social contacts based on that kind of lead-in.

Being Sick

With my iPad and my MacBook I have to say that the classical lines of distinction of “The Workday” have blurred completely away. I find myself doing my best work at 1:30am or 3:30am, or even when inspiration strikes. I think that’s one of the hallmarks of how technology is changing our lives for the better. I don’t have to write a flurry of ideas down to process at some later time when I can do them RIGHT NOW. Then again, my work style is built on speed. Think fast, act fast, do it right the first time.

Even when I’m sick and hacking up a lung, I can create new blogs and assemble rights for users, and thanks to Apple and all the infrastructure I’ve combined around my work life and my private life I can do all of this pretty much from anywhere, even while driving 70MPH (as a passenger, of course! SCANDAL! :))

I think it’s something that the classical structure of business life will eventually have to address. The idea that if you have a salaried employee who is as mobile as I am and as technologically connected as I am, that we can really do our jobs competently from a rest stop as much as we can do it at work desktop. To that end I have to admit that I encourage my coworkers to heed the wisdom of non-blocking/non-interrupt based communications. I no longer really use a telephone and I don’t really value face to face communications. I prefer my communications to be of the type of Email, SMS, or Instant Message. I think these forms of communication are far more respectful than the intrusive nature of blocking/interrupt based forms of communication. Writing me an email means your message was received and understood and will get the attention it deserves, the same with the other non-blocking/non-interrupt forms, such as SMS and IM’ing. If more people would adopt these forms I know I’d be a far happier person.

I think a good portion of why people elect to use the blocking/interrupt model is because they believe there is a value in the personal approach. They are afraid of the non-blocking/non-interrupt forms to lead to alienation and depersonalization. I get enough personal interaction in my life and the last thing I need is “expensive context switches” where my task flow is interrupted by someone calling me on the telephone or knocking on my door. I often wish I could tell these people that I understand their need for human contact, I don’t require it of them myself and would vastly prefer the non-blocking/non-interrupt based communications styles. The only time I want to see someone in the flesh is if something has become an emergency, then fine. But here again, I make an exception that must be tempered – not everything is an emergency. Even when “emergencies” come up seven out of ten times those emergencies aren’t, they’re just wearing the garb of an emergency to provide an excuse to block/interrupt.

I think eventually more professional people will see the wisdom of this and finally understand that in an average workday the time-wasting emergency-based “humanizing” approach is just wasting money and time. This approach is just as good for the sources of these blocking/interrupt based issues as they are for us victims of their blocking/interrupt driven behaviors. By not having to get up, not having to pick up the phone, you save yourself so much time, to say nothing about the clarity of what you want to convey. You just can’t beat the low signal to noise ratio of text over voice.

Moving to Verizon iPhone

So I have done it. I have sent an email to my Verizon representative, Mr. Steven Miller with a letter expressing extreme interest in transferring our mobile infrastructure away from Sprint and towards Verizon on the iPhone device. We’re going to move 5 connection cards and 17 phone lines from Sprint to Verizon.

Now I wait with bated breath for the quote! Light I’m on pins and needles! To be free of this abominable Blackberry, I hardly know what to do with myself!