Only in Mac OS X Leopard.
Jim's Journal
My Podcast Link
10/26/2007 23:49 #41826
E:Strip Chat Client10/25/2007 16:57 #41800
WNY Ruby User GroupCategory: ruby
So, I've agreed to help plan the WNY Ruby meet-ups. This will be in addition to the monthly estrip night outs that I've been setting up, and the monthly photo meet-ups that I run.
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.
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.
carolinian - 10/26/07 12:01
I've had a really ugly time learning Ruby on Rails, so it would be nice to find a place with wi-fi so someone could sit down with me and show me what I'm doing wrong.
I've had a really ugly time learning Ruby on Rails, so it would be nice to find a place with wi-fi so someone could sit down with me and show me what I'm doing wrong.
zobar - 10/26/07 10:57
Whatever! Gimme a call when you want to upgrade. We got a zero-click installer and tutorials that won't fill your inbox with spam.
Humble suggestions: change 'User Group' to 'Gang.' Get a rival gang, too: Haskell? Lisp? Doesn't matter. Get jackets and patches and secret handshakes. Schedule your meetings for the same place and same time. Get into fights and thrown out of bars. Do this up right, right?
- Z
Whatever! Gimme a call when you want to upgrade. We got a zero-click installer and tutorials that won't fill your inbox with spam.
Humble suggestions: change 'User Group' to 'Gang.' Get a rival gang, too: Haskell? Lisp? Doesn't matter. Get jackets and patches and secret handshakes. Schedule your meetings for the same place and same time. Get into fights and thrown out of bars. Do this up right, right?
- Z
jim - 10/25/07 23:06
First you can get the one-click windows installer:
:::link:::
And a 20 minute tutorial after that, via the interactive ruby shell:
:::link:::
First you can get the one-click windows installer:
:::link:::
And a 20 minute tutorial after that, via the interactive ruby shell:
:::link:::
jim - 10/25/07 23:03
For a good quick intro there's Try Ruby: :::link::: which is an interactive tutorial in a web browser.
There's also a free book :::link::: but you have to create an account at InfoQ to download it.
For a good quick intro there's Try Ruby: :::link::: which is an interactive tutorial in a web browser.
There's also a free book :::link::: but you have to create an account at InfoQ to download it.
mrdeadlier - 10/25/07 22:56
Where's a good "from the ground up" tutorial on Ruby that you would recommend?
Where's a good "from the ground up" tutorial on Ruby that you would recommend?
jim - 10/25/07 20:16
As if!
As if!
10/25/2007 15:11 #41798
HAAALLLOWWEEENCategory: estrip
Hey, if you're coming at 8pm (instead of being fashionably late) to the (e:strip) party and want to carve pumpkins with Matthew and I, bring one if you can, but if not let me know and I'll snag a few extra that night otherwise.
I'll pick up some lights to use in them, so don't worry about candles or the like.
I'll pick up some lights to use in them, so don't worry about candles or the like.
10/23/2007 19:44 #41766
40,000 ViewsCategory: me
Do I get balloons?
tinypliny - 10/24/07 21:44
Here's one from me! Congrats!
,~-.
( ' )-. ,~'`-.
,~' ` ' ) ) _( _) )
( ( .--.===.--. ( ` ' )
`.%%.;: |888.#`. `-'`~~=~'
/%%/::: |8888\##\
|%%/:::: |88888\##|
|%%|:::: |88888|##|.,-.
\%%|:::: |88888|##/ )_
\%\:::: |88888/#/ ( `' )
\%\::: |8888/#/( , -'`-.
,~-. `%\:: |888/#'( ( ') )
( ) )_ `\__|__/' `~-~=--~~='
( ` ') ) [VVVVV]
(_(_.~~~' \|_|/
[XXX]
`"""'##A##
H
u
r
r
a
y
J
i
m
!
Here's one from me! Congrats!
,~-.
( ' )-. ,~'`-.
,~' ` ' ) ) _( _) )
( ( .--.===.--. ( ` ' )
`.%%.;: |888.#`. `-'`~~=~'
/%%/::: |8888\##\
|%%/:::: |88888\##|
|%%|:::: |88888|##|.,-.
\%%|:::: |88888|##/ )_
\%\:::: |88888/#/ ( `' )
\%\::: |8888/#/( , -'`-.
,~-. `%\:: |888/#'( ( ') )
( ) )_ `\__|__/' `~-~=--~~='
( ` ') ) [VVVVV]
(_(_.~~~' \|_|/
[XXX]
`"""'##A##
H
u
r
r
a
y
J
i
m
!
jim - 10/23/07 19:55
Maybe at 50K :)
Maybe at 50K :)
10/22/2007 23:48 #41757
RSpec with AutotestCategory: programming
(You can totally skip reading this journal, I am writing this for me and my happiness.)
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):
New way:
But, that is a bad example because it doesn't show all the mocking, like:
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.
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.
tinypliny - 10/23/07 03:01
The inane commenter is baaaaaa ack.
Actually, for a change, I think I just might understand your happiness at finding this autocheck tool. It's somewhat like writing a lengthy SAS/R code and finding out several lines later that the resultant analysis isn't what you wanted because of some stupid error in the code.
How nifty to have some program run chunks of your saved code in the background, as you write *and* let you know how you are doing. That totally rocks! Congrats on the find!
The inane commenter is baaaaaa ack.
Actually, for a change, I think I just might understand your happiness at finding this autocheck tool. It's somewhat like writing a lengthy SAS/R code and finding out several lines later that the resultant analysis isn't what you wanted because of some stupid error in the code.
How nifty to have some program run chunks of your saved code in the background, as you write *and* let you know how you are doing. That totally rocks! Congrats on the find!
Ya, everything is awesome except that multi file flash uploads don't work in leopard in any browser using the latest flash 9 player. That sucks!!! It doesnt work on estrip. It doesn't work on swfupload and it doesn't work at flickr. Argh. How could no one have caught that at Adobe. To make it worse, there is no way to detect it is on leopard using firefox as nothing about the user agent seems different than the tiger one.