February 1, 2013
Cloud Foundry

I am trying to get setup with playing with Cloud Foundry so I thought I would start to capture details here.

Getting Started

On my mac, I used VMWare Fusion to create a VM to use as my development VM which includes all of the components to run a local CloudFoundry (cloud controller, health manager, dea, router, etc).  So that basically involved just following the steps here:
So that is took forever…. I also ran into some networking problems along the way.   

Networking Problems

My VMWare Fusion was setup as NAT instead of bridged.   I had to change it to bridged and then run the command :
sudo dhclient
within the VM to get networking working so I could ssh into the VM. Unfortunately, if your IP address changes from the point of doing the install of CF to when you run CF, you need to go change a number of CF config files that have the IP address hard coded.  Found the solution to that here: 
~/cloudfoundry/vcap/dev_setup/bin/vcap_dev stop 
cd ~/cloudfoundry/.deployments/devbox/config/ 
sed -i ‘s/<OLDIP>/<NEWIP>/g’ *.yml 

sudo /etc/init.d/postgresql-8.4 restart 
~/cloudfoundry/vcap/dev_setup/bin/vcap_dev start 
~/cloudfoundry/vcap/dev_setup/bin/vcap_dev status
This part seems a bit brittle.

January 23, 2013
Icon. Belgian-style pale ale by Real Ale Brewing. 

Very smooth and less hoppy than an IPA.

Icon. Belgian-style pale ale by Real Ale Brewing.

Very smooth and less hoppy than an IPA.

January 22, 2012
Using iptables to redirect privileged ports to user ports for Node.js

Since I am running my node.js app as a normal user, I can only listen on ports above 1024.   My app is listening on port 3000.    I use the following commands to redirect http (80) and https (443) up to port 3000.

$ sudo iptables -t nat -D PREROUTING -i eth0 -p tcp —dport 80 -j REDIRECT —to-port 8080

$ sudo iptables -t nat -A PREROUTING -i eth0 -p tcp —dport 80 -j REDIRECT —to-port 3000

Then you can list the changes :

$ sudo iptables -t nat -L

Also, if you want to remove one, you just replace the -A above with -D

October 12, 2011
#ios Upgrade Fail

Tried to upgrade on the first day iOS5 was available… big mistake.  ”Internal Error” due to Apple’s verification servers being overloaded.  

There is no excuse for this.   They own the whole stack.  I am using their iTunes, which is talking to their servers to install their software on their phone.   And here I sit with a bricked phone.

Whoever is doing their server sizing must be the poster boy for thinking small.

Also, what is up with the message “Internal Error” ?   How about, our servers are currently unavailable, please try again later.

And, why is my phone dead while it waits to contact Apple ?   How about we contact Apple BEFORE you wipe my phone ????


October 9, 2011
Microdata, Microformats, RDFa,

RDFa: http://www.w3.org/TR/xhtml-rdfa-primer/

Microdata: http://www.w3.org/TR/microdata/

Microformats: http://microformats.org/

Open Graph Protocol (RDFa flavor by Facebook) http://ogp.me/

SPARQL (query language for RDF): http://www.w3.org/TR/rdf-sparql-query/

Found this nice breakdown also : http://manu.sporny.org/2011/uber-comparison-rdfa-md-uf/

October 6, 2011
I think I like this guy Cain.

“It is not a person’s fault because they succeeded. It is a person’s fault if they failed. And so this is why I don’t understand these demonstrations and what is it that they’re looking for.”

September 21, 2011
IBM THINK Forum Day 2 Quote

"you have to work on your culture constantly when you are working across distances" Chris Meledandri CEO Illumination Entertainment
#think #ibm100

September 21, 2011
IBM THINK Forum Day 1

What a celebration for IBM’s 100th. Not celebrating, but looking at what kind of leadership we need for next 100. Yesterday we listened to CEOs from IBM, Boeing, JPMorgan Chase, Sony and then King Abdullah of Jordan, President Calderon of Mexico, Mayor Bloomberg, and others. More today. Proud to be an IBMer!

July 7, 2011
IT Consumers Transform the Enterprise: Are You Ready ?

Study sponsored by CA Technologies on impact of Consumerization of IT

July 7, 2011
Zavers • Home

Interesting approach.  No local stores participating but it is an interesting angle.

Liked posts on Tumblr: More liked posts »