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

  • 10.09.05
    2

    Sunday Oct 09, 2005

    At one point there at Cedar's Restaurant I was looking around at ever…
  • 10.08.05
    3

    Saturday Oct 08, 2005

    Ugh. Blew my video card while trying to replace its broken fan. I …
  • 10.06.05
    4

    Thursday Oct 06, 2005

    This one has some possibilities for me, primarily because of the inte…
  • 10.05.05
    6

    Wednesday Oct 05, 2005

    It's that time of year again: November is National Novel Writer's Mo…
  • 10.04.05
    2

    Tuesday Oct 04, 2005

    Read More
  • 10.01.05
    1

    Saturday Oct 01, 2005

    Yesterday was obnoxious, drama-queen stuff. Yes, I had a client go a…
  • 09.28.05
    5

    Thursday Sep 29, 2005

    A client today told me that he reviewed the survey with his client an…
  • 09.23.05
    5

    Friday Sep 23, 2005

    World of Warcraft alas is no more. I melted it down and spit on it, …
  • 09.23.05
    2

    Friday Sep 23, 2005

    Thanks go out to everyone who left well-wishes. Thanks to Kate again…
  • 09.17.05
    8

    Sunday Sep 18, 2005

    The phone call at dinner was from my mom. My dad died. I'm mo…

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

23
years
10
months
8
days
  • 5,509,826 fans
  • 41,393 fans
  • 10,327,617 followers
  • 4,598 SuicideGirls
  • 1,116,465 followers
  • 14,938,177 photos
  • 321,315 followers
  • 61,438,131 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