Miles to go …

July 28, 2010

San Francisco 1/2 Marathon – 2010 Results

Filed under: marathons — arungupta @ 11:55 pm

I ran San Francisco 1/2 marathon over the weekend and improved my timing from last year by 3 minutes. I guess dance at a pre-wedding ceremony and 4 hours of sleep the night before slowed me down otherwise could’ve pushed harder. Anyway the results are still encouraging and the bar is higher for the next time!

This makes me among top 1.2 % runners overall, top 2.5% for "Men", and top 2.3% in "M 30-39" category. Here is the overall leader board:

I’m about 20 minutes behind the winner (5:47 pace) and so need to push really hard to close the gap there. Who knows I may win one day, but for now the plan is to close the gap as much as possible. Seems really difficult, but not impossible!

And I almost made it to the women’s leader board ;-)

Michael Wardian, a popular American marathoner and ultramarathoner came second in the full marathon. It was a pleasure to see him cruising back on the Golden Gate birdge.

Here are the mile splits:


One thing clearly evident from the splits is that any amount of hill training is less. This is all the more evident by looking at speed / elevation chart:


Click on the image to replay the race.

And finally here is race route:

Here is the cumulative result of all the marathons so far:

Marathon / Half Marathon Total Time Pace
San Francisco 1/2 Marathon 2010 1:35:42 7:18
San Jose Rock-n-Roll 2009 1:30:59 6:57
San Francicsco 1/2 Marathon 2009 1:38:21 7:31
Kaiser Permanente San Francicsco 1/2 2009 1:41:30 7:45
Silicon Valley 1/2 2008 1:45:42 8:04
San Francisco 1/2 2008 1:52:44 8:25
San Francisco Full 2007 4:04:33 9:20
Silicon Valley Full 2006 4:06:57 9:25
San Francisco 1/2 2005 1:48:50 8:18


Technorati: running marathon results runsfm sanfrancisco

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • email
  • StumbleUpon
  • Technorati
  • Twitter
  • Slashdot

June 18, 2010

Uber Conf 2010 – Day 4 Report – OSGi/Java EE in GlassFish and Getting Started with Clojure

Filed under: frameworks, glassfish, netbeans, running — arungupta @ 11:30 am

Uber Conf Day 4 (Day 3, 2, and 1) started with yet another 10 miler with fellow attendees in 1 hr 18 mins and 7:49 pace. It was slightly slower than the day before – guess physical exhaustion was setting in ;-) Here are the mile splits:

Thanks to Andy for showing how to turn on the Auto-Lap feature in Garmin 305 … really handy!

I gave a talk on how GlassFish provides a great execution environment for deploying OSGi, Java EE, and hybrid applications easily. The slides are given below:

The remainder of the day was spent in Clojure track by Stuart Halloway. Next are some basic notes for getting started with Clojure:

Why Clojure ?

  • Power (hosted on jvm)
  • Robustness (functional)
  • Concurrency (identity, state, time)
  • Abstraction (OO done right)
  • Focus (lisp)

Together, these features add up to simplicity. Simplicity means

  • absence of incidental complexity
  • sufficient to meet your design constraints

Simplicity does not mean

  • Familiarity has nothing to do with simplicity
  • its not superficial, goes to the bone (e.g. only simpler syntax is just a sugar wrapper, look for the supported idioms)
  • does not mean easy, its very hard to be simple

Lot of code in Clojure is not about "set" something, its about invoke a function on it.

How to get started ?

Download the latest stable release or cutting edge build. The Clojure REPL (Read-Evaluate-Print Loop) is the easiest way to run a Clojure program as shown below:

~/tools/clojure/clojure-1.1.0 >java -cp clojure.jar clojure.main
Clojure 1.1.0
user=> (print "Hello World")
Hello Worldnil
user=> ^D

OR

~/tools/clojure/jun7 >java -cp clojure.jar clojure.main
Clojure 1.2.0-master-SNAPSHOT
user=> (print "Hello World")
Hello Worldnil
user=> ^D

Notice, the first fragment shows how to run REPL using the latest stable release and the second fragment shows the same using the cutting edge build. "Ctrl+D" exits the REPL shell. Stuart mentioned that the Clojure community stays on the cutting edge build most of the times.

Alternatively, you can also clone "labrepl" from "http://github.com/relevance/labrepl" which is an environment for exploring the Clojure language. It also provides complete instructions for getting started with NetBeans/Enclojure, Eclipse/Counterclockwise, Maven, Max/Linux command line, Windows command line, IDEA/La Clojure, and Emacs.

Configuring Clojure in NetBeans using the Enclojure plugin with NetBeans 6.9 gives the following error:

but works easily with NetBeans 6.8. The IDE seem to support REPL, Java/Clojure integration, syntax highlighting, brace/paren/bracket matching, code navigation, debugger and lots of interesting features.

Here is a typical REPL getting started session with NetBeans and Enclojure:

Here are some equivalent syntax with Java:

Semantic Java Clojure
new new Widget("foo") (Widget. "foo")
Access static members Math.PI Math/PI
Access instance members rnd.nextInt() (.nextInt rnd)
Chaining access person.getAddress().getZipCode() (.. person getAddress getZipCode)
  • "defn" is a symbol so no new syntax for adding a method.
  • ^ introduces metadata for the next symbol, "greet" in this case. You can put metadata anywhere.
  • "clojure.core" is the core of Clojure’s implementation
  • "javadoc" knows the default JDK javadocs, can make a local copy and/or extend it
  • "show" is Java reflection
  • "dir", "show", "source" are promoted from community version to the bleeding edge build.
  • Source is not always exposed
  • [1 2 3] Call the function 1 with arguments 2 & 3.
  • ‘(1 2 3) don’t evaluate it and print as is, just tick it.
  • Idiomatically Clojure requires less parentheses than Java
  • Every single function in Clojure is Runnable and Callable

  • Java interop is simple, wrapper-free (raw), performant, complete

Compojure is a small, open source Web framework for Clojure based upon Ring (similar to Python’s WSGI and Ruby’s Rack). Otherwise Clojure apps are deployed as a JAR file.

A subsequent blog will show how to deploy a simple Clojure JAR file and a simple web app using Compojure on GlassFish.

And finally, here are my top-10 reasons (in no particular order) that I’d like to attend UberConf next year:

  1. Long 90 minute sessions
  2. Lots of hands-on workshops
  3. Fun Run as part of the formal agenda
  4. Beautiful location (Westin Westminster) with lots of running trails
  5. Great food (breakfast + lunch + dinner)
  6. Small attendance so intimate discussions with speakers
  7. Great set of speakers
  8. Rarely see session hopping
  9. Pure technology, no product pitching
  10. Swags are nice – bracelet-style USB stick with all the presos, 2 different tee-shirts, fancy folder and some additional goodies for speakers

See ya next year, hopefully!

Technorati: conf uberconf denver clojure compojure glassfish netbeans javaee osgi

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • email
  • StumbleUpon
  • Technorati
  • Twitter
  • Slashdot

June 3, 2010

Jazoon 2010 Day 3 – Java EE 6 on Cloud, HTML 5 with JSF 2 and another run on Üetliberg

Filed under: frameworks, glassfish, javaee, netbeans, running — arungupta @ 2:13 pm

The Day 3 of Jazoon (Day 1 & 2) started with a great presentation on Gaia satellite and Data Processing by William O’Mullane. Gaia is a European Space Agency space mission that will be launched in Summer of 2012 to compile a catalog of approximately 1 billion stars. Most of their software is Java-based and have been fairly happy with the decision taken 10 years ago. They are very happy with the performance of Java and in certain cases its even 10x faster than C.

I gave a talk on "Running Java EE 6 applications in the Cloud". The talk explained flexibility, light-weight, extensibility, and ease-of-use of Java EE 6. It demonstrated a simple sample development and rapid deployment feature using NetBeans IDE. And then quickly jumped into how this application can be deployed on Amazon EC2, RightScale, Elastra, and Joyent infrastructure. I learned about the Simple Cloud API (Storage only) and Apache libcloud from Doug Tidwell’s talk yesterday and so will try them as well.

I gave a tee-shirt from the Bay Area JUG Roundup to Rainer Grau – moderator of the conference and he was kind enough to change it for rest of the day. See his picture below.

The slides from my talk are available below:

More detailed steps to deploy your Java EE 6 application on each cloud management / provider mentioned above will be available in a later blog. Instant feedback via twitter is always much appreciated as shown in the case below:

The Spring 3.0 Themes and Trends talk was quite a dejavu because it was mostly a rehash of what is available in the Java EE 6 today. And I could not understand why would anybody use Spring (instead of Java EE) to use the goodness of the JSF and JPA technologies ?

Roger’s talk on "Exploring HTML 5 with JSF 2" was very interesting and had a packed room, small but packed. He showed lots of HTML 5 samples and how Java Server Faces 2 can be used to include new tags like audio / video in a JSF composite component, Web Sockets and even Web Workers with JSF 2. His slides are available at:

Roger & I will work on publishing detailed steps on these demos in the coming days.

Spring Roo was a good one but it seems like that its basically trying to bring Ruby-on-Rails concepts like Dynamic Functions and Scaffold with some usual tooling tricks and heavy code generation to the Java programming language. One more framework, one more convention, one more programming style … not sure if it fills any gap!

Dan & Aslak presented on Real Java EE Testing with Arquillian and this was mostly a demo-driven talk showing how different Java EE technologies can be easily tested using ShrinkWrap and Arquillian. And the cool thing is that they support deployment to GlassFish Embedded as well.

Here are some pictures from earlier today:

And the day concluded with yet another great run up Üetliberg, just a simple out & back but 1404 ft elevation gain in 4.59 miles. The elevation map is shown below:

More details about the run are given below:

Here are some pictures captured during the run:

It is just beautiful – definitely worth going at least once!

Last but not the least, Roger & I had a great dinner at au gratin – a great restaurant + adjoining bar on the first floor on Bahnhofplatz. They’ve got great food variety at a great location, reasonably priced (as per the Swiss standards ;-) , and an American Football aficionado server by the name David. If you meet him, say our hello to him :-)

And here is the complete photo album:

This was my first Jazoon conference in the beautiful country of Switzerland and I thoroughly enjoyed it. I had some useful conversations and made some good contacts. I’d love to come back here again next year as well!

Next step Über Conf

Technorati: conf jazoon zurich javaee glassfish cloud amazon rightscale elastra joyent html5 jsf2 spring

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • email
  • StumbleUpon
  • Technorati
  • Twitter
  • Slashdot

Üetliberg – Great uphill run at Jazoon 2010 Day 2

Filed under: glassfish, running — arungupta @ 6:44 am

Three of us (2 ex-Ironman and me) ran to the top of Üetliberg (a mountain on the Swiss plateau) on the Day 2 of Jazoon – a great uphill run. There were showers + lockers right at the trailhead so that was extremely convenient. The first 3 miles were rolling hills with a constant elevation gain and then it shot up 500 ft within next 1/4 mile. After another 2.5 miles of rolling hills we reached the hill top. The total run was little over 8 miles with an elevation gain of 1755 feet in about 5.8 miles and a maximum elevation of 2830 ft – an excellent workout overall! Needless to say, the other 2 runners were pretty solid, being ex-Ironman, but this will help me prepare better for the upcoming San Francisco 1/2 Marathon.

Here is the elevation map of the run:

There was drizzling all the way up & down and lots of fog on the hill top so we could not enjoy the otherwise spectacular panoramic view of the entire Zurich city and Lake of Zurich. But may be I’ll run there tomorrow again and this time with a camera :-)

And more details can be found below:

For those interested in the view only, the summit is also accessible by the train.

Thanks to Dan Allen for connecting me with Bela Ban for this run! This is how I celebrated the National Running Day. Are you planning to run anything nice ?

Other than running, I attended some good talks earlier in the day Unleash your processors, HTML 5 WebSockets, and Keeping Your Options Open – Even If the Cloud is Not. The keynote by Ken Schwaber (scrum.org fame) on "Total Cost of Ownership" gave some good points about "When are you done ?", "My / Your / Our kind of done" and other benefits of Scrum/Agile. But then soon turned into a marketing pitch about a new course starting in Switzerland.

And now finally, my talk tomorrow morning on "Running your Java EE 6 applications in the Cloud".

Here is the evolving album so far:

Technorati: conf jazoon zurich uetliberg uphill running

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • email
  • StumbleUpon
  • Technorati
  • Twitter
  • Slashdot

February 27, 2010

Oracle at EclipseCon 2010 – Java EE 6, OSGi, GlassFish, EclipseLink, JPA 2.0/Dali, …

Filed under: eclipse, glassfish, javaee, running — arungupta @ 6:34 am
EclipseCon 2010 Oracle is a strategic developer & board member of the Eclipse Foundation and is a gold sponsor of Eclipse Con 2010. See the complete list of Eclipse projects at Oracle.

When ? Mar 22nd – 25th, 2010
Where ? Santa Clara, California
How to register ? Register Now – Use the coupon code ORACLE10 (before Mar 2) for 10% off registration.
What ? Program Schedule

Oracle certainly has a lot to talk about Java EE 6, OSGi/GlassFish, JPA 2.0 and Dali, Future of App Servers, Future of Enterprise Java, Eclipse RT and WTP Reloaded tutorials and many other sessions. See the complete details about Oracle’s participation here.

Also don’t miss the keynote by Steve Harris and Jeet Kaul on Community and Adaptation. Hear these two industry leaders and prolific speakers talk about how Java has empowered community, engendered new forms of adaptation and will continue to blaze the trails.

And then there is Members and Committers reception on Monday evening sponsored by Oracle. Visit us at booth #8 to speak with technical experts, see demos and get information about Oracle’s Eclipse technology and Project participation.

OSGi DevCon 2010 is happening on the same dates/venue and is covered with Eclipse Con registration.

And last, but not the least, let that runner in you have some fun and run with fellow attendees. Yep, there are even prizes!

Keep checking eclipsecon.org for the latest updates.

Unfortunately, I’ll be speaking elsewhere in a different part of the world during exact same dates and so will miss all the fun. More on that later but here are some key members of the Eclipse Foundation:

Feel free to greet and thank them for running the show :-)

Read about 2009 participation here.

Technorati: conf oracle glassfish javaee oepe eclipsecon santaclara

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • email
  • StumbleUpon
  • Technorati
  • Twitter
  • Slashdot

January 20, 2010

How to pick a headlamp for night running ? – Petzl, Fenix, Princeton, Black Diamond, …

Filed under: running — arungupta @ 1:01 pm

In order to be prepared for the upcoming TheRelay 2010, I’m planning to start running in the night. This is my first venture into night running and there are several tips to follow (reflective gear, run against traffic, no dark colors, no headphones, etc). One of the most important one is to wear a headlamp that can show the trail sufficiently ahead and keep you aware of any breaks in the sidewalk, a fallen branch, debris or may be even a loose pet.

As with any product, there are several headlamps available in the market and it’s confusing for a first time buyer. There is Moxie, Petzl, Princeton Tec, Petzl, Black Diamond, Fenix and many others. Fortunately REI.com has a good variety of them and the beauty is that you can visit your local store and try them on. And as always, the staff is very knowledgeable about the product line and don’t suck you into higher end products which may be an overkill for your adventure. And of course, you can compare the products on Amazon.com, read blog reviews, see product reviews from actual customers, read about them at epinions.com, tweet about it and get suggestions.

Some of the criteria to keep in mind while making your pick for a headlamp:

  1. Lightweight – It should be lightweight as it’ll be strapped to your head all the time you are running. Any extra weight to your head will be a bothering soon.
  2. Good grip – The lamp should fit nicely on your head and not bounce up & down otherwise it’ll be a pain very soon. Personally, I’d hate to run with holding headlamp in my hands instead.
  3. Brightness – 35-50 lumens is bright enough for night running as it gives you 9-19 seconds of visibility depending upon your pace from (7 – 10 min/mile). See a more detailed table below.
  4. Cost – The headlamps vary from $10 – $500. As with other products, invest wisely depending upon whether this is a one-time gig or you plan to continue this longer term. There are reasonable ones available close to $50.

And then there are several other factors like what kind and how many batteries are required (adds up to total weight), how long before it runs out, Halogen / LED, does it support multiple intensities, waterproof, and rechargeable unit.

Here is a comparison of the short listed headlamps on the features mentioned above:

Features / Models Fenix 7 Petzl Tikka XP 2 Petzl Tikka Plus 2
Weight (with batteries) ?? 3.1 ounces (88 gms) 2.9 oz (82 gms)
Lumens 7 – 225 60 50
Batteries 4 AA 3 AAA 3 AAA
Running time 2.5 – 210 hrs 80-160 hrs 55 – 140 hrs
Range (meters) 120m 17-60m 35m
Intensity 5 (Strobe, SOS, Warning) 2 (Flood/Spot) 2 (Flood only)
Waterproof IPX-8 IPX-4 IPX-4
LED Cree XR-E Q5 1 high-output LED / red LED 1 high-output LED / red LED
Cost 64.95 54.95 33.99
Where to buy ? Amazon Amazon Amazon

After reading forums (here, here, here), product reviews (1, 2), 6 5* reviews @ Amazon, talking to friends, tweeting (1, 2, 3, 4) and getting a strong recommendation from the local REI store, I have decided to purchase Petzl Tikka Plus 2.

Black Diamond Sprinter got good reviews on runnersworld.com but there is no point paying additional $40 for the rechargeable unit. I’d rather buy a recharger separately and use it elsewhere as well. Fenix HP10 is similar to Fenix 7, slightly more expensive and no noticeable difference. It’s not worth paying extra money for the lumens that are not required.

Read more about IP waterproof ratings. Basically, IPX-4 provide protection against splashing water and IPX-8 provide protection against continuous immersion beyond 1m.

Here is a table that provides the visibility (in seconds) for a 35m or 50m range headlamp:

Now Amazon has tight restrictions on the usage of pre-paid credit cards and so the payment cannot be split between two of them. All merchants allow such arrangement at least in their physical shop but I guess this is one disadvantage of online shopping.

What headlamp do you use for night running ?

Technorati: running night headlamp petzl fenix therelay gear

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • email
  • StumbleUpon
  • Technorati
  • Twitter
  • Slashdot

January 4, 2010

2009 Running Summary – 1286 miles, 71% of running days

Filed under: running — arungupta @ 8:31 pm

Here is a summary of my running logs in 2009:

And a bar chart that shows mileage for each day:

And finally a summary for each quarter:

Quarter Summary
Jan 1 – Mar 31, 2009
Apr 1 – Jun 30, 2009
Jul 1 – Sep 30, 2009
Oct 1 – Dec 31, 2009

The last quarter was just terrible in terms of number of running days and pace but was a good recovery period as well. However I can certainly feel it in terms of the overall reduced pace. The biggest reasons for missed out running in 2009 were falling sick or traveling with no gym facility in the hotel.

Two goals for 2010:

  • Reduce the number of missed days of running – With no upcoming travel plans, this might be a good time to catch up on this goal.
  • Increase the overall mileage – This will require more than a few long distance runs and so will try to get them early on.

The charts shown above can be easily generated using using a Rails application or a Wicket application on GlassFish.

Technorati: glassfish running logs 2009

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • email
  • StumbleUpon
  • Technorati
  • Twitter
  • Slashdot

November 13, 2009

Running in the streets of Rome

Filed under: running — arungupta @ 10:05 pm

During my overnight stay in Rome 2 days back, the hotel’s wifi network was down and the fitness center was closed for renovation. An old grumpy guy at the front desk, who was humming songs and had absolutely no concept of greeting / smile, checked me in. The "world class buffet" was pretty mediocre with limited selections and was advertised on the incorrect floor. Really ancient, not antique, just old & worn out, faucets in the shower made me wonder.

But anyway, the good thing was that the stairs to the 7th floor were outside the hotel so I got a good workout by climbing them 5 times.

And of course, I created my running course around the hotel. Please click on the interactive map below:

Running 15 of these loops gave me somewhat hill repeats because of the elevation involved.

Technorati: running rome

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • email
  • StumbleUpon
  • Technorati
  • Twitter
  • Slashdot

November 11, 2009

Running in Bussum, The Netherlands

Filed under: running — Tags: , , , — arungupta @ 7:29 am

JFall 2009 is organized in the beautiful city of Bussum, The Netherlands – a 20 minutes train ride from Amsterdam. I checked into the hotel yesterday and, as always, found a good running trail right by the hotel.

Here is the clickable map if you are interested:

It took about 36 minutes to complete this 4.1 miles route because of two reasons. Firstly I was enjoying the landscape, color of fall trees and the typical architecture of homes on the trail. And secondly I kinda got lost and it started becoming dark …  but anyway managed back to the hotel by asking around.

Even though Dutch is the primary language but everybody (at least every one I talked to) speaks English so language was not an issue :-)

Technorati: running jfall amsterdam bussum

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • email
  • StumbleUpon
  • Technorati
  • Twitter
  • Slashdot

October 5, 2009

Pictures from Rock’n'Roll San Jose Half Marathon 2009

Filed under: marathons, running — arungupta @ 11:00 pm

Here are some pictures (courtesy ASI Photo) from my recently concluded Rock-n-Roll San Jose Half Marathon:

Technorati: running marathon rnrsj rocknroll sanjose results

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • email
  • StumbleUpon
  • Technorati
  • Twitter
  • Slashdot
Older Posts »

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.
Powered by WordPress