apeiros changed the topic of #ruby to: Ruby 2.0.0-p195: http://ruby-lang.org (Ruby 1.9.3-p429) || Paste >3 lines of text on http://gist.github.com
rickruby has joined #ruby
Spami has quit [Ping timeout: 264 seconds]
<Katronix> <link href="views/bootstrap/css/bootstrap.css" rel="stylesheet" media="screen">
srji has joined #ruby
<Katronix> '<link href="views/bootstrap/css/bootstrap.css" rel="stylesheet" media="screen">
<popl> Katronix: there's #sinatra
lenswipe has joined #ruby
<Katronix> OK, thanks
Kabaka has quit [Excess Flood]
DomKM has quit [Ping timeout: 246 seconds]
DomKM1 has joined #ruby
Xeago has quit [Remote host closed the connection]
bigoldrock has quit [Ping timeout: 240 seconds]
Kabaka has joined #ruby
devoldmx3 has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
ephemerian has quit [Quit: Leaving.]
yshh has quit [Remote host closed the connection]
sailias has joined #ruby
Apane has quit [Ping timeout: 260 seconds]
havenwood has joined #ruby
james_ has joined #ruby
wsterling has joined #ruby
james_ is now known as Guest78383
Mars__ has joined #ruby
harrymoreno has quit [Quit: harrymoreno]
brianpWins has joined #ruby
cj3kim has quit [Remote host closed the connection]
srji has quit [Ping timeout: 248 seconds]
wsterling has quit [Ping timeout: 246 seconds]
moted has quit [Read error: Connection reset by peer]
ToApolytoXaos has quit [Quit: Leaving]
baroquebobcat has joined #ruby
laitances14 has quit [Ping timeout: 240 seconds]
moted has joined #ruby
apod has quit [Quit: apod]
thesheff17 has joined #ruby
stkowski has quit [Quit: stkowski]
_Renegade has quit [Quit: _Renegade]
ncho has joined #ruby
DomKM1 has quit [Quit: Leaving.]
DomKM has joined #ruby
baroquebobcat has quit [Client Quit]
ncho has quit [Client Quit]
KhalilC has joined #ruby
laitances14 has joined #ruby
horofox has quit [Quit: horofox]
slash_nick has joined #ruby
slash_nick has joined #ruby
philcrissman_ has joined #ruby
lenswipe_dev has joined #ruby
lenswipe has quit [Ping timeout: 252 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
lellisga has quit [Remote host closed the connection]
cantonic has joined #ruby
adkron has joined #ruby
umttumt has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
bionoid_ has quit [Remote host closed the connection]
icole has quit [Remote host closed the connection]
woolite64_ has joined #ruby
paul_trone has quit [Quit: Lost terminal]
ssvo has quit [Ping timeout: 255 seconds]
baroquebobcat has quit [Client Quit]
DomKM has quit [Quit: Leaving.]
cantonic_ has joined #ruby
woolite64 has quit [Ping timeout: 240 seconds]
cantonic has quit [Ping timeout: 256 seconds]
cantonic_ is now known as cantonic
hogeo has joined #ruby
mansi has joined #ruby
antuirno has joined #ruby
Apane has joined #ruby
brennanMKE has joined #ruby
x1337807x has quit [Quit: Textual IRC Client: www.textualapp.com]
DomKM has joined #ruby
marr has quit [Ping timeout: 256 seconds]
v0n has quit [Read error: Operation timed out]
ShellFu is now known as ShellFu_afk
rickruby has quit [Remote host closed the connection]
devoldmx has quit [Ping timeout: 268 seconds]
<Katronix> will gem allow you to install mulptiple gems at the same time? or do you have to go one at a time?
fenec has joined #ruby
<fenec> how can i do this better?
<fenec> log == true ? result = "result:#{logv.round(2)} (#{value.round(2)}%)." : result = "result:#{value.round(2)}%"
<fenec> it looks so ugly
arubin has joined #ruby
jeebster has quit [Quit: Leaving.]
brennanMKE has quit [Ping timeout: 268 seconds]
devoldmx has joined #ruby
Hare has joined #ruby
<Hare> Can someone help me with an html question.. http://pastebin.com/EZrcEL7U
cj3kim has joined #ruby
kofno has joined #ruby
<Hare> Im using pony for the email handling.
jduan1981 has quit [Read error: Operation timed out]
timkohrumel has joined #ruby
Veejay has joined #ruby
<Spooner> Hare, You are printing out the array object, not concatenating the strings. Try #{directions.join}
<fenec> ?
<fenec> i would need to print the result later
sepp2k has joined #ruby
timkohrumel has quit [Read error: Operation timed out]
cofin has joined #ruby
gr4yscale has quit [Quit: Computer has gone to sleep.]
<ryan_turner> In an API Im trying to use, there are two definitions for method "get_orders_product", both take two integer variables. Any way I can force one over the other?
<ryan_turner> def get_orders_product(order_id,coupon_id) and def get_orders_product(order_id,product_id)
<Hare> Spooner: you are right, I dont really understand why it worked.. but it did. Thanks
<Spooner> fenec: result = "result:#{logv.round(2) if log}#{value.round(2)}%"
<fenec> oooo
Apane has quit [Ping timeout: 268 seconds]
<fenec> awesomeness Spooner
<fenec> thanks
<fenec> :)
milardovich has quit [Remote host closed the connection]
<Spooner> Ah, it isn't right, since you want parens in the first case.
freerobby has joined #ruby
<fenec> yes
<fenec> :(
zeade has quit [Quit: Leaving.]
Mattix has joined #ruby
allanm_ has joined #ruby
danslo has quit [Quit: danslo]
cj3kim has quit [Remote host closed the connection]
<ryan_turner> In an API Im trying to use, there are two definitions for method "get_orders_product", both take two integer variables. Any way I can force one over the other? def get_orders_product(order_id,coupon_id) and def get_orders_product(order_id,product_id)
cj3kim has joined #ruby
<popl> ryan_turner: we saw your question. if someone can/wants to help then they will. you don't need to repeat yourself. :)
kofno has quit [Remote host closed the connection]
<ryan_turner> Ok, in the past I've waited 30 minutes until those who chose not to help left and those who wanted to help did not scroll up.
allanm has quit [Ping timeout: 240 seconds]
freerobby has quit [Ping timeout: 246 seconds]
jdunck has quit [Quit: Computer has gone to sleep.]
DomKM has quit [Quit: Leaving.]
<aartist> I installed rails with railinstaller, what is next?
<havenwood> aartist: Uninstall Rails and take a look at Sinatra.
<havenwood> aartist: j/k j/k
banjara has quit [Quit: Leaving.]
<aartist> havenwood: ???
<havenwood> aartist: Rails channel is #RubyOnRails, by the way.
banjara has joined #ruby
ravster has left #ruby [#ruby]
yshh has joined #ruby
<havenwood> aartist: I was just kidding. But I am a big fan of Sinatra.
<havenwood> aartist: http://www.sinatrarb.com
<Spooner> fenec, result = "result:#{(log ? "%<n>.2f (%<m>.2f%%)" : "%<m>.2f%%") % {n: logv, m:value}}"
banjara has quit [Client Quit]
tylersmith has quit [Remote host closed the connection]
banjara has joined #ruby
cj3kim has quit [Remote host closed the connection]
<Spooner> Whether that is better or not is a matter of opinion, of course ;)
<aartist> havenwood: let me know if possible. I am looking to install a ruby app from github.
<havenwood> aartist: Have you studied up on Ruby? Looking to learn Rails specifically?
<fenec> Spooner, haha
DonRichie has quit [Ping timeout: 252 seconds]
cj3kim has joined #ruby
jlast has joined #ruby
DonRichie has joined #ruby
banjara has quit [Client Quit]
ravster has joined #ruby
<havenwood> aartist: Usually you'd git clone the app, run `bundle`, and start the app (however that is done).
<aartist> havenwood: I haven't studied ruby in perticular, but familiar with other PLs.
ravster has left #ruby [#ruby]
banjara has joined #ruby
cj3kim has quit [Remote host closed the connection]
banjara has quit [Client Quit]
banjara has joined #ruby
<Spooner> ryan_turner, Depends. If they are on different modules/object, then you can specify those to choose it. Can't really tell otherwise, without more info.
<aartist> I installed rails and typed 'bundle'. It says Bundler::GemFileNotFound
skasio has joined #ruby
<havenwood> aartist: Install bundler: gem install bundler
<havenwood> aartist: Then try again.
<Spooner> aartist, No, you need to have a file, Gemfile, in the directory you run "bundle" in.
gr4yscale has joined #ruby
<ryan_turner> Spooner, how would I specify to choose one over the other? They're both in the same class.
<havenwood> Spooner: Oops, I didn't actually read what he typed. >.>
<fryguy> ryan_turner: whichever one is defined last wins
nari has quit [Ping timeout: 256 seconds]
<ryan_turner> I thought it was first?
<fryguy> ryan_turner: no
<havenwood> aartist: Gotta go into the dir of the app you cloned before you bundle.
<fryguy> ryan_turner: all classes/objects in ruby are open, so they get overwritten as changes happen
<Spooner> ryan_turner, They can't be in the same class. The other possibility is that the class has a single method, but based on the params, runs it differently.
<havenwood> aartist: And not all apps have a Gemfile (if not, no bundle).
ner0x has joined #ruby
Aaaarg has joined #ruby
cj3kim has joined #ruby
<ryan_turner> fryguy, Spooner, here's the file, https://github.com/bigcommerce/bigcommerce-api-ruby/blob/master/lib/bigcommerce/api.rb#L199 and line 207.
<aartist> havenwood: ok, It had todo app, I went into the 'todo' directory and it is fetching metadata.
<ryan_turner> It seems as if its using the definition on line 199, but maybe Im mistaken.
bradhe has quit [Remote host closed the connection]
<sn0wb1rdz> Is there a Ruby equivalent of python's sys.settrace()?
<Spooner> ryan_turner, They are identical methods.
<ryan_turner> What the hell...
<ryan_turner> Ok, thanks for pointing that out :/
<ryan_turner> so an even bigger problem then I noticed.
mikepack has quit [Remote host closed the connection]
<Spooner> Sorry, no, the latter one is correct. The original one is misnamed (and won't be accessible as it is overwritten by the second one).
<Spooner> I'm guessing it should be called #get_orders_coupon, but they messed up.
<fryguy> unit test fail
<Spooner> Yep.
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ryan_turner> They dont even do unit testing it seems.
<ryan_turner> They've got so many issues in this damn api.
Hobogrammer has quit [Ping timeout: 268 seconds]
<ryan_turner> Is there an easy way for me to grab these files and include them in rails instead of using it via gem?
<Spooner> They have specs. They just don't have a great coverage, presumably.
gr4yscale has quit [Client Quit]
<fryguy> ryan_turner: that's what vendor directory is for, or you can just use a gem and reference a local path
<Spooner> For such trivial methods.
skasio has quit [Ping timeout: 240 seconds]
<ryan_turner> Spooner their API is terrible and it doesnt even have webhooks available yet.
<ryan_turner> they have a closed testing program that's been closed for about 7 months it seems.
banghouse has quit [Write error: Broken pipe]
<ryan_turner> Ok, so Ill just download it from git and figure out how to include it from vendor, thank you fryguy.
chrishough has quit [Quit: chrishough]
<Spooner> It does seems horrid. I've use OO around APIs I've implemented, ratehr than just a lot of functions.
falkoner has quit [Quit: Leaving.]
DanKnox is now known as DanKnox_away
DomKM has joined #ruby
<ryan_turner> Well, I guess actually what I can do is do a git pull into my vendor dir and fix it up and send them a pull req.
batman___ has joined #ruby
<Spooner> Yep. Best choice if they are active.
<ryan_turner> trying to find details on how to include it in the vendors dir, any tips as to what to search for on google for info on that?
tkuchiki has quit [Remote host closed the connection]
amedeiros has joined #ruby
Apane has joined #ruby
<aartist> How do I install a git hub app ? it is https://github.com/AppName
<popl> aartist: there should be instructions there
lyanchih has joined #ruby
<Spooner> aartist, You don't directly, but if it is a gem, install "gem install GEMNAME"
baroquebobcat has joined #ruby
lyanchih has quit [Client Quit]
Voodoofish430 has quit [Quit: Leaving.]
kofno has joined #ruby
<popl> aartist: what's the name of the app?
<bnagy> or you could actually tell us the real app name so we're not guessing
lyanchih has joined #ruby
fermion has joined #ruby
<aartist> popl: shopify
amedeiros has quit [Ping timeout: 248 seconds]
io_syl has quit [Ping timeout: 268 seconds]
amedeiros has joined #ruby
yshh has quit [Remote host closed the connection]
robscomputer_ has quit [Remote host closed the connection]
robscomputer has joined #ruby
cj3kim has quit [Remote host closed the connection]
baroquebobcat has quit [Client Quit]
<popl> aartist: type gem -h at a prompt to get help using gem
<Spooner> gem install shopify (though the gemname isn't always identical to the project name).
<popl> it appears to be
<popl> (in this case)
amedeiros has quit [Ping timeout: 268 seconds]
<fryguy> aartist: there's directions right in the github repository, read the documentation
amedeiros has joined #ruby
<Spooner> No, never RTFM. That is a weakness! :D
<aartist> fryguy: thanks.. I am already reading that.. in _app.
<aartist> Is gem like cpan ?
<popl> in what sense?
<aartist> popl: installing,searching, listing modules.
yshh has joined #ruby
<popl> aartist: yes
robscomputer has quit [Ping timeout: 260 seconds]
dhruvasagar has joined #ruby
mmitchell has joined #ruby
<aartist> popl: thank you.. that makes it easy for me..
subbyyy has joined #ruby
mmitchell has quit [Remote host closed the connection]
amedeiros has quit [Ping timeout: 240 seconds]
srji has joined #ruby
syamajala has joined #ruby
amedeiros has joined #ruby
Mars__ has quit [Ping timeout: 252 seconds]
pskosinski has quit [Ping timeout: 240 seconds]
icecandy has quit [Remote host closed the connection]
dcunit3d has quit [Ping timeout: 252 seconds]
amedeiros has quit [Ping timeout: 260 seconds]
Guest78383 has quit [Ping timeout: 260 seconds]
amedeiros has joined #ruby
Hobogrammer has joined #ruby
arya has joined #ruby
sevenseacat has joined #ruby
devoldmx has quit [Ping timeout: 246 seconds]
devoldmx has joined #ruby
amedeiros has quit [Ping timeout: 260 seconds]
amedeiros has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
srji has quit [Ping timeout: 248 seconds]
DomKM has quit [Quit: Leaving.]
brianpWins has quit [Quit: brianpWins]
dcunit3d has joined #ruby
v0n has joined #ruby
pootler__ has quit [Ping timeout: 264 seconds]
pootler_ has quit [Ping timeout: 268 seconds]
emmanuelux has quit [Remote host closed the connection]
amedeiros has quit [Ping timeout: 246 seconds]
mikepack has joined #ruby
devoldmx has quit [Ping timeout: 260 seconds]
devoldmx3 has joined #ruby
amedeiros has joined #ruby
jerius has joined #ruby
IceDragon has quit [Quit: Space~~~]
awarner has quit [Remote host closed the connection]
victorbjelkholm has joined #ruby
krawchyk has quit [Remote host closed the connection]
fenec has quit [Remote host closed the connection]
skasio has joined #ruby
jonathanwallace has joined #ruby
Mattix has quit [Ping timeout: 246 seconds]
viszu has quit [Quit: Leaving.]
nari has joined #ruby
amedeiros has quit [Ping timeout: 240 seconds]
devoldmx3 has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
amedeiros has joined #ruby
blitz has quit [Quit: This computer has gone to sleep]
devyn has quit [Read error: Connection reset by peer]
fenec has joined #ruby
gildo has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
Mars__ has joined #ruby
amedeiros has quit [Ping timeout: 260 seconds]
gildo has joined #ruby
devoldmx has quit [Ping timeout: 264 seconds]
cofin has quit [Quit: cofin]
amedeiros has joined #ruby
fermion has quit [Quit: Computer has gone to sleep.]
adkron has quit [Ping timeout: 240 seconds]
ffio_ has joined #ruby
Domon has joined #ruby
brianpWins has joined #ruby
lenswipe has joined #ruby
ffio has quit [Ping timeout: 246 seconds]
Katronix has quit [Quit: For Sale: Parachute. Only used once, never opened, small stain.]
ckrailo has quit [Quit: Computer has gone to sleep.]
freerobby has quit [Ping timeout: 246 seconds]
devyn has joined #ruby
hattusili_III has joined #ruby
lenswipe_dev has quit [Ping timeout: 268 seconds]
havenwood has quit [Ping timeout: 240 seconds]
amedeiros has quit [Ping timeout: 252 seconds]
banjara has quit [Quit: Leaving.]
amedeiros has joined #ruby
dcunit3d has quit [Ping timeout: 240 seconds]
Guga_ has quit [Quit: ~]
Mattix has joined #ruby
pygospa has joined #ruby
sepp2k has quit [Quit: Leaving.]
yim_ has quit [Remote host closed the connection]
dhruvasagar has quit [Read error: Operation timed out]
Spooner has quit [Remote host closed the connection]
marcdel has joined #ruby
pygospa has quit [Client Quit]
Gues_____ has joined #ruby
Gues_____ is now known as Guest29187
tricon_ has joined #ruby
amedeiros has quit [Ping timeout: 268 seconds]
radic__ has joined #ruby
amedeiros has joined #ruby
cj3kim has joined #ruby
scruple has joined #ruby
chrishough has joined #ruby
chrishough has quit [Client Quit]
DomKM has joined #ruby
nari has quit [Ping timeout: 245 seconds]
radic_ has quit [Ping timeout: 264 seconds]
havenwood has joined #ruby
dcunit3d has joined #ruby
Guest29187 has quit [Quit: Guest29187]
pygospa has joined #ruby
rgoodwin has joined #ruby
niklasb has quit [Ping timeout: 246 seconds]
amedeiros has quit [Ping timeout: 248 seconds]
amedeiros has joined #ruby
bionoid has joined #ruby
antuirno has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
scruple has left #ruby ["Leaving"]
cofin has joined #ruby
antuirno has joined #ruby
vlad_starkov has joined #ruby
Hare has quit [Quit: Page closed]
kenmaz has joined #ruby
lenswipe has left #ruby ["Leaving"]
amedeiros has quit [Ping timeout: 260 seconds]
guiocavalcanti has joined #ruby
bradhe has joined #ruby
amedeiros has joined #ruby
vlad_starkov has quit [Ping timeout: 246 seconds]
tricon_ has quit [Read error: Connection reset by peer]
tricon_ has joined #ruby
bean has joined #ruby
Mars` has joined #ruby
amedeiros has quit [Ping timeout: 246 seconds]
tricon- has joined #ruby
amedeiros has joined #ruby
w0rldmaker has quit [Ping timeout: 248 seconds]
nari has joined #ruby
wmoxam has joined #ruby
julian-delphiki has joined #ruby
io_syl has joined #ruby
tricon_ has quit [Ping timeout: 255 seconds]
aetaric has quit [Quit: Got ZNC?]
amedeiros has quit [Ping timeout: 248 seconds]
amedeiros has joined #ruby
kenmaz has quit [Ping timeout: 264 seconds]
aetaric has joined #ruby
slyv has joined #ruby
slyv has quit [Max SendQ exceeded]
yoshie902a has joined #ruby
bean has quit [Ping timeout: 246 seconds]
cj3kim has quit [Read error: Connection reset by peer]
cj3kim has joined #ruby
robscomputer has joined #ruby
amedeiros has quit [Ping timeout: 246 seconds]
guiocava_ has joined #ruby
amedeiros has joined #ruby
anonymuse has quit [Remote host closed the connection]
guiocavalcanti has quit [Ping timeout: 268 seconds]
robscomputer has quit [Ping timeout: 246 seconds]
amedeiros has quit [Ping timeout: 260 seconds]
fierycatnet has joined #ruby
amedeiros has joined #ruby
brennanMKE has joined #ruby
jds has quit [Ping timeout: 264 seconds]
amedeiros has quit [Ping timeout: 268 seconds]
kofno has quit [Remote host closed the connection]
amedeiros has joined #ruby
kenmaz has joined #ruby
cantonic has quit [Quit: cantonic]
cj3kim has quit [Read error: Connection reset by peer]
kenmaz has quit [Read error: Connection reset by peer]
cj3kim_ has joined #ruby
kenmaz has joined #ruby
n_blownapart has joined #ruby
maroloccio has joined #ruby
lusory has quit [Ping timeout: 245 seconds]
DomKM has quit [Quit: Leaving.]
GeissT has joined #ruby
srji has joined #ruby
verto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
amedeiros has quit [Ping timeout: 240 seconds]
niftylettuce has joined #ruby
<n_blownapart> http://pastie.org/8065050 hey could anyone comment on why these two methods are different? the second one returns nothing whether the assertion passes or fails. thanks
snuglepuss has joined #ruby
amedeiros has joined #ruby
krz has joined #ruby
pootler_ has joined #ruby
<n_blownapart> btw I haven't used tap before. ^^
kofno has joined #ruby
arya_ has joined #ruby
awarner has joined #ruby
<fryguy> n_blownapart: returns or prints?
danshultz has joined #ruby
amedeiros has quit [Ping timeout: 255 seconds]
splud has joined #ruby
pothibo has quit [Quit: pothibo]
<splud> quick Q: I have an environment variable I want to override a default in a ruby script.
amedeiros has joined #ruby
amedeiros has left #ruby [#ruby]
Zespre_ has quit [Quit: leaving]
lyanchih has quit [Quit: lyanchih]
elaptics`away has quit [Read error: Operation timed out]
tricon- has quit [Quit: Linkinus - http://linkinus.com]
DrShoggoth has joined #ruby
<splud> variable = ENV['SOME_VARIABLE'] || local_default_value
adkron has joined #ruby
amedeiros has joined #ruby
pootler_ has quit [Ping timeout: 255 seconds]
<n_blownapart> the first one prints "Assertion passed" or "Assertion Failed" (47 is not equal to the expected 46) ... (its a deck of cards)
<n_blownapart> fryguy: ^^
victorbjelkholm has quit [Remote host closed the connection]
<splud> would be fine if the local_default value were in the same units as the environment variable, but it isn't.
Aaaarg has quit [Ping timeout: 246 seconds]
freerobby has joined #ruby
<splud> I need to do a math operation on this (i.e. it is a number). But, if I add .to_i to the env, I get zero when it isn't set.
<splud> Which means when it isn't set, I never get the default.
<fryguy> splud: so, convert it to the same units in a sensible way
arya has quit [Ping timeout: 248 seconds]
<fryguy> splud: you don't HAVE to use || to do null-based association
<fryguy> n_blownapart: ok, and show me an example where the second one doesn't output what you expect
<splud> well, I'd rather do an association without having to invoke ENV twice. Is that possible?
Aaaarg has joined #ruby
<splud> (or assigning it to an intermediate)
<n_blownapart> fryguy: it outputs nothing at all although there are no errors.
yoshie902a has quit [Quit: yoshie902a]
<fryguy> splud: probably, but what's the big deal
<fryguy> splud: make the code readable first of all
<fryguy> n_blownapart: show me
yoshie902a has joined #ruby
amedeiros has quit [Ping timeout: 246 seconds]
mikepack has quit [Remote host closed the connection]
<n_blownapart> fryguy ok there are 4 files are you sure?
hadees has quit [Quit: hadees]
<fryguy> n_blownapart: simplify it
<fryguy> there is no need for 4 files to demonstrate how this doesn't work if in fact it doesn't
<fryguy> related: why are you writing your own assertions instead of using an existing unit testing framework.
<n_blownapart> fryguy ok I need to think about it thanks.
ffio_ has quit [Quit: WeeChat 0.4.1]
<n_blownapart> one sec ^^
yoshie902a has left #ruby [#ruby]
srji has quit [Ping timeout: 248 seconds]
freerobby has quit [Ping timeout: 268 seconds]
RobW_ has joined #ruby
<fryguy> n_blownapart: http://pastie.org/8065097
<n_blownapart> fryguy the first method is a book example and the second was from this irc to illustrate an alternative.
awarner has quit [Ping timeout: 268 seconds]
<n_blownapart> thanks
pothibo has joined #ruby
pothibo has quit [Client Quit]
kofno has quit [Remote host closed the connection]
<n_blownapart> heres the whole class MicroTest with the working method commented out: http://pastie.org/8065101
<fryguy> n_blownapart: that's not helpful at all
<fryguy> show us it not working
bklane has joined #ruby
Guest78383 has joined #ruby
<fryguy> n_blownapart: also, please don't reinvent the unit testing wheel, things like minitest and rspec exist already, just use those
w0rldmaker has joined #ruby
<fryguy> n_blownapart: i'm guessing the difference is probably the use of assert in the first assert_equal but not the second, based on the crazy call stack stuff you are doing
`brendan has joined #ruby
jds has joined #ruby
<n_blownapart> no neither of these are mine its the book and an irc member fryguy hold on one sec I'm still confused
<fryguy> n_blownapart: if it's not yours, all the more reason to NOT USE IT
ttt has joined #ruby
n_blownapart has quit [Read error: Connection reset by peer]
n_blowna_ has joined #ruby
radic__ has quit [Ping timeout: 246 seconds]
devyn has quit [Read error: Connection reset by peer]
ffio has joined #ruby
cantonic has joined #ruby
<n_blowna_> fryguy: it's just an example from a book and I was trying to understand how the second one works in relation to the book example.
<fryguy> the book example calls assert, the second one doesn't
syamajala has quit [Quit: leaving]
n_blowna_ is now known as n_blownapart
<n_blownapart> ok thanks a lot fryguy ... will ponder
ssvo has joined #ruby
ffio has quit [Client Quit]
mduvall has joined #ruby
jdunck has joined #ruby
devyn has joined #ruby
gr4yscale has joined #ruby
dmiller has joined #ruby
_rrecio has quit [Ping timeout: 246 seconds]
n_blownapart has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
DrShoggoth has quit [Remote host closed the connection]
n_blownapart has joined #ruby
rezzack has quit [Quit: Leaving.]
jerius has quit [Quit: jerius]
<splud> I ended up using val = ( ENV[] || default ).to_i / divisor
<splud> default is an int, but ENV doesn't return one.
<n_blownapart> fryguy if you have time one more question: what the hell precisely does tap do? I read a few definitions but it seems quite vague.
brennanMKE has quit [Read error: Connection reset by peer]
brennanMKE has joined #ruby
splud has left #ruby [#ruby]
radic__ has joined #ruby
mansi has quit [Remote host closed the connection]
jimg has joined #ruby
mansi has joined #ruby
marcgg has quit [Read error: No route to host]
ttt has quit [Read error: Connection reset by peer]
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mansi_ has joined #ruby
ttt has joined #ruby
danshultz has quit [Remote host closed the connection]
lyanchih has joined #ruby
awarner has joined #ruby
LennyLinux has quit [Remote host closed the connection]
Aaaarg has quit [Quit: Aaaarg]
mansi has quit [Read error: Connection reset by peer]
kenmaz has quit [Remote host closed the connection]
marcgg has joined #ruby
havenwood has joined #ruby
wallerdev has joined #ruby
ckrailo has joined #ruby
<Inside> what's the most ruby way to iterate over an array that may change size during iteration?
<Inside> ie: I've got a class which represents some fragments of data and want to write code that may assembly objects together into a new object
kofno has joined #ruby
ffio has joined #ruby
dhruvasagar has joined #ruby
awarner has quit [Ping timeout: 255 seconds]
RobW_ has quit [Quit: RobW_]
<havenwood> Inside: Not sure I get what you're doing, but if I'm guessing right this article might be informative: http://www.jstorimer.com/blogs/workingwithcode/8085491-nobody-understands-the-gil
n_blownapart has quit [Remote host closed the connection]
<Inside> ah no, nothing to do with arrays :)
<Inside> erm, threads
<havenwood> How might the array size then change before the array is iterated over?
kofno has quit [Remote host closed the connection]
<Inside> Okay -- I'm parsing a PDF. PDFs paint the PDF by sending commands like "move(x,y)" "show_text("abc..")" When you see a sentence in a PDF, it may not be one call to show text -- it may be something like move_text(0,0) show_text("hell") move_text(100,0) show_text("o world")
eldariof has joined #ruby
<Inside> I'm recording every show_text() event and storing the text as an axis-aligned bounding box. After recording everything, I want to join nearby boxes together
falood has quit [Remote host closed the connection]
<Inside> I guess I could sort everything horizontally then vertically then move the data from one array to another
<Inside> and while iterating over the old array, check if the previously inserted item into the new array is near the other text or something
antuirno has quit [Quit: Leaving]
fenec has quit [Remote host closed the connection]
<Inside> crap.. I hope PDFs don't skip over " " characters in some instances by issuing a move_text() instead of a show_text(" ")
Guest78383 has quit [Remote host closed the connection]
<Inside> I totally see why the OSS people bitch about PDFs
<Inside> It's not a data storage format :(
falood has joined #ruby
DrShoggoth has joined #ruby
Zespre has joined #ruby
havenwood has quit [Remote host closed the connection]
x1337807x has joined #ruby
cj3kim_ has quit [Remote host closed the connection]
cj3kim has joined #ruby
Gooder has joined #ruby
wmoxam has quit [Ping timeout: 248 seconds]
cj3kim has quit [Read error: Connection reset by peer]
sailias has quit [Ping timeout: 248 seconds]
cj3kim has joined #ruby
<bnagy> Inside: are there no libs you can use for this?
x1337807x has quit [Client Quit]
<Inside> nope :/
<bnagy> writing your own pdf parser sounds like yak shaving
bean has joined #ruby
<RylaiC> yak shaving, eh?
<Inside> I'm using PDF::Reader and it provides the "high level" interface to this
<RylaiC> ah, I see
<Inside> it allows you to add callbacks for every text event
<Inside> at least I'm not multiplying the text rendering matrix after every call by hand :p
osvico has quit [Ping timeout: 246 seconds]
L8D has joined #ruby
huoxito has quit [Quit: Leaving]
<L8D> What method can I use to remove any elements from an array of a certain value
patbr0wn has joined #ruby
julian-delphiki has quit [Ping timeout: 255 seconds]
<Inside> you could use select() and keep only the values you want
bradhe has quit [Remote host closed the connection]
<Inside> ie: (0..10).select { |x| x > 5 }
mansi_ has quit [Remote host closed the connection]
<L8D> That works. Is there a specific method to remove a specific item though?
fridim_ has joined #ruby
generalissimo has joined #ruby
<RylaiC> delete_if?
mansi has joined #ruby
<RylaiC> I think. Maybe.
<popl> L8D: positionally or conditionally or …
dhruvasagar has quit [Ping timeout: 248 seconds]
<bnagy> L8D: delete
RobW_ has joined #ruby
<L8D> bnagy: perfect
wereHamster has quit [Quit: Lost terminal]
<L8D> that is what I'm looking for
<bnagy> >>a=[1,2,3,2,4]; a.delete 2; p a
<eval-in> bnagy => [1, 3, 4] ... (https://eval.in/34452)
kil0byte has quit [Remote host closed the connection]
wmoxam has joined #ruby
<bnagy> Inside: a quick google turned up about half a dozen leads for either libs or converters that will get you unformatted text from pdfs
dhruvasagar has joined #ruby
jimg has quit [Remote host closed the connection]
freerobby has joined #ruby
<bnagy> etc
athst has quit [Quit: athst]
P1RATEZ has joined #ruby
mansi has quit [Ping timeout: 240 seconds]
JumpMast3r has quit [Quit: JumpMast3r]
Gooder` has joined #ruby
freerobby has quit [Ping timeout: 246 seconds]
pootler_ has joined #ruby
awarner has joined #ruby
Gooder has quit [Ping timeout: 240 seconds]
w0rldmaker has quit [Ping timeout: 240 seconds]
Apane has quit [Ping timeout: 240 seconds]
nari has quit [Ping timeout: 245 seconds]
pootler_ has quit [Ping timeout: 246 seconds]
cofin has quit [Quit: cofin]
jlast has quit [Remote host closed the connection]
devyn has quit [Ping timeout: 260 seconds]
awarner has quit [Read error: Operation timed out]
Mars` has quit [Ping timeout: 252 seconds]
lyanchih has quit [Quit: lyanchih]
tourdedave has left #ruby [#ruby]
fierycatnet has quit [Quit: Leaving]
juarlex has joined #ruby
Mars__ has quit [Ping timeout: 268 seconds]
twoism has quit [Remote host closed the connection]
timkohrumel has joined #ruby
enhance has quit [Read error: Operation timed out]
Jackneill has joined #ruby
v0n has quit [Ping timeout: 246 seconds]
icole has joined #ruby
jasonsmr has quit [Ping timeout: 248 seconds]
ner0x has quit [Remote host closed the connection]
Treeson has quit [Ping timeout: 248 seconds]
jds has quit [Ping timeout: 260 seconds]
nari has joined #ruby
enhance has joined #ruby
maroloccio has quit [Read error: Connection reset by peer]
verto has joined #ruby
snuglepuss has quit [Remote host closed the connection]
tiripamwe has joined #ruby
DanKnox_away is now known as DanKnox
Apane has joined #ruby
richiebkr has joined #ruby
maroloccio has joined #ruby
ntus1017 has quit [Remote host closed the connection]
n_blownapart has joined #ruby
ffio has quit [Quit: WeeChat 0.4.1]
tiripamwe has quit [Ping timeout: 252 seconds]
verto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Inside has quit [Ping timeout: 248 seconds]
dcunit3d has quit [Ping timeout: 255 seconds]
w0rldmaker has joined #ruby
moos3 has quit [Quit: Computer has gone to sleep.]
mduvall has quit [Quit: mduvall]
moos3 has joined #ruby
kenmaz has joined #ruby
hogeo has quit [Remote host closed the connection]
mduvall has joined #ruby
kenmaz has quit [Remote host closed the connection]
aartist has quit [Ping timeout: 268 seconds]
wmoxam has quit [Ping timeout: 264 seconds]
havenwood has joined #ruby
awarner has joined #ruby
kenmaz has joined #ruby
ffio has joined #ruby
fomatin has quit [Quit: Computer has gone to sleep.]
danshultz has joined #ruby
thesheff17 has quit [Remote host closed the connection]
ckrailo has quit [Ping timeout: 259 seconds]
kenmaz has quit [Remote host closed the connection]
fridim_ has quit [Ping timeout: 248 seconds]
tiripamwe has joined #ruby
n_blownapart has quit [Remote host closed the connection]
Domon has quit [Remote host closed the connection]
jds has joined #ruby
ntus1017 has joined #ruby
bionoid has quit [Ping timeout: 252 seconds]
richiebkr has quit [Ping timeout: 246 seconds]
danshultz has quit [Ping timeout: 264 seconds]
awarner has quit [Ping timeout: 268 seconds]
thams has joined #ruby
Emmanuel_Chanel has joined #ruby
tomzx_mac has quit [Read error: Operation timed out]
atyz has quit [Quit: Leaving...]
eldariof has quit [Ping timeout: 248 seconds]
tiripamwe has quit [Ping timeout: 240 seconds]
Mars__ has joined #ruby
richiebkr has joined #ruby
richiebkr has quit [Remote host closed the connection]
Mars` has joined #ruby
fridim_ has joined #ruby
benweint has joined #ruby
benweint has quit [Client Quit]
icole has quit [Remote host closed the connection]
tommyvyo has joined #ruby
dash_ has joined #ruby
splittingred has quit [Quit: splittingred]
EPIK has quit [Ping timeout: 255 seconds]
ShapeShifter499 has quit [Excess Flood]
pootler_ has joined #ruby
kil0byte has joined #ruby
richiebkr has joined #ruby
richiebkr has left #ruby [#ruby]
richiebkr has joined #ruby
bigmac has joined #ruby
rippa has joined #ruby
bradhe has joined #ruby
moos3 has quit [Quit: Computer has gone to sleep.]
ShapeShifter499 has joined #ruby
pootler__ has joined #ruby
richiebkr is now known as okami
tiripamwe has joined #ruby
okami is now known as Guest63068
mansi has joined #ruby
arubin has quit [Quit: Textual IRC Client: www.textualapp.com]
adkron has quit [Ping timeout: 240 seconds]
Al__ has joined #ruby
marcdel has joined #ruby
mikepack has joined #ruby
ntus1017 has quit [Remote host closed the connection]
falkoner has joined #ruby
jlast has joined #ruby
RobW_ has quit [Ping timeout: 246 seconds]
mansi has quit [Ping timeout: 268 seconds]
ttt_ has joined #ruby
falkoner has left #ruby [#ruby]
ffio has quit [Quit: WeeChat 0.4.1]
wargasm has quit [Read error: Connection reset by peer]
awarner has joined #ruby
ttt has quit [Ping timeout: 252 seconds]
maroloccio has quit [Read error: Connection reset by peer]
girija has joined #ruby
patbr0wn has quit [Ping timeout: 268 seconds]
ffio has joined #ruby
bigmac has quit [Quit: Leaving]
richiebkr has joined #ruby
lyanchih has joined #ruby
tommyvyo has quit [Ping timeout: 240 seconds]
SilverKey has joined #ruby
macmartine has joined #ruby
jlast has quit [Ping timeout: 268 seconds]
syamajala has joined #ruby
awarner has quit [Ping timeout: 246 seconds]
mary5030 has joined #ruby
SilverKey has quit [Client Quit]
timonv has joined #ruby
icole has joined #ruby
icole has quit [Remote host closed the connection]
icole has joined #ruby
roadt has joined #ruby
guiocavalcanti has joined #ruby
DanKnox is now known as DanKnox_away
bklane_ has joined #ruby
tiripamwe has quit [Ping timeout: 264 seconds]
athst has joined #ruby
bradhe has quit [Remote host closed the connection]
richiebkr has quit [Quit: richiebkr]
Guest63068 is now known as richiebkr
aetaric has quit [Ping timeout: 255 seconds]
guiocava_ has quit [Read error: Connection reset by peer]
sayan has joined #ruby
athst has quit [Client Quit]
mary5030 has quit [Remote host closed the connection]
fridim_ has quit [Ping timeout: 248 seconds]
SilverKey has joined #ruby
aetaric has joined #ruby
bklane has quit [Ping timeout: 268 seconds]
timkohrumel has quit [Remote host closed the connection]
dmiller has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 255 seconds]
dmiller has joined #ruby
timonv has quit [Remote host closed the connection]
hogeo has joined #ruby
bklane_ has quit [Remote host closed the connection]
ffio has quit [Quit: WeeChat 0.4.1]
heftig has quit [Ping timeout: 245 seconds]
marcdel has quit [Ping timeout: 246 seconds]
heftig has joined #ruby
hogeo has quit [Remote host closed the connection]
Al__ has quit [Quit: Al__]
apod has joined #ruby
SilverKey has quit [Quit: Cheerio!]
lucianosousa has quit [Quit: lucianosousa]
richiebkr has quit [Quit: richiebkr]
apod has quit [Client Quit]
jlast has joined #ruby
<roadt> hi, if i use #-*- encoding: UTF-8 -*- in source file, does it mean that encoding of all strings are UTF-8?
pyrac has joined #ruby
awarner has joined #ruby
DomKM has joined #ruby
philcrissman_ has quit [Remote host closed the connection]
Domon has joined #ruby
codenapper has joined #ruby
marcgg has quit [Read error: Connection reset by peer]
marcgg has joined #ruby
JumpMast3r has joined #ruby
seanmccann has joined #ruby
awarner has quit [Read error: Operation timed out]
NaN has joined #ruby
marcdel has joined #ruby
NaN has left #ruby [#ruby]
relix has joined #ruby
ericmathison has joined #ruby
havenn_ has joined #ruby
jlast has quit [Ping timeout: 240 seconds]
havenwood has quit [Read error: Connection reset by peer]
jgoss has quit [Read error: Operation timed out]
tagrudev has joined #ruby
tiripamwe has joined #ruby
macmartine has quit [Quit: Computer has gone to sleep.]
homelinen has quit [Ping timeout: 260 seconds]
DanKnox_away is now known as DanKnox
freerobby has joined #ruby
DanKnox is now known as DanKnox_away
<bnagy> roadt: the encoding comment is just to tell the parser about your source, afaik
<bnagy> it won't force incoming strings to be anything other than they otherwise would
tiripamwe has quit [Ping timeout: 240 seconds]
homelinen has joined #ruby
<roadt> bnagy, mean it is more 'hint' than 'encoding of parser'?
eccstartup has joined #ruby
<bnagy> it affects string literals that are in the source
<roadt> bnagy, ahh..
freerobby has quit [Ping timeout: 260 seconds]
<bnagy> incoming strings are ofetn ( usually ) ascii-8bit
<bnagy> aorry gtg
<roadt> bnagy, i c.. from 1.9 it's true that , all literal is utf8 if encoding : UTF-8 line is set. right?
<bnagy> 2.0 it's default
<bnagy> jruby 1.9 it's default
eccstartup has quit [Max SendQ exceeded]
icole has quit [Remote host closed the connection]
<roadt> bnagy, yeah. gotcha. tks!
dcunit3d has joined #ruby
apeiros has quit [Remote host closed the connection]
eccstartup has joined #ruby
kenmaz has joined #ruby
eccstartup has quit [Max SendQ exceeded]
kenmaz has quit [Read error: Connection reset by peer]
eccstartup has joined #ruby
kenmaz has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
<L8D> WTF?
<L8D> I have an array of array of arrays
eccstartup has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
gildo has quit [Ping timeout: 260 seconds]
<L8D> and when I do: a[x][x] << something
<popl> L8D: OH NO WHAT DID YOU DO?!
bionoid has joined #ruby
<L8D> it causes all of the arrays to be filled with something
eccstartup has joined #ruby
<L8D> What did I do?
<popl> I don't know. :)
<L8D> What's wrong with a 3D array?
<popl> Nothing.
DomKM has quit [Quit: Leaving.]
eccstartup has quit [Max SendQ exceeded]
<popl> L8D: I'm funnin' you.
kenmaz has left #ruby [#ruby]
eccstartup has joined #ruby
<L8D> arr = Array.new 2, (Array.new 2, [])
akells` has quit [Remote host closed the connection]
<L8D> >>arr = Array.new 2, (Array.new 2, []);arr[0][0] << 1; arr
<eval-in> L8D => [[[1], [1]], [[1], [1]]] (https://eval.in/34453)
<L8D> wtf?
<L8D> is that expected behaivour?
<L8D> hello?
bionoid has quit [Remote host closed the connection]
<L8D> -.-
kobain has quit [Quit: El motor por excelencia http://www.europio.org/]
ffio has joined #ruby
<L8D> I can't find anything about this on google
<P1RATEZ> that's expected behaviour
<L8D> then what am I doing wrong?
kevinykchan has joined #ruby
codecop has joined #ruby
gr4yscale has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby
<P1RATEZ> are u attempting to add items to the end
<L8D> ues
<L8D> yes
<P1RATEZ> #<<
<r0bgleeson> L8D: same for Hash.new btw.
jlast has joined #ruby
lsmola has joined #ruby
awarner has joined #ruby
<L8D> ?
<r0bgleeson> L8D: you can pass a block which gets invoked each time instead, in both cases
<r0bgleeson> >> h = Hash.new([]); h[:foo] << 1; h[:bar] << 1; h
<eval-in> r0bgleeson => {} (https://eval.in/34454)
dmiller has quit [Remote host closed the connection]
dcunit3d has quit [Ping timeout: 252 seconds]
Meatant has quit [Quit: bbl]
fredjean has joined #ruby
bionoid has joined #ruby
Skelz0r has quit [Ping timeout: 252 seconds]
mikepack has quit [Remote host closed the connection]
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
<r0bgleeson> that is really fucked up
<L8D> So... arr = Array.new 2 { Array.new 2, [] }
<L8D> ?
<r0bgleeson> >> h = Hash.new([]); h[:foo] << 1; h[:bar] << 1; h[:foo]
<eval-in> r0bgleeson => [1, 1] (https://eval.in/34455)
<r0bgleeson> weeeeeeird
<r0bgleeson> L8D: Array.new(2) { [] }
bionoid has quit [Remote host closed the connection]
<L8D> But I want a 3D array
<L8D> not 2D
<r0bgleeson> oh sorry
<L8D> so would Array.new 2 { Array.new 2 { [] } } good enough?
guiocava_ has joined #ruby
<r0bgleeson> yeah
<L8D> okay
<L8D> I'mm try that
bryanray has joined #ruby
<r0bgleeson> >> h = Hash.new([]); h[:foo] << 1; h[:bar] << 1; h.to_s
<eval-in> r0bgleeson => "{}" (https://eval.in/34456)
<r0bgleeson> >> h = Hash.new([]); h[:foo] << 1; h[:bar] << 1; h.keys
<eval-in> r0bgleeson => [] (https://eval.in/34457)
<r0bgleeson> >> h = Hash.new([]); h[:foo] << 1; h[:bar] << 1; h.values
<eval-in> r0bgleeson => [] (https://eval.in/34458)
<r0bgleeson> >> h = Hash.new([]); h[:foo] << 1; h[:bar] << 1; h[:foo]
<eval-in> r0bgleeson => [1, 1] (https://eval.in/34459)
<r0bgleeson> that behavior is super weird
<r0bgleeson> i get it
<r0bgleeson> but still weird
kil0byte has quit [Remote host closed the connection]
<r0bgleeson> >> x = Hash.new { |h,k| h[k] = [] }; x[:foo]; x
<eval-in> r0bgleeson => {:foo=>[]} (https://eval.in/34460)
<r0bgleeson> that makes sense but the assignment is explicit there
jprovazn has joined #ruby
sarkis has joined #ruby
guiocavalcanti has quit [Ping timeout: 260 seconds]
subbyyy has quit [Ping timeout: 246 seconds]
<L8D> thanks
awarner has quit [Ping timeout: 268 seconds]
Retistic has joined #ruby
Skelz0r has joined #ruby
bigmac has joined #ruby
<Retistic> i remember there being a way to combine the case statement into a method, but can't find it any where
sarkis has quit [Client Quit]
<r0bgleeson> what do you mean combine it into a method
sarkis has joined #ruby
anonymuse has joined #ruby
generalissimo has quit [Remote host closed the connection]
_Andres has joined #ruby
<L8D> Retistic: Probably likr:
<L8D> def case; yield; end;
<L8D> -;
<L8D> nonono
<L8D> def case; case self; yield; end; end
jlast has quit [Ping timeout: 246 seconds]
Bry8Star{T2 has quit [Remote host closed the connection]
<r0bgleeson> methods have an implicit begin
<r0bgleeson> so you can use rescue without begin inside a method definition
bionoid has joined #ruby
<r0bgleeson> like def foo; raise; rescue RuntimeError => e; p e; end
bionoid has quit [Remote host closed the connection]
Bry8Star{T2 has joined #ruby
DomKM has joined #ruby
richiebkr has joined #ruby
justsee has quit [Ping timeout: 268 seconds]
wallerdev has quit [Quit: wallerdev]
adambeynon has joined #ruby
<L8D> How can I delete an item inside a 3D array?
bradhe has joined #ruby
w0rldmaker has quit [Ping timeout: 255 seconds]
zigomir has joined #ruby
<r0bgleeson> >> a = [1,2,3,4]; a.delete_at(2); a
<eval-in> r0bgleeson => [1, 2, 4] (https://eval.in/34462)
obs has joined #ruby
<r0bgleeson> there's "delete" as well but that works on values
<L8D> Well
<L8D> I have
<L8D> something like:
DrShoggoth has quit [Quit: Leaving]
<L8D> a = [[[],[]],[[],[1]]]
Retistic has quit [Quit: Retistic]
<L8D> and I need to delete the '1'
bigmac has quit [Quit: Leaving]
timkohrumel has joined #ruby
<L8D> >>a = [[[],[]],[[],[1]]];a.delete [[[1]]]
<eval-in> L8D => nil (https://eval.in/34463)
<r0bgleeson> what are you trying to do?
<L8D> >>a = [[[],[]],[[],[1]]];a.delete [[[1]]]; p a
<eval-in> L8D => [[[], []], [[], [1]]] ... (https://eval.in/34464)
<L8D> r0bgleeson: have a 2D gameboard of sortsd
<L8D> where there can be multiple items on each tile/position
<r0bgleeson> L8D: have you looked at 'Matrix' class from ruby?
<L8D> o.O
* L8D is checking it out
justsee has joined #ruby
<r0bgleeson> it should simplifying that type of thing
ffio has quit [Quit: WeeChat 0.4.1]
<Dreamer3> anyone using net:ssh? did jamis every make version 2 threadsafe?
bradhe has quit [Ping timeout: 268 seconds]
richiebkr has quit [Ping timeout: 255 seconds]
marcdel has quit [Ping timeout: 248 seconds]
Retistic has joined #ruby
<Retistic> r0bgleeson: so you can't do the same thing with case?
<Retistic> maybe rescue is what i'm thinking of
timkohrumel has quit [Ping timeout: 246 seconds]
<Boohbah> L8D: store it as a one-dimensional array and address it by the modulus of the row length
syamajala has quit [Ping timeout: 264 seconds]
marcdel has joined #ruby
havenwood has joined #ruby
havenn_ has quit [Read error: Connection reset by peer]
<Retistic> r0bgleeson: such as def hi(var); when var==1 then …; end;
<Retistic> L8D: i don't understand how that simplifies anything
richiebkr has joined #ruby
gr4yscale has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
ayaz has joined #ruby
<L8D> Retistic: What do you mean.
browndawg has joined #ruby
awarner has joined #ruby
jibi has joined #ruby
<Retistic> L8D: I'm wondering if you can simplify a method that just contains a case statement
GeekOnCoffee has joined #ruby
havenwood has joined #ruby
jlast has joined #ruby
djbkd has joined #ruby
freerobby has joined #ruby
b0oh has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
lewis has joined #ruby
<P1RATEZ> trying to avoid using more than one, 1 dimensional array? playerdata = [a,b,c,d,e]; gamedata = [1,2,3,4,5]; for pdata in playerdata... first array index should be the reference for the second array index, so you can have many arrays storing more data
dhruvasagar has joined #ruby
devyn has joined #ruby
<P1RATEZ> how about that approach L8
luckyruby has joined #ruby
awarner has quit [Ping timeout: 246 seconds]
aganov has joined #ruby
jds has quit [Remote host closed the connection]
freerobby has quit [Ping timeout: 240 seconds]
jds has joined #ruby
<L8D> Well, that would work.
<L8D> But, I think I got everything already working good.
w0rldmaker has joined #ruby
<L8D> Except for a way to delete an item from the 3D array
filipe_ has joined #ruby
seanmccann has quit [Quit: seanmccann]
marcdel has quit [Ping timeout: 240 seconds]
devyn has quit [Ping timeout: 255 seconds]
kevinykchan has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
dayepa1 has quit [Ping timeout: 260 seconds]
Mars1 has joined #ruby
devyn has joined #ruby
sarkis has quit [Ping timeout: 248 seconds]
kevinykchan has joined #ruby
Mars` has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
anonymuse has quit [Remote host closed the connection]
richiebkr has quit [Ping timeout: 255 seconds]
sarkis has joined #ruby
marcdel has joined #ruby
oceanbreeze has joined #ruby
djbkd has quit [Quit: Leaving]
dagobah has joined #ruby
jlast has quit [Ping timeout: 246 seconds]
ffio has joined #ruby
dayepa1 has joined #ruby
sr78ger has joined #ruby
gstamp has quit [Quit: Computer has gone to sleep.]
fbernier has quit [Ping timeout: 260 seconds]
gstamp has joined #ruby
anonymuse has joined #ruby
b0oh has quit [Quit: Leaving.]
dfdf has joined #ruby
niceguyjames has joined #ruby
Elico has joined #ruby
arya has joined #ruby
pyrac has quit [Quit: pyrac]
poseid has joined #ruby
akells` has joined #ruby
arya_ has quit [Ping timeout: 248 seconds]
Shachar has joined #ruby
bryanray has quit []
dcunit3d has joined #ruby
kasper has joined #ruby
ephemerian has joined #ruby
<Shachar> Hi , need help with a simple code . http://pastebin.com/cxNBYVLe
browndawg has left #ruby [#ruby]
sarkis has quit [Ping timeout: 248 seconds]
akells` has quit [Ping timeout: 268 seconds]
kasper_ has joined #ruby
Shachar has quit [Client Quit]
anonymuse has quit [Remote host closed the connection]
mahmoudi_ has joined #ruby
awarner has joined #ruby
kasper has quit [Ping timeout: 240 seconds]
mahmoudimus has quit [Ping timeout: 268 seconds]
dmiller has joined #ruby
vlad_starkov has joined #ruby
bionoid has joined #ruby
Apane has quit [Ping timeout: 260 seconds]
jds has quit [Remote host closed the connection]
threesome has joined #ruby
lewis has quit [Remote host closed the connection]
zai has joined #ruby
obs has quit [Quit: Konversation terminated!]
jds has joined #ruby
dmiller has quit [Ping timeout: 255 seconds]
havenwood has quit [Remote host closed the connection]
awarner has quit [Ping timeout: 246 seconds]
vlad_starkov has quit [Ping timeout: 264 seconds]
srji has joined #ruby
arturaz has joined #ruby
havenwood has joined #ruby
dfdf has quit [Remote host closed the connection]
jlast has joined #ruby
Shachar has joined #ruby
mduvall has quit [Quit: mduvall]
kasper has joined #ruby
<Shachar> Hi , need help with a simple code . http://pastebin.com/cxNBYVLe only 6 lines
fbernier has joined #ruby
havenwood has quit [Ping timeout: 246 seconds]
DomKM has quit [Quit: Leaving.]
<hoelzro> Shachar: you should use { ... }
<hoelzro> to build a Hash, rather than an Array
jds has quit [Ping timeout: 240 seconds]
kasper__ has joined #ruby
ry4nn has quit [Remote host closed the connection]
jonahR has quit [Quit: jonahR]
ybart has joined #ruby
kasper has quit [Read error: Operation timed out]
kasper_ has quit [Read error: Connection reset by peer]
<Shachar> hoelzro , The exitcode section is a part of a case block , when it reaches the exitcode i get an undifined local variable or method 'error'
statarb3 has joined #ruby
statarb3 has joined #ruby
sr78ger has quit [Quit: Qui]
<hoelzro> well, you haven't assigned to error, so that would happen.
ry4nn has joined #ruby
<Shachar> hoelzro , how would you do that? , thought the hash assigns value to error
<hoelzro> EXIT_CODES = [ 'error' => 1 ] # you think this assigns to error?
<hoelzro> or perhaps you mean to do exit(EXIT_CODES['error'])
<hoelzro> ?
<Shachar> Now i understand it isn`t :)
<hoelzro> ok, progress =)
<Shachar> i mean to do exit(EXIT_CODES['error'])
lewis has joined #ruby
girija has quit [Ping timeout: 241 seconds]
<hoelzro> ok, there you go!
Rizzle has quit [Read error: Connection reset by peer]
dfdf has joined #ruby
dcunit3d has quit [Ping timeout: 268 seconds]
kil0byte has joined #ruby
Rizzle has joined #ruby
Meatant has joined #ruby
stkowski has joined #ruby
vlad_starkov has joined #ruby
stkowski has quit [Client Quit]
kasper has joined #ruby
kasper__ has quit [Read error: Operation timed out]
walde has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 268 seconds]
kasper has quit [Remote host closed the connection]
kasper has joined #ruby
falood has quit [Remote host closed the connection]
<Boohbah> how do i make decode recursive? http://pastie.org/8065609
bionoid has quit [Remote host closed the connection]
freerobby has joined #ruby
lewis has quit [Remote host closed the connection]
Kar- has joined #ruby
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
Coffers has joined #ruby
<tobiasvl> Boohbah: well do you know what recursive means?
girija has joined #ruby
niceguyjames has joined #ruby
awarner has joined #ruby
marr has joined #ruby
freerobby has quit [Ping timeout: 252 seconds]
Aaaarg has joined #ruby
<Boohbah> ...
jinie_ is now known as jinie
<tobiasvl> Boohbah: sorry for asking, but the "decode" method in that pastie is just a regular method and asking "how do i make it recursive" from there is a... weird question :P
<tobiasvl> what exactly do you need help with?
jds has joined #ruby
dcunit3d has joined #ruby
Mon_Ouie has joined #ruby
<tobiasvl> do you have some recursive code you've started writing but you don't know where to go from there?
awarner has quit [Read error: Operation timed out]
yacks has quit [Ping timeout: 260 seconds]
<tobiasvl> do you need help knowing where to begin? do you need to understand how to think in a recursive manner?
<tobiasvl> etc
ffio has quit [Quit: WeeChat 0.4.1]
apod has joined #ruby
marcdel has quit [Ping timeout: 246 seconds]
dcunit3d has quit [Ping timeout: 260 seconds]
bionoid has joined #ruby
takezawa has quit [Read error: Connection reset by peer]
Hanmac has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
swordsmanz has joined #ruby
marcdel has joined #ruby
takezawa has joined #ruby
mahmoudi_ has quit [Quit: Computer has gone to sleep.]
<Boohbah> tobiasvl: is there a way to generalize the base conversion algorithm by passing the base as an argument to a single method? perhaps even doing away with the ENC array
sayan has quit [Ping timeout: 260 seconds]
jlast has joined #ruby
lewis has joined #ruby
<Boohbah> to convert between base 10 and crockford's base 32 with a single method
nomenkun has joined #ruby
noname001 has joined #ruby
ferdev has quit [Quit: ferdev]
lkba has quit [Ping timeout: 268 seconds]
_Renegade has joined #ruby
airtonix has quit [Ping timeout: 264 seconds]
io_syl has quit [Quit: Computer has gone to sleep.]
Elhu has joined #ruby
browndawg has joined #ruby
pyrac has joined #ruby
Criztian has joined #ruby
_Renegade has quit [Ping timeout: 246 seconds]
P1RATEZ has quit [Quit: Read error: Text overflow]
Retistic has quit [Quit: Retistic]
jlast has quit [Ping timeout: 252 seconds]
tatsuya_o has joined #ruby
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
MrZYX|off is now known as MrZYX
<marr> I'm looking for a neat way to write that x is between 5 and 10, 5 < x < 10
<marr> I've just found (5..10).cover?(x)
awarner has joined #ruby
Retistic has joined #ruby
camilasan has joined #ruby
airtonix has joined #ruby
maasha has joined #ruby
<maasha> hi
<ChristianS> marr: that means 5 <= x <= 10, but otherwise it's pretty neat
binaryplease has joined #ruby
didlix has joined #ruby
adkron_ has quit [Ping timeout: 256 seconds]
timmow has joined #ruby
r0ber has joined #ruby
ffio has joined #ruby
senayar has joined #ruby
<Hanmac> there is also an x.between?(5,10)
Retistic has quit [Client Quit]
yacks has joined #ruby
apod has quit [Quit: apod]
airtonix has quit [Ping timeout: 255 seconds]
<maasha> I would like to include a inline C method, but I am doing something wrong (and getting a compile error): https://gist.github.com/maasha/bbc83de050c76dbea05f
<maasha> sharpest question of the day :o)
ferdev has joined #ruby
awarner has quit [Ping timeout: 260 seconds]
tiripamwe has joined #ruby
airtonix has joined #ruby
buzzybron has joined #ruby
<maasha> O_o
Mars__ has quit [Ping timeout: 240 seconds]
Mars1 has quit [Ping timeout: 261 seconds]
<sevenseacat> why do you need C for that?
prsn has quit [Ping timeout: 240 seconds]
mahmoudimus has joined #ruby
buzzybron1 has joined #ruby
<maasha> sevenseacat: speed
<maasha> also, I want to use this special bitmap for alternative matching of chars (biology->DNA->weird rules)
airtonix has quit [Remote host closed the connection]
Al___ has joined #ruby
airtonix has joined #ruby
<maasha> sevenseacat: the levenshtein.rb works just fine without the ambiguity part - which I am trying to include.
cabotto has joined #ruby
andikr has joined #ruby
<maasha> sevenseacat: and I could paste MATCH() and the bitmap into the code in levenshtein.rb and it would work - but I have that a number of places already, so I want to go DRY.
<pontiki> any chance of sharing the compile error?
buzzybron has quit [Ping timeout: 268 seconds]
railsbros_dirk has joined #ruby
apeiros has joined #ruby
<maasha> Right. gist updated with compile error.
dv_ has quit [Ping timeout: 248 seconds]
stonevil has quit [Remote host closed the connection]
<sevenseacat> you're getting errors on lines that don't appear in your gist?
dfdf has quit [Remote host closed the connection]
<maasha> sevenseacat: yeah, I was wondering about that. Let me double check.
buzzybron1 has quit [Quit: Leaving.]
freerobby has joined #ruby
knut_ has joined #ruby
jlast has joined #ruby
<pontiki> MATCH is a macro, separate compile space? does inline include a run through cpp? and are the inlines combined ?
knut_ is now known as teclator
bionoid has quit [Remote host closed the connection]
<maasha> pontiki: those are the questions I guess :/
dv_ has joined #ruby
Shachar has quit [Quit: Leaving]
<maasha> sevenseacat: I double checked the gist. The error line numbers are fucked up - probably a feature of 'inline'.
`MArceLL` has quit [Ping timeout: 246 seconds]
ntus1017 has joined #ruby
<pontiki> i'm suffering from cheap tabletitis or i'd go look :>
Layke has quit [Ping timeout: 248 seconds]
Xeago has joined #ruby
freerobby has quit [Ping timeout: 248 seconds]
arya has quit [Ping timeout: 248 seconds]
<maasha> darn :o)
slash_nick is now known as slash_shleep
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ferdev has quit [Ping timeout: 252 seconds]
ferdev has joined #ruby
awarner has joined #ruby
ferdev_ has joined #ruby
lyanchih has quit [Quit: lyanchih]
ffio has quit [Quit: WeeChat 0.4.1]
Elhu has quit [Ping timeout: 268 seconds]
jlast has quit [Ping timeout: 240 seconds]
danslo has joined #ruby
ferdev has quit [Ping timeout: 268 seconds]
vlad_starkov has joined #ruby
brennanMKE has quit [Remote host closed the connection]
eka has joined #ruby
ferdev_ has quit [Ping timeout: 240 seconds]
ferdev has joined #ruby
Kar- has quit [Remote host closed the connection]
emergion has joined #ruby
harrymoreno has joined #ruby
Retistic has joined #ruby
awarner has quit [Ping timeout: 264 seconds]
Layke has joined #ruby
emergion has quit [Client Quit]
gildo has joined #ruby
vlad_starkov has quit [Ping timeout: 268 seconds]
devyn has quit [Ping timeout: 240 seconds]
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
vlad_starkov has joined #ruby
rdark has joined #ruby
fixl has joined #ruby
ferdev_ has joined #ruby
vlad_starkov has quit [Ping timeout: 264 seconds]
ferdev has quit [Ping timeout: 263 seconds]
umttumt has joined #ruby
Gooder` has quit [Remote host closed the connection]
tatsuya__ has joined #ruby
ShapeShifter499 has quit [Excess Flood]
ferdev_ has quit [Ping timeout: 240 seconds]
poga has joined #ruby
ShapeShifter499 has joined #ruby
tatsuya_o has quit [Ping timeout: 260 seconds]
ffio has joined #ruby
ferdev has joined #ruby
harrymoreno has quit [Quit: harrymoreno]
poga has quit [Read error: Connection reset by peer]
jlast has joined #ruby
poga has joined #ruby
hogeo has joined #ruby
lyanchih has joined #ruby
ferdev_ has joined #ruby
pyrac has quit [Quit: pyrac]
halfie is now known as BLOODBATH
srji has quit [Ping timeout: 248 seconds]
gr4yscale has quit [Quit: Computer has gone to sleep.]
ferdev has quit [Ping timeout: 252 seconds]
ferdev_ is now known as ferdev
awarner has joined #ruby
ramblex has joined #ruby
brennanMKE has joined #ruby
atno has quit [Ping timeout: 246 seconds]
lewis has quit [Remote host closed the connection]
Aaaarg has quit [Ping timeout: 264 seconds]
blaxter_ has joined #ruby
himsin has joined #ruby
buzzybron has joined #ruby
Mars1 has joined #ruby
awarner has quit [Ping timeout: 268 seconds]
jlast has quit [Ping timeout: 268 seconds]
kil0byte has quit [Remote host closed the connection]
Mars__ has joined #ruby
brennanMKE has quit [Ping timeout: 246 seconds]
nari has quit [Ping timeout: 245 seconds]
Aaaarg has joined #ruby
cj3kim has quit [Remote host closed the connection]
atmosx has joined #ruby
stonevil has joined #ruby
jokke has quit [Quit: WeeChat 0.4.1]
Mars__ has quit [Ping timeout: 255 seconds]
lyanchih has quit [Quit: lyanchih]
ffio_ has joined #ruby
Mars1 has quit [Ping timeout: 264 seconds]
umttumt has quit [Remote host closed the connection]
lyanchih has joined #ruby
ffio has quit [Ping timeout: 248 seconds]
oceanbreeze has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
chichou has joined #ruby
sevenseacat has quit [Quit: Leaving.]
ffio_ has quit [Quit: WeeChat 0.4.1]
Layke has quit [Ping timeout: 255 seconds]
jokke has joined #ruby
lkba has joined #ruby
`MArceLL` has joined #ruby
umttumt has joined #ruby
Elhu has joined #ruby
camilasan has quit [Remote host closed the connection]
patbr0wn has joined #ruby
richiebkr has joined #ruby
jds has quit [Ping timeout: 264 seconds]
_br_ has joined #ruby
h8R has joined #ruby
popl has quit [Quit: "People remain what they are even if their faces fall apart."]
BLOODBATH is now known as halfie
patbr0wn has quit [Ping timeout: 246 seconds]
vlad_starkov has joined #ruby
sayan has joined #ruby
arya has joined #ruby
jlast has joined #ruby
ghr has joined #ruby
ffio has joined #ruby
awarner has joined #ruby
razi has joined #ruby
tvw has joined #ruby
atno has joined #ruby
jibi has quit [Read error: Connection reset by peer]
srji has joined #ruby
jibi has joined #ruby
awarner has quit [Read error: Operation timed out]
cj3kim has joined #ruby
niceguyjames has quit [Quit: Computer has gone to sleep.]
poga has quit [Remote host closed the connection]
blaxter_ has quit [Ping timeout: 255 seconds]
postmodern has quit [Quit: Leaving]
Meatant has quit [Quit: free hat!]
Aaaarg has quit [Ping timeout: 260 seconds]
Zai00 has joined #ruby
banisterfiend has joined #ruby
cj3kim has quit [Read error: Connection reset by peer]
jlast has quit [Ping timeout: 240 seconds]
Aaaarg has joined #ruby
Bry8Star{T2 has quit [Remote host closed the connection]
buzzybron1 has joined #ruby
jdunck has quit [Quit: Computer has gone to sleep.]
buzzybron has quit [Ping timeout: 252 seconds]
jds has joined #ruby
niceguyjames has joined #ruby
browndawg has left #ruby [#ruby]
ntus1017 has quit [Remote host closed the connection]
Bry8Star{T2 has joined #ruby
kasper has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
`brendan has quit [Quit: - nbs-irc 2.39 - www.nbs-irc.net -]
kasper has joined #ruby
KhalilC has quit [Ping timeout: 246 seconds]
relix has joined #ruby
jasonsmr has joined #ruby
amedeiros has joined #ruby
blaxter_ has joined #ruby
kasper has quit [Ping timeout: 260 seconds]
<Xeago> does anyone know about destroyallsoftware.com and their quality?
amedeiros has quit [Ping timeout: 246 seconds]
teclator has quit [Ping timeout: 255 seconds]
atmosx has quit [Quit: And so the story goes…]
banisterfiend has quit [Remote host closed the connection]
lyanchih has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Remote host closed the connection]
amedeiros has joined #ruby
Guga_ has joined #ruby
umttumt has quit [Remote host closed the connection]
<apeiros> Xeago: all I know about them is that I quite dislike the guy behind it. don't know about the quality of the screencasts, though.
lyanchih has joined #ruby
camilasan has joined #ruby
amedeiros has quit [Ping timeout: 246 seconds]
ntus1017 has joined #ruby
amedeiros has joined #ruby
awarner has joined #ruby
whowantstolivefo has joined #ruby
`MArceLL` has quit [Ping timeout: 246 seconds]
yshh has quit [Remote host closed the connection]
Judge has joined #ruby
<Judge> moin @ all :)
amedeiros has quit [Ping timeout: 248 seconds]
jlast has joined #ruby
<MarcWeber> Xeago: Well - I guess watching yourself what you spend most time on, joining the right chat room, asking how to do this faster is also very useful.
amedeiros has joined #ruby
<MarcWeber> The difference is that you'll get many replies - and not just one :)
awarner has quit [Read error: Operation timed out]
<Xeago> thanks apeiros, mind elaborating?
<Xeago> MarcWeber: looking for some quick intro's mostly
freerobby has joined #ruby
<apeiros> In this case I do. It's simply a personal thing.
<Xeago> without the hand holding of blog posts
cj3kim has joined #ruby
multi_io has quit [Ping timeout: 252 seconds]
ffio has quit [Quit: WeeChat 0.4.1]
multi_io has joined #ruby
buzzybron1 has quit [Quit: Leaving.]
_Renegade has joined #ruby
niceguyjames has quit [Quit: Computer has gone to sleep.]
mikewintermute has joined #ruby
MrZYX is now known as MrZYX|off
jangoh has joined #ruby
freerobby has quit [Ping timeout: 240 seconds]
amedeiros has quit [Ping timeout: 240 seconds]
cj3kim has quit [Ping timeout: 246 seconds]
fixl has quit [Remote host closed the connection]
Giorgio has joined #ruby
amedeiros has joined #ruby
andikr has quit [Remote host closed the connection]
MrZYX|off is now known as MrZYX
multi_io has quit [Ping timeout: 264 seconds]
fixl has joined #ruby
jangoh has quit [Ping timeout: 264 seconds]
jangoh has joined #ruby
MrZYX is now known as MrZYX|off
redgirl has quit [Quit: This computer has gone to sleep]
amedeiros has quit [Ping timeout: 246 seconds]
lyanchih has quit [Quit: lyanchih]
amedeiros has joined #ruby
kasper has joined #ruby
mikewintermute has quit [Quit: mikewintermute]
MrZYX|off is now known as MrZYX
umttumt has joined #ruby
jlast has quit [Ping timeout: 252 seconds]
LennyLinux has joined #ruby
fermion has joined #ruby
amedeiros has quit [Ping timeout: 252 seconds]
maasha has quit [Quit: Page closed]
amedeiros has joined #ruby
SparkyFlary has joined #ruby
SparkyFlary has left #ruby ["Once you know what it is you want to be true, instinct is a very useful device for enabling you to know that it is"]
corehook has joined #ruby
`MArceLL` has joined #ruby
sayan has quit [Ping timeout: 240 seconds]
devyn has joined #ruby
amedeiros has quit [Ping timeout: 240 seconds]
pskosinski has joined #ruby
amedeiros has joined #ruby
Zai00 has quit [Quit: Zai00]
guiocava_ has quit [Remote host closed the connection]
guiocavalcanti has joined #ruby
multi_io has joined #ruby
devyn has quit [Client Quit]
devyn has joined #ruby
browndawg has joined #ruby
amedeiros has quit [Ping timeout: 264 seconds]
amedeiros has joined #ruby
ybart has quit [Quit: ybart]
pontiki has quit [Ping timeout: 248 seconds]
devyn has quit [Client Quit]
yacks has quit [Quit: Leaving]
awarner has joined #ruby
guiocavalcanti has quit [Ping timeout: 248 seconds]
yacks has joined #ruby
richiebkr has quit [Ping timeout: 248 seconds]
devyn has joined #ruby
robustus has quit [Ping timeout: 248 seconds]
sevenseacat has joined #ruby
amedeiros has quit [Ping timeout: 268 seconds]
pontiki has joined #ruby
amedeiros has joined #ruby
manutter has joined #ruby
robustus has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
ToApolytoXaos has joined #ruby
sepp2k has joined #ruby
awarner has quit [Ping timeout: 255 seconds]
amedeiros has quit [Ping timeout: 252 seconds]
amedeiros has joined #ruby
teclator has joined #ruby
pothibo has joined #ruby
Kar- has joined #ruby
pothibo has quit [Client Quit]
dangerousdave has quit [Read error: Connection reset by peer]
jlast has joined #ruby
dangerousdave has joined #ruby
Retistic has quit [Quit: Retistic]
Xeago has quit [Remote host closed the connection]
amedeiros has quit [Ping timeout: 264 seconds]
lkba has quit [Ping timeout: 264 seconds]
verto has joined #ruby
amedeiros has joined #ruby
umttumt has quit [Remote host closed the connection]
zai has quit [Read error: Connection reset by peer]
andikr has joined #ruby
amedeiros has quit [Ping timeout: 255 seconds]
Domon has quit [Remote host closed the connection]
Spooner has joined #ruby
amedeiros has joined #ruby
redgirl has joined #ruby
guiocavalcanti has joined #ruby
Amirh has joined #ruby
vlad_starkov has joined #ruby
buibex has joined #ruby
Amirh has left #ruby [#ruby]
ldnunes has joined #ruby
Aaaarg has quit [Ping timeout: 264 seconds]
<Boohbah> >> Hash[%w(W B).map{|i| %w(K Q R B N P).map{|j| i+j}}.flatten.zip (9812..9823).map{|i| [i].pack('U*')}]
<eval-in> Boohbah => {"WK"=>"♔", "WQ"=>"♕", "WR"=>"♖", "WB"=>"♗", "WN"=>"♘", "WP"=>"♙", "BK"=>"♚", "BQ"=>"♛", "BR"=>"♜", "BB"=>"♝", "BN"=>"♞", "BP"=>"♟"} (https://eval.in/34470)
naeemuk63 has joined #ruby
sambao21 has joined #ruby
amedeiros has quit [Ping timeout: 255 seconds]
ntus1017 has quit [Remote host closed the connection]
amedeiros has joined #ruby
<naeemuk63> hello all
jlast has quit [Ping timeout: 264 seconds]
akemrir has joined #ruby
vlad_starkov has quit [Read error: Operation timed out]
redgirl has quit [Ping timeout: 240 seconds]
MrZYX is now known as MrZYX|off
<joonty> naeemuk63: hi
guiocavalcanti has quit [Read error: No route to host]
Aaaarg has joined #ruby
guiocavalcanti has joined #ruby
<joonty> Boohbah: that's pretty cool
<Boohbah> :)
MrZYX|off is now known as MrZYX
<apeiros> >> [*9812..9823].pack('U*').chars
<eval-in> apeiros => ["♔", "♕", "♖", "♗", "♘", "♙", "♚", "♛", "♜", "♝", "♞", "♟"] (https://eval.in/34471)
<Boohbah> apeiros: thx
jangoh has quit []
naeemuk63 has left #ruby [#ruby]
amedeiros has quit [Ping timeout: 246 seconds]
<apeiros> also, I prefer flat_map over map.flatten
amedeiros has joined #ruby
lkba has joined #ruby
vlad_starkov has joined #ruby
cabotto has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
cabotto has joined #ruby
<Boohbah> apeiros: 2.times {"thx"}
<apeiros> ^^
<Boohbah> :)
tonini has joined #ruby
freerobby has joined #ruby
kofno has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
awarner has joined #ruby
jude01 has left #ruby [#ruby]
amedeiros has quit [Ping timeout: 240 seconds]
dhruvasagar has quit [Ping timeout: 248 seconds]
amedeiros has joined #ruby
MrZYX is now known as MrZYX|off
Banistergalaxy has quit [Ping timeout: 255 seconds]
yshh has joined #ruby
freerobby has quit [Ping timeout: 246 seconds]
agjacome has joined #ruby
<lupine> does anyone know offhand what's happened to MiniTest::Unit.runner ?
<lupine> specifically, runner=
MrZYX|off is now known as MrZYX
amedeiros has quit [Ping timeout: 246 seconds]
amedeiros has joined #ruby
awarner has quit [Ping timeout: 264 seconds]
yshh has quit [Ping timeout: 268 seconds]
andikr has quit [Remote host closed the connection]
johnmlocklear_ has joined #ruby
ybart has joined #ruby
<lupine> ah, changelog has * MiniTest.runner is dead. No more manager objects.
sambao21 has quit [Quit: Computer has gone to sleep.]
<lupine> most inconvenient
fschuindt has joined #ruby
amedeiros has quit [Ping timeout: 246 seconds]
amedeiros has joined #ruby
jinie is now known as jinie_
Inside has joined #ruby
fschuindt has quit [Client Quit]
sambao21 has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
LennyLinux has quit [Remote host closed the connection]
_Renegade has quit [Quit: _Renegade]
jlast has joined #ruby
amedeiros has quit [Ping timeout: 240 seconds]
_Renegade has joined #ruby
pyrac has joined #ruby
amedeiros has joined #ruby
nalaginrut has quit [Ping timeout: 268 seconds]
amedeiros has quit [Ping timeout: 240 seconds]
mmitchell has joined #ruby
redgirl has joined #ruby
railsbros_dirk_ has joined #ruby
amedeiros has joined #ruby
lucianosousa has joined #ruby
railsbros_dirk has quit [Ping timeout: 248 seconds]
railsbros_dirk_ is now known as railsbros_dirk
devoldmx3 has joined #ruby
yalue has joined #ruby
devoldmx has quit [Ping timeout: 240 seconds]
harrymoreno has joined #ruby
moos3 has joined #ruby
falood has joined #ruby
ramblex has quit [Ping timeout: 268 seconds]
ttt_ has quit [Remote host closed the connection]
amedeiros has quit [Ping timeout: 240 seconds]
Shubuntu has joined #ruby
swordsmanz_ has joined #ruby
<Shubuntu> hey guys can i tell rvm to determine the latest stable version of ruby and install it?
jlast has quit [Ping timeout: 260 seconds]
swordsmanz has quit [Read error: Connection reset by peer]
swordsmanz_ is now known as swordsmanz
amedeiros has joined #ruby
falood has quit [Remote host closed the connection]
Zai00 has joined #ruby
binaryplease has quit [Ping timeout: 246 seconds]
brbcoding has joined #ruby
Inside has quit [Ping timeout: 240 seconds]
krawchyk has joined #ruby
subbyyy has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
s0ber has quit [Ping timeout: 240 seconds]
Cyrus has quit [Quit: Cyrus.sleep()]
browndawg has quit [Ping timeout: 252 seconds]
angusiguess has joined #ruby
danshultz has joined #ruby
Xeago has joined #ruby
teddyp1cker has joined #ruby
amedeiros has quit [Ping timeout: 255 seconds]
amedeiros has joined #ruby
Criztian has quit [Remote host closed the connection]
sambao21 has joined #ruby
ramblex has joined #ruby
awarner has joined #ruby
statarb3 has quit [Quit: Leaving]
danslo has quit [Ping timeout: 246 seconds]
pixelgremlins has joined #ruby
kpshek has joined #ruby
ShellFu_afk is now known as ShellFu
danslo has joined #ruby
Elhu has joined #ruby
amedeiros has quit [Ping timeout: 260 seconds]
_veer has quit [Ping timeout: 246 seconds]
carloslopes has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
amedeiros has joined #ruby
devoldmx3 has quit [Read error: Connection reset by peer]
tesuki has joined #ruby
MrZYX is now known as MrZYX|off
tesuki has left #ruby [#ruby]
awarner has quit [Ping timeout: 260 seconds]
binaryplease has joined #ruby
amedeiros has quit [Ping timeout: 263 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
amedeiros has joined #ruby
splittingred has joined #ruby
MrZYX|off is now known as MrZYX
rrecio has joined #ruby
krisfremen has quit [Ping timeout: 268 seconds]
MrZYX is now known as MrZYX|off
generalissimo has joined #ruby
razi has quit [Quit: Leaving.]
vlad_starkov has quit [Write error: Broken pipe]
amedeiros has quit [Ping timeout: 255 seconds]
ferdev has quit [Ping timeout: 248 seconds]
r0ber has quit [Quit: Saliendo]
amedeiros has joined #ruby
atyz has joined #ruby
devoldmx has joined #ruby
MrZYX|off is now known as MrZYX
ebouchut has joined #ruby
atyz has quit [Client Quit]
fmcgeough has joined #ruby
krisfremen has joined #ruby
ferdev has joined #ruby
browndawg has joined #ruby
kil0byte has joined #ruby
tacos1de has quit [Ping timeout: 240 seconds]
amedeiros has quit [Ping timeout: 255 seconds]
MrZYX is now known as MrZYX|off
amedeiros has joined #ruby
jlast has joined #ruby
falood has joined #ruby
tacos1de has joined #ruby
devoldmx3 has joined #ruby
devoldmx has quit [Ping timeout: 246 seconds]
quazimodo has quit [Ping timeout: 268 seconds]
corehook has quit [Ping timeout: 255 seconds]
yashshah has quit [Read error: Operation timed out]
freerobby has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
MrZYX|off is now known as MrZYX
dangerousdave has joined #ruby
amedeiros has quit [Ping timeout: 240 seconds]
browndawg has quit [Ping timeout: 246 seconds]
Lubinski has joined #ruby
amedeiros has joined #ruby
ffio has joined #ruby
jlast has quit [Remote host closed the connection]
jlast has joined #ruby
guiocavalcanti has quit [Read error: Connection reset by peer]
cabotto has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Hanmac has quit [Quit: Leaving.]
dash_ has quit [Quit: Time to beer :)]
freerobby has quit [Ping timeout: 240 seconds]
MrZYX is now known as MrZYX|off
LennyLinux has joined #ruby
bklane has joined #ruby
swordsmanz has left #ruby [#ruby]
klaas_ has joined #ruby
swordsmanz has joined #ruby
guiocavalcanti has joined #ruby
amedeiros has quit [Ping timeout: 248 seconds]
lyanchih has joined #ruby
batman___ has quit [Ping timeout: 264 seconds]
klaas has quit [Read error: Connection reset by peer]
amedeiros has joined #ruby
kristiandelay has joined #ruby
nari has joined #ruby
krawchyk has quit [Remote host closed the connection]
atyz has joined #ruby
browndawg has joined #ruby
krawchyk has joined #ruby
MrZYX|off is now known as MrZYX
vlad_starkov has joined #ruby
awarner has joined #ruby
codecop has quit [Remote host closed the connection]
w0rldmaker has quit [Ping timeout: 246 seconds]
lyanchih has quit [Quit: lyanchih]
quazimodo has joined #ruby
amedeiros has quit [Ping timeout: 248 seconds]
guiocava_ has joined #ruby
amedeiros has joined #ruby
buibex has quit [Remote host closed the connection]
guiocavalcanti has quit [Ping timeout: 246 seconds]
ferdev has quit [Ping timeout: 252 seconds]
breakingthings has joined #ruby
ferdev has joined #ruby
harrymoreno has quit [Quit: harrymoreno]
fuzzyhorns has joined #ruby
amedeiros has quit [Ping timeout: 255 seconds]
awarner has quit [Read error: Operation timed out]
amedeiros has joined #ruby
subbyyy has quit [Ping timeout: 246 seconds]
asellus1 has quit [Quit: WeeChat 0.4.0]
asellus has joined #ruby
dhruvasagar has joined #ruby
klaas_ is now known as klaas
generalissimo has quit [Remote host closed the connection]
asellus has quit [Client Quit]
theRoUS has joined #ruby
Neomex has joined #ruby
guiocavalcanti has joined #ruby
Neomex has quit [Client Quit]
zavier has joined #ruby
wmoxam has joined #ruby
amedeiros has quit [Ping timeout: 248 seconds]
guiocava_ has quit [Ping timeout: 252 seconds]
senayar has quit [Ping timeout: 268 seconds]
amedeiros has joined #ruby
axl_ has joined #ruby
senayar has joined #ruby
thesheff17 has joined #ruby
ctooley has joined #ruby
hogeo has quit [Remote host closed the connection]
<ctooley> I'm getting an error connecting to rubygems.com as it's unable to verify the SSL certificate.
banghouse2 has joined #ruby
cofin has joined #ruby
<ctooley> This is because of our proxy here at work. I need to figure out how to either get a new CA cert loaded or not do verification.
pipework has joined #ruby
banghouse2 is now known as banghouse
amedeiros has quit [Ping timeout: 268 seconds]
amedeiros has joined #ruby
sambao21 has joined #ruby
tjbiddle has joined #ruby
geekbri has joined #ruby
amedeiros has quit [Read error: Operation timed out]
<fuzzyhorns> Im taking a CSV as input (hash) and want to export the rows/hash key-value pairs into html
sambao21 has quit [Client Quit]
<fuzzyhorns> whats the best way to do the output?
<fuzzyhorns> im using the hash keys as headers, so i need to iterate through them and use their values as variables
sailias has joined #ruby
dhruvasagar has quit [Ping timeout: 264 seconds]
amedeiros has joined #ruby
generalissimo has joined #ruby
ExxKA has joined #ruby
himsin has quit [Quit: himsin]
guiocavalcanti has quit [Ping timeout: 240 seconds]
guiocava_ has joined #ruby
guiocava_ has quit [Read error: Connection reset by peer]
sambao21 has joined #ruby
deallocate has quit [Ping timeout: 268 seconds]
deallocate has joined #ruby
tomzx_mac has joined #ruby
s00pcan_ has quit [Quit: Lost terminal]
amedeiros has quit [Remote host closed the connection]
lucianosousa has quit [Quit: lucianosousa]
girija has quit [Ping timeout: 240 seconds]
amedeiros has joined #ruby
guiocavalcanti has joined #ruby
kasper has quit [Remote host closed the connection]
jerius has joined #ruby
kasper has joined #ruby
theRoUS has quit [Ping timeout: 268 seconds]
akells` has joined #ruby
freerobby has joined #ruby
fredjean has quit [Ping timeout: 268 seconds]
adkron has joined #ruby
kasper has quit [Read error: Operation timed out]
baordog has joined #ruby
amedeiros has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Remote host closed the connection]
zeel has joined #ruby
freerobby has quit [Client Quit]
amedeiros has joined #ruby
awarner has joined #ruby
freerobby has joined #ruby
huoxito has joined #ruby
fomatin has joined #ruby
_Andres has joined #ruby
Lubinski has quit [Remote host closed the connection]
axl_ has quit [Quit: axl_]
pothibo has joined #ruby
fomatin has quit [Client Quit]
Matip has joined #ruby
v0n has joined #ruby
dhruvasagar has joined #ruby
Squarepy has joined #ruby
malthe has joined #ruby
tjbiddle_ has joined #ruby
amedeiros has quit [Ping timeout: 246 seconds]
<malthe> guys: pkg_config("augeas") ... why is this false, when I have got `libaugeas-dev` installed (this is on ubuntu).
ananthakumaran has quit [Quit: Leaving.]
amedeiros has joined #ruby
Mattix has quit [Read error: Operation timed out]
pootler_ has quit [Ping timeout: 248 seconds]
Iszak has joined #ruby
pootler__ has quit [Read error: Operation timed out]
tjbiddle has quit [Ping timeout: 268 seconds]
tjbiddle_ is now known as tjbiddle
awarner has quit [Ping timeout: 255 seconds]
robbyoconnor has quit [Ping timeout: 246 seconds]
F1skr has joined #ruby
lyanchih has joined #ruby
drfreeze has quit [Ping timeout: 248 seconds]
amedeiros has quit [Ping timeout: 240 seconds]
drfreeze has joined #ruby
ferdev has quit [Quit: ferdev]
falood has quit [Remote host closed the connection]
failshell has joined #ruby
amedeiros has joined #ruby
interactionjaxsn has joined #ruby
syamajala has joined #ruby
banisterfiend has joined #ruby
theRoUS has joined #ruby
theRoUS has joined #ruby
Lubinski has joined #ruby
<banisterfiend> Xeago: the guy behind it is a diva, that's enough to put me off
<apeiros> banisterfiend: glad to know I'm not the only one who doesn't like gary
<ericwood> awww I think that guy is hilarious
kil0byte has quit [Remote host closed the connection]
<ericwood> and legitimately awesome at stuff
rh1n0 has joined #ruby
<banisterfiend> ericwood: i dunno, a guy who just pushes "screencasts" and hasn't written a single library/program of note, is not someone i can trust
malthe has quit [Quit: Ex-Chat]
<ericwood> :(
Ishido has joined #ruby
<ericwood> I guess
bklane has quit [Remote host closed the connection]
<ericwood> he's really good at breaking ruby, based on the stuff he posts on twitter
Ishido has left #ruby ["Roads ?... Where we go we dont need roads."]
amedeiros has quit [Ping timeout: 260 seconds]
ffranz has joined #ruby
<ericwood> lots of edge cases
_br_ has quit [Ping timeout: 255 seconds]
<ericwood> I trust people, though, in general
kasper has joined #ruby
andikr has joined #ruby
<ericwood> except shevy
<banisterfiend> ericwood: no offense -- but to an experienced ruby programmer they're nothing special and not interesting
<apeiros> ericwood: lets hope he properly contributes those back then
<sevenseacat> who's a diva?
<banisterfiend> ericwood: if you want to see genuinely interesting edge cases, look at the stuff charliesome tweets about
amedeiros has joined #ruby
<ericwood> sevenseacat: me
<ericwood> banisterfiend: I follow him, he's great
* apeiros hands ericwood a snickers
niklasb has joined #ruby
<banisterfiend> ericwood: did you see the tweets where gary was being a cock to charliesome then? :)
<ericwood> well, I appreciate programming-related comedy so I enjoy his twitter account
<ericwood> banisterfiend: no, but that sounds fun to read!
<ericwood> banisterfiend: I enjoy me some good twitter drama
fomatin has joined #ruby
<ericwood> actually 90% of the reason I read twitter is to stay up to date on what Aaron Patterson's cats are up to
<sevenseacat> lol
<ericwood> I wish I was kidding
<banisterfiend> ericwood: basically gary was trying to pull 'rank' over charliesome because he's older, but i can guarantee charliesome has developed more interesting/difficult software at 18 than gary has or will in his lifetime
<ericwood> banisterfiend: yeah, I'm siding with charliesome for sure
<sevenseacat> charliesome is a smart dood.
<ericwood> yeah I think he's a better dev in general
<sevenseacat> i didnt know he was only 18, thats awesome.
<ericwood> but you can't keep me from enjoying reading Gary's tweets with him being beligerent!
rh1n0 has quit [Quit: -- I'm out --]
<ericwood> you know who I miss on twitter? @jcoglan
<ericwood> he deleted all of his tweets and just lurks now
<tobiasvl> i miss @_why
pedda has joined #ruby
<ericwood> :'(
senayar has quit [Ping timeout: 268 seconds]
<ericwood> don't go there, man, I can't handle so much emotion in the morning
<tobiasvl> :(
<tobiasvl> sorry
amedeiros has quit [Ping timeout: 246 seconds]
bklane has joined #ruby
<ericwood> so many feels
bean__ has joined #ruby
amedeiros has joined #ruby
buibex has joined #ruby
t6d has joined #ruby
timkohrumel has joined #ruby
senayar has joined #ruby
<Kar-> where would be the best place to find a list of predefined exceptions
<banisterfiend> Kar-: quickref probably
<Kar-> and maybe some explanation of which exceptions to use in certain circumstances
<banisterfiend> Kar-: google zenspider quickref
<Kar-> thanks
<Kar-> wow this is awesome
<Kar-> top top banisterfiend thank you
<Kar-> top tip even
Giorgio has quit [Read error: Connection timed out]
<ericwood> I prefer to just ask zenspider directly :P
amedeiros has quit [Ping timeout: 240 seconds]
katherinem13 has quit [Quit: leaving]
katherinem13 has joined #ruby
amedeiros has joined #ruby
atno has quit [Remote host closed the connection]
enebo has joined #ruby
hydrozen has joined #ruby
<Kar-> one other question
io_syl has joined #ruby
Dekade has joined #ruby
gcbirzan has joined #ruby
<ericwood> only one question per customer plz
<ericwood> ;)
timkohrumel has quit [Ping timeout: 255 seconds]
<Kar-> (i only dabble in ruby so sorry if these is stupid qn), can i go raise FooException.new if blah.empty?
<Kar-> or raise FooException if blah.empty?
tonini has joined #ruby
<ericwood> the latter, I believe
<gcbirzan> So, trying to get bundle working, but it's getting stuck at Fetching source index for http://rubygems.org, with no indication of progress, even with --verbose. How can I debug that crap?
<apeiros> Kar-, ericwood: both are valid
<apeiros> the latter is usually the preferred form
<ericwood> less characters
<apeiros> raise ExceptionClass, "exception message" # exception message is optional
<apeiros> I do use `raise ExceptionClass.new(…)` when I have a custom exception class with additional meta-data.
sarkis has joined #ruby
atno has joined #ruby
<Kar-> ok cheers, i'll play around with it just wasn't sure which was the better 'style'
tvw has quit []
Apane has joined #ruby
amedeiros has quit [Ping timeout: 268 seconds]
cr3 has joined #ruby
devoldmx has joined #ruby
amedeiros has joined #ruby
<cr3> is there an if statement I could put at the bottom of a ruby module so that some code only gets called when the module is executed directly?
teclator has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby
w0rldmaker has joined #ruby
cofin has quit [Quit: cofin]
timkohrumel has joined #ruby
awarner has joined #ruby
Zai00 has quit [Read error: Connection reset by peer]
<banisterfiend> cr3: what does 'executed directly' mean
<banisterfiend> ?
burlyscudd has joined #ruby
devoldmx3 has quit [Ping timeout: 240 seconds]
<gcbirzan> ruby foo.rb
<cr3> banisterfiend: it's a module that should normally be required but I would sometimes like to call it directly with ruby /path/to/module.rb
<ericwood> I don't think you should do that
<gcbirzan> I guess. I mean, no idea how to do it, I know fuck all about ruby, but I'm pretty sure he wants the equivalent of the if __name__ = '__main__' in python.
<cr3> ericwood: this is sometimes done in python so that a file is self contained, unit tests and all at the bottom of the module
robbyoconnor has joined #ruby
<cr3> gcbirzan: you are perceptive!
<banisterfiend> cr3: ah ok: if $0 == __FILE__
vlad_starkov has quit [Remote host closed the connection]
<ericwood> ooh neat
<ericwood> I like that
burlyscudd has quit [Client Quit]
<gcbirzan> cr3: I no rite
<gcbirzan> If I was perceptive enough to manage to run bundle install... :(
cmarques has joined #ruby
<gcbirzan> Oh. yay. 15 minutes it finished...
<ericwood> sometimes things are slow
<ericwood> rubygems.org has been slow on occasion
<cr3> gcbirzan: all software is a pain, especially that which we write :)
amedeiros has quit [Ping timeout: 246 seconds]
<gcbirzan> cr3: tell me about it. :)
<ericwood> I hate computers
w0rldmaker has quit [Ping timeout: 255 seconds]
<ericwood> rabblerabble fuck computers rabblerabble
kobain has joined #ruby
burlyscudd has joined #ruby
cofin has joined #ruby
amedeiros has joined #ruby
<cr3> ericwood: but they keep bringing us back :(
Zai00 has joined #ruby
awarner has quit [Read error: Operation timed out]
<gcbirzan> It's the money
<cr3> gcbirzan: it's the pathetic, some of us can't do anything else
<gcbirzan> also, it's annoying to watch porn without computers
<ericwood> development is an emotional rollercoaster
<ericwood> when things work you get a high, but then you crash and get depressed again
<gcbirzan> cr3: Actually, that's true. :)
<ericwood> we're all just junkies
ner0x has joined #ruby
Lubinski_ has joined #ruby
generalissimo has quit [Remote host closed the connection]
scrollback has joined #ruby
Naeblis has left #ruby [#ruby]
Giorgio has joined #ruby
jtharris has joined #ruby
jtharris has quit [Client Quit]
Lubinski has quit [Ping timeout: 240 seconds]
agjacome has quit [Quit: leaving]
lyanchih has quit [Ping timeout: 248 seconds]
amedeiros has quit [Ping timeout: 240 seconds]
<gcbirzan> ericwood: Actually, I love debugging.
jtharris has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
<gcbirzan> Yeah, I hate when things break and it's my fault, but I love finding the problem regardless :)
amedeiros has joined #ruby
angusiguess has quit [Ping timeout: 240 seconds]
sarkis has quit [Ping timeout: 246 seconds]
buibex has quit [Remote host closed the connection]
bklane has quit [Remote host closed the connection]
<gcbirzan> also. weekend!
ExxKA has quit [Quit: This computer has gone to sleep]
adkron has quit [Ping timeout: 255 seconds]
pixelgremlins has quit [Ping timeout: 255 seconds]
pyreal has joined #ruby
ExxKA has joined #ruby
devoldmx has quit [Ping timeout: 255 seconds]
dmiller has joined #ruby
jgoss has joined #ruby
jgoss has joined #ruby
jgoss has quit [Changing host]
pyreal has quit [Client Quit]
pyreal has joined #ruby
amedeiros has quit [Ping timeout: 260 seconds]
lyanchih has joined #ruby
syamajala has quit [Quit: leaving]
stonevil has quit [Remote host closed the connection]
amedeiros has joined #ruby
ananthakumaran has joined #ruby
zeel has quit [Remote host closed the connection]
bionoid has joined #ruby
awarner has joined #ruby
stonevil has joined #ruby
_bart has joined #ruby
devoldmx has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
pyreal has quit [Quit: pyreal]
amedeiros has quit [Ping timeout: 248 seconds]
RORgasm_ has joined #ruby
RORgasm has quit [Read error: Connection reset by peer]
Lubinski_ is now known as Lubinski
tagrudev has quit [Remote host closed the connection]
ntus1017 has joined #ruby
trautwein has joined #ruby
amedeiros has joined #ruby
sambao21 has joined #ruby
wallerdev has joined #ruby
nmco has joined #ruby
RonScagz has joined #ruby
diddlybop has quit [Ping timeout: 268 seconds]
<nmco> Does anyone know how to Marshal.load a 2.0.0 RubyVM::InstructionSequence. More info http://stackoverflow.com/questions/14398964/ruby-2-0-bytecode-export-import
cmarques has quit [Ping timeout: 264 seconds]
codenapper has quit [Ping timeout: 255 seconds]
MrThePlague has quit [Remote host closed the connection]
mikewintermute has joined #ruby
codecop has joined #ruby
amedeiros has quit [Ping timeout: 248 seconds]
dmiller has quit [Remote host closed the connection]
amedeiros has joined #ruby
pskosinski has quit [Ping timeout: 240 seconds]
weldan has joined #ruby
Davey has joined #ruby
gcbirzan has left #ruby [#ruby]
llaskin has joined #ruby
<llaskin> without using RVM how can I get my ruby 1.9.3 from p0 to p429?
pskosinski has joined #ruby
<Mon_Ouie> Well, that depends on what you're using to install Ruby in the first place
axl_ has joined #ruby
<llaskin> apt-get
<Sou|cutter> llaskin: why not just use ruby 2.0 ?
Lubinski_ has joined #ruby
Vert has joined #ruby
<Mon_Ouie> Then use that. If there are no more up to date packages for your distribution, you will need another way.
bklane has joined #ruby
<Mon_Ouie> Manually if you insist on not using RVM or similar tools
amedeiros has quit [Ping timeout: 255 seconds]
bionoid has quit [Remote host closed the connection]
tomzx_mac has quit [Ping timeout: 248 seconds]
maroloccio has joined #ruby
amedeiros has joined #ruby
sarkis has joined #ruby
theRoUS has quit [Ping timeout: 268 seconds]
falkoner has joined #ruby
Lubinski has quit [Ping timeout: 240 seconds]
coderhut has joined #ruby
falkoner has left #ruby [#ruby]
tommyvyo has joined #ruby
Iszak has quit [Quit: Textual IRC Client: www.textualapp.com]
L8D has quit [Read error: Connection reset by peer]
amedeiros has quit [Ping timeout: 246 seconds]
sevenseacat has quit [Quit: Leaving.]
viszu has joined #ruby
adkron has joined #ruby
lsmola has quit [Ping timeout: 264 seconds]
amedeiros has joined #ruby
ntus1017 has quit [Remote host closed the connection]
eccstartup has quit [Quit: 离开]
jorge_ has joined #ruby
senayar has quit [Read error: Connection reset by peer]
devoldmx has quit [Ping timeout: 252 seconds]
blaxter_ has quit [Read error: Operation timed out]
senayar has joined #ruby
devoldmx has joined #ruby
pyreal has joined #ruby
io_syl has quit [Quit: Computer has gone to sleep.]
zigomir has quit [Quit: zigomir]
jasonsmr has quit [Ping timeout: 252 seconds]
mary5030 has joined #ruby
Judge has quit [Remote host closed the connection]
amedeiros has quit [Ping timeout: 246 seconds]
mary5030_ has joined #ruby
amedeiros has joined #ruby
acrussell has joined #ruby
acrussell has left #ruby [#ruby]
redgirl has quit [Quit: This computer has gone to sleep]
johnmilton has joined #ruby
timkohrumel has quit [Remote host closed the connection]
chichou has quit [Remote host closed the connection]
mary5030 has quit [Ping timeout: 246 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
amedeiros has quit [Ping timeout: 246 seconds]
angusiguess has joined #ruby
amedeiros has joined #ruby
coderhut has quit [Quit: Page closed]
lyanchih has quit [Quit: lyanchih]
sambao21 has joined #ruby
theRoUS has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
bigoldrock has joined #ruby
pipework has quit [Remote host closed the connection]
Aaaarg has quit [Ping timeout: 260 seconds]
nomenkun has quit [Read error: Operation timed out]
tootubular has joined #ruby
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
lucianosousa has joined #ruby
ffio has quit [Quit: WeeChat 0.4.1]
krainboltgreene has joined #ruby
GeissT has quit [Quit: MillBroChat AdIRC User]
_Renegade has quit [Quit: _Renegade]
amedeiros has quit [Ping timeout: 264 seconds]
pyrac has quit [Quit: pyrac]
alex__c2022 has joined #ruby
wallerdev has quit [Quit: wallerdev]
Squarepy has quit [Remote host closed the connection]
nhhagen has joined #ruby
Aaaarg has joined #ruby
jve has joined #ruby
burlyscudd has quit [Quit: Leaving.]
denver has joined #ruby
arturaz has quit [Read error: Operation timed out]
Shubuntu has quit [Read error: Connection reset by peer]
atno has quit [Ping timeout: 248 seconds]
richiebkr has joined #ruby
richiebkr has quit [Client Quit]
sarkis has quit [Ping timeout: 255 seconds]
havenwood has joined #ruby
alup has quit [Quit: Leaving]
Shubuntu has joined #ruby
akemrir has quit [Ping timeout: 268 seconds]
Shubuntu is now known as Guest89059
Guest89059 is now known as Shubuntu
fixl has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
mikepack has joined #ruby
brennanMKE has joined #ruby
Hanmac has joined #ruby
DomKM has joined #ruby
mikewintermute has quit [Quit: mikewintermute]
Apane has quit [Ping timeout: 246 seconds]
workmad3 has joined #ruby
Lubinski_ is now known as Lubinski
tiripamwe has quit [Ping timeout: 240 seconds]
fuzzyhorns has quit [Read error: Connection reset by peer]
fuzzyhorns has joined #ruby
ShellFu is now known as ShellFu_backin15
Shubuntu has quit [Read error: Connection reset by peer]
mikepack has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
angusiguess has quit [Ping timeout: 246 seconds]
niceguyjames has joined #ruby
niceguyjames has quit [Client Quit]
apeiros has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
generalissimo has joined #ruby
nhhagen has quit [Remote host closed the connection]
workmad3 has quit [Read error: Operation timed out]
Shubuntu has joined #ruby
Shubuntu is now known as Guest38670
xardas has joined #ruby
xardas has quit [Changing host]
xardas has joined #ruby
teclator has joined #ruby
vlad_starkov has quit [Ping timeout: 276 seconds]
akells` has quit [Remote host closed the connection]
wsterling has joined #ruby
cj3kim has joined #ruby
fredjean has joined #ruby
ckrailo has joined #ruby
mityaz has joined #ruby
cj3kim has quit [Ping timeout: 246 seconds]
seejohnrun has joined #ruby
jonahR has joined #ruby
slash_shleep has quit [Ping timeout: 240 seconds]
aganov has quit [Remote host closed the connection]
milardovich has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
tjbiddle has quit [Ping timeout: 246 seconds]
denver has quit [Read error: Connection reset by peer]
binaryplease has quit [Ping timeout: 240 seconds]
viszu has quit [Quit: Leaving.]
llaskin1 has joined #ruby
danshultz has quit [Read error: Connection reset by peer]
snearch has joined #ruby
mikewintermute has joined #ruby
wallerdev has joined #ruby
pootler_ has joined #ruby
justsee has quit [Ping timeout: 248 seconds]
pootler__ has joined #ruby
stopbit has quit [Quit: Lost terminal]
vlad_starkov has joined #ruby
viszu has joined #ruby
Coffers has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
llaskin2 has joined #ruby
bionoid has joined #ruby
MrThePla_ has joined #ruby
roadt has quit [Ping timeout: 246 seconds]
poseid has quit [Quit: Leaving.]
llaskin has quit [Ping timeout: 255 seconds]
DanKnox_away is now known as DanKnox
MrThePla_ has quit []
llaskin1 has quit [Ping timeout: 240 seconds]
MrThePlague has joined #ruby
freerobby has quit [Quit: Leaving.]
mmozuras has quit [Ping timeout: 255 seconds]
denver has joined #ruby
sambao21 has joined #ruby
cj3kim has joined #ruby
jorge_ has quit [Remote host closed the connection]
RORgasm_ is now known as RORgasm
verto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
verto has joined #ruby
carloslopes has quit [Remote host closed the connection]
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
patbr0wn has joined #ruby
bionoid has quit [Remote host closed the connection]
sarkis has joined #ruby
bionoid has joined #ruby
slash_shleep has joined #ruby
mikewintermute has quit [Quit: mikewintermute]
pyrac has joined #ruby
Zeeraw has quit [Quit: Computer has gone to sleep.]
niklasb has quit [Ping timeout: 252 seconds]
daniel-s_ has joined #ruby
redgirl has joined #ruby
ybart has quit [Ping timeout: 248 seconds]
mikepack has joined #ruby
t6d has quit [Quit: t6d]
daniel-s has quit [Ping timeout: 245 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
ShellFu_backin15 is now known as ShellFu
s00pcan_ has joined #ruby
ctooley has quit [Ping timeout: 240 seconds]
stopbit has joined #ruby
atno has joined #ruby
redgirl has quit [Ping timeout: 246 seconds]
DaniG2k has joined #ruby
krz has quit [Quit: krz]
devoldmx3 has joined #ruby
slash_shleep is now known as slash_nick
jgoss has quit [Ping timeout: 268 seconds]
kuzushi has joined #ruby
_bart has left #ruby [#ruby]
ffio has joined #ruby
filipe_ has quit [Ping timeout: 260 seconds]
jgoss has joined #ruby
jgoss has joined #ruby
jgoss has quit [Changing host]
banisterfiend has quit [Remote host closed the connection]
apeiros has joined #ruby
devoldmx has quit [Ping timeout: 246 seconds]
dangerousdave has quit [Read error: Connection reset by peer]
cj3kim has quit [Remote host closed the connection]
dangerousdave has joined #ruby
bradhe has joined #ruby
sambao21 has joined #ruby
pipework has joined #ruby
cmarques has joined #ruby
pskosinski has quit [Remote host closed the connection]
io_syl has joined #ruby
pskosinski has joined #ruby
angusiguess has joined #ruby
nmco has quit [Quit: nmco]
statarb3 has joined #ruby
statarb3 has joined #ruby
statarb3 has quit [Changing host]
nalaginrut has joined #ruby
m8 has joined #ruby
senayar has quit [Remote host closed the connection]
burlyscudd has joined #ruby
chichou has joined #ruby
llaskin2 has left #ruby [#ruby]
nomenkun has joined #ruby
anonymuse has joined #ruby
freerobby has joined #ruby
cofin has quit [Quit: cofin]
Voodoofish430 has joined #ruby
cads has quit [Ping timeout: 268 seconds]
enebo has quit [Quit: enebo]
camilasan has quit [Remote host closed the connection]
cads has joined #ruby
DanKnox is now known as DanKnox_away
freerobby has quit [Ping timeout: 256 seconds]
bionoid has quit [Remote host closed the connection]
dagobah has quit [Remote host closed the connection]
noname001 has quit [Ping timeout: 240 seconds]
allaire has joined #ruby
brianpWins has quit [Quit: brianpWins]
bobbyz has quit [Ping timeout: 264 seconds]
LennyLinux has quit [Remote host closed the connection]
robscomputer has joined #ruby
axl_ has quit [Quit: axl_]
bigkevmcd has quit [Quit: Ex-Chat]
statarb3 is now known as Proshot-desktop
LennyLinux has joined #ruby
devoldmx has joined #ruby
freerobby has joined #ruby
DanKnox_away is now known as DanKnox
ghr has quit [Quit: Computer has gone to sleep.]
bobbyz has joined #ruby
devoldmx3 has quit [Ping timeout: 256 seconds]
byprdct has joined #ruby
bradhe has quit [Remote host closed the connection]
codecop has quit [Remote host closed the connection]
slainer68 has joined #ruby
maroloccio has quit [Ping timeout: 246 seconds]
stonevil has quit [Remote host closed the connection]
kennyvb_ has quit [Quit: ZNC - http://znc.in]
DaniG2k has quit [Quit: Leaving.]
kennyvb has joined #ruby
dhruvasagar has quit [Ping timeout: 248 seconds]
viszu has quit [Quit: Leaving.]
guiocavalcanti has quit [Remote host closed the connection]
ExxKA has left #ruby ["Leaving"]
guiocavalcanti has joined #ruby
DanKnox is now known as DanKnox_away
tylersmith has joined #ruby
jeffreylevesque has quit [Read error: Connection reset by peer]
SilverKey has joined #ruby
anonymuse has quit [Remote host closed the connection]
guiocava_ has joined #ruby
generalissimo is now known as general|meat_att
general|meat_att is now known as general|meat
cofin has joined #ruby
devoldmx has quit [Ping timeout: 255 seconds]
guiocavalcanti has quit [Ping timeout: 256 seconds]
guiocava_ has quit [Remote host closed the connection]
timmow has quit [Ping timeout: 240 seconds]
guiocavalcanti has joined #ruby
mansi has joined #ruby
rupee has joined #ruby
SilverKey has left #ruby [#ruby]
SilverKey has joined #ruby
SilverKey has left #ruby [#ruby]
zeade has joined #ruby
estevao has joined #ruby
guiocava_ has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
guiocavalcanti has quit [Read error: Connection reset by peer]
jtharris has quit [Quit: WeeChat 0.4.0]
mayankkohaley has joined #ruby
mansi has quit [Ping timeout: 264 seconds]
icole has joined #ruby
railsbros_dirk has quit [Ping timeout: 240 seconds]
busybox42 has quit [Quit: leaving]
robscomputer has quit [Read error: Connection reset by peer]
robscomputer has joined #ruby
robscomputer_ has joined #ruby
andikr has quit [Remote host closed the connection]
mayankkohaley is now known as mayank
Mars__ has joined #ruby
Alina-malina has quit [Quit: Leaving]
Mars1 has joined #ruby
Alina-malina has joined #ruby
robscomputer has quit [Read error: Connection reset by peer]
jtharris has joined #ruby
daniel_hinojosa has joined #ruby
mayank is now known as mayankk
bradhe has joined #ruby
twoism has joined #ruby
kofno has quit [Remote host closed the connection]
jorge_ has joined #ruby
x1337807x has joined #ruby
kofno has joined #ruby
kasper has quit [Ping timeout: 268 seconds]
pyrac has quit [Quit: pyrac]
sambao21 has quit [Quit: Computer has gone to sleep.]
subbyyy has joined #ruby
tjbiddle has joined #ruby
digitalcake has joined #ruby
jorge_ has quit [Ping timeout: 240 seconds]
popl has joined #ruby
Mars1 has quit [Ping timeout: 246 seconds]
nalaginrut has quit [Ping timeout: 240 seconds]
Mars__ has quit [Ping timeout: 252 seconds]
_Renegade has joined #ruby
spider-mario has joined #ruby
tkuchiki has joined #ruby
niklasb has joined #ruby
devoldmx has joined #ruby
redgirl has joined #ruby
pyrac has joined #ruby
richiebkr has joined #ruby
rdark has quit [Quit: leaving]
tvw has joined #ruby
milardovich has quit [Quit: Leaving]
emmanuelux has joined #ruby
lyanchih has joined #ruby
richiebkr has quit [Client Quit]
tkuchiki has quit [Ping timeout: 276 seconds]
dhruvasagar has joined #ruby
Zai00 has quit [Quit: Zai00]
digitalcake has left #ruby [#ruby]
guiocava_ has quit [Read error: Connection reset by peer]
guiocavalcanti has joined #ruby
staafl has joined #ruby
pipework has quit [Remote host closed the connection]
fmcgeough_ has joined #ruby
anderson has joined #ruby
pipework has joined #ruby
fmcgeough has quit [Read error: Connection reset by peer]
fmcgeough_ is now known as fmcgeough
johnmlocklear_ has quit [Read error: Operation timed out]
devoldmx has quit [Ping timeout: 252 seconds]
robscomputer_ has quit [Read error: Connection reset by peer]
robscomputer has joined #ruby
Matip has quit [Quit: Leaving]
devoldmx has joined #ruby
tiripamwe has joined #ruby
cofin has quit [Quit: cofin]
jprovazn has quit [Ping timeout: 268 seconds]
wykydtron has joined #ruby
timkohrumel has joined #ruby
richiebkr has joined #ruby
johnmlocklear_ has joined #ruby
tiripamwe has quit [Ping timeout: 256 seconds]
pedda has quit [Quit: Textual IRC Client: www.textualapp.com]
mfilipe has joined #ruby
_br_ has joined #ruby
mfilipe has left #ruby [#ruby]
mfilipe has joined #ruby
ivanoats has joined #ruby
cads has quit [Quit: Leaving]
rrecio has quit [Remote host closed the connection]
bklane has quit [Remote host closed the connection]
bionoid has joined #ruby
Mars__ has joined #ruby
blitz has joined #ruby
slainer68 has quit [Remote host closed the connection]
Mars1 has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
DanKnox_away is now known as DanKnox
Xeago has quit [Remote host closed the connection]
burlyscudd has quit [Quit: Leaving.]
kasper has joined #ruby
mrsolo has joined #ruby
denver has quit [Ping timeout: 276 seconds]
ferdev has joined #ruby
allaire has quit [Quit: allaire]
freerobby has quit [Quit: Leaving.]
angusiguess has quit [Ping timeout: 252 seconds]
athst has joined #ruby
niklasb has quit [Ping timeout: 264 seconds]
marcdel has joined #ruby
angusiguess has joined #ruby
tiripamwe has joined #ruby
denver has joined #ruby
kevinykchan has quit [Quit: Computer has gone to sleep.]
burlyscudd has joined #ruby
mahmoudimus has joined #ruby
bionoid has quit [Remote host closed the connection]
devoldmx has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
tiripamwe has quit [Ping timeout: 240 seconds]
apes has joined #ruby
brianpWins has joined #ruby
dhruvasagar has quit [Ping timeout: 255 seconds]
krainboltgreene has quit [Quit: krainboltgreene]
jdunck has joined #ruby
ssvo has quit [Ping timeout: 246 seconds]
mikepack has quit [Remote host closed the connection]
lyanchih has quit [Quit: lyanchih]
tatsuya__ has quit [Ping timeout: 263 seconds]
srji_ has joined #ruby
Nisstyre-laptop has joined #ruby
jacobw has joined #ruby
mikepack has joined #ruby
Nisstyre-laptop is now known as Nisstyre
ffio_ has joined #ruby
srji has quit [Ping timeout: 248 seconds]
ffio has quit [Ping timeout: 276 seconds]
chrishough has joined #ruby
tjbiddle has quit [Ping timeout: 256 seconds]
xardas has quit [Read error: Connection reset by peer]
Davey has quit [Quit: Computer has gone to sleep.]
mfilipe has left #ruby [#ruby]
mikepack has quit [Remote host closed the connection]
wesside has joined #ruby
pyrac has quit [Quit: pyrac]
kasper has quit [Remote host closed the connection]
Iszak has joined #ruby
freerobby has joined #ruby
RonScagz has quit [Quit: Linkinus - http://linkinus.com]
gr4yscale has joined #ruby
Mars1 has quit [Ping timeout: 246 seconds]
Mars__ has quit [Ping timeout: 240 seconds]
tiripamwe has joined #ruby
jonathanwallace has quit [Ping timeout: 268 seconds]
Xeago has joined #ruby
workmad3 has joined #ruby
subbyyy has quit [Ping timeout: 264 seconds]
stkowski has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
v0n has quit [Read error: Operation timed out]
marcdel has quit [Ping timeout: 246 seconds]
jasonsmr has joined #ruby
stkowski has left #ruby [#ruby]
<jasonsmr> hello ruby channel
Apane has joined #ruby
<MrZYX> hi
myappleguy has joined #ruby
<jasonsmr> Question what kind of language is this? it is ruby right I dont know ruby by the way>> http://sprunge.us/fiHW
<MrZYX> yes, that's ruby
<jasonsmr> Im looking for a way to configure a ruby program, and its totaly confusing me
jduan1981 has joined #ruby
<jasonsmr> this looks to me exactly like a configuration file but its in a array form?
<MrZYX> do you have any programming experience at all?
fomatin has quit [Quit: Computer has gone to sleep.]
<terrellt> jasonsmr: That's not a configuration file for a whole program - it's an initializer for an object which you're passing a configuration to.
mityaz has quit [Quit: See ya!]
<jasonsmr> and set as a connection = Fog::Compute.new
<jasonsmr> yes thats what I mean well the fog libary anyway
<jasonsmr> is not a program or at least thats what Im told
brennanMKE has quit [Remote host closed the connection]
<terrellt> jasonsmr: You're making a connection variable which is an instance of Fog::Compute with the settings inside the hash (the things inside {}). If you want to mess with this stuff you should go find an interactive ruby tutorial online - there are plenty.
v0n has joined #ruby
bionoid has joined #ruby
<jasonsmr> I allright, I suppose
<jasonsmr> TY
marcdel has joined #ruby
DanKnox is now known as DanKnox_away
kirun has joined #ruby
RORgasm has quit [Read error: Connection reset by peer]
RORgasm_ has joined #ruby
robscomputer has quit [Read error: Connection reset by peer]
Al___ has quit [Quit: Al___]
robscomputer has joined #ruby
RORgasm_ is now known as RORgasm
Giorgio has quit [Ping timeout: 246 seconds]
lucianosousa has quit [Quit: lucianosousa]
sayan has joined #ruby
tiripamwe has quit [Ping timeout: 246 seconds]
milardovich has joined #ruby
scriptde1il has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
deallocate has quit [Quit: leaving]
bionoid has quit [Remote host closed the connection]
harrymoreno has joined #ruby
codesoda has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
Apane has quit [Ping timeout: 246 seconds]
ffio_ has quit [Quit: WeeChat 0.4.1]
zmike has joined #ruby
chrishough has quit [Ping timeout: 264 seconds]
Mars__ has joined #ruby
Mars1 has joined #ruby
havenwood has quit [Remote host closed the connection]
scriptde1il has quit [Quit: leaving]
zmike has quit [Client Quit]
mayankk has quit [Remote host closed the connection]
chrishough has joined #ruby
skogis has quit [Ping timeout: 245 seconds]
gr4yscale has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
wmoxam has quit [Ping timeout: 246 seconds]
sideshowcoder has quit [Ping timeout: 240 seconds]
wmoxam has joined #ruby
dangerousdave has quit [Quit: Leaving...]
davetherat has quit [Remote host closed the connection]
davetherat has joined #ruby
<jasonsmr> thanks found a better example
skogis has joined #ruby
srji has joined #ruby
tiripamwe has joined #ruby
Aaaarg has quit [Ping timeout: 276 seconds]
Shirakawasuna has joined #ruby
brennanMKE has joined #ruby
srji_ has quit [Ping timeout: 248 seconds]
DanKnox_away is now known as DanKnox
gr4yscale has joined #ruby
Aaaarg has joined #ruby
stkowski has joined #ruby
sideshowcoder has joined #ruby
sayan has quit [Read error: Connection reset by peer]
brennanMKE has quit [Remote host closed the connection]
bionoid has joined #ruby
myappleguy has left #ruby [#ruby]
ffio has joined #ruby
sayan has joined #ruby
krisfremen has quit [Ping timeout: 260 seconds]
stkowski has left #ruby [#ruby]
cofin has joined #ruby
havenwood has joined #ruby
havenwood has quit [Remote host closed the connection]
canton7 has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
<nyuszika7h> is there a better way to initialize variables than `a, b, c, d = nil, nil, nil, nil`?
<MrZYX> can you give a larger example where that would be useful?
<nyuszika7h> MrZYX: one sec
fermion has quit [Quit: Computer has gone to sleep.]
cj3kim has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
<Spooner> nyuszika7h, In that case: a = b= c= d = nil
<nyuszika7h> ah
vlad_starkov has joined #ruby
<MrZYX> still I never had the need to do something like that
<nyuszika7h> vim doesn't like it...
<nyuszika7h> it messes up the indentation
<popl> vim has shit ruby support
<nyuszika7h> ikr
<popl> To be fair I have not looked around for any ruby.vim or anything though.
<popl> I just started programming in ruby.
jonathanwallace has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
axl_ has joined #ruby
vlad_sta_ has joined #ruby
relix has joined #ruby
fermion has joined #ruby
dmiller has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
<jasonsmr> Question in calling a configuration with somethingin it like >> connection = Fog::AWS::EC2.new( :something => @else :somethingelse => @else)
bothra has quit [Read error: Connection reset by peer]
bothra has joined #ruby
<jasonsmr> what do I do to say call a diffrent configuration = ?? maybe in the file put configuration0 = and also have configuration1 =
<MrZYX> again, what's your previous programming background?
dougireton has joined #ruby
<jasonsmr> like that ^ ; but question is how would I call that particular configuration0 or configuration1 on a wim?
<jasonsmr> why do you ask again
patbr0wn has quit [Ping timeout: 256 seconds]
<jasonsmr> It straight question.
relix has quit [Client Quit]
<MrZYX> no, it's not
<Spooner> That is extremely basic programming question. You really need to get some experience before you ask at every, every "trivial" problem.
<jasonsmr> well, I lament I know some python, some C and basic script
theRoUS has quit [Quit: Leaving]
<MrZYX> so, configuration0 is just a local variable
<jasonsmr> thats whole background I was trained as A CAD developer not a programmer I picked up programming 4 years ago
<jasonsmr> yes configuration0 is a variable with other variables a script
<MrZYX> configuration = Fog::AWS.:EC2.new creates a new object of the type Fog::AWS.:EC2 and assigns it to that variable
<jasonsmr> sp/a script/in a script
mikewintermute has joined #ruby
<MrZYX> how those local variables are used is not defined in ruby, so we can't answer what would work based on that few lines
<jasonsmr> yes of that type creating a new variable
<jasonsmr> oh
<jasonsmr> looks like Spooner right
vlad_sta_ has quit [Ping timeout: 246 seconds]
verto has quit [Ping timeout: 246 seconds]
relix has joined #ruby
<Spooner> Maybe http://pine.fm/LearnToProgram/ is a good place to start?
relix has quit [Client Quit]
krisfremen has joined #ruby
krisfremen has joined #ruby
krisfremen has quit [Changing host]
DomKM has quit [Quit: Leaving.]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mike--- has joined #ruby
LennyLinux has quit [Remote host closed the connection]
<jasonsmr> Better question , if connection0 verses connection1 wer needed, how is this scriped called?
<jasonsmr> I gess if I say create a ruby script, I just need to read on how to deal with calling scripts ;P soory it is too simple now that I think about it
wolcanus has joined #ruby
Davey has joined #ruby
Mars__ has quit [Ping timeout: 255 seconds]
alex` has joined #ruby
Mars1 has quit [Ping timeout: 256 seconds]
_Andres has joined #ruby
Apane has joined #ruby
x1337807x has joined #ruby
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
browndawg has left #ruby [#ruby]
chichou has quit [Remote host closed the connection]
burlyscudd has quit [Quit: Leaving.]
LennyLinux has joined #ruby
milardovich has quit [Quit: Leaving]
x1337807x has quit [Client Quit]
<jasonsmr> I was thinking a bout this >> ./your_program.rb configure0 or ./your_program.rb configure1 where ./your_program.rb some_param
<jasonsmr> you see the question Im getting at now?
browndawg has joined #ruby
burlyscudd has joined #ruby
denver has quit [Remote host closed the connection]
_theriffer_ has joined #ruby
marcdel has joined #ruby
Guest38670 has quit [Quit: No Ping reply in 180 seconds.]
Shubuntu has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
x1337807x has joined #ruby
Shubuntu is now known as Guest66497
teddyp1cker has joined #ruby
<alex`> what is the equivalent to grep -v?
browndawg has left #ruby [#ruby]
whowantstolivef1 has joined #ruby
jaimef has quit [Ping timeout: 256 seconds]
browndawg has joined #ruby
x1337807x has quit [Client Quit]
<MrZYX> `grep -v`
dangerousdave has joined #ruby
browndawg has quit [Client Quit]
<apeiros> lol
x1337807x has joined #ruby
<apeiros> alex`: better questions yield better answers.
browndawg has joined #ruby
browndawg has quit [Client Quit]
lucianosousa has joined #ruby
Astral_ has quit [Ping timeout: 248 seconds]
browndawg has joined #ruby
ramblex has quit [Remote host closed the connection]
srji has quit [Ping timeout: 248 seconds]
browndawg has quit [Client Quit]
browndawg has joined #ruby
djbkd has joined #ruby
jaimef has joined #ruby
browndawg has quit [Client Quit]
mikewintermute has quit [Quit: mikewintermute]
browndawg has joined #ruby
browndawg has quit [Client Quit]
browndawg has joined #ruby
<pontiki> but make surento pass a block...
mikewintermute has joined #ruby
akells` has joined #ruby
kasper has joined #ruby
codecop has joined #ruby
Neomex has joined #ruby
Neomex has quit [Client Quit]
browndawg has quit [Client Quit]
browndawg has joined #ruby
browndawg has quit [Client Quit]
browndawg has joined #ruby
browndawg has quit [Client Quit]
srji has joined #ruby
browndawg has joined #ruby
browndawg has quit [Client Quit]
browndawg has joined #ruby
Retistic has joined #ruby
ffio has quit [Quit: WeeChat 0.4.1]
jonahR has quit [Read error: Connection reset by peer]
browndawg has quit [Client Quit]
browndawg has joined #ruby
kasper has quit [Ping timeout: 240 seconds]
Mars__ has joined #ruby
jonahR has joined #ruby
bionoid has quit [Read error: Connection reset by peer]
Mars1 has joined #ruby
browndawg has quit [Client Quit]
browndawg has joined #ruby
browndawg has quit [Client Quit]
bionoid has joined #ruby
browndawg has joined #ruby
browndawg has quit [Client Quit]
browndawg has joined #ruby
tiripamwe has quit [Ping timeout: 246 seconds]
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
bionoid has quit [Remote host closed the connection]
popl has quit [Quit: "People remain what they are even if their faces fall apart."]
browndawg has quit [Client Quit]
browndawg has joined #ruby
ivanoats has quit [Remote host closed the connection]
rrecio has joined #ruby
browndawg has quit [Client Quit]
Astralum has joined #ruby
stkowski has joined #ruby
khismetix has joined #ruby
browndawg has joined #ruby
browndawg has quit [Client Quit]
ffio has joined #ruby
pskosinski has quit [Ping timeout: 240 seconds]
_rrecio has joined #ruby
browndawg has joined #ruby
browndawg has quit [Read error: Connection reset by peer]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pskosinski has joined #ruby
mikewintermute has quit [Quit: mikewintermute]
browndawg has joined #ruby
icole is now known as dodo_
dodo_ is now known as dodosan
rrecio has quit [Ping timeout: 246 seconds]
browndawg has quit [Client Quit]
krainboltgreene has joined #ruby
browndawg has joined #ruby
hamush has joined #ruby
browndawg has quit [Client Quit]
babykosh has joined #ruby
browndawg has joined #ruby
nalaginrut has joined #ruby
babykosh has quit [Client Quit]
dmiller has quit [Remote host closed the connection]
browndawg has quit [Client Quit]
Jackneill has quit [Ping timeout: 246 seconds]
browndawg has joined #ruby
browndawg has quit [Client Quit]
stkowski has left #ruby [#ruby]
srji has quit [Ping timeout: 248 seconds]
srji_ has joined #ruby
<hamush> is rdoc 4.0.1 incompatible with ruby 1.8.7? i'm noticing that after i install it, ri crashes on startup because it can't find the Encoding class, which i think is exclusive to ruby 1.9
wolcanus has quit [Remote host closed the connection]
Guest81086 is now known as nitrodex
browndawg has joined #ruby
browndawg has quit [Client Quit]
browndawg has joined #ruby
cjs226 has joined #ruby
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
synthetix has joined #ruby
wolcanus has joined #ruby
tiripamwe has joined #ruby
chile_andes has joined #ruby
brennanMKE has joined #ruby
browndawg has quit [Client Quit]
browndawg has joined #ruby
angusiguess has quit [Ping timeout: 276 seconds]
bradhe has quit [Remote host closed the connection]
ananthakumaran has quit [Quit: Leaving.]
browndawg has quit [Client Quit]
v0n has quit [Read error: Operation timed out]
browndawg has joined #ruby
ehaliewicz has joined #ruby
fierycatnet has joined #ruby
Mars__ has quit [Ping timeout: 240 seconds]
w0jt has joined #ruby
Apane has quit [Ping timeout: 264 seconds]
sepp2k has quit [Read error: Operation timed out]
Mars1 has quit [Ping timeout: 240 seconds]
w0jt has quit [Quit: leaving]
browndawg has quit [Client Quit]
khismetix has quit [Quit: Computer has gone to sleep.]
Godd2 has joined #ruby
browndawg has joined #ruby
<Godd2> Is there a way to assert that a method was called with test-unit?
chrishough has quit [Quit: chrishough]
browndawg has quit [Client Quit]
browndawg has joined #ruby
<apeiros> Godd2: that's what mocks are for
<apeiros> (unlike stubs)
Bry8Star{T2 has quit [Remote host closed the connection]
falkoner has joined #ruby
DomKM has joined #ruby
devoldmx3 has joined #ruby
browndawg has quit [Read error: Connection reset by peer]
<pontiki> mocks and stubs and doubles, oh my!
browndawg has joined #ruby
srji_ has quit [Ping timeout: 248 seconds]
wolcanus has quit [Remote host closed the connection]
<codesoda> do people still use test-unit?
<workmad3> pontiki: don't forget about dummies, fakes and spies ;)
troker has joined #ruby
rlb3 has quit [Quit: rlb3]
<Godd2> codesoda: Im just learning Ruby and I figured learning how to Unit Test was a good idea.
ehaliewi` has joined #ruby
g3orge has joined #ruby
<codesoda> Godd2: fair enough
<workmad3> codesoda: sure, test-unit is just some extra stuff on top of minitest nowadays though
<Godd2> apeiros: Thanks for the response, I don't know what a mock is, but it will be the next thing on my list to learn :)
devoldmx27 has joined #ruby
Mars__ has joined #ruby
rezzack has joined #ruby
Mars1 has joined #ruby
viszu has joined #ruby
<troker> Hey all, trying to get a ruby backup script to work but Im running into errors. Im quite the Ruby noob - Can anyone help me troubleshoot this? http://pastebin.com/raw.php?i=iBRducW2
devoldmx has quit [Ping timeout: 255 seconds]
mantas322 has joined #ruby
<mantas322> Hi guys
<mantas322> I have an object
<MrZYX> troker: zfstools is a gem or...?
<mantas322> which im doing .sum on an attribute within it
_theriffer_ has quit [Quit: _theriffer_]
<mantas322> but it I do a to_a before doing .sum
<mantas322> I get different results
ehaliewicz has quit [Ping timeout: 264 seconds]
<troker> MrZYX: https://github.com/bdrewery/zfstools -- I don't seem to have any gem command installed however
<g3orge> how can I iterate on top of two arrays idiomatically? like .each do but for two arrays. so I can for example add the a[i] and the b[i] to the c[i]
<mantas322> does the to_a change the float type maybe?
falkoner has left #ruby [#ruby]
<MrZYX> troker: so you ran gem install zfstools ?
<yxhuvud> troker: what version of ruby do you have?
<workmad3> mantas322: gist some code
<troker> MrZYX: zsh: command not found: gem
<workmad3> mantas322: but generally, .to_a is for getting an array
devoldmx3 has quit [Ping timeout: 246 seconds]
<troker> yxhuvud: ruby19
cantonic has quit [Quit: cantonic]
<yxhuvud> g3orge: #zip
<bricker> What do you prefer: /(\d\d?) (\d\d)/ ...or... /(\d{1,2}) (\d{2})/
<apeiros> Godd2: a mock is a test double. it replaces a real object. you state what methods should be called and how often, and what it should return for those.
<apeiros> Godd2: take a look at e.g. RR
radic__ has quit [Read error: Connection reset by peer]
<apeiros> bricker: for such short ones, \d\d? etc.
burlyscudd has quit [Quit: Leaving.]
<MrZYX> troker: it looks like you compiled ruby from source? make sure /usr/local/bin is in your $PATH
<yxhuvud> >> [1,2,3].zip([4,5,6]) do |a,b|; p a; p b; end
<eval-in> yxhuvud => 1 ... (https://eval.in/34484)
<bricker> apeiros: when would you use the other option?
<apeiros> for longer sequences
<troker> MrZYX: yea its a FreeBSD box, ruby compiled from the ports tree as a dep
<apeiros> \d\d\d\d -> \d{4}
<troker> MrZYX: it is in my path, just checked
<bricker> apeiros: ah
<workmad3> troker: do you, by any chance, have gem19 rather than gem?
<g3orge> yxhuvud: will look into it
<apeiros> bricker: a very subjective thing, though
<troker> workmad3: no dice :/
<apeiros> and I wouldn't argue against either way to use it
<bricker> apeiros: of course
<apeiros> but since you asked for opinions :)
v0n has joined #ruby
bradhe has joined #ruby
burlyscudd has joined #ruby
<MrZYX> I guess I'd do \d{3} already
Bry8Star{T2 has joined #ruby
atyz has quit [Quit: Leaving...]
<MrZYX> not sure about \d{2,3} though
<apeiros> I'd probably too
burlyscudd has quit [Read error: Connection reset by peer]
<apeiros> wrt \d{2,3} - depends on the rest
burlyscudd has joined #ruby
<apeiros> I'd try to stay consistent
<apeiros> i.e. only {} or only \d\d…
<Godd2> apeiros: "take a look at e.g. RR" What is RR?
soulisson has joined #ruby
sepp2k has joined #ruby
<apeiros> Godd2: a gem
<apeiros> which provides utilities for mocking, stubbing etc.
radic has joined #ruby
yalue has quit [Quit: Leaving]
Apane has joined #ruby
browndawg has left #ruby [#ruby]
tethra has quit [Remote host closed the connection]
<troker> MrZYX: yep, just compiled from devel/ruby-gems and it all works! thanks!
huoxito has quit [Quit: Leaving]
sambao21 has joined #ruby
srji has joined #ruby
lyne_ has joined #ruby
khismetix has joined #ruby
<Godd2> thanks apeiros :)
Nisstyre has quit [Quit: Leaving]
cantonic has joined #ruby
ivanoats has joined #ruby
Aaaarg has quit [Ping timeout: 276 seconds]
<Godd2> I'm having trouble googling the meaning of "hook". Does anyone know any resources than can explain it? I have literally (and I mean that literally) no clue what "hook" or "to hook something" means in programming or how it applies to Ruby...
Davey has quit [Quit: Computer has gone to sleep.]
dmiller has joined #ruby
dcunit3d has joined #ruby
TakumoKatekari has quit [Ping timeout: 245 seconds]
<Godd2> Well I feel dumb. Taking the ruby part out of the google queries got me clear answers.
brianpWins has quit [Quit: brianpWins]
Davey has joined #ruby
sambao21 has quit [Ping timeout: 256 seconds]
atyz has joined #ruby
chile_andes has quit [Ping timeout: 255 seconds]
burlyscudd has quit [Read error: Connection reset by peer]
Aaaarg has joined #ruby
burlyscudd has joined #ruby
ffio has quit [Quit: WeeChat 0.4.1]
devoldmx has joined #ruby
mansi has joined #ruby
mansi has quit [Remote host closed the connection]
<Godd2> How is a hook any different from a method?
baordog has quit [Read error: Connection reset by peer]
<Godd2> That is, why give it a different name if what they do is what methods do?
<apeiros> Godd2: "hook" is a concept
<burlyscudd> Godd2: hook is a technique/concept
<apeiros> using a method to provide a hook is an implementation
geekbri has quit [Remote host closed the connection]
devoldmx27 has quit [Ping timeout: 246 seconds]
<burlyscudd> Godd2: like events do things, and you provide "hooks" so that when an event fires, it calls some method (for example)
<apeiros> i.e., why call it a coke, if it's just something to drink?
<burlyscudd> so you could say that said method is hooked into that event
RonScagz has joined #ruby
pipework has quit [Remote host closed the connection]
<Godd2> ok, so any time method_a is called inside method_b, method_a is considered a hook?
ShellFu is now known as ShellFu_bbiab
<apeiros> hu?
DrShoggoth has joined #ruby
<apeiros> no
sambao21 has joined #ruby
Mars1 has quit [Quit: WeeChat 0.4.1]
<fierycatnet> would somebody take a look at this sample xml http://pastebin.com/hJn6mEuG and tell me why this code is not working for me http://pastebin.com/gAgwLEiA I am trying to extract id, url, name
<Godd2> ok Ill go read for at least an hour before I come back and ask more, haha
codesoda has quit [Read error: Connection reset by peer]
redgirl has quit [Read error: Connection reset by peer]
redgirl has joined #ruby
codesoda has joined #ruby
<jwest> fierycatnet: Should categories = data.xpath('//category') really be pointing to //categories instead?
<jwest> Just a guess. I've never used Nokogiri.
wallerdev has quit [Read error: Connection reset by peer]
Mars1 has joined #ruby
wallerdev has joined #ruby
tacos1de has quit [Ping timeout: 240 seconds]
<jwest> And it looks to me like all your categories.at_xpath calls should be category.at_xpath
sambao21 has quit [Ping timeout: 246 seconds]
Kabaka has quit [Ping timeout: 240 seconds]
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
pskosinski has quit [Ping timeout: 240 seconds]
TakumoKatekari has joined #ruby
havenwood has joined #ruby
lyne_ has quit [Quit: Textual IRC Client: www.textualapp.com]
emanu has joined #ruby
marcdel has joined #ruby
axl_ has quit [Quit: axl_]
jefflyne has joined #ruby
emanu has quit [Client Quit]
emanu has joined #ruby
mike--- has quit [Ping timeout: 276 seconds]
<fierycatnet> still no luck, it retrieves first value for id,url,name but doesnt go to the next value
<mantas322> right... is there any possibility that .sum vs to_a.sum would requery the database?
atyz has quit [Quit: Leaving...]
jgoss has quit [Ping timeout: 264 seconds]
Bry8Star{T2 has joined #ruby
banisterfiend has joined #ruby
<apeiros> fierycatnet: at_xpath is intended for single result
<apeiros> if you want multiple, use xpath
pkrnj has joined #ruby
Kabaka has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
chrishough has joined #ruby
<fierycatnet> apeiros, it won't run with xpath
<apeiros> "it won't run" is a horrible problem description. srsly.
tacos1de has joined #ruby
johnmlocklear_ has quit [Quit: Leaving]
<apeiros> btw., there are paste service which are not ad-ridden
TakumoKatekari has quit [Ping timeout: 246 seconds]
<seejohnrun> hatebin.com
<seejohnrun> hastebin.com
<seejohnrun> haha
sambao21 has joined #ruby
mike--- has joined #ruby
<fierycatnet> pastebin has ads?
cjs226 has quit [Quit: cjs226]
<apeiros> dude, not everybody thinks killing revenue of their favorite sites is a good idea.
vlad_starkov has joined #ruby
dmiller has quit [Remote host closed the connection]
tvw has quit [Read error: Connection reset by peer]
dougireton has quit [Quit: Leaving.]
khismetix has quit [Quit: Computer has gone to sleep.]
<fierycatnet> thats the error I get http://hastebin.com/lawumopami.vbs
byprdct has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> associated code please
_br_ has quit [Ping timeout: 246 seconds]
<fierycatnet> what?
EPIK has joined #ruby
senayar has joined #ruby
<apeiros> how do you think I'll figure what went wrong? read your mind to see what code you wrote? o0
<apeiros> a useful problem description in case of an error consists of the actual code, the exception you get, and a description of what you expect to happen
<fierycatnet> you said switch from at_xpath to xpath, the code is the same other than that
<nyuszika7h> is this normal? /opt/bots/Aelita/scripts/ruby/nrix/lib/nrix.rb:26:in `eof?': Connection reset by peer (Errno::ECONNRESET)
zz_pinage404 is now known as pinage404
<apeiros> fierycatnet: I don't want to have to assume what parts you changed. the only sane thing is showing the code.
terrellt has quit [Ping timeout: 248 seconds]
Cyrus has joined #ruby
pipework has joined #ruby
pygospa has quit [Disconnected by services]
TheRealPygo has joined #ruby
tethra has joined #ruby
tethra has quit [Changing host]
tethra has joined #ruby
<fierycatnet> apeiros, that should be it http://hastebin.com/dinomenasa.vbs
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
pipework has quit [Remote host closed the connection]
<apeiros> fierycatnet: I see. there's 2 changes and 1 misunderstanding.
<apeiros> I understood that you had `data.at_xpath('//category')` (line 8), and meant that should be xpath instead.
x1337807x has joined #ruby
<apeiros> line 11-13, at_xpath is correct. but you had categories.at_xpath there
<apeiros> which should have been (and now correctly is) category.at_xpath
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cantonic has quit [Quit: cantonic]
pothibo has quit [Quit: pothibo]
sambao21 has quit [Ping timeout: 246 seconds]
anonymuse has joined #ruby
<apeiros> ah, but you get the same @id, @url etc.…
brbcoding has quit [Ping timeout: 268 seconds]
<fierycatnet> yes
<fierycatnet> it does not go to the next section
workmad3 has quit [Ping timeout: 255 seconds]
ssvo has joined #ruby
TakumoKatekari has joined #ruby
<apeiros> you want puts "ID: " + category.at_xpath('.//@id')
<apeiros> i.e., .// instead of //
postmodern has joined #ruby
mantas322 has quit [Quit: Page closed]
<fierycatnet> that did it
bean has quit [Read error: Connection reset by peer]
bean__ is now known as bean
<fierycatnet> thanks a lot
_Renegade has quit [Quit: _Renegade]
<apeiros> yw
manutter has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
saintcajetan has quit [Read error: Connection reset by peer]
havenwood has quit [Remote host closed the connection]
<fierycatnet> how would I save this output to a file?
<apeiros> File.write, File#puts, File#write etc.
<nyuszika7h> is there a simpler way to get 'a!b@c' from ['a', 'b', 'c'] than "#{arr[0]}!#{arr[1]}@#{arr[2]}" or so?
<apeiros> nyuszika7h: parsing irc hostmasks?
brianpWins has joined #ruby
<nyuszika7h> apeiros: yes
<nyuszika7h> I'm not sure if I should split them or let the user split it, or pass the split parts in some other way
pkrnj has quit [Ping timeout: 264 seconds]
<nyuszika7h> ok, I'll check :)
mike--- has quit [Remote host closed the connection]
Mars__ has quit [Ping timeout: 240 seconds]
devoldmx3 has joined #ruby
Mars1 has quit [Ping timeout: 246 seconds]
sayan has quit [Ping timeout: 246 seconds]
sambao21 has joined #ruby
g3orge has quit [Quit: leaving]
dcunit3d has quit [Read error: Connection reset by peer]
<Hanmac> nyuszika7h:
<Hanmac> >> '%s!%s@%s' % ['a', 'b', 'c']
<eval-in> Hanmac => "a!b@c" (https://eval.in/34485)
julian-delphiki has joined #ruby
greenarrow has joined #ruby
<nyuszika7h> Hanmac: oh nice
devoldmx has quit [Ping timeout: 264 seconds]
Nisstyre has joined #ruby
richiebkr has quit [Quit: richiebkr]
krawchyk has quit [Remote host closed the connection]
<Hanmac> >> "a!b@c".match(/(.+)!(.+)@(.+)/)[1..-1]
<eval-in> Hanmac => ["a", "b", "c"] (https://eval.in/34486)
lurch_ has joined #ruby
sambao21 has quit [Ping timeout: 240 seconds]
marcdel has joined #ruby
<lurch_> if i want to start a server before running some rspec tests and stop it after i'm done, where would i typically need to do that? I can add a 'before' and 'after' block, but then I would have to repeat it in every spec file. I would rather have the server start once before all tests and stop after all tests have run
axl_ has joined #ruby
<banisterfiend> Hanmac: what did u think of the recent adventure time
richiebkr has joined #ruby
dcunit3d has joined #ruby
julian-delphiki has quit [Ping timeout: 268 seconds]
<Godd2> >> "a!!b@c".match(/(.+)!(.+)@(.+)/)[1..-1]
<eval-in> Godd2 => ["a!", "b", "c"] (https://eval.in/34487)
viszu has quit [Quit: Leaving.]
atyz has joined #ruby
<joelteon> regexes are hard
<joelteon> not regexes, but implementing them, that's hard
julian-delphiki has joined #ruby
dodosan has quit [Remote host closed the connection]
Zeeraw has joined #ruby
viszu has joined #ruby
Davey has joined #ruby
troker has quit [Quit: troker]
echevemaster has quit [Quit: Leaving]
troker has joined #ruby
richiebkr has quit [Quit: richiebkr]
dodosan_ has joined #ruby
kofno has quit [Remote host closed the connection]
anonymuse has quit [Remote host closed the connection]
richiebkr has joined #ruby
LucidDreamZzZ has joined #ruby
sambao21 has joined #ruby
dmiller has joined #ruby
dmiller has quit [Remote host closed the connection]
maycon has joined #ruby
jibi has quit [Quit: .]
burlyscudd has quit [Ping timeout: 246 seconds]
dmiller has joined #ruby
Hobogrammer has quit [Read error: Connection reset by peer]
wmoxam has quit [Ping timeout: 252 seconds]
julian-delphiki has quit [Read error: Connection reset by peer]
Hobogrammer has joined #ruby
ner0x has quit [Quit: Leaving]
terrellt has joined #ruby
arya has quit []
sambao21 has quit [Ping timeout: 240 seconds]
atyz has quit [Quit: Leaving...]
subbyyy has joined #ruby
athst has quit [Quit: athst]
Alina-malina has quit [Read error: Connection reset by peer]
Alina-malina has joined #ruby
sarkis has quit [Quit: leaving]
sambao21 has joined #ruby
_br_ has joined #ruby
ffranz has quit [Quit: Leaving]
arya has joined #ruby
codesoda has quit [Remote host closed the connection]
Zeeraw has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
Mars__ has joined #ruby
Zeeraw has joined #ruby
sailias has quit [Ping timeout: 246 seconds]
troker has quit [Remote host closed the connection]
Mars1 has joined #ruby
sambao21 has quit [Ping timeout: 264 seconds]
fierycatnet has quit [Quit: Leaving]
MrThePlague has quit [Remote host closed the connection]
_Renegade has joined #ruby
popl has joined #ruby
juarlex has quit [Ping timeout: 246 seconds]
johnmilton has quit [Remote host closed the connection]
dmiller has quit [Remote host closed the connection]
Lubinski has quit [Remote host closed the connection]
interactionjaxsn has quit [Remote host closed the connection]
ldnunes has quit [Quit: Leaving]
interactionjaxsn has joined #ruby
spider-mario has quit [Remote host closed the connection]
pskosinski has joined #ruby
Mars__ has quit [Ping timeout: 246 seconds]
mansi has joined #ruby
staafl has quit [Read error: Connection reset by peer]
Mars1 has quit [Ping timeout: 246 seconds]
staafl has joined #ruby
_Renegade has quit [Ping timeout: 248 seconds]
anonymuse has joined #ruby
pyx has joined #ruby
pyx has quit [Client Quit]
Lemtzas has quit [Read error: Connection reset by peer]
interactionjaxsn has quit [Ping timeout: 255 seconds]
Levin_22 has joined #ruby
snearch has quit [Quit: Verlassend]
supergiantrobot_ has quit [Quit: supergiantrobot_]
snearch has joined #ruby
cantonic has joined #ruby
sarkis has joined #ruby
sarkis has quit [Client Quit]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Lemtzas has joined #ruby
Criztian has joined #ruby
anonymuse has quit [Read error: Connection reset by peer]
brennanMKE has quit [Remote host closed the connection]
echevemaster has joined #ruby
_theriffer_ has joined #ruby
mansi has quit [Ping timeout: 248 seconds]
anonymuse has joined #ruby
Kar- has quit [Remote host closed the connection]
sambao21 has joined #ruby
dodosan_ is now known as dodosan
x1337807x has joined #ruby
athst has joined #ruby
Kar- has joined #ruby
jokke has quit [Read error: Operation timed out]
cpruitt has joined #ruby
akells` has quit [Remote host closed the connection]
sarkis has joined #ruby
sarkis has quit [Client Quit]
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
dcunit3d has quit [Ping timeout: 256 seconds]
gildo has quit [Read error: Operation timed out]
sarkis has joined #ruby
akells` has joined #ruby
sarkis has quit [Client Quit]
dcunit3d has joined #ruby
sambao21 has quit [Ping timeout: 264 seconds]
julian-delphiki has joined #ruby
fomatin has joined #ruby
alex` has quit [Quit: WeeChat 0.4.0]
adeponte has joined #ruby
PatJ has joined #ruby
anonymuse has quit [Remote host closed the connection]
sarkis has joined #ruby
v0n has quit [Ping timeout: 264 seconds]
<PatJ> how do I change the version of ruby that gem is using?
jokke has joined #ruby
sarkis has quit [Client Quit]
sarkis has joined #ruby
rippa has quit [Ping timeout: 248 seconds]
Rix has quit [Ping timeout: 248 seconds]
nkts has joined #ruby
<apeiros> you install gem with that version of ruby you want it to run under
julian-delphiki has quit [Ping timeout: 248 seconds]
sarkis has quit [Client Quit]
sarkis has joined #ruby
wmoxam has joined #ruby
freerobby has quit [Quit: Leaving.]
julian-delphiki has joined #ruby
maycon has quit [Quit: Saindo]
kraplounak has joined #ruby
dcunit3d has quit [Ping timeout: 246 seconds]
athst has quit [Quit: athst]
<PatJ> apeiros: so I have to reinsall gem?
jtharris has quit [Quit: WeeChat 0.4.0]
<banisterfiend> PatJ: rvm might have some commands to move the gem to another version
akells` has quit [Remote host closed the connection]
ShellFu_bbiab is now known as ShellFu
_main_ has joined #ruby
<PatJ> I saw somewhere that someone suggested rvm use [version] but that just gave me a RVM is not a function error
Mars1 has joined #ruby
<apeiros> you don't know whether you use rvm or not? wow…
<apeiros> hint: if you haven't installed it, you are not using it.
dmiller has joined #ruby
<PatJ> "RVM is not a function, selecting rubies with 'rvm use ...' will not work."
__main__ has quit [Ping timeout: 264 seconds]
Rix has joined #ruby
sambao21 has joined #ruby
angusiguess has joined #ruby
Criztian has quit [Remote host closed the connection]
dmiller has quit [Remote host closed the connection]
nomenkun has quit [Remote host closed the connection]
<banisterfiend> PatJ: http://rvm.io
_main_ is now known as __main__
wmoxam has quit [Ping timeout: 256 seconds]
<PatJ> I'm trying rvm install now
<Godd2> apeiros: ok I think I understand hooks now thanks to Metaprogramming Ruby. They're special bits of code you can call when certain events (like object creation or method undefining) occurs.
<banisterfiend> Godd2: for real, but ruby hooks are kind of feeble as you can only define one, and you have to be careful about maintaining previous hooks, etc
<banisterfiend> as a result they're not really used except in the craziest libraries
<Godd2> so in other words, don't worry about them for now
sambao21 has quit [Ping timeout: 256 seconds]
<banisterfiend> right
lurch_ has quit [Quit: lurch_]
mansi has joined #ruby
<Godd2> cool, thanks :)
failshell has quit [Remote host closed the connection]
mansi has quit [Remote host closed the connection]
mansi has joined #ruby
wmoxam has joined #ruby
_Andres has joined #ruby
canton7 has joined #ruby
toddWork__ has quit [Quit: toddWork__]
aboudreault has quit [Ping timeout: 256 seconds]
TheRealPygo is now known as pygospa
<Apane> I've been meaning to use RVM but never got around to installing it. If I decide to install it, will It affect any prior ruby installations? e.g. having to re-install ruby 2.0? or is it more or less an add-on. The doc doesn't really make it clear.
ereslibre has quit [Quit: No Ping reply in 180 seconds.]
froy has quit [Quit: kablam!]
sailias has joined #ruby
aalmenar has quit [Quit: No Ping reply in 180 seconds.]
ereslibre has joined #ruby
ereslibre has joined #ruby
Meatant has joined #ruby
aalmenar has joined #ruby
aalmenar has quit [Changing host]
aalmenar has joined #ruby
cj3kim has quit [Remote host closed the connection]
moos3 has quit [Quit: Computer has gone to sleep.]
<Mon_Ouie> No, it doesn't affect the rest of your setup. If you run "rvm use system", you will be able to use your regular ruby version as before.
mansi has quit [Ping timeout: 240 seconds]
teddyp1cker has quit [Remote host closed the connection]
dougireton has joined #ruby
fuzzyhorns has quit [Remote host closed the connection]
cj3kim has joined #ruby
snearch has quit [Quit: Verlassend]
<banisterfiend> Mon_Ouie: how did your presentation go?
cr3 has quit [Quit: leaving]
Davey has quit [Quit: Computer has gone to sleep.]
RonScagz has quit [Quit: Linkinus - http://linkinus.com]
codecop has quit [Remote host closed the connection]
jerius has quit [Ping timeout: 246 seconds]
saintcajetan has joined #ruby
cj3kim has quit [Remote host closed the connection]
seejohnrun has quit [Ping timeout: 264 seconds]
aboudreault has joined #ruby
dougireton has quit [Client Quit]
rdFLeece has joined #ruby
<Mon_Ouie> It went well. Getting the results on Wednesday.
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
danslo has quit [Quit: danslo]
<Apane> Mon_Ouie, thanks!!
niklasb has joined #ruby
tootubular has quit [Quit: tootubular]
slash_nick has quit [Read error: Connection reset by peer]
<PatJ> wait is 2.0.0 incompatible with 1.9.x? meaning if I need >=1.9.1, will 2.0.0 work?
Aristata has joined #ruby
<banisterfiend> Mon_Ouie: grats :)
<Aristata> Is hexidigest always unique if the string being digested is unique?
slash_nick has joined #ruby
slash_nick has joined #ruby
slash_nick has quit [Changing host]
atyz has joined #ruby
RORgasm has quit [Read error: Connection reset by peer]
fermion has quit [Quit: Computer has gone to sleep.]
RORgasm has joined #ruby
wmoxam has quit [Ping timeout: 240 seconds]
angusiguess has quit [Ping timeout: 256 seconds]
Giorgio has joined #ruby
sailias has quit [Ping timeout: 246 seconds]
Zeeraw has quit [Quit: Computer has gone to sleep.]
cofin has quit [Quit: cofin]
apeiros has quit [Remote host closed the connection]
slash_nick has quit [Read error: Operation timed out]
RORgasm has quit [Remote host closed the connection]
apeiros has joined #ruby
mikewintermute has joined #ruby
breakingthings has quit [Quit: breakingthings]
RORgasm has joined #ruby
Dekade has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
theRoUS has quit [Ping timeout: 264 seconds]
Dekade has joined #ruby
x1337807x has joined #ruby
jasonsmr has quit [Ping timeout: 252 seconds]
Meatant has quit [Quit: free hat!]
sarkis has quit [Quit: leaving]
Meatant has joined #ruby
falkoner has joined #ruby
cmarques has quit [Ping timeout: 252 seconds]
ravster has joined #ruby
kraplounak has quit [Remote host closed the connection]
ToApolytoXaos has quit [Quit: Leaving]
Spooner has quit [Read error: Connection reset by peer]
RORgasm has quit [Ping timeout: 248 seconds]
Spooner has joined #ruby
Zeeraw has joined #ruby
nomenkun has joined #ruby
<Apane> Is there an RVM for rails? that would be nice
falkoner has left #ruby [#ruby]
<Mon_Ouie> You mean having multiple versions of Rails on your systems and switching between them?
<Apane> Mon_Ouie correct
<Mon_Ouie> Because I believe you could use RVM gemsets for that (although I haven't had a need for them)
<r0bgleeson> Apane: gem rails X.X.X
<r0bgleeson> that'll switch for you.
atyz has quit [Quit: Leaving...]
<banisterfiend> just specify it in your Gemfile
<Apane> r0bgleeson, sweet
centipedefarmer has joined #ruby
dougireton has joined #ruby
<banisterfiend> bundler will use the one u choose
<r0bgleeson> banisterfiend: i think it has more to do with 'rails new foo'
<banisterfiend> good point
<banisterfiend> r0bgleeson: so typing `gem rails X.X.X` will make that version the one whose binary runs?
pipework has joined #ruby
<r0bgleeson> yup
<r0bgleeson> old trick i learnt in some gist ages ago
<banisterfiend> doesn't work for me
<r0bgleeson> let me see
<banisterfiend> gem pry 1.0.0pre1
<banisterfiend> ERROR: While executing gem ... (Gem::CommandLineError)
<banisterfiend> Unknown command pry
dougireton has quit [Client Quit]
<banisterfiend> maybe there's a rails command in gem?
<Spooner> Just use bundle exec, surely?
<banisterfiend> looks like u need to install a gem that provides the 'rails' command
<Mon_Ouie> But it's for running the rails command itself
<Mon_Ouie> To create the project, e.g.
<banisterfiend> Mon_Ouie: when you decide to become a rails programmer, do u want me to shoot u?
<Mon_Ouie> I know there's a syntax to specify gem version in an argument though.
slainer68 has joined #ruby
<Mon_Ouie> I think I'll be fine ;)
<Mon_Ouie> banisterfiend: If I ever consider programming in PHP, kill me with a keyboard so I die with my honor intact.
<r0bgleeson> hahaha
<r0bgleeson> ahhhh
<r0bgleeson> i got it
whowantstolivef1 has quit [Quit: quit]
igorbozato has joined #ruby
nomenkun has quit [Ping timeout: 248 seconds]
<Mon_Ouie> The syntax I'm thinking of is 'rails _x.y.z_ [other arguments]' btw
<r0bgleeson> rails _X.X.X_
<r0bgleeson> yup
<r0bgleeson> it's in the rubygems wrapper
<Mon_Ouie> Being able to switch so it remembers which version you want to be using might be useful (well, it saves some typing).
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
machuga is now known as machuga|away
<Mon_Ouie> (I guess you could alias versions you use often too)
tatsuya_o has joined #ruby
<r0bgleeson> yeah
kirun has quit [Quit: Client exiting]
<r0bgleeson> i guess id just alias as rails2 and rails3
<r0bgleeson> i hardly ever use 2, havent touched it in months
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dougireton has joined #ruby
subbyyy has quit [Quit: none 0.3.9.2]
__main__ has quit [Read error: Connection reset by peer]
colonolGron has joined #ruby
scrollback has quit [Remote host closed the connection]
athst has joined #ruby
threesome has quit [Ping timeout: 255 seconds]
jefflyne has joined #ruby
jefflyne has quit [Client Quit]
_main_ has joined #ruby
devdazed has quit [Quit: Bye]
tww has joined #ruby
awarner has quit [Remote host closed the connection]
cgore has joined #ruby
milardovich has joined #ruby
_main_ is now known as __main__
superscott[8] has joined #ruby
zastern has joined #ruby
dougireton has quit [Quit: Leaving.]
_veer has joined #ruby
_veer has quit [Changing host]
_veer has joined #ruby
zastern is now known as zachary
zachary is now known as zastern
Davey has joined #ruby
maroloccio has joined #ruby
sepp2k has quit [Quit: Leaving.]
igorbozato has left #ruby [#ruby]
m8 has quit [Quit: Sto andando via]
Aristata has quit [Quit: Leaving.]
devoldmx has joined #ruby
terrellt has quit [Ping timeout: 264 seconds]
x1337807x has joined #ruby
bean has quit [Quit: Computer has gone to sleep.]
ner0x has joined #ruby
devoldmx3 has quit [Ping timeout: 246 seconds]
viszu has quit [Quit: Leaving.]
Davey has quit [Quit: Computer has gone to sleep.]
Kar- has quit [Remote host closed the connection]
tkuchiki has joined #ruby
rdFLeece has quit [Ping timeout: 248 seconds]
general|meat has quit [Remote host closed the connection]
maroloccio has quit [Quit: WeeChat 0.4.0]
tomzx_mac has joined #ruby
tkuchiki has quit [Ping timeout: 276 seconds]
dougireton has joined #ruby
Mattix has joined #ruby
dmiller has joined #ruby
Giorgio has quit [Ping timeout: 268 seconds]
cj3kim has joined #ruby
thams has quit [Quit: thams]
mansi has joined #ruby
dmiller has quit [Ping timeout: 276 seconds]
mary5030_ has quit [Read error: Operation timed out]
mrsolo has quit [Quit: Leaving]
Iszak has quit [Quit: Textual IRC Client: www.textualapp.com]
mary5030 has joined #ruby
_rrecio has quit [Remote host closed the connection]
guiocavalcanti has quit [Remote host closed the connection]
cj3kim has quit [Ping timeout: 256 seconds]
guiocavalcanti has joined #ruby
x1337807x has quit [Quit: Textual IRC Client: www.textualapp.com]
ravster has quit [Ping timeout: 256 seconds]
__main__ has quit [Read error: Connection reset by peer]
jetblack has quit [Read error: Connection reset by peer]
brianpWins has quit [Quit: brianpWins]
x1337807x has joined #ruby
hydrozen has quit [Quit: Computer has gone to sleep.]
bionoid has joined #ruby
guiocavalcanti has quit [Ping timeout: 256 seconds]
axl_ has quit [Quit: axl_]
shime has joined #ruby
axl_ has joined #ruby
umttumt has joined #ruby
generalissimo has joined #ruby
ShellFu is now known as ShellFu_afk
jokke has quit [Quit: WeeChat 0.4.1]
tatsuya_o has quit [Remote host closed the connection]
<shime> is there anything like this for minitest? https://github.com/jamesgolick/zebra#readme
Inside has joined #ruby
Inside has quit [Changing host]
Inside has joined #ruby
jokke has joined #ruby
srji has quit [Ping timeout: 240 seconds]
axl_ has quit [Ping timeout: 256 seconds]
dangerousdave has quit [Ping timeout: 276 seconds]
fredjean has quit [Quit: Computer has gone to sleep.]
__main__ has joined #ruby
Aaaarg has quit [Ping timeout: 276 seconds]
colonolGron has quit [Quit: Lost terminal]
jlast has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
osvico has joined #ruby
tww has quit [Quit: tww]
erebor has joined #ruby
Aaaarg has joined #ruby
Asher has quit [Ping timeout: 246 seconds]
_theriffer_ has quit [Quit: _theriffer_]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yofun has joined #ruby
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
timkohrumel has quit [Remote host closed the connection]
melder has joined #ruby
pinage404 is now known as zz_pinage404
x1337807x has joined #ruby
ravster has joined #ruby
<shime> r0bgleeson: thx
predator117 has joined #ruby
<yofun> okay. so found this little ruby irc/omegle bot script but my server i want to requires a pong $random text from the ping $random text
<yofun> how do i do that?
bradhe has quit [Remote host closed the connection]
bradhe has joined #ruby
wsterling has quit [Remote host closed the connection]
predator217 has quit [Ping timeout: 248 seconds]
staafl has quit [Quit: Leaving]
erebor has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
<MrZYX> yofun: "PONG #{'PING random text'.split(' ', 2).last}"
pskosinski has quit [Ping timeout: 240 seconds]
jgoss has joined #ruby
jgoss has joined #ruby
jgoss has quit [Changing host]
<yofun> i mean has to be the text that it sent you
soulisson has quit [Ping timeout: 240 seconds]
<MrZYX> yup
cantonic has quit [Quit: cantonic]
<yofun> oh so that would do it?
<MrZYX> not literally, but given the amount of information you gave...
<yofun> for example PING :BF03DD61 i would have to type PONG BF03DD61
bradhe has quit [Ping timeout: 246 seconds]
relix has joined #ruby
<yofun> each time that ping string is different
<MrZYX> oh, stripping the :?
<yofun> well it worked for me (i used telnet to test it)
<MrZYX> "PONG #{'PING :BF03DD61'.split(':', 2).last}"
<yofun> its not aways BF03DD61 its different everytime
<MrZYX> sure
Treeson has joined #ruby
<yofun> so like a IF then statement how ever you do that
<MrZYX> but how should I know how the information is present in your script?
wargasm has joined #ruby
<MrZYX> I'm merely demonstrating a mechanism to extract the ID and construct the reply string
<MrZYX> since that's about what you asked for
<yofun> a IF PING :$string then pong $string
synthetix has quit [Ping timeout: 246 seconds]
iamjarvo has joined #ruby
<yofun> example ^^ i dont know how ruby works so
<yofun> "PONG #{'PING :BF03DD61'.split(':', 2).last}" would do that?
<matti> ?
<MrZYX> 'PING :BF03DD61' needs to be replaced with a variable containing the ping of course
jduan1981 has quit [Ping timeout: 240 seconds]
<yofun> ah well how do that? extract the ping variable
<yofun> thats my main question
<MrZYX> maybe you learn the basic semantics of ruby first so you can understand what the script you try to modify is doing
<yofun> okay. fine lol. where do i start?
<MrZYX> there are a zillion ways how it could present the message to you
devoldmx has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
adein has joined #ruby
adein has quit [Max SendQ exceeded]
adein has joined #ruby
srji has joined #ruby
milardovich has quit [Read error: Connection reset by peer]
Hobogrammer_ has joined #ruby
kpshek has quit []
saintcajetan has quit [Remote host closed the connection]
dougireton has quit [Quit: Leaving.]
Hobogrammer has quit [Ping timeout: 256 seconds]
slainer68 has quit [Remote host closed the connection]
devoldmx has quit [Ping timeout: 240 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iamjarvo has quit [Quit: Leaving.]
_theriffer_ has joined #ruby
io_syl has quit [Ping timeout: 246 seconds]
Asher has joined #ruby
DylanJ has joined #ruby
pyrac has joined #ruby
Dwarf has quit [Ping timeout: 246 seconds]
bradhe has joined #ruby
DonRichie has quit [Quit: Verlassend]
jacobw has quit [Quit: WeeChat 0.4.0]
<DylanJ> (state_machine): anyone know how i could set a specific state inside of a before_transition?
pyrac has quit [Client Quit]
dougireton has joined #ruby
gr4yscale has quit [Quit: Computer has gone to sleep.]
bradhe has quit [Remote host closed the connection]
bradhe has joined #ruby
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maroloccio has joined #ruby
jonathanwallace has quit [Ping timeout: 246 seconds]
`brendan has joined #ruby
bigoldrock has quit [Ping timeout: 256 seconds]
vlad_starkov has quit [Remote host closed the connection]
arya_ has joined #ruby
_maes_ has joined #ruby
dougireton has quit [Quit: Leaving.]
atno has quit [Remote host closed the connection]
danbeck has joined #ruby
danbeck has quit [Client Quit]
arya has quit [Ping timeout: 248 seconds]
marcdel has joined #ruby
timkohrumel has joined #ruby