Login
Forgot Password?

OR

Login with Google Login with Twitter Login with Facebook
  • Join
  • Profiles
  • Groups
  • SuicideGirls
  • Photos
  • Videos
  • Shop
Vital Stats

bluetrust

San Gabriel Valley

Member Since 2004

Followers 23 Following 24

  • Everything
  • Photos
  • Video
  • Blogs
  • Groups
  • From Others

Tuesday Nov 22, 2005

Nov 22, 2005
0
  • Facebook
  • Tweet
  • Email
I thught it was impossible to use apple juice as a mixr.

Behold, the hot toddy!

1. Fille a cup with applue juice
2. add dessert spices (cinnamon, ginger, etc.)
3. microwave forever until hot
4. add rum

behold! I have found the fueld for going to the gym.

* * *
Later update: Ruby has no "for" loop!

(Mind is blown!)

* * *
After having my mind blown another three times by the Ruby documentation, I'm ready to commit. This is love at first sight.

I was able to recreate an 11 page object I wrote in Perl in just a half page of Ruby. It took an hour the first time around, and this time took just two minutes. Mind is BLOWN!


class User
attr_reader :username, :password, :email, :first, :last
attr_writer :username, :password, :email, :first, :last

def initialize(username,password,email,first,last)
@username = username
@password = password
@email = email
@first = first
@last = last
end
end


* * *

Wait, Ruby does have a "for loop" I was drinking and missed it.

Still, this is fucking cool:

[ bluetrust, lankakitten ].each { | user |

puts "I am #{user.username} and my password is #{user.password}"
}
VIEW 5 of 5 COMMENTS
trevallion:
Must be all that capitalism.
Nov 22, 2005
kamikaze_kid:
tongue
Nov 22, 2005

More Blogs

  • 05.14.05
    9

    Saturday May 14, 2005

    Last night, cosyne, kramit1212, lankakitten, and I went to the opera …
  • 05.11.05
    5

    Wednesday May 11, 2005

    "Grunka Lunka Dunkity Doo, we've got a friendly warning for you. Grun…
  • 05.05.05
    2

    Thursday May 05, 2005

    Lankakitten and myself are playing Toowntown Online at the moment. I…
  • 04.26.05
    5

    Tuesday Apr 26, 2005

    This morning I got up at 7AM and walked to 7-11 for a Monster energy …
  • 04.17.05
    1

    Sunday Apr 17, 2005

    Enjoyed Cosyne's Thusday night one A.M. breakfast and Saturday's Worl…
  • 04.13.05
    7

    Wednesday Apr 13, 2005

    Send me all your money and we'll go about reconstructing your worldvi…
  • 04.03.05
    8

    Sunday Apr 03, 2005

    I'd just like to say that I actually really like techno. I've been i…
  • 03.24.05
    5

    Thursday Mar 24, 2005

    I haven't been to a restaurant in almost two weeks. That's almost a …
  • 03.20.05
    0

    Monday Mar 21, 2005

    Smash! Crunk. Captain of the Internet
  • 02.18.05
    6

    Friday Feb 18, 2005

    Avoiding UPS, and red sparkling wine (Originally conceived for my bl…

We at SuicideGirls have been celebrating alternative pin-up girls for:

23
years
10
months
12
days
  • 5,509,826 fans
  • 41,393 fans
  • 10,327,617 followers
  • 4,598 SuicideGirls
  • 1,115,273 followers
  • 14,941,306 photos
  • 321,315 followers
  • 61,446,399 comments
  • Join
  • Profiles
  • Groups
  • Photos
  • Videos
  • Shop
  • Help
  • About
  • Press
  • LIVE

Legal/Tos | DMCA | Privacy Policy | 18 U.S.C. 2257 Record-Keeping Requirements Compliance Statement | Contact Us | Vendo Payment Support
©SuicideGirls 2001-2025

Press enter to search
Fast Hi-res

Click here to join & see it all...

Crop your photo