Miscellaneous Updates for February 2008

I’m doing an extremely bad job of keeping the site fresh over the last few months or so. I figured I’d give a quick update of things going on.

I’m Still Not Smoking

I finally started the Step 3 of the Nicoderm CQ program. This one has been rough. This is where you really start physically feeling the consequences of nicotine being removed from your system. I’ve been completely exhausted for the last week. Apparently, that there nicotine is one powerful stimulant and really screws with your metabolism. Your body takes some time to equalize itself and get itself back to where it needs to be naturally. I’m hoping mine gets there soon – because I’ve not had a good time over the past week.

The interesting thing about these “stop smoking aids” is that they defer you dealing with the real issue until you have so much skin in the game that you can’t start again without feeling an intense feeling of failure. Brilliant, but I can tell you that first step gives you an overly simplified view of what it takes to quit smoking. It starts getting a little harsher at step 2 and now at step 3 you really start PHYSICALLY feeling it. The only thing worse will be when Step 3 is over and my body starts eliminating nicotine all together.

Like I said though, I have too much skin in the game now to restart – I think.

New iPhone User

Address Book on iPhoneJonna bought me an iPhone for our anniversary, and I have to say that aside from the GPS she got me for Christmas, which allows me to go out by myself and still be able to get home, it is about the coolest thing for me from a productivity perspective that we have added to my highly disorganized life.

I’m finally able to get all my contact information in one place where it is accessible at any time. I can take notes, I can look things up on the web and I can check personal email. From a browsing perspective, I can get to things that are a part of my life but are blocked at the firewall at work (which is great as well). I feel free.

Now, it hasn’t been without its problems. The 1.1.3 software that came with the phone dropped a lot of calls. It wound up pretty frustrating and I kept my work supplied cell phone so that I could actually hold calls without them getting dumped. The 1.1.4 update took care of this though and now it works like a real phone.

I love the contact management included in the phone. Support for multiple numbers per contact and custom labelled information (including notes) lets me keep track of all the information I could ever want about someone. I can even attach a picture. Integration with the Mac Address book allows me to keep my contacts up to date without having to type into the phone.

And speaking of typing into the phone - I love not having to type on a standard phone keypad. The automatic spell-checking sometimes gives me a run for my money, and more often than not makes me sound retarded, like this little exchange with Jonna:

Trouble With Abbreviations

<Insert large sigh from Jonna because I don’t listen or read>

Overall though, I think between the GPS for Christmas and the iPhone this month, I’ve received the two most useful (and really most used) gifts ever.

As an aside, for those who are obsessed with not scratching or smudging their iPhone or other Apple products, Jonna also picked up a skin called Best Skins Ever for both Kelsi and myself, which we applied a couple of weeks ago. Kind of scary at first (you need to use water to apply it), but they really are the best skins ever. You don’t even know they’re there. I’m definitely going to pick up one for my iPod, as soon as I get a round tuit.

Well thats it from the Labs for last month. I’m sure as the weather starts to warm and the nicotine continues to seep out of my system, I’ll have more energy to blog about useful things.

Related posts

Tagged with: , ,

How To Set Up Mac OSX To Print to a Windows Print Share

I found one annoyance about Mac OSX. I could not figure out how to set my Mac up to print to our shared printer that is connected to a Windows XP machine.

Well, thats not necessarily true. I figured it out once, but for some reason it just stopped working using the standard printer setup. Since then, I’ve been printing to PDF, emailing the document to myself, and grabbing it on the machine with the printer and printing the PDF. Since we were setting up Jonna’s new Vista machine anyway and working through those connectivity issues, I decided to work on getting printing to work for real.

After culling through a bajillion posts today, I finally figured out how to do it. I figured this ‘pictorial’ could give you all of the steps you need to do without having to go through the effort that I did to get the information.

As an aside, all images were grabbed and marked up using Skitch.

Step 1 - Select Print and Fax

 

Step 2 - Click Add Button

 

Step 3 - Option Click More Printers

Apple made it very non-intuitive to get to the advanced options. You have to hold down the Option key, then click “More Printers” in order to get to it. This annoyed me. The advanced option should be there no matter what. I shouldn’t have to do anything special to add the smb: address of the printer.

Step 4 - Select Advanced from drop down

 

Step 5 - Select Windows Printer via Samba

 

Step 6 - Enter smb:// URL

‘username:password’ is the username and password to log into the Windows machine with. IP Address is the IP of the Windows machine with the printer, and finally share name is the name you gave to the printer when you shared it.

Step 7 - Select Printer Type

I hope this “graphical representation” of the process helps you get your shared printers up and running. This is what I needed. Rather, I had to read through many false starts and theories before getting to the meat of the issue, which was essentially getting to the ‘Advanced’ options in the print manager. Now you know the secret. Happy printing!

Related posts

Tagged with: , , , , , ,

iPod Power Adapter - Sold Separately

Photo by rbieber

Kudos to Apple for getting an even larger share of my wallet. When you buy an 80G iPod, the only way you can charge it is through your PC. In order to charge via AC power (say when your getting ready to travel and will not be taking your home machine with you), you have to spend another $40 on a USB Power adapter. These use to come WITH the unit.

Related posts

Tagged with: , , , ,

Subversion, MediaWiki, Wordpress, and LDAP

One of the biggest arguments you’ll get in deploying open source software in a corporate environment perception that they are extra, standalone applications. If your corporation uses an LDAP server, you can get some big wins by ensuring that your open source applications can authenticate with your corporate LDAP store, showing integration with the main systems.

I recently went through this exercise with a number of applications in our environment, including:

  • Subversion
  • MediaWiki
  • Wordpress

I thought I’d throw up an entry here outlining the tools I used to make this integration possible.

Subversion was a no-brainer, since we host our repositories using mod_dav_svn. Configuring the mod_auth_ldap module in the Apache server and converting all access to SSL made this integration painless, once I figured out how to build Apache to use OpenLDAP and Secure LDAP. For MediaWiki, the Mediawiki LDAP Extension worked flawlessly. The key problem with Mediawiki is that there is no mechanism built in to ensure that logins are performed via SSL. A quick rewrite rule in the Apache server took care of this for me. A complete explanation of this process can be found at Library Web Chic.

For Wordpress, I found a great plugin from Kane IT Consulting that was extremely easy to configure. I had the plugin installed and configured in minutes. I highly recommend this one. The Admin-SSL plugin, gave us the security around the login that we needed.

What has been interesting to me is seeing the subtle shift in perception of these applications as we integrated them into the authentication system. They almost seem like legitimate pieces of the system now … even to me.

Related posts

Tagged with: , , , , ,

Subversion and SSL Troubles

I decided to upgrade my home Subversion repository to version 1.4.3 as soon as it was released. Since then, my ViewVC application has ceased to work, getting a Python exception every time I try to execute it. Creating a small Python program that just imports the library (from svn import fs) gave me the following error:

ImportError: /usr/local/lib/libsvn_ra_dav-1.so.0: undefined symbol: SSL_load_error_strings

Thinking it was an SSL library problem, I upgraded SSL - a few times. I kept mucking with the options, rebuilding Subversion, only to get everything installed and get that same error:

ImportError: /usr/local/lib/libsvn_ra_dav-1.so.0: undefined symbol: SSL_load_error_strings

Over, and over and over again I repeated the process and got the same result. The absolute definition of insanity. This has been going on for a couple of months and I’ve been trying to address it in my spare time, as I’ve been pretty busy lately during the week and gone to the Relaxation Unit the last few weekends.

I googled my ass off to find the error, but to no avail. Finally today I ran across this thread that explained the problem. After going through my distribution directory for 1.4.4 (which I upgraded at the beginning of the month only to receive the same error) I realized that I hadn’t pulled down the Subversion dependencies tarball and rebuilt neon. So, basically I was using an old version of the neon libraries.

I finally settled on the configure statement listed here, after downloading and untarring the deps file:

./configure --with-ssl --with-apxs=/usr/local/apache2/bin/apxs \
            --with-apr=/usr/local/apache2 --with-apr-util=/usr/local/apache2 \
            --enable-shared --with-libs=/usr/local/ssl

This uses the already installed apr libraries that I build with my Apache server, and ensures that the neon shared libraries are built. A quick configure/make/make install/make swig-py/make install-swig-py sequence later and my Python libraries were working fine.

I made it a point this time to document this on the Labs internal wiki, but thought I should throw this out here in public so that others can find it. Hope it helps save the weeks of frustration that I have been suffering for someone out there.

Happy building …

Related posts

Tagged with: , , ,

Breathing Room

Photo by rbieber

My recent upgrade to an 80G iPod gives me way more breathing room than I had with the 20G, and I can finally carry family photos around to boot!

Related posts

Tagged with: , , , , ,

Building Scalable Web Sites by Cal Henderson

I have about three books that I am reading on and off but have been unable to focus on any of them for any length of time. Tom The Architect mentioned a book to me a few months ago called Building Scalable Web Sites: Building, Scaling, and Optimizing the Next Generation of Web Applications by Cal Henderson, engineering manager for the Flickr photo service, a service that I have used extensively since being turned on to it by, you guessed it, Tom The Architect.

This was the first book in a long time that I couldn’t put down, mainly because everything in the book is geared towards teaching you about how to create really, really, big web sites and the issues involved in scaling them. It was also quite intriguing because the book covers tools you use all of the time, like PHP and MySQL that are hard to find really good books about how they scale.

Cal covers a lot of material in this book, from layering your web application architecture, to creating an environment for developers to work in, which includes source control, issue tracking, coding standards and the like. This section was quite encouraging to me, as we have implemented almost everything that Cal mentions in the book (sometimes its nice to get some external validation). Cal then goes on to talk about internationalization and localization, data integrity and security, using email as an alternate entrance into your application, and how to build remote services.

All of this was great, but the next few chapters I found really valuable. Cal talks about identifying bottlenecks in your web application, scaling applications such as MySQL (where he covers quite a few replication strategies) and scaling storage. He also covers measurements, statistics and monitoring. Finally, Cal talks about adding API’s into your application to support mobile applications, web services, etc.

Cal references quite a few tools that are freely available in these discussions - tools that I didn’t even know were out there, that you can use to simplify your monitoring environment. I was most intrigued with the Spread Toolkit, a self described “a unified message bus for distributed applications” that allows you to unify logging across your applications. Anyone who has tried to debug an issue on a site that has more than one box would appreciate knowing about this tool.

This is the first book that I’ve read in a long time, technology wise, that hit the sweet spot between talking about real issues that I have been facing and possible solutions. I highly recommend grabbing this book and in the very least just keeping it on your book shelf for future reference. This is one thats going to be a constant companion for me in the coming months.

Related posts

Tagged with: , , , , ,

The Shoemakers Son Always Goes Barefoot

The other night the ignition switch on the furnace went out in the house. I watched as Jonna spent a ton of time searching for the contact information for the guy who came out the last time we had a problem. It took quite a while to find the information, but finally she found it. When she got a hold of him, he started asking questions about a blinking light on the furnace. We had no idea what he was talking about, but I did remember he gave us information last time he was here - I just couldn’t remember what it was.

Yesterday as I was driving to work, I was reflecting on the activities of the night before. Why did we not have this information available when we needed it? Where could we put it so that if something happened again, we could have it readily available? How can we take these kinds of notes effortlessly and ensure that we know where we put them?

Then a stark realization hit me. We’ve already solved this problem - at work.

In early 2004, at the urging of one of my direct reports, we installed wiki software at the office to solve just this problem. All of our information was scattered around network drives, none of it really searchable. Doug was very into Python at the time so we chose ZWiki, a wiki package that runs on the Zope application server. We used that for about 1 1/2 years until we finally bit the bullet and moved to MediaWiki, where our information repository lives today.

We actually have quite a knowledge base going there now, everything from detailed process information, to configuration information, to even some projects that are being managed on the platform, with detailed information about all of the issues encountered, configuration information, and the like. It has become a one stop shop for all information related to our environment.

And I’ve been the primary champion since it was installed.

This was when, as I was sitting in the car pondering this, that the title of this post came to me. The old adage is true. There are so many problems that we solve in our daily business lives that never get resolved in our personal lives, and vice versa. Its amazing to me that while we’ve done so much at work to centralize the information in our department (while decentralizing the authoring so that if something is found to be wrong it can be corrected) that I never thought to apply this at home to keep all of our information straight here. Instead, Jonna spends countless amounts of time searching through kitchen drawers for information on service providers and I sit trying to remember that one valuable piece of information that the furnace guy absolutely needs so that he can arrive and fix the part, rather than wasting trips to and from our house to first diagnose the problem, then go get the parts to fix it.

So, I’ve spent this morning getting MediaWiki running here at the Labs. Hopefully, I can motivate the family to use it as we have motivated our employees to use it at work to keep all of our important information centralized and updated. Its a simple thing to set up, but can be rather difficult to socialize. Luckily, we only have 5 people here, so the socialization might be a tad bit easier to do.

How many things do you struggle with at home that have been solved for years at work? Maybe you even had a hand in solving them, but the solution never seeped into your life outside of work?

This was a major “AHA” moment for me this week and I’d love to hear about other people who might have similar stories.

Related posts

Tagged with: , ,

  • A great post by Ed Gibbs entitled “Wasting Money on Expensive Enterprise Tools”. Its shocking sometimes how much money is spent on things just because they have the word “enterprise” in their description. Anyone in IT will smile to themselves when reading this post. (0)
  • Jonna pointed me to Chumby, an open source alarm clock. According to the article, the clock will run for $150 and because of its open source nature, will have an “array of downloadable, hackable widgets”. (1)
  • Well, all of the rumor talk can stop. TechCrunch reports today that Google has officially acquired YouTube. Google also has an announcement on their Press Center, in which they say that the acquisition is for $1.65B in stock. Comments Off

Pathway Wikipedia Visualizer

Photo by rbieber

The Pathway Wikipedia Visualizer. Pretty cool application.

I played around with this application a little tonight. For each page you go to, it lays out all of the links for you. You navigate based on the links laid out and you can keep track visually of everywhere you’ve been.

Way cool.

Related posts

Tagged with: , , , ,

Using a Mac - A MindMap

Photo by rbieber

Experimenting with MindJet MindManager, an application used to create mind maps. Tom the Architect has talked to me about mind maps a bajillon times, but I have been reluctant to start using them because the only "free" program was a Java app. The folks at MindJet shot me a complimentary copy of their software and I’ve started using it. Sat in a meeting yesterday and walked away with more content than I’ve ever walked away with note-wise. Excellent software.

This is something I used just to play with the software. These are things I like about the Mac, as a new user.

I’m really liking the complimentary copy of MindJet MindManager I received the other day from the folks at MindJet. I have been intrigued by mindmapping since first reading about it in a book and later watching Tom the Architect produce them as a form of meeting notes (using FreeMind). Lately, I’ve been watching Cote produce a slew of them. Playing around with the software, it makes note taking so much easier.

I just might buy a copy at some point to show my appreciation for the productivity gains I believe I will receive just from having this software installed on my machine.

As I use it more in “real life” I plan to write more about it. Mind mapping definitely puts you in a different state of mind in a meeting. I’m one of those people that has a hard time taking notes because I wind up editing sentences while people are talking rather than getting the data down. This process removes me from that mindset all together. I can see all sorts of uses for this to increase my productivity.

Related posts

Tagged with: , , ,

Flickr: Error Message While Receiving Windows Update

Photo by cky3

Error message recieved when getting updates.

For some reason, this picture cracked me up. I know this has happened to me before but for some reason it didn’t strike me as weird until seeing this on Flickr.

Related posts

Tagged with: , , ,

  • Pretty funny site. Tired of seeing Steve Jobs in the same get up for his Keynote Addresses? Help him dress for the next one with items found in his “insanely great magic closet”. Flash required. Courtesy of geekculture.com Comments Off

Jon Udell Screening Room Screencast on IronPython

Episode 8 of Jon Udell’s The Screening Room features Jim Hugunin, creator of Jython and now IronPython, a .NET implementation of Python. For Python fans, this is a fascinating screen-cast to watch. They’ve done some great work on IronPython, which just hit its 1.0 release this week.

Some of the cool things I liked about what I saw:

  • Integration of the Python language with the Visual Studio IDE (including the Debugger)
  • Full access to the .NET framework (The Avalon demo was cool)
  • Optional integration of CLR methods into Python objects (String.Trim() vs. String.strip())
  • The PowerShell demo was also pretty cool
  • In the early part of the screen-cast, Jim takes a benchmark program and increases performance of the program dramatically by refactoring one function into C#. Shows off the optimization opportunities possible with the platform, along with the great integration between IronPython and other .NET languages

IronPython looks like a really fun thing to start playing with and could be a really great addition to a Windows development group for prototyping. I am a big fan of dynamic languages and think this is a great addition to the .NET tool set.

Related posts

Tagged with: , , , ,