Tuesday, December 29, 2009

XCode and Subversion woes

Today I spent an hour or so trying to clean up some iPhone code that I’ve been working on for Carticipate. I found that I was having trouble with the build that I checked out from our Subversion repository for a bunch of different reasons.

The very first one was that the code was built on an older version of Xcode, as well as an older version of the iPhone SDK, and on top of that the build machine was running Leopard (10.5) while I’ve been running Snow Leopard (10.6) almost since the day it was released.

I tend to try and stay as up to date with software as I can, and most of the time it serves me well. In this case, I ran into several very interesting issues. First thing I did was to check out the code using the command line tools for Subversion. After a few false starts, I got the full directory from the server downloaded to my Projects folder.

I opened up Finder, double-clicked on the project file, and got a warning about the file being for an older version of the SDK. Since I had loaded the latest version of the iPhone SDK, it wanted to upgrade the project build files to the new format. I figured that would probably be OK as long as I didn’t forget and check things back in, so I went ahead.

Then hit “build and run” only to get compile errors. Seems a few of the calls on the code that is currently being used in the wild aren’t allowed for the latest SDK. A few edits and no more compile errors, but there’s some other error. By default XCode just shows this little icon at the bottom of the project that shows the number of errors, but you don’t really see the build log. Clicking on the little error icon, takes you to the log, and of course there’s more greek there.

Something about not being able to copy a file from a user directory (one that naturally doesn’t exist on my machine). More web searches and digging around to try and figure out where copies are specified. If you’re OS X centric, it’s really pretty intuitive, it’s hidden somewhere and you have to find the right properties page to update. Finally I find the setting in the build targets, change it to point to an existing file, and everything runs like magic.

Now I notice that on the build machine, there is a Carticipate settings page under the iPhones Settings app, and it looks different than the one that you see if you have a production version of Carticipate from the App store. The one on my machine looks like the production build, so I figure it must be because I’m building for the release target, but switching to the debug target doesn’t seem to change anything.

I stumble around a bit more and find a DebugFiles folder that has the Settings.bundle file with the extra settings on it. Seems like it is set up to copy the file from that sub-folder if I’m building for debug, but no matter what I do, I can’t seem to get it to change. I clean, I build, I switch, I clean, I build, nothing …

Finally just to make sure the files are coming from where I think they are, I edit the root.plist in both Settings.bundles to be different, and … Magic, the debug settings show up. I switch to the release target, and the settings pane changes to the production one. So apparently something in XCode was being lazy, and not copying the file from the DebugFiles folder until I touched it (must use Make under there somewhere).

In the meantime, I see a checkin email from another developer that has the entire build tree being checked in. I dig around on the web some more only to find that the way Subversion is configured out of the box on OS X, there are no default ignores, and apparently XCode doesn’t have any intelligence of it’s own around what it checks in. Turns out there is a  ~/.subversion/config file set up, but the global ignores is commented out so nothing is excluded by default.

By default the global-ignores is commented out, even though it seems to include most everything we would want excluded. I chose to copy the list from somebody else for now, making sure I added one for “build” to exclude that for sure:

[miscellany]

### Set global-ignores to a set of whitespace-delimited globs
### which Subversion will ignore in its 'status' output, and
### while importing or adding files and directories.
# global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store
global-ignores = build *.o *.lo *.la .*~ *~ ._* .DS_Store .Trash* *.pbxuser *.mode*

So all I had to do was remove that build folder from the repository, and give this same change to the other developers … Well, not quite …

After I deleted the folder from the repository, I had the other developer try and check it out. He got these really weird subversion messages that said something was locked. I’ve seen those before, and usually it just means you have to run an “svn cleanup” command to get things back in synch. But in this case that didn’t work, and eventually I found that I had to physically delete the folder on his machine before running the “svn update”.

Oh, and did I forget to mention, the other developer is using an older version of the client, so when trying to update he got this lovely message about his client being too old. We updated to the latest client from the Tigris.org site using the Mac OS X download, thinking that would work. Turns out that this update doesn’t replace the version that comes with OS X (in the /usr/bin folder), so you have to remove or rename that one, and add a symlink to the /opt/subversion/bin/svn executable in order to get the newly installed version to be run at the command prompt.

So with the newly updated checkout, the build worked on all machines, and the repository is fairly clean. Then came the next hurdle, the older machines (running the older version of the iPhone developer kit and therefore XCode) would no longer update the code using the built in subversion client. Found a small message about the version being too old displayed in the status line of XCode, so did some more searching.

Apparently on the older version of XCode, you could tell it which Subversion to use, but at some point, the developer tools started including a subversion library. Still haven’t figure that one out yet, but it looks like it might require some more moving files and setting up symlinks to get it to use the newly installed latest version.

Seems like one thing that I am continuing to learn is that it doesn’t pay to keep your software up to date on a Mac (unless you’re really brave) …

Monday, December 21, 2009

Long and Winding Road to Windows 7

Today I received a box containing the replacement PC for my wife. I got a really great deal on a refurbished HP Desktop with a quad core AMD processor, 8Gb of memory and a 750Gb drive from TigerDirect.com

I'd been waiting about a week for it to get here, and my poor wife has been limping along on my slowly dying laptop in the meantime. I suspect that it's about to die, as it has become painful just to start up a browser or read email.
The UPS lady arrived at my door shortly before 5pm, and told me that she had heard a crash from the back of the truck in the morning. At first she thought someone had been drinking in the truck: she smelled beer.

As it turned out, a box containing beer had fallen and was leaking in the truck. She showed me the bottom of my package was wet, and said I could refuse the shipment and have her take it back.

I figured that it would probably be OK, since they usually pack things like desktops pretty well (in plastic and foam), so I asked her if I'd be able to send it back after looking inside. She told me that she could come by tomorrow and pick it up and gave me her supervisor's number.

I opened the box and found that there didn't appear to be any dampness or liquid inside (so far so good). But then when I actually pulled the desktop out, the front panels were all poked out, and the Styrofoam pieces were broken.

Now I figured that it would be just my luck that it would work initially and then start having weird problems caused by having been dropped. So I decided to send it back, and I called the number the UPS lady had given me.

Her supervisor told me I had to call the shipper and have them make a claim, that they couldn't return the box once it had been opened. So I called TigerDirect to get a return label and see if they could ship a replacement.

The return part was easy, they sent a link to my email. Interestingly enough though, during the order process, they had offered me a $5 discount for using Google Checkout, and that meant they couldn't just ship a replacement out. The customer service rep told me they could process a new order and give me free next-day shipping, but it would require a new order.

After looking at the inventory, the machine I had ordered was the last one of that model, and they offered me something that looked similar in price. I looked at the things that were available and decided to wait, so I'm back on the hunt for my replacement desktop.

Maybe somebody is trying to tell me something, this hunt for a new computer has been painful, maybe I should just look for another Mac ...

Enhanced by Zemanta

Long and Winding Road to Windows 7

Today I received a box containing the replacement PC for my wife. I got a really great deal on a refurbished HP Desktop with a quad core AMD processor, 8Gb of memory and a 750Gb drive from TigerDirect.com.

I’d been waiting about a week for it to get here, and my poor wife has been limping along on my slowly dying laptop in the meantime. I suspect that it’s about to die, as it has become painful just to start up a browser or read email.


The UPS lady arrived at my door shortly before 5pm, and told me that she had heard a crash from the back of the truck in the morning. At first she thought someone had been drinking in the truck: she smelled beer.

As it turned out, a box containing beer had fallen and was leaking in the truck. She showed me the bottom of my package was wet, and said I could refuse the shipment and have her take it back.

I figured that it would probably be OK, since they usually pack things like desktops pretty well (in plastic and foam), so I asked her if I’d be able to send it back after looking inside. She told me that she could come by tomorrow and pick it up and gave me her supervisor’s number.

I opened the box and found that there didn’t appear to be any dampness or liquid inside (so far so good). But then when I actually pulled the desktop out, the front panels were all poked out, and the Styrofoam pieces were broken.

Now I figured that it would be just my luck that it would work initially and then start having weird problems caused by having been dropped. So I decided to send it back, and I called the number the UPS lady had given me.

Her supervisor told me I had to call the shipper and have them make a claim, that they couldn’t return the box once it had been opened. So I called TigerDirect to get a return label and see if they could ship a replacement.

The return part was easy, they sent a link to my email. Interestingly enough though, during the order process, they had offered me a $5 discount for using Google Checkout, and that meant they couldn’t just ship a replacement out. The customer service rep told me they could process a new order and give me free next-day shipping, but it would require a new order.

After looking at the inventory, the machine I had ordered was the last one of that model, and they offered me something that looked similar in price. I looked at the things that were available and decided to wait, so I’m back on the hunt for my replacement desktop.

Maybe somebody is trying to tell me something, this hunt for a new computer has been painful, maybe I should just look for another Mac

Monday, November 9, 2009

Loss of Innocence (and Arrogance)

There’s a saying I’ve heard in self-help and twelve step programs that basically means you will learn more about yourself if you continue to do the work: “More shall be revealed …”

I’ve always been a very confident person when it comes to my ability to adapt to work, and always felt that as long as there were challenging problems to solve, I’d have no problem finding work. And while I am highly skilled, I have come to believe that I have been very lucky, and I may have therefore been a bit arrogant about my abilities.

Recently I recognized the fact that intentions and actions don’t always meet. I was flying home and the overhead bins were full next to my seat, so I walked back and placed my bag in a bin a few seats back. As I turned to go back to my seat, I saw a woman who obviously had been ready to put her bag in that spot. I work very hard to be a nice guy, but in this instance, I just continued back to my seat. My intention hadn’t been to upset this person, but my actions did so.

Last year, in October, I was released from a contract that I’d been on for a few years. I had been brought in to temporarily fill a vacancy, but was able to keep extending the contract by doing good work. The organization I was working for was worried about cash flow due to some expansion they were doing, so it seemed like this would be a temporary cost cutting measure.

Immediately after that, the market tanked, and jobs started disappearing. I wasn’t too worried, knowing that typically when jobs get scarce, contracts become more plentiful. I hadn’t had any time off for years, so I decided not to look too hard for the rest of the year.

Even though I wasn’t working too hard at finding a new job, I started to become a bit worried. I was only seeing contracts that had rates lower than salaries for the same work, and often were all inclusive out of state jobs. I did the math on a couple of these and found that I would be working for free by the time I paid for airfare and hotel.

So after the first of the year, I figured I better step the search up. I started working full time on my job search, and spending a lot more time on networking. I went to Job Connections nearly every Saturday, called and emailed friends and former coworkers, and talked to every recruiter that called. I spent hours trying to redo my resume to make it work for a couple of different types of jobs.

And during all this, I took advantage of my time off, studying for, and getting my PMP (Project Management Professional) certification. The silver lining in being out of work for many months, was that I was spending a lot of time on self improvement.

The biggest downside was watching the dwindle, and trying not to panic. We reviewed finances and realized we spent way too much money on a lot of things, and cut our expenses neatly in half. We dropped our burn rate enough to extend our expected “run out of cash” date to be somewhere around the end of the year. Somehow, even though we’d both lived in the paycheck to paycheck mode before, it was almost scarier to see the cash reserves disappear. There was that unfounded fear that we’d lose everything and be homeless.

Luckily for me, my network did pay off, and I picked up a contract that a friend of mine found me. Seemed like things were rolling again. But my lesson wasn’t yet over: I underestimated some politics and made some mistakes at this contract, and I was quickly out of a job. My intentions were to help improve a less than optimal process into one that was efficient, making the lives of nurses and patients better. My actions however only gave a politically charged situation more ammunition.

I lost that job because of two bits of arrogance: not paying attention to the inner voice that told me I should uncover my stakeholder’s needs early, and overestimating my abilities. The contract was supposed to have taken me through the end of the year, instead it lasted only a few weeks. I had been humbled again.

In the mean time, people in my network continued to struggle with the job market. The average time people were unemployed was beginning to stretch out beyond a year. People with more impressive backgrounds than mine were having trouble finding jobs. Companies that really needed employees weren’t hiring to minimize risk from another downturn, or were doing things like taking advantage of the downturn to replace expensive people with less expensive ones.

So after losing that job, I really came to the conclusion I had to take whatever came along, as long as it was something I could do. I started working on equity projects for startups, splitting my time between several of them. I went to meetups, and any free networking events I could find. I took a short contract doing development work. Still the bank account dwindled.

And then out of the blue, I got a call from a woman I had worked with a couple of years ago. I work really hard to stay in touch with people, but I’m definitely humble about my abilities in that area, so I was really happy that she thought enough of me to give me that call. It was perfect timing. It was a salaried job, which I haven’t had for years. I’ve always looked at contracting as just a different way to be compensated however, so I gladly took the job.

As it turns out, it’s a huge job, that I’m sure will challenge the limits of my abilities. I have confidence in my abilities, but humility about my ability to mark the boundaries of those abilities now, which I think will help me grow and meet these challenges.

And I’m sure, as they say: “More shall be revealed …”

Thursday, October 22, 2009

Controlling Yahoo Groups email reception

…Or, how to  reduce email without leaving the group…

I work with a job search group called Job Connections (http://www.jobconnections.org) which connects to members with a Yahoo group. It’s a moderated group whose membership is generally restricted to people who have actually attended a Job Connections meeting.

It’s a pretty busy group, so there are a lot of emails that get sent out (mostly about job postings that somebody received and is not interested in pursuing). As a result, the most frequently asked question to the group is: “How do I reduce the amount of email I receive from the group without leaving the group?”

Fortunately, Yahoo groups have preference settings that you can use to control the level of email you get sent.

The basic options are:

  1. Individual Email – Receive every message posted to the group
  2. Daily Digest – Receive a summary of up to 25 messages in a daily email.
  3. Special notices – Receive only messages from the moderator
  4. Web only – no email ever, you have to log into the group to see the messages.

The easiest way to edit the preferences is to go to http://groups.yahoo.com/mygroups?edit=1 and change the settings. If you are not yet logged into your Yahoo account, you’ll get the login screen:

Yahoo login

After logging in, you’ll see the group edit page that will look something like this:

Yahoo groups edit

Just click the “Message Delivery” drop down to change to one of the options described earlier.

Alternatively, you can log into the group and click on the “Edit membership” link at the upper left corner of the page and change things there.

Yahoo group edit membership

Clicking that link takes you to the membership preferences page for that group where you can change a number of things, including the email preferences:

Yahoo group membership prefs

Finally, if you want to control your email options via email, Yahoo also provides a way to do that. Basically there are email aliases that let you set a number of your preferences simply by sending an email to them (more fully described in Yahoo help at  http://help.yahoo.com/l/us/yahoo/groups/original/members/email/email-01.html):

Please Note: The email addresses above are specific to Job Connections, to do the same for a different group, replace “cpc_job_connections” in the above commands with the actual name of the group (e.g., pastry_chefs-subscribe@yahoogroups.com)

Friday, August 28, 2009

Premium Plaxo for Comcast users …

Comcast logo I recently switched from DSL (which I’d had since it first was invented) to Comcast Cable for my Internet connection (and TV and phone). By doing so I saved about a hundred bucks a month over AT&T and DirecTV. Of course as soon as I switched, AT&T started calling me with a bundle that was roughly the same price, but that’s a different story.

One of the things that happened a while back was that Plaxo was bought by Comcast. I have always been a premium Plaxo user, feeling that I wanted to support them since I find the product so incredibly useful. What I learned was that if you are a Comcast subscriber, you are automatically a Plaxo premium user.

Now, being a premium subscriber used to only mean you got VIP support and access to a couple of tools (like the address and calendar deduplication tool). But now Plaxo has announced that the Outlook synch is a premium member only tool. While I worry that this decreases the value of the service (since there will be fewer reasons for people to sign up, therefore fewer members, and decreasing the number of automatic updates I get), what is interesting is that every Comcast subscriber gets access to these premium services.

To activate this, first you have to make sure that you are signed up for Plaxo through your Comcast email account. First, log in to your Comcast email by going to http://www.comcast.net and clicking on the Email link in the “My Comcast” portlet:

My Comcast

If you’re logged in already it will go straight to your email, otherwise you’ll get the login screen, where you need to log in:

comcast login

Log in with your Comcast email address. This will be something like your last name and street address unless you’ve changed it. Once you have logged in, you’ll be at the Comcast email screen, which uses the Zimbra email client. From the tabs, you’ll want to choose the address book:

Comcast email tabs

The first time you go to the address book, you’ll be asked to build your address book:

comcast build address book

If you click on the “build your address book”, you’ll go to an initial Plaxo setup screen. Since they already have some of your information (name and email), they don’t have to ask you for anything but where you want to populate your address book from:

plaxo uab

So now it gets interesting. If you click on Plaxo, you can link an existing Plaxo account to your Comcast email. If you were already a Plaxo user, this will get your current address book and calendar.

Plaxo Link account

If you’re not already a Plaxo subscriber, you can choose one of the other options to build your address book by logging you in and pulling the address book from there:

Plaxo UAB Gmail

Note that the GMail synch only works for accounts ending in “gmail.com“,  and not GMail accounts that are using Google Apps. I suspect that Yahoo accounts would also be restricted to “yahoo.com“, but I don’t know that for sure.

There’s a shortcut to signup to Plaxo immediately by simply going to http://www.plaxo.com/ftue/activateComcast, clicking the Activate button will get you set up:

Plaxo activate

This one does require you to fill in your name and basic information (or link to your existing Plaxo account by following the link at the bottom right). Either way, once you have the account linked, you are signed up and active as a premium member. Now not only can you set up synch points, but you can also install the Outlook synch tool on any computer you use.

Along the way the steps will ask you to update your address book, and if you want to invite your friends. I always skip that step, since I send my friends enough email already.

At the end, you can validate that you’re a premium member by clicking on “Settings” at the top right of the screen, and then choosing “Premium” from the list at the left:

Plaxo Premium

This shows my account has premium status.

If you use Outlook, there’s a few more steps to get fully set up with the Outlook synch tool. There are multiple ways to get there, but ultimately you want to download the sync tool from http://www.plaxo.com/people/tools?src=tools

plaxo premium tools

Note that you have access to all of these tools, some of which are very cool (like being able to roll back your address book). If you aren’t a Plaxo premium subscriber, you can download and install the tool, but you won’t be able to use it, since the synch verifies the account status when you run it for the first time.

Plaxo has a nice walkthrough of the install process here: http://www.plaxo.com/downloads/outlook?src=pulse_tools_outlook〈=en, so I won’t duplicate that. One thing that I did learn the last time I did this for somebody is that you have to install it with an account that has admin priviledges. The install won’t fail, but you just won’t get the Plaxo tool bar in Outlook.

Once the install completes, and you start Outlook up, it will walk you through a wizard that will sync your Outlook and Plaxo address books. From then on, you should see the Plaxo tool bar at the top of your Outlook screen:

Plaxo bar in outlook

There are lots of other neat things about Plaxo, not the least of which is that you can synch between multiple machines. There’s a version of Plaxo for the Mac, and it seems to do a fair job of interacting with the built-in Mac synch tools (including MobileMe).

I’d definitely recommend you take advantage of this “free” service if you are a Comcast internet subscriber.

Saturday, August 22, 2009

Why can’t we all just get along ?

I am going to break one of the rules of social media and talk about politics. I’ve had lots of conversations with people I know who generally share my views on issues, but being disenfranchised and fear based, have the strong feeling that politics should never be talked about.

And to a point I agree. People are so strongly aligned along party lines, that if you say the wrong thing, you will alienate many people. The weird thing for me is that most people don’t even know why they follow those party lines.

I spoke to a very smart young man a while back and asked him which party he belonged to.

“The X party”, he said.

“Why did you choose that party?”,  I asked assuming he would have a logical reason for why he joined that party.

“Well, I guess mostly because my parents were in the X party”, he replied.

And even stranger, the lines shift based on what the other party is saying. An idea that one party comes up with is immediately opposed by the other, even if that idea is a plank in the opposing party’s platform.

Take the recent rhetoric about the healthcare reform work. From everything I’ve seen, what is being proposed is almost exactly the same thing that the Republicans proposed when Clinton was trying to get them to move on universal healthcare. A sort of modified version of what we have today that tries to fix the biggest fiscal problems with our current system.

But who is labeling this “Obamacare” and calling it socialism? It appears to me that it is the same people who caused Clinton to crash and burn, and who proposed the approach of universal health care combined with capitalism.

This is but one example, but there seem to be endless times that  opposition is simply a tribal fight. The Democrats reject all Republican ideas, the Republicans reject all the Libertarian ideas, and they all view each other as bad and wrong. It’s one reason I don’t declare a party, and would probably still be independent if I didn’t want to vote in primaries.

I often wonder if we just got rid of the parties, could we have an intelligent discussion about the issues. Are people just naturally unwilling to consider other viewpoints?

For me, health care is broken, and there are simple things we could do to fix some of the big problems. By making sure people could actually see doctors when they need to, we would reduce the burden on emergency rooms and hospitals caused by people who have either had to forgo care that would have been less expensive.

Add to that fixing some of the corruption in the insurance industry (which also prevents people from getting care early with things like “pre-existing condition” clauses), and not only would  health care costs go down, but productivity would go up, due to a healthier population.

It’s not rocket science, it’s what we need, and anything is better than the current system that is bankrupting the country.