10/27/07 06:02 - 54ºF - ID#41841
Traffic
Permalink: Traffic.html
Words: 34
Location: Buffalo, NY
10/26/07 11:49 - 56ºF - ID#41826
E:Strip Chat Client
Permalink: E_Strip_Chat_Client.html
Words: 8
Location: Buffalo, NY
Category: ruby
10/25/07 04:57 - 60ºF - ID#41800
WNY Ruby User Group
I just need to find a way to either: combine them all into one event, or start a social event planning business :)
Anyone out there who's interested in Ruby let me know if you want to join up with the user group.
Permalink: WNY_Ruby_User_Group.html
Words: 76
Location: Buffalo, NY
Category: estrip
10/25/07 03:11 - 58ºF - ID#41798
HAAALLLOWWEEEN
I'll pick up some lights to use in them, so don't worry about candles or the like.
Permalink: HAAALLLOWWEEEN.html
Words: 62
Location: Buffalo, NY
Category: me
10/23/07 07:44 - 50ºF - ID#41766
40,000 Views
Permalink: 40_000_Views.html
Words: 4
Location: Buffalo, NY
Category: programming
10/22/07 11:48 - 66ºF - ID#41757
RSpec with Autotest
This is the best thing ever. I am so glad that I took the time to look at this a few weeks ago after sort of putting it off for the last six months. I won't bore you all with the details (that's what (e:james) is around for), but I found a super awesome new tool for testing programs, I can't believe I didn't check it out six months ago when I first heard about it. (rspec)
Basically, instead of unit tests you write a live spec, that is continuously run as you code that notifies you of the status of all your tests open each save of a file. So now I don't even have to run my tests anymore, the freakin computer does it for me, and pops up a discrete message in the corner of the screen letting me know what's going on.
Happy tests:
Sad tests:
And writing tests with the new tool is also so much cleaner and nicer.
Old way (just random made up examples):
def test_something File.open("/tmp/file", 'W') do |f| f << test_data end assert_equal "/tmp/file", Retrieve.file, "Should have found it!" end
New way:
it "should find file path" do Retrieve.file.should equal("/tmp/file") end
But, that is a bad example because it doesn't show all the mocking, like:
Retrieve.file("config") # => can not find Retrieve.stub!(:file).expects("config").and_returns("/tmp/file") Retrieve.file("config") # => "/tmp/file"
So that you can completely decouple all your tested classes from each other and external output, thus only testing very specific pieces of logic, and making testing ten times easier because you never have to set up infrastructure for it to work.
You can also just have empty tests, which act like a todo list - they show up when the tests run as pending, so it also acts like a roadmap.
Permalink: RSpec_with_Autotest.html
Words: 350
Location: Buffalo, NY
Category: halloween
10/21/07 08:41 - 69ºF - ID#41739
Pumpkins
Also I think I will be dressing up for the Halloween party as either a leopard (in honor of Mac OS X 10.5 Leopard) or else Speed Racer. I'll have to see which I can scramble to put together this week.
Finding a blue helmet might be harder then finding spots.
Permalink: Pumpkins.html
Words: 74
Location: Buffalo, NY
Category: cars
10/19/07 10:10 - 62ºF - ID#41719
My Fellow Americans
I'm just saying.
Permalink: My_Fellow_Americans.html
Words: 8
Location: Buffalo, NY
Category: programming
10/18/07 11:20 - 73ºF - ID#41706
Martin Fowler
Permalink: Martin_Fowler.html
Words: 3
Location: Buffalo, NY
Category: buffalo
10/18/07 10:50 - 73ºF - ID#41705
Allen Street
Permalink: Allen_Street.html
Words: 2
Location: Buffalo, NY
Author Info
Date Cloud
- 07/11
- 04/11
- 02/11
- 10/10
- 09/10
- 08/10
- 07/10
- 06/10
- 05/10
- 04/10
- 03/10
- 02/10
- 01/10
- 12/09
- 11/09
- 10/09
- 09/09
- 08/09
- 07/09
- 06/09
- 05/09
- 04/09
- 03/09
- 02/09
- 01/09
- 12/08
- 11/08
- 10/08
- 09/08
- 08/08
- 07/08
- 06/08
- 05/08
- 04/08
- 03/08
- 02/08
- 01/08
- 12/07
- 11/07
- 10/07
- 09/07
- 08/07
- 07/07
- 06/07
- 05/07
- 04/07
- 03/07
- 10/06
- 04/06
- 03/06
- 01/06
- 12/05
- 11/05
- 10/05
- 09/05