Author Archive

Sunday, November 29th, 2009

Haml in my Camel

Trying something new .. HAML... I saw it a couple years ago, I was like "ehh.. umm.. nah" ... But working on the DevChix site, it seems like it will be our choice instead of erb for templates so I thought I'd give it a try.
So here's some straight up html + erb
PLAIN TEXT
RUBY:

<h1>Listing [...]

2 Comments » - Posted in Ruby, Ruby On Rails by nola

Tuesday, November 24th, 2009

Builder Pattern in Ruby

Call me crazy, but this is why I classify myself as a language geek. When I learn something fascinating, i wonder hmm how can I do that with X language? My last post I did an example of the Builder pattern as described in Effective Java by Joshua Bloch. The main motivation for me to [...]

1 Comment » - Posted in Ruby, java, patterns by nola

Sunday, November 22nd, 2009

Builder Pattern in Java

I have been reading Effective Java by Joshua Bloch and learned something new so I wanted to try it out.
Making long parameter lists in your constructor is not fun and prone to errors. Previously I thought that best way to handle this situation was to make a bunch of setter methods. This can get kind [...]

No Comments » - Posted in java, patterns by nola

Sunday, November 1st, 2009

GWT 2.0: UiHandler

I was pretty excited to find UiHandler, it makes the organization of code so much cleaner!
I am putting in the full code for both, so you can see the beauty for yourself! Pay attention to the comments where i put the gotchas that got me at first!
Before:
PLAIN TEXT
JAVA:

package com.rubygeek.sandbox.client;

 

import java.util.ArrayList;

 

import com.google.gwt.core.client.GWT;

import com.google.gwt.event.dom.client.ClickEvent;

import com.google.gwt.event.dom.client.ClickHandler;

import com.google.gwt.uibinder.client.UiBinder;

import [...]

No Comments » - Posted in gwt, java by nola

Saturday, October 31st, 2009

GWT 2.0: UiBinder, first look at simple example

Note: as of right now, you can only get this feature in Trunk. see here for how to download the source and use it More Info on release
One of the great new features coming out of GWT 2.0 is UiBinder, a way to make a declarative UI without making tons of objects. Reminding you of [...]

6 Comments » - Posted in Javascript/AJAX, gwt, java, open source by nola

Saturday, October 31st, 2009

GWT: Using trunk

Lately, I have been fascinated with Google Web Toolkit as of late. What you say, you love ruby but doing java?!!? My ruby friends will probably smack me but really i love all languages. The widgets and rpc stuff, that is pretty cool as well as learning how to do MVP. There are some new [...]

No Comments » - Posted in Fun, Uncategorized, gwt by nola

Sunday, September 20th, 2009

I like Tomatos. I like time.

In my constant battle to get stuff done and feel good about what I did, I am finding the Pomodoro Method very handy.
Basically you set a timer for 25 mins, work unhindered for that time, then take a 5 minute break. Repeat 3 more times, then take a 15-20 min break. This has helped me [...]

1 Comment » - Posted in life, time management by nola

Sunday, September 13th, 2009

WindyCityRails2009 was a blast!!

Even though I don't do ruby at work, I do it for fun on weekends. I paid for my own self to go to the WindyCityRails conference and tutorial on Cucumber, RSpec Testing. It was well worth the money!! Not many things can get me to go up to Chicago early in the morning and [...]

No Comments » - Posted in Fun, Ruby, Ruby On Rails, devchix by nola

Thursday, September 10th, 2009

Cool Toys: GMail

I haven't had a cool toys post about something web related in awhile. I got the idea for this kind post from a friend whom I told him something cool, and he said "HEY you need to share your cool toys!"
It used to be it was cool to have @my-awesome-website.com email addresses. Having your own [...]

1 Comment » - Posted in cool toys by nola

Tuesday, September 8th, 2009

How to get better at programming?

Sometime ago a co-worker asked me what my github name was. I had forgotten..I hadn't used it in so long! He was surprised that I didn't have any open source code out there! I said, umm..i haven't written anything I think someone would want!
I tend to start projects, work a bit on them and [...]

2 Comments » - Posted in android, devchix, java, open source by nola