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.06.06
    4

    Saturday May 06, 2006

    A big cloud of smoke just went by my office window. I should go chec…
  • 05.05.06
    3

    Friday May 05, 2006

    [deleted entry] Poof. I shouldn't complain about work.
  • 04.30.06
    5

    Monday May 01, 2006

    Freckle had a really great wedding, maybe the best I've ever attended…
  • 04.28.06
    4

    Friday Apr 28, 2006

    Lankakitten posted in her journal: Mike and I met a real estate agen…
  • 04.26.06
    3

    Wednesday Apr 26, 2006

    I'm on a diet. I made it up. I call it the gourmet food diet. In…
  • 04.19.06
    2

    Wednesday Apr 19, 2006

    I want to start a company that rents scaffolding so I could call it E…
  • 04.15.06
    2

    Saturday Apr 15, 2006

    I can't think of anything nice to say about Canada so I'll just say t…
  • 04.10.06
    3

    Tuesday Apr 11, 2006

    In the past two days I've gotten into internet message board fights w…
  • 04.08.06
    1

    Saturday Apr 08, 2006

    Today I acted like a bit of a grifter. A couple of years ago, I se…
  • 04.07.06
    1

    Saturday Apr 08, 2006

    Did I ever tell you the story of my first business? I was in 5th g…

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

23
years
10
months
4
days
  • 5,509,826 fans
  • 41,393 fans
  • 10,327,617 followers
  • 4,597 SuicideGirls
  • 1,117,572 followers
  • 14,936,958 photos
  • 321,315 followers
  • 61,435,114 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