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

  • 08.28.05
    1

    Monday Aug 29, 2005

    Here's good stuff. ---- A friend from Los Angeles tracked me do…
  • 08.19.05
    9

    Friday Aug 19, 2005

    If someone tells you that they're training to be a glassblower, doesn…
  • 08.18.05
    4

    Thursday Aug 18, 2005

    Here's a really fascinating article about the science and magic of fo…
  • 08.17.05
    2

    Wednesday Aug 17, 2005

    So I've been drinking a little tonight, just gin and club soda, a sor…
  • 08.15.05
    9

    Monday Aug 15, 2005

    Tonight Lankakitten and I ate at Lil' John's diner. It reminded me o…
  • 08.10.05
    9

    Wednesday Aug 10, 2005

    Being a proud pet owner (guardian? pet chef?), when my cats get stuck…
  • 08.04.05
    5

    Thursday Aug 04, 2005

    At Whole Foods I bought a 4-pack of Reed's Premium Ginger Ale. It wa…
  • 07.31.05
    2

    Monday Aug 01, 2005

    Ever wonder if your mood goes in cycles, like you'll have maybe three…
  • 07.26.05
    6

    Tuesday Jul 26, 2005

    Lankakitten just bought a great hoodie for $10 on eBay. Too bad it's…
  • 07.24.05
    5

    Sunday Jul 24, 2005

    A family with two kids was seated next to us in the thai restaurant t…

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

23
years
10
months
9
days
  • 5,509,826 fans
  • 41,393 fans
  • 10,327,617 followers
  • 4,598 SuicideGirls
  • 1,115,721 followers
  • 14,939,416 photos
  • 321,315 followers
  • 61,441,919 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