:::: MENU ::::

Jasmine resources for Javascript testing

We have just started writing Jasmine test cases. Here are some resources everyone should go through to get a jump start:
  1. Jasmine : Unit testing framework for Javascript. Also allows writing functional testing and can be extended for BDD support. Read this please.
  2. jasmine-jquery : jQuery matchers and fixture loader for Jasmine framework. Keep this page open when you’re writing the test cases. Continue Reading

Sunspot with ActiveResource

One of our requirements was to set up and index data from one application(Data Backend) into the sunspot/solr engine of another application(say Search App) so that we could search and review the data in the latter. For this, I tried a few things to get the setup done using Active Resource (note – Active Resource is being removed from core rails in Rails 4.0, but will likely be available as a gem. Continue Reading



Scribe with Ruby: Take 2

After harassing Anthony Giardullo of Facebook many times during the week before the last, I finally managed to get Scribe to work with Ruby. Continuing from where I left it last time, let me first show you the code I was using to log the messages: Continue Reading


MIT job advertisement

Applicants must also have extensive knowledge of UNIX, although they should have sufficiently good programming taste to not consider this an achievement.


Scribe with Ruby

Scribe is a logging framework from Facebook and is supposed to be excellent at handling billions of log messages every day in a distributed and reliable way.

I’m trying to use a Ruby Client named rscribe_cat.rb to post messages to the scribed server started using the examples/example1.conf file that came with the distribution. The file is attached herewith. Continue Reading


Attitude

I’ve learned that you can tell a lot about a person by the way (s)he handles these three things: a rainy day, lost luggage, and tangled Christmas tree lights.
— Maya Angelou

I’m always delighted to learn that it’s so remarkable that profound thoughts can always be summed up into simple and practical words. The rest is just verbiage.


Venn Diagram for Lovers

Venn Diagram for Lovers

I came across this as an ad somewhere on the net. If you know the original creator of this diagram, please let me know so that I can credit him/her. If you are the original creator, please let me know if it infringes your copyright.


Ayn Rand – How you shouldn’t read her?

I read Fountainhead a few days back and am currently nearing the end of Atlas Shrugged – two of the greatest classics composed in the last century by Ayn Rand. I had half-read the books in college, back in my freshman year and frankly speaking, understood very little. Continue Reading


Lassitude

Contrary to what I’d like to state, this is not my first blog post. I had created several blogs in past – mainly for commenting on someone else’s blog – and made it a point that I forgot login/password/name of the blog as soon as the comment was made. Continue Reading