web

newrelic – undefined method `-’ for nil:NilClass

Using JRuby with trinidad (developer mode) – I was intermittently getting this error. Apparently thrown as estimated_time for the transaction was returning nil. I was also having all sorts of other issues (undefined method `metric_name’ for nil:NilClass) with all newrelics action summaries. To resolve (following suggestions on the trinidad google group): {% highlight ruby %} config/initializers/newrelic.rb if defined?(JRUBY_VERSION) &&...

Contents Invalid public key / Fingerprint can’t be blank

Getting the above error message trying to deploy to Heroku (Windows, PuTTY keygen). Turns out the public/private key files saved through putty aren’t of a valid OpenSSH format (expected by Heroku). You can still use Putty Keygen by copying the text generated under “Public key for pasting into OpenSSH authorized_key file” (save it to your *.pub) I’m inching towards...

Java for the forever beginner (II)

If your JSP code is almost 2/3rd pure Java code, then you’re doing something wrong.  One easy way of knowing Java code from HTML/Snippets is to look at the PALE GREEN (see image for color tone). If the pale green is more than the white – then you must be joking. If you move the green parts to become...

The Peoplenet

Now, it’s becoming even more vivid. The Internet has grown beyond its abstract boundaries and further into reality. Iran election has started as may be yet another election, peaceful and hopeful. For all parties. With the spread of voter fraud allegations, and suspicions over the way and speed by which the votes were counted, Iranian masses started to mobilize....

The Finishing Touches

Yesterday, I caught myself saying “I’m now putting my finishing touches to the application”. Twice. It is a true and accurate meaning to the state of an application I’m currently delivering. So, does a “Finishing Touch” apply to software? A web application? It is a term that is probably more tied to a work of art. A painting. I...

Human Forms

The Huff-Duffer has came up with, in my opinion, aremarkable signup form (below). The signup form has this unique ‘human’ feeling that led to the following exchange between me and, Adam, a work colleague. Me: New approach to signup formshttp://huffduffer.com/signup/I personally like it. More ‘human’.What do you think? Adam: I have mixed feelings about this… First off, as I...

Zoomii

It’s that time again where a new application catches my eyes (and mind). Zoomii: the [near] real online bookstore. I remembered Alexaholic/Statsaholic’s story and wondered how long will Amazon allow Zoomii to survive.

Code Quality Measure

via FocusShift Via reddit, and from there to the best quote I read in a while:”Watching non-programmers trying to run software companies is like watching someone who doesn’t know how to surf trying to surf.” – Joel Spolskey. The quote is highly interpretive, but, to a great extent it bears the truth.