apeiros_ changed the topic of #ruby-lang to: Ruby 2.0.0-p0: http://ruby-lang.org (Ruby 1.9.3-p392) || Paste >3 lines of text on http://gist.github.com
Mon_Ouie has quit [Ping timeout: 252 seconds]
nixterrimus has joined #ruby-lang
nixterrimus has quit [Ping timeout: 248 seconds]
sailias has quit [Quit: Leaving.]
nathanstitt has joined #ruby-lang
kirin` has joined #ruby-lang
Nisstyre has joined #ruby-lang
kstone has joined #ruby-lang
migz has joined #ruby-lang
postmodern_ has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 276 seconds]
postmodern has quit [Ping timeout: 245 seconds]
postmodern_ has quit [Client Quit]
postmodern has joined #ruby-lang
migz has quit [Client Quit]
tenderlove has quit [Ping timeout: 276 seconds]
kstone has left #ruby-lang [#ruby-lang]
migz has joined #ruby-lang
zachlatta has quit [Remote host closed the connection]
nixterrimus has joined #ruby-lang
Markvilla has quit [Quit: Computer has gone to sleep.]
kith has quit [Quit: kith]
kith has joined #ruby-lang
tylersmith has joined #ruby-lang
tenderlove has joined #ruby-lang
kith has quit [Client Quit]
pskosinski has quit [Quit: pskosinski]
kith has joined #ruby-lang
nixterrimus has quit [Ping timeout: 260 seconds]
pskosinski has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
tenderlove has quit [Remote host closed the connection]
kith has quit [Quit: kith]
kith has joined #ruby-lang
benanne has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
brianpWins has joined #ruby-lang
sduckett has joined #ruby-lang
mikestok has joined #ruby-lang
kith has quit [Quit: kith]
kith has joined #ruby-lang
kith has quit [Client Quit]
postmodern has quit [Quit: Leaving]
kith has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
sepp2k1 has quit [Read error: Connection reset by peer]
benanne has quit [Quit: kbai]
powershellyoda has joined #ruby-lang
krohrbaugh has joined #ruby-lang
krohrbaugh has quit [Client Quit]
mineiro has quit [Read error: Connection reset by peer]
nixterrimus has joined #ruby-lang
mineiro has joined #ruby-lang
jmaya has joined #ruby-lang
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
nixterrimus has quit [Ping timeout: 248 seconds]
nixterrimus has joined #ruby-lang
threedaymonk has joined #ruby-lang
jmaya has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
io_syl has quit [Ping timeout: 260 seconds]
kith has quit [Quit: kith]
kith has joined #ruby-lang
io_syl has joined #ruby-lang
tylersmith has joined #ruby-lang
retro|cz has quit [Read error: Operation timed out]
sduckett has quit [Ping timeout: 264 seconds]
mikestok has quit [Quit: Computer has gone to sleep.]
migz has quit [Quit: Leaving.]
havenwood has quit [Remote host closed the connection]
Hellion has joined #ruby-lang
symm- has quit [Ping timeout: 268 seconds]
kain has quit [Ping timeout: 264 seconds]
Nautes has quit [Quit: Leaving]
swav has joined #ruby-lang
Aria has joined #ruby-lang
poga has joined #ruby-lang
Hellion has quit [Remote host closed the connection]
nixterrimus has quit [Ping timeout: 276 seconds]
krohrbaugh has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 258 seconds]
dmiller has joined #ruby-lang
powershellyoda has quit [Ping timeout: 268 seconds]
<dmiller> I am reading text from a remote socket but it always blocks. I assume that is because the remote server never sent a \n?
srbaker has quit [Quit: Computer has gone to sleep.]
srbaker has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
srbaker has quit [Client Quit]
sduckett has joined #ruby-lang
sush24 has joined #ruby-lang
sduckett has quit [Ping timeout: 268 seconds]
Xzyx987X has quit [Ping timeout: 264 seconds]
dmiller has quit [Ping timeout: 258 seconds]
sduckett has joined #ruby-lang
ryez has quit [Quit: Page closed]
nathanstitt has quit [Quit: I growing sleepy]
Aria has quit [Remote host closed the connection]
krohrbaugh has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 252 seconds]
charliesome has joined #ruby-lang
stardiviner has joined #ruby-lang
Nisstyre has quit [Quit: Leaving]
Nisstyre has joined #ruby-lang
kain has joined #ruby-lang
nixterrimus has joined #ruby-lang
Xzyx987X has joined #ruby-lang
tylersmith has joined #ruby-lang
Xzyx987X has quit [Ping timeout: 255 seconds]
tylersmith has quit [Ping timeout: 252 seconds]
glebm has quit [Ping timeout: 256 seconds]
glebm has joined #ruby-lang
rushed has joined #ruby-lang
Banistergalaxy has quit [Ping timeout: 258 seconds]
drumond19 has joined #ruby-lang
Xzyx987X has joined #ruby-lang
tsion has joined #ruby-lang
tsion has joined #ruby-lang
tsion has quit [Changing host]
sush24 has quit [Read error: Connection reset by peer]
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
drumond19 has quit [Remote host closed the connection]
krohrbaugh has joined #ruby-lang
sush24 has joined #ruby-lang
idkazuma has quit [Remote host closed the connection]
jsullivandigs has quit [Ping timeout: 252 seconds]
krohrbaugh has quit [Ping timeout: 260 seconds]
Xzyx987X has quit [Ping timeout: 264 seconds]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
sduckett has quit [Ping timeout: 256 seconds]
idkazuma has joined #ruby-lang
idkazuma has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
Xzyx987X has joined #ruby-lang
stardiviner has quit [Remote host closed the connection]
mucker has joined #ruby-lang
krohrbaugh has joined #ruby-lang
nghialv2607 has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
krohrbaugh has quit [Ping timeout: 252 seconds]
mineiro_ has joined #ruby-lang
mineiro has quit [Ping timeout: 258 seconds]
nofxx__ has quit [Ping timeout: 268 seconds]
megha has quit [Ping timeout: 268 seconds]
sduckett has joined #ruby-lang
vlad_starkov has joined #ruby-lang
vlad_sta_ has joined #ruby-lang
arubin has quit [Quit: Textual IRC Client: www.textualapp.com]
vlad_sta_ has quit [Remote host closed the connection]
sduckett has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Ping timeout: 258 seconds]
Mon_Ouie has joined #ruby-lang
megha has joined #ruby-lang
megha has quit [Quit: WeeChat 0.4.0]
zachlatta has joined #ruby-lang
fsvehla has joined #ruby-lang
mucker has quit [Quit: leaving]
brianpWins has joined #ruby-lang
swav has quit [Ping timeout: 256 seconds]
krohrbaugh has joined #ruby-lang
justinram has joined #ruby-lang
nghialv2607 has quit [Remote host closed the connection]
krohrbaugh has quit [Read error: Operation timed out]
oneirophren has joined #ruby-lang
lguardiola has quit [Ping timeout: 245 seconds]
megha has joined #ruby-lang
MouseTheLuckyDog has quit [Quit: Leaving]
vlad_starkov has joined #ruby-lang
mytrile has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 256 seconds]
cordax has joined #ruby-lang
mineiro_ has quit [Read error: Connection reset by peer]
mineiro has joined #ruby-lang
crackit__ has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
dhruvasagar has quit [Read error: Operation timed out]
Quatrerwin has joined #ruby-lang
io_syl has quit [Quit: Computer has gone to sleep.]
mistym has quit [Remote host closed the connection]
workmad3 has joined #ruby-lang
dhruvasagar has joined #ruby-lang
DomKM has quit [Quit: Leaving.]
glebm has quit [Ping timeout: 256 seconds]
oneirophren has quit [Ping timeout: 256 seconds]
meise_ has quit [Ping timeout: 248 seconds]
meise has joined #ruby-lang
glebm has joined #ruby-lang
krohrbaugh has joined #ruby-lang
kain has quit [Ping timeout: 264 seconds]
kain has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 260 seconds]
nmeum has quit [Quit: WeeChat 0.4.1-dev]
nmeum has joined #ruby-lang
Quatrerwin has quit [Remote host closed the connection]
nmeum has left #ruby-lang [#ruby-lang]
justinram has quit [Remote host closed the connection]
meise has quit [Quit: leaving]
krohrbaugh has quit [Quit: Leaving.]
glebm has quit [Read error: Connection reset by peer]
glebm has joined #ruby-lang
nixterrimus has quit [Ping timeout: 252 seconds]
kgrz has joined #ruby-lang
vlad_starkov has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 256 seconds]
mytrile has joined #ruby-lang
marr has joined #ruby-lang
megha has quit [Ping timeout: 268 seconds]
postmodern has joined #ruby-lang
cofin has joined #ruby-lang
cofin has quit [Quit: cofin]
cofin has joined #ruby-lang
cofin has quit [Client Quit]
megha has joined #ruby-lang
barttenbrinke has joined #ruby-lang
postmodern has quit [Ping timeout: 256 seconds]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
kain has left #ruby-lang ["exit"]
mytrile has quit [Remote host closed the connection]
GarethAdams has joined #ruby-lang
alessio_rocco has joined #ruby-lang
nixterrimus has joined #ruby-lang
kgrz has quit [Quit: Computer has gone to sleep.]
krohrbaugh has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 256 seconds]
barttenbrinke has quit [Remote host closed the connection]
stardiviner has joined #ruby-lang
postmodern has joined #ruby-lang
stardiviner has quit [Remote host closed the connection]
stardiviner_ has joined #ruby-lang
vlad_starkov has joined #ruby-lang
mineiro has quit [Read error: Connection reset by peer]
mineiro has joined #ruby-lang
dhruvasagar has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 248 seconds]
workmad3 has quit [Ping timeout: 268 seconds]
fosky has joined #ruby-lang
infecto has quit [Read error: Operation timed out]
infecto has joined #ruby-lang
tsion has quit [Quit: Leaving]
zommi has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
brianpWins has quit [Quit: brianpWins]
mbj has joined #ruby-lang
zommi has quit [Remote host closed the connection]
sush24 has joined #ruby-lang
krohrbaugh has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 256 seconds]
workmad3 has joined #ruby-lang
glebm has quit [Ping timeout: 258 seconds]
sush24 has quit [Client Quit]
glebm has joined #ruby-lang
blacktulip has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 252 seconds]
workmad3 has quit [Ping timeout: 252 seconds]
nixterrimus has quit [Ping timeout: 248 seconds]
r0bglees0n has quit [Ping timeout: 248 seconds]
mytrile has joined #ruby-lang
vlad_starkov has joined #ruby-lang
banisterfiend has joined #ruby-lang
<banisterfiend> yorickpeterse: hup, hup holland, hup congrats on the new king
<yorickpeterse> heh
* yorickpeterse is hunting down memory leaks in C
<yorickpeterse> so exciting
<yorickpeterse> especially when Valgrind reports a leak in X but there's no indication about what's causing it
vlad_starkov has quit [Ping timeout: 248 seconds]
rushed has quit [Quit: rushed]
barttenbrinke has joined #ruby-lang
mbj has quit [Ping timeout: 248 seconds]
poga has quit [Remote host closed the connection]
speed82 has joined #ruby-lang
speed82 has left #ruby-lang [#ruby-lang]
benanne has joined #ruby-lang
glebm has quit [Ping timeout: 246 seconds]
swav has joined #ruby-lang
glebm has joined #ruby-lang
pskosinski has quit [Ping timeout: 264 seconds]
<erikh> dem symbols
marr has quit [Ping timeout: 264 seconds]
krohrbaugh has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 252 seconds]
Squarepy has joined #ruby-lang
symm- has joined #ruby-lang
banisterfiend has quit [Remote host closed the connection]
Squarepy has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
Markvilla has joined #ruby-lang
ikrima has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Ping timeout: 256 seconds]
barttenbrinke has quit [Remote host closed the connection]
<whitequark> erikh: huh?
<injekt> he said DEM SYMBOLS
<yorickpeterse> :'DEM SYMBOLS'
dhruvasagar has quit [Ping timeout: 252 seconds]
migz has joined #ruby-lang
mikestok has joined #ruby-lang
idkazuma has joined #ruby-lang
idkazuma has quit [Remote host closed the connection]
fosky has quit [Ping timeout: 264 seconds]
sush24 has joined #ruby-lang
mikestok has quit [Client Quit]
symm- has quit [Ping timeout: 258 seconds]
stef_204 has joined #ruby-lang
idkazuma has joined #ruby-lang
myappleguy has joined #ruby-lang
idkazuma has quit [Remote host closed the connection]
krohrbaugh has joined #ruby-lang
retro|cz has joined #ruby-lang
Squarepy has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 252 seconds]
yorickpeterse has quit [Quit: Linode upgrades. Countdown to a broken server: about 30 minutes]
mbj has joined #ruby-lang
beiter has joined #ruby-lang
dhruvasagar has joined #ruby-lang
idkazuma has joined #ruby-lang
rushed has joined #ruby-lang
megha has quit [Quit: WeeChat 0.4.0]
idkazuma has quit [Remote host closed the connection]
rushed has quit [Client Quit]
jxie has quit [Quit: leaving]
vlad_starkov has joined #ruby-lang
sepp2k has joined #ruby-lang
MaddinXx has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 264 seconds]
<andrewvos> simbils
<andrewvos> dem cymbals
<andrewvos> clang clang
postmodern has quit [Quit: Leaving]
mikestok has joined #ruby-lang
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<ndrst> imbeciles?
glebm has quit [Quit: Textual IRC Client: www.textualapp.com]
<andrewvos> thimes
<andrewvos> err
<andrewvos> thimbles
dhruvasagar has quit [Ping timeout: 264 seconds]
dhruvasagar has joined #ruby-lang
io_syl has joined #ruby-lang
Squarepy has quit [Quit: Leaving]
yorickpeterse has joined #ruby-lang
mbj has quit [Ping timeout: 264 seconds]
beiter has quit [Quit: beiter]
pskosinski has joined #ruby-lang
Markvilla has quit [Read error: Connection reset by peer]
gnufied has joined #ruby-lang
Markvilla has joined #ruby-lang
mikestok has quit [Quit: Computer has gone to sleep.]
Markvilla has quit [Read error: Connection reset by peer]
Markvilla has joined #ruby-lang
Markvilla has quit [Read error: Connection reset by peer]
mucker has joined #ruby-lang
Markvilla has joined #ruby-lang
Markvilla has quit [Read error: Connection reset by peer]
Markvilla has joined #ruby-lang
Markvilla has quit [Read error: Connection reset by peer]
Markvilla has joined #ruby-lang
asunderland has joined #ruby-lang
Markvilla has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
Markvilla has joined #ruby-lang
imperator has joined #ruby-lang
<imperator> greetings programs
<andrewvos> hai
Markvilla has quit [Read error: Connection reset by peer]
Markvilla has joined #ruby-lang
<imperator> no one's done an epoll lib, eh?
Markvilla has quit [Read error: Connection reset by peer]
benanne has quit [Quit: kbai]
<gnufied> they have
<gnufied> hold on
Markvilla has joined #ruby-lang
<gnufied> imperator: ^
Markvilla has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Ping timeout: 252 seconds]
<gnufied> imperator: in fact there are more than one
asunderland has quit [Ping timeout: 248 seconds]
Markvilla has joined #ruby-lang
<erikh> imperator: hey!
<erikh> EM has some epoll stuff as well
Markvilla has quit [Read error: Connection reset by peer]
justinram has joined #ruby-lang
chris2_ has joined #ruby-lang
<imperator> howdy erikh
<gnufied> of course, but epoll is like 100 pound guerilla. I was assuming imperator wanted a lightweight epoll library
Markvilla has joined #ruby-lang
Markvilla has quit [Read error: Connection reset by peer]
chris2 has quit [Remote host closed the connection]
Markvilla has joined #ruby-lang
<imperator> i was just curious after reading this article: http://www.toptal.com/python/how-i-made-porn-20x-more-efficient-with-python
<imperator> (yes, python, but it's the backend implementation that matters here)
<imperator> (yes, yes, porn, haha, read the article)
Markvilla has quit [Read error: Connection reset by peer]
Markvilla has joined #ruby-lang
<imperator> gnufied, thanks for the info
<erikh> neat, marked it for reading later
Markvilla has quit [Read error: Connection reset by peer]
Markvilla has joined #ruby-lang
dzema has joined #ruby-lang
Markvilla has quit [Read error: Connection reset by peer]
Markvilla has joined #ruby-lang
Markvilla has quit [Read error: Connection reset by peer]
Markvilla has joined #ruby-lang
cofin has joined #ruby-lang
Markvilla has quit [Read error: Connection reset by peer]
dzema has quit [Quit: Leaving.]
gnufied has quit [Quit: Leaving.]
Markvilla has joined #ruby-lang
retro|cz has quit [Ping timeout: 256 seconds]
dzema has joined #ruby-lang
<dzema> #join ruby-dev
Markvilla has quit [Read error: Connection reset by peer]
ndrst has quit [Quit: WeeChat 0.4.0]
ndrst has joined #ruby-lang
GarethAdams has quit [Quit: Leaving...]
<imperator> no, you can't make me!
megha has joined #ruby-lang
krohrbaugh has joined #ruby-lang
wallerdev has joined #ruby-lang
dzema has quit [Quit: dzema]
krohrbaugh has quit [Ping timeout: 256 seconds]
xcombelle has joined #ruby-lang
GarethAdams has joined #ruby-lang
xcombelle has quit [Read error: No route to host]
xcombelle has joined #ruby-lang
GarethAdams has quit [Client Quit]
retro|cz has joined #ruby-lang
mineiro has quit [Read error: Connection reset by peer]
mineiro has joined #ruby-lang
gnufied has joined #ruby-lang
gnufied has quit [Client Quit]
chris2 has joined #ruby-lang
<injekt> wat
kgrz has joined #ruby-lang
<imperator> injekt, bad attempt at humor i guess (was responding to dzema)
chris2_ has quit [Quit: und wech...]
<injekt> imperator: I know, I was wat'ing at him, not yourself :-)
* imperator just realized minitest has benchmarking
<injekt> yeah man!
<injekt> I <3 it
migz has quit [Quit: Leaving.]
runeb has joined #ruby-lang
vlad_starkov has joined #ruby-lang
swav has quit [Remote host closed the connection]
mytrile has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 252 seconds]
swav has joined #ruby-lang
stardiviner_ has quit [Quit: No Ping reply in 180 seconds.]
jastix has joined #ruby-lang
stardiviner has joined #ruby-lang
swav has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
countdig1 has quit [Quit: leaving]
<yorickpeterse> injekt: any comments on DO so far?
sailias has joined #ruby-lang
<yorickpeterse> I'm a bit reluctant jumping ship since Linode is stable (besides getting hacked), but the price is too much
<yorickpeterse> plus I want two servers instead of one, which with Linode would be too expensive
plains has quit [Quit: leaving]
kgrz has quit [Quit: Computer has gone to sleep.]
countdigi has joined #ruby-lang
<whitequark> yorickpeterse: DO?
<injekt> yorickpeterse: I love it but I haven't had any issues with it yet, linodes support is exceptional
<injekt> not sure how digital oceans is but the system has worked perfectly
<yorickpeterse> whitequark: DigitalOcean
<yorickpeterse> injekt: meh, I don't care for support really
<yorickpeterse> haven't needed it in the past 2 years anyway
<yorickpeterse> brb, shopping tiem
krohrbaugh has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 252 seconds]
imperator has quit [Quit: Leaving]
habanany has joined #ruby-lang
habanany has left #ruby-lang [#ruby-lang]
vlad_starkov has joined #ruby-lang
mbj has joined #ruby-lang
<injekt> yorickpeterse: aye
DomKM has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
wallerdev has joined #ruby-lang
nathanstitt has joined #ruby-lang
mbj has quit [Read error: Connection reset by peer]
rking has quit [Quit: Yes! Finally fixed my IRC/UTF-8 issues.]
stardiviner has quit [Quit: No Ping reply in 180 seconds.]
stardiviner has joined #ruby-lang
rking has joined #ruby-lang
jastix has quit [Remote host closed the connection]
hramrach_ has joined #ruby-lang
meise has joined #ruby-lang
apeiros has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby-lang
tbuehlmann has joined #ruby-lang
habanany has joined #ruby-lang
<zzak> inkjepson
lazaro has joined #ruby-lang
habanany has left #ruby-lang [#ruby-lang]
lazaro has quit [Client Quit]
yfeldblum has quit [Ping timeout: 258 seconds]
mbj has joined #ruby-lang
breakingthings has joined #ruby-lang
mytrile has joined #ruby-lang
mineiro has quit [Read error: Connection reset by peer]
mineiro has joined #ruby-lang
<injekt> zzak: :D
<erikh> fart
intellitech has quit [Quit: intellitech]
<injekt> erikh is here
<erikh> this test suite is sooooooowlow
<injekt> I can smell him
<erikh> thanks
<injekt> <3
<zzak> hai
<erikh> ohai
<injekt> ohai
<zzak> ohayou
<manveru> gozaimasu
TheNotary has joined #ruby-lang
<erikh> heh, I need to put this down for a while, I think
<erikh> the new tomb raider is actually not a complete pile of sexist fail, fwiw
<erikh> it's kind of.. good even
krohrbaugh has joined #ruby-lang
mikestok has joined #ruby-lang
mbj has quit [Quit: leaving]
<manveru> erikh: looks like it's on sale atm, is it worth 32 usd?
mitchty has quit [Ping timeout: 245 seconds]
krohrbaugh has quit [Ping timeout: 264 seconds]
mitchty has joined #ruby-lang
baseonmars has quit [Ping timeout: 264 seconds]
Silex has quit [Ping timeout: 256 seconds]
TheNotary has quit [Remote host closed the connection]
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
jadus has joined #ruby-lang
mitchty has quit [Ping timeout: 258 seconds]
mikestok has quit [Quit: Computer has gone to sleep.]
mitchty has joined #ruby-lang
<zzak> i 1
<zzak> mt
lazaro has joined #ruby-lang
<yorickpeterse> back
<yorickpeterse> with new shoes, yay
zachlatta has quit [Remote host closed the connection]
r0bglees0n has joined #ruby-lang
benanne has joined #ruby-lang
<zzak> yorickpeterse: hows the euruko cfp going?
<yorickpeterse> hard to say at this point. In the current phase people can select up to 10 talks they'd like to see
<yorickpeterse> so far I think I've only seen 2 tweets mentioning mine though :/
<zzak> what
<yorickpeterse> https://twitter.com/euruko see all the retweets
<zzak> i tweeted a few
lazaro has quit [Quit: Leaving]
<zzak> you'd see them if you followed me :(
<yorickpeterse> you have Twitter?
<yorickpeterse> heh, that sounds a bit silly
<zzak> i has a twitter
<retro|cz> yorickpeterse, no, he doesn't
mitchty has quit [Ping timeout: 258 seconds]
<zzak> it's filled with cats
<yorickpeterse> zzak: well what is it, then I can fix that problem
migz has joined #ruby-lang
<yorickpeterse> oooooh shit, GIMME
<zzak> its underscore nick
<yorickpeterse> https://twitter.com/_nick I don't think this is you
<zzak> try _zzak
Squarepy has joined #ruby-lang
<yorickpeterse> oh derp
<yorickpeterse> ah yes, this is more like it
<yorickpeterse> CAT VIDEOS
<yorickpeterse> wohoo
ikrima has joined #ruby-lang
<zzak> haha
mitchty has joined #ruby-lang
<yorickpeterse> I should probably hook up a Twitter account to my cat's Atom feed (aptly called "Catom feed"), though I haven't updated it in a while
baba has joined #ruby-lang
megha has quit [Ping timeout: 264 seconds]
badeball has quit [Quit: leaving]
migz has quit [Quit: Leaving.]
<zzak> i should put a warning in my bio
badeball has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
julianhurley has joined #ruby-lang
apeiros has joined #ruby-lang
julianhurley has quit [Remote host closed the connection]
julianhurley has joined #ruby-lang
ulisescab has joined #ruby-lang
julianhurley has quit [Remote host closed the connection]
julianhurley has joined #ruby-lang
julianhurley has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 260 seconds]
runeb has quit [Remote host closed the connection]
jadus has quit [Quit: Page closed]
runeb has joined #ruby-lang
runeb has quit [Read error: Connection reset by peer]
runeb- has joined #ruby-lang
runeb- is now known as runeb
srbaker has joined #ruby-lang
poga has joined #ruby-lang
MaddinXx has quit [Remote host closed the connection]
mikestok has joined #ruby-lang
srbaker has quit [Client Quit]
mikestok has quit [Client Quit]
kirin` has quit [Quit: leaving]
FiXato has quit [Remote host closed the connection]
kirin` has joined #ruby-lang
FiXato has joined #ruby-lang
krohrbaugh has joined #ruby-lang
lsegal has joined #ruby-lang
mikestok has joined #ruby-lang
krohrbaugh has quit [Read error: Operation timed out]
julianhurley has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
ulisescab has quit [Remote host closed the connection]
<yorickpeterse> injekt: what OS/kernel do you run on DO? Seems Debian only comes with Linux 2.6
<yorickpeterse> which is old as fuck
poga has quit [Remote host closed the connection]
intellitech has joined #ruby-lang
intellitech has joined #ruby-lang
<heftig> yorickpeterse: 2.6 is not exactly fair, though. micro versioning then is minor versioning now
vlad_starkov has quit [Ping timeout: 252 seconds]
justinram has quit [Remote host closed the connection]
justinram has joined #ruby-lang
judofyr has joined #ruby-lang
<judofyr> hey folks
<yorickpeterse> heftig: eh?
<yorickpeterse> if debian came with something like Linux 3.2 I'd understand but 2.6 is stone age old
kgrz has joined #ruby-lang
<heftig> yorickpeterse: the versioning scheme changed
<judofyr> look, I wrote a new programming language: https://github.com/judofyr/tvo-lang
<heftig> 2.6.X were the release cycles
<judofyr> (well, it's not really novel)
<heftig> instead of 2.6.40, they released 3.0 and started increasing 3.X instead
<yorickpeterse> there are still quite a few differences between the two versions
<yorickpeterse> most notable 3.8 and higher have quite a few performance and driver fixes
<yorickpeterse> (err, 3.6 even I believe)
<heftig> if you're talking about 2.6 versions, you should include the third number
<yorickpeterse> judofyr: can it run Rails
<yorickpeterse> 2.6.32 in this case
<yorickpeterse> hm, 2.6.34 is the most recent
<judofyr> yorickpeterse: very swiftly
<yorickpeterse> judofyr: why did you not use Go/
<yorickpeterse> * ?
<judofyr> :)
<whitequark> judofyr: um... programming languages cannot be immutable
<yorickpeterse> yes they can. After the first run they will keep doing the same regardless of what code you give it
<whitequark> "functional" already conveys the meaning, to an extent
<judofyr> whitequark: I know, I know. but it only has immutable data structures (I think you got that?)
<judofyr> true
<whitequark> judofyr: can it forward messages?
<judofyr> whitequark: soon
<judofyr> whitequark: I'm not going to add inheritance, but a simple way to delegate messages is coming
<judofyr> whitequark: ( ) is a comment
<whitequark> oh.
mineiro has quit [Read error: Connection reset by peer]
<judofyr> just explaining the stack effect
<erikh> manveru: I think so, but I haven't beaten it yet
<erikh> I bought it two days ago
mineiro has joined #ruby-lang
<whitequark> judofyr: er... where is dem runtime
<judofyr> whitequark: what runtime?
<whitequark> oh I see, two.rb
<judofyr> ah
<judofyr> whitequark: now that you're reading the code: yes, I lied, it does have one mutable construct: the main environment.
<judofyr> whitequark: but it's easier that way (so :foo bar ; :bar ;) will work nicely
<judofyr> whitequark: once again: I don't think there's much novelty in this language (yet). it's basically Joy with method dispatch on the element on the top of the stack. pretty similar to Factor.
<judofyr> but it was nice when I spent a few hours writing map/fold/filter/wrap/concat yesterday without having an interpreter, and when I wrote the interpreter today they ran perfectly \o/
<whitequark> all hail puzzle languages
<judofyr> maybe I'll investigate (1) how to add concurrency (actor model perhaps?) or (2) full-program optimizer
<whitequark> judofyr: your language is excellent when it comes to studying optimizations
<whitequark> ...
<whitequark> well, in the sense that applying optimizations to it is damn easy
<judofyr> yup
<whitequark> or, that it doesn't represent most real-world challenges :D
<whitequark> but yeah
<judofyr> the only tricky thing is that code blocks are just list. see for instance this line: https://github.com/judofyr/tvo-lang/blob/master/lib/list.tvo#L24
<whitequark> so?
<judofyr> if you pass in [2 *], that line will generate [uncons [2 *] dip]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
<whitequark> no idea what that is supposed to do
<whitequark> brb
<judofyr> heh
mucker has quit [Quit: leaving]
MaddinXx has joined #ruby-lang
barttenbrinke has joined #ruby-lang
dlackty_ has joined #ruby-lang
jbar has joined #ruby-lang
nathanstitt has quit [Quit: Laters]
srbaker has joined #ruby-lang
TheNotary has joined #ruby-lang
bzalasky has joined #ruby-lang
<ddfreyne> The Ruby template on wikipedia still mentions Nitro: http://en.wikipedia.org/wiki/Template:Ruby_programming_language
<ddfreyne> Nitro hasn’t been around for… years, no?
srbaker has quit [Client Quit]
<ddfreyne> Also, I’ve never heard of this before: http://en.wikipedia.org/wiki/Ruby_Document_format
srbaker has joined #ruby-lang
dhruvasagar has joined #ruby-lang
krohrbaugh has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 264 seconds]
baseonmars has joined #ruby-lang
Silex has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 255 seconds]
srbaker has quit [Quit: Computer has gone to sleep.]
dhruvasagar has quit [Read error: Connection reset by peer]
jsullivandigs has joined #ruby-lang
DomKM1 has joined #ruby-lang
vlad_starkov has joined #ruby-lang
DomKM1 has quit [Client Quit]
DomKM has quit [Ping timeout: 258 seconds]
migz has joined #ruby-lang
workmad3 has joined #ruby-lang
dhruvasagar has joined #ruby-lang
<whitequark> ddfreyne: oh plenty examples in rrreally old stdlib code
<whitequark> or maybe that's just bad conversion?
brianpWins has joined #ruby-lang
Morphie332 has joined #ruby-lang
srbaker has joined #ruby-lang
symm- has joined #ruby-lang
srbaker has quit [Client Quit]
mbj has joined #ruby-lang
retro|cz has quit [Ping timeout: 256 seconds]
bzalasky has quit [Remote host closed the connection]
jxie has joined #ruby-lang
Morphie332 has quit [Quit: Page closed]
DomKM has joined #ruby-lang
Morphix_ has joined #ruby-lang
Morphix_ has quit [Client Quit]
Morphix1995 has joined #ruby-lang
retro|cz has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
TheNotary has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 264 seconds]
migz has quit [Quit: Leaving.]
yorickpeterse is now known as devops-yorick
<whitequark> mbj: hi
ruby-lang051 has joined #ruby-lang
arooni-mobile has joined #ruby-lang
arooni-mobile__ has joined #ruby-lang
jmaya has joined #ruby-lang
devops-yorick is now known as yorickpeterse
migz has joined #ruby-lang
Squarepy has quit [Remote host closed the connection]
ikrima has quit [Quit: Computer has gone to sleep.]
nofxx__ has joined #ruby-lang
retro|cz has quit [Ping timeout: 256 seconds]
krohrbaugh has joined #ruby-lang
krohrbaugh has quit [Read error: Operation timed out]
migz has quit [Quit: Leaving.]
Squarepy has joined #ruby-lang
<yorickpeterse> so dm-core master looks pretty dead, is it still developed?
<yorickpeterse> Also, does anybody have any experience with it? Never tried it myself
<yorickpeterse> also wonder how it would handle renaming columns
<injekt> ohai
<judofyr> yorickpeterse: I think there's work done in separate repos
<yorickpeterse> hm
<yorickpeterse> meh, sequel for lyfe
jmaya has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
<injekt> <3
<injekt> my sinatra/sequel app is still getting almost 2million hits a day and has been running for almost a year
<zzak> sequel <3
Oloryn_lt2 has joined #ruby-lang
<zzak> jeremy has been awesome at maintaining it
<injekt> totally
workmad3 has joined #ruby-lang
arooni-mobile has quit [Remote host closed the connection]
arooni-mobile__ has quit [Remote host closed the connection]
Oloryn_lt2 has quit [Client Quit]
<whitequark> judofyr: re
<judofyr> whitequark: re re re
<yorickpeterse> LELELELELEL
<whitequark> I'm ready to continue discussion of your toy language, that is :)
<yorickpeterse> ok fuck this, time to drink beer. taters
* whitequark *zhirinovsky macro*
<judofyr> whitequark: see, I implemented fold: https://github.com/judofyr/tvo-lang/blob/edb9814f95235ebf9061db64d2e7bf1847c26dad/lib/list.tvo#L29 doesn't it all makes sense now?
<injekt> totally read uncons as unicorns
<whitequark> wtf is "dip"?
<whitequark> or "wrap"?
<injekt> man that syntax is confusing
<judofyr> whitequark: "dip" pops of the stack, executes the code and pushes the value on top again
mineiro has quit [Read error: Connection reset by peer]
<judofyr> whitequark: it's useful for peeking into the stack without touching the top
<judofyr> 1 2 3 [+] dip # => 3 3
<judofyr> whitequark: wrap is defined in the same file. see the stack effect. it's basically [*left, middle, *right]
mineiro has joined #ruby-lang
symm-_ has joined #ruby-lang
symm- has quit [Ping timeout: 264 seconds]
mistym has quit [Remote host closed the connection]
<mbj> whitequark: hi
<judofyr> whitequark: hang on, let me paste you a simpler example
<judofyr> and some stack effect: if (cond [T] [F] -- ), uncons ( list -- head tail ), cons ( head tail -- list )
<injekt> D:
workmad3 has quit [Read error: Operation timed out]
<judofyr> ( head tail -- list ) means that the stack will have the head and tail before (where tail = top of stack) and it will leave a list on the stack
<judofyr> oh, and: null ( list -- bool )
<judofyr> so it's very similar to Lisp's map
<judofyr> first check if it's an empty list
<judofyr> if not, it splits it up (using uncons), ignores the current top of the stack (that is, the tail), uses square to square the head, recurses, and combines it again
<judofyr> (cons (fn (car list)) (map fn (cdr list)))
DomKM has quit [Read error: Connection reset by peer]
<judofyr> basically
DomKM has joined #ruby-lang
<judofyr> (the `dup` is required because `null` consumes the value (as is seen by its stack effect)
runeb has quit [Remote host closed the connection]
<judofyr> injekt: doesn't it all make sense? :)
<judofyr> whitequark: still with me?
* judofyr can see the stack so clearly now
Aria has joined #ruby-lang
<judofyr> *sigh*
<judofyr> I think I scared them all away
<judofyr> just when I was about to introduce linrec
<mbj> judofyr: lol
<judofyr> mbj: can you see the stack clearly? :)
hramrach_ has quit [Remote host closed the connection]
hramrach_ has joined #ruby-lang
<mbj> judofyr: no, I did not even tried. busy with family.
breakingthings has quit [Quit: breakingthings]
<judofyr> mbj: no worries. you were just the only one replying :)
<mbj> judofyr: Yeah, the timing was funny.
vlad_starkov has quit [Remote host closed the connection]
runeb has joined #ruby-lang
<judofyr> whitequark: ping me if you still want to talk :)
tylersmith has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
silentivm has joined #ruby-lang
<whitequark> judofyr: sorry was afk for a bit, catching up
mytrile has joined #ruby-lang
silentivm has left #ruby-lang [#ruby-lang]
* judofyr is watching Twin Peaks in the background
<whitequark> judofyr: 1 2 3 [+] dip; won't that leave 1 5 [+] on stack?
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
<judofyr> whitequark: nah, it'll first pop off the code, then pop of the aux-value, execute the code, push the aux
<whitequark> uh I rrreallly despise this stack thingy
<whitequark> ok... then 1 5 ?
<whitequark> I think I just need to make a stack-to-SSA conversion. you know, to make it READABLE :D
<judofyr> + will execute with `1 2` on the stack. + will pop of two values, sum them, put them back on (leaving 3)
sush24 has quit [Quit: This computer has gone to sleep]
<judofyr> the the dip finishes, leaving another 3
symm-_ has quit [Read error: Connection reset by peer]
<whitequark> ooh I got it
xcombelle has quit [Remote host closed the connection]
<judofyr> so `1 2 3 [+} dip . .` will print 3 twice (`.` pops off and prints)
<judofyr> err
<judofyr> I meant [+] of cours
<judofyr> e
symm- has joined #ruby-lang
symm- has quit [Read error: Connection reset by peer]
<julianhurley> Hi
<judofyr> hi julianhurley
symm- has joined #ruby-lang
<julianhurley> hellloo
<julianhurley> Been a php dev for while, recently been learning Ruby
<julianhurley> do you reckon you could confirm a simple, n00by question? :P
symm- has quit [Read error: Connection reset by peer]
<judofyr> julianhurley: sure :)
symm- has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
<julianhurley> class Square
<julianhurley> def initialize(side_length)
<julianhurley> @side_length = side_length
<julianhurley> end
<julianhurley>
<julianhurley> def area
<julianhurley> @side_length * @side_length
<julianhurley> end
<julianhurley> end
<julianhurley> Right, now Square is a class, and area is a method, correct? But what does @ signify?
<julianhurley> ah code paste failed a bit
<judofyr> julianhurley: yikes. please use a pastie next time: pastie.org (or gist.github.com)
<julianhurley> haha okay, thanks
<judofyr> julianhurley: @ means an instance variable
<judofyr> julianhurley: instance variables are stored inside the object
<judofyr> julianhurley: I guess it's similar to PHP's properties
krohrbaugh has joined #ruby-lang
<julianhurley> Yes, thanks!
ruby-lang051 has quit [Quit: Page closed]
krohrbaugh has quit [Ping timeout: 276 seconds]
Squarepy has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 252 seconds]
<ddfreyne> judofyr: Twin Peaks is awesome
brianpWins has joined #ruby-lang
<ddfreyne> judofyr: (Alan Wake is a good game btw. Fairly Twin Peaksy)
nofxx__ has quit [Ping timeout: 245 seconds]
mucker has joined #ruby-lang
benlovell has joined #ruby-lang
nofxx__ has joined #ruby-lang
<julianhurley> Don't really know what people are talking about, all I know is SSX3 was the best snowboarding game ever
<julianhurley> :P
<julianhurley> Outrunning an avalanche while wearing a pumpkin on your head
<julianhurley> Won't get any of that fun with all these current 'realistic' games :(
<julianhurley> *stand by for pastie test*
workmad3 has joined #ruby-lang
<julianhurley> class Square
<julianhurley> def initialize(side_length)
<julianhurley> @side_length = side_length
<julianhurley> end
<julianhurley>
<julianhurley> def area
<julianhurley> @side_length * @side_length
<julianhurley> end
<julianhurley> end
<julianhurley> ffs
<julianhurley> Am I meant to link people to code?
<julianhurley> is that the idea?
<ddfreyne> julianhurley: You should go to gist or pastie, paste the code into the web page, click the button and then copy the URL into the chat
<julianhurley> Yes, I do understand now :P I thought pasting as raw text would work...haven't used many IRC'
<julianhurley> kewl
jsulliva_ has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 264 seconds]
tomzx_mac has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
<julianhurley> Why is this guy using @@ to define his instance variables rather than @ ?
<Mon_Ouie> Because those are not instance variables
vlad_starkov has joined #ruby-lang
<Mon_Ouie> @@ variables are called class variables. Instances share it with their class as well as its subclasses (and its subclasses' instances).
<julianhurley> Okay, and what's a class attribute?
retro|cz has joined #ruby-lang
<Mon_Ouie> You mean a class variable? That's a variable shared with the different things I mentioned above.
<Mon_Ouie> It's worth mentioning people tend to avoid them.
vlad_starkov has quit [Ping timeout: 245 seconds]
<ddfreyne> judofyr: I have heard that you got the Æ Ø Å https://www.youtube.com/watch?v=f488uJAQgmw
mistym has quit [Remote host closed the connection]
<judofyr> ddfreyne: it's pretty amazing
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
<judofyr> æ ø å
retro|cz has quit [Ping timeout: 252 seconds]
mineiro has quit [Read error: Connection reset by peer]
marr has joined #ruby-lang
mineiro has joined #ruby-lang
vlad_starkov has joined #ruby-lang
jbar has quit [Remote host closed the connection]
rgn has quit [Read error: Operation timed out]
Squarepy has joined #ruby-lang
benlovell has quit [Ping timeout: 264 seconds]
patrickod has left #ruby-lang ["Textual IRC Client: www.textualapp.com"]
dlackty_ has quit [Ping timeout: 264 seconds]
UziMonkey__ has quit [Ping timeout: 256 seconds]
Spaceghost|cloud has quit [Ping timeout: 272 seconds]
franckverrot has quit [Ping timeout: 264 seconds]
r0bglees0n has quit [Ping timeout: 252 seconds]
jacknagel has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Ping timeout: 252 seconds]
vivekrai has quit [Ping timeout: 256 seconds]
norplr has quit [Ping timeout: 255 seconds]
krohrbaugh has joined #ruby-lang
mistym has quit [Ping timeout: 256 seconds]
idkazuma has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 252 seconds]
mucker has quit [Quit: leaving]
<ddfreyne> judofyr: maybe I should start writing Flemish Dutch with æ ø å as well. We have the same sounds (not in Dutch Dutch though)
<julianhurley> As you may expect, http://pastie.org/7801496 results in '100', printed to the screen. What I want to clarify is, how is the '10' passed to the area method? The only time 'area' is called is during the puts. Does the instance of Square (<Square:0x0000010084b920> ) contain all of the methods of the class square?
symm- has quit [Read error: Connection reset by peer]
symm- has joined #ruby-lang
Morphix1995 has quit [Quit: Page closed]
<judofyr> julianhurley: the instance of Square has a reference to the class: a.class => Square
symm- has quit [Read error: Connection reset by peer]
chessguy has joined #ruby-lang
<judofyr> julianhurley: method lookups finds methods in the class (and its superclasses) of the object
ar57 has joined #ruby-lang
<judofyr> julianhurley: so the `a`-instance doesn't have any methods itself. it just got the data (@side_length) and it knows its class
symm- has joined #ruby-lang
bzalasky has joined #ruby-lang
JohnRKD has joined #ruby-lang
KM has quit [Read error: Connection reset by peer]
KM has joined #ruby-lang
<julianhurley> I think I see. But the number '10' is passed to area when I write '
<julianhurley> Also, how do I do the giant orange text? :3
ikrima has joined #ruby-lang
KM|2 has joined #ruby-lang
KM has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby-lang
tarruda has quit [Quit: ZNC - http://znc.in]
workmad3 has quit [Ping timeout: 248 seconds]
saarinen has joined #ruby-lang
goyangi has joined #ruby-lang
saarinen has quit [Client Quit]
mbj_ has joined #ruby-lang
scottschecter has quit [Ping timeout: 245 seconds]
tarruda has joined #ruby-lang
kith has quit [Ping timeout: 256 seconds]
scottschecter has joined #ruby-lang
barttenbrinke has quit [Remote host closed the connection]
mbj has quit [Ping timeout: 256 seconds]
jsullivandigs has joined #ruby-lang
alessio_rocco has quit [Remote host closed the connection]
ar57 has left #ruby-lang [#ruby-lang]
saarinen has joined #ruby-lang
jsulliva_ has quit [Ping timeout: 260 seconds]
infecto has quit [Read error: Operation timed out]
kurko_ has joined #ruby-lang
infecto has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
runeb has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
Squarepy has quit [Remote host closed the connection]
JohnRKD has left #ruby-lang [#ruby-lang]
robbyoconnor has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
Mon_Ouie has quit [Ping timeout: 264 seconds]
<ikrima> hey guys, I'm relatively new to Ruby and trying to build my own gem but I'm stuck at this error when running rake: "Command failed with status (1): [/Users/ikrima/.rvm/rubies/ruby-2.0.0-p0/bi...]
<judofyr> ikrima: can you paste the whole output (with pastie.org)
<ikrima> background: it's a c extension that does some reordering of vertices on a 3d mesh. i'm trying to pass in an array and i get back an array
jvrmaia has joined #ruby-lang
scottschecter has quit [Ping timeout: 252 seconds]
ryanf has quit [Quit: leaving]
<ikrima> but haven't gotten past the building the gemfile part. i followed (http://tenderlovemaking.com/2009/12/18/writing-ruby-c-extensions-part-1.html & http://guides.rubygems.org/c-extensions/)
<ikrima> *correction, it's a C++ extension
mytrile has quit [Remote host closed the connection]
rushed has joined #ruby-lang
scalone has joined #ruby-lang
krohrbaugh has joined #ruby-lang
<ikrima> judofyr: any ideas?
rushed has quit [Client Quit]
<judofyr> ikrima: nope, sorry :(
krohrbaugh has quit [Ping timeout: 256 seconds]
scottschecter has joined #ruby-lang
bzalasky has joined #ruby-lang
hramrach_ has quit [Remote host closed the connection]
hramrach_ has joined #ruby-lang
nXqd has joined #ruby-lang
benlovell has joined #ruby-lang
<julianhurley> judofyr: The 'methods' method returns an array of methods available to an object. Why is the method 'area' not present when this code is run? http://pastie.org/7801732 ?
<julianhurley> Oh
<julianhurley> it is
<julianhurley> ignore me
<julianhurley> :P
<judofyr> julianhurley: :)
justinra_ has joined #ruby-lang
justinram has quit [Ping timeout: 258 seconds]
kke has quit [Ping timeout: 246 seconds]
Squarepy has joined #ruby-lang
<julianhurley> judofyr: http://pastie.org/7801496 The number '10' is passed to the method 'area' when I write 'a = Square.new(10)'. Is the method 'initialize' a special method? A keyword? Is initialize the method you call when you type 'a = Square.new(10)'? Therefore, is it sort of a convention to define all your instance variable in 'initialize' in order to make those variables accessible to the methods in the class?
<julianhurley> could you confirms this plz??
<judofyr> julianhurley: initialize is a regular method. same is .new
<whitequark> julianhurley: class Class; def new(*args, &block); instance = allocate; instance.send :initialize, *args, &block; instance; end; end
<whitequark> basically what #new is
<judofyr> julianhurley: .new is basically: def new(*args); obj = allocate; obj.initialize(*args); obj end
<judofyr> julianhurley: so yes, you should initialize stuff in initialize
<julianhurley> :)
<julianhurley> great! Hence the name
<judofyr> julianhurley: exactly. and you don't have to worry about the return value of #initialize
<julianhurley> And 'regular methods' are methods inbuilt into ruby?
<julianhurley> 'puts' would be another one, possibly?
<judofyr> julianhurley: puts is defined in Kernel (a module) that's available everywhere
<julianhurley> okay, then .length
<julianhurley> .length is regular method?
<judofyr> julianhurley: depends on the class. String has its own #length, Array has its own #length
<judofyr> julianhurley: yes
mikestok has quit [Quit: Computer has gone to sleep.]
<julianhurley> I see
<julianhurley> thanks a lot guys!
<judofyr> julianhurley: you can even override it: class String; def length; 5; end; end; "a".length #=> 5
thone_ has joined #ruby-lang
<julianhurley> madness!
<judofyr> julianhurley: but don't do that :P
<julianhurley> I can't really think of a use for that :L
<julianhurley> good to know though
symm- has quit [Read error: Connection reset by peer]
<judofyr> julianhurley: overriding core methods isn't that useful. introducing new methods on new classes can be useful. I've writing a little script that extracts TODOs. now I can say `5.days.and_earlier` to filter for all todos that are due in 5 days
symm- has joined #ruby-lang
<judofyr> julianhurley: class Integer; def days; …; end; end
mineiro has quit [Read error: Connection reset by peer]
thone has quit [Ping timeout: 252 seconds]
<judofyr> julianhurley: but yeah, don't introduce too many methods on new core classes. the are global. so if you write a library that defines Integer#days it won't work with another library that defines Integer#days
mineiro has joined #ruby-lang
<julianhurley> I'm with you
<julianhurley> thanks!
<judofyr> anytime!
<julianhurley> :D
<judofyr> julianhurley: what do you think of Ruby so far?
<julianhurley> She's a pretty laid back kind of gal.
<julianhurley> In all seriousness, very intuitive
<julianhurley> I love the object orientated approach
<judofyr> wait 'till you discover blocks
mistym has joined #ruby-lang
mistym has joined #ruby-lang
MaddinXx has quit [Remote host closed the connection]
setmeaway2 has quit [Ping timeout: 245 seconds]
<julianhurley> Yes I have briefly dabbled with blocks
<julianhurley> They're very useful with web applications
<julianhurley> or...anything else now that I think about it :P
rushed has joined #ruby-lang
<julianhurley> judofyr: So how long have you been a ruby developer?
MaddinXx has joined #ruby-lang
<judofyr> julianhurley: hm. started playing with Ruby maybe 5-6 years ago? dunno really
<judofyr> julianhurley: I spent a long time learning it
<rue> Newb
<julianhurley> judofyr: Have you for a full time job with it?
<judofyr> Joined GitHub Feb 20, 2008, so a few years before that maybe
tylersmith has quit [Remote host closed the connection]
<judofyr> again I want to point out that I was a real newb in my first years of Ruby
<judofyr> julianhurley: yes
<judofyr> julianhurley: http://nordaaker.com/
runeb has joined #ruby-lang
<julianhurley> haha! Great slogan
<judofyr> julianhurley: do you have a full time PHP job?
benlovell has quit [Ping timeout: 276 seconds]
blacktulip has quit [Remote host closed the connection]
<julianhurley> I have a full time webdesign job.
<apeiros> judofyr: I wonder who was *not* a newb in his first years ;-p
<julianhurley> I'm mostly on the UX and design side of things
<julianhurley> I only got into development about 6 months ago, out of curiosity
<julianhurley> I've handled some pretty technical projects written in PHP though...trying to think up some links..
runeb has quit [Ping timeout: 256 seconds]
rgn has joined #ruby-lang
jacknagel has joined #ruby-lang
franckverrot has joined #ruby-lang
vivekrai has joined #ruby-lang
<julianhurley> Oh dear. Someone hasn't filled in title tag! Client hasn't said anything :P
Spaceghost|cloud has joined #ruby-lang
norplr has joined #ruby-lang
UziMonkey__ has joined #ruby-lang
dlackty has joined #ruby-lang
krohrbaugh has joined #ruby-lang
kurko_ has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<judofyr> julianhurley: hahaha. nice one Mr. UX.
krohrbaugh has quit [Ping timeout: 264 seconds]
<julianhurley> pahaha
MaddinXx has quit [Remote host closed the connection]
bzalasky has quit [Remote host closed the connection]
scottschecter has quit [Ping timeout: 256 seconds]
breakingthings has joined #ruby-lang
scottschecter has joined #ruby-lang
nXqd has quit [Ping timeout: 276 seconds]
bzalasky has joined #ruby-lang
levifig has quit [Excess Flood]
mineiro has quit [Remote host closed the connection]
levifig has joined #ruby-lang
<badeball> how come local variables aren't assigned when using a regular expression defined elsewhere containing named, capturing groups? https://gist.github.com/anonymous/99f75ee1786e974f8094
sepp2k1 has joined #ruby-lang
<apeiros> badeball: because that's not how it works
<apeiros> restrictions for auto-defining of lvars via regexen are quite rigid
<apeiros> a) must be a literal regex, b) must be lhs, c) must use =~, d) must not contain interpolations
<badeball> I suspected that was the case
<apeiros> I hope I got all requirements, might be I missed some. I'm not very fond of the feature.
sepp2k has quit [Ping timeout: 258 seconds]
marr has quit [Ping timeout: 256 seconds]
Squarepy has quit [Quit: Leaving]
brianpWins has quit [Quit: brianpWins]
chessguy has quit [Remote host closed the connection]
marr has joined #ruby-lang
tenderlove has joined #ruby-lang
<julianhurley> http://pastie.org/7802017 Now in this example, is this what is happening (starting from line 27): (1) variable 'p' is set to Person.new("Fred Bloggs") (2) The interpreter goes through class 'Person'. (3) It hits the method intialize, and calls the 'set_name' method from inside the 'initialize' method. (4) In set_name, "Fred Blogs" is passed into 'name', and "Fred Blogs" is split at the space(s) by the split method utilising regex p
<julianhurley> attern matching. (6) The method 'set_first_name' is called from inside 'set_name', and the instance variable @first_name is set to "Fred" (7) The method 'set_last_name' is called from inside 'set_name', and the instance variable @last_name is set to "Blogs". (8) Now it goes back up to the 'name' method. It sets the instance variable of @first_name + ' ' + @last_name to "Fred" and "Bloggs" respectively, and puts a space between them
<julianhurley> . (8) Now, "puts p.name" prints "Fred Bloggs" to the screen, because "Fred Bloggs" is the result of method "name"
<julianhurley> Sorry if that's a bit wall o' text!
cofin has quit [Quit: cofin]
jvrmaia has quit [Remote host closed the connection]
<erikh> so hot out
<erikh> good god
<julianhurley> Oh, it's not that bad!
<erikh> perlbot | erikh: Weather for 94026: Menlo Park, CA 86??! IT'S FUCKING HOT Better than winter.
<erikh> it's fucking hot.
<erikh> I concur with the weather service that talks like a sailor.
kgrz has quit [Quit: Computer has gone to sleep.]
judofyr has quit [Remote host closed the connection]
<julianhurley> The shipping forcast? :P
vlad_starkov has joined #ruby-lang
tylersmith has joined #ruby-lang
cordax has quit [Quit: Computer has gone to sleep.]
tallship has quit [Read error: Operation timed out]
vlad_starkov has quit [Ping timeout: 252 seconds]
marr has quit [Ping timeout: 264 seconds]
krohrbaugh has joined #ruby-lang
dingus_khan has joined #ruby-lang
tylersmith has quit [Ping timeout: 252 seconds]
<julianhurley> haha! That's great
<julianhurley> Ah no UK :(
krohrbaugh has quit [Read error: Connection reset by peer]
<julianhurley> Doesn't matter it's always raining anyway
nofxx__ has quit [Ping timeout: 245 seconds]
<dingus_khan> hello glorious rubyists, can someone please tell me why I'm getting a NoMethod error on the sample method in the last instance method of this class?: http://pastebin.com/1mavKZMz
mbj_ has quit [Ping timeout: 248 seconds]
<dingus_khan> haven't been able to figure it out yet... :(
postmodern has joined #ruby-lang
marr has joined #ruby-lang
nofxx__ has joined #ruby-lang
DomKM1 has joined #ruby-lang
DomKM has quit [Ping timeout: 264 seconds]
tallship has joined #ruby-lang
<julianhurley> Ah I think I've got this
<julianhurley> @dingus_khan
<dingus_khan> yes sir
<erikh> sample isn't a method on Die
<dingus_khan> I must be missing something basic here--I thought I could call any array method in a class definition...?
<erikh> nope
<dingus_khan> damn
<erikh> and that's not a class definition, that's a method definition.
<dingus_khan> well, now I'm lost. trying to get a random character from that die.roll method
<dingus_khan> ah right, I meant when defining instance methods of a class
<erikh> what is the array in your class?
<erikh> you have one defined, do you know what it is?
justinra_ has quit [Remote host closed the connection]
<erikh> well, in your instance that is.
<dingus_khan> a random array passed in as an argument
<erikh> right, and what do you do with it?
<dingus_khan> I'm sorry, I don't follow--you mean in the instance method roll?
<erikh> what do you do in the initializer
<erikh> is this homework help? perhaps you'd like a book to read?
<dingus_khan> oh, I give the length of the array as the number of sides in the die
<dingus_khan> yes, sort of homework, and I'd love a book recommendation! eloquent ruby was over my head :/
<erikh> no problem
<erikh> 1 sec.
<dingus_khan> sweet, thank you!
<erikh> the pickaxe is the "official" book.
<julianhurley> That works
<erikh> julianhurley: do not fix it for him
<julianhurley> D:
<erikh> he won't learn if you do.
<erikh> and you'll learn why after about 30 of these
<julianhurley> True
<dingus_khan> crap, so don't click on the link then...
<erikh> heh
<dingus_khan> soooo tempting
<dingus_khan> am I far off?
<julianhurley> Well
<julianhurley> no
<julianhurley> nearly there
pskosinski has quit [Ping timeout: 268 seconds]
<julianhurley> one character off
<erikh> dingus_khan: that link above has a few books
<dingus_khan> I feel like there's something stupid I'm missing somewhere
<dingus_khan> one character?!
<julianhurley> Yes :L
<dingus_khan> zomfg
<erikh> no
<erikh> not one character.
<erikh> anyhow -- read the books, please.
<dingus_khan> erikh, I will definitely check those out
<erikh> taking fixes is only punishing yourself.
<erikh> fwiw, @sides is an array, not an integer.
<erikh> and self is always going to be an instance of the class.
<dingus_khan> true, but finding relevant information has also been a punishing experience... :/
<erikh> so, all Objects have a method called 'class'
<erikh> so you could type something like
<erikh> puts @sides.class in the initializer
<erikh> it would tell you it's an array
<andrewvos> stay classy
<dingus_khan> lol
<erikh> andrewvos: heh
<erikh> andrewvos: <3
<andrewvos> stay_classy_san_diego?
<dingus_khan> oh, so puts @sides.class will just display what it is, debug style?
<andrewvos> erikh: gai
<andrewvos> hai*
<erikh> dingus_khan: rihgt, you still need to print it though
<andrewvos> Good to see you're back
<erikh> it will return the literal class it belongs to
<erikh> andrewvos: thanks!
<dingus_khan> and why is @sides and array if what I'm passing it is sides.length? I thought length returned an integer value..?
<erikh> trying to re-introduce myself back in to the various freenode communities. slowly.
<erikh> dingus_khan: you're not passing it sides.length
<erikh> read your code again
<erikh> you take in sides in the initializer
<erikh> then you assign it to @sides
benanne has quit [Quit: kbai]
<erikh> @sides.sample is what you want.
<erikh> not self.
<erikh> #sample being a method on arrays you can use to get a single item of it.
<julianhurley> That's the character I was referring to
<julianhurley> the @
<erikh> taht would be @self.sample
<erikh> don't try to be so clever.
<dingus_khan> man, that is confusingly contradictory to what I understood before: @sides was supposed to be an instance variable with an integer value...
<erikh> dingus_khan: it's not, that's @numSides
<erikh> which you assign in your other method.
<erikh> see?
<erikh> length and count are the same method, fwiw.
<erikh> just synonyms.
<andrewvos> erikh: That implies that your absence was planned.
<dingus_khan> right, I was wondering why I was doing what seemed like the same thing twice--that was me just following directions... :/
<erikh> andrewvos: it was.
<erikh> but anyhow
<erikh> well, returning wasn't planned
<erikh> needed a break
<julianhurley> THE BOY MUST LEARN
<erikh> dingus_khan: this is why you don't let people solve your problems for you :)
<erikh> anyhow!
<erikh> dingus_khan: read the books. seriously. it will make you a lot better at this than asking questions in here will, at least at this point in your learning.
<erikh> it's not a "go away" thing as much as it is a "this is the best way to learn" thing.
<dingus_khan> well I'm trying to learn, and it's either learn from people or learn from material, that people wrote, which is either more or less efficient, depending on what I need to know...
<erikh> idling in here and following the chat can teach you quite a bit
<erikh> right sure
<erikh> just trying to help.
<erikh> may ruby be with you and all that.
<dingus_khan> totally, thank you for the references, I'm definitely going to use it!
<dingus_khan> but I can't ask a book questions the same way I can a person--my mind works funny... :(
<dingus_khan> as you can tell
<dingus_khan> (username)
marr has quit [Ping timeout: 252 seconds]
<julianhurley> I think it's a genius name