A lot of things happened since my last post here:
- Gave a talk “Why Clojure?” at Devoxx, which has 482 viewers for the video already :)
- Functional Rotterdam is going strong with meetups every month at Lunatech’s office.
- Took a deep dive into Big Data (Hadoop/Spark) at work.
- Started with Executive MBA program at RSM.
- Co-Organizing Clojure Days Conference, next March.
More updates and details coming soon.
It started with a humdrum business trip to Thailand for Austrian Dietrich Mateschitz. He stumbled across the drink and apparently discovered that it ‘cured’ his jet lag. In partnership with Thai inventor Chaleo Yoovidhya they launched a version of the Thai drink slightly modified to suit European tastes. The rest, as they say, is history.
via The origins of Red Bull | Logo Design Love.
A deserted airport customs lounge, luggage weighed by hand on an old fashioned scale and a cockpit with no digital assistance, are just some of the sites a photographer from Singapore has captured on camera after flying with the world’s only one-star airline.Aram Pan gained unprecedented access to the Soviet-era planes still used in North Korea by the nation’s civil carrier, Air Koryo, plus cargo transporters and helicopters, after joining a tour for aviation enthusiasts inside the communist enclave.
via North Koreas Air Koryo: The Worlds Only 1 Star airlines | The Real Singapore.
Ralph is not a rule-follower like Lisa, nor a rule-breaker like Bart; Ralph does not observe the rules because he is almost completely unaware of them. More than any of the other students at Springfield Elementary, Ralph is a child. Bart and Lisa and Milhouse and Nelson and Janey are kids, and therein lies the difference.
via Ralph Wiggums Finest Moments.
I finally got time to play and install OpenShift Origin as my Personal PaaS. The installation went very smoothly except for a couple of hiccups. I’m using two CentOS VMs – one for broker and one for node. Apart from default cartridges for PHP, Python and NodeJS, I have also installed support for Clojure and Haskell apps. So I can have the nice workflow of git-push-to-deploy for my apps!
Now for the hiccups during installation:
After installing every app I created got into a redirect loop to getting_started.html. This was fixed by adding these lines:
# Set headers for the forward
RequestHeader set X-Forwarded-Proto "http"
RequestHeader set X-Forwarded-Port "80"
# Access the OpenShift mod_rewrite router
to *:80 vhost in /etc/httpd/conf.d/000001_openshift_origin_frontend_vhost.conf
I wasn’t able to create a new app using (e.g. clojure cartridge) manifest. This was fixed by installing unzip – which was apparently missing on the node server.
The Clojure/Java app won’t start and keeps throwing class not found exceptions Apparently Node CentOS VM was using gcj (WTF!!??). Installing OpenJDK fixed this.
I couldn’t delete any apps either using rhc or using oo-admin-* scripts. This fails with message : “Can only supply discovery data if direct_addressing is enabled”
This was fixed by adding the line
Hope this helps if someone is facing similar issues during installation.