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
Forgetful_Lion has quit [Read error: Connection reset by peer]
grough has quit []
stamina has quit [Ping timeout: 240 seconds]
kith has quit [Ping timeout: 248 seconds]
kith has joined #ruby-lang
nathanstitt has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
datanoise has quit [Ping timeout: 248 seconds]
Coincidental has quit [Ping timeout: 240 seconds]
mdedetrich has quit [Quit: Computer has gone to sleep.]
jbsan has quit [Quit: JB.. OUT!]
io_syl has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
kek has joined #ruby-lang
bzalasky has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
bzalasky_ has joined #ruby-lang
bzalasky has quit [Ping timeout: 245 seconds]
kek has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
datanoise has joined #ruby-lang
D9_ has quit [Ping timeout: 240 seconds]
D9_ has joined #ruby-lang
imperator has quit [Quit: Valete!]
jeff_r has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
fuhgeddaboudit has quit [Ping timeout: 252 seconds]
Coincide_ has joined #ruby-lang
<zzak> :(
hogeo has joined #ruby-lang
<zzak> i am morning of first day :(
bzalasky_ has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
bzalasky has quit [Ping timeout: 245 seconds]
<zenspider> zzak: means you get it over with and can enjoy the rest of the conf instead of fretting the whole time
edwardog has joined #ruby-lang
<edwardog> Has anyone played with DBM much?
ssb123 has quit [Remote host closed the connection]
ssb123 has joined #ruby-lang
ssb123 has quit [Read error: Connection reset by peer]
ssb123 has joined #ruby-lang
bzalasky has joined #ruby-lang
<zenspider> edwardog: the low level db?
<edwardog> zenspider: yes – I was looking for a key/value store and saw that it was in the standard lib
mdedetrich has joined #ruby-lang
julweber has quit [Remote host closed the connection]
bastilian_ has joined #ruby-lang
bastilian has quit [Read error: Connection reset by peer]
bastilian_ has quit [Read error: Connection reset by peer]
bastilian has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
tkuchiki has joined #ruby-lang
eponymi has joined #ruby-lang
shinnya has quit [Ping timeout: 248 seconds]
hhatch has quit [Read error: Operation timed out]
imperator has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
fenicks has quit [Remote host closed the connection]
Senjai has joined #ruby-lang
Senjai has quit [Changing host]
Senjai has joined #ruby-lang
iliketurtles has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
lfox has joined #ruby-lang
Senjai has quit [Ping timeout: 245 seconds]
lfox has quit [Client Quit]
jeff_r has joined #ruby-lang
fijimunkii has joined #ruby-lang
bantic has joined #ruby-lang
Oloryn_lt2 has joined #ruby-lang
edwardog has quit [Quit: edwardog]
fijimunkii has quit [Ping timeout: 240 seconds]
methods has joined #ruby-lang
methods has left #ruby-lang [#ruby-lang]
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
fuhgeddaboudit has joined #ruby-lang
bzalasky has quit [Ping timeout: 256 seconds]
hahuang61 has quit [Ping timeout: 240 seconds]
spuk has quit [Ping timeout: 260 seconds]
iliketurtles has quit [Quit: zzzzz…..]
spuk has joined #ruby-lang
ledestin has joined #ruby-lang
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
cjs226 has joined #ruby-lang
mannyt has quit [Ping timeout: 245 seconds]
lsegal` has joined #ruby-lang
mannyt has joined #ruby-lang
vbatts1 has left #ruby-lang [#ruby-lang]
lsegal has quit [Read error: Connection reset by peer]
bastilian has quit [Read error: Connection reset by peer]
vbatts has joined #ruby-lang
<onewheelskyward> I use sqlite for that kind of stuff.
bastilian has joined #ruby-lang
mannyt has quit [Client Quit]
nofxx has quit [Read error: Connection reset by peer]
nofxx1 has joined #ruby-lang
ledestin has quit [Ping timeout: 256 seconds]
Domon has joined #ruby-lang
Coincide_ has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
Domon has quit [Remote host closed the connection]
Domon has joined #ruby-lang
Domon__ has joined #ruby-lang
Domon has quit [Read error: Connection reset by peer]
Coincidental has quit [Ping timeout: 248 seconds]
<zzak> zenspider: :(
D9_ has quit [Quit: Leaving]
bantic has quit [Quit: bantic]
woollyams has quit [Ping timeout: 252 seconds]
ledestin has joined #ruby-lang
havenwood has joined #ruby-lang
fuhgeddaboudit has quit [Ping timeout: 252 seconds]
grough has joined #ruby-lang
havenwood has quit [Ping timeout: 246 seconds]
mmorga has joined #ruby-lang
Oloryn_lt2 has quit [Read error: Connection timed out]
kurko_ has joined #ruby-lang
Oloryn_lt2 has joined #ruby-lang
Coincidental has joined #ruby-lang
cjs226 has quit []
eponymi has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
nneko001__ has joined #ruby-lang
cored has quit [Ping timeout: 256 seconds]
<imperator> "cannot compute size of (long long)" - crap
grough has quit []
diegoviola has joined #ruby-lang
captain_chen has joined #ruby-lang
kgrz has joined #ruby-lang
* imperator slaps -m64 everywhere
havenwood has joined #ruby-lang
iliketurtles has joined #ruby-lang
kurko_ has quit [Quit: Computer has gone to sleep.]
<imperator> no joy
nofxx1 has quit [Read error: Connection reset by peer]
nofxx has joined #ruby-lang
havenwood has quit [Ping timeout: 240 seconds]
<captain_chen> What's the policy on asking help on assignments?
jonathanmarvens has joined #ruby-lang
<captain_chen> I just need a push in the right direction through some examples.
nisstyre has joined #ruby-lang
_jpb_ has quit [Ping timeout: 256 seconds]
<imperator> it's fine as long as you tell us it's an assignment
<imperator> so we know not to give you a direct answer :)
<imperator> what's the assignment?
<captain_chen> Okay.
<captain_chen> My question is: How would I create an inverted index from reading a document formatted in a certain way?
<captain_chen> My idea was to slurp the entire file, then use String.scan(/regex/) to grab the terms I needed in order to tokenize them to be placed later into a hash. Is my reasoning any good?
<captain_chen> The only issue is that it will grab a whole sentence instead of just singular words which I need to work with.
bantic has joined #ruby-lang
fuhgeddaboudit has joined #ruby-lang
bantic has quit [Client Quit]
mucker has joined #ruby-lang
<imperator> seems like a reasonable approach
<imperator> but, let's think about this
<imperator> you need scan strings
<imperator> how would you go about getting strings, say, line by line from a file?
roadt_ has joined #ruby-lang
mmorga has quit [Remote host closed the connection]
<captain_chen> Would it be better to do: File.read(file).each
<captain_chen> Then pass it to a block?
mannyt has joined #ruby-lang
<imperator> try that, see if it fits with what you're trying to do, and is easier than slurping the whole file all at once
<imperator> and with that, i must be going
<imperator> hopefully that gets you started
<captain_chen> Ha, alright thanks.
imperator has left #ruby-lang ["Leaving"]
grahamsavage has joined #ruby-lang
<grahamsavage> is there a never ending loop in ruby?
<grahamsavage> i.e loop { break if bla } something like that
<grahamsavage> i know i could do while true do end
<grahamsavage> but hmm
nathanstitt has quit [Quit: I growing sleepy]
postmodern has quit [Quit: Leaving]
jonahR has joined #ruby-lang
fijimunkii has joined #ruby-lang
<captain_chen> Yeah.
hahuang61 has joined #ruby-lang
nathanstitt has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 245 seconds]
jonathanmarvens has quit [Remote host closed the connection]
jonathanmarvens has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
vxxr has joined #ruby-lang
roadt_ has quit [Ping timeout: 245 seconds]
jonathanmarvens has quit [Ping timeout: 240 seconds]
jeff_r has quit [Remote host closed the connection]
sevvie has quit [Ping timeout: 245 seconds]
havenwood has joined #ruby-lang
havenwood has quit [Ping timeout: 264 seconds]
sevvie has joined #ruby-lang
sevvie has quit [Ping timeout: 256 seconds]
vxxr has quit [Quit: leaving]
sevvie has joined #ruby-lang
postmodern has joined #ruby-lang
<captain_chen> Anyone good with reading text from files using regex?
brianpWins has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
captain_chen has quit [Quit: Page closed]
ldnunes has quit [Quit: Leaving]
Oak has joined #ruby-lang
Oak has quit [Changing host]
Oak has joined #ruby-lang
jithu has joined #ruby-lang
soba has joined #ruby-lang
mucker has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
nofxx has quit [Remote host closed the connection]
lsegal` has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
havenwood has quit [Ping timeout: 264 seconds]
Domon__ has quit [Remote host closed the connection]
Domon has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 246 seconds]
mannyt has quit [Quit: mannyt]
dhruvasagar has joined #ruby-lang
nofxx has joined #ruby-lang
bzalasky has joined #ruby-lang
Domon has quit [Ping timeout: 264 seconds]
julweber has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
jithu has quit [Quit: Mother, did it need to be so high?]
julweber has quit [Ping timeout: 240 seconds]
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
diegoviola has quit [Read error: No route to host]
tenderlove has joined #ruby-lang
tenderlove has quit [Client Quit]
robbyoconnor has joined #ruby-lang
krz has joined #ruby-lang
ssb123 has quit [Remote host closed the connection]
<krz> how can i get this to work: https://gist.github.com/6805245
<krz> at the moment, it returns nil
ssb123 has joined #ruby-lang
jithu has joined #ruby-lang
schaerli has joined #ruby-lang
ssb123_ has joined #ruby-lang
ssb123 has quit [Read error: Connection reset by peer]
schaerli has quit [Remote host closed the connection]
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
schaerli has joined #ruby-lang
robbyoconnor has quit [Max SendQ exceeded]
schaerli has quit [Remote host closed the connection]
ssb123_ has quit [Remote host closed the connection]
ssb123 has joined #ruby-lang
robbyoconnor has joined #ruby-lang
ssb123 has quit [Ping timeout: 245 seconds]
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
Domon has joined #ruby-lang
havenwood has joined #ruby-lang
kgrz has joined #ruby-lang
segy has quit [Ping timeout: 240 seconds]
havenwood has quit [Ping timeout: 256 seconds]
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
cads has joined #ruby-lang
kgrz has quit [Ping timeout: 252 seconds]
apeiros has quit [Read error: Connection reset by peer]
apeiros has joined #ruby-lang
segy has joined #ruby-lang
segy has quit [Changing host]
segy has joined #ruby-lang
rhizome has quit [Quit: Lost terminal]
robbyoconnor has quit [Quit: Konversation terminated!]
ssb123 has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
solars has joined #ruby-lang
diegoviola has joined #ruby-lang
kgrz has joined #ruby-lang
ssb123 has quit [Ping timeout: 245 seconds]
io_syl has quit []
io_syl has joined #ruby-lang
jerrytgarcia has joined #ruby-lang
tonni has quit [Remote host closed the connection]
jithu has quit [Ping timeout: 240 seconds]
dhruvasagar has quit [Read error: Connection reset by peer]
jithu has joined #ruby-lang
dhruvasagar has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
dhruvasagar has quit [Read error: Connection reset by peer]
brianpWins has joined #ruby-lang
dhruvasagar has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
Domon has quit [Remote host closed the connection]
bzalasky has quit [Remote host closed the connection]
Domon has joined #ruby-lang
bzalasky has joined #ruby-lang
Domon__ has joined #ruby-lang
Domon has quit [Read error: Connection reset by peer]
dhruvasagar has quit [Read error: Connection reset by peer]
bzalasky has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
dagobah has joined #ruby-lang
dhruvasagar has joined #ruby-lang
havenwood has joined #ruby-lang
jithu has quit [Quit: Mother, did it need to be so high?]
havenwood has quit [Ping timeout: 264 seconds]
<ljarvis> krz: that shouldn't work at all
<ljarvis> krz: you need to define Bar before Foo iirc
<ljarvis> >> class Foo; include Bar; end; module Bar; end
<eval-in> ljarvis => uninitialized constant Foo::Bar (NameError) ... (https://eval.in/52187)
iliketurtles has quit [Quit: zzzzz…..]
<ljarvis> other than that, if you define Bar first, it'll work
<krz> ljarvis: k
<krz> ok how do i get User.new.attributes to return the class variable @@assigned_attributes: https://gist.github.com/6805245
bzalasky has joined #ruby-lang
jonahR has quit [Ping timeout: 252 seconds]
jonahR has joined #ruby-lang
<krz> ok seems to work now with the new gist
io_syl has quit []
wallerdev has quit [Quit: wallerdev]
h_kon has joined #ruby-lang
wallerdev has joined #ruby-lang
jithu has joined #ruby-lang
jonahR has quit [Quit: jonahR]
pellenation has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
tonni has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
tonni has quit [Ping timeout: 248 seconds]
mucker has joined #ruby-lang
bzalasky_ has joined #ruby-lang
ItSANgo__ has quit [Quit: Leaving...]
bzalasky has quit [Ping timeout: 240 seconds]
rue has quit [Remote host closed the connection]
rue has joined #ruby-lang
axsuul has joined #ruby-lang
<grahamsavage> ok
<grahamsavage> so i have a string.. sometimes i need to just append to it, and sometimes i need to append to it with a new line
<grahamsavage> is there a way i can do this without having to append "\n" of each line that needs it?
hhatch has joined #ruby-lang
tonni has joined #ruby-lang
<grahamsavage> hmm probably not
<grahamsavage> def +n(append); self + append + "\n"; end << i suppose that would work
fosky has quit [Ping timeout: 240 seconds]
h_kon has quit [Remote host closed the connection]
<yorickpeterse> morning
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
mistym has quit [Remote host closed the connection]
h_kon has joined #ruby-lang
tonni has quit [Read error: Connection reset by peer]
face has quit [Ping timeout: 252 seconds]
<yorickpeterse> ljarvis: so how's the swashbuckling going?
joonty has joined #ruby-lang
<yorickpeterse> made any nerds walk the plank already?
charliesome has joined #ruby-lang
havenwood has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
workmad3 has joined #ruby-lang
havenwood has quit [Ping timeout: 256 seconds]
fosky has joined #ruby-lang
bzalasky_ has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
Coincidental has quit [Ping timeout: 256 seconds]
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
tonni has joined #ruby-lang
bzalasky has quit [Ping timeout: 256 seconds]
datanoise has quit [Ping timeout: 245 seconds]
tonni has quit [Read error: Connection reset by peer]
relix has joined #ruby-lang
Domon__ has quit [Remote host closed the connection]
Domon has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
benlovell has joined #ruby-lang
skade has joined #ruby-lang
dhruvasagar has joined #ruby-lang
<ljarvis> yorickpeterse: of course
brianpWins has quit [Quit: brianpWins]
<ljarvis> arrrr etc
mdedetrich has quit [Quit: Computer has gone to sleep.]
Domon has quit [Ping timeout: 246 seconds]
mdedetrich has joined #ruby-lang
h_kon has quit [Remote host closed the connection]
fosky has quit [Ping timeout: 264 seconds]
rue_XIV has joined #ruby-lang
rue has quit [Ping timeout: 240 seconds]
dhruvasagar has quit [Read error: Connection reset by peer]
pellenation has quit [Quit: Leaving.]
dhruvasagar has joined #ruby-lang
Oak has quit [Ping timeout: 240 seconds]
Domon has joined #ruby-lang
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tonni has joined #ruby-lang
kek has joined #ruby-lang
canton7 has quit [Remote host closed the connection]
canton7 has joined #ruby-lang
datanoise has joined #ruby-lang
<ljarvis> anyone else in here at arrrrcamp?
schaerli has joined #ruby-lang
gix has quit [Ping timeout: 246 seconds]
Johz has joined #ruby-lang
Oak has joined #ruby-lang
Oak has joined #ruby-lang
Oak has quit [Changing host]
elia has joined #ruby-lang
skade has joined #ruby-lang
gix has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
<maloik> zzak: are you going to make it here?
datanoise has quit [Ping timeout: 245 seconds]
arBmind has joined #ruby-lang
<ljarvis> lol
<ljarvis> he'd better!
ItSANgo has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.1]
havenwood has joined #ruby-lang
Bosox20051 has joined #ruby-lang
havenwood has quit [Read error: Connection reset by peer]
havenwood has joined #ruby-lang
<yorickpeterse> oh neat, we're introducing a budget for conferences per year
<yorickpeterse> noooooiice
<ljarvis> quick hop a train here
<yorickpeterse> no I have to work this week L<
<yorickpeterse> * :<
<yorickpeterse> but if there's some fun thing in London this year I'll hop on the Euroslut, haven't been in England for quite a while
<ljarvis> not sure if there is, but if you find something let me know and I'll join you, I think the next big confs in London are next year
<yorickpeterse> hm
<yorickpeterse> well you could just hop on a train to dotRB :D
havenwood has quit [Ping timeout: 240 seconds]
<ljarvis> whens that?
<yorickpeterse> 18th
<yorickpeterse> it's in Paris, one day only
<yorickpeterse> 90 eurons
<ljarvis> hmm
jithu has quit [Quit: Mother, did it need to be so high?]
<yorickpeterse> http://www.dotrb.eu/
<ljarvis> looks good
Johz has quit [Remote host closed the connection]
<ljarvis> might grab an early train and head up just for the day
<yorickpeterse> I thought of that but it would mean a 05:00 train
<yorickpeterse> which is not possible for me since that's around the time of when normal trains start operating
<yorickpeterse> (I'd have to get to Amsterdam first0
<yorickpeterse> so I'm going on Thursday evening and back on Saturday morning
sevvie has quit [Ping timeout: 240 seconds]
kek has quit [Remote host closed the connection]
kek has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
dhruvasagar has quit [Read error: Connection reset by peer]
mdedetrich has joined #ruby-lang
dhruvasagar has joined #ruby-lang
jonathanmarvens has joined #ruby-lang
jonathanmarvens has quit [Remote host closed the connection]
jerrytgarcia has quit [Ping timeout: 260 seconds]
jonathanmarvens has joined #ruby-lang
jonathanmarvens has quit [Read error: Connection reset by peer]
jonathanmarvens has joined #ruby-lang
Lennier has joined #ruby-lang
jonathanmarvens has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
jonathanmarvens has joined #ruby-lang
jerrytgarcia has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
jonathanmarvens has quit [Ping timeout: 240 seconds]
<Lennier> hi guys
<Lennier> with instance_of? i can check after class
dhruvasagar has joined #ruby-lang
<Lennier> is there a method that gives the class name?
<Lennier> and not just true/false?
julweber has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
<canton7> Lennier, example?
jonathanmarvens has joined #ruby-lang
jxie has quit [Quit: leaving]
<Lennier> doc2.title.instance_of? String # => false
<Lennier> doc2.title.instance_of? Object # => false
sevvie has joined #ruby-lang
<Lennier> i got it
<Lennier> just doc2.title.class
<Lennier> then i get the class name
jonathanmarvens has quit [Remote host closed the connection]
<canton7> yup, that's right
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
mbj has joined #ruby-lang
postmodern has quit [Quit: Leaving]
sevvie has quit [Ping timeout: 264 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Forgetful_Lion has quit [Remote host closed the connection]
kek has quit [Remote host closed the connection]
dhruvasagar has quit [Read error: Connection reset by peer]
havenwood has joined #ruby-lang
dhruvasagar has joined #ruby-lang
havenwood has quit [Ping timeout: 240 seconds]
skade has quit [Quit: Computer has gone to sleep.]
rikai_ has joined #ruby-lang
jithu has joined #ruby-lang
tonni_ has joined #ruby-lang
kek has joined #ruby-lang
tonni has quit [Ping timeout: 256 seconds]
rikai has quit [Ping timeout: 256 seconds]
sevvie has joined #ruby-lang
mbj has quit [Ping timeout: 246 seconds]
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
sevvie has quit [Ping timeout: 246 seconds]
stamina has joined #ruby-lang
face has joined #ruby-lang
ikrima has quit [Ping timeout: 252 seconds]
mindriot101 has joined #ruby-lang
ikrima has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
schaerli has quit [Remote host closed the connection]
VTLob has joined #ruby-lang
schaerli has joined #ruby-lang
julweber has quit [Remote host closed the connection]
Johz has joined #ruby-lang
jonathanmarvens has joined #ruby-lang
melter has quit [Ping timeout: 245 seconds]
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
skade has joined #ruby-lang
nneko001__ has quit [Read error: Operation timed out]
havenwood has joined #ruby-lang
apeiros has joined #ruby-lang
melter has joined #ruby-lang
havenwood has quit [Ping timeout: 240 seconds]
nneko001__ has joined #ruby-lang
joonty has quit [Ping timeout: 240 seconds]
eponymi has joined #ruby-lang
grahamsavage has quit [Ping timeout: 252 seconds]
mytrile has joined #ruby-lang
grahamsavage has joined #ruby-lang
relix has joined #ruby-lang
dhruvasagar has quit [Read error: Connection reset by peer]
julweber has joined #ruby-lang
dhruvasagar has joined #ruby-lang
eponymi has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
tonni_ has quit [Remote host closed the connection]
fijimunkii has quit [Ping timeout: 248 seconds]
grahamsavage has quit [Ping timeout: 240 seconds]
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
relix has joined #ruby-lang
bmazzotti has joined #ruby-lang
workmad3 has quit [Ping timeout: 240 seconds]
mytrile has quit [Remote host closed the connection]
mytrile has joined #ruby-lang
imperator has joined #ruby-lang
symm- has joined #ruby-lang
Kabaka has quit [Write error: Connection reset by peer]
Boohbah has quit [Write error: Connection reset by peer]
Domon has quit [Remote host closed the connection]
julweber has quit [Remote host closed the connection]
Domon has joined #ruby-lang
tonni has joined #ruby-lang
Boohbah has joined #ruby-lang
bmazzotti has quit [Quit: Page closed]
joonty has joined #ruby-lang
grahamsavage has joined #ruby-lang
Domon has quit [Ping timeout: 252 seconds]
kgrz has quit [Ping timeout: 246 seconds]
jiuweigui has quit [Quit: iQuit!]
julweber has joined #ruby-lang
vlad_starkov has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
dhruvasagar has quit [Read error: Connection reset by peer]
mindriot101 has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
kevinfagan has quit [Read error: Operation timed out]
vadviktor_ has quit [Read error: Operation timed out]
vadviktor has quit [Read error: Operation timed out]
havenwood has joined #ruby-lang
vadviktor has joined #ruby-lang
vadviktor_ has joined #ruby-lang
MartynKeigher2 has quit [Quit: http://www.martynkeigher.com]
<Lennier> hi guys
<Lennier> i'm curious whether there is a way to refactor the description method: http://pastie.org/8374521
kevinfagan has joined #ruby-lang
symm- has quit [Ping timeout: 248 seconds]
<canton7> do the title and author separately, then stick em together?
havenwood has quit [Ping timeout: 256 seconds]
<canton7> title = @title.is_a?(Title) ? @title.long_name : @title; author = .....; "#{title} by #{author}"
kgrz has joined #ruby-lang
elia has joined #ruby-lang
charliesome has joined #ruby-lang
MartynKeigher has joined #ruby-lang
<Lennier> canton7, ah ok, yes, thanks!
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
dhruvasagar has quit [Read error: Connection reset by peer]
dhruvasagar has joined #ruby-lang
krz has quit [Quit: krz]
sjltaylor has joined #ruby-lang
<Lennier> now i got: "#<Title:0x007fa4daaa33c8> by Matt Ruff"
<Lennier> how can i convert the title-object-id to_s
<canton7> Lennier, pastie your code?
<Lennier> it's in the description method
<canton7> Lennier, "#{title} by #{author}", not "#{@title} by #{@author}"
<canton7> you're created the local variable 'title', then you're throwing it away and using the original @title after all
yalue has joined #ruby-lang
<Lennier> canton7, that's great, thank you very much!
<Lennier> yes, i see now :)
<canton7> Lennier, to be honest, I'd make sure @title is always of type Title. So in your constructor, check whether it's a string, and if so convert it to a Title
roadt_ has joined #ruby-lang
fijimunkii has joined #ruby-lang
symm- has joined #ruby-lang
<Lennier> canton7, how can i convert a string to an Title object?
<Lennier> you mean with title = Title.new(...)
<canton7> Lennier, no idea. You're the one who owns the Title class
<canton7> yeah
<Lennier> ah, i see
fijimunkii has quit [Ping timeout: 241 seconds]
dhruvasagar has quit [Ping timeout: 240 seconds]
ldnunes has joined #ruby-lang
axsuul has quit [Ping timeout: 260 seconds]
mdedetrich has joined #ruby-lang
<Lennier> canton7, i tried to move the title-object check into the constructor: http://pastie.org/8374617#6
<Lennier> but in line 5 i got a "no method error long_name
<Lennier> ah, i fixed it
<Lennier> i had to remove the @title
<Lennier> i had to remove the @-character in title
breakingthings has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
julweber has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
scampbell has joined #ruby-lang
charliesome has joined #ruby-lang
jithu has quit [Read error: Operation timed out]
tonni has quit [Read error: Connection reset by peer]
cored has quit [Ping timeout: 256 seconds]
workmad3 has joined #ruby-lang
dr_bob has joined #ruby-lang
cored has joined #ruby-lang
lfox has joined #ruby-lang
havenwood has joined #ruby-lang
yfeldblum has quit [Ping timeout: 248 seconds]
schaerli has quit [Remote host closed the connection]
julweber has joined #ruby-lang
havenwood has quit [Ping timeout: 246 seconds]
julweber has quit [Remote host closed the connection]
julweber has joined #ruby-lang
Oak has quit [Quit: Later guys... :) (me liking http://hexchat.github.io/ very much)]
pellenation has joined #ruby-lang
headius has joined #ruby-lang
schaerli has joined #ruby-lang
ykk` has joined #ruby-lang
sqbl has joined #ruby-lang
GaelanAintAround is now known as Gaelan
pellenation has quit [Quit: Leaving.]
jonathanmarvens has quit [Read error: Connection reset by peer]
jonathanmarvens has joined #ruby-lang
CoreData has joined #ruby-lang
kurko_ has joined #ruby-lang
Gaelan is now known as GaelanAintAround
tonni has joined #ruby-lang
hramrach has joined #ruby-lang
<hramrach> hello
<hramrach> what CA certifiacte does Net:HTTP use?
tomzx_mac has joined #ruby-lang
<hramrach> there is use_ssl but how do you configure what ssl?
GaelanAintAround is now known as Gaelan
<csaunders> I thought it knows about the certs on your system (depending on the OS)
<csaunders> maybe not?
<hramrach> not on Debian
<hramrach> well, ther are certs but unless you specify to use them by hand they are not used
<hramrach> eg. the openssl s_client does not verify anything by default
fijimunkii has joined #ruby-lang
datanoise has joined #ruby-lang
fuhgeddaboudit has quit [Ping timeout: 245 seconds]
julweber has quit [Remote host closed the connection]
<hramrach> hmm, looks like some cert is passed so this should not be the problem
JoshuaPaling has joined #ruby-lang
<csaunders> Here's a somewhat recent blog post about this -> http://railsapps.github.io/openssl-certificate-verify-failed.html
mayday_jay has joined #ruby-lang
<hramrach> thanks
<hramrach> I guess I need more debug prints
soba has quit [Ping timeout: 260 seconds]
mdedetrich has quit [Quit: Computer has gone to sleep.]
Squarepy has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
sjltaylor has quit [Ping timeout: 240 seconds]
tkuchiki has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
peterc has joined #ruby-lang
yfeldblum has joined #ruby-lang
ykk`` has joined #ruby-lang
ykk` has quit [Ping timeout: 245 seconds]
ykk`` is now known as ykk`
tkuchiki has quit [Remote host closed the connection]
grough has joined #ruby-lang
kgrz has joined #ruby-lang
wmoxam has joined #ruby-lang
Gaelan is now known as GaelanAintAround
kgrz has quit [Remote host closed the connection]
kgrz has joined #ruby-lang
sqbl has quit [Ping timeout: 250 seconds]
pellenation has joined #ruby-lang
trollface has quit [Ping timeout: 245 seconds]
havenwood has joined #ruby-lang
ykk`` has joined #ruby-lang
jithu has joined #ruby-lang
ykk` has quit [Ping timeout: 264 seconds]
ykk`` is now known as ykk`
havenwood has quit [Ping timeout: 240 seconds]
mytrile has quit [Remote host closed the connection]
schaerli has quit [Remote host closed the connection]
schaerli has joined #ruby-lang
dhruvasagar has joined #ruby-lang
schaerli has quit [Remote host closed the connection]
symm- has quit [Ping timeout: 240 seconds]
schaerli has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 240 seconds]
fuhgeddaboudit has joined #ruby-lang
KM has quit [Read error: Connection reset by peer]
KM has joined #ruby-lang
bill966 has joined #ruby-lang
hhatch has quit [Read error: Operation timed out]
pellenation has quit [Quit: Leaving.]
bill966 has left #ruby-lang [#ruby-lang]
bill966 has joined #ruby-lang
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
Lennier has quit [Quit: Lennier]
bill966 has left #ruby-lang [#ruby-lang]
mannyt has joined #ruby-lang
MaddinXx_ has joined #ruby-lang
intellitech has joined #ruby-lang
nofxx has quit [Ping timeout: 240 seconds]
jeff_r has joined #ruby-lang
fijimunkii has quit [Quit: leaving]
bantic has joined #ruby-lang
fuhgeddaboudit has quit [Ping timeout: 264 seconds]
<yorickpeterse> whoever thought it was a good idea to enforce rubygems-bundler in RVM, fuck you
nathanstitt has joined #ruby-lang
jeff_r has quit [Remote host closed the connection]
tbuehlmann has joined #ruby-lang
<workmad3> yorickpeterse: welcome to one of the main reasons I stopped using rvm
sepp2k has joined #ruby-lang
<yorickpeterse> Getting rid of RVM is the next step here at $WORK
<yorickpeterse> it would be ok if I could at least reproduce these issues but they're totally random
<workmad3> I went to rbfu+ruby-build, then swiched to chruby and ruby-install
<yorickpeterse> now I have an installation where ruby_noexec_wrapper is missing
<yorickpeterse> and I have no fucking idea why rubygems-bundler would be needed in the first place
<yorickpeterse> grrrrr
<yorickpeterse> at least I use chruby on my two laptops, couldn't be happier with that
<yorickpeterse> It Actually Works (TM)
<workmad3> I use rvm on servers
__butch__ has joined #ruby-lang
<workmad3> but that's because the fnichols rvm cookbook for chef makes it pretty easy
superdealloc has joined #ruby-lang
<superdealloc> Hi everyone. Got a quick question here:
<superdealloc> If I want to have additional folders with source files on a ruby c extension project
<superdealloc> What's the way to go about that inside extconf.rb?
<yorickpeterse> you can specify multiple extensions in a Gemspec I believe
jeff_r has joined #ruby-lang
<superdealloc> No, it's the one extension, but it has to have extra files inside.
<superdealloc> Ie.
<superdealloc> ext/spyglass/spyglass.cc
<superdealloc> ext/spyglass/vendor/bgslibrary/somealgo.cpp
<superdealloc> I want all of those to be compiled
<yorickpeterse> hm
<superdealloc> but it only picks up ext/spyglass
<superdealloc> Oh great, and now I've figured out why.
<yorickpeterse> oh yeah, mkmf
<yorickpeterse> lol
havenwood has joined #ruby-lang
<superdealloc> Any ideas? :-(
sevvie has joined #ruby-lang
irlrobot has joined #ruby-lang
<yorickpeterse> Hm, doesn't seem to be a way to hack it in either
<yorickpeterse> you can use a Rakefile instead but then you have to specify all the ldflags and what not manually I believe
<superdealloc> That's not gonna happen.
<superdealloc> I might just ship this with a patched mkmf.rb, done right :-(
<superdealloc> or just rename shit
<superdealloc> dammit
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ruby-lang783 has joined #ruby-lang
enebo has joined #ruby-lang
jiuweigui has joined #ruby-lang
charliesome has joined #ruby-lang
jithu has quit [Quit: Mother, did it need to be so high?]
<jds> Anyone familiar with DelayedJob? I'm faking recurring jobs using something like this - https://gist.github.com/jdelStrother/6811170 - which has worked fine for months. Last night it started replicating itself and I ended up with several thousand copies of the job in my database. I'm struggling to see how it might happen - anyone spot what I'm missing?
sevvie has quit [Read error: No route to host]
GeissT has quit [Quit: MillBroChat AdIRC User]
julweber has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
hogeo has joined #ruby-lang
ruby-lang783 has quit [Ping timeout: 250 seconds]
hogeo has quit [Ping timeout: 252 seconds]
io_syl has joined #ruby-lang
tubbo has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<superdealloc> Can I submit a patch for this or does anyone object to mkmf look for sourcefiles recursively?
tkuchiki has joined #ruby-lang
julweber has quit [Remote host closed the connection]
TCMSLP has quit [Quit: leaving]
nisstyre has quit [Quit: Leaving]
dhruvasagar has quit [Ping timeout: 264 seconds]
<yorickpeterse> superdealloc: probably, though I believe mkmf is unmaintained at this point
<yorickpeterse> and for good reasons I suppose
<superdealloc> What's the alternative?
<yorickpeterse> you might be able to do a find-replace on the generated Makefile, but that's also a bit of a hack
ec2-user_ has joined #ruby-lang
<yorickpeterse> can you not just slap an include in some header file that is included?
<yorickpeterse> or will it then complain that it can't find the files?
wallerdev has joined #ruby-lang
<superdealloc> It will have the forward declarations, but not the symbols.
ec2-user_ has quit [Client Quit]
<superdealloc> So when it's time to actually call the methods, it will throw up in your face.
nashrm` has joined #ruby-lang
bzalasky has joined #ruby-lang
<yorickpeterse> hm
ec2-user_ has joined #ruby-lang
<yorickpeterse> also, does somebody remember that option to tell RubyGems to *not* generate those bloody absolute file paths for binaries?
<yorickpeterse> I just want #!/usr/bin/env foo instead of #!/home/yorickpeterse/blablabla/bin/foo
ec2-user_ has left #ruby-lang [#ruby-lang]
julweber has joined #ruby-lang
julweber has quit [Remote host closed the connection]
vmoravec_ has quit [Quit: Leaving]
hhatch has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
lfox has quit [Quit: ZZZzzz…]
havenwood has joined #ruby-lang
<yorickpeterse> hm, found it
<yorickpeterse> --env-shebang
scampbell has quit [Quit: Leaving]
malev has joined #ruby-lang
havenwood has quit [Ping timeout: 245 seconds]
bzalasky has quit [Remote host closed the connection]
ssb123 has joined #ruby-lang
bzalasky has joined #ruby-lang
salami has joined #ruby-lang
bzalasky has quit [Ping timeout: 256 seconds]
salami has quit [Read error: Connection reset by peer]
kireevco has joined #ruby-lang
Oloryn_lt2 has quit [Read error: Connection reset by peer]
shinnya has joined #ruby-lang
ledestin has quit [Quit: ledestin]
kek has quit [Remote host closed the connection]
mistym has joined #ruby-lang
ecnalyr has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
sevvie has joined #ruby-lang
schaerli has quit [Remote host closed the connection]
pellenation has joined #ruby-lang
schaerli has joined #ruby-lang
havenwood has joined #ruby-lang
cads has quit [Read error: Operation timed out]
peterc has quit [Ping timeout: 252 seconds]
schaerli has quit [Remote host closed the connection]
ikrima has quit [Ping timeout: 256 seconds]
ikrima has joined #ruby-lang
lfox has joined #ruby-lang
bzalasky has joined #ruby-lang
dagobah has quit [Remote host closed the connection]
io_syl has quit []
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
kgrz has joined #ruby-lang
jeff_r has quit [Remote host closed the connection]
jonathanmarvens has quit [Remote host closed the connection]
MTen has quit [Ping timeout: 264 seconds]
bzalasky has quit [Ping timeout: 248 seconds]
rippa has joined #ruby-lang
kgrz has quit [Ping timeout: 248 seconds]
<ecnalyr> I have a hash that looks like this: {"user_id"=>["", "9", "10", "11"]} and I need to iterate through the numbers and do something with them. I'm currently doing this: HASH.first.second.reject(&:empty?).map{ |r| User.find(r) } but this looks dumb. I feel dumb right now - what's a more concise way to do what I'm doing?
jonathanmarvens has joined #ruby-lang
mucker has quit [Remote host closed the connection]
pabs has quit [Quit: leaving]
<dr_bob> ecnalyr, I would start by placing numbers in the Hash and not String instances.
<dr_bob> HASH.first is not robust if Hash contents may change. Better do HASH["user_id"]...
<ecnalyr> dr_bob, they're being returned to me from via a form I don't have much control over
<ecnalyr> they = the hash
kek has joined #ruby-lang
<ecnalyr> dr_bob that's a good point
pellenation has quit [Quit: Leaving.]
<ecnalyr> dr_bob I can do that and drop the .first.second nonsense- already much cleaner
dhruvasagar has joined #ruby-lang
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<dr_bob> You could use #inject instead of #reject and #map but I doubt it will look much better. :-)
<dr_bob> Oh wait, #each_object could help
jxie has joined #ruby-lang
julweber has joined #ruby-lang
<canton7> you mean #each_with_object ?
<dr_bob> result = HASH["user_id"].each_with_object([]) {|id, r| r << User.find(id) unless id.empty?}
<canton7> yup
<ecnalyr> each_with_object for the win
<dr_bob> Yes, sorry.
<dr_bob> :-)
arBmind1 has joined #ruby-lang
benlovell has quit [Read error: Operation timed out]
Nisstyre-laptop has joined #ruby-lang
arBmind has quit [Ping timeout: 246 seconds]
dernise has joined #ruby-lang
<dernise> Hey
jonathanmarvens has quit [Remote host closed the connection]
a1ph4g33k has joined #ruby-lang
gix has quit [Ping timeout: 252 seconds]
<dernise> Can someone tell me if this code is crap ? https://gist.github.com/dernise/6812863
<dernise> I mean, is it safe to use it in production ? I don't really like the way it's made :(
tubbo has quit [Ping timeout: 248 seconds]
<toretore> depends on what you use it for
<dr_bob> 2 useless use of cat awards.
<dr_bob> with awk you do not need grep
<dr_bob> But I would implement get_ram_usage in pure Ruby
<toretore> that's not so easy
<dr_bob> and get_load_average can also be done with IO.popen
<dr_bob> toretore, what?
hahuang61 has quit [Ping timeout: 248 seconds]
<toretore> doing it in pure ruby
ItSANgo has quit [Read error: Connection reset by peer]
andrewvos has left #ruby-lang ["WeeChat 0.3.7"]
<dr_bob> mem_total = nil;File.foreach('/proc/meminfo'){|l| mem_total = l.split[1] if /MemTotal/ =~ l}
ItSANgo has joined #ruby-lang
gix has joined #ruby-lang
<dr_bob> and you can read free_mem at the same time
<dr_bob> I'd probably rather use case with regexp patterns
<toretore> that's not really what i meant by pure ruby, but okay
<dr_bob> mem_total = mem_free = nil; File.foreach('/proc/meminfo'){|l| case l; when /MemTotal/ ...}
<dernise> So, parsing /proc/meminfo and /proc/loadavg with IO.open would be better?
<dr_bob> Yes, less processes.
<dernise> Thanks for the advice. :)
mbj has joined #ruby-lang
richardburton has joined #ruby-lang
<dr_bob> You can probably read from /proc/uptime as well to get the average load
<dr_bob> Then you don't need to run uptime and use IO.popen.
sevvie has quit [Quit: leaving]
mannyt_ has joined #ruby-lang
mannyt has quit [Ping timeout: 245 seconds]
mannyt_ is now known as mannyt
iliketurtles has joined #ruby-lang
kgrz has joined #ruby-lang
deception has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
kgrz has quit [Ping timeout: 240 seconds]
apeiros has quit [Remote host closed the connection]
<dernise> dr_bob: updated to this : https://gist.github.com/dernise/6812863 I'm feeling better now.
intellitech has quit [Ping timeout: 248 seconds]
peterc has joined #ruby-lang
peterc has quit [Read error: Connection reset by peer]
Kabaka has joined #ruby-lang
<dr_bob> dernise, you can improve one thing: you don't need the "unless"
<dr_bob> You can use negative lookbehind
<dr_bob> grr
<dr_bob> %r{(?<!Swap)Cached}
<dr_bob> And I would use Float instead of #to_f
Coincidental has joined #ruby-lang
tubbo has joined #ruby-lang
<dr_bob> because Float will raise an exception if the String is not a float.
<dernise> dr_bob: Ok. Didn't know that exist.
<dernise> Trying it right now.
symm- has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
supergeek has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 240 seconds]
<dr_bob> I'd also put the conversion to float where you read values - not in the formula at the end. Basically that's what you want: float values from /proc/meminfo
lfox has quit [Ping timeout: 240 seconds]
MaddinXx_ has quit [Remote host closed the connection]
supergeek has quit [Quit: Leaving]
<imperator> is there a way within ruby to check to see if the underlying OS is 32 or 64 bit?
<imperator> not ruby itself
iliketurtles has quit [Quit: zzzzz…..]
<cout> yes
<yorickpeterse> imperator: RbConfig::CONFIG['arch'] might be useful
Johz has quit [Ping timeout: 260 seconds]
<yorickpeterse> >> RbConfig::CONFIG['arch']
<eval-in> yorickpeterse => "i686-linux" (https://eval.in/52379)
supergeek has joined #ruby-lang
<imperator> yorickpeterse, and just look for "64" ?
lfox has joined #ruby-lang
<yorickpeterse> probably either for "i686" or "x86_64"
<yorickpeterse> though I'm not sure how reliable that would be
pabs has joined #ruby-lang
<yorickpeterse> an alternative would be to check the maximum value you can fit in a fixnum, but again I'm not sure how reliable that would be
io_syl has joined #ruby-lang
<dernise> dr_bob: Updated my code one last time with your advices https://gist.github.com/dernise/6812863 , it will help me in the future, thanks.
shinnya has quit [Ping timeout: 240 seconds]
<dr_bob> you're welcome, dernise.
supergeek has quit [Client Quit]
dhruvasagar has joined #ruby-lang
supergeek has joined #ruby-lang
supergeek has quit [Max SendQ exceeded]
iliketurtles has joined #ruby-lang
<imperator> yorickpeterse, doesn't seem i can use arch: http://pastie.org/8375400
<yorickpeterse> hm
<yorickpeterse> >> Float::MAX
<eval-in> yorickpeterse => 1.7976931348623157e+308 (https://eval.in/52380)
<yorickpeterse> hm
<yorickpeterse> that's the same as on 64bit
kgrz has joined #ruby-lang
hahuang61 has joined #ruby-lang
supergeek has joined #ruby-lang
supergeek has quit [Quit: Leaving]
skade has joined #ruby-lang
supergeek has joined #ruby-lang
<imperator> maybe ffi has some facility for it (which is why i need to check)
kgrz has quit [Ping timeout: 264 seconds]
supergeek has quit [Read error: Connection reset by peer]
jbsan has joined #ruby-lang
supergeek has joined #ruby-lang
jeff_r has joined #ruby-lang
<dr_bob> Maybe you can also parse output of "uname -a".
<imperator> yorickpeterse, tricks like that tend to fall down with JRuby
earthquake_ has joined #ruby-lang
Bosox20051 has quit [Remote host closed the connection]
<dr_bob> oops
<dr_bob> # /(?<!\d)64\b/ =~ `uname -a`
<imperator> dr_bob, not reliable, and i try to avoid shelling out at all costs
<imperator> and, somewhat strangely, doesn't even work on my solaris vm
<dr_bob> I can understand that. Sometimes one has to...
<imperator> i mean, the command works, but it shows i386
benanne has joined #ruby-lang
richardburton has quit [Quit: Leaving.]
jeff_r has quit [Ping timeout: 264 seconds]
<dr_bob> These plaform things are always nasty.
<cout> yeah lets get rid of platforms
<dr_bob> Linux4all
<dr_bob> ;-)
<imperator> let's do everything in the cloud
<dr_bob> Oh no
<cout> but what if it rains?
<dr_bob> Then the cloud is gone soon. That's why I wouldn't do cloud computing.
Nisstyre-laptop has quit [Ping timeout: 248 seconds]
lfox has quit [Ping timeout: 240 seconds]
brianpWins has joined #ruby-lang
richardburton has joined #ruby-lang
apeiros has joined #ruby-lang
pipecloud is now known as pipework
saarinen has joined #ruby-lang
jsullivandigs has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
wallerdev has quit [Client Quit]
wallerdev has joined #ruby-lang
Senjai has joined #ruby-lang
qba73_ has joined #ruby-lang
schaerli has joined #ruby-lang
verto has joined #ruby-lang
nneko001__ has quit [Quit: Konversation terminated!]
dr_bob has quit [Quit: Tune in next week when you'll hear Dr. Bob say...]
qba73_ has quit [Remote host closed the connection]
nashrm` has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
dernise has quit [Ping timeout: 240 seconds]
dernise has joined #ruby-lang
supergeek has quit [Quit: Goodbye, cruel world.]
bf4 has quit [Ping timeout: 260 seconds]
stamina has quit [Ping timeout: 240 seconds]
lfox has joined #ruby-lang
Nisstyre-laptop has joined #ruby-lang
qba73_ has joined #ruby-lang
ecnalyr has quit [Remote host closed the connection]
bf4 has joined #ruby-lang
verto has quit [Ping timeout: 252 seconds]
kek has quit [Remote host closed the connection]
dernise has quit [Ping timeout: 248 seconds]
dernise has joined #ruby-lang
workmad3 has quit [Ping timeout: 252 seconds]
kurko__ has joined #ruby-lang
kurko_ has quit [Ping timeout: 248 seconds]
MTen has joined #ruby-lang
kek has joined #ruby-lang
nofxx has joined #ruby-lang
yfeldblum has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
metus_violarium has joined #ruby-lang
Nisstyre-laptop has quit [Ping timeout: 252 seconds]
Nisstyre-laptop has joined #ruby-lang
<imperator> well, it ended up being a moot point
<imperator> basically, on solaris i can just assume 64 bits :)
kek has quit [Remote host closed the connection]
<imperator> gah, stupid cert errors
Nisstyre-laptop has quit [Read error: Connection reset by peer]
nisstyre has joined #ruby-lang
mistym has quit [Ping timeout: 240 seconds]
retro|cz has quit [Ping timeout: 253 seconds]
mistym has joined #ruby-lang
richardburton has quit [Quit: Leaving.]
intellitech has joined #ruby-lang
jeff_r has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
kgrz has joined #ruby-lang
headius has quit [Quit: headius]
stamina has joined #ruby-lang
tkuchiki has quit [Ping timeout: 240 seconds]
dernise_ has joined #ruby-lang
dernise has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby-lang
mbj has quit [Ping timeout: 252 seconds]
tbuehlmann has quit [Ping timeout: 245 seconds]
headius has joined #ruby-lang
Squarepy has quit [Quit: Leaving]
jonathanmarvens has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
jonathanmarvens has quit [Remote host closed the connection]
headius has quit [Quit: headius]
elia has joined #ruby-lang
richardburton has joined #ruby-lang
headius has joined #ruby-lang
julweber has quit [Remote host closed the connection]
<tubbo> is there a better OS for programming in Ruby than OS X?
<tubbo> i am really starting to get sick and tired of its bullshit
chrisledet has joined #ruby-lang
<tubbo> like having to fuck with the way i compile ruby every god damn time i want to install a new version
qba73_ has quit [Remote host closed the connection]
topaz has quit [Remote host closed the connection]
<apeiros> tubbo: dude, just use rvm
<apeiros> (or whatever other tool to manage ruby versions)
<tubbo> i'm *using* chruby
<tubbo> but that has nothing to do with this
<tubbo> the issues are when you're compiling ruby
<tubbo> actually, chruby is being annoying right now b/c auto.sh just stopped working
<apeiros> don't know what you do wrong then
<tubbo> oh wait, it actually *does* work on certain folders but not on others. >:(
<apeiros> I have had about every patchlevel of ruby since 1.8.7 and never had issues with compiling
<apeiros> and I didn't pay any attention to it either. so it's not like it was due to some superpowers of mine…
<tubbo> i don't like RVM for other reasons
<tubbo> rvm isn't bad i just don't like using it.
<apeiros> *shrug*
<apeiros> say what you want, but I've been using it for quite a while now and only had an issue once - and that one got resolved in #rvm quickly.
_whitelogger has joined #ruby-lang
julweber has quit [Read error: Connection reset by peer]
<tubbo> thanks :\
<tubbo> it doesn't even matter what ruby abstractor i us
<tubbo> use*
<tubbo> because the problem was platform-specific and involved me adding a shell var.
richardburton has quit [Quit: Leaving.]
hhatch has quit [Ping timeout: 264 seconds]
<eam> I believe I've found an issue with the way ruby handles signals and IO.popen
<eam> this minimal example: ruby -e'puts $$; IO.popen("sleep 60") { |f| f.read}'
<nofxx> apeiros: not true when gaming. Better: 7% of your animal brain, even when gaming! ;)
<eam> will require two SIGTERMs to terminate, the first seems to deadlock in the TERM handler
<eam> this does not: ruby -e'puts $$; f = IO.popen("sleep 60"); f.read'
robbyoconnor has joined #ruby-lang
<eam> am I misunderstanding the expected behavior, or is this a bug?
dernise__ has joined #ruby-lang
dernise_ has quit [Read error: Operation timed out]
iliketurtles has joined #ruby-lang
intellitech has quit [Quit: intellitech]
kek has joined #ruby-lang
<apeiros> nofxx: if you'd game 100% of all the time
yalue has quit [Quit: Leaving]
pellenation has joined #ruby-lang
Elinos has joined #ruby-lang
MaddinXx has joined #ruby-lang
Paradox has joined #ruby-lang
tubbo has quit [Ping timeout: 248 seconds]
tubbo has joined #ruby-lang
xrq` is now known as xrq
robbyoconnor has quit [Ping timeout: 248 seconds]
alekst has joined #ruby-lang
mbj has joined #ruby-lang
robbyoconnor has joined #ruby-lang
kek has quit [Remote host closed the connection]
kek has joined #ruby-lang
schaerli has quit [Remote host closed the connection]
schaerli has joined #ruby-lang
ikrima has quit [Quit: Computer has gone to sleep.]
schaerli has quit [Remote host closed the connection]
schaerli has joined #ruby-lang
schaerli has quit [Remote host closed the connection]
schaerli has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 252 seconds]
kgrz has quit [Remote host closed the connection]
kgrz has joined #ruby-lang
<yorickpeterse> News article: our national intelligence agency should get more E-freedom so it can perform surveillance, not to spy on citizens but to check for other spying agencies!
<yorickpeterse> Looks legit
<toretore> don't be such a terrorist
schaerli has quit [Ping timeout: 245 seconds]
robbyoconnor has joined #ruby-lang
kgrz has quit [Ping timeout: 245 seconds]
ikrima has joined #ruby-lang
pellenation has quit [Quit: Leaving.]
deception has quit [Quit: Goodbye]
<imperator> man, linux confuses me sometimes
<yorickpeterse> imperator: "sometimes"?
<imperator> apparently there's a statvfs64, but not struct statvfs64
deluxe247 has joined #ruby-lang
deluxe247 has left #ruby-lang [#ruby-lang]
mistawright has joined #ruby-lang
dorei has joined #ruby-lang
<mistawright> hey guys i had to remove ruby due to it being too old and installed ruby 2.0.0 using rvm. I am having an issue now when trying to install the aws-sdk it is unable to install it due to libxml2 which is already installed. as well I see that gem is atempting to install nokogiri and i do not see that as a dependency for aws-sdk
<yorickpeterse> do you get an error, if so, could you pastie it?
<mistawright> i reveive and error: Error installing aws-sdk: Error: Failed to build gem native exntension
<canton7> mistawright, aws-sdk does depend on nokogiri..
<mistawright> canton7, it didnt show it when i ran reverse dependencies
<mistawright> http://pastebin.com/UdviA21r <-- here is what i get when trying to install aws-sdk take into consideration i just installed libxml2 using yum
<canton7> mistawright, did you install the devel package?
<yorickpeterse> mistawright: sudo yum install libxml2-dev
<mistawright> no i didnt, let me see if that rectifies it
<yorickpeterse> or devel, not sure what the suffix was
<canton7> mistawright, yeah if you're building something against a library you need the headers/devel package
<canton7> if you're using something which has already been built against a package, then you don't need the package's headers
<canton7> (roughly speaking)
metus_violarium has quit [Quit: Konversation terminated!]
<mistawright> canton7, complained about libxslt installing devel of that now
<canton7> progress
<mistawright> canton7, its actually building extensions now so that is a good sign. thanks for the help
<canton7> coolies
<canton7> good bit of general building-stuff knowledge for you there
<mistawright> typically don't use redhat based servers. doing this for work. I would be running gentoo or arch otherwise :)
robbyoconnor has quit [Ping timeout: 252 seconds]
dernise__ has quit [Ping timeout: 256 seconds]
<canton7> same situation on those
<yorickpeterse> arch doesn't have dev packages though
<canton7> hmm, I think arch might bundle the headers actually
<yorickpeterse> it does
<canton7> yeah
<canton7> and somehow I read ubuntu instead of gentoo
<canton7> so ignore that one
robbyoconnor has joined #ruby-lang
mayday_jay has quit [Ping timeout: 248 seconds]
mbj has quit [Read error: Connection reset by peer]
dhruvasagar has quit [Ping timeout: 256 seconds]
mucker has joined #ruby-lang
fuhgeddaboudit has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
robbyoconnor has quit [Ping timeout: 245 seconds]
apeiros has joined #ruby-lang
kgrz has joined #ruby-lang
mistawright has quit [Quit: Leaving]
kgrz has quit [Ping timeout: 260 seconds]
hahuang61 has quit [Quit: WeeChat 0.4.1]
mayday_jay has joined #ruby-lang
mbj has joined #ruby-lang
breakingthings has quit []
ldnunes has quit [Quit: Leaving]
headius has quit [Quit: headius]
workmad3 has joined #ruby-lang
hahuang65 has joined #ruby-lang
arBmind1 has quit [Quit: Leaving.]
ledestin has joined #ruby-lang
ikrima has quit [Quit: Computer has gone to sleep.]
sevvie has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
sevvie has quit [Read error: No route to host]
tommyblu` has quit [Ping timeout: 256 seconds]
VTLob has quit [Quit: VTLob]
Coincidental has quit [Remote host closed the connection]
closer has quit [Ping timeout: 256 seconds]
Coincidental has joined #ruby-lang
tommyblue has joined #ruby-lang
closer has joined #ruby-lang
Coincidental has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 264 seconds]
chrisledet has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MaddinXx has quit [Remote host closed the connection]
SilverKey has joined #ruby-lang
nisstyre has quit [Quit: Leaving]
postmodern has joined #ruby-lang
MTene has joined #ruby-lang
mistym has quit [Remote host closed the connection]
robbyoconnor has joined #ruby-lang
deception has joined #ruby-lang
MTen has quit [Read error: Operation timed out]
Bosox20051 has joined #ruby-lang
Senjai has quit [Ping timeout: 264 seconds]
irlrobot has quit [Quit: irlrobot]
enebo has quit [Quit: enebo]
alekst has quit [Quit: Computer has gone to sleep.]
nofxx has quit [Ping timeout: 248 seconds]
tubbo has quit [Quit: WeeChat 0.4.2-rc2]
eponymi has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 252 seconds]
ndrst has quit [Quit: WeeChat 0.4.0]
jonathanmarvens has joined #ruby-lang
lfox has quit [Quit: ZZZzzz…]
jonathanmarvens has quit [Remote host closed the connection]
nathanstitt has quit [Quit: I growing sleepy]
MTene has quit [Ping timeout: 248 seconds]
lfox has joined #ruby-lang
nofxx has joined #ruby-lang
MTene has joined #ruby-lang
grough has quit []
jeff_r has quit [Remote host closed the connection]
bantic has quit [Quit: bantic]
jxpx777_ has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Zerogrifter has joined #ruby-lang
Zerogrifter has quit [Max SendQ exceeded]
mbj has left #ruby-lang [#ruby-lang]
MTen has joined #ruby-lang
MTene has quit [Read error: Connection reset by peer]
Coincidental has joined #ruby-lang
SilverKey has left #ruby-lang ["Cheerio!"]
mayday_jay has quit [Ping timeout: 264 seconds]
kgrz has joined #ruby-lang
kgrz has quit [Read error: Operation timed out]
jiuweigui has quit [Quit: iQuit!]
mayday_jay has joined #ruby-lang
solars has quit [Read error: Operation timed out]
ssb123_ has joined #ruby-lang
ssb123 has quit [Ping timeout: 245 seconds]
sepp2k has quit [Read error: Connection reset by peer]
ssb123_ has quit [Ping timeout: 245 seconds]
deception has quit [Quit: Goodbye]
Xzyx987X_ has quit [Quit: Leaving]
MTene has joined #ruby-lang
MTene has quit [Max SendQ exceeded]
MTene has joined #ruby-lang
MTene has quit [Max SendQ exceeded]
MTene has joined #ruby-lang
jxpx777_ has quit [Quit: Leaving...]
MTen has quit [Read error: Operation timed out]
ykk` has quit [Quit: ykk`]
rsl has quit [Ping timeout: 248 seconds]
datanoise has quit [Remote host closed the connection]
mdedetrich has joined #ruby-lang
grahamsavage has quit [Ping timeout: 248 seconds]
mannyt has quit [Quit: mannyt]
sevvie has joined #ruby-lang
kurko__ has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
benanne has quit [Quit: kbai]
Tearan has joined #ruby-lang
rsl has joined #ruby-lang
fosky has joined #ruby-lang
eponymi has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
JoshuaPaling has joined #ruby-lang
jxpx777 has joined #ruby-lang
grahamsavage has joined #ruby-lang
robbyoconnor has joined #ruby-lang
x0f_ has joined #ruby-lang
grough has joined #ruby-lang
x0f has quit [Ping timeout: 264 seconds]
Zerogrifter has joined #ruby-lang
MTene has quit [Ping timeout: 240 seconds]
jonahR has joined #ruby-lang
shinnya has joined #ruby-lang
Zerogrifter has quit [Max SendQ exceeded]
Zerogrifter has joined #ruby-lang
<zenspider> rawr
Zerogrifter has quit [Max SendQ exceeded]
Zerogrifter has joined #ruby-lang
jonahR has quit [Client Quit]
skade has quit [Quit: Computer has gone to sleep.]
fuhgeddaboudit has quit [Ping timeout: 264 seconds]
mucker has quit [Remote host closed the connection]
jeff_r has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
jeff_r has quit [Ping timeout: 240 seconds]
tomzx_mac has joined #ruby-lang
mucker has joined #ruby-lang
nathanstitt has joined #ruby-lang
fbernier has quit [Read error: Connection reset by peer]
fbernier has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
Xzyx987X has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 240 seconds]