Category Archives: Uncategorized

Links April 2012

SUV vs minivan – is bigger safer?

Here is part of the reason we have newer cars now:

http://www.youtube.com/watch?v=xQS-7heF-og

I find that just fascinating – the newer car was so much stronger it didn’t even have to fire its airbags in a 35mph collision. The occupants of the 2010 model walked away from a crash that would have killed the driver of the 2000 model.

 

And of course we have the classic new v old crash test, a 2009 Chevrolet Malibu versus a 1959 Chevrolet Bel Air.

Ka-freaking-pow.

I mean yeah, the steel bumper in your old ass car may be able to hit things in parking lots without getting so much as a scratch, but damned if that old car won’t royally mess you up in a crash!

Worth reading

http://www.rense.com/general95/regrets.htm

All are good, I like number five the best:

5. I wish that I had let myself be happier.
 
This is a surprisingly common one. Many did not realise until the end that happiness is a choice. They had stayed stuck in old patterns and habits. The so-called ‘comfort’ of familiarity overflowed into their emotions, as well as their physical lives. Fear of change had them pretending to others, and to their selves, that they were content. When deep within, they longed to laugh properly and have silliness in their life again.
 
When you are on your deathbed, what others think of you is a long way from your mind. How wonderful to be able to let go and smile again, long before you are dying.
 
Life is a choice. It is YOUR life. Choose consciously, choose wisely, choose honestly. Choose happiness.

Lion Server update failure

Ran the 10.7.3 server combo update.  Come to find out it failed to properly handle network openldap info.  I see in the log files where it failed to move files from the tmp install directory.  On login I’d see the red dot and “network accounts are unavailable”.  I could still login with the local admin account.  In Server Admin Open Directory was not running and could not be started.

This server is not bound to AD, fsck turned up a clean filesystem, and I re-ran the combo update in case it was able to succeed where it had failed before.  I also repaired permissions.  In Console PasswordService was reporting “Unable to locate search base: -1” and “Can’t contact LDAP server”

The fix was to use a Time Machine backup to restore the /var/db/openldap folder.  I had to select “keep both” and then head in via single user mode.  If you’re a novice who got screwed here:

hold down command and S on boot.

fsck -fy

mount -uw /

cd /var/db

mv openldap openldap-corrupted

mv openldap\ [press tab and it will fill in the spaces appropriately for (original)] openldap

reboot

It is important the second to last command look something like mv openldap\ \(original\) openldap  I can’t remember the exact \ usage, that’s why you’re using tab autocomplete, but also remember the second openldap, which is what you’re renaming it to.

After rebooting all services were up and running again, including mail/calendar/contacts/etc.

Unsubtle geekery: CalDAV and Lightning

Recently I was trying to migrate from a Google Calendar and iCal/Sunbird to a Kerio Connect CalDAV server with multiple calendars and iCal / (Thunderbird & Lightning.) I ran into a bug that has existed for 7 years and 5 days, as of today.

Apparently the CalDAV specification outlines essentially a per-domain authentication instead of per-user. So when you add multiple calendars to Lightning all calendars from the same domain use the same login as the first time it was entered. The second (and 3rd, 4th, etc) calendars will fail to load because Lightning is providing only the user1@example.com password for all calendar.example.com calendars, including user2, user3, etc.

The solution is to step outside of Lightning and configure delegation so the user1 has access to the calendars of user2, user3, and so on. I used iCal to add each account and then added the two primary users to all 5 of the calendars available. Write access must be granted, otherwise as of Lightning 1.0b2 it will fail.

Side note, I’m not entirely sure it’s necessary but in order to lookup users to delegate to at least according to the manual, in Kerio Connect 7.2 you must use the auto setup utility (for the main account. and possibly for Address Book as well?) I could be wrong on that but I think I remember trying under the manual config and the auto-complete did not work.

After configuring delegation in iCal add the primary user first and then all of the other accounts – it will now work as it should have in the first place. Hope this helps some random internet searcher! (I’ll never know since spammers essentially made me turn off all user registration.)

Kerio CalDAV and CardDAV setup tips

This is a quick reference guide to configuring Kerio Connect 7.2 with a 10.6.7 machine + an iPhone.

CalDAV for iCal 4.0.4:
username user@server.example.com
server

CalDAV for Lightning 1.0b2:
username user@server.example.com
server

CardDAV for Address Book
username user(server.example.com)
Yes the server is in parentheses.

server address
Check the port in your admin page.

Configuring CardDAV within the iPhone will not work. You must use the iPhone Configuration Utility. If you’re savvy enough to have configured your own services so far this utility is a breeze to use. Fire it up, go to Configuration Profiles and fill out the General and CardDAV sections. In case you’re pulling from two different servers or with two (or more) different usernames, it’s easy to add multiple sets of settings. After you’re done, connect your phone and click the install button.

I am kind of stunned at how well this is working compared to all other Calendar and Contact syncing apps I’ve used. I used to have to wait for Google Calendar to finish writing (over the network) on my phone or I’d lose data, and every form of contact syncing other than the paid mobileme service has lost contact data including phone numbers, custom labels, etc. Syncing via iTunes with Google Contacts periodically duplicates some contacts. Syncing contacts using exchange is a nightmare, it dumps all custom labels and all but ~3 of the phone numbers per contact.

This solution not only maintains my contact entries perfectly but also syncs over the air. When inputting calendar data on my phone – which I do constantly – I don’t have to wait for network operations to finish, I just put in the data and sleep it. On top of all this I synced the contact data to my phone and after verifying it’s accuracy deleted the old information, expecting to have to reconfigure favorites. I didn’t. The transition is seamless. I can’t guarantee that for everyone, so make your backups first!

Camera raw

I can’t see how I ever lived without raw’s killer white balance capabilities. That and the extra exposure control has had a dramatic impact on my photos.

At one point I was pretty into least-adjustments-possible photography, but after going through the raw vs jpeg debate one more time I realized adjusting photos is part of the craft. Nothing you see is the “true” photo anyway, it’s all just a bunch of 1s and 0s. Either the camera interprets the data and makes permanent decisions in the form of a jpeg, or you make reversible decisions later on.

Recycling Peanuts

Just dropped off two huge garbage bags of packing peanuts at a local ups store. A couple of customers were just wrapping up as I handed the bags over to the employee, she said: “Peanuts for Recycling?” I said “Yup.” The female customer asked “are you going to throw those away?”

I just… wow. First off, why would anyone bring two huge bags in to a store just to trash them (and wouldn’t the store charge me then?) and secondly, we had just verbally confirmed they were going to be reused/recycled.

Ah well. Guess we all have our moments.

Just found out: we’re having a baby girl!

I never thought of the ultrasound as being what it actually is. As we went into the appointment I was thinking “woot! We get to find out the sex and see actual features, versus the 21mm peanut-sized first ultrasound.” Of course the medical reason is to make sure everything is there and healthy.

So they go around and document everything with pictures and measurements. In fact we have to go back because out of all 30-50 measurements our daughter (still weird to type that!) wasn’t in a good position for an accurate cerebral measurement.

The entire time I’m desperately trying to make out more than the basics on the monitor… trying so hard I’m somehow suppressing my breathing and blinking (obviously, to a degree.) I tell ya, the expert skill of the person (nurse, doctor, idk?) getting the scans was blindingly clear. About the only time I was 100% sure of what I was seeing over those 45+ minutes was when we were looking at the spinal cord, the head, or the heart.

Was hoping to post pictures and possibly a video but the angles just aren’t that great. So while we found out the sex in about 3 seconds we never did get a great shot of the face. Also was surprised they used 2D ultrasound for almost everything, seemed like 3D was almost just an extra, although we did end up trying it too.

I asked if this was average or on the harder side and pretty much got a scowl from the otherwise very friendly pro. Think we just got a tad unlucky, our daughter was comfortable and wasn’t gonna move, and that was that.

Now, to decide on a name!