apeiros changed the topic of #ruby-lang to: Nick registration required to talk || Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com
mistym has joined #ruby-lang
charliesome has joined #ruby-lang
DouweM has quit [Quit: Leaving...]
workmad3 has quit [Ping timeout: 246 seconds]
smashwilson has joined #ruby-lang
smashwilson has left #ruby-lang [#ruby-lang]
thepumpkin has joined #ruby-lang
Locke23rus has quit [Remote host closed the connection]
yfeldblum has quit [Read error: Connection reset by peer]
thepumpkin has quit [Ping timeout: 248 seconds]
sulo has joined #ruby-lang
CoreData has quit [Ping timeout: 240 seconds]
lun__ has joined #ruby-lang
CoreData has joined #ruby-lang
ruby-lang604 has quit [Ping timeout: 250 seconds]
sulo has quit [Ping timeout: 245 seconds]
ecnalyr has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
lun__ has quit [Ping timeout: 272 seconds]
zz_michael_mbp is now known as michael_mbp
dingus_k_ has quit [Remote host closed the connection]
bzalasky_ has quit [Remote host closed the connection]
dingus_khan has joined #ruby-lang
datanoise has joined #ruby-lang
bzalasky has joined #ruby-lang
ecnalyr has quit [Ping timeout: 245 seconds]
mistym_ has joined #ruby-lang
mistym has quit [Ping timeout: 245 seconds]
micalexander has joined #ruby-lang
michael_mbp is now known as zz_michael_mbp
dingus_khan has quit [Ping timeout: 245 seconds]
bzalasky has quit [Ping timeout: 245 seconds]
jsullivandigs has joined #ruby-lang
marcdel has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 272 seconds]
Tearan has quit [Ping timeout: 272 seconds]
davispuh has quit [Quit: Konversation terminated!]
pabloh has quit [Quit: Saliendo]
VTLob has quit [Quit: VTLob]
postmodern has joined #ruby-lang
Technodrome has quit [Quit: Technodrome]
atmosx has quit [Quit: Lost in trance]
Forgetful_Lion has quit [Remote host closed the connection]
Oloryn_lt2 has joined #ruby-lang
jackhammer2022 has quit [Quit: Computer has gone to sleep.]
micalexander has quit [Remote host closed the connection]
toretore has quit [Quit: Leaving]
micalexander has joined #ruby-lang
micalexa_ has joined #ruby-lang
micalexander has quit [Read error: Connection reset by peer]
RickHull has quit [Quit: Leaving.]
<micalexa_> I have a folder called test in my gem directory. In it I have a file that requires "minitest/autorun" and I have a single test on it. How do I run it?
<whitequark> ruby -I test/*.rb
<whitequark> er, ruby test/*.rb. that's all.
<micalexa_> er?
sulo has joined #ruby-lang
<micalexa_> whitequark: what does the "er" mean?
Nilium has quit [Read error: Connection reset by peer]
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
<whitequark> nothing. I just typoed in the previous message.
<whitequark> "ruby test/*.rb" should do it.
<micalexa_> whitequark: ok, do I need to require the class, cause it just hangs? (first time running a test on anything ever)
sulo has quit [Ping timeout: 245 seconds]
Nilium has joined #ruby-lang
<whitequark> hangs? it shouldn't do that. an error, maybe.
<micalexa_> whitequark: nvm
ecnalyr has joined #ruby-lang
ecnalyr has quit [Ping timeout: 245 seconds]
Johz has quit [Quit: Leaving]
omninonsense has joined #ruby-lang
<micalexa_> whitequark: so i am correct by thinking I have to require all class that I want to test, or is there another way?
<whitequark> usually you group all the requires (and other helper code) in a file called test/test_helper.rb
<whitequark> then you require_relative 'test_helper' at the start of each test file
<micalexa_> makes sense cool
[spoiler] has quit [Ping timeout: 240 seconds]
Technodrome has joined #ruby-lang
dingus_khan has joined #ruby-lang
dingus_khan has quit [Ping timeout: 245 seconds]
jiuweigui has quit [Quit: iQuit!]
havenwood has joined #ruby-lang
spuk has joined #ruby-lang
<Technodrome> in ruby what is the << operator called?
<whitequark> left shift, just like everywhere
spuk has quit [Client Quit]
lianj has joined #ruby-lang
spuk has joined #ruby-lang
<Technodrome> i thought it might have a special name whitequark
hahuang65 has quit [Ping timeout: 260 seconds]
thepumpkin has joined #ruby-lang
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bzalasky has joined #ruby-lang
<havenwood> Technodrome: I associate 'append' with it.
thepumpkin has quit [Ping timeout: 245 seconds]
Technodrome has quit [Quit: Technodrome]
hahuang65 has joined #ruby-lang
arBmind1 has joined #ruby-lang
sulo has joined #ruby-lang
arBmind has quit [Ping timeout: 245 seconds]
face has quit [Ping timeout: 246 seconds]
jsullivandigs has joined #ruby-lang
lun__ has joined #ruby-lang
nertzy2 has joined #ruby-lang
sulo has quit [Ping timeout: 240 seconds]
face has joined #ruby-lang
lun__ has quit [Ping timeout: 260 seconds]
ecnalyr has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 272 seconds]
earthquake has joined #ruby-lang
ecnalyr has quit [Ping timeout: 245 seconds]
havenwood has quit [Ping timeout: 260 seconds]
sepp2k has quit [Quit: Leaving.]
nertzy2 has quit [Quit: This computer has gone to sleep]
gnufied has quit [Ping timeout: 260 seconds]
mistym_ is now known as mistym
jsullivandigs has joined #ruby-lang
<micalexa_> what does this mean in reference to version dependency ~>
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
zz_michael_mbp is now known as michael_mbp
symm- has quit [Ping timeout: 272 seconds]
gnufied has joined #ruby-lang
face has quit [Ping timeout: 246 seconds]
face has joined #ruby-lang
kitak has quit [Remote host closed the connection]
<micalexa_> ~>
<ezkl> micalexa_: '~> 4.1.0' means all versions >= 4.1.0 and <= 4.1.any_number_greater_than_zero
kitak has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
<whitequark> >= 4.1.0 < 4.2
<micalexa_> so greater than or equal to 4.1.0 but less than 4.2?
<micalexa_> any dot but not the next ful?
flip_digits has quit []
banisterfiend has quit [Quit: Computer has gone to sleep.]
hahuang65 has quit [Ping timeout: 245 seconds]
kitak has quit [Ping timeout: 246 seconds]
earthquake has quit [Quit: earthquake]
bzalasky has quit [Ping timeout: 245 seconds]
havenwood has joined #ruby-lang
<whitequark> yes
jsullivandigs has quit [Quit: Leaving...]
x0f has quit [Read error: Operation timed out]
<micalexa_> cool thanx
earthquake has joined #ruby-lang
jackhammer2022 has joined #ruby-lang
hahuang65 has joined #ruby-lang
x0f has joined #ruby-lang
jxie has quit [Read error: Connection reset by peer]
jxie_ has joined #ruby-lang
hahuang65 has quit [Ping timeout: 245 seconds]
WeirdThall is now known as WeirdThallAFK
micalexa_ has quit [Remote host closed the connection]
micalexander has joined #ruby-lang
bf4 has joined #ruby-lang
micalexander has quit [Ping timeout: 245 seconds]
x0f has quit [Ping timeout: 272 seconds]
x0f has joined #ruby-lang
ikrima has joined #ruby-lang
nisstyre has joined #ruby-lang
x0f has quit [Ping timeout: 245 seconds]
<r0bgleeson> how expensive is a raising an exception?
sulo has joined #ruby-lang
<r0bgleeson> if i knew I do it on every rails is it a problem?
<r0bgleeson> I could do it*
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<whitequark> quite expensive, avoid it if you can
mistym_ has joined #ruby-lang
<r0bgleeson> whitequark: i think i might be able to make rails3+ do it with a TCPSocket
<r0bgleeson> whitequark: by not encoding unicode characters
mistym has quit [Disconnected by services]
mistym_ is now known as mistym
x0f has joined #ruby-lang
<r0bgleeson> whitequark: is it expensive in that sense too? (not just application code raising to interrupt control flow)
sulo has quit [Ping timeout: 246 seconds]
<r0bgleeson> oh well ive written a middleware to fix it so we'll see
x0f has quit [Ping timeout: 246 seconds]
ecnalyr has joined #ruby-lang
mrpot4to_ has joined #ruby-lang
x0f has joined #ruby-lang
ecnalyr has quit [Ping timeout: 245 seconds]
kitak has joined #ruby-lang
x0f has quit [Ping timeout: 246 seconds]
x0f has joined #ruby-lang
styped has joined #ruby-lang
earthquake has quit [Quit: earthquake]
bzalasky has joined #ruby-lang
RickHull has joined #ruby-lang
nvg has quit [Quit: Leaving]
dorei has quit []
jonahR has joined #ruby-lang
yfeldblum has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
madb055 has joined #ruby-lang
thepumpkin has joined #ruby-lang
sleepee has joined #ruby-lang
thepumpkin has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby-lang
Barrin6 has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
<Barrin6> sup gang
yfeldblum has joined #ruby-lang
jithu has joined #ruby-lang
mrpot4to_ has quit [Read error: Connection reset by peer]
sulo has joined #ruby-lang
MrPot4to has joined #ruby-lang
lun__ has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
charlespeach has joined #ruby-lang
havenwood has joined #ruby-lang
Tearan has joined #ruby-lang
sulo has quit [Read error: Operation timed out]
lun__ has quit [Ping timeout: 245 seconds]
ecnalyr has joined #ruby-lang
havenwood has quit [Ping timeout: 272 seconds]
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
spuk has joined #ruby-lang
ecnalyr has quit [Ping timeout: 245 seconds]
jonahR has quit [Quit: jonahR]
x0f has quit [Ping timeout: 272 seconds]
x0f has joined #ruby-lang
earthquake has joined #ruby-lang
Tearan has quit [Ping timeout: 245 seconds]
CaptainJet has joined #ruby-lang
ikrima has quit [Quit: Computer has gone to sleep.]
bzalasky has quit [Remote host closed the connection]
micalexander has joined #ruby-lang
bzalasky has joined #ruby-lang
micalexander has quit [Remote host closed the connection]
micalexander has joined #ruby-lang
bzalasky has quit [Ping timeout: 240 seconds]
earthquake has quit [Quit: earthquake]
bf4 has quit [Ping timeout: 245 seconds]
tomzx_mac has quit [Ping timeout: 272 seconds]
CaptainJet has quit [Ping timeout: 272 seconds]
tomzx_mac has joined #ruby-lang
Croesus_ has joined #ruby-lang
sulo has joined #ruby-lang
charlespeach has quit [Quit: charlespeach]
Croesus has quit [Ping timeout: 272 seconds]
Croesus has joined #ruby-lang
styped has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sulo has quit [Ping timeout: 240 seconds]
Croesus_ has quit [Ping timeout: 272 seconds]
MrPot4to has quit [Read error: Connection reset by peer]
MrPot4to has joined #ruby-lang
ecnalyr has joined #ruby-lang
tomzx_mac has quit [Read error: Operation timed out]
wallerdev has quit [Quit: wallerdev]
Technodrome has joined #ruby-lang
tomzx_mac has joined #ruby-lang
ecnalyr has quit [Ping timeout: 245 seconds]
guns has joined #ruby-lang
postmodern has quit [Quit: Leaving]
x0f has quit [Ping timeout: 246 seconds]
sleepee has quit [Quit: Leaving]
x0f has joined #ruby-lang
[1]Barrin6 has joined #ruby-lang
Technodrome has quit [Quit: Technodrome]
havenwood has joined #ruby-lang
Barrin6 has quit [Ping timeout: 245 seconds]
[1]Barrin6 has left #ruby-lang [#ruby-lang]
Barrin6 has joined #ruby-lang
havenwood has quit [Ping timeout: 245 seconds]
charlespeach has joined #ruby-lang
havenwood has joined #ruby-lang
charlespeach has quit [Quit: charlespeach]
charlespeach has joined #ruby-lang
sevvie has joined #ruby-lang
jackhammer2022 has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
guns has quit [Quit: guns]
spuk has quit [Read error: Connection reset by peer]
spuk has joined #ruby-lang
thepumpkin has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
ingy1 has joined #ruby-lang
charlespeach has quit [Quit: charlespeach]
ingy1 has quit [Client Quit]
havenwood has quit [Ping timeout: 240 seconds]
thepumpkin has quit [Ping timeout: 272 seconds]
<Barrin6> yo
kitak has quit [Ping timeout: 246 seconds]
Technodrome has joined #ruby-lang
Croesus has quit [Ping timeout: 240 seconds]
sulo has joined #ruby-lang
sulo has quit [Ping timeout: 248 seconds]
ecnalyr has joined #ruby-lang
nisstyre has quit [Quit: Leaving]
ecnalyr has quit [Ping timeout: 245 seconds]
x0f has quit [Ping timeout: 245 seconds]
tomzx_mac has quit [Ping timeout: 246 seconds]
x0f has joined #ruby-lang
kitak has joined #ruby-lang
lun__ has joined #ruby-lang
shinnya has quit [Ping timeout: 246 seconds]
mistym_ has joined #ruby-lang
Technodrome has quit [Quit: Technodrome]
mistym has quit [Ping timeout: 240 seconds]
yfeldblu_ has joined #ruby-lang
Cakey has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
Technodrome has joined #ruby-lang
yfeldblu_ has quit [Ping timeout: 272 seconds]
havenwood has joined #ruby-lang
sevvie has quit [Quit: leaving]
Technodrome has quit [Quit: Technodrome]
jithu has quit [Ping timeout: 240 seconds]
jithu has joined #ruby-lang
havenwood has quit [Ping timeout: 245 seconds]
lun__ has quit [Remote host closed the connection]
lun__ has joined #ruby-lang
JohnBat26 has joined #ruby-lang
datanoise has quit [Ping timeout: 245 seconds]
lun__ has quit [Ping timeout: 245 seconds]
lnlyplnt has joined #ruby-lang
sulo has joined #ruby-lang
kitak has quit [Remote host closed the connection]
sulo has quit [Ping timeout: 245 seconds]
Cakey has quit [Ping timeout: 248 seconds]
ecnalyr has joined #ruby-lang
x0f has quit [Ping timeout: 260 seconds]
Barrin6 has quit [Quit: HydraIRC -> http://www.hydrairc.com <- In tests, 0x09 out of 0x0A l33t h4x0rz prefer it :)]
x0f has joined #ruby-lang
Technodrome has joined #ruby-lang
ecnalyr has quit [Ping timeout: 245 seconds]
Cakey has joined #ruby-lang
x0f has quit [Ping timeout: 272 seconds]
x0f has joined #ruby-lang
Technodrome has quit [Quit: Technodrome]
x0f has quit [Ping timeout: 240 seconds]
charlespeach has joined #ruby-lang
x0f has joined #ruby-lang
relix has joined #ruby-lang
faces has joined #ruby-lang
face has quit [Ping timeout: 248 seconds]
jithu has quit [Quit: Mother, did it need to be so high?]
datanoise has joined #ruby-lang
thepumpkin has joined #ruby-lang
thepumpkin has quit [Ping timeout: 245 seconds]
MrZYX|off is now known as MrZYX
sulo has joined #ruby-lang
face has joined #ruby-lang
faces has quit [Ping timeout: 245 seconds]
Forgetful_Lion has joined #ruby-lang
Forgetful_Lion has quit [Read error: Connection reset by peer]
sulo has quit [Ping timeout: 240 seconds]
Forgetful_Lion has joined #ruby-lang
Forgetful_Lion has quit [Read error: Connection reset by peer]
Forgetful_Lion has joined #ruby-lang
ecnalyr has joined #ruby-lang
Forgetful_Lion has quit [Read error: Connection reset by peer]
Forgetful_Lion has joined #ruby-lang
Forgetful_Lion has quit [Read error: Connection reset by peer]
Forgetful_Lion has joined #ruby-lang
Forgetful_Lion has quit [Read error: Connection reset by peer]
Forgetful_Lion has joined #ruby-lang
Forgetful_Lion has quit [Read error: Connection reset by peer]
Forgetful_Lion has joined #ruby-lang
ecnalyr has quit [Ping timeout: 245 seconds]
Forgetful_Lion has quit [Read error: Connection reset by peer]
Forgetful_Lion has joined #ruby-lang
Forgetful_Lion has quit [Read error: Connection reset by peer]
Forgetful_Lion has joined #ruby-lang
Forgetful_Lion has quit [Read error: Connection reset by peer]
Forgetful_Lion has joined #ruby-lang
Forgetful_Lion has quit [Read error: Connection reset by peer]
Forgetful_Lion has joined #ruby-lang
Forgetful_Lion has quit [Read error: Connection reset by peer]
Forgetful_Lion has joined #ruby-lang
Forgetful_Lion has quit [Read error: Connection reset by peer]
Forgetful_Lion has joined #ruby-lang
Forgetful_Lion has quit [Read error: Connection reset by peer]
datanoise has quit [Ping timeout: 240 seconds]
Forgetful_Lion has joined #ruby-lang
Forgetful_Lion has quit [Read error: Connection reset by peer]
Forgetful_Lion has joined #ruby-lang
Forgetful_Lion has quit [Read error: Connection reset by peer]
Forgetful_Lion has joined #ruby-lang
vlad_starkov has joined #ruby-lang
Forgetful_Lion has quit [Read error: Connection reset by peer]
superman1125 has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
superman1125 has quit [Remote host closed the connection]
superman1125 has joined #ruby-lang
superman1125 has quit [Remote host closed the connection]
superman1125 has joined #ruby-lang
MrPot4to has quit [Read error: Connection reset by peer]
Cakey has quit [Ping timeout: 260 seconds]
havenwood has joined #ruby-lang
toretore has joined #ruby-lang
havenwood has quit [Ping timeout: 272 seconds]
vlad_starkov has joined #ruby-lang
elia has joined #ruby-lang
lun__ has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
superman1125 has quit [Remote host closed the connection]
Scader has joined #ruby-lang
superman1125 has joined #ruby-lang
superman1125 has quit [Remote host closed the connection]
lun__ has quit [Ping timeout: 245 seconds]
superman1125 has joined #ruby-lang
Guest85414___ has quit [Read error: Connection reset by peer]
Guest85414___ has joined #ruby-lang
superman1125 has quit [Remote host closed the connection]
sawfish has joined #ruby-lang
superman1125 has joined #ruby-lang
tbuehlmann has joined #ruby-lang
sulo has joined #ruby-lang
superman1125 has quit [Remote host closed the connection]
ikrima has joined #ruby-lang
sulo has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
jiuweigui has joined #ruby-lang
ecnalyr has joined #ruby-lang
vlad_starkov has joined #ruby-lang
ecnalyr has quit [Ping timeout: 245 seconds]
nofxx has quit [Ping timeout: 240 seconds]
x0f has quit [Ping timeout: 260 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
x0f has joined #ruby-lang
adambeynon has joined #ruby-lang
x0f has quit [Ping timeout: 245 seconds]
x0f has joined #ruby-lang
banisterfiend has joined #ruby-lang
Technodrome has joined #ruby-lang
vlad_starkov has joined #ruby-lang
superman1125 has joined #ruby-lang
superman1125 has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 240 seconds]
superman1125 has joined #ruby-lang
MaddinXx_ has joined #ruby-lang
yfeldblum has joined #ruby-lang
DouweM has joined #ruby-lang
superman1125 has quit [Remote host closed the connection]
superman1125 has joined #ruby-lang
Technodrome has quit [Quit: Technodrome]
yfeldblum has quit [Ping timeout: 240 seconds]
thepumpkin has joined #ruby-lang
thepumpkin has quit [Ping timeout: 246 seconds]
MaddinXx_ has quit [Quit: Leaving...]
wallerdev has joined #ruby-lang
shinnya has joined #ruby-lang
sulo has joined #ruby-lang
mistym_ has quit [Remote host closed the connection]
MaddinXx_ has joined #ruby-lang
sulo has quit [Ping timeout: 260 seconds]
Elico has quit [Quit: Elico]
ecnalyr has joined #ruby-lang
ecnalyr has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby-lang
DouweM has quit [Ping timeout: 245 seconds]
Oloryn_lt21 has joined #ruby-lang
VTLob has joined #ruby-lang
Oloryn_lt2 has quit [Ping timeout: 240 seconds]
wallerdev has quit [Quit: wallerdev]
yfeldblum has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
leedssidestreets has joined #ruby-lang
ozzloy has quit [Ping timeout: 245 seconds]
charlespeach has quit [Quit: charlespeach]
Cakey has joined #ruby-lang
sulo has joined #ruby-lang
RickHull has quit [Quit: Leaving.]
leedssidestreets has left #ruby-lang [#ruby-lang]
sulo has quit [Ping timeout: 248 seconds]
Technodrome has joined #ruby-lang
retro|cz has joined #ruby-lang
ecnalyr has joined #ruby-lang
Elico has joined #ruby-lang
ecnalyr has quit [Ping timeout: 245 seconds]
mbj has joined #ruby-lang
jiuweigui has quit [Quit: zzzz]
sepp2k has joined #ruby-lang
<Technodrome> Good Morning
Johz has joined #ruby-lang
mbj has quit [Ping timeout: 245 seconds]
superman1125 has quit [Remote host closed the connection]
madb055 has quit [Remote host closed the connection]
madb055 has joined #ruby-lang
superman1125 has joined #ruby-lang
lun__ has joined #ruby-lang
atmosx has joined #ruby-lang
superman1125 has quit [Remote host closed the connection]
MaddinXx_ has quit [Remote host closed the connection]
superman1125 has joined #ruby-lang
MaddinXx has joined #ruby-lang
apeiros has joined #ruby-lang
superman1125 has quit [Remote host closed the connection]
superman1125 has joined #ruby-lang
superman1125 has quit [Remote host closed the connection]
superman1125 has joined #ruby-lang
superman1125 has quit [Remote host closed the connection]
superman1125 has joined #ruby-lang
mbj has joined #ruby-lang
thepumpkin has joined #ruby-lang
topaz has quit [Ping timeout: 264 seconds]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
lun__ has quit [Remote host closed the connection]
superman1125 has quit [Remote host closed the connection]
lun__ has joined #ruby-lang
superman1125 has joined #ruby-lang
thepumpkin has quit [Ping timeout: 260 seconds]
superman1125 has quit [Remote host closed the connection]
superman1125 has joined #ruby-lang
sreffotsirk has joined #ruby-lang
superman1125 has quit [Remote host closed the connection]
superman1125 has joined #ruby-lang
lun__ has quit [Ping timeout: 248 seconds]
rikai has quit [Ping timeout: 265 seconds]
madb055 has quit [Remote host closed the connection]
madb055 has joined #ruby-lang
madb055 has quit [Remote host closed the connection]
madb055 has joined #ruby-lang
MaddinXx has quit [Quit: Leaving...]
rikai has joined #ruby-lang
sulo has joined #ruby-lang
mbj_ has joined #ruby-lang
sulo has quit [Ping timeout: 245 seconds]
mbj has quit [Ping timeout: 272 seconds]
ecnalyr has joined #ruby-lang
banisterfiend has quit [Quit: Computer has gone to sleep.]
ecnalyr has quit [Ping timeout: 245 seconds]
WeirdThallAFK is now known as WeirdThall
sepp2k1 has joined #ruby-lang
DouweM has joined #ruby-lang
sepp2k has quit [Ping timeout: 246 seconds]
banisterfiend has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
ledestin has quit [Quit: ledestin]
vlad_starkov has joined #ruby-lang
Croesus has joined #ruby-lang
mbj_ has quit [Ping timeout: 272 seconds]
smashwilson has joined #ruby-lang
smashwilson has left #ruby-lang [#ruby-lang]
vlad_starkov has quit [Remote host closed the connection]
michael_mbp is now known as zz_michael_mbp
sepp2k1 has quit [Ping timeout: 246 seconds]
sepp2k has joined #ruby-lang
symm- has joined #ruby-lang
r0bgleeson has quit [Ping timeout: 245 seconds]
omninonsense is now known as [spoiler]
<[spoiler]> Morning everyone :-)
<Technodrome> how are you [spoiler]
WeirdThall has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<[spoiler]> Great! :D What about you?
sulo has joined #ruby-lang
kirin` has quit [Ping timeout: 272 seconds]
kirin` has joined #ruby-lang
lun__ has joined #ruby-lang
sulo has quit [Ping timeout: 245 seconds]
JohnBat26 has quit [Ping timeout: 245 seconds]
ecnalyr has joined #ruby-lang
mucker has joined #ruby-lang
ecnalyr has quit [Ping timeout: 245 seconds]
superman1125_ has joined #ruby-lang
vlad_starkov has joined #ruby-lang
superman1125 has quit [Remote host closed the connection]
superman1125_ has quit [Remote host closed the connection]
superman1125 has joined #ruby-lang
atmosx has quit [Quit: computer went to sleep...]
vlad_starkov has quit [Ping timeout: 245 seconds]
[spoiler] has quit [Ping timeout: 246 seconds]
[spoiler] has joined #ruby-lang
vlad_starkov has joined #ruby-lang
<Technodrome> [spoiler]: just watching star trek :)
banisterfiend has quit [Quit: Computer has gone to sleep.]
cads has joined #ruby-lang
banisterfiend has joined #ruby-lang
pbjorklund_ has joined #ruby-lang
Johz has quit [Ping timeout: 260 seconds]
pbjorklund_ has left #ruby-lang [#ruby-lang]
pbjorklund_ has joined #ruby-lang
<[spoiler]> Technodrome: oh nice :D
<Technodrome> i understand ruby so much better now, just a few little quirks here and there
<[spoiler]> Well, that's why this channel exists! :D
pbjorklund_ has left #ruby-lang [#ruby-lang]
<Technodrome> still not quite sure how a class is a module and a module is a class but that's ok for now i guess :)
<MrZYX> Module is a class, a module Foo <- Foo is not a class
nathanstitt has joined #ruby-lang
thepumpkin has joined #ruby-lang
nathanstitt has quit [Client Quit]
<Technodrome> MrZYX: not sure why, but that seems like it doesn't make sense, so a Module is a class but the declaration of one is not? i don't get that
<MrZYX> not a Module is a class, Module is one, the object assigned to the constant Module
<DouweM> a class is an instance of Class, a module is an instance of Module. Class < Module, so a class is also an instance of Module
<[spoiler]> A Module is a class (because all objecs must have a class), however a Class inherits from Module
thepumpkin has quit [Ping timeout: 245 seconds]
<DouweM> and yeah, Class and Module themselves are classes, i.e. 'Module' is an instance of Class, and 'Class' is an instance of Class itself. Yeah, this can get confusing.
Croesus_ has joined #ruby-lang
<[spoiler]> I mean, most of the time, you don't really need to concern yourself with this
<[spoiler]> A class's superclass is Module, because Class is a child of Module, but a Module is a class, because there's no object without a class
<[spoiler]> And all objects have a parent class
<[spoiler]> except for BasicObjec
<[spoiler]> BasicObject
workmad3 has joined #ruby-lang
<banisterfiend> Technodrome there's an extra level of abstraction there that you'll probably find confusing for a while longer. It'll come naturally probably don't bother thinking about it 4 now
Croesus has quit [Ping timeout: 240 seconds]
<DouweM> if you want to be confused anymore, look into metaclasses
<Technodrome> eigenclass stuff?
<Technodrome> class << self from inside a class etc?
<DouweM> yeah
<Technodrome> i get that pretty well now, i don't want to say perfectly but i get it
<Mon_Ouie> Doesn't have to be from inside a class, any object has one
<Technodrome> [spoiler] spent some time explaining that and I did a bunch of reading in ruby under a microscope on it
<Technodrome> Mon_Ouie: sure
<Technodrome> its the first level of method lookup
Croesus_ has quit [Ping timeout: 245 seconds]
<[spoiler]> Yeah, all objects have a singleton class
<banisterfiend> [spoiler] not all :) and most of them don't have them until you ask for them (They're created lazily) :P
<[spoiler]> (what does eigen even mean??? why not call them singleton classes)
<[spoiler]> banisterfiend: Yeah I know! :D but they ~can~ have one
<banisterfiend> eigen is german for 'own' i think
<[spoiler]> ooh
<banisterfiend> [spoiler] not numbers and other immediates etc
<DouweM> banisterfiend: can confirm. Same in Dutch
kurko_ has joined #ruby-lang
yhsgw has joined #ruby-lang
<[spoiler]> banisterfiend: those throw a type-error, though, right?
<banisterfiend> looks like it
<[spoiler]> aye, just tried it
elia has quit [Read error: Connection reset by peer]
Johz has joined #ruby-lang
<[spoiler]> :in `singlebleh': can't define singleton (TypeError)
<[spoiler]> Hmm, i wonder if bignums can have a singleton class
sulo has joined #ruby-lang
<[spoiler]> nopes
<[spoiler]> So, that would mean Bignums, Floats, Fixnums, and Symbols can't have singleton classes
elia has joined #ruby-lang
<DouweM> it appears so
<[spoiler]> DouweM: oh, clever :D
<[spoiler]> I'd not think of it
<DouweM> :P
<DouweM> how did you figure it out? trial and error?
sulo has quit [Ping timeout: 245 seconds]
<[spoiler]> made it look through all objects and print the class/singleton class of the object (unless the class was already encountered)
<[spoiler]> DouweM: not very efficient
<[spoiler]> :/
<[spoiler]> LOL
<DouweM> :)
ecnalyr has joined #ruby-lang
nathanstitt has joined #ruby-lang
<Technodrome> do you guys know of anything that explains the whole Module and Class relationship in detail?
<Technodrome> maybe ruby under a microscope has something on it
<[spoiler]> Technodrome: Well, there's nothing special about it
<[spoiler]> Think of "Module" as a class. Class is, in fact, also a class. Now, just consider that Class is a child of Module
<Technodrome> ok got that, now does is Module.class a class then?
<Technodrome> just because *everything* needs to be a class?
ecnalyr has quit [Ping timeout: 245 seconds]
<DouweM> Module is a class, i.e. an instance of Class. So Module.class == Class
<Technodrome> how can something be of the type of it's child?
superman1125 has quit [Remote host closed the connection]
<DouweM> what?
superman1125 has joined #ruby-lang
<DouweM> oh right
<Technodrome> ok, sorry, i will just go read on it :)
<whitequark> there *is* a little special bit about Module and Class.
<Mon_Ouie> You can't replicate this kind of hierarchy in regular code
<whitequark> mainly just their mutually referential nature.
<workmad3> Object also comes in there
* DouweM nods furiously
tomzx_mac has joined #ruby-lang
<[spoiler]> Yeah, the Module & Class thing is probably some C voodoo
<[spoiler]> well, not probably, definitely
<DouweM> :)
<workmad3> you can fake the appearance of it in normal ruby code
<Technodrome> so the kind of answer i'm looking for probably doesn't exist
<whitequark> more convenient for browsing the code than github.
<DouweM> whitequark: true
<Technodrome> BasicObject.class
<Technodrome> => Class
<workmad3> >> class Foo; class << self; define_method :class do; Bar; end; end; end; class Bar < Foo; end; Foo.class
<eval-in> workmad3 => Bar (https://eval.in/60066)
<Technodrome> its like how can BasicObject have a class when Class is much further down the tree
* [spoiler] faceplams
<[spoiler]> whitequark: I just realised that's your website! I've actually been using that MRI source-code browser a lot! Great work, by the wat
<[spoiler]> way*
<DouweM> Technodrome: because of the magic we've just linked to
<Technodrome> yes
<[spoiler]> I can't believe it didn't click until now
<whitequark> [spoiler]: it's just LXR with ruby sources
<Technodrome> RBASIC_SET_CLASS(rb_cBasicObject, rb_cClass);
madb055 has quit [Ping timeout: 245 seconds]
<[spoiler]> whitequark: but it's a brilliant idea!
<whitequark> duh
<[spoiler]> that someone would do it, I mean
<Technodrome> so I guess I shouldn't bother thinking about this much anymore
<DouweM> Technodrome: understand how the hierarchy works in Ruby, don't worry about the implementation too much
<Technodrome> so this little bit of the upper hierarchy is just defined in the C code it seems
<[spoiler]> Yup
<DouweM> Technodrome: yup
<Technodrome> so something you just *accept* rather than rationally try to figure out?
<Technodrome> hehe
<[spoiler]> Well, you can figure out the implementation, but yeah, basically
<DouweM> basically. the paradoxical nature of the hierarchy probably won't hurt you in practice.
face has quit [Ping timeout: 272 seconds]
<[spoiler]> There's a very low probability that you'll ever encounter this while working on anything
<Technodrome> I got a friend who is learning ruby from Python too, he's way lost
<[spoiler]> or that you'll need to replicate the bahaviour
<DouweM> understanding the implementation is great fun btw, but you really won't need it the overwhelming majority of the time
<Technodrome> he's trying to pass function objects (not the execution) as parameters into functions
<[spoiler]> That's why I always skip the hierarchy bit (except for the everything's an object part) when showing people RUby
<Technodrome> i told him the only way I could think of how to do that in ruby, is Proc's
<[spoiler]> there's litte reason why you'd need to use
<[spoiler]> that in Ruby
<DouweM> blocks are basically that
<Technodrome> yes
<[spoiler]> You can also use method(:method_name) and then .call it with arguments, but it's not neccessary
<Technodrome> in python many people will pass in a function though defined somewhere else, then call it inside that function from the parameter
<[spoiler]> Blocks are way easier to use than that
<Technodrome> thats assuming you want the code right there with the method though
<Technodrome> if you want it somewhere else or you use it multiple times for other function, you would use a Proc right?
<DouweM> Ruby isn't Python and you shouldn't try to solve problems the same way in both
<[spoiler]> You can define a proc & recycle, it yeah
<Technodrome> this isn't me :) , i never really did this much in Python myself
<DouweM> Technodrome: blocks are just procs under the hood, and with a &block param you can just get the proc for a block
<Technodrome> yes
<DouweM> but yeah, you would save the block's proc in an ivar or something
<Technodrome> that's one thing that doesn't confuse me , a lot of people it seems the difference between Proc , Block and Lambda confuses them
superman1125 has quit [Remote host closed the connection]
superman1125 has joined #ruby-lang
<DouweM> there are small semantical differences, but they're basically the same thing
<Technodrome> Lambda does argument checking if i recall right?
<[spoiler]> Technodrome: yes
superman1125 has quit [Remote host closed the connection]
<Technodrome> then yes, its similar to many other languages
<DouweM> yes, and Proc returns from its enclosing method while lambda doesn't
superman1125 has joined #ruby-lang
<DouweM> both are just instances of Proc btw, with a flag set for lambda
<Technodrome> so in a lambda a return won't return it, just keep on going?
<DouweM> in a lambda, the return will return from the lambda. in a proc, the return will return from the method calling the proc
<[spoiler]> >> (lambda {}).class
<eval-in> [spoiler] => Proc (https://eval.in/60067)
<[spoiler]> :D
<Mon_Ouie> >> lambda {}.lambda?
<eval-in> Mon_Ouie => true (https://eval.in/60068)
<Mon_Ouie> >> proc {}.lambda?
<eval-in> Mon_Ouie => false (https://eval.in/60069)
<Technodrome> yeah i get it
<Technodrome> I'm getting a bit to in-depth with ruby as I don't think I really need to be here now
<Technodrome> I'm just doing CRUD rails stuff
<DouweM> :)
RiaKoobCam_ has joined #ruby-lang
RiaKoobCam has joined #ruby-lang
<[spoiler]> in-depth ruby is dirty-pleasure ruby
<Technodrome> and I did that pretty productively before really understanding many things
<[spoiler]> oh, that sounded
<DouweM> [spoiler]: YES
<[spoiler]> better in my head
<DouweM> ha
<Technodrome> i will read , ruby under a microscope from front to back though
<DouweM> Eloquent Ruby is good too
<DouweM> haven't read Microsope
<[spoiler]> I haven't read either, tbf
<[spoiler]> I want to now
<DouweM> I should though, have always enyoed Pay Shaugnessy's blogposts on the subject
<DouweM> yeah
<DouweM> *Pat
superman1125 has quit [Remote host closed the connection]
superman1125 has joined #ruby-lang
<Technodrome> eloquent ruby looks nice
shinnya has quit [Ping timeout: 260 seconds]
<Technodrome> I've been learning languages and getting productive in it quickly is something i've been trying to get a process down for years
<DouweM> it is. it was one of the books recommended to me when I asked for suggestions in #RubyOnRails a couple of months ago
<Technodrome> makes me want to get my C knowledge back up to date to so i can read the source code with ease :P
<DouweM> Technodrome: rubinius is a great reference as well, because it's just Ruby(TM)
<DouweM> also, Opal if you know JS
heftig has quit [Quit: Quitting]
<Technodrome> i hate JS now
<Technodrome> used to love it, now hate it in some weird way
heftig has joined #ruby-lang
<[spoiler]> DouweM: Ooh Opal is *awesome*
<[spoiler]> I love opal
<DouweM> it is!
<[spoiler]> and Rubinius is just majsetic as fuck
<[spoiler]> Technodrome: I still love JS. I actually really like both Ruby and JS equaly
<[spoiler]> Even though, I find it nicer to work in Ruby, but dunno... I still like JS
<DouweM> yeah, I'm pretty much in the same boat
<DouweM> JS isn't that bad
<Technodrome> [spoiler]: equally? :)
<Technodrome> maybe it's node.js i hate more but still
<Technodrome> i like smalltalk more than JS, so I will probably like Ruby far more than JS
<[spoiler]> I've wored with node, it didn't enjoy it, but it wasn't bad either. It was alrightish
<Technodrome> do you guys use CoffeeScript with rails?
<DouweM> yes
<[spoiler]> I prefer EventMachine over node.js
<Technodrome> see, i've never used that
<DouweM> I never write JS w/o CoffeeScript anymore
<[spoiler]> Oh, I use coffeescript in non-rails projects, too
<DouweM> it's still the same language, but a lot of the syntax roughness has been smoothened
<DouweM> and I guess it eases working with classes
<[spoiler]> `coffee -o /js -cw src/coffee` is my best friend
superman1125 has quit [Remote host closed the connection]
<Technodrome> i was using typescript a little
<[spoiler]> `coffee -o project/js -cw src/coffee` correction
superman1125 has joined #ruby-lang
<[spoiler]> I also use Sass
<Technodrome> look how much cleaner
enebo has joined #ruby-lang
<DouweM> yeah, <3 coffeescript
<[spoiler]> And I can't help it but read my sass files with so much attitude
<Technodrome> they should just deprecate the JS syntax and use coffee
<DouweM> [spoiler]: sass or scss?
<[spoiler]> DouweM: scss, to be precise, yeah
<DouweM> [spoiler]: yeah, that's why I ask. same here
<DouweM> I was actually using LESS before I got into Rails, but SCSS is basically the same thing
<[spoiler]> Scss is actually more powerful than less (unless they updates less recently)
<[spoiler]> s/updates/updated
<DouweM> I know
<DouweM> it's been 2 years since I last used LESS, and at that point I didn't care about the extra power SCSS had
<[spoiler]> Oh, I rarely use some of the scss features less doesn't has, but I did use them a few times
<DouweM> same here :P
<Technodrome> i've only used LESS
<Technodrome> since its rails, i will use sass
<[spoiler]> sass it more comfortable for some reason
heftig has quit [Quit: Quitting]
<Technodrome> scss is the placement right?
<DouweM> sass uses indentation, scss uses parentheses
<DouweM> both are dialects of SASS
<Technodrome> its good rails has an assets pipeline so we can just throw that stuff in and not worry about the conversion and everything linking up propertly
heftig has joined #ruby-lang
<DouweM> yeah, thank Sprockets for that
<[spoiler]> scss is an enriched css, while sass it like the haml of css
<[spoiler]> i mean, i over-simplified it, but that's how I always felt about them
<DouweM> right, that's how they feel, but save for that minor syntax difference they're exactly the same thing
<[spoiler]> true
<Technodrome> the only difference is parenthesis over indentation right? with scss / sass
<DouweM> yup
<[spoiler]> What!? http://sass-lang.com has new face
<kith> guys i'm trying to install the calculator gem in my cinch bot
<[spoiler]> i love the colon/semicolon on the glasses
<kith> when i activate the module and run the bot i get this error message: NameError: uninitialized constant Cinch::Plugins::Calculate
<kith> what am i missing?
<[spoiler]> did you load the calculator?
<kith> i have this in my code: PLUGINS = [GetFactoid, LearnFactoid, ForgetFactoid, Cinch::Plugins::Identify, Cinch::Plugins::Calculate]
<[spoiler]> Maybe it's Calculator, and not Calculate?
<Technodrome> yes i prefer SaSS
<Technodrome> i'm so stupid of holding out on coffee script for so long
<DouweM> yes, you are
<[spoiler]> Technodrome: I was a bit "I ain't gonna be a part of this system" at first, but when I looked at it I fell in love
<[spoiler]> + I love coffee
<[spoiler]> as in, the beverage
<DouweM> lol
<[spoiler]> Talking of coffee, I'm off to make some!
<[spoiler]> brb!
<kith> according to the docs its calculate: https://github.com/canonical-hackers/cinch-calculate
<kith> i'm admittedly running it on jruby not mri
enebo has quit [Quit: enebo]
jonahR has joined #ruby-lang
<Technodrome> i remember back in 2009 saying i was going to use it, used it for 2 minutes, went right back to JS
<Technodrome> shame on me , shame
<DouweM> think of all the parentheses and semicolons you could have saved!
sulo has joined #ruby-lang
<workmad3> Technodrome: SCSS was introduced to allow normal CSS to be valid SASS basically :)
<Technodrome> ah
<workmad3> Technodrome: so more like LESS... CSS is valid, but with extras rather than a whole new syntax
<Technodrome> DouweM: and just the easiness of creating a class if i just need it
<Technodrome> yeah, don't care about that, sass is good
x0f has quit [Ping timeout: 246 seconds]
<workmad3> and yeah, coffeescript is nice :) although I think it's better to come to it with an understanding of JS still (it's a particularly leaky abstraction :) )
x0f has joined #ruby-lang
datanoise has joined #ruby-lang
<DouweM> oh yeah, definitely
<DouweM> you still need to know JS to write effective CS
sulo has quit [Ping timeout: 240 seconds]
ecnalyr has joined #ruby-lang
yhsgw has quit [Quit: Leaving.]
x0f has quit [Ping timeout: 245 seconds]
sulo has joined #ruby-lang
nertzy2 has joined #ruby-lang
lun__ has quit [Remote host closed the connection]
x0f has joined #ruby-lang
lun__ has joined #ruby-lang
ecnalyr has quit [Ping timeout: 245 seconds]
lun__ has quit [Ping timeout: 260 seconds]
x0f has quit [Ping timeout: 272 seconds]
<[spoiler]> back :-)
x0f has joined #ruby-lang
lun__ has joined #ruby-lang
<[spoiler]> kith: did you require the calculate gem inside your project?
<[spoiler]> kith: you'll need `require 'gem-name'` somewhere in your souce
<kith> yeah thats what i tried next, but it says the file could not be loaded
<kith> and i dont even know where it was placed to begin with :/
<[spoiler]> kith it's in the gem directory, assuming the installation was successful
zz_michael_mbp is now known as michael_mbp
<[spoiler]> use `gem environment` from your terminal
<kith> gem env?
x0f has quit [Ping timeout: 245 seconds]
<[spoiler]> Yep
<[spoiler]> and then read the GEM_PATHS variable
benwoody has joined #ruby-lang
smashwilson has joined #ruby-lang
<[spoiler]> the gem should be in one of those two directories
benwoody has quit [Client Quit]
smashwilson has left #ruby-lang [#ruby-lang]
x0f has joined #ruby-lang
<kith> hmm okay its there
<[spoiler]> then, it should work
<[spoiler]> check the source(s) of the gem to help you
yfeldblum has joined #ruby-lang
Gacha has joined #ruby-lang
<kith> but why doesnt it require the gem in the docs?
ljarvis has joined #ruby-lang
<ljarvis> ohi
<[spoiler]> kith: it is probably implied. How *else* will your code know
<[spoiler]> where the constant is?
<kith> yeah i was wondering but i thought maybe it gets required automatically somehow... without me knowing :D
<[spoiler]> kith: Well, rails does that, in a way
<[spoiler]> kith: it loads stuff lazily, but there's a specific template you need to floow for it to work
sulo has quit [Remote host closed the connection]
<[spoiler]> Ruby itself doesn't do that, because it would be impractical
sulo has joined #ruby-lang
<kith> yeah cinch bot kinda seems to behave like ror
<kith> in a way
<kith> also apparently i had to require 'cinch-calculate' instead of cinch/calculate'
Cakey has quit [Ping timeout: 260 seconds]
<[spoiler]> kith: add that to the documentation and send a pull request :D
<dominikh> cinch behaves nothing like Rails :)
<ljarvis> lol
x0f has quit [Ping timeout: 272 seconds]
<ljarvis> also recommend against sending a pull reqq
<[spoiler]> I don't even know what cinch is, but I like the way it sounds when you say it outloud
<dominikh> cinch-calculate isn't mine, have him send whatever he wants :P
<[spoiler]> try saying cinch repeatedly
<ljarvis> [spoiler]: THANK YOU
x0f has joined #ruby-lang
<ljarvis> (I came up with that name and built the original cinch)
<ljarvis> but dominikh (who took over cinch and rewrote it) is not so keen
<dominikh> original code sucked, name sucked, we decided to keep only one of them.
<[spoiler]> ljarvis: haha! It's an awesome name
<ljarvis> haha
<ljarvis> dominikh: ILU2
<[spoiler]> tsk, dominikh. Don't be a spoilsport
<ljarvis> yeah dominikh
<ljarvis> btw he's right about the code though
lun__ has quit [Remote host closed the connection]
<[spoiler]> sing "cinch" in any tune
<[spoiler]> it you'll love it
lun__ has joined #ruby-lang
<micalexander> Im rebuilding a bash script with ruby and prior to doing so I would store the global config in the home directory (os x). Now that Im writing it in ruby I want the ability for this app to be cross-platform. in bash I would use $HOME/.global_config as the location to store the the global config. What waould be the equivalent in ruby to make it cross platform though?
sulo has quit [Ping timeout: 240 seconds]
<ljarvis> micalexander: ENV['HOME']
<ljarvis> pretty sure windows uses that too no?
<micalexander> ljarvis: where does that place it in windows?
<Elico> c:/Users/USERNAME/X
<micalexander> not sure, thats why Im asking the smart guys
<ljarvis> micalexander: use File.expand_path("~") if not
<micalexander> Elico: so ENV['HOME'] is equal to c:/Users/USERNAME/X
<ljarvis> micalexander: on 1.9+ iirc there's Dir.home
<ljarvis> >> 1
<eval-in> ljarvis => 1 (https://eval.in/60083)
<ljarvis> >> Dir.home
<eval-in> ljarvis => couldn't find HOME environment -- expanding `~' (ArgumentError) ... (https://eval.in/60084)
<ljarvis> ^
<Elico> micalexander: it's a basic assumption ...
<ljarvis> micalexander: Dir.home looks like the way to go
x0f has quit [Ping timeout: 240 seconds]
<micalexander> ljarvis: so exactly that "Dir.home"
<ljarvis> micalexander: exactly that
lun___ has joined #ruby-lang
<Elico> but it's only on 1.9.3 if I'm not wrong..
<ljarvis> Elico: right, and if you're on 1.8 you're silly
<micalexander> im silly!
<micalexander> jk Im using 1.9
x0f has joined #ruby-lang
<Elico> ljarvis: how silly a 1.8 can be?
lun__ has quit [Ping timeout: 245 seconds]
<ljarvis> Elico: it's been EOL, no one should be using it
<Elico> there are dozens of systems out there that just works based on 1.8.7..
<dominikh> just like there are many Windows XP systems with IE6
<ljarvis> ^
<ljarvis> lets all code for windows 95
<Elico> and it is not wrong..
<dominikh> nah, it's not wrong to use software with no more updates, security issues and bugs :)
<Elico> I want to code for Command line... 6.22
<ljarvis> well micalexander is on 1.9, so this conversation is pretty moot
<micalexander> Elico: yeah but I said Im porting from bash Id be pretty silly to write it in 1.8
<kith> dominikh: are you saying cinch is dead?
<ljarvis> LOL
<ljarvis> sorry
<dominikh> wat
<dominikh> I don't even
<ljarvis> I don't even either
<Elico> micalexander: as long as you do have an up-to-date version it's enoguh
<micalexander> cool
<Elico> I remember that home dir in windows + ruby is something that should be put somehow but I do not remember how it works.
<Elico> if there is someone with windows installed + irb it can be verified in secs
thepumpkin has joined #ruby-lang
<micalexander> ljarvis: like this right (just checking) File.join( Dir.home, ".global_config" )
<ljarvis> micalexander: you got it!
<micalexander> cool
sevvie has joined #ruby-lang
Gacha has quit [Ping timeout: 260 seconds]
wallerdev has joined #ruby-lang
styped has joined #ruby-lang
thepumpkin has quit [Ping timeout: 272 seconds]
sevvie has quit [Client Quit]
Mon_Ouie has quit [Ping timeout: 245 seconds]
madog has joined #ruby-lang
sulo has joined #ruby-lang
MaddinXx_ has joined #ruby-lang
nertzy2 has quit [Quit: This computer has gone to sleep]
styped has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sulo has quit [Ping timeout: 240 seconds]
nertzy2 has joined #ruby-lang
ecnalyr has joined #ruby-lang
UziMonkey has quit []
micalexander has quit [Remote host closed the connection]
UziMonkey has joined #ruby-lang
<[spoiler]> o:
micalexander has joined #ruby-lang
momomomomo has joined #ruby-lang
sevvie has joined #ruby-lang
<[spoiler]> I had to go play with my kitten
<[spoiler]> he was craving attention
ecnalyr has quit [Ping timeout: 245 seconds]
banisterfiend has quit [Quit: Computer has gone to sleep.]
superman1125 has quit [Remote host closed the connection]
superman1125 has joined #ruby-lang
RiaKoobCam_ has quit [Quit: RiaKoobCam_]
RiaKoobCam has quit [Quit: RiaKoobCam]
|jemc| has joined #ruby-lang
micalexander has quit [Ping timeout: 240 seconds]
pkondzior___ has quit []
pkondzior___ has joined #ruby-lang
<Technodrome> DouweM: i know JS quite well, did a lot of node.js dev
styped has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
<[spoiler]> It's not ruby-related, but I need to load about a dozen high-resolution images on a single website (as part of agallery) I was thinking of having 3 img tags and loading the current and the previou & next image
<[spoiler]> and then manipulating the currently viewed image with JS
<[spoiler]> but, it sounds dirty
<DouweM> you could have just one <img> tag and use new Image(url) to preload the next/previous
<DouweM> `x = new Image(); x.src = url;` that is
Gacha has joined #ruby-lang
imperator has joined #ruby-lang
<[spoiler]> DouweM: Hmm, wouldn't that discard the old media?
workmad3 has quit [Ping timeout: 246 seconds]
nofxx has joined #ruby-lang
banisterfiend has joined #ruby-lang
<DouweM> what do you mean?
<DouweM> sorry, I gotta go. good luck, hope you figure it out
<[spoiler]> DouweM: Well, if I was making a browser, I'd unload that image from memory
<[spoiler]> once it was unused
bzalasky has joined #ruby-lang
ek428 has joined #ruby-lang
earthquake has joined #ruby-lang
Technodrome has quit [Quit: Technodrome]
ek428 has quit [Ping timeout: 250 seconds]
havenwood has joined #ruby-lang
x0f has quit [Ping timeout: 272 seconds]
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
nertzy2 has quit [Quit: This computer has gone to sleep]
atmosx has joined #ruby-lang
x0f has joined #ruby-lang
kurko_ has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby-lang
smashwilson has joined #ruby-lang
smashwilson has left #ruby-lang [#ruby-lang]
jiuweigui has joined #ruby-lang
bzalasky has quit [Ping timeout: 245 seconds]
CaptainJet has joined #ruby-lang
x0f has quit [Ping timeout: 272 seconds]
lun___ has quit [Ping timeout: 245 seconds]
x0f has joined #ruby-lang
jonahR has quit [Ping timeout: 248 seconds]
jonahR_ has joined #ruby-lang
sevvie has quit [Quit: leaving]
wallerdev has quit [Quit: wallerdev]
lun__ has joined #ruby-lang
x0f has quit [Ping timeout: 272 seconds]
x0f has joined #ruby-lang
sulo has joined #ruby-lang
TheMoonMaster has quit [Excess Flood]
TheMoonMaster has joined #ruby-lang
Technodrome has joined #ruby-lang
hahuang65 has joined #ruby-lang
sulo has quit [Ping timeout: 260 seconds]
ecnalyr has joined #ruby-lang
hahuang65 has quit [Client Quit]
atmosx has quit [Ping timeout: 245 seconds]
ecnalyr has quit [Ping timeout: 245 seconds]
lnlyplnt has quit [Remote host closed the connection]
superman1125 has quit [Ping timeout: 240 seconds]
MrZYX is now known as MrZYX|off
adambeynon has joined #ruby-lang
jxie has joined #ruby-lang
styped has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jxie_ has quit [Ping timeout: 245 seconds]
snarfmason has quit [Quit: Textual IRC Client: www.textualapp.com]
banisterfiend has quit [Quit: Computer has gone to sleep.]
havenwood has quit [Remote host closed the connection]
MrZYX|off is now known as MrZYX
banisterfiend has joined #ruby-lang
MaddinXx_ has quit [Ping timeout: 252 seconds]
jxie has quit [Ping timeout: 272 seconds]
wallerdev has joined #ruby-lang
bzalasky has joined #ruby-lang
earthquake has quit [Quit: earthquake]
jxie has joined #ruby-lang
fuhgeddaboudit has quit [Ping timeout: 245 seconds]
snarfmason has joined #ruby-lang
mistym has joined #ruby-lang
Technodrome has quit [Quit: Technodrome]
yfeldblum has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby-lang
imperator has quit [Ping timeout: 240 seconds]
rtgg has joined #ruby-lang
thepumpkin has joined #ruby-lang
kurko_ has joined #ruby-lang
micalexander has joined #ruby-lang
vlad_sta_ has joined #ruby-lang
marcdel has joined #ruby-lang
mbj has joined #ruby-lang
thepumpkin has quit [Ping timeout: 240 seconds]
nisstyre has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 240 seconds]
styped has joined #ruby-lang
vlad_sta_ has quit [Remote host closed the connection]
skamijo has joined #ruby-lang
r0bgleeson has joined #ruby-lang
yellow5 has quit [Quit: time to go!]
Technodrome has joined #ruby-lang
yellow5 has joined #ruby-lang
Technodrome has quit [Changing host]
Technodrome has joined #ruby-lang
linc01n has quit [Ping timeout: 252 seconds]
linc01n has joined #ruby-lang
sulo has joined #ruby-lang
sulo has quit [Ping timeout: 240 seconds]
ecnalyr has joined #ruby-lang
skamijo has quit [Quit: Leaving...]
92AAARJ60 has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
banisterfiend has quit [Quit: Computer has gone to sleep.]
ecnalyr has quit [Ping timeout: 245 seconds]
<[spoiler]> rofl, the folk at ##javascript is so full of angst. I asked a simple theoretical question, and they went knuts
<Technodrome> [spoiler]: what other languages do you like?
yfeldblum has joined #ruby-lang
<[spoiler]> Technodrome: I'm quite fond of Go. I also ~sort of~ like C and C++
yfeldblum has quit [Remote host closed the connection]
<Technodrome> my first language was pascal
<Technodrome> [spoiler]: you like objective-c?
<[spoiler]> my first language was iptscae (it's horrendous)
yfeldblum has joined #ruby-lang
<[spoiler]> i've never tried objective c
<[spoiler]> didn't have the opportunity (or the need for it)
<[spoiler]> I'm a windows user :-)
<Technodrome> its a language i know, but trying to get very much better at in the next few days as well
<Technodrome> it's like ruby a bit
<Technodrome> well they both share the common influence from smalltalk
<Technodrome> another language I like a lot
<[spoiler]> oh, objective c looks interesting
vlad_starkov has joined #ruby-lang
micalexander has quit [Remote host closed the connection]
micalexander has joined #ruby-lang
micalexander has quit [Remote host closed the connection]
Gacha has quit [Ping timeout: 272 seconds]
micalexander has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
banisterfiend has joined #ruby-lang
lsegal has joined #ruby-lang
superman1125 has joined #ruby-lang
wallerdev_ has joined #ruby-lang
micalexander has quit [Ping timeout: 245 seconds]
wallerdev has quit [Read error: Connection reset by peer]
wallerdev_ is now known as wallerdev
hahuang65 has joined #ruby-lang
CaptainJet has quit []
yfeldblum has quit [Ping timeout: 246 seconds]
CaptainJet has joined #ruby-lang
yfeldblum has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
bzalasky has quit []
superman1125 has quit [Ping timeout: 260 seconds]
bzalasky has joined #ruby-lang
hahuang65 has quit [Quit: WeeChat 0.4.2]
jeer has quit [Read error: Connection reset by peer]
jeer has joined #ruby-lang
vlad_starkov has joined #ruby-lang
hakunin has joined #ruby-lang
hakunin has quit [Remote host closed the connection]
hakunin has joined #ruby-lang
hahuang65 has joined #ruby-lang
jeer has quit [Read error: Connection reset by peer]
jeer has joined #ruby-lang
styped has quit [Quit: Textual IRC Client: www.textualapp.com]
wallerdev has quit [Quit: wallerdev]
hahuang65 has quit [Ping timeout: 240 seconds]
momomomomo has quit [Quit: momomomomo]
Locke23rus has joined #ruby-lang
marr has joined #ruby-lang
ihme-TTilus is now known as TTilus
saarinen has joined #ruby-lang
zz_dlu has quit [Quit: ZNC - http://znc.in]
GaelanAintAround has quit [Quit: Bye!]
* TTilus started with commodore basic
Andrevan has quit [Quit: WeeChat 0.4.2-rc1]
sulo has joined #ruby-lang
diegoviola has joined #ruby-lang
GaelanAintAround has joined #ruby-lang
zz_dlu has joined #ruby-lang
sulo has quit [Ping timeout: 245 seconds]
imperator has joined #ruby-lang
ecnalyr has joined #ruby-lang
ecnalyr has quit [Ping timeout: 245 seconds]
DouweM has quit [Ping timeout: 272 seconds]
Tearan has joined #ruby-lang
nisstyre has quit [Ping timeout: 246 seconds]
nisstyre has joined #ruby-lang
nertzy2 has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby-lang
zz_dlu has quit [Quit: ZNC - http://znc.in]
GaelanAintAround has quit [Quit: Bye!]
mbj_ has joined #ruby-lang
mbj has quit [Read error: Connection reset by peer]
mbj has joined #ruby-lang
mbj_ has quit [Read error: Connection reset by peer]
fijimunkii has joined #ruby-lang
charlespeach has joined #ruby-lang
atmosx has joined #ruby-lang
atmosx has quit [Ping timeout: 248 seconds]
thepumpkin has joined #ruby-lang
saarinen has quit [Quit: saarinen]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Croesus has joined #ruby-lang
thepumpkin has quit [Ping timeout: 272 seconds]
smashwilson has joined #ruby-lang
smashwilson has left #ruby-lang [#ruby-lang]
iliketurtles has joined #ruby-lang
kurko_ has quit [Ping timeout: 245 seconds]
imperator has quit [Ping timeout: 272 seconds]
imperator has joined #ruby-lang
DEac-_ has quit [Ping timeout: 240 seconds]
DEac- has joined #ruby-lang
CaptainJet has quit []
RiaKoobCam_ has joined #ruby-lang
RiaKoobCam has joined #ruby-lang
sulo has joined #ruby-lang
CaptainJet has joined #ruby-lang
sulo has quit [Ping timeout: 272 seconds]
ecnalyr has joined #ruby-lang
Croesus has quit []
workmad3 has joined #ruby-lang
CaptainJet has quit []
ecnalyr has quit [Ping timeout: 245 seconds]
jonahR_ has quit [Ping timeout: 240 seconds]
Olipro has joined #ruby-lang
vlad_sta_ has joined #ruby-lang
CaptainJet has joined #ruby-lang
ikrima has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Ping timeout: 248 seconds]
sreffotsirk has quit [Quit: ❤]
Technodrome has quit [Quit: Technodrome]
jonahR has joined #ruby-lang
smashwilson1 has joined #ruby-lang
92AAARJ60 has quit [Read error: Connection reset by peer]
cads has quit [Ping timeout: 272 seconds]
smashwilson1 has left #ruby-lang [#ruby-lang]
Gacha has joined #ruby-lang
RickHull has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
Technodrome has joined #ruby-lang
Technodrome has quit [Changing host]
Technodrome has joined #ruby-lang
lun__ has quit [Remote host closed the connection]
lun__ has joined #ruby-lang
mbj has quit [Quit: leaving]
lun__ has quit [Ping timeout: 260 seconds]
vlad_sta_ has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
diegoviola has quit [Ping timeout: 248 seconds]
cads has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
bantic has joined #ruby-lang
Jeticus has joined #ruby-lang
CaptainJet has quit [Ping timeout: 272 seconds]
mrphs has joined #ruby-lang
fuhgeddaboudit has joined #ruby-lang
havenwood has joined #ruby-lang
atmosx has joined #ruby-lang
|jemc| has quit [Ping timeout: 260 seconds]
yfeldblu_ has quit [Ping timeout: 248 seconds]
atmosx has quit [Ping timeout: 240 seconds]
temple3188 has joined #ruby-lang
ruby-lang511 has joined #ruby-lang
sulo has joined #ruby-lang
sulo has quit [Ping timeout: 245 seconds]
<tbuehlmann> mh, are symbols considered literals?
ecnalyr has joined #ruby-lang
yfeldblum has joined #ruby-lang
ikrima has joined #ruby-lang
imperator has quit [Ping timeout: 272 seconds]
temple3188 has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
ruby-lang511 has quit [Quit: Page closed]
michael_mbp is now known as zz_michael_mbp
ecnalyr has quit [Ping timeout: 245 seconds]
fuhgeddaboudit has quit [Ping timeout: 272 seconds]
<[spoiler]> tbuehlmann: if you write :symbol, then yes
<Mon_Ouie> Symbols are object. :foo is a symbol literal.
<[spoiler]> ^ exactly that
<tbuehlmann> great, thanks
<[spoiler]> well, I'm off to bed, folk
<[spoiler]> Good night!
[spoiler] has quit [Quit: Leaving]
jaimef has quit [Excess Flood]
Gacha has quit [Ping timeout: 260 seconds]
Andrevan has joined #ruby-lang
jaimef has joined #ruby-lang
ikrima has quit [Quit: Computer has gone to sleep.]
smashwilson has joined #ruby-lang
smashwilson has left #ruby-lang [#ruby-lang]
arBmind1 has quit [Quit: Leaving.]
arBmind has joined #ruby-lang
<apeiros> tbuehlmann: a literal is an object written directly as-is in the code, and not constructed from an operation
<apeiros> e.g. "foo" is a string literal
<apeiros> 12.to_s # returns a string, but is not a string literal
Technodrome has quit [Quit: Technodrome]
<tbuehlmann> I know, but I wasn't too sure about symbols, because I can't instantiate them otherwise, right?
<apeiros> wrong
<apeiros> "foo".to_sym
<tbuehlmann> hah, gotcha
<apeiros> and even if, the distinction between object (a thing in the runtime) and literal (a thing written in the code) still exists ;-)
Technodrome has joined #ruby-lang
Bosox20051 has joined #ruby-lang
<apeiros> tbuehlmann: also things like .methods (returns an array of symbols - no literal involved)
<tbuehlmann> well, I thought of the literal in contrast to something like Symbol.new('foo')
<tbuehlmann> but I'm cool now, thanks
KTMBoi88 has joined #ruby-lang
ikrima has joined #ruby-lang
symm- has quit [Ping timeout: 272 seconds]
Bosox20051 has quit [Ping timeout: 272 seconds]
RickHull has quit [Quit: Leaving.]
vlad_starkov has joined #ruby-lang
symm- has joined #ruby-lang
atmosx has joined #ruby-lang
dingus_khan has joined #ruby-lang
thepumpkin has joined #ruby-lang
imperator has joined #ruby-lang
<r0bgleeson> >> Symbol.new "foo"
<eval-in> r0bgleeson => undefined method `new' for Symbol:Class (NoMethodError) ... (https://eval.in/60111)
thepumpkin has quit [Ping timeout: 246 seconds]
<banisterfiend> >> String.new "foo"
<eval-in> banisterfiend => "foo" (https://eval.in/60112)
<banisterfiend> >> String.new "foo", 3
<eval-in> banisterfiend => wrong number of arguments (2 for 0..1) (ArgumentError) ... (https://eval.in/60113)
madog has left #ruby-lang [#ruby-lang]
cnivolle has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
zz_dlu has joined #ruby-lang
GaelanAintAround has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Elico has quit [Ping timeout: 260 seconds]
sulo has joined #ruby-lang
Oloryn_lt2 has joined #ruby-lang
MrZYX is now known as MrZYX|off
Oloryn_lt21 has quit [Ping timeout: 245 seconds]
havenwood has quit [Remote host closed the connection]
kurko_ has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
sulo has quit [Ping timeout: 246 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
ecnalyr has joined #ruby-lang
ecnalyr has quit [Ping timeout: 245 seconds]
havenwood has joined #ruby-lang
Andrevan has quit [Quit: WeeChat 0.4.2-rc1]
retro|cz has quit [Ping timeout: 245 seconds]
lun__ has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblu_ has joined #ruby-lang
lun__ has quit [Ping timeout: 272 seconds]
iliketurtles has joined #ruby-lang
yfeldblu_ has quit [Ping timeout: 245 seconds]
havenn has joined #ruby-lang
vlad_starkov has joined #ruby-lang
havenwood has quit [Ping timeout: 272 seconds]
workmad3 has quit [Ping timeout: 248 seconds]
fijimunkii has quit [Ping timeout: 248 seconds]
anekos_ has quit [Ping timeout: 272 seconds]
zz_michael_mbp is now known as michael_mbp
robbyoconnor has quit [Read error: No route to host]
r0bby_ has joined #ruby-lang
anekos_ has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
nertzy2 has quit [Quit: This computer has gone to sleep]
earthquake has joined #ruby-lang
Locke23rus has quit [Remote host closed the connection]
dus7 has joined #ruby-lang
CoreData has quit [Quit: CoreData]
michael_mbp is now known as zz_michael_mbp
sulo has joined #ruby-lang
CoreData has joined #ruby-lang
dus7 has quit [Remote host closed the connection]
r0bby_ has quit [Excess Flood]
r0bby_ has joined #ruby-lang
dus7 has joined #ruby-lang
imperator has quit [Ping timeout: 246 seconds]
sulo has quit [Ping timeout: 272 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
ecnalyr has joined #ruby-lang
Raza14 has joined #ruby-lang
Raza14 has quit [Read error: Connection reset by peer]
RiaKoobCam_ has quit [Quit: RiaKoobCam_]
RiaKoobCam has quit [Quit: RiaKoobCam]
ecnalyr has quit [Ping timeout: 245 seconds]
shinnya has joined #ruby-lang
jacktrick has quit []