NFS Client For Windows 7

I was trying to enable NFS on my windows 7 machine. Seems like only Ultimate and Professional have it available. Luckily I fit the bill. Here’s where to find and enable it:

This service is not installed by default and should not be installed on a “home” system. You can add or remove this service by heading to:

1. Head to Start
2. Select Control Panel
3. Select Programs
4. Select Programs and Features
5. Select Turn Windows Features on or off
6. Find the section “Services for NFS”

Default Path and Command Line Options

C:Windowssystem32nfsclnt.exe

Setting Up Port Forwarding in Ubuntu VMWare

Found this great post as I’m trying to forward remote desktop connections to a Windows 7 guest OS. I’m using the NAT network type ( yes I thought of using bridged but there are network level complications out of my control ). Anyway this looked promising and I’m going to give it a shot:

http://ubuntuforums.org/showpost.php?p=4537013&postcount=6

Bizzare Foods w/ Andrew Zimmerman

Andrew Zimmerman Singapore

I was watching the travel channel “Andrew Zimmerman Bizarre Foods” episode the other day with some friends. There was a section on eating the chicken version of Rocky Mountain Oysters. I couldn’t believe the size of the organ compared to the size of the animal ( I forgot I was applying mammalian standards ). I went on a quest to find an anatomical diagram of a rooster somewhere on the web. I searched all over and finally found something. Sharing it here with everyone not that anyone else will every wonder about the same thing. Crazy that in our digital Google age finding something like this can be so hard.

http://animalsciences.missouri.edu/reprod/AnatomyMale/poultry/index.htm

File Dialog Popup EclipsePHP

Eclipse PHP was giving me fits. Every time I switched between tabs of files the file open/save dialog kept popping up. I tried to change file associations since I thought that was the problem but the issue remained.

I couldn’t find any posts on the web and then finally I found one. It said something about stopping Eclipse from doing previews. I searched through the options and couldn’t find anything right away. I finally followed:

Window (menu option) -> PHPEclipse Web Development -> “Browser Preview Default”.

Un-Check both of the options. After that the pop up went away.

Hope it works for someone else.

Michelin ’09 Released

And the rankings:

ONE STAR (*)

Acquerello — In SF
Ame — In SF
Auberge du Soleil
Bistro Jeanty
Bouchon
Boulevard — In SF
Chez Panisse
Chez TJ
Dining Room at the
Ritz-Carlton (The)
Farmhouse Inn & Restaurant
Fifth Floor — In SF
Fleur de Lys — In SF
Gary Danko — In SF
La Folie — In SF
Madrona Manor
Martini House
Masa’s — In SF
Murray Circle (new)
One Market — In SF
Plumed Horse (new)
Range — In SF
Redd
Terra
Trevese (new)
Village Pub (The) (new)

TWO STARS (**)

Aqua — In SF
Coi
Cyrus
Manresa
Meadowood, The Restaurant
Michael Mina — In SF

THREE STARS (***)

The French Laundry

Synergy Crash Fixed

Synergy is awesome! I use it to link my XP machine to my Linux machine at work and share a common keyboard and mouse. I love being able to move between my 2 OS’s transparently.

So when I broke Synergy I was understandably super bummed. It all started when I switched my Windows XP machine to use the system default language or Farsi. I was looking to see if some internationalization stuff I was working on was behaving properly. All of a sudden…. Synergy crashing :(.

I looked all over the web for a solution since when I switched my language pref back to US English it was still broken. I looked all over the web and both Yahoo and Google weren’t giving me the answers I wanted. Finally buried in a forum post somewhere was the answer.

Synergy doesn’t like the XP language bar. Steps to fix this were:

  1. Navigate to Start -> Settings -> Control Panel
  2. Select the Regional and Language Options applet.
  3. Select the second tab “Languages” then select the “Details” button.
  4. You’ll get the “Text Services and Input Languages” dialog
  5. Screen Shots of the Control Panel Dialogs

  6. Make sure all the items are unchecked.
  7. Save and Exit
  8. restart your machine and restart Synergy

Installing Perl Modules on 1and1

I was trying to figure out how to install perl modules on my hosting provider 1and1.com. I was doing an old school install where I was unpacking and making the modules myself. Yep… as usual there was a better way. Yes, I’m a bonehead but since I need a scapegoat I’m blaming it on the Yahoo dev environment. It’s made me soft and I needed to figure out the right way to do this.

That said, cpan.pm comes with most standard perl installs and totally makes installing modules easier. It handles dependencies, downloads, unpacking, etc. All I really had to do was configure the env. This seemed to be the one snag that wasn’t well documented. I was getting something like the following error when running $ perl -MCPAN -e shell:

Your configuration suggests “/root/.cpan” as your CPAN.pm working directory. I could not create this directory due to this error: mkdir /root/.cpan: Permission denied at /usr/lib/perl5/5.6.1/CPAN.pm line 499
Please make sure the directory exists and is writable.

The solution was found here:
  http://www.dcc.fc.up.pt/~pbrandao/aulas/0203/AR/modules_inst_cpan.html

The site describes the following steps which I modified to work for me:

  1. Create a directory for the perl modules in your HOME
    $ mkdir ~/perl5lib
  2. Create ~/.cpan and ~/.cpan/CPAN directories:
    mkdir ~/.cpan
    mkdir ~/.cpan/CPAN

  3. Create a Config.pm for the CPAN module with $CPAN::Config empty
    $ echo “$CPAN::Config = {}”> ~/.cpan/CPAN/MyConfig.pm
  4. Execute again:
    $ perl -MCPAN -e shell
    This time (if all goes well) it will prompt you for the empty fields in $CPAN::Config.

Here’s where I modified things:

  1. Exit the cpan interactive shell
  2. Pick a directory where you want to keep your local copy of perl modules. I chose: ~/perl as the prefix.
  3. Create the directory there and make sure you have permissions to write.
  4. Start the cpan interactive shell again using $ perl -MCPAN -e shell
  5. You need to re-configure the conf to point at your new directory.
  6. o conf makepl_arg “LIB=~/perl/lib
    INSTALLMAN1DIR=~/perl/man/man1
    INSTALLMAN3DIR=~/perl/man/man3″
  7. o conf commit ( this will make the changes permanent )
  8. exit the cpan interactive shell again and modify your env vars to point at the new locations
  9. export PERL5LIB=${PERL5LIB}:~/perl/lib (If you want this to be permanent then modify your ~/.bashrc)
  10. restart the cpan interactive shell and you’re set to start installing