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
<Barrin6> oh
<Barrin6> omg
kurko_ has quit [Ping timeout: 246 seconds]
Forgetful_Lion has joined #ruby-lang
<Barrin6> suppose to use ==
<Barrin6> not =
<ryanf> yeah
<Barrin6> hehe i'm a dummy
majjoha has quit [Ping timeout: 246 seconds]
<ryanf> btw "if (...); true; else; false" can almost always be replaced with just "..."
<Barrin6> what do you mean?
<Barrin6> ... n%3==||n%5==0...
<Barrin6> just like that?
<ryanf> yeah, except you left out a 0
<Barrin6> oh wow
<ryanf> wait, I'm not sure what you meant
<ryanf> -t
<Barrin6> 1 sec
<Barrin6> i'll paste bin it
<ryanf> I'm saying you could just define the method as def multiple(n); n%3 == 0 || n%5 == 0; end
<Barrin6> oh
apeiros has quit [Read error: Connection reset by peer]
<Barrin6> oh yea
<Barrin6> you are right
<Barrin6> why did I write that method out
apeiros has joined #ruby-lang
<Barrin6> so something like that http://pastebin.com/Dg6a3PW2
<Barrin6> dang i'm getting good at this ruby
<Barrin6> so now I got an array of all the values I need. Just need to sum it all up
TheNotary has quit [Quit: Leaving]
mdedetrich has joined #ruby-lang
Forgetful_Lion has quit [Read error: Operation timed out]
apeiros has quit [Ping timeout: 240 seconds]
<Barrin6> i did it
<Barrin6> I win
Forgetful_Lion has joined #ruby-lang
<Barrin6> array.inject {|sum,x| sum+x}
mistym has quit [Remote host closed the connection]
VTLob has quit [Quit: VTLob]
GeissT has joined #ruby-lang
<Barrin6> or you can use reduce method
<Barrin6> for example array.reduce(:+)
Forgetful_Lion has quit [Read error: Operation timed out]
duphus has quit [Quit: Leaving.]
Forgetful_Lion has joined #ruby-lang
cnivolle_ has quit [Read error: Connection reset by peer]
cnivolle has joined #ruby-lang
bastilian has quit [Read error: Connection reset by peer]
bastilian has joined #ruby-lang
toertore has quit [Quit: Leaving]
daikan has quit [Remote host closed the connection]
daikan has joined #ruby-lang
Forgetful_Lion has quit [Read error: Operation timed out]
Gaelan is now known as GaelanAintAround
daikan has quit [Ping timeout: 252 seconds]
Forgetful_Lion has joined #ruby-lang
postmodern has joined #ruby-lang
apeiros has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
cnivolle has joined #ruby-lang
Forgetful_Lion has quit [Read error: Operation timed out]
mdedetrich has quit [Quit: Computer has gone to sleep.]
wallerdev has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
cnivolle has quit [Ping timeout: 272 seconds]
Barrin6 has quit [Read error: Connection reset by peer]
mdedetrich has joined #ruby-lang
stamina has quit [Ping timeout: 240 seconds]
jiuweigui has quit [Quit: iQuit!]
Forgetful_Lion has quit [Read error: Operation timed out]
Forgetful_Lion has joined #ruby-lang
Johz has quit [Quit: Leaving]
Forgetful_Lion has quit [Read error: Operation timed out]
Forgetful_Lion has joined #ruby-lang
kurko_ has joined #ruby-lang
kurko_ has quit [Ping timeout: 272 seconds]
kurko_ has joined #ruby-lang
Forgetful_Lion has quit [Read error: Operation timed out]
Forgetful_Lion has joined #ruby-lang
vxxr has joined #ruby-lang
kurko_ has quit [Ping timeout: 272 seconds]
kurko_ has joined #ruby-lang
Forgetful_Lion has quit [Read error: Operation timed out]
Forgetful_Lion has joined #ruby-lang
daikan has joined #ruby-lang
Forgetful_Lion has quit [Read error: Operation timed out]
Forgetful_Lion has joined #ruby-lang
daikan has quit [Ping timeout: 265 seconds]
Forgetful_Lion has quit [Read error: Operation timed out]
Forgetful_Lion has joined #ruby-lang
kurko_ has quit [Ping timeout: 252 seconds]
kurko_ has joined #ruby-lang
Forgetful_Lion has quit [Read error: Operation timed out]
Forgetful_Lion has joined #ruby-lang
mistym has joined #ruby-lang
symm- has quit [Quit: Leaving...]
kgrz has joined #ruby-lang
kgrz has quit [Read error: Connection reset by peer]
Cornflake has joined #ruby-lang
Cornflake has left #ruby-lang [#ruby-lang]
Asitha has joined #ruby-lang
<Asitha> Hi there
<Asitha> Is anyone here able to help me with a question on regex and ruby?
<lianj> just ask
Forgetful_Lion has quit [Read error: Operation timed out]
<Asitha> I'm trying to capture the a certain part of a string
<Asitha> I need to capture it from the last colon to the end of the string
<Asitha> and seperate each item by the commas
<Asitha> But I can't seem to get it right
<Asitha> (\w+[\,]\S*)
<Asitha> I was able to capture the whole part of it like that, but I want to split it by the commas so I can make it into an array
Forgetful_Lion has joined #ruby-lang
sstavrop has quit [Quit: sstavrop]
<Trapper> Gentlemen.
<Trapper> Threading. Am I doing it right? http://pastebin.com/WVkSY3Y1
lunarjar has quit [Ping timeout: 264 seconds]
lunarjar has joined #ruby-lang
micalexa_ has quit [Remote host closed the connection]
Forgetful_Lion has quit [Read error: Operation timed out]
micalexander has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
uokesita has left #ruby-lang [#ruby-lang]
uokesita has joined #ruby-lang
uokesita has quit [Quit: Leaving]
uokesita has joined #ruby-lang
ruby-lang763 has joined #ruby-lang
zz_michael_mbp is now known as michael_mbp
Forgetful_Lion has quit [Read error: Operation timed out]
hahuang65 has quit [Read error: Connection reset by peer]
ruby-lang763 has quit [Ping timeout: 250 seconds]
hahuang65 has joined #ruby-lang
uokesita has left #ruby-lang [#ruby-lang]
Forgetful_Lion has joined #ruby-lang
uokesita_ has joined #ruby-lang
kurko_ has quit [Ping timeout: 245 seconds]
kgrz has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
Forgetful_Lion has quit [Read error: Operation timed out]
kgrz has quit [Ping timeout: 240 seconds]
Forgetful_Lion has joined #ruby-lang
majjoha has joined #ruby-lang
nathanstitt has joined #ruby-lang
Oloryn_lt22 has quit [Ping timeout: 265 seconds]
Forgetful_Lion has quit [Read error: Operation timed out]
majjoha has quit [Ping timeout: 240 seconds]
DeFii has joined #ruby-lang
DeFii has left #ruby-lang [#ruby-lang]
Forgetful_Lion has joined #ruby-lang
Oloryn_lt2 has joined #ruby-lang
Forgetful_Lion has quit [Read error: Operation timed out]
Forgetful_Lion has joined #ruby-lang
jxie_ has joined #ruby-lang
jxie has quit [Ping timeout: 240 seconds]
kgrz has joined #ruby-lang
Forgetful_Lion has quit [Read error: Operation timed out]
Oloryn_lt21 has joined #ruby-lang
banisterfiend has quit [Quit: Computer has gone to sleep.]
Oloryn_lt2 has quit [Ping timeout: 245 seconds]
Forgetful_Lion has joined #ruby-lang
kgrz has quit [Ping timeout: 240 seconds]
bzalasky has joined #ruby-lang
majjoha has joined #ruby-lang
<jrobeson> Asitha, i don't have time to look at your regex right now, but perhaps you might want to play in this http://rubular.com/
Forgetful_Lion has quit [Read error: Operation timed out]
bzalasky has quit [Remote host closed the connection]
michael_mbp is now known as zz_michael_mbp
bzalasky has joined #ruby-lang
majjoha has quit [Ping timeout: 265 seconds]
mdedetrich has quit [Quit: Computer has gone to sleep.]
Forgetful_Lion has joined #ruby-lang
bzalasky has quit [Ping timeout: 272 seconds]
pleirosei has quit [Ping timeout: 260 seconds]
Forgetful_Lion has quit [Read error: Operation timed out]
billybob000 has joined #ruby-lang
<billybob000> so i can't pass a method a hash w/o using parenthesis? eg "foo.bar {number: 5}"
Forgetful_Lion has joined #ruby-lang
<heftig> billybob000: yes, because it conflicts with the block syntax
<billybob000> ah, cool
Oloryn_lt2 has joined #ruby-lang
<heftig> puts 3, {foo: 3} would be unambiguous, because of the comma
Oloryn_lt21 has quit [Ping timeout: 272 seconds]
jackrasum has joined #ruby-lang
kgrz has joined #ruby-lang
jackrasum has quit [Ping timeout: 250 seconds]
muh has joined #ruby-lang
Forgetful_Lion has quit [Read error: Operation timed out]
Forgetful_Lion has joined #ruby-lang
mistym_ has joined #ruby-lang
Forgetful_Lion has quit [Client Quit]
postmodern has quit [Quit: Leaving]
Forgetful_Lion has joined #ruby-lang
pleirosei has joined #ruby-lang
<billybob000> so it looks like you can't mix and match named parameters either...
<billybob000> probably not a good idea anyway
stefff has quit [Ping timeout: 272 seconds]
Forgetful_Lion has quit [Read error: Connection reset by peer]
<billybob000> def foo(bar=nil, blah: 5)
Forgetful_Lion has joined #ruby-lang
Forgetful_Lion has quit [Read error: Connection reset by peer]
Forgetful_Lion has joined #ruby-lang
mistym has quit [Ping timeout: 272 seconds]
Forgetful_Lion has quit [Read error: Connection reset by peer]
neaer has quit []
Forgetful_Lion has joined #ruby-lang
Forgetful_Lion has quit [Read error: Connection reset by peer]
Forgetful_Lion has joined #ruby-lang
majjoha has joined #ruby-lang
Forgetful_Lion has quit [Read error: Connection reset by peer]
Forgetful_Lion has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
Forgetful_Lion has quit [Read error: Connection reset by peer]
Forgetful_Lion has joined #ruby-lang
mucker 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
uokesita_ has quit [Quit: This computer has gone to sleep]
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]
mdedetrich has joined #ruby-lang
majjoha has quit [Ping timeout: 272 seconds]
Forgetful_Lion has joined #ruby-lang
Trapper has quit [Ping timeout: 272 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
tomzx_mac has joined #ruby-lang
Forgetful_Lion has quit [Read error: Connection reset by peer]
mistym_ is now known as mistym
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]
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]
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]
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]
majjoha has joined #ruby-lang
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]
Oloryn_lt21 has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
mucker has quit [Remote host closed the connection]
Oloryn_lt2 has quit [Ping timeout: 252 seconds]
Forgetful_Lion has quit [Read error: Connection reset by peer]
mucker has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
Forgetful_Lion has quit [Read error: Connection reset by peer]
Forgetful_Lion has joined #ruby-lang
majjoha 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
jithu has joined #ruby-lang
Forgetful_Lion has quit [Read error: Connection reset by peer]
Forgetful_Lion has joined #ruby-lang
mucker has quit [Ping timeout: 265 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]
shinnya 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
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]
daikan has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
kgrz has joined #ruby-lang
intellitech has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
daikan has quit [Ping timeout: 272 seconds]
kgrz has quit [Ping timeout: 240 seconds]
mucker has joined #ruby-lang
majjoha has joined #ruby-lang
majjoha has quit [Ping timeout: 246 seconds]
gjaldon has joined #ruby-lang
Tearan has joined #ruby-lang
Boohbah has quit [Remote host closed the connection]
Boohbah has joined #ruby-lang
mdedetrich has joined #ruby-lang
sevvie has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
mucker has quit [Remote host closed the connection]
jithu has quit [Quit: Mother, did it need to be so high?]
mucker has joined #ruby-lang
<gjaldon> hi all. 'alt + left or right arrow' doesn't work in my irb/pry and in bash but works fine in zsh. any idea how to troubleshoot?
<ryanf> gjaldon: bash and irb/pry don't share any line-editing code afaik, so if you're having a problem with both of them then it's probably something about your terminal
<ryanf> other than that, if you're having trouble with line-editing stuff in irb/pry, make sure you're using real readline and not libedit (which is the default on macs)
stefff has joined #ruby-lang
jithu has joined #ruby-lang
<gjaldon> how to check for that? i'm using a mac
<ryanf> >> require 'readline'; puts Readline::VERSION
<eval-in> ryanf => 6.1 ... (https://eval.in/54290)
<ryanf> if it's libedit it will say something in parentheses after the number iirc?
<gjaldon> I get this: EditLine wrapper
<ryanf> yeah, that's bad news
<ryanf> are you using the ruby that came with your mac?
<gjaldon> dang. I installed via rbenv
<ryanf> oh ok
<ryanf> just google rbenv readline
<ryanf> you might not even have to recompile
<gjaldon> thanks man! will try and look it up. been looking for a solution for days but wasn't sure wat to look for
<gjaldon> looking it up now
<ryanf> no problem
muh has quit [Ping timeout: 272 seconds]
sevvie has quit [Read error: Connection reset by peer]
lacrosse has quit [Read error: Connection reset by peer]
sevvie has joined #ruby-lang
majjoha has joined #ruby-lang
jithu has quit [Quit: Mother, did it need to be so high?]
majjoha has quit [Ping timeout: 245 seconds]
kenta_ has joined #ruby-lang
jithu has joined #ruby-lang
bzalasky has joined #ruby-lang
apeiros has quit [Read error: Connection reset by peer]
apeiros_ has joined #ruby-lang
gjaldon has quit [Remote host closed the connection]
Asitha has quit []
fosky has joined #ruby-lang
joshAnderson99 has left #ruby-lang [#ruby-lang]
majjoha has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
hramrach has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby-lang
tomzx_mac has quit [Read error: Operation timed out]
majjoha has quit [Ping timeout: 240 seconds]
nofxx has joined #ruby-lang
UziMonkey has quit [Ping timeout: 264 seconds]
apeiros has quit [Ping timeout: 265 seconds]
UziMonkey has joined #ruby-lang
mucker has quit [Remote host closed the connection]
mucker has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
mucker has quit [Ping timeout: 272 seconds]
bzalasky has joined #ruby-lang
guns has joined #ruby-lang
bzalasky_ has joined #ruby-lang
bzalasky has quit [Ping timeout: 252 seconds]
gjaldon has joined #ruby-lang
Oak has joined #ruby-lang
nisstyre has joined #ruby-lang
majjoha has joined #ruby-lang
zz_michael_mbp is now known as michael_mbp
alexju_ has joined #ruby-lang
majjoha has quit [Ping timeout: 252 seconds]
michael_mbp is now known as zz_michael_mbp
alexju has quit [Ping timeout: 272 seconds]
bzalasky_ has quit [Remote host closed the connection]
bastilian_ has joined #ruby-lang
bastilian has quit [Ping timeout: 264 seconds]
jxie has joined #ruby-lang
sevvie has quit [Read error: Connection reset by peer]
jxie_ has quit [Ping timeout: 240 seconds]
majjoha has joined #ruby-lang
alexju_ has quit [Remote host closed the connection]
alexju has joined #ruby-lang
majjoha has quit [Ping timeout: 240 seconds]
alexju has quit [Ping timeout: 245 seconds]
ruby-lang130 has joined #ruby-lang
zz_michael_mbp is now known as michael_mbp
bzalasky has joined #ruby-lang
ruby-lang130 has quit [Ping timeout: 250 seconds]
Tearan has quit [Quit: Sleepy Badger....]
shaileshg_ has joined #ruby-lang
Tearan has joined #ruby-lang
Tearan has quit [Client Quit]
nisstyre has quit [Quit: Leaving]
<shaileshg_> hello
<shaileshg_> Hi, I am trying to read certificate.cer to fetch public key for encrypting data in ruby, but it is showing nested asn1 error error. Can anyone help with it?
<shaileshg_> Here is the gist to it
<shaileshg_> i m not sure where I am going wrong.. earlier it used to work
wallerdev has quit [Quit: wallerdev]
<rue> So what changed?
majjoha has joined #ruby-lang
relix has joined #ruby-lang
majjoha has quit [Ping timeout: 272 seconds]
jithu has quit [Quit: Mother, did it need to be so high?]
<dbussink> shaileshg_: you can read it with OpenSSL::X509::Certificate.new()
<dbussink> shaileshg_: you can get the public key with then OpenSSL::X509::Certificate#public_key method then
<shaileshg_> dbussink: okay.. let me try this
<dbussink> shaileshg_: just tried it here, works fine here
<shaileshg_> so, i didi foo = OpenSSL::X509::Certificate.new File.read './file.cer'
<shaileshg_> and key = foo.public_key gives #<OpenSSL::PKey::RSA:0x007f9745802e68>
<shaileshg_> how can i use this to encrypt data string
<dbussink> right, that's what i assumed you wanted since you used OpenSSL::PKey::RSA.new
<shaileshg_> dbussink: I want to encrypt a session key using public key in the given .cer file
<dbussink> shaileshg_: if you read that, it shows the different available methods and has what you want
<shaileshg_> dbussink: thanks.. it works
<shaileshg_> dbussink: saved my day.. have been trying since morning.. :)
JohnBat26 has joined #ruby-lang
<dbussink> shaileshg_: np
<shaileshg_> dbussink: I am just curious to know.. why does public_encrypt works on key and not on foo? does key = foo.public_key makes it an actual instance of RSA class?
bastilian_ has quit [Quit: Leaving...]
<dbussink> shaileshg_: because foo is a certificate object
<dbussink> and not an rsa public key
<dbussink> a certificate entails more than just a public key
<shaileshg_> ohkay.. hmm.. right
<dbussink> shaileshg_: that shows some other methods on a certificate to get other information
<shaileshg_> hmm.. right
skade has joined #ruby-lang
kitak_ has joined #ruby-lang
majjoha has joined #ruby-lang
majjoha has quit [Ping timeout: 245 seconds]
banisterfiend has joined #ruby-lang
arBmind has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
fosky has quit [Read error: Connection reset by peer]
guns has quit [Quit: guns]
fosky_ has joined #ruby-lang
ruurd has joined #ruby-lang
majjoha has joined #ruby-lang
cogent has joined #ruby-lang
majjoha has quit [Ping timeout: 265 seconds]
phrozen77 has joined #ruby-lang
skade has joined #ruby-lang
skade has quit [Client Quit]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
Elinos has joined #ruby-lang
x0f_ has joined #ruby-lang
x0f has quit [Read error: Operation timed out]
Coincidental has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
majjoha has joined #ruby-lang
<freedrull> anyone know of a way to treat Array#cycle as a sort of lazy infinite list, so I can just grab the first 5 elements off it? array.cycle.take(5) or something
<freedrull> oh wait, that works ><
<freedrull> geez
MaddinXx has joined #ruby-lang
majjoha has quit [Ping timeout: 245 seconds]
Coincidental has quit [Ping timeout: 272 seconds]
hhatch has joined #ruby-lang
fosky_ has quit [Remote host closed the connection]
<yxhuvud> :D
wudofyr has joined #ruby-lang
shinnya has joined #ruby-lang
gjaldon has quit [Remote host closed the connection]
Elinos has quit [Quit: Leaving]
skade has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shaileshg_> dbussink: Hi, thr?
mucker has joined #ruby-lang
<shaileshg_> dbussink: How do I read .p12 file?
bzalasky has quit [Remote host closed the connection]
majjoha has joined #ruby-lang
bzalasky has joined #ruby-lang
<dbussink> shaileshg_: dunno, i'd say google for it, should give some information
<dbussink> shaileshg_: just googling gives you this class: http://www.ruby-doc.org/stdlib-2.0.0/libdoc/openssl/rdoc/OpenSSL/PKCS12.html
<dbussink> shaileshg_: so just try using that
relix has joined #ruby-lang
<shaileshg_> but it gives error OpenSSL::PKCS12::PKCS12Error: PKCS12_parse: mac verify failure
<dbussink> guess the file would be problematic then
<dbussink> or has a password
<shaileshg_> yes, when i put password, like OpenSSL::PKCS12.new File.read './public-may2012.p12', 'public'
<shaileshg_> it gives TypeError: no implicit conversion of String into Integer
<dbussink> you need to add () in the right places
<dbussink> ruby reads that as OpenSSL::PKCS12.new(File.read('./public-may2012.p12', 'public'))
<dbussink> you're giving the argument to File.read
<shaileshg_> dbussink: Oh shit.. thanks
<shaileshg_> yes
<shaileshg_> that was the issue
<dbussink> that should be clear from the exception backtrace
<dbussink> that it's from File
<dbussink> and not from openssl
duphus has joined #ruby-lang
<shaileshg_> hmm.. okay. will take care of it from now
bzalasky has quit [Ping timeout: 246 seconds]
majjoha has quit [Ping timeout: 256 seconds]
duphus1 has joined #ruby-lang
duphus has quit [Read error: No route to host]
daikan has joined #ruby-lang
cogent has quit [Quit: cogent]
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
mistym has quit [Remote host closed the connection]
Squarepy has joined #ruby-lang
Oak has quit [Ping timeout: 240 seconds]
Oak has joined #ruby-lang
Oak has quit [Changing host]
Oak has joined #ruby-lang
Oak has quit [Client Quit]
Trapper has joined #ruby-lang
<Trapper> So
<Trapper> Does anyone know anything about multi-threading with Ruby?
stamina has joined #ruby-lang
<yorickpeterse> ask
<yorickpeterse> * away
<yorickpeterse> damn it
bastilian has joined #ruby-lang
<Trapper> haha
<Trapper> making a pastebin..
<Trapper> I just want to know, is this the standard way of doing things?
<Trapper> Instead of counters, let's pretend those methods are checking a database or whatever
<Trapper> should you want them all happening at the same time?
<Trapper> Is this the only way you can give feedback to the user?
<Trapper> eg. Counter 1 has finished, Counter 2 has finished
<Trapper> Do they need to be in threads?
<yorickpeterse> euh, what are you trying to do?
<yorickpeterse> also mind you that threads in MRI are fairly useless for non IO stuff
Squarepy has quit [Read error: Connection reset by peer]
Squarepy has joined #ruby-lang
mbj has joined #ruby-lang
mbj has quit [Ping timeout: 240 seconds]
stevepsharpe has quit [Quit: Leaving...]
bastilian has quit [Quit: Leaving...]
bastilian has joined #ruby-lang
duphus1 has quit [Quit: Leaving.]
Trapper has quit [Ping timeout: 272 seconds]
majjoha has joined #ruby-lang
majjoha has quit [Ping timeout: 246 seconds]
mdedetrich has joined #ruby-lang
Boohbah has quit [Ping timeout: 240 seconds]
Kabaka has quit [Ping timeout: 240 seconds]
toretore has joined #ruby-lang
martndemus has joined #ruby-lang
martndemus has quit [Client Quit]
heftig_ has joined #ruby-lang
martndemus has joined #ruby-lang
Kabaka has joined #ruby-lang
heftig has quit [Ping timeout: 272 seconds]
schaerli has joined #ruby-lang
Trapper has joined #ruby-lang
shinnya has quit [Ping timeout: 272 seconds]
<Trapper> I#m
Boohbah has joined #ruby-lang
<Trapper> trying to send feedback on what is happening to the user
<Trapper> so surely I have to use threads?
<Trapper> there's no other way to do 2 things at the same time
hhatch has quit [Ping timeout: 252 seconds]
stevepsharpe has joined #ruby-lang
ledestin has quit [Quit: ledestin]
bastilian has quit [Quit: Leaving...]
VTLob has joined #ruby-lang
<yorickpeterse> That's correct
schaerli has quit [Remote host closed the connection]
<Trapper> yorickpeterse: I'll admit I've never done threading before :)
<Trapper> You see, I thought I simply had to have 2 threads to give feedback; one to display the feedback, and a second one to contain the methods of the actual program
mbj has joined #ruby-lang
mbj has quit [Client Quit]
mbj has joined #ruby-lang
<Trapper> and then I thought there was magical way to see what method the interpreter was currently in, and send this information to the first thread
<yorickpeterse> Hm, not sure if that's required for ncurses
<yorickpeterse> eh no that's not how threading works
<Trapper> So I need seperate threads for each method?
<Trapper> one thread for the 'status displayer'
<Trapper> all of the other methods in their own thread
<Trapper> and then, in the 'status displayer' thread, test to see what threads are .alive? ?
<Trapper> and then give according feedback
<Trapper> ?
MaddinXx has quit [Remote host closed the connection]
<Trapper> afk
<yorickpeterse> No
<yorickpeterse> You're not getting what threads do
<yorickpeterse> They are not stricly bound to methods at all
<yorickpeterse> sec
<yorickpeterse> http://hastebin.com/bupogipaji.rb this is a quickly half-assed example
<yorickpeterse> Threads are just lumps of code that can do *anything* while something else is running (ignoring MRI's GIL for a moment)
<yorickpeterse> if you're dealing with some kind of GUI you typically have one thread doing the main GUI stuff and a bunch of others doing the slow, potentially blocking work
<yorickpeterse> that way the UI doesn't lock up if you're doing something that takes a few seconds
<Trapper> I see :)
<Trapper> I am creating a program with a UI (using Curses)
<Trapper> So how can I give feedback to the UI?
<Trapper> Show the user what's currently happening?
<Trapper> One thread for the UI. One thread for the rest of the program.
<yorickpeterse> Start with that, yes
<whitequark> one thread to rule them all
<Trapper> haha
<yorickpeterse> whitequark: clearly we all need to start using event loops and callbacks everywhere
<Trapper> ahh I see
<Trapper> right, these are new topics to me
<Trapper> but
<Trapper> I assume we have a continually running event loop in the UI thread
<yorickpeterse> yes
<yorickpeterse> but doesn't curses do that for you?
<Trapper> and then, in the Program thread, we use callbacks to send information to this loop?
<yorickpeterse> (last time I looked at (n)curses was 2 years ago)
<yorickpeterse> if not more
<yorickpeterse> not strictly callbacks, anything really
<yorickpeterse> Just stick with method calls instead of sharing data
<yorickpeterse> e.g.
<Trapper> well I understand that now, that's fine
<Trapper> but now I'm worried that curses apparently does this automatically :L
<yorickpeterse> a problem common with threading is that the moment you start sharing data everything will explode on Friday the 13th once a year
<yorickpeterse> when everybody is at sleep
<yorickpeterse> except for that one client who's already pissed off
<Trapper> I see!
martndemus has quit [Ping timeout: 240 seconds]
<Trapper> I'll take note of that
<Trapper> What do you mean that curses takes care of it for you, though? Because if I create a window with a counter loop inside it, and a second window witha counter loop inside it, the first window will appear, count down and then dissapear. Then the second window will appear, count down and then dissapear.
<Trapper> I can only get them to both count down on the screen at the same time using two threads?
<Trapper> So it doesn't appear to me that curses does it automatically.
<Trapper> I am using curses though. Not ncurses
mucker has quit [Remote host closed the connection]
mucker has joined #ruby-lang
majjoha has joined #ruby-lang
<yorickpeterse> hm
<yorickpeterse> not sure about curses, but for example in GTK it will start a loop for you
<yorickpeterse> So the moment you call Gtk.main it will block everything after it
bastilian has joined #ruby-lang
mucker has quit [Ping timeout: 246 seconds]
cnivolle has joined #ruby-lang
majjoha has quit [Ping timeout: 240 seconds]
martndemus has joined #ruby-lang
<Trapper> yorickpeterse: I've been skimming some docs...I don't think each new window is in its own new thread.
<Trapper> if that is what you mean by automatic threading?
<Trapper> there's no much mention of threads, actually
<Trapper> *not much
<yorickpeterse> No
bastilian has quit [Quit: Leaving...]
<yorickpeterse> curses doesn't use threading
<yorickpeterse> What I meant was whether or not you'd somehow have to keep it alive yourself or whether it would start some kind of loop
<Trapper> ohh!
<Trapper> I think understand now
<Trapper> Yes, I think it is automatic
<Trapper> acutally
anekos_ has quit [Ping timeout: 264 seconds]
anekos_ has joined #ruby-lang
majjoha has joined #ruby-lang
<Trapper> yorickpeterse: Ah yes getting on well now
majjoha has quit [Ping timeout: 256 seconds]
<Trapper> simply using an instance variable to update the variable loop
<Trapper> *event loop
<Trapper> instance variables are availbe to all across threads
mahlon_ has quit [Ping timeout: 240 seconds]
mahlon_ has joined #ruby-lang
sreffotsirk has joined #ruby-lang
elia has joined #ruby-lang
jithu has joined #ruby-lang
jondot has quit [Quit: WeeChat 0.3.7]
bastilian has joined #ruby-lang
majjoha has joined #ruby-lang
francisfish has joined #ruby-lang
tonni has quit [Remote host closed the connection]
tonni has joined #ruby-lang
majjoha has quit [Ping timeout: 240 seconds]
stevepsharpe has quit [Quit: Linkinus - http://linkinus.com]
stevepsharpe has joined #ruby-lang
workmad3 has joined #ruby-lang
Trapper has quit [Ping timeout: 272 seconds]
jxie has quit [Quit: leaving]
banisterfiend has quit [Quit: Computer has gone to sleep.]
wallerdev has joined #ruby-lang
shinnya has joined #ruby-lang
daikan has quit [Remote host closed the connection]
gjaldon has joined #ruby-lang
daikan has joined #ruby-lang
bastilian has quit [Quit: Leaving...]
workmad3 has quit [Ping timeout: 272 seconds]
daikan has quit [Ping timeout: 272 seconds]
kek has joined #ruby-lang
banisterfiend has joined #ruby-lang
MaddinXx_ has joined #ruby-lang
simoz has joined #ruby-lang
<chris2> anyone knows which is the best taglib interface for ruby?
tomzx_mac has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
<chris2> hm, taglib-ruby seems to be most recent
sreffotsirk has quit [Quit: ❤]
Trapper has joined #ruby-lang
kitak_ has quit [Remote host closed the connection]
kitak_ has joined #ruby-lang
cogent has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mucker has joined #ruby-lang
GeissT has quit [Remote host closed the connection]
Tearan has joined #ruby-lang
Tearan has quit [Client Quit]
cogent has quit [Quit: cogent]
Trapper has quit [Ping timeout: 272 seconds]
jwollert- has quit [Ping timeout: 248 seconds]
majjoha has joined #ruby-lang
Squarepy_ has joined #ruby-lang
Squarepy_ has quit [Remote host closed the connection]
Squarepy has quit [Quit: Leaving]
workmad3 has joined #ruby-lang
sepp2k has joined #ruby-lang
majjoha has quit [Ping timeout: 246 seconds]
Tearan has joined #ruby-lang
Tearan has quit [Client Quit]
Tearan has joined #ruby-lang
Tearan has quit [Client Quit]
workmad3 has quit [Ping timeout: 272 seconds]
nathanstitt has joined #ruby-lang
Tearan has joined #ruby-lang
Tearan has quit [Client Quit]
Tearan has joined #ruby-lang
Tearan has quit [Client Quit]
gjaldon has quit [Remote host closed the connection]
Maddin___ has joined #ruby-lang
MaddinXx_ has quit [Ping timeout: 256 seconds]
elia has quit [Quit: Computer has gone to sleep.]
workmad3 has joined #ruby-lang
relix has joined #ruby-lang
lfox has joined #ruby-lang
[spoiler] has joined #ruby-lang
Johz has joined #ruby-lang
Trapper has joined #ruby-lang
caral has joined #ruby-lang
caral has quit [Client Quit]
francisfish has quit [Remote host closed the connection]
francisfish has joined #ruby-lang
francisfish has quit [Read error: Connection reset by peer]
francisfish has joined #ruby-lang
<Trapper> So why is it that Rails is so heavily dependant on the console/terminal
<Trapper> compared with PHP framworks?
<Trapper> I mean, why isn't there a PHPMyAdmin for Ruby?
<Trapper> RubyMyAdmin?
lfox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wallerdev has quit [Quit: wallerdev]
francisfish has quit [Remote host closed the connection]
francisfish has joined #ruby-lang
simoz has quit [Ping timeout: 246 seconds]
majjoha has joined #ruby-lang
<[spoiler]> Trapper, Rails is not a language, though
<[spoiler]> PHP is a framework on its own
<[spoiler]> Also, I never felt like I needed PhpMyAdmin with Rails, tbf
<Trapper> spoiler: Neither have I, but I've only managed simple applications so far
<Trapper> spoilder: How would you manage a large database?
<Trapper> make queries on it and suchlike?
<Trapper> All through the command line?
<[spoiler]> Trapper, rails console & active record :D
francisfish has quit [Ping timeout: 245 seconds]
<[spoiler]> rails lets you run like a project-specific irb session
<[spoiler]> you have perfet control over everything through it
<[spoiler]> perfect*
<Trapper> okay :D
majjoha has quit [Ping timeout: 256 seconds]
<Trapper> I use active record too
<Trapper> I just think it might be a bit confusing for larger projects
elia has joined #ruby-lang
elia has quit [Client Quit]
<Trapper> I mean, hard to see relationships and such like.
elia has joined #ruby-lang
gjaldon has joined #ruby-lang
<Trapper> You'd have to study your models and make a few queries to work out what was going on
<Trapper> Do you reckon that's what developers working on huge projects do?
<[spoiler]> Yeah. I mean there's nothing stopping you from using PhpMyAdmin *and* Rails
Kabaka has quit [Remote host closed the connection]
<[spoiler]> I just never thought I needed it. Everything you need is already available to you from the OS/Rails
<Trapper> Suppose so
<Trapper> one point
<Trapper> this may be majorly nooby so forgive me
<Trapper> but
<Trapper> actually I've just worked it
<Trapper> out
<Trapper> never mind :P
<[spoiler]> Trapper, hahaha! See, there's nothing to worry about :-)
Kabaka has joined #ruby-lang
<Trapper> spoilder: nope :)
<Trapper> *spoiler
<gjaldon> hi all, having problems with irb/pry. 'alt+left arrow' works fine but 'alt + right arrow' works on the first, but any next consecutive ones don't unless I press 'a' after. I just installed ruby 2.0 compiled with readline. before, both 'alt + left arrow' and 'alt + right arrow' didn't work.
<gjaldon> anyone here have an idea on how to fix this?
wallerdev has joined #ruby-lang
gjaldon has quit [Remote host closed the connection]
majjoha has joined #ruby-lang
workmad3 has quit [Ping timeout: 272 seconds]
majjoha has quit [Ping timeout: 272 seconds]
elia has quit [Quit: Computer has gone to sleep.]
Trapper has quit [Ping timeout: 272 seconds]
elia has joined #ruby-lang
alekst has joined #ruby-lang
[spoiler] has quit [Quit: Leaving]
jsullivandigs has joined #ruby-lang
Elinos has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
Mon_Ouie has quit [Ping timeout: 272 seconds]
majjoha has joined #ruby-lang
majjoha has quit [Ping timeout: 240 seconds]
mbj has quit [Ping timeout: 245 seconds]
sevvie has joined #ruby-lang
Tearan has joined #ruby-lang
Tearan has quit [Client Quit]
schaerli has joined #ruby-lang
Tearan has joined #ruby-lang
pumper has joined #ruby-lang
Tearan has quit [Client Quit]
banisterfiend has quit [Quit: Computer has gone to sleep.]
jithu has quit [Quit: Mother, did it need to be so high?]
Maddin___ has quit [Remote host closed the connection]
pumper has quit [Remote host closed the connection]
io_syl has quit []
rx_ has joined #ruby-lang
banisterfiend has joined #ruby-lang
rx_ has left #ruby-lang [#ruby-lang]
rx_ has joined #ruby-lang
rx_ has quit [Client Quit]
alekst has quit [Quit: Leaving...]
majjoha has joined #ruby-lang
rx_ has joined #ruby-lang
rx_ has left #ruby-lang [#ruby-lang]
michael_mbp is now known as zz_michael_mbp
majjoha has quit [Ping timeout: 246 seconds]
carlosgaldino has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jithu has joined #ruby-lang
rixth has joined #ruby-lang
apeiros has joined #ruby-lang
Tearan has joined #ruby-lang
Tearan has quit [Client Quit]
Tearan has joined #ruby-lang
Tearan has quit [Client Quit]
Tearan has joined #ruby-lang
Tearan has quit [Client Quit]
sevvie has quit [Read error: Connection reset by peer]
jxie has joined #ruby-lang
Tearan has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
snarfmason has quit [Quit: Textual IRC Client: www.textualapp.com]
mbj has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tkuchiki has quit [Ping timeout: 252 seconds]
Tearan has joined #ruby-lang
Tearan has quit [Client Quit]
tkuchiki has joined #ruby-lang
daikan has joined #ruby-lang
bastilian has joined #ruby-lang
tkuchiki has quit [Ping timeout: 272 seconds]
martndemus has quit [Ping timeout: 265 seconds]
micalexander has quit [Remote host closed the connection]
micalexander has joined #ruby-lang
micalexander has quit [Ping timeout: 256 seconds]
Ahti333 has quit [Ping timeout: 240 seconds]
bastilian has quit [Quit: Leaving...]
Ahti333 has joined #ruby-lang
nisstyre has joined #ruby-lang
MaddinXx_ has joined #ruby-lang
majjoha has joined #ruby-lang
micalexander has joined #ruby-lang
majjoha has quit [Ping timeout: 246 seconds]
bastilian has joined #ruby-lang
kurko_ has joined #ruby-lang
martndemus has joined #ruby-lang
CoreData has joined #ruby-lang
bzalasky has joined #ruby-lang
bastilian has quit [Client Quit]
stamina has quit [Ping timeout: 240 seconds]
pumper has joined #ruby-lang
Tearan has joined #ruby-lang
Tearan has quit [Client Quit]
banisterfiend has quit [Quit: Computer has gone to sleep.]
bzalasky has quit [Remote host closed the connection]
Tearan has joined #ruby-lang
Tearan has quit [Client Quit]
metus_violarium has joined #ruby-lang
banisterfiend has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
martndemus has quit [Ping timeout: 240 seconds]
Tearan has joined #ruby-lang
Tearan has quit [Client Quit]
bf4 has joined #ruby-lang
martndemus has joined #ruby-lang
soba_ has joined #ruby-lang
bf4 has quit [Ping timeout: 246 seconds]
schaerli has quit [Remote host closed the connection]
CoreData has quit [Read error: Connection reset by peer]
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
KM has quit [Ping timeout: 240 seconds]
jsullivandigs has quit [Ping timeout: 256 seconds]
Tearan has joined #ruby-lang
<Tearan> hi
Mon_Ouie has joined #ruby-lang
sstavrop has joined #ruby-lang
micalexander has quit [Ping timeout: 260 seconds]
workmad3 has joined #ruby-lang
jsullivandigs has joined #ruby-lang
KM has joined #ruby-lang
rixth has quit [Quit: Textual IRC Client: www.textualapp.com]
achiu1 has quit [Quit: WeeChat 0.4.1]
jaimef has quit [Excess Flood]
jaimef has joined #ruby-lang
majjoha has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 240 seconds]
majjoha has quit [Ping timeout: 240 seconds]
kurko_ has quit [Ping timeout: 240 seconds]
Tearan has quit [Quit: Sleepy Badger....]
kurko_ has joined #ruby-lang
kurko_ has quit [Ping timeout: 256 seconds]
kurko_ has joined #ruby-lang
apeiros has joined #ruby-lang
vondruch has quit [Quit: Ex-Chat]
dingus_khan has joined #ruby-lang
redgetan_ has left #ruby-lang [#ruby-lang]
spuk has quit [Ping timeout: 240 seconds]
spuk has joined #ruby-lang
spuk has quit [Remote host closed the connection]
pleirosei has quit [Ping timeout: 245 seconds]
uokesita_ has joined #ruby-lang
uokesita_ has quit [Client Quit]
pleirosei has joined #ruby-lang
CoreData has joined #ruby-lang
Xzyx987X has quit [Read error: Connection reset by peer]
Xzyx987X has joined #ruby-lang
sevvie has joined #ruby-lang
workmad3 has quit [Ping timeout: 240 seconds]
MaddinXx_ has quit [Remote host closed the connection]
CoreData has quit [Quit: CoreData]
dingus_khan has quit [Read error: Connection reset by peer]
dingus_khan has joined #ruby-lang
Coincidental has joined #ruby-lang
lfox has joined #ruby-lang
MrZYX|off is now known as MrZYX
pr0ton has joined #ruby-lang
schaerli has joined #ruby-lang
carlosgaldino has joined #ruby-lang
majjoha has joined #ruby-lang
schaerli has quit [Remote host closed the connection]
dingus_khan has quit [Remote host closed the connection]
carlosgaldino has quit [Client Quit]
dingus_khan has joined #ruby-lang
majjoha has quit [Ping timeout: 245 seconds]
sstavrop has quit [Quit: sstavrop]
Kabaka has quit [Ping timeout: 240 seconds]
Ahti333 has quit [Ping timeout: 240 seconds]
jithu has quit [Quit: Mother, did it need to be so high?]
mistym has joined #ruby-lang
Ahti333 has joined #ruby-lang
elia has joined #ruby-lang
Kabaka has joined #ruby-lang
MarkSerie1 has joined #ruby-lang
stefff has quit [Ping timeout: 272 seconds]
CoreData has joined #ruby-lang
sstavrop has joined #ruby-lang
pr0ton has quit [Quit: pr0ton]
MarkSerie1 has quit [Client Quit]
CoreData1 has joined #ruby-lang
CoreData has quit [Client Quit]
ruurd has quit [Read error: Connection reset by peer]
ruurd_ has joined #ruby-lang
MarkSerie1 has joined #ruby-lang
bastilian has joined #ruby-lang
heftig_ is now known as heftig
MarkSerie1 has left #ruby-lang [#ruby-lang]
sevvie has quit [Ping timeout: 245 seconds]
soba_ has quit [Ping timeout: 246 seconds]
rixth has joined #ruby-lang
majjoha has joined #ruby-lang
Barrin6 has joined #ruby-lang
zz_michael_mbp is now known as michael_mbp
MrZYX is now known as MrZYX|off
heftig has quit [Quit: Quitting]
majjoha has quit [Ping timeout: 252 seconds]
heftig has joined #ruby-lang
michael_mbp is now known as zz_michael_mbp
sepp2k has quit [Quit: Leaving.]
bastilian has quit [Quit: Leaving...]
banisterfiend has quit [Quit: Computer has gone to sleep.]
go|dfish has quit [Remote host closed the connection]
sevvie has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
Trapper has joined #ruby-lang
bastilian has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
go|dfish has joined #ruby-lang
nazty has quit [Read error: Connection reset by peer]
nazty has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
Trapper has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
Coincidental has quit [Ping timeout: 265 seconds]
Trapper has joined #ruby-lang
elia has joined #ruby-lang
elia has quit [Client Quit]
Hooman has joined #ruby-lang
stamina has joined #ruby-lang
sstavrop has quit [Quit: sstavrop]
Hooman has left #ruby-lang [#ruby-lang]
majjoha has joined #ruby-lang
arBmind1 has joined #ruby-lang
micalexander has joined #ruby-lang
arBmind1 has quit [Client Quit]
majjoha has quit [Ping timeout: 253 seconds]
sevvie has quit [Ping timeout: 253 seconds]
arBmind has quit [Ping timeout: 245 seconds]
s0ber has quit [Read error: Connection reset by peer]
rixth has quit [Quit: Computer has gone to sleep.]
s0ber has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
elia has joined #ruby-lang
sevvie has joined #ruby-lang
dingus_khan has joined #ruby-lang
jonahR has joined #ruby-lang
kurko_ has quit [Ping timeout: 265 seconds]
kurko_ has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
micalexander has quit [Ping timeout: 264 seconds]
stamina has quit [Ping timeout: 240 seconds]
bastilian has quit [Quit: Leaving...]
elia has joined #ruby-lang
banisterfiend has joined #ruby-lang
elia has quit [Client Quit]
elia has joined #ruby-lang
elia has quit [Client Quit]
VTLob has quit [Quit: VTLob]
majjoha has joined #ruby-lang
sevvie has quit [Ping timeout: 272 seconds]
uokesita_ has joined #ruby-lang
<Barrin6> anyone know how I can loop methods here? http://pastebin.com/4ZF8XMfW trying loop the fib method
fosky has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
apeiros has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
CoreData1 has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
majjoha has quit [Ping timeout: 246 seconds]
<Barrin6> oh boy
Oloryn_lt21 has quit [Read error: Connection reset by peer]
Oloryn_lt2 has joined #ruby-lang
alexju has joined #ruby-lang
Oloryn_lt2 has quit [Read error: Connection reset by peer]
stamina has joined #ruby-lang
ledestin has joined #ruby-lang
Oloryn_lt2 has joined #ruby-lang
Oloryn_lt2 has quit [Read error: Connection reset by peer]
MrZYX|off is now known as MrZYX
lfox has quit [Remote host closed the connection]
lfox has joined #ruby-lang
Oloryn_lt2 has joined #ruby-lang
uokesita_ has quit [Quit: Leaving]
<Barrin6> nevermind I got it!
Kabaka has quit [Ping timeout: 240 seconds]
dingus_khan has quit [Remote host closed the connection]
Kabaka has joined #ruby-lang
workmad3 has joined #ruby-lang
metus_violarium has quit [Quit: Konversation terminated!]
nathanstitt has quit [Quit: I growing sleepy]
<Barrin6> anyone know what's the difference between range=(1..3) vs. range=[1..3]?
MrZYX is now known as MrZYX|off
nathanstitt has joined #ruby-lang
jbsan has joined #ruby-lang
martndemus has quit [Ping timeout: 265 seconds]
rixth has joined #ruby-lang
kitak_ has quit [Remote host closed the connection]
kitak_ has joined #ruby-lang
tkuchiki has joined #ruby-lang
workmad3 has quit [Ping timeout: 272 seconds]
Trapper has quit [Ping timeout: 272 seconds]
bastilian has joined #ruby-lang
dingus_khan has joined #ruby-lang
tkuchiki has quit [Ping timeout: 256 seconds]
rixth has quit [Quit: Computer has gone to sleep.]
majjoha has joined #ruby-lang
fosky has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 256 seconds]
dingus_khan has quit [Ping timeout: 265 seconds]
rixth has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
fosky has joined #ruby-lang
majjoha has quit [Ping timeout: 256 seconds]
rixth has quit [Quit: Computer has gone to sleep.]
nathanstitt has joined #ruby-lang
Asher has quit [Quit: Leaving.]
Asher has joined #ruby-lang
rixth has joined #ruby-lang
richardburton has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Barrin6 has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Go on, try it!]
symm- has joined #ruby-lang
Trapper has joined #ruby-lang
mbj has quit [Quit: leaving]
CoreData has joined #ruby-lang
majjoha has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
majjoha has quit [Ping timeout: 272 seconds]
nathanstitt has joined #ruby-lang
CoreData1 has joined #ruby-lang
fp- has joined #ruby-lang
<fp-> is it OK to override the class name method?
<fp-> or is that going to cause me trouble down the road
Trapper has quit [Remote host closed the connection]
pleirosei has quit [Remote host closed the connection]
elia has joined #ruby-lang
CoreData1 has quit [Quit: Bye, friends.]
CoreData1 has joined #ruby-lang
Trapper has joined #ruby-lang
havenwood has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
ruurd_ has quit [Quit: Linkinus - http://linkinus.com]
Tearan has joined #ruby-lang
mdedetrich has joined #ruby-lang
tubbo has joined #ruby-lang
daikan has quit [Remote host closed the connection]
daikan has joined #ruby-lang
dingus_khan has joined #ruby-lang
daikan has quit [Read error: Operation timed out]
majjoha has joined #ruby-lang
Elinos has quit [Quit: Leaving]
dingus_khan has quit [Ping timeout: 240 seconds]
stamina has quit [Ping timeout: 246 seconds]
majjoha has quit [Ping timeout: 246 seconds]
fosky has quit [Ping timeout: 256 seconds]
fp- has quit [Quit: fp-]
rixth has quit [Quit: Textual IRC Client: www.textualapp.com]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
<Trapper> hi
tkuchiki has joined #ruby-lang
<Trapper> Anyone know how to evaluate a new line character?
<Trapper> in a Curses application?
<Trapper> Or do I need to use the pos method
symm- has quit [Quit: Leaving...]
symm- has joined #ruby-lang
fosky has joined #ruby-lang
duphus has joined #ruby-lang
spuk has joined #ruby-lang
duphus has quit [Client Quit]
sevvie has joined #ruby-lang
Kero has quit [Ping timeout: 272 seconds]
Kero has joined #ruby-lang
zz_michael_mbp is now known as michael_mbp
<Trapper> guiiiis
michael_mbp is now known as zz_michael_mbp
Oloryn_lt2 has quit [Read error: Connection reset by peer]
nathanstitt has joined #ruby-lang
Oloryn_lt2 has joined #ruby-lang
havenwood has joined #ruby-lang
sevvie has quit [Ping timeout: 252 seconds]
imperator has joined #ruby-lang
<Trapper> Is anyone around?
dingus_khan has joined #ruby-lang
dingus_khan has quit [Ping timeout: 241 seconds]
<Tearan> anyone here play with the minitest / test unit that is built into the 2.0 ruby?
charliesome has joined #ruby-lang