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
synthetix has quit [Read error: Operation timed out]
brennanMKE has quit [Read error: Connection reset by peer]
Cyrus has joined #ruby
jds has joined #ruby
s00pcan has quit [Remote host closed the connection]
brennanMKE has joined #ruby
freerobby has quit [Ping timeout: 256 seconds]
brennanMKE has quit [Remote host closed the connection]
pcarrie__ has joined #ruby
pcarrie__ has quit [Client Quit]
banjara has quit [Quit: Leaving.]
fomatin has quit [Quit: Computer has gone to sleep.]
popl has joined #ruby
s00pcan has joined #ruby
ner0x has joined #ruby
pontiki has quit [Ping timeout: 256 seconds]
s00pcan_ has joined #ruby
krainboltgreene has quit [Ping timeout: 248 seconds]
s00pcan_ has quit [Client Quit]
s00pcan_ has joined #ruby
s00pcan_ has quit [Client Quit]
s00pcan has quit [Client Quit]
devoldmx has joined #ruby
s00pcan has joined #ruby
pontiki has joined #ruby
yshh has joined #ruby
jds has quit [Ping timeout: 276 seconds]
kokobaby has quit [Ping timeout: 248 seconds]
devoldmx3 has quit [Ping timeout: 256 seconds]
freerobby has joined #ruby
harrymoreno_ has quit [Ping timeout: 264 seconds]
harrymoreno has joined #ruby
freeayu has joined #ruby
freerobby has quit [Client Quit]
Oddnoun has quit [Ping timeout: 256 seconds]
jdunck has quit [Quit: Computer has gone to sleep.]
kasper has quit [Remote host closed the connection]
harrymoreno_ has joined #ruby
fomatin has joined #ruby
harrymoreno has quit [Ping timeout: 268 seconds]
harrymoreno_ is now known as harrymoreno
mansi has joined #ruby
kokobaby has joined #ruby
yshh has quit [Remote host closed the connection]
angusiguess has joined #ruby
Hare has quit [Quit: Page closed]
Weems has joined #ruby
Weems has quit [Changing host]
Weems has joined #ruby
mansi has quit [Ping timeout: 246 seconds]
gazarsgo has quit [Quit: gazarsgo]
jimg has joined #ruby
butblack has joined #ruby
brice_ has quit [Quit: Leaving]
s00pcan_ has joined #ruby
tylersmith has quit [Remote host closed the connection]
twoism has quit [Remote host closed the connection]
hogeo has joined #ruby
mansi has joined #ruby
benlieb has quit [Quit: benlieb]
jgoss has joined #ruby
pw3 has joined #ruby
harrymoreno has quit [Quit: harrymoreno]
mansi has quit [Ping timeout: 246 seconds]
Oddnoun has joined #ruby
citizensinspace has quit [Quit: citizensinspace]
agent_white has quit [Quit: leaving]
tkuchiki has joined #ruby
t_p has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
freerobby has joined #ruby
DanKnox is now known as DanKnox_away
hadees has quit [Quit: hadees]
kadoo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jds has joined #ruby
fermion has quit [Quit: Computer has gone to sleep.]
subbyyy has joined #ruby
tylersmith has joined #ruby
timkohrumel has joined #ruby
krainboltgreene has joined #ruby
statarb3 has quit [Quit: Leaving]
tylersmith has quit [Remote host closed the connection]
kiry has quit []
<dankest> jkline: I use shoulda for the contexts
timkohrumel has quit [Ping timeout: 276 seconds]
burlyscudd has joined #ruby
Hanmac2 has quit [Read error: Connection reset by peer]
Hanmac has joined #ruby
jkline has quit [Quit: jkline]
jasonkuhrt has joined #ruby
huoxito has joined #ruby
GeissT has joined #ruby
incorvia has quit [Remote host closed the connection]
arubin has joined #ruby
devoldmx3 has joined #ruby
devoldmx has quit [Ping timeout: 256 seconds]
cantonic has quit [Quit: cantonic]
Aaaarg has joined #ruby
yshh has joined #ruby
iamjarvo has joined #ruby
staafl_alt has quit [Ping timeout: 268 seconds]
milardovich has joined #ruby
bradhe has joined #ruby
redgirl has joined #ruby
EPIK has joined #ruby
marr has quit [Ping timeout: 256 seconds]
jkline has joined #ruby
icole has quit [Remote host closed the connection]
krainboltgreene has quit [Ping timeout: 276 seconds]
<milardovich> Hello guys, I have a binary number, let's suppose 101, but I need to work always in a string of 10 element. For example, if I have 101 I should have 0000000101, or if I have 1 I should get 0000000001
<milardovich> How can I do that?
gildo has quit [Ping timeout: 268 seconds]
robscomputer has joined #ruby
rafb3 has joined #ruby
<popl> hang on, I will see milardovich
<milardovich> popl, thank you
<popl> sprintf
<mnemon> sprintf '%010d', 1
<popl> sprintf "%08b", 2 # 00000010
djbkd has quit [Quit: Leaving]
Inside has quit [Ping timeout: 256 seconds]
<mnemon> ah, true
lyanchih has joined #ruby
pw3 has quit [Ping timeout: 250 seconds]
ssvo has quit [Ping timeout: 264 seconds]
timkohrumel has joined #ruby
jimg has quit [Remote host closed the connection]
rafb3_ has joined #ruby
gr4yscale has joined #ruby
devoldmx3 has quit [Read error: Connection reset by peer]
<popl> That may not be the idiomatic way in ruby to do it.
rafb3 has quit [Ping timeout: 264 seconds]
heftig has quit [Ping timeout: 245 seconds]
<popl> Does ruby have formats like python?
robscomputer has quit [Ping timeout: 276 seconds]
timkohrumel has quit [Remote host closed the connection]
timkohrumel has joined #ruby
pootler_ has quit [Ping timeout: 246 seconds]
Solnse has quit [Quit: Leaving.]
athst has quit [Quit: athst]
blitz has quit [Quit: This computer has gone to sleep]
<popl> yeah thanks mnemon
jackal_af has joined #ruby
<milardovich> popl, Oh, you mean there is a "rubier" way to do that?
buzzybron has joined #ruby
harrymoreno has joined #ruby
<jackal_af> anyone got a moment to help with a n00b ruby (and Kafka) question?
Aaaarg has quit [Quit: Aaaarg]
<milardovich> popl, I don't need to print it but use it as a string, so I think sprintf won't work :-/
nettoweb has quit [Quit: nettoweb]
heftig has joined #ruby
chrishough has quit [Quit: chrishough]
<popl> sprintf returns a string
brennanMKE has joined #ruby
<mnemon> jackal_af: might get answers if you just ask the question :>
<milardovich> popl, yes, but doesn't it print it?
Aaaarg has joined #ruby
jonahR has quit [Quit: jonahR]
<popl> printf should print it
<milardovich> Oh I see
<milardovich> Thanks :)
<popl> no worries
sarkis has quit [Ping timeout: 268 seconds]
<jackal_af> what is the difference between kafka and kafka-rb gem?
thams has joined #ruby
<milardovich> popl, it still doesn't work with %08b
<milardovich> I tried with 101 and I get 01100101
<popl> oh shoot, I thought you were starting with base 10
_theriffer_ has joined #ruby
<milardovich> popl, no, sorry, maybe I expressed myself in the wrong way, I only need to fill with 0s the rest of the numbers until I get 10
<mnemon> jackal_af: different authors and apparently different uses ... kafka-rb is for http://kafka.apache.org/ and kafka is "kafka is a tiny gem which allows you to convert standard svn repositories to git."
sarkis has joined #ruby
brennanMKE has quit [Ping timeout: 248 seconds]
jkline has quit [Quit: jkline]
<popl> milardovich: no, you said it right. I just misread. :) I don't know how to do this in ruby. How I would do it in general would be to treat your binary number as a string (since it needs no conversion) then just prepend however many zeroes you need to
Voodoofish430 has quit [Quit: Leaving.]
<jackal_af> ah…thanks. I'm working through an example that's using the Kafka (message queue service) but requires 'kafka'. Looks like an author fail.
sailias has joined #ruby
jimg has joined #ruby
<milardovich> popl, I see, I thought it in the same way, but I was so lazy to hand-code a function for doing that
<milardovich> And I thought there would be a "built-in" way to do that
<popl> maybe those formats
gr4yscale has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<popl> I haven't looked at them yet
<milardovich> I will take a look
_theriffer_ has quit [Client Quit]
io_syl has quit [Quit: Computer has gone to sleep.]
_theriffer_ has joined #ruby
danslo has joined #ruby
iunruh has joined #ruby
<mnemon> milardovich: if you always have the correct number(don't need to convert it to binary) just use d instead of b
<milardovich> mnemon, I just find this function -> "mynumber".rjust(10, '0')
<milardovich> I think it does exactly what I need
<mnemon> yeh
<milardovich> mnemon, I couldn't use the number directly, because I need to convert it to binary first
nari has quit [Ping timeout: 268 seconds]
<mnemon> you could use popls example to convert it into binary in the right format though ...
<mnemon> unless you need to do something funny like convert it to big endian :)
<milardovich> mnemon, you are right, I was using Ruby's to_i(2) function
jimg has quit [Remote host closed the connection]
sevenseacat has joined #ruby
freerobby has quit [Ping timeout: 256 seconds]
Weems has quit [Ping timeout: 264 seconds]
mansi has joined #ruby
timkohrumel has quit [Remote host closed the connection]
iamjarvo has quit [Quit: Leaving.]
machuga|away is now known as machuga
kokobaby has quit [Ping timeout: 256 seconds]
jimg has joined #ruby
jasonkuhrt has quit [Quit: Leaving...]
kokobaby has joined #ruby
freerobby has joined #ruby
chrishough has joined #ruby
_theriffer_ has quit [Quit: _theriffer_]
psy17 has joined #ruby
iunruh has left #ruby [#ruby]
jonahR has joined #ruby
kadoo has joined #ruby
kofno has joined #ruby
pskosinski has quit [Quit: pskosinski]
subbyyy has quit [Read error: Connection reset by peer]
wu_lmao has joined #ruby
subbyyy has joined #ruby
athst has joined #ruby
sarkis has quit [Ping timeout: 276 seconds]
ttt has joined #ruby
ntus1017 has quit [Ping timeout: 240 seconds]
osvico has quit []
ssvo has joined #ruby
gchristensen has joined #ruby
<gchristensen> if delayed_job gets a kill signal, will it immediately exit, or trap the signal until the current job is done?
kokobaby has quit [Ping timeout: 256 seconds]
Mattix has joined #ruby
Domon has joined #ruby
dankest has quit [Quit: Leaving...]
LennyLinux has quit [Remote host closed the connection]
nari has joined #ruby
slash_nick has quit [Ping timeout: 252 seconds]
Inside has joined #ruby
Inside has quit [Changing host]
Inside has joined #ruby
jimg has quit [Remote host closed the connection]
RonScagz has quit [Quit: Linkinus - http://linkinus.com]
fomatin has quit [Quit: Computer has gone to sleep.]
ninegrid has quit [Ping timeout: 240 seconds]
richiebkr has joined #ruby
bradhe has quit [Remote host closed the connection]
bradhe has joined #ruby
iamjarvo has joined #ruby
jimg has joined #ruby
tylersmith has joined #ruby
ninegrid has joined #ruby
burlyscudd has quit [Quit: Leaving.]
postmodern has quit [Ping timeout: 240 seconds]
martxel has quit [Ping timeout: 264 seconds]
bradhe has quit [Ping timeout: 268 seconds]
Hanmac2 has joined #ruby
poincare101 has quit [Quit: Leaving.]
bradhe has joined #ruby
tylersmith has quit [Ping timeout: 264 seconds]
Hanmac has quit [Ping timeout: 252 seconds]
radic_ has joined #ruby
philcrissman_ has joined #ruby
sonne has quit [Ping timeout: 264 seconds]
jackal_af1 has joined #ruby
jackal_af has quit [Read error: Operation timed out]
radic has quit [Ping timeout: 260 seconds]
jimg has quit [Remote host closed the connection]
jds has quit [Ping timeout: 246 seconds]
fomatin has joined #ruby
maycon has joined #ruby
maycon has joined #ruby
maycon has quit [Changing host]
mocfive has quit [Remote host closed the connection]
_Renegade has quit [Quit: _Renegade]
falkoner has quit [Quit: Leaving.]
rafb3_ has quit [Remote host closed the connection]
iamjarvo1 has joined #ruby
icole has joined #ruby
mocfive has joined #ruby
bradhe has quit [Remote host closed the connection]
freestyl3r has joined #ruby
pitzips has joined #ruby
_theriffer_ has joined #ruby
tkuchiki_ has joined #ruby
<freestyl3r> Hello. i have a good grasp in C language and i'm looking to learn some ruby now. Can anyone recommend me a book that will quicly introduce me to ruby?
<freestyl3r> i had a look at the "pickaxe" book but i feel 900 pages is too much to go through. i want something quicker
tkuchiki has quit [Read error: Connection reset by peer]
iamjarvo has quit [Ping timeout: 264 seconds]
philcrissman_ has quit [Remote host closed the connection]
Apane has quit [Ping timeout: 276 seconds]
braincrash has joined #ruby
braincra- has quit [Read error: Operation timed out]
icole has quit [Ping timeout: 264 seconds]
carlyle has quit [Remote host closed the connection]
philcrissman_ has joined #ruby
sambao21 has joined #ruby
hadees has joined #ruby
Aaaarg has quit [Quit: Aaaarg]
gazarsgo has joined #ruby
crazysim has quit [Excess Flood]
<L8D> freestyl3r: I'd recommend use http://codecademy.com to get used to the syntax
<L8D> Then just use http://ruby-doc.org from there
dmiller has joined #ruby
crazysim has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
kadoo has quit [Ping timeout: 246 seconds]
postmodern has joined #ruby
Oddnoun_ has joined #ruby
<freestyl3r> but if you had to recommend an intermediate book?
Apane has joined #ruby
<L8D> Sorry...Ruby has been changing so fast it would be hard to make a book be up to date.
nettoweb has joined #ruby
Oddnoun has quit [Ping timeout: 256 seconds]
<L8D> I haven't used any actual 'books' on ruby
Oddnoun_ is now known as Oddnoun
kokobaby has joined #ruby
havenwood has joined #ruby
Oddnoun_ has joined #ruby
mduvall has joined #ruby
digitalcake has joined #ruby
<digitalcake> what is the best way to make integers human readable such as turning 1000 -> "1,000"
Oddnoun has quit [Ping timeout: 240 seconds]
Oddnoun_ is now known as Oddnoun
* L8D is working on that
milardovich has quit [Quit: Leaving]
digitalcake has quit [Client Quit]
digitalcake1 has joined #ruby
gazarsgo has quit [Quit: gazarsgo]
rupee has quit [Quit: Leaving]
Dekade has quit [Read error: Connection reset by peer]
jds has joined #ruby
jasonkuhrt has joined #ruby
kadoo has joined #ruby
mikepack has joined #ruby
jimg has joined #ruby
freestyl3r has left #ruby ["WeeChat 0.4.1"]
<popl> digitalcake1: are you using rails?
mocfive has quit [Remote host closed the connection]
<popl> there's a rails function to do it but otherwise you'll have to roll your own
<havenwood> digitalcake1: Dunno best way. Just put together this method chaining way that keep it an enumerable most of the time: 1000.to_s.each_char.reverse_each.each_slice(3).reverse_each.map(&:join).join(',')
<havenwood> digitalcake1: regex would be shorter
<popl> uh
mikepack has quit [Ping timeout: 240 seconds]
tkuchiki_ has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby
mocfive has joined #ruby
hadees has quit [Quit: hadees]
timkohrumel has joined #ruby
JumpMast3r has quit [Quit: JumpMast3r]
nitrodex has quit [Ping timeout: 260 seconds]
mduvall has quit [Quit: mduvall]
iamjarvo has joined #ruby
Weems has joined #ruby
pitzips has quit [Ping timeout: 268 seconds]
<digitalcake1> just found http://api.rubyonrails.org/classes/ActionView/Helpers/NumberHelper.html#method-i-number_with_delimiter looks like what I wanted but I some how missed it when first googling
ShapeShifter499 has quit [Ping timeout: 260 seconds]
nitrodex has joined #ruby
Weems has quit [Changing host]
Weems has joined #ruby
ereslibre has joined #ruby
ereslibre has quit [Changing host]
ereslibre has joined #ruby
nitrodex is now known as Guest36903
tobiasvl has quit [Ping timeout: 260 seconds]
pcarrier__ has joined #ruby
aalmenar has joined #ruby
aalmenar has quit [Changing host]
aalmenar has joined #ruby
<digitalcake1> thanks for pointing me in the right direction
pitzips has joined #ruby
aalmenar_ has quit [Read error: Connection reset by peer]
pcarrier_ has quit [Read error: Connection reset by peer]
ereslibre_laptop has quit [Read error: Connection reset by peer]
iamjarvo1 has quit [Ping timeout: 276 seconds]
tobiasvl has joined #ruby
krz has joined #ruby
<popl> digitalcake1: no worries
jasonkuhrt has quit [Ping timeout: 240 seconds]
JumpMast3r has joined #ruby
<havenwood> rails splits on '.', then gsub /(\d)(?=(\d\d\d)+(?!\d))/ and join
philcrissman_ has quit [Read error: Connection reset by peer]
<havenwood> simpler if you don't need to handle decimals
philcrissman_ has joined #ruby
zeade has quit [Quit: Leaving.]
<L8D> There is still a bug in both of those
timkohrumel has quit [Ping timeout: 276 seconds]
<L8D> With 0's at the beginning
jimg has quit [Ping timeout: 264 seconds]
lfitz has joined #ruby
<havenwood> L8D: 00100; #=> 64
splittingred has quit [Quit: splittingred]
<L8D> ?
<L8D> No
hogeo has quit [Quit: Leaving...]
pitzips has quit [Quit: Leaving]
<L8D> Whoops
<L8D> It ran fine on my end...
<havenwood> L8D: Oh, oops! Yeah... >.>
ShapeShifter499 has joined #ruby
sarkis has joined #ruby
<havenwood> L8D: My method is kinda bad, sec.
Fezzler has joined #ruby
devyn_ has joined #ruby
devyn has quit [Read error: Connection reset by peer]
bigmac has joined #ruby
<havenwood> L8D: .to_s.reverse.each_char.each_slice(3).reverse_each.map { |e| e.join.reverse }.join(',')
nettoweb has quit [Quit: nettoweb]
Spooner has quit [Remote host closed the connection]
falkoner has joined #ruby
agjacome has quit [Quit: leaving]
splittingred has joined #ruby
chrishough has quit [Quit: chrishough]
redgirl has quit [Quit: This computer has gone to sleep]
redgirl has joined #ruby
<havenwood> L8D: Slowly I'm getting less insane answers... >.>: to_s.reverse.each_char.each_slice(3).map(&:join).join(',').reverse
Oddnoun has quit [Remote host closed the connection]
kenmaz has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
jasonkuhrt has joined #ruby
jasonkuhrt has quit [Client Quit]
<L8D> That doesn't seem insane at all
Oddnoun has joined #ruby
mansi has quit [Remote host closed the connection]
mansi has joined #ruby
kenneth has quit [Quit: kenneth]
richiebkr has quit [Quit: richiebkr]
Oddnoun has quit [Client Quit]
verto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sambao21 has quit [Quit: Computer has gone to sleep.]
mansi has quit [Ping timeout: 252 seconds]
<havenwood> L8D: to_s.reverse.scan(/.{1,3}/).join(',').reverse
gyre007 has quit [Remote host closed the connection]
jds has quit [Ping timeout: 240 seconds]
<L8D> Now we're talking
<havenwood> yeah, i'm more happy with the last one
<L8D> poor digitalcake1
<L8D> He didn't get that answer
<digitalcake1> ?
chrishough has joined #ruby
<L8D> He was the one who asking for it...
<L8D> OMG! why do I already have 45 downloads of my gem?
<digitalcake1> wow looks like I missed some fun
<L8D> Stawp it pipl
<popl> havenwood: -300
slash_nick has joined #ruby
slash_nick has quit [Changing host]
slash_nick has joined #ruby
girija has joined #ruby
<digitalcake1> why is it the room gets chatty the second I stop looking
<havenwood> popl: I have to handle negatives? :O
<popl> it's a fair assumption
kenmaz has quit [Remote host closed the connection]
<havenwood> popl: good point...
<L8D> All you'd need to do is remove the first ',' if the total amount of digits is divisible by 3
richiebkr has joined #ruby
<popl> L8D: like how?
carlyle has joined #ruby
<L8D> .to_s.length % 3 == 0 ? to_s.reverse.scan(/.{1,3}/).join(',').reverse : to_s.reverse.scan(/.{1,3}/).join(',').reverse.gsub(/\A,/, '')
burlyscudd has joined #ruby
<L8D> Wait no...
<popl> heh heh
<popl> :)
t_p has joined #ruby
<popl> it gets hairy quick
<L8D> .to_s.length % 3 == 0 ? to_s.reverse.scan(/.{1,3}/).join(',').reverse.gsub(/\A,/, '') : to_s.reverse.scan(/.{1,3}/).join(',').reverse
mocfive has quit [Remote host closed the connection]
butblack has left #ruby [#ruby]
kokobaby has quit [Ping timeout: 252 seconds]
tw1sted has quit [Quit: tw1sted]
rafb3 has joined #ruby
<L8D> wta
<L8D> wat
<L8D> How do you remove the first character of a string???
<popl> L8D: you should also consider that it may be a float
vlad_starkov has joined #ruby
<L8D> Well, you could just do s[1..-1]
bradhe has joined #ruby
<havenwood> popl: I think he's wanting to monkeypatch Fixnum so no floats
<popl> oh
kdaigle has joined #ruby
<havenwood> negatives are totally fair game though
<popl> I barely even know ruby. :) It's not an entirely trivial task in any language though.
girija has quit [Ping timeout: 248 seconds]
rezzack has quit [Quit: Leaving.]
sailias has quit [Quit: Leaving.]
heftig has quit [Ping timeout: 245 seconds]
adkron__ has quit [Ping timeout: 241 seconds]
rafb3 has quit [Ping timeout: 264 seconds]
carlyle has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Ping timeout: 248 seconds]
Opettaja has quit [Quit: WeeChat 0.4.1]
heftig has joined #ruby
kokobaby has joined #ruby
bradhe has quit [Ping timeout: 256 seconds]
bradleyprice has quit [Ping timeout: 276 seconds]
DomKM1 has quit [Quit: Leaving.]
adkron_ has joined #ruby
mansi has joined #ruby
cj3kim has joined #ruby
sethetter has joined #ruby
mansi has quit [Remote host closed the connection]
sethetter has left #ruby [#ruby]
mansi has joined #ruby
synthetix has joined #ruby
slyv has quit [Quit: Textual IRC Client: www.textualapp.com]
mansi has quit [Ping timeout: 248 seconds]
<popl> can you just assign neg = s[0] == '-
<popl> '
<popl> probably less readable
jds has joined #ruby
<havenwood> popl: no, i like it
<havenwood> popl: I think very much better, more concise and rubyish
<popl> hm
kil0byte has quit [Ping timeout: 240 seconds]
<havenwood> everything is an expression :)
chrisramon has joined #ruby
danslo has quit [Quit: danslo]
kdaigle has left #ruby ["Textual IRC Client: www.textualapp.com"]
jimg has joined #ruby
athst has quit [Quit: athst]
bean has joined #ruby
digitalcake1 has quit [Quit: Leaving.]
gyre007 has joined #ruby
synthetix has quit [Remote host closed the connection]
robscomputer has joined #ruby
sweet_kid has quit [Ping timeout: 246 seconds]
lfitz has quit [Quit: Leaving]
ohcibi_ has joined #ruby
kalleth_ has joined #ruby
ezkl has joined #ruby
ohcibi has quit [Ping timeout: 246 seconds]
kalleth has quit [Ping timeout: 246 seconds]
robscomputer has quit [Remote host closed the connection]
asuka has quit [Ping timeout: 246 seconds]
cool has quit [Ping timeout: 248 seconds]
chuk has quit [Ping timeout: 248 seconds]
ziyadb has quit [Ping timeout: 248 seconds]
sweet_kid has joined #ruby
iamjarvo has quit [Quit: Leaving.]
jimg has quit [Ping timeout: 276 seconds]
sross has joined #ruby
kil0byte has joined #ruby
telling has quit [Ping timeout: 248 seconds]
mehwork has joined #ruby
telling has joined #ruby
<mehwork> anyone know if the rake plugin for jenkins works well?
<havenwood> leeeeeeroy
gyre007 has quit [Ping timeout: 268 seconds]
Fezzler has quit [Quit: Leaving]
<havenwood> mehwork: I haven't used the rake plugin. It doesn't seem to be maintained, but I can't tell.
tkuchiki has quit [*.net *.split]
crazysim has quit [*.net *.split]
adkron_ has quit [*.net *.split]
Mattix has quit [*.net *.split]
ssvo has quit [*.net *.split]
kofno has quit [*.net *.split]
jonahR has quit [*.net *.split]
jgoss has quit [*.net *.split]
ChristianS has quit [*.net *.split]
byprdct has quit [*.net *.split]
aces1up has quit [*.net *.split]
tommyvyo has quit [*.net *.split]
weeb1e has quit [*.net *.split]
echevemaster has quit [*.net *.split]
moshee has quit [*.net *.split]
jaimef has quit [*.net *.split]
Jb___ has quit [*.net *.split]
Nahra has quit [*.net *.split]
airtonix has quit [*.net *.split]
ryotarai has quit [*.net *.split]
shtirlic has quit [*.net *.split]
[0x1a] has quit [*.net *.split]
Blue_Ice has quit [*.net *.split]
ichilton has quit [*.net *.split]
erichmenge has quit [*.net *.split]
MrZYX|off has quit [*.net *.split]
oz has quit [*.net *.split]
mumblerit has quit [*.net *.split]
kennyvb has quit [*.net *.split]
MrThePlague has quit [*.net *.split]
bier has quit [*.net *.split]
wereHamster has quit [*.net *.split]
mlue has quit [*.net *.split]
ericwood has quit [*.net *.split]
defrag1 has quit [*.net *.split]
ejnahc has quit [*.net *.split]
bnagy has quit [*.net *.split]
chee has quit [*.net *.split]
fcoury has quit [*.net *.split]
Muz has quit [*.net *.split]
MarcWeber has quit [*.net *.split]
wting has quit [*.net *.split]
crazedpsyc has quit [*.net *.split]
msch has quit [*.net *.split]
willrax has quit [*.net *.split]
ahuman has quit [*.net *.split]
tessi has quit [*.net *.split]
calmyournerves has quit [*.net *.split]
rtl has quit [*.net *.split]
slightair has quit [*.net *.split]
patronus has quit [*.net *.split]
Gate has quit [*.net *.split]
octarine has quit [*.net *.split]
skinny_much has quit [*.net *.split]
xefi_ has quit [*.net *.split]
ayonix has quit [*.net *.split]
gf3 has quit [*.net *.split]
mburns has quit [*.net *.split]
Galaxor has quit [*.net *.split]
phite is now known as tessi
wyrd1 has joined #ruby
redgirl has quit [Read error: Connection reset by peer]
<havenwood> mehwork: A few issues have come in, but no commits in over a year: https://github.com/jenkinsci/rake-plugin
burlyscudd has quit [*.net *.split]
bean has quit [*.net *.split]
splittingred has quit [*.net *.split]
Domon has quit [*.net *.split]
GeissT has quit [*.net *.split]
psy17 has quit [*.net *.split]
skasio has quit [*.net *.split]
AlSquire has quit [*.net *.split]
Brando753 has quit [*.net *.split]
robbyoconnor has quit [*.net *.split]
ehaliewicz has quit [*.net *.split]
Villadelfia has quit [*.net *.split]
Guga_ has quit [*.net *.split]
northelks has quit [*.net *.split]
wildcard0 has quit [*.net *.split]
Fire-Dragon-DoL has quit [*.net *.split]
jcromartie has quit [*.net *.split]
patteh has quit [*.net *.split]
fuleo has quit [*.net *.split]
Naeblis has quit [*.net *.split]
dnyy has quit [*.net *.split]
notbrent__ has quit [*.net *.split]
mtlatif__ has quit [*.net *.split]
Niamkik has quit [*.net *.split]
cjk101010 has quit [*.net *.split]
darrik has quit [*.net *.split]
krishna has quit [*.net *.split]
kenichi has quit [*.net *.split]
halfie has quit [*.net *.split]
xybre has quit [*.net *.split]
Eiam has quit [*.net *.split]
monomyth has quit [*.net *.split]
lupine has quit [*.net *.split]
bsdbandit has quit [*.net *.split]
sindork has quit [*.net *.split]
AllStruck has quit [*.net *.split]
bklang has quit [*.net *.split]
brian` has quit [*.net *.split]
framling has quit [*.net *.split]
jolleyjoe has quit [*.net *.split]
DrCode has quit [*.net *.split]
tacos1de has quit [*.net *.split]
Kabaka has quit [*.net *.split]
end_guy has quit [*.net *.split]
Bry8Star{T2 has quit [*.net *.split]
<havenwood> I guess if something is done right, and nothing upstream breaks, no need to commit.
slash_nick has quit [Ping timeout: 266 seconds]
Mattix has joined #ruby
airtonix has joined #ruby
ChristianS has joined #ruby
echevemaster has joined #ruby
aces1up has joined #ruby
[0x1a] has joined #ruby
ericwood has joined #ruby
MarcWeber has joined #ruby
MrThePlague has joined #ruby
jaimef has joined #ruby
MrZYX|off has joined #ruby
tkuchiki has joined #ruby
tommyvyo has joined #ruby
ichilton has joined #ruby
mlue has joined #ruby
ssvo has joined #ruby
msch has joined #ruby
xefi_ has joined #ruby
weeb1e has joined #ruby
chee has joined #ruby
bier has joined #ruby
rtl has joined #ruby
ahuman has joined #ruby
fcoury has joined #ruby
Gate has joined #ruby
Nahra has joined #ruby
kennyvb has joined #ruby
oz has joined #ruby
gf3 has joined #ruby
moshee has joined #ruby
mumblerit has joined #ruby
willrax has joined #ruby
crazysim has joined #ruby
wereHamster has joined #ruby
erichmenge has joined #ruby
calmyournerves has joined #ruby
byprdct has joined #ruby
crazedpsyc has joined #ruby
slightair has joined #ruby
jonahR has joined #ruby
ryotarai has joined #ruby
wting has joined #ruby
shtirlic has joined #ruby
skinny_much has joined #ruby
patronus has joined #ruby
92AAASRLC has joined #ruby
Galaxor has joined #ruby
ejnahc has joined #ruby
jgoss has joined #ruby
Muz has joined #ruby
defrag1 has joined #ruby
kofno has joined #ruby
Jb___ has joined #ruby
bnagy has joined #ruby
ayonix has joined #ruby
mburns has joined #ruby
adkron_ has joined #ruby
Blue_Ice has joined #ruby
octarine has joined #ruby
slash_nick has joined #ruby
slash_nick has joined #ruby
slash_nick has quit [Changing host]
<havenwood> That rarely seems to be the case though. Usually room to improve unless the problem domain is miniscule.
airtonix has quit [Max SendQ exceeded]
ejnahc has quit [Max SendQ exceeded]
wyrd11 has joined #ruby
ejnahc has joined #ruby
asuka_ has joined #ruby
burlyscudd has joined #ruby
robscomputer_ has joined #ruby
redgirl_ has joined #ruby
psy17 has joined #ruby
splittingred has joined #ruby
Domon has joined #ruby
ehaliewicz has joined #ruby
skasio has joined #ruby
AlSquire has joined #ruby
Guga_ has joined #ruby
GeissT has joined #ruby
northelks has joined #ruby
DrCode has joined #ruby
Brando753 has joined #ruby
jcromartie has joined #ruby
Villadelfia has joined #ruby
robbyoconnor has joined #ruby
tacos1de has joined #ruby
patteh has joined #ruby
end_guy has joined #ruby
wildcard0 has joined #ruby
fuleo has joined #ruby
Naeblis has joined #ruby
kenichi has joined #ruby
notbrent__ has joined #ruby
Niamkik has joined #ruby
Bry8Star{T2 has joined #ruby
cjk101010 has joined #ruby
lupine has joined #ruby
bklang has joined #ruby
mtlatif__ has joined #ruby
xybre has joined #ruby
Eiam has joined #ruby
bsdbandit has joined #ruby
monomyth has joined #ruby
dnyy has joined #ruby
AllStruck has joined #ruby
sindork has joined #ruby
krishna has joined #ruby
halfie has joined #ruby
darrik has joined #ruby
framling has joined #ruby
jolleyjoe has joined #ruby
wyrd11 has quit [K-Lined]
Nahra1 has joined #ruby
brian` has joined #ruby
scrollback has quit [K-Lined]
tkuchiki has quit [*.net *.split]
adkron_ has quit [*.net *.split]
ssvo has quit [*.net *.split]
Mattix has quit [*.net *.split]
kofno has quit [*.net *.split]
crazysim has quit [*.net *.split]
jonahR has quit [*.net *.split]
jgoss has quit [*.net *.split]
tommyvyo has quit [*.net *.split]
ChristianS has quit [*.net *.split]
byprdct has quit [*.net *.split]
aces1up has quit [*.net *.split]
weeb1e has quit [*.net *.split]
moshee has quit [*.net *.split]
echevemaster has quit [*.net *.split]
Jb___ has quit [*.net *.split]
jaimef has quit [*.net *.split]
shtirlic has quit [*.net *.split]
ryotarai has quit [*.net *.split]
Nahra has quit [*.net *.split]
Blue_Ice has quit [*.net *.split]
[0x1a] has quit [*.net *.split]
ichilton has quit [*.net *.split]
erichmenge has quit [*.net *.split]
mumblerit has quit [*.net *.split]
MrThePlague has quit [*.net *.split]
oz has quit [*.net *.split]
MrZYX|off has quit [*.net *.split]
kennyvb has quit [*.net *.split]
bier has quit [*.net *.split]
wereHamster has quit [*.net *.split]
Muz has quit [*.net *.split]
chee has quit [*.net *.split]
defrag1 has quit [*.net *.split]
ericwood has quit [*.net *.split]
bnagy has quit [*.net *.split]
mlue has quit [*.net *.split]
fcoury has quit [*.net *.split]
wting has quit [*.net *.split]
crazedpsyc has quit [*.net *.split]
msch has quit [*.net *.split]
MarcWeber has quit [*.net *.split]
rtl has quit [*.net *.split]
ahuman has quit [*.net *.split]
slightair has quit [*.net *.split]
willrax has quit [*.net *.split]
92AAASRLC has quit [*.net *.split]
calmyournerves has quit [*.net *.split]
ayonix has quit [*.net *.split]
patronus has quit [*.net *.split]
Gate has quit [*.net *.split]
xefi_ has quit [*.net *.split]
skinny_much has quit [*.net *.split]
octarine has quit [*.net *.split]
mburns has quit [*.net *.split]
gf3 has quit [*.net *.split]
Galaxor has quit [*.net *.split]
Brando753 has quit [Max SendQ exceeded]
wyrd1 has quit [Client Quit]
Brando753 has joined #ruby
arya_ has quit [Ping timeout: 254 seconds]
wyrd1 has joined #ruby
redgirl has joined #ruby
redgirl_ has quit [Read error: Connection reset by peer]
airtonix has joined #ruby
adkron_ has joined #ruby
tkuchiki has joined #ruby
jonahR has joined #ruby
tommyvyo has joined #ruby
aces1up has joined #ruby
crazysim has joined #ruby
byprdct has joined #ruby
MarcWeber has joined #ruby
weeb1e has joined #ruby
Nahra has joined #ruby
kofno has joined #ruby
ssvo has joined #ruby
Mattix has joined #ruby
ryotarai has joined #ruby
Jb___ has joined #ruby
mburns has joined #ruby
[0x1a] has joined #ruby
jgoss has joined #ruby
shtirlic has joined #ruby
Blue_Ice has joined #ruby
moshee has joined #ruby
ichilton has joined #ruby
erichmenge has joined #ruby
ericwood has joined #ruby
mlue has joined #ruby
92AAASRLC has joined #ruby
wting has joined #ruby
defrag1 has joined #ruby
echevemaster has joined #ruby
bier has joined #ruby
Muz has joined #ruby
gf3 has joined #ruby
MrZYX|off has joined #ruby
skinny_much has joined #ruby
kennyvb has joined #ruby
ahuman has joined #ruby
slightair has joined #ruby
patronus has joined #ruby
MrThePlague has joined #ruby
octarine has joined #ruby
wereHamster has joined #ruby
ayonix has joined #ruby
mumblerit has joined #ruby
fcoury has joined #ruby
ChristianS has joined #ruby
bnagy has joined #ruby
calmyournerves has joined #ruby
Gate has joined #ruby
oz has joined #ruby
rtl has joined #ruby
willrax has joined #ruby
jaimef has joined #ruby
chee has joined #ruby
xefi_ has joined #ruby
Galaxor has joined #ruby
crazedpsyc has joined #ruby
msch has joined #ruby
ElderFain_ has quit [Remote host closed the connection]
Kabaka has joined #ruby
benlieb has joined #ruby
ElderFain has joined #ruby
ehaliewicz has quit [Remote host closed the connection]
carlyle has joined #ruby
<mehwork> hmm
<mehwork> i hate the idea of using ant xml
<mehwork> but ant is stable
<mehwork> and the plugin
arya has joined #ruby
Alina-malina has quit [Ping timeout: 256 seconds]
Guga_ has quit [Quit: ~]
carlyle has quit [Remote host closed the connection]
Hanmac1 has quit [Ping timeout: 240 seconds]
cads has joined #ruby
deavidsedice has quit [Read error: Connection reset by peer]
deavid has joined #ruby
arietis has joined #ruby
ezkl has quit [Ping timeout: 268 seconds]
tommyvyo has quit [Quit:]
ananthakumaran has joined #ruby
jds has quit [Ping timeout: 276 seconds]
tommyvyo has joined #ruby
iamjarvo has joined #ruby
lyanchih has quit [Quit: lyanchih]
ner0x has quit [Quit: Leaving]
hawtin has quit [Ping timeout: 240 seconds]
batman has joined #ruby
<batman> How would I read keyboard presses in ruby? Counting letter presses
<batman> Win32
kadoo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hanmac has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
Deele has joined #ruby
rippa has joined #ruby
<mehwork> with a mechanical turk
harrymoreno has quit [Quit: harrymoreno]
Treeson has quit [Ping timeout: 252 seconds]
iamjarvo has quit [Ping timeout: 240 seconds]
krainboltgreene has joined #ruby
<batman> thanks slash_nick
cj3kim has quit [Remote host closed the connection]
<slash_nick> batman: just check http://ruby-doc.org/core-2.0/IO.html out
chrisramon has quit [Quit: chrisramon]
ssvo has quit [Ping timeout: 256 seconds]
<batman> slash_nick, I don't think ruby gives access to low level io does it? I don't want to record keystrokes in a terminal, I want to monitor my daily letter presses
<batman> in browser/gaming/etc
bigmac has quit [Quit: Leaving]
<slash_nick> I don't think you'll find what you're looking for in ruby core, no
bradleyprice has joined #ruby
pipework has joined #ruby
tylersmith has joined #ruby
cj3kim has joined #ruby
<batman> ok slash_nick
<batman> ty
Davey has joined #ruby
fomatin has quit [Quit: Computer has gone to sleep.]
fomatin has joined #ruby
fomatin has quit [Client Quit]
subbyyy has quit [Ping timeout: 268 seconds]
sarkis has quit [Ping timeout: 240 seconds]
chrishough has quit [Quit: chrishough]
r0bgleeson has joined #ruby
krz has quit [Ping timeout: 268 seconds]
mansi has joined #ruby
x1337807x has joined #ruby
kil0byte has quit [Remote host closed the connection]
philcrissman_ has quit [Remote host closed the connection]
TIJ has joined #ruby
tonini has joined #ruby
<pontiki> hmm, ruby as a keypress logger...
<L8D> o.O
burlyscudd has quit [Quit: Leaving.]
<batman> pontiki, one day
<batman> until that day, I'll have to dig deeper
<batman> into c.
<slash_nick> yup
dankest has joined #ruby
<slash_nick> gosu, batman ... wonder if pieces of it would help
<slash_nick> or it
<L8D> Can you code ruby libs in C
<batman> inline c in ruby is possible
<havenwood> L8D: C-ext
<batman> yes
cfi30 has joined #ruby
<batman> but then you might as well do it in c
<batman> for such a simple proggy
krz has joined #ruby
Alina-malina has joined #ruby
<L8D> Well, what if I wanted a lib for ruby that preforms something at a very low level?
mansi has quit [Ping timeout: 268 seconds]
<havenwood> dun terminals usually have loggers? looking to write something that responds upon keystroke?
<L8D> require 'io.console'
jds has joined #ruby
lyanchih has joined #ruby
<slash_nick> io/console
tommyvyo has quit [Quit:]
<havenwood> slash_nick: nice, i setup a little play city with arduino stoplights and crosswalks but having TravisCI build fails physically shock me would be pretty cool
<L8D> require 'io/console'
<L8D> i = io.console.getch
<slash_nick> $stdio.getch ?
<slash_nick> is io.console a thing?
<slash_nick> oops, stdin
<slash_nick> havenwood: totally doable... :)
Beoran has quit [Ping timeout: 252 seconds]
mansi has joined #ruby
<pontiki> L8D: there are lot of such things, including a fair bit of ruby itself
kadoo has joined #ruby
<pontiki> havenwood: some people find other uses for keyloggers as well....
<pontiki> slash_nick: io/console is a library of methods
robscomputer_ has quit [Ping timeout: 264 seconds]
<slash_nick> pontiki: i know...
davedev24 has quit [Remote host closed the connection]
<pontiki> oh ok
<pontiki> guess i wasn't sure what you meant by io.console
<slash_nick> I should've flagged a nick, pontiki :)
<pontiki> no worries
ivanoats has joined #ruby
mansi has quit [Ping timeout: 246 seconds]
Inside has quit [Ping timeout: 264 seconds]
arya has quit [Ping timeout: 252 seconds]
artemeff has joined #ruby
artemeff has left #ruby [#ruby]
harrymoreno has joined #ruby
subbyyy has joined #ruby
splittingred has quit [Quit: splittingred]
lyanchih has quit [Quit: lyanchih]
bean has joined #ruby
fomatin has joined #ruby
arya has joined #ruby
cfi30 has quit [Quit: Page closed]
brennanMKE has joined #ruby
bean has quit [Ping timeout: 256 seconds]
kokobaby has quit [Ping timeout: 246 seconds]
tylersmith has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
TIJ has quit [Quit: Konversation terminated!]
dhruvasagar has joined #ruby
hadees has joined #ruby
butblack has joined #ruby
amh345 has joined #ruby
kadoo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<amh345> I'm using FileUtils.cp(src,dest) to push files to a usb stick. what's the best way to know when the file is completed?
ngoldman has joined #ruby
zeade has joined #ruby
postmodern has quit [Ping timeout: 264 seconds]
rippa has quit [Ping timeout: 248 seconds]
lyanchih has joined #ruby
kokobaby has joined #ruby
ssvo has joined #ruby
Beoran has joined #ruby
kadoo has joined #ruby
redgirl has quit [Read error: Connection reset by peer]
redgirl_ has joined #ruby
hackeron_ has joined #ruby
splittingred has joined #ruby
hackeron has quit [Ping timeout: 255 seconds]
jimg has joined #ruby
byprdct has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DomKM has joined #ruby
butblack has left #ruby [#ruby]
ping-pong has quit [Ping timeout: 248 seconds]
<slash_nick> amh345: could you poll the stick performing some kind of checksum?
kadoo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<amh345> slash_nick: just keep checking src against destination?
<amh345> in a while loop or something?
jimg has quit [Ping timeout: 256 seconds]
<slash_nick> would that work for you?
<amh345> good question. googlin it now
<amh345> while is probably not the way
<amh345> but i get what you're saying.
girija has joined #ruby
<slash_nick> it's a thought :)
<amh345> :)
EPIK has quit [Ping timeout: 264 seconds]
himsin has joined #ruby
fomatin has quit [Quit: Computer has gone to sleep.]
kil0byte has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
splittingred has quit [Quit: splittingred]
pootler_ has joined #ruby
hadees has quit [Quit: hadees]
bradleyprice has quit [Remote host closed the connection]
brennanMKE has quit [Ping timeout: 268 seconds]
bradleyprice has joined #ruby
moted has joined #ruby
harrymoreno has quit [Quit: harrymoreno]
dash_ has joined #ruby
ping-pong has joined #ruby
ngoldman has quit [Remote host closed the connection]
zeade has quit [Quit: Leaving.]
ngoldman has joined #ruby
DonRichie has joined #ruby
chrishough has joined #ruby
ezkl has joined #ruby
byprdct has joined #ruby
girija has quit [Ping timeout: 240 seconds]
burlyscudd has joined #ruby
ivanoats has quit [Remote host closed the connection]
martxel has joined #ruby
martxel is now known as Guest72379
brennanMKE has joined #ruby
vlad_starkov has joined #ruby
burlyscudd has quit [Ping timeout: 246 seconds]
kenmaz has joined #ruby
<amh345> hmm. this looks like it could be a bit more complex than expected. multiple processes and such
havenwood has joined #ruby
sonne has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
<slash_nick> in what context are you doing this
krainboltgreene has quit [Quit: krainboltgreene]
mansi has joined #ruby
pipework has quit [Remote host closed the connection]
kil0byte has quit [Read error: Connection timed out]
<amh345> slash_nick: i have an app that creates a gif. i have a webpage that when a gif is clicked-- pushes that gifs file to a usb stick.
kil0byte has joined #ruby
<amh345> i'd just like to know when the gif is copied over.
<amh345> it's so tiny. that it probably doesn't even matter. but i kind of want to know just for myself.
<popl> Is it a hidden webcam taking the gif?
<amh345> popl: yes!
<amh345> (no)
devyn_ has quit [Changing host]
devyn_ has joined #ruby
codecop has joined #ruby
cool has joined #ruby
Jackneill has joined #ruby
Jackneill has quit [Changing host]
ziyadb has joined #ruby
chuk has joined #ruby
ziyadb has joined #ruby
Jackneill has joined #ruby
devyn_ has quit [Quit: leaving]
tagrudev has joined #ruby
<amh345> i've got everything working end to end. but yeah, just knowing a nice way to monitor a files progress would be really handy.
devyn has joined #ruby
kenmaz has quit [Ping timeout: 276 seconds]
<amh345> way back when i did something like this . but i was in a bleary eyed state and totally do not remember any of it. or where the code even is.
timonv has joined #ruby
rezzack has joined #ruby
ananthakumaran has joined #ruby
postmodern has joined #ruby
mansi has quit [Ping timeout: 248 seconds]
cj3kim has quit [Read error: Connection reset by peer]
cj3kim has joined #ruby
kadoo has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
brennanMKE has quit [Remote host closed the connection]
girija has joined #ruby
twoism has joined #ruby
twoism has quit [Remote host closed the connection]
postmodern has quit [Ping timeout: 276 seconds]
twoism has joined #ruby
<slash_nick> what's this https://github.com/dgt79/FileUtils
kadoo has quit [Client Quit]
Apane has quit [Ping timeout: 264 seconds]
rezzack has quit [Quit: Leaving.]
<amh345> hrm
braoru has joined #ruby
ChristianS has quit [Excess Flood]
x1337807x has joined #ruby
ChristianS has joined #ruby
tomzx_mac has quit [Ping timeout: 264 seconds]
sayan has joined #ruby
zeade has joined #ruby
postmodern has joined #ruby
_Andres has joined #ruby
relix has joined #ruby
atmosx has joined #ruby
tylersmith has joined #ruby
zeade has quit [Ping timeout: 252 seconds]
Aaaarg has joined #ruby
deallocate has joined #ruby
echevemaster has quit [Remote host closed the connection]
_whitelogger_ has joined #ruby
rgoodwin has joined #ruby
timkohrumel has joined #ruby
Alina-malina has joined #ruby
jimeh has joined #ruby
samuelkadolph has joined #ruby
oddraisin has joined #ruby
thejoecarroll has joined #ruby
tessi has joined #ruby
ryan_turner has joined #ruby
MetaCosm has joined #ruby
timkohrumel has quit [Remote host closed the connection]
dmiller has quit [Remote host closed the connection]
tethra has joined #ruby
obs has joined #ruby
dankest has quit [Quit: Leaving...]
banjara has joined #ruby
ngoldman has quit [Remote host closed the connection]
<Mon_Ouie> slash_nick: If you passed a block to that method then it will call it with src and progress as arguments
workmad3 has joined #ruby
jimg has quit [Ping timeout: 256 seconds]
x1337807x has joined #ruby
<slash_nick> Mon_Ouie: yup... is it working out, amh345?
harrymoreno has joined #ruby
freerobby has quit [Quit: Leaving.]
bigmac is now known as i8igmac
<amh345> slash_nick: I'm trying to get fileutilscopy accessible. i keep returning NameError: uninitialized constant FileUtilsCopy
<amh345> but i've looked it over. and it looks like it's what i need.
<amh345> so thank you for posting it.
<slash_nick> very cool... would be interested in seeing the app you built, if it's available, amh345
arubin has quit [Quit: Textual IRC Client: www.textualapp.com]
<amh345> slash_nick: it's not, unfortunately. but every time i've discussed it in here and #rubyonrails i get flack.. because it's a flash app. :)
mduvall has joined #ruby
<sevenseacat> indeed
<amh345> but it's basically a photo booth kiosk.. but it will capture more than just a picture.
vlad_starkov has quit [Ping timeout: 256 seconds]
<amh345> yes. sevenseacats is one of the disgruntled. why? i don't know.
kobain has quit [Quit: El motor por excelencia http://www.europio.org/]
rezzack has quit [Quit: Leaving.]
pranny has joined #ruby
mmozuras has joined #ruby
mmozuras has quit [Client Quit]
andikr has joined #ruby
mmozuras has joined #ruby
mmozuras has quit [Client Quit]
mmozuras has joined #ruby
ayaz has joined #ruby
atmosx has quit [Quit: And so the story goes…]
Aaaarg has quit [Ping timeout: 276 seconds]
Aaaarg has joined #ruby
mmozuras has quit [Client Quit]
kenmaz has joined #ruby
krisfremen has quit [Ping timeout: 246 seconds]
aganov has joined #ruby
rezzack has joined #ruby
apeiros has quit [Remote host closed the connection]
r0bgleeson has quit [Ping timeout: 240 seconds]
mmozuras has joined #ruby
boblu has joined #ruby
mmozuras has quit [Client Quit]
oceanbreeze has joined #ruby
mmozuras has joined #ruby
<oceanbreeze> Sup guys, every day i need to download second file http://www.cbr.ru/mcirabis/?Prtid=bic on this url, id like to automate that process, where should i start?
<oceanbreeze> the file is names as tomorrow date, should i parse the date, and then if date is correct(tomorrow), file should be downloaded and placed in folder?
<oceanbreeze> Can you give me an idea how script should look like?
<oceanbreeze> bik_dc_2068_20062013.zip
<oceanbreeze> this one
Aaaarg has quit [Quit: Aaaarg]
JohnBat26 has joined #ruby
blaxter has joined #ruby
dfdf has joined #ruby
sayan has quit [Read error: Connection reset by peer]
krisfremen has joined #ruby
krisfremen has quit [Changing host]
krisfremen has joined #ruby
Aaaarg has joined #ruby
kenmaz has quit [Remote host closed the connection]
mansi has joined #ruby
kenmaz has joined #ruby
bradleyprice has quit [Remote host closed the connection]
brennanMKE has quit [Remote host closed the connection]
arya has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby
Liothen has quit [Ping timeout: 245 seconds]
mikepack has joined #ruby
bradhe has joined #ruby
dmiller has joined #ruby
mansi has quit [Ping timeout: 241 seconds]
kenmaz has quit [Ping timeout: 264 seconds]
Hanmac has quit [Quit: Leaving.]
workmad3 has quit [Ping timeout: 256 seconds]
kevinykchan has joined #ruby
kil0byte has joined #ruby
arya has joined #ruby
kil0byte has quit [Remote host closed the connection]
huoxito has quit [Quit: Leaving]
bradhe has quit [Remote host closed the connection]
jprovazn has joined #ruby
jdunck has joined #ruby
havenwood has quit [Remote host closed the connection]
dmiller has quit [Ping timeout: 240 seconds]
arya has quit [Ping timeout: 264 seconds]
cod3r__ has quit [Read error: Operation timed out]
mburns has quit [Quit: ZNC - http://znc.sourceforge.net]
chrishough has quit [Quit: chrishough]
rezzack has quit [Quit: Leaving.]
mengu_ has quit [Quit: This computer has gone to sleep]
quazimodo has joined #ruby
mburns has joined #ruby
Mattix has quit [Remote host closed the connection]
arya has joined #ruby
r0bgleeson has joined #ruby
haxrbyte has joined #ruby
kenmaz has joined #ruby
<amh345> slash_nick: i can't get these modules to function from my lib directory.
kenmaz has quit [Remote host closed the connection]
<amh345> i don't know what's up. but i think I'm going to call it a day.
poseid has joined #ruby
banjara has quit [Quit: Leaving.]
kenmaz has joined #ruby
<slash_nick> not far behind you... i cloned it, I might look at it sometime
arturaz has joined #ruby
threesome has quit [Ping timeout: 264 seconds]
yacks has quit [Quit: Leaving]
<amh345> i either got a load error, or if i got around that I'm getting an undefined method error. Dgt::FileUtilsCopy.copy(src,dest,blah blah)
filipe has joined #ruby
freerobby has joined #ruby
<amh345> Dgt::FileUtilsCopy returns though. so i don't get it. it's obviously something I'm missing.
mikepack has quit [Remote host closed the connection]
<amh345> oh ffs. I'm using console. def copy needs to be self.copy.
<amh345> ok, going to bed!
timonv has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
kenmaz has quit [Ping timeout: 256 seconds]
freerobby has quit [Ping timeout: 248 seconds]
haxrbyte has quit [Remote host closed the connection]
postmodern has joined #ruby
haxrbyte has joined #ruby
zigomir has joined #ruby
cod3r_ has joined #ruby
MachinSh1n has joined #ruby
Mon_Ouie has quit [Read error: No route to host]
Neener54 has joined #ruby
bionoid has joined #ruby
jds has quit [Remote host closed the connection]
jds has joined #ruby
DomKM has quit [Quit: Leaving.]
MachinSh1n has quit [Ping timeout: 248 seconds]
relix has quit [Read error: Connection reset by peer]
relix_ has joined #ruby
yacks has joined #ruby
azerton has joined #ruby
mduvall has quit [Quit: mduvall]
himsin_ has joined #ruby
himsin has quit [Ping timeout: 246 seconds]
himsin_ is now known as himsin
tonini has quit [Ping timeout: 248 seconds]
devoldmx has joined #ruby
tonini has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
subbyyy has quit [Ping timeout: 246 seconds]
himsin has quit [Read error: Connection reset by peer]
himsin has joined #ruby
Aristata has joined #ruby
<Aristata> DataMapper: Can anyone explain this weirdness to me? http://pastie.org/private/cqtwsfzwm6tj8iqhugzoig
i8igmac has quit [Quit: Leaving]
DomKM has joined #ruby
kenmaz has joined #ruby
ohcibi_ is now known as ohcibi
twoism has quit [Ping timeout: 264 seconds]
kokobaby has quit [Remote host closed the connection]
freerobby has joined #ruby
<tobiasvl> no that was perhaps not very relevant
Macaveli has joined #ruby
mburns has quit [Quit: ZNC - http://znc.sourceforge.net]
dfdf has quit [Remote host closed the connection]
Kar- has joined #ruby
burlyscudd has joined #ruby
dr_bob has joined #ruby
<tobiasvl> count is lazy though?
mburns has joined #ruby
<tobiasvl> that's an actual query to the underlying data structure?
<Aristata> tobiasvl: Thanks for that, I did figure out the problem
<Aristata> And it was semi relevant
<Aristata> It's a many to many table
<Aristata> and there were duplicates in the joining table
<Aristata> So it came up with fewer records
freerobby has quit [Ping timeout: 252 seconds]
mengu has joined #ruby
threesome has joined #ruby
<tobiasvl> ah
kenmaz has quit [Ping timeout: 256 seconds]
bionoid has quit [Remote host closed the connection]
burlyscudd has quit [Ping timeout: 240 seconds]
<Aristata> Need better validations :/
<sevenseacat> or uniq: true on the association, if datamapper supports it
ephemerian has joined #ruby
mansi has joined #ruby
jimg has joined #ruby
_theriffer_ has quit [Quit: _theriffer_]
ferr has joined #ruby
timonv has joined #ruby
dfdf has joined #ruby
quazimodo has quit [Ping timeout: 256 seconds]
quazimodo has joined #ruby
jimg has quit [Ping timeout: 256 seconds]
khushildep has joined #ruby
mansi has quit [Ping timeout: 256 seconds]
benlieb has quit [Quit: benlieb]
obs has quit [Quit: Konversation terminated!]
gstamp has quit [Quit: Textual IRC Client: www.textualapp.com]
Aaaarg has quit [Quit: Aaaarg]
ChristianS has quit [Excess Flood]
ChristianS has joined #ruby
Al__ has joined #ruby
quazimodo has quit [Ping timeout: 264 seconds]
shambat has quit [Quit: Page closed]
advorak has joined #ruby
Aaaarg has joined #ruby
statarb3 has joined #ruby
statarb3 has joined #ruby
<advorak> [ [1,2,3], [4,5,6] ].collect(&:first) ...... I want to do something like: first = :first ; [ [1,2,3], [4,5,6] ].collect(&#{first}) ..... what is the suggestion for inserting the symbol contained in the variable first?
danslo has joined #ruby
jds has quit [Remote host closed the connection]
jalcine has joined #ruby
quazimodo has joined #ruby
dfdf has quit [Remote host closed the connection]
taion809 has joined #ruby
timonv has quit [Remote host closed the connection]
bradhe has joined #ruby
relix_ is now known as relix
GeissT has quit [Ping timeout: 264 seconds]
<advorak> HospitalSurvey.all.instance_eval "collect(&:#{first})"
<advorak> that'll work :-P
mocfive has joined #ruby
kasper has joined #ruby
<relix> advorak woooo eval
jbpros has joined #ruby
<relix> advorak maybe something with method(first) is more appropriate?
mocfive has quit [Remote host closed the connection]
alup has joined #ruby
<relix> collect {|i| i.method(first).call}
Coffers has joined #ruby
takezawa_ has quit [Read error: Connection reset by peer]
<relix> actually
takezawa has joined #ruby
freerobby has joined #ruby
<relix> advorak this should work: collect(&first)
krz has quit [Ping timeout: 276 seconds]
<relix> if first is a variable containing a symbol
fixl has joined #ruby
<relix> the first answer explains nicely why
bradhe has quit [Ping timeout: 240 seconds]
<relix> (ruby calls to_proc on whatever you give after the &)
mocfive has joined #ruby
<advorak> thanks!
slainer68 has joined #ruby
<advorak> that's it :-)
gsvolt has joined #ruby
DaniG2k has joined #ruby
Heero has quit [Ping timeout: 256 seconds]
Xeago has joined #ruby
hawtin has joined #ruby
mocfive has quit [Remote host closed the connection]
freerobby has quit [Ping timeout: 256 seconds]
kokobaby has joined #ruby
<relix> advorak no prob, learned something interesting myself :)
krz has joined #ruby
nomenkun has joined #ruby
niceguyjames has joined #ruby
jonahR has quit [Quit: jonahR]
ferdev has quit [Quit: ferdev]
Weems has quit [Ping timeout: 248 seconds]
charliesome has joined #ruby
matthewrobbins has joined #ruby
lkba has quit [Read error: Connection reset by peer]
SeySayux has quit [Ping timeout: 248 seconds]
ybart has joined #ruby
dangerousdave has joined #ruby
Shirakawasuna has quit [Quit: Leaving]
Villadelfia has quit [Ping timeout: 264 seconds]
<slash_nick> the-operator
matthewrobbins has quit [Ping timeout: 246 seconds]
kokobaby has quit [Ping timeout: 248 seconds]
Iszak has joined #ruby
atno has joined #ruby
choobie has quit [Quit: choobie]
DomKM has quit [Quit: Leaving.]
F1skr has joined #ruby
MachinShin has joined #ruby
slainer6_ has joined #ruby
LennyLinux has joined #ruby
pi3r has joined #ruby
kokobaby has joined #ruby
cabotto has joined #ruby
slainer68 has quit [Ping timeout: 276 seconds]
Stylezzz has joined #ruby
MachinShin has quit [Ping timeout: 264 seconds]
jds has joined #ruby
<Stylezzz> Namaste, I'm looking for a ruby gui framework.
Stylezzz has quit [Read error: Connection reset by peer]
Stylezzz has joined #ruby
camilasan has joined #ruby
jibi has joined #ruby
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
niceguyjames has joined #ruby
porkmander has joined #ruby
brennanMKE has joined #ruby
devoldmx3 has joined #ruby
arya has quit [Ping timeout: 256 seconds]
<slash_nick> Stylezzz: gosu?
cookcode has joined #ruby
noname001 has joined #ruby
himsin has quit [Quit: himsin]
freerobby has joined #ruby
devoldmx has quit [Ping timeout: 248 seconds]
senayar has joined #ruby
devoldmx has joined #ruby
burlyscudd has joined #ruby
kenmaz has joined #ruby
dfdf has joined #ruby
<Stylezzz> U want me to develop games? :D
buzzybron has left #ruby [#ruby]
devoldmx3 has quit [Ping timeout: 248 seconds]
wudofyr___ has quit [Remote host closed the connection]
jdunck has quit [Quit: Computer has gone to sleep.]
ferdev has joined #ruby
matthewrobbins has joined #ruby
freerobby has quit [Ping timeout: 276 seconds]
burlyscudd has quit [Ping timeout: 240 seconds]
gyre007 has joined #ruby
tatsuya_o has joined #ruby
kenmaz has quit [Ping timeout: 276 seconds]
himsin has joined #ruby
gyre007 has quit [Remote host closed the connection]
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
mansi has joined #ruby
jimg has joined #ruby
slash_nick has quit [Ping timeout: 240 seconds]
gyre007 has joined #ruby
paulswilliamsesq has joined #ruby
apeiros has joined #ruby
timonv has joined #ruby
adambeynon has joined #ruby
dfdf has quit [Read error: Operation timed out]
jimg has quit [Ping timeout: 256 seconds]
mansi has quit [Ping timeout: 276 seconds]
rdark has joined #ruby
tkuchiki has quit [Ping timeout: 256 seconds]
brennanMKE has quit [Remote host closed the connection]
Criztian has joined #ruby
e-dard has left #ruby [#ruby]
tkuchiki has joined #ruby
<epitron> advorak: here's another way of accomplishing the same thing: [ [1,2,3], [4,5,6] ].transpose.first
timmow has joined #ruby
timmow has quit [Read error: Connection reset by peer]
timmow has joined #ruby
chichou has joined #ruby
tkuchiki has quit [Ping timeout: 276 seconds]
kokobaby has quit [Ping timeout: 268 seconds]
davetherat has quit [Remote host closed the connection]
davetherat has joined #ruby
tkuchiki has joined #ruby
<bnagy> advorak: don't mess about with instance_eval there
<bnagy> use send
freerobby has joined #ruby
<bnagy> >> s=:first; [ [1,2,3], [4,5,6] ].map {|e| e.send s}
<eval-in> bnagy => [1, 4] (https://eval.in/33960)
angusiguess has quit [Ping timeout: 240 seconds]
<bnagy> which is pretty much what relix' does, just more transparent
<relix> bnagy actually we solved it with &first
Rizzle has quit [Read error: Connection reset by peer]
<relix> >> s=:first; [[1,2,3],[4,5,6]].map(&s)
<eval-in> relix => [1, 4] (https://eval.in/33962)
kokobaby has joined #ruby
<bnagy> as I just said, that's the same just less obvious
filipe has quit [Ping timeout: 246 seconds]
himsin has quit [Quit: himsin]
Rizzle has joined #ruby
freerobby has quit [Ping timeout: 246 seconds]
marr has joined #ruby
gyre007 has quit [Ping timeout: 256 seconds]
atno__ has joined #ruby
BizarreCake has joined #ruby
atno has quit [Ping timeout: 240 seconds]
brennanMKE has joined #ruby
falkoner has quit [Quit: Leaving.]
browndawg has quit [Ping timeout: 240 seconds]
epitron has quit [Ping timeout: 248 seconds]
filipe has joined #ruby
<relix> I thought you were talking about my first solution - collect {|i| i.method(first).call} - and had not read my last solution
epitron has joined #ruby
<relix> I don't think your solution is more obvious, it has a higher mental overhead (you need to parse a block)
sevenseacat has quit [Quit: Leaving.]
<relix> but to each his own
mengu has quit [Quit: This computer has gone to sleep]
girija has quit [Ping timeout: 252 seconds]
brennanMKE has quit [Read error: Connection reset by peer]
wudofyr___ has joined #ruby
girija has joined #ruby
mengu has joined #ruby
mengu has quit [Remote host closed the connection]
joonty has quit [Ping timeout: 245 seconds]
mburns has quit [Quit: ZNC - http://znc.sourceforge.net]
joonty has joined #ruby
Zai00 has joined #ruby
mburns has joined #ruby
danslo has quit [Quit: danslo]
slainer6_ has quit [Remote host closed the connection]
arya has joined #ruby
timonv has quit [Remote host closed the connection]
browndawg has joined #ruby
ghr has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
timonv has joined #ruby
rippa has joined #ruby
burlyscudd has joined #ruby
mahmoudimus has joined #ruby
freerobby has joined #ruby
SeySayux has joined #ruby
himsin has joined #ruby
Villadelfia has joined #ruby
tvw has joined #ruby
burlyscudd has quit [Ping timeout: 248 seconds]
banghous_ is now known as banghouse
freerobby has quit [Ping timeout: 268 seconds]
mansi has joined #ruby
Meatant has quit [Quit: nite]
t_p has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
fermion has joined #ruby
mansi has quit [Ping timeout: 264 seconds]
gyre007 has joined #ruby
girija has quit [Ping timeout: 264 seconds]
_veer has quit [Read error: Connection reset by peer]
poikon has joined #ruby
_veer has joined #ruby
_veer has quit [Changing host]
_veer has joined #ruby
blaxter has quit [Ping timeout: 256 seconds]
Aaaarg has quit [Quit: Aaaarg]
jbpros has quit [Quit: jbpros]
cj3kim has quit [Remote host closed the connection]
Bry8Star{T2_ has joined #ruby
porkmander has left #ruby [#ruby]
girija has joined #ruby
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
<krz> can i use URI for this?
blaxter_ has joined #ruby
niklasb has joined #ruby
Stylezzz has quit [Read error: Connection reset by peer]
<krz> anyone?
kenmaz has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
niceguyjames has quit [Quit: Computer has gone to sleep.]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
niceguyjames has joined #ruby
_JamieD_ has joined #ruby
pskosinski has joined #ruby
kenmaz_ has joined #ruby
kenmaz has quit [Read error: Connection reset by peer]
jds has quit [Ping timeout: 268 seconds]
freerobby has joined #ruby
Bry8Star{T2 has joined #ruby
jibi has quit [Quit: .]
lsmola has quit [Ping timeout: 268 seconds]
tatsuya_o has quit [Remote host closed the connection]
girija has quit [Ping timeout: 240 seconds]
a_a_g has joined #ruby
girija has joined #ruby
Bry8Star{T2_ has quit [Ping timeout: 240 seconds]
r0bgleeson has quit [Ping timeout: 240 seconds]
freerobby has quit [Ping timeout: 264 seconds]
yshh has quit [Remote host closed the connection]
jimg has joined #ruby
pranavk has joined #ruby
nari has quit [Ping timeout: 245 seconds]
r0bby has joined #ruby
filipe has quit [Ping timeout: 252 seconds]
takezawa has quit [Read error: Connection reset by peer]
takezawa has joined #ruby
Domon_ has joined #ruby
advorak1 has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 0.4.1]
fuleo2 has joined #ruby
AlSquirrel has joined #ruby
jcromartie has quit [Ping timeout: 264 seconds]
jimg has quit [Ping timeout: 246 seconds]
pranavk has left #ruby [#ruby]
AlSquire has quit [Read error: Connection reset by peer]
harrymoreno has quit [Quit: harrymoreno]
bsdbandit has quit [Ping timeout: 264 seconds]
mikecmpbll has joined #ruby
bsdbandit has joined #ruby
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
pskosinski has quit [Ping timeout: 240 seconds]
Kabaka has quit [Ping timeout: 240 seconds]
Domon has quit [Ping timeout: 264 seconds]
fuleo has quit [Ping timeout: 264 seconds]
wildcard0 has quit [Ping timeout: 264 seconds]
sindork has quit [Ping timeout: 264 seconds]
wildcard0 has joined #ruby
advorak has quit [Ping timeout: 264 seconds]
robbyoconnor has quit [Ping timeout: 264 seconds]
sindork has joined #ruby
patteh has quit [Ping timeout: 264 seconds]
jcromartie has joined #ruby
patteh has joined #ruby
advorak1 has quit [Client Quit]
girija has quit [Ping timeout: 276 seconds]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
pskosinski has joined #ruby
Kabaka has joined #ruby
slainer68 has joined #ruby
girija has joined #ruby
kil0byte has joined #ruby
cj3kim has joined #ruby
Bry8Star{T2 has joined #ruby
lsmola has joined #ruby
statarb3 has quit [Quit: Leaving]
<relix> but, as the saying goes, now you have two problems ;)
<relix> also only works for not weirdly formed URLs
popl has quit [Quit: "People remain what they are even if their faces fall apart."]
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
kalleth_ is now known as kalleth
kasper has quit [Remote host closed the connection]
cj3kim has quit [Read error: Connection reset by peer]
kenmaz_ has quit [Remote host closed the connection]
cj3kim has joined #ruby
<krz> nah i would stay away for that
<krz> from*
postmodern has quit [Quit: Leaving]
kenmaz has joined #ruby
camilasan has quit [Remote host closed the connection]
<krz> on the premise of weirdly formed URLS :-)
<krz> i was thinking of doing a split
<krz> and then join, but exclude the last element of the array
filipe has joined #ruby
<bnagy> krz: check URI.parse
redgirl_ has quit [Quit: This computer has gone to sleep]
<bnagy> but it's fugly :(
lsmola has quit [Ping timeout: 240 seconds]
jds has joined #ruby
Liothen has joined #ruby
camilasan has joined #ruby
<krz> what about full_path.split('/').reverse.drop(1).reverse.join('/')
<bnagy> File.join("#{u.scheme}://#{u.host}",File.dirname(u.path))
kofno has quit [Remote host closed the connection]
<bnagy> full_path does not exist, must be Rails voodoo?
<krz> full_path would be the actual path
cj3kim has quit [Ping timeout: 264 seconds]
camilasan has quit [Remote host closed the connection]
kofno has joined #ruby
<bnagy> ok.. same as path after URI.parse
Domon_ has quit [Ping timeout: 240 seconds]
Neener54 has quit [Remote host closed the connection]
Domon has joined #ruby
troessner has joined #ruby
<krz> yea, which is faster? :-P
<bnagy> not really a fan of split gymnastics there
richiebkr has quit [Quit: richiebkr]
<bnagy> faster? Almost certainly a regex
<bnagy> but to get the path you have to run it through URI.parse anyway, don't you?
browndawg has quit [Quit: Leaving.]
Domon has quit [Remote host closed the connection]
burlyscudd has joined #ruby
<krz> yea guess that would work. thanks
Domon has joined #ruby
lkba has joined #ruby
kokobaby has quit [Ping timeout: 252 seconds]
freerobby has joined #ruby
__class__ has quit [Ping timeout: 246 seconds]
nari has joined #ruby
kokobaby has joined #ruby
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
kasper has joined #ruby
burlyscudd has quit [Ping timeout: 246 seconds]
girija has quit [Ping timeout: 264 seconds]
wudofyr___ has quit [Remote host closed the connection]
osvico has joined #ruby
mansi has joined #ruby
freerobby has quit [Ping timeout: 248 seconds]
lsmola has joined #ruby
Macaveli has quit [Read error: Connection reset by peer]
__class__ has joined #ruby
wudofyr___ has joined #ruby
mansi has quit [Ping timeout: 276 seconds]
tkuchiki has quit [Remote host closed the connection]
a_a_g1 has joined #ruby
kokobaby has quit [Ping timeout: 268 seconds]
kokobaby has joined #ruby
lyanchih has quit [Quit: lyanchih]
tatsuya_o has joined #ruby
a_a_g has quit [Ping timeout: 252 seconds]
emanon_ has joined #ruby
girija has joined #ruby
_Renegade has joined #ruby
catphish has joined #ruby
slainer68 has quit [Remote host closed the connection]
<catphish> now that iconv has been removed, how does one transliterate when re-encoding utf-8 to ascii?
nazty has quit [Ping timeout: 256 seconds]
ferr has quit [Read error: Operation timed out]
<apeiros> catphish: a) iconv still exists as a gem, b) activesupport/multibyte has stuff, c) tell me if you find other things :)
nazty has joined #ruby
swordsmanz has joined #ruby
<catphish> apeiros: thanks, if there's an iconv gem that reproduces the legacy functionality i will just use that
<apeiros> it's the same as the old stdlib
<apeiros> just put into a gem
<catphish> ideal
<catphish> i assume that's a mistake
Domon has quit [Remote host closed the connection]
binaryplease has joined #ruby
yashshah has quit [Read error: Connection reset by peer]
snearch has joined #ruby
yashshah has joined #ruby
lyanchih has joined #ruby
arya has quit [Ping timeout: 248 seconds]
emergion has joined #ruby
lolmaus has joined #ruby
davetherat has quit [Remote host closed the connection]
davetherat has joined #ruby
<lolmaus> Is Capistrano still the most actual deployment tool? Has there appeared anything new?
emergion has quit [Client Quit]
nazty has quit [Ping timeout: 264 seconds]
* apeiros still doesn't get why people use things like capistrano
<apeiros> I mean… it's like 10 lines in the shell - easy to script. but no, lets bring in a multi-K-codeline tool which most users barely understand what it is actually doing
slainer68 has joined #ruby
ferdev has quit [Ping timeout: 252 seconds]
ferdev has joined #ruby
nazty has joined #ruby
cdelo_ has joined #ruby
alekst has joined #ruby
freerobby has joined #ruby
ezkl has quit [Quit: Computer has gone to sleep.]
kenmaz has quit [Remote host closed the connection]
<Xeago> apeiros: I think it is liked because it abstracts deployment away from developers
ToApolytoXaos has joined #ruby
<Xeago> all my fellow colleague students have never heard of a symlink
<Xeago> or atomicity
camilasan has joined #ruby
ezkl has joined #ruby
<apeiros> Xeago: I assume they don't do software dev. either, or do they?
kil0byte_ has joined #ruby
<Xeago> they get educated for big corporate enterprisey stuff
<Xeago> some of them don't know the difference between IDE - editor, visual studio - editor
<Xeago> or what JIT means
cdelo has quit [Ping timeout: 268 seconds]
Tamae has quit [Ping timeout: 268 seconds]
<Xeago> or how caching mechanisms work
<apeiros> no wonder big corp IT tends to suck…
<Xeago> be it http caching or russian doll caching, never ever heard of it..
<Xeago> I think its just the lack of thoroughness at my university
nettoweb has joined #ruby
agjacome has joined #ruby
jimg has joined #ruby
freerobby has quit [Ping timeout: 268 seconds]
kil0byte has quit [Ping timeout: 276 seconds]
statarb3 has joined #ruby
krz has quit [Ping timeout: 252 seconds]
sayan has joined #ruby
nazty has quit [Ping timeout: 276 seconds]
jimg has quit [Ping timeout: 268 seconds]
thelamest has quit [Quit: hup]
matthewrobbins has quit [Read error: Connection reset by peer]
matthewrobbins_ has joined #ruby
thelamest has joined #ruby
nazty has joined #ruby
Chris has joined #ruby
Chris is now known as Guest20377
krz has joined #ruby
nazty has quit [Read error: Connection reset by peer]
wudofyr___ has quit [Remote host closed the connection]
Soliah has quit [Ping timeout: 240 seconds]
wudofyr___ has joined #ruby
Tamae has joined #ruby
robustus has quit [Ping timeout: 248 seconds]
_veer has quit [Read error: Connection reset by peer]
robustus has joined #ruby
verto has joined #ruby
BizarreCake has quit [Quit: Leaving]
BizarreCake has joined #ruby
BizarreCake has quit [Client Quit]
nettoweb has quit [Quit: nettoweb]
ferdev has quit [Ping timeout: 276 seconds]
b0oh has joined #ruby
slainer68 has quit [Remote host closed the connection]
`MArceLL` has quit [Ping timeout: 246 seconds]
lkba has quit [Ping timeout: 240 seconds]
Macaveli has joined #ruby
malkomalko has joined #ruby
burlyscudd has joined #ruby
browndawg has joined #ruby
pranny has quit [Quit: Leaving.]
Aaaarg has joined #ruby
azerton has quit [Quit: azerton]
freerobby has joined #ruby
iamjarvo has joined #ruby
burlyscudd has quit [Ping timeout: 252 seconds]
yshh has joined #ruby
mansi has joined #ruby
gkunno has quit [Ping timeout: 248 seconds]
ldnunes has joined #ruby
falood has joined #ruby
fmcgeough has joined #ruby
gkunno has joined #ruby
jds has quit [Ping timeout: 264 seconds]
jonathanwallace1 has joined #ruby
ferdev has joined #ruby
freerobby has quit [Ping timeout: 252 seconds]
krz has quit [Quit: krz]
mansi has quit [Ping timeout: 264 seconds]
guiocavalcanti has quit [Remote host closed the connection]
kindjal has joined #ruby
_Renegade has quit [Quit: _Renegade]
guiocavalcanti has joined #ruby
gazarsgo has joined #ruby
guiocava_ has joined #ruby
lkba has joined #ruby
pi3r has quit [Quit: Leaving]
lyanchih has quit [Quit: lyanchih]
guiocavalcanti has quit [Ping timeout: 256 seconds]
Neomex has joined #ruby
Neomex has quit [Client Quit]
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
geekbri has joined #ruby
lyanchih has joined #ruby
kokobaby has quit [Ping timeout: 268 seconds]
razi has joined #ruby
osvico has quit [Ping timeout: 256 seconds]
ferdev has quit [Ping timeout: 264 seconds]
_Renegade has joined #ruby
ntus1017 has joined #ruby
kindjal has quit [Ping timeout: 240 seconds]
lyanchih has quit [Ping timeout: 240 seconds]
iamjarvo has quit [Quit: Leaving.]
r0bgleeson has joined #ruby
kindjal has joined #ruby
redgirl has joined #ruby
binaryplease has quit [Ping timeout: 248 seconds]
jds has joined #ruby
pzin has joined #ruby
alekst has quit [Quit: Computer has gone to sleep.]
pzin has left #ruby [#ruby]
arya has joined #ruby
taion809 has quit [Ping timeout: 276 seconds]
freerobby has joined #ruby
a_a_g1 has quit [Quit: Leaving.]
ezkl has quit [Quit: Computer has gone to sleep.]
kil0byte has joined #ruby
philcrissman_ has joined #ruby
camilasan has quit [Remote host closed the connection]
mark_locklear has joined #ruby
camilasan has joined #ruby
taion809 has joined #ruby
zets has quit []
hasse has joined #ruby
slainer68 has joined #ruby
a_a_g has joined #ruby
freerobby has quit [Ping timeout: 246 seconds]
jtperreault has quit [Quit: WeeChat 0.3.7]
guiocavalcanti has joined #ruby
kil0byte_ has quit [Ping timeout: 248 seconds]
<hasse> Can someone give me some input of the following class, do I break the single responsibility principle? http://pastie.org/private/n8ohaqkygrkqjrumphg
ravster has joined #ruby
guiocava_ has quit [Ping timeout: 256 seconds]
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
razi has quit [Quit: Leaving.]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
devoldmx3 has joined #ruby
pi3r has joined #ruby
iamjarvo has joined #ruby
jtperreault has joined #ruby
jlast has joined #ruby
devoldmx has quit [Ping timeout: 246 seconds]
ramblex has joined #ruby
mikecmpbll has joined #ruby
davedev24 has joined #ruby
dhruvasagar has quit [Ping timeout: 248 seconds]
tk_ has joined #ruby
guiocava_ has joined #ruby
guiocavalcanti has quit [Ping timeout: 240 seconds]
snearch has quit [Quit: Verlassend]
Banistergalaxy has joined #ruby
gildo has joined #ruby
umttumt has joined #ruby
BizarreCake has joined #ruby
kokobaby has joined #ruby
nezumi has quit [Ping timeout: 264 seconds]
taion809 has quit []
taion809 has joined #ruby
iamjarvo has quit [Ping timeout: 240 seconds]
devoldmx3 has quit [Ping timeout: 246 seconds]
devoldmx has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
batman has quit [Ping timeout: 240 seconds]
a_a_g has quit [Ping timeout: 240 seconds]
psy17 has quit [Ping timeout: 264 seconds]
carlyle has joined #ruby
jgoss has quit [Ping timeout: 256 seconds]
Fire-Dragon-DoL has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
subbyyy has joined #ruby
devoldmx has joined #ruby
freerobby has joined #ruby
guiocavalcanti has joined #ruby
mansi has joined #ruby
rdFLeece has quit [Remote host closed the connection]
Lubinski has joined #ruby
jimg has joined #ruby
fomatin has joined #ruby
a_a_g has joined #ruby
danslo has joined #ruby
jonathanwallace1 has quit [Ping timeout: 252 seconds]
kpshek has joined #ruby
DaniG2k has quit [Quit: Leaving.]
guiocava_ has quit [Ping timeout: 268 seconds]
devoldmx has quit [Ping timeout: 246 seconds]
freerobby has quit [Ping timeout: 240 seconds]
sambao21 has joined #ruby
Cyrus has quit [Quit: Cyrus.sleep()]
mansi has quit [Ping timeout: 252 seconds]
kennyvb_ has joined #ruby
guiocavalcanti has quit [Ping timeout: 240 seconds]
guiocavalcanti has joined #ruby
jimg has quit [Ping timeout: 240 seconds]
chrisramon has joined #ruby
Banistergalaxy has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
burlyscudd has joined #ruby
kennyvb has quit [Ping timeout: 256 seconds]
Banistergalaxy has joined #ruby
theRoUS has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
burlyscudd has quit [Client Quit]
ntus1017 has quit [Remote host closed the connection]
denver has joined #ruby
blaxter_ has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
chrisramon has quit [Ping timeout: 256 seconds]
fomatin has quit [Quit: Computer has gone to sleep.]
burlyscudd has joined #ruby
Guest36903 is now known as nitrodex
devoldmx has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
mnaser has quit [Ping timeout: 245 seconds]
kil0byte_ has joined #ruby
b0oh has quit [Quit: Leaving.]
timonv has quit [Remote host closed the connection]
niceguyjames has joined #ruby
b0oh has joined #ruby
guiocava_ has joined #ruby
kenmaz has joined #ruby
catphish has quit [Remote host closed the connection]
b0oh has left #ruby [#ruby]
ericmath1son has quit [Quit: leaving]
stonevil has joined #ruby
kil0byte has quit [Ping timeout: 276 seconds]
RORgasm has quit [Read error: Connection reset by peer]
BizarreCake has quit [Quit: Leaving]
RORgasm has joined #ruby
guiocavalcanti has quit [Ping timeout: 268 seconds]
alekst has joined #ruby
carloslopes has joined #ruby
wallerdev has joined #ruby
timonv has joined #ruby
guiocavalcanti has joined #ruby
_theriffer_ has joined #ruby
kristiandelay has joined #ruby
cj3kim has joined #ruby
tommyvyo has joined #ruby
kdaigle has joined #ruby
mmitchell has joined #ruby
guiocava_ has quit [Ping timeout: 256 seconds]
dreamreal has quit [Quit: rebooting to sync kernel modules]
brbcoding has joined #ruby
splittingred has joined #ruby
breakingthings has joined #ruby
AndChat| has joined #ruby
yshh has quit [Read error: Connection reset by peer]
mansi has joined #ruby
yshh has joined #ruby
fomatin has joined #ruby
cj3kim has quit [Ping timeout: 268 seconds]
Banistergalaxy has quit [Ping timeout: 264 seconds]
pootler__ has joined #ruby
kindjal has quit [Ping timeout: 264 seconds]
hadees has joined #ruby
kil0byte has joined #ruby
carlyle has quit [Remote host closed the connection]
jbpros has joined #ruby
jds has quit [Ping timeout: 264 seconds]
ntus1017 has joined #ruby
subbyyy has quit [Ping timeout: 276 seconds]
guiocava_ has joined #ruby
ntus1017 has quit [Remote host closed the connection]
obs__ has joined #ruby
senayar_ has joined #ruby
pootler_ has quit [Ping timeout: 264 seconds]
BSaboia has joined #ruby
fomatin has quit [Client Quit]
Mon_Ouie has quit [Quit: WeeChat 0.4.1]
kil0byte_ has quit [Ping timeout: 268 seconds]
senayar has quit [Ping timeout: 256 seconds]
guiocavalcanti has quit [Ping timeout: 264 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
sailias has joined #ruby
sambao21 has joined #ruby
_maes_ has joined #ruby
niceguyjames has quit [Quit: Computer has gone to sleep.]
guiocavalcanti has joined #ruby
mansi has quit [Ping timeout: 256 seconds]
anonymus_ has joined #ruby
carlyle has joined #ruby
guiocava_ has quit [Ping timeout: 240 seconds]
adambeynon has joined #ruby
pootler__ has quit [Ping timeout: 246 seconds]
mansi has joined #ruby
mnaser has joined #ruby
fuzzyhorns has joined #ruby
jerius has joined #ruby
anonymus_ has quit [Client Quit]
BSaboia has quit [Ping timeout: 248 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
anonymus_ has joined #ruby
wmoxam has joined #ruby
guiocavalcanti has quit [Read error: Connection reset by peer]
burlyscudd has quit [Quit: Leaving.]
guiocavalcanti has joined #ruby
mansi has quit [Ping timeout: 268 seconds]
tommyvyo has quit [Quit:]
anonymus_ has quit [Client Quit]
carlyle has quit [Remote host closed the connection]
anonymuse has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
ferdev has joined #ruby
cookcode has quit [Quit: Leaving.]
rdFLeece has joined #ruby
mark_locklear has quit [Read error: Connection reset by peer]
baordog has joined #ruby
jbpros has quit [Quit: jbpros]
tommyvyo has joined #ruby
mark_locklear has joined #ruby
ravster has quit [Ping timeout: 264 seconds]
falood has quit [Remote host closed the connection]
ttt has quit [Remote host closed the connection]
johnmilton has joined #ruby
poikon has quit [Read error: Connection reset by peer]
jalcine has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
ellipse has joined #ruby
kenmaz has quit [Remote host closed the connection]
codecop has quit [Quit: Išeinu]
zai_ has joined #ruby
kenmaz has joined #ruby
gazarsgo has quit [Quit: gazarsgo]
freerobby has joined #ruby
ditto572 has joined #ruby
braoru has quit [Quit: Leaving]
_JamieD_ has quit [Quit: _JamieD_]
Banistergalaxy has joined #ruby
jds has joined #ruby
tvw has quit []
AndChat| has quit [Ping timeout: 256 seconds]
_maes_ has joined #ruby
burlyscudd has joined #ruby
interactionjaxsn has joined #ruby
mnaser has quit [Ping timeout: 256 seconds]
burlyscudd has quit [Client Quit]
splittingred has quit [Read error: Connection reset by peer]
mark_locklear has quit [Read error: Connection reset by peer]
Macaveli has quit [Quit: Leaving]
devoldmx3 has joined #ruby
nettoweb has joined #ruby
pootler_ has joined #ruby
Neener54 has joined #ruby
kokobaby has quit [Ping timeout: 256 seconds]
browndawg has left #ruby [#ruby]
splittingred has joined #ruby
Alina-malina has quit [Quit: Leaving]
Alina-malina has joined #ruby
Alina-malina has quit [Remote host closed the connection]
gazarsgo has joined #ruby
devoldmx has quit [Ping timeout: 256 seconds]
jimg has joined #ruby
huoxito has joined #ruby
Macaveli has joined #ruby
Alina-malina has joined #ruby
_Renegade has quit [Quit: _Renegade]
jgoss has joined #ruby
jgoss has quit [Changing host]
jgoss has joined #ruby
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
mark_locklear has joined #ruby
choobie has joined #ruby
yim has joined #ruby
jbpros has joined #ruby
<yim> man
<yim> when did #php become invite only?
<matti> Did it?
<matti> LOL
MrSamuel has joined #ruby
<yim> yeah
kokobaby has joined #ruby
<oceanbreeze> try ##php
mnaser has joined #ruby
jimg has quit [Ping timeout: 240 seconds]
thams has quit [Quit: thams]
MrSamuel has joined #ruby
bigkevmcd has quit [Quit: Ex-Chat]
<yim> That might work
ravster has joined #ruby
<yim> What IRC client are you guys using?
<tobiasvl> irssi
bigkevmcd has joined #ruby
rolloTomasi1 has joined #ruby
<yim> So
<yim> how do i get started
<yim> in terms of programming ruby
Bry8Star{T2 has joined #ruby
<matti> irssi
burlyscudd has joined #ruby
johnmlocklear_ has joined #ruby
mark_locklear has quit [Read error: Connection reset by peer]
momomomomo has joined #ruby
<yim> no one use limelight anymore?
jbpros has quit [Client Quit]
<ellipse> What is that?
cmarques has joined #ruby
<yim> limechat
<yim> i mean
<ellipse> Never heard of it.
<ellipse> irssi has been popular for a rather long time.
burlyscudd has quit [Client Quit]
<matti> ellipse: I jumped on irssi from BitchX ;]
kokobaby has quit [Ping timeout: 268 seconds]
<matti> ellipse: So yeah, irssi been around quite a while, indeed ;]
ravster has quit [Ping timeout: 260 seconds]
<yim> yeah
<yim> pc only
<yim> i assume
<yim> I am using a mac
<matti> PC?
<matti> Man...
<yim> windows*
<matti> An offence.
<matti> ;d
<matti> yim: BX was around before some of the Ruby developers were born ;p
<tobiasvl> irssi is for mac as well
v0n has joined #ruby
<tobiasvl> you can compile it yourself, but there is a binary package too
<ellipse> So LimeChat is only for Mac.
tw1sted has joined #ruby
SoonerBourne has quit [Read error: Connection reset by peer]
<ellipse> And doesn't have a Wikipedia article.
freeayu has quit [Remote host closed the connection]
<ellipse> So I am guessing it was never really under heavy use.
<yim> yes
<yim> limechat is only for osx
SoonerBourne has joined #ruby
sambao21 has joined #ruby
* ellipse is on AndChat.
burlyscudd has joined #ruby
akells` has joined #ruby
<yim> the nba is rigged
<ellipse> I haven't turned on my actual computer for like two weeks. :x
<yim> the spurs had it last night
<tobiasvl> ellipse: i use irssi connectbot on my android phone
<ellipse> I don't really like irssi very much to be honest.
<oceanbreeze> i am using kiwiirc web extension for chrome
<ellipse> On my "PC" I use XChat.
freerobby has quit [Quit: Leaving.]
mklappstuhl has joined #ruby
tomzx_mac has joined #ruby
sarkis has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
mmozuras has quit [Ping timeout: 256 seconds]
[1]SoonerBourne has joined #ruby
devoldmx3 has quit [Ping timeout: 268 seconds]
MrSamuel has quit [Quit: MrSamuel]
SoonerBourne has quit [Ping timeout: 246 seconds]
MrZYX|off is now known as MrZYX
DaniG2k has joined #ruby
<yim> Can I learn ruby
<yim> in like 2 weeks?
<ellipse> Maybe.
SoonerBourne has joined #ruby
<yim> If I were to really sit down, pop some adderall, and really get into it
<yim> btw, I have no prior programming experience
<ellipse> Are you an experienced programmer familiar with object orientation and metaprogramming?
<yim> Except for HTML and CSS really
<ellipse> Then no, you can't.
<yim> That would be a big no to both of those
<yim> how about a month?
wallerdev has quit [Quit: wallerdev]
tgraham has joined #ruby
<hoelzro_> you can be writing some basic stuff within a week (or shorter)
<hoelzro_> but it takes a while to become an "expert"
hoelzro_ is now known as hoelzro
<yim> oh right
dangerousdave has quit [Read error: Connection reset by peer]
Dave has joined #ruby
<yim> I never intended to become an expert
<ellipse> Oh.
<hoelzro> well, what do you want to do with it?
<ellipse> Well, yeah, hello world in 5 minutes. ;p
a_a_g has quit [Ping timeout: 264 seconds]
Dave is now known as Guest16871
<yim> I would analytics
Spami has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
<yim> web analytics in terms of tracking incoming traffic
<hoelzro> hmm
<hoelzro> have you considered using R instead?
<yim> incoming clicks to be specific
<yim> R = ?
<ellipse> There are a lot of existing solutions for that.
<hoelzro> R has a lot of built-in functionality for numerical analysis
Mattix has joined #ruby
<yim> I am sure there are
[1]SoonerBourne has quit [Ping timeout: 260 seconds]
<yim> But it is one project I can build
<yim> to learn
mmozuras has joined #ruby
oceanbreeze has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<yim> Oh, I did not wan thta kind of analytics
<yim> but in terms of geo targeting of the incoming user
<yim> IP
<yim> machine used
<yim> time
<yim> click referral
<hoelzro> ok
<yim> and outbound click tracking
<yim> not like graph related stuff
<hoelzro> I built something like that a year ago
freerobby has joined #ruby
<yim> nice
pentameter has joined #ruby
<yim> got a link?
<hoelzro> it's not open
<yim> ah k
<hoelzro> sorry =(
Spooner has joined #ruby
<yim> it's all good
binaryplease has joined #ruby
<yim> most likely would not know what is going on in there anyway
<hoelzro> heh
<yim> but do you get what I am going with this hoelzro?
<ellipse> If you have no prior programming experience, I suspect it would take more than 2 weeks to learn Ruby and write that.
<hoelzro> I also wrote it in Perl, so it might not help with learning Ruby directly =)
<yim> of course ellipse
hasse has quit [Ping timeout: 250 seconds]
<yim> I would break it down by parts first
tylersmith has joined #ruby
<yim> and slowly build up
<yim> ah
<yim> friend told me to start with PHP
<yim> for my purposes
<yim> and not ruby
<ellipse> Ignore your friend.
<hoelzro> haha
<ellipse> On every topic.
<ellipse> Forever.
<yim> lol
<ellipse> I would kindly suggest a lobotomy as well.
<yim> Told me PHP has a larger database of reference related to my project
sambao21 has quit [Quit: Computer has gone to sleep.]
<yim> along with a bigger community
<ellipse> Possibly some ECT.
<yim> and that ruby is still new and used by few
camilasan has quit [Remote host closed the connection]
<yim> but hey, I am just passing along what he said
pipework has joined #ruby
<yim> I am neutral on all languages
<ellipse> OK. I would strongly recommend doing the opposite of whatever he recommends.
<yim> I just want to pick one and start
<yim> But honestly
<ellipse> He is conveying anti-knowledge.
<yim> Can ruby do whatever PHP can do?
<hoelzro> PHP *does* have a large community, but these days, Ruby's community isn't exactly small
<hoelzro> yes.
sambao21 has joined #ruby
jtharris has joined #ruby
dhruvasagar has joined #ruby
burlyscudd has quit [Quit: Leaving.]
mfletcher has joined #ruby
<ellipse> Learning PHP will forever stunt your programming ability unless you are already properly immunized before seeing it.
<yim> really
<yim> sad thing is
malkomalko has quit []
<yim> majority of software we use in our industry
<yim> is PHP based
dash_ has quit [Quit: Time to beer :)]
<yim> I would say 95%
<ellipse> It exemplifies the worst programming practices possible.
<hoelzro> which industry is that?
<yim> advertising
<hoelzro> ah
<yim> all of our software
<yim> for CRM
<yim> Tracking
<yim> Analytics
<yim> customer support tickets
<yim> all PHP based
himsin has quit [Quit: himsin]
<yim> I don't know anyone that has moved onto ruby
jonahR has joined #ruby
<yim> and the only people I know using ruby
<yim> is basecamp
<yim> and that is the only ruby program I use
<ellipse> Well, PHP is really really bad from a software design perspective.
<ellipse> Basically it encourages you to make the worst possible software.
<yim> So do you suggest
<yim> I go learn some ruby first
<ellipse> And people who learn it first apply these techniques in other languages.
<yim> and then dabble in php?
<yim> Basically what should I learn first for fundermentals
<yim> before proceeding to any language
viszu has joined #ruby
<ellipse> If you *must* use PHP, become experienced in numerous other languages first.
<yim> Would this be a good start?
taion809 has quit [Ping timeout: 252 seconds]
<ellipse> Then you will instantly recognize how bad it is and not pick up those techniques.
<yim> I am basically looking for something more hands on
kindjal has joined #ruby
niklasb has quit [Ping timeout: 256 seconds]
<tobiasvl> ruby koans
<ellipse> I have never used Code Academy, but people don't seem to like it.
<ellipse> And yes, Ruby Koans.
pranny has joined #ruby
<yim> interesting
<ellipse> But basically PHP is smallpox.
pranny has quit [Client Quit]
<ellipse> So make sure you have cowpox first.
<yim> lol
<ellipse> ;p
<yim> Do you guys suggest anything else?
<yim> in terms of ruby tutorials
carlyle has joined #ruby
<yim> that is similar to codecademy
amanmangal has joined #ruby
digitalcake has joined #ruby
Macaveli has quit [Read error: Connection reset by peer]
<yim> Do you guys also use sublime text 2?
<yim> or textmate?
<ellipse> vim
<ellipse> Or gedit
<ellipse> I have heard good things about both those though.
philcrissman_ has quit [Remote host closed the connection]
burlyscudd has joined #ruby
<ellipse> But it doesn't really matter too much really.
aspiers_ has quit [Ping timeout: 240 seconds]
<ellipse> Just as long as it doesn't insert \r. ;p
mansi has joined #ruby
philcrissman_ has joined #ruby
jds has quit [Ping timeout: 268 seconds]
aspiers_ has joined #ruby
zai_ is now known as zai
<yim> thanks guys for the help
<yim> I will now bother ellipse and hoelzro in the future
<yim> for all my problems
<yim> =)
rhys has joined #ruby
<ellipse> Haha, ok, np.
<ellipse> Have fun with Ruby.
guiocavalcanti has quit [Ping timeout: 264 seconds]
<ellipse> And stay away from smallpox!
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
kindjal has quit [Ping timeout: 276 seconds]
_Renegade has joined #ruby
sayan has quit [Read error: Connection reset by peer]
mansi has quit [Ping timeout: 240 seconds]
senayar_ has quit [Remote host closed the connection]
Jackneill_ has joined #ruby
<yim> like the actual disease
andikr has quit [Remote host closed the connection]
rafb3 has joined #ruby
<yim> or is that a slang for something in programming
mikecmpbll has joined #ruby
<RORgasm> hey guys
<RORgasm> trying to figure out something
<ellipse> It is not slang, I just used it as an analogy for PHP like 5 minutes ago.
<RORgasm> does anyone know where in the C code the new ruby keyword arguments related code is? i'm trying to look at the implementation
Asher1 has quit [Ping timeout: 268 seconds]
kindjal has joined #ruby
<yim> oh ok
kenmaz has quit [Remote host closed the connection]
<yim> I guess I completely ignored that part :)
<ellipse> The only pejorative for PHP I have heard repeatedly is PCP. ;P
Jackneill has quit [Ping timeout: 276 seconds]
senayar has joined #ruby
tagrudev has quit [Remote host closed the connection]
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
tomzx_mac has quit [Quit: tomzx_mac]
mansi has joined #ruby
<amanmangal> hey guys! I am stuck with Capistrano, not able to deploy! I am deploying first time and it is giving error while creating directory, permission denied
<amanmangal> please help
<amanmangal> it's been whole day!
<ellipse> Do you have write permissions for the parent directory?
nettoweb has quit [Quit: nettoweb]
<amanmangal> root user has the permission not the app user
<ellipse> That would be the issue then.
tomzx_mac has joined #ruby
kpshek has quit []
<amanmangal> but in the deploy.rb file I have specified the following this
Mon_Ouie has joined #ruby
<amanmangal> set :runner, 'root'
Appineer has joined #ruby
_br_ has joined #ruby
<amanmangal> set :use_sudo, fals
<pipework> Why not just use FFI with a library written in C?
<amanmangal> set :user, 'app'
<pipework> I mean, gosh.
<pipework> Oh way old conversation.
<pipework> Sorry. Didn't scroll down.
<ellipse> If you're not using sudo, how do you expect it to elevate permissions?
<ellipse> Unless you are actually running it as root.
<ellipse> set :use_sudo, true
<amanmangal> but that is not suggested in general
wallerdev has joined #ruby
<amanmangal> doesn't capistrano do that? creating the directory using root permission and then changing the permissions to app user
<pipework> I prefer to not use root myself.
<amanmangal> yup
<pipework> amanmangal: So what's up, sailor?
devoldmx has joined #ruby
bean has joined #ruby
<amanmangal> I am not very much familiar with capistrano
<amanmangal> but in general
<amanmangal> when we depeloy
choobie has quit [Read error: Connection reset by peer]
<amanmangal> we use the app user
richiebkr has joined #ruby
Jackneill_ has quit [Quit: Leaving]
<amanmangal> which may not have the permission to create dirs
<amanmangal> isn't that true?
mansi has quit [Ping timeout: 260 seconds]
camilasan has joined #ruby
choobie has joined #ruby
<amanmangal> then how do we create dirs in the folder /mnt/my-app?
Jackneill has joined #ruby
paulswilliamsesq has quit [Ping timeout: 246 seconds]
<ellipse> If the app user doesn't have the permission to create a directory, and it doesn't have a sudoers entry, how could it create the directory?
<ellipse> It would be forbidden by the OS.
<amanmangal> I thought capistrano will create directory using the root user
<amanmangal> as I have specified runner to be root
<amanmangal> can you please explain what do you mean by forbidden?
_Renegade has quit [Quit: _Renegade]
gazarsgo has quit [Quit: gazarsgo]
pootler_ has quit [Ping timeout: 260 seconds]
tk_ has quit [Quit: ばいばい]
girija has quit [Ping timeout: 276 seconds]
<amanmangal> ohh...okay! yeah right
<amanmangal> then how will I create the sudoers entry?
<amanmangal> any pointers?
choobie has quit [Ping timeout: 264 seconds]
niceguyjames has joined #ruby
Hanmac has joined #ruby
GeissT has joined #ruby
ttt has joined #ruby
kpshek has joined #ruby
gazarsgo has joined #ruby
TheBatman has joined #ruby
Banistergalaxy has quit [Ping timeout: 268 seconds]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
jds has joined #ruby
<hoelzro> I don't get it
<hoelzro> what did merkel do now?
ttt has quit [Ping timeout: 252 seconds]
ellipse has quit [Quit: Bye]
sayan has joined #ruby
sayan has quit [Client Quit]
failshell has joined #ruby
sayan has joined #ruby
bionoid has joined #ruby
nettoweb has joined #ruby
zmike123 has joined #ruby
LaPetiteFromage has joined #ruby
digitalcake has quit [Quit: Leaving.]
guiocavalcanti has joined #ruby
Banistergalaxy has joined #ruby
enebo has joined #ruby
alex__c2022 has joined #ruby
guiocavalcanti has quit [Remote host closed the connection]
richiebkr has quit [Ping timeout: 246 seconds]
guiocavalcanti has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
cofin has joined #ruby
carlyle has quit [Remote host closed the connection]
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
xardas has joined #ruby
geggam has joined #ruby
bluenemo has joined #ruby
bluenemo has joined #ruby
Guest16871 has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
guiocavalcanti has quit [Ping timeout: 248 seconds]
<Hanmac> hoelzro: she says "internet is »new land« for her"
niceguyjames has quit [Quit: Computer has gone to sleep.]
<hoelzro> oh, is that what she said? =P
kenmaz has joined #ruby
<ChristianS> actually she it's new land for everybody
<ChristianS> s/she/she said/
gazarsgo has quit [Quit: gazarsgo]
<Hanmac> yeah, and not 24h later its turned into an meme ;P http://angelamerkeldiscoveringneuland.tumblr.com/
mansi has joined #ruby
richiebkr has joined #ruby
threesome has quit [Ping timeout: 264 seconds]
bionoid has quit [Remote host closed the connection]
Jt123 has joined #ruby
<Jt123> hi
dr_bob has quit [Quit: Leaving.]
guiocavalcanti has joined #ruby
Apane has joined #ruby
<hoelzro> mwahaha
obs__ is now known as obs
jprovazn has quit [Quit: Leaving]
krz has joined #ruby
guiocavalcanti has quit [Remote host closed the connection]
a_a_g has joined #ruby
<hoelzro> omg
kenmaz has quit [Ping timeout: 246 seconds]
<hoelzro> this is hysterical
dash_ has joined #ruby
dr_bob has joined #ruby
Appineer has left #ruby [#ruby]
wesside has joined #ruby
fmcgeough has quit [Read error: Connection reset by peer]
kdaigle has quit [Quit: Textual IRC Client: www.textualapp.com]
richiebkr has quit [Quit: richiebkr]
fmcgeough has joined #ruby
acrussell has joined #ruby
devoldmx has quit [Ping timeout: 246 seconds]
_Renegade has joined #ruby
acrussell has left #ruby [#ruby]
gazarsgo has joined #ruby
ditto572 has quit [Remote host closed the connection]
robscomputer has joined #ruby
robscomputer has quit [Remote host closed the connection]
b0oh has joined #ruby
ssvo has quit [Ping timeout: 252 seconds]
robscomputer has joined #ruby
nettoweb has quit [Quit: nettoweb]
cj3kim has joined #ruby
catphish has joined #ruby
<catphish> i'm struggling to understand the error "inspected result must be ASCII only"
GeissT has quit [Quit: MillBroChat AdIRC User]
dmiller has joined #ruby
<catphish> how do i deal with it if i'm not generating the inspect manually?
takezawa has quit [Remote host closed the connection]
aganov has quit [Remote host closed the connection]
Apane has quit [Ping timeout: 264 seconds]
takezawa has joined #ruby
mehwork has quit [Quit: leaving]
<Hanmac> catphish: what does raise this exception?
amanmangal has quit [Quit: Leaving]
`MArceLL` has joined #ruby
cj3kim has quit [Ping timeout: 264 seconds]
<hoelzro> hahaha
joonty has quit [Ping timeout: 264 seconds]
<cout> hanmac: why do we still use cobol?
DomKM has joined #ruby
Banistergalaxy has quit [Ping timeout: 248 seconds]
rhys has quit [Quit: Leaving]
<Hanmac> cout: because your "computer" only works with stoneplates
xardas has quit [Ping timeout: 268 seconds]
Apane has joined #ruby
havenwood has joined #ruby
keanehsiao has joined #ruby
umttumt has quit [Remote host closed the connection]
Neomex has joined #ruby
Neomex has quit [Client Quit]
richiebkr has joined #ruby
jimg has joined #ruby
<catphish> Hanmac: i call Logger.new(STDOUT).debug packet.inspect #where packet is an instance of Radiustar::Packet - https://github.com/pjdavis/radiustar/blob/master/lib/radiustar/packet.rb
kenmaz has joined #ruby
richiebkr has quit [Client Quit]
Banistergalaxy has joined #ruby
_JamieD_ has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
xardas has joined #ruby
alex__c2022 has joined #ruby
kenmaz has quit [Remote host closed the connection]
<Xeago> on a fresh box
<Xeago> I installed ruby using ruby-build
carlyle has joined #ruby
poseid has quit [Quit: Leaving.]
bionoid has joined #ruby
<Xeago> trying to do anything in irb
kdaigle has joined #ruby
kenmaz has joined #ruby
kdaigle has quit [Client Quit]
<Xeago> echo RUBY_VERSION #=> NoMethodError: undefined method `echo' for main:Object
rhys has joined #ruby
krz has quit [Quit: WeeChat 0.4.0]
kdaigle has joined #ruby
<catphish> Hanmac: looking at it, the inspect might be recursive and include things that have custom inspect
krz has joined #ruby
krz has joined #ruby
krz has quit [Changing host]
Apane has quit [Remote host closed the connection]
<havenwood> Xeago: `echo RUBY_VERSION` or puts ENV['RUBY_VERSION']
gchristensen has left #ruby ["WeeChat 0.4.0"]
Apane has joined #ruby
ssvo has joined #ruby
<havenwood> Xeago: echo isn't a Ruby method :P
<Xeago> no, it is slappy ubuntu
jimg has quit [Ping timeout: 264 seconds]
<Xeago> sudo apt-get install libssl-dev zlib1g-dev
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<Xeago> can't install gems
<Xeago> that was my first concern
<Xeago> the echo part was just bad sysadminning :P
jlundy has joined #ruby
ckrailo has joined #ruby
<Xeago> forgot which language I was working with
<ericwood> >.<
DaniG2k has quit [Quit: Leaving.]
<havenwood> Xeago: Just an aside, but ruby-install is a new alternative to ruby-build: https://github.com/postmodern/ruby-install#readme
devoldmx has joined #ruby
obs has quit [Quit: Konversation terminated!]
ffio has joined #ruby
browndawg has joined #ruby
<Xeago> thanks
zined has joined #ruby
<havenwood> Xeago: chruby picks up Rubies installed by ruby-install automatically
obs has joined #ruby
<havenwood> Xeago: chruby and ruby-install are both tested and are on TravisCI :)
Apane has quit [Ping timeout: 264 seconds]
execat has joined #ruby
ffranz has joined #ruby
jinie_ is now known as jinie
carloslopes has quit [Remote host closed the connection]
arturaz has quit [Ping timeout: 268 seconds]
danslo has quit [Quit: danslo]
Asher has joined #ruby
keanehsiao has quit [Quit: Leaving...]
redgirl has quit [Quit: This computer has gone to sleep]
Asher has quit [Client Quit]
paulswilliamsesq has joined #ruby
wsterling has joined #ruby
Asher has joined #ruby
xardas has quit [Ping timeout: 268 seconds]
<Xeago> havenwood: how to install ruby-install tho?
<Xeago> nvm, am blind
gazarsgo has quit [Quit: gazarsgo]
bionoid has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
pootler_ has joined #ruby
paulswilliamsesq has quit [Read error: Connection reset by peer]
gazarsgo has joined #ruby
_theriffer_ has quit [Quit: _theriffer_]
F1skr has quit [Quit: WeeChat 0.4.1]
tgraham has quit [Quit: Linkinus - http://linkinus.com]
F1skr has joined #ruby
Jackneill has quit [Ping timeout: 240 seconds]
chrishough has joined #ruby
Apane has joined #ruby
Jackneill has joined #ruby
F1skr has quit [Client Quit]
kristiandelay has quit [Remote host closed the connection]
F1skr has joined #ruby
supergiantrobot has joined #ruby
paulswilliamsesq has joined #ruby
zigomir has quit [Quit: zigomir]
kobain has joined #ruby
asteve has joined #ruby
cmarques has quit [Ping timeout: 264 seconds]
asteve has quit [Max SendQ exceeded]
Aaaarg has quit [Quit: Aaaarg]
xardas has joined #ruby
theRoUS has quit [Ping timeout: 264 seconds]
<zined> ohai
<matti> Ohai
falkoner has joined #ruby
prophile has quit [Changing host]
prophile has joined #ruby
cj3kim has joined #ruby
burlyscudd has quit [Quit: Leaving.]
sambao21 has quit [Quit: Computer has gone to sleep.]
Aristata has left #ruby [#ruby]
LaPetiteFromage has quit [Quit: LaPetiteFromage]
robscomputer has quit [Ping timeout: 246 seconds]
sayd has joined #ruby
<sayd> i installed facter via a system migration. now when i run facter I see: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- facter/application (LoadError)
jrhe has quit [Quit: jrhe]
fixl has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
kil0byte has quit [Remote host closed the connection]
camilasan has quit [Remote host closed the connection]
krz has quit [Quit: WeeChat 0.4.0]
threesome has joined #ruby
jds has quit [Ping timeout: 246 seconds]
sambao21 has joined #ruby
burlyscudd has joined #ruby
<sayd> does that seem like xcode is missing?
cj3kim has quit [Ping timeout: 264 seconds]
alup has quit [Quit: Leaving]
_Renegade has quit [Quit: _Renegade]
slash_nick has joined #ruby
slash_nick has quit [Changing host]
slash_nick has joined #ruby
bradleyprice has joined #ruby
<havenwood> sayd: Are you meaning to be in Ruby 1.8?
ravster has joined #ruby
JumpMast3r has quit [Quit: JumpMast3r]
<ravster> Hey all
<sayd> I think so havenwood
<sayd> its just a stock Mountain Lion
dr_bob has quit [Quit: Leaving.]
<havenwood> sayd: Isn't indicative of Xcode missing, just that the gem isn't installed.
kenmaz has left #ruby ["Leaving..."]
<ericwood> yep
Neomex has joined #ruby
Neomex has quit [Client Quit]
kasper has quit [Ping timeout: 256 seconds]
xardas has quit [Changing host]
xardas has joined #ruby
Guest72379 is now known as martxel
martxel has quit [Changing host]
martxel has joined #ruby
rdFLeece_ has joined #ruby
Aaaarg has joined #ruby
arietis has joined #ruby
<havenwood> sayd: OS X 10.9 updates system Ruby to 2.0.0-p195, but in the meanwhile you can get 2.0.0-p195 with RVM, chruby/ruby-install or rbenv/ruby-build. Or with Homebrew.
carloslopes has joined #ruby
Solnse has joined #ruby
* ericwood is looking forward to the default OS X ruby being 2.0 :D
<havenwood> sayd: I personally use chruby/ruby-install on OS X and it works great. They both have brew installs.
Coffers has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
arietis has quit [Client Quit]
<ericwood> either one works great
<sayd> thanks
rafb3 has quit [Remote host closed the connection]
miskander has joined #ruby
havenwood has quit [Remote host closed the connection]
RORgasm has quit [Read error: Connection reset by peer]
RORgasm has joined #ruby
<Hanmac> OSX updates system software? i didnt thought that would happen until ruby3.0 would be released oO
<ericwood> lol
rdFLeece has quit [Ping timeout: 268 seconds]
<ericwood> yeah, I was thinking they wouldn't update but they actually did! :D
devoldmx has quit [Ping timeout: 264 seconds]
<ericwood> it means the luv us rubyists and want us to be happy :')
hamakn has quit [Remote host closed the connection]
devoldmx has joined #ruby
jesly has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
burlyscudd has quit [Quit: Leaving.]
krz has joined #ruby
<sayd> i always hesitate on my non dev machines to add xcode, brew, etc but i always end up caving in
carlyle has quit [Remote host closed the connection]
<ericwood> brew isn't a risk or anything
<ericwood> you can also install all the OS X CLI tools without installing xcode, they package an installer for that
MachinShin has joined #ruby
<ericwood> if you're interested I can find you the link
<sayd> its ok
<lupine> osx does update things from time to time, I remember when it was ruby 1.8.6
<sayd> ive used it, but i think brew requires full xcode now
<ericwood> no it doesn't
zigomir has joined #ruby
<ericwood> it just requires the CLI tools that come with xcode
<sayd> maybe some of the formulas do then
beneggett has joined #ruby
<ericwood> idk maybe?
devoldmx3 has joined #ruby
arietis has joined #ruby
zigomir has quit [Client Quit]
devoldmx has quit [Ping timeout: 240 seconds]
devoldmx27 has joined #ruby
theRoUS has joined #ruby
keanehsiao has joined #ruby
dash_ has quit [Ping timeout: 264 seconds]
asteve has joined #ruby
kenmaz has joined #ruby
nari has quit [Ping timeout: 264 seconds]
audy has left #ruby ["something went wrong"]
devoldmx3 has quit [Ping timeout: 240 seconds]
paulswilliamsesq has quit [Read error: Connection reset by peer]
_Renegade has joined #ruby
Apane has quit [Ping timeout: 248 seconds]
guiocavalcanti has joined #ruby
apeiros has quit [Remote host closed the connection]
graft has quit [Ping timeout: 252 seconds]
mikepack has joined #ruby
dr_bob has joined #ruby
dhruvasagar has quit [Ping timeout: 276 seconds]
dash_ has joined #ruby
Trynemjoel has quit [Ping timeout: 245 seconds]
b0oh has quit [Quit: Leaving.]
burlyscudd has joined #ruby
a_a_g has quit [Quit: Leaving.]
Guest28111 is now known as ixx
carlyle has joined #ruby
ngoldman has joined #ruby
emanon_ has quit [Remote host closed the connection]
devoldmx27 has quit [Ping timeout: 268 seconds]
devoldmx has joined #ruby
dhruvasagar has joined #ruby
jds has joined #ruby
<Xeago> bah, ubuntu
graft has joined #ruby
graft has joined #ruby
graft has quit [Changing host]
choobie has joined #ruby
choobie has joined #ruby
choobie has quit [Changing host]
keanehsiao has quit [Ping timeout: 268 seconds]
<Xeago> what package do I install to get 'deb', 'add-apt-repository' and 'deb-src'?
_JamieD_ has quit [Quit: _JamieD_]
atno__ is now known as atno
pootler_ has quit [Quit: Lost terminal]
timonv has quit [Remote host closed the connection]
bluenemo has quit [Remote host closed the connection]
pootler_ has joined #ruby
pootler__ has joined #ruby
DaniG2k has joined #ruby
<ghr> Xeago python-software-properties
slash_nick has quit [Ping timeout: 268 seconds]
axl_ has joined #ruby
filipe has quit [Ping timeout: 252 seconds]
dankest has joined #ruby
linharig has joined #ruby
kil0byte has joined #ruby
zeade has joined #ruby
<_br_> What is the recommended lib for elastic search client access in ruby (non-rails) these days?
bionoid has joined #ruby
bionoid_ has joined #ruby
timkohrumel has joined #ruby
boblu has quit [Quit: Leaving]
<Xeago> _br_: there are 2 that I know of
<Xeago> tire and another one
<Xeago> both are fine
fomatin has joined #ruby
io_syl has joined #ruby
<Xeago> but the other one has less stuff with rails
_theriffer_ has joined #ruby
rippa has quit [Read error: Connection reset by peer]
jimg has joined #ruby
rippa has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
bionoid has quit [Ping timeout: 248 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
<_br_> Xeago: Ah, I see. Do you remember the name of the 'other lib' ?
catphish has quit [Quit: Leaving]
krz has quit [Quit: krz]
<_br_> Tire looks quite interesting, was just not sure with so much choice, what is a good one.
<_br_> Xeago: Thanks for your input !
gianlucadv has quit [Excess Flood]
jonahR has quit [Quit: jonahR]
ivanoats has joined #ruby
jimg has quit [Ping timeout: 268 seconds]
gianlucadv has joined #ruby
bradhe has joined #ruby
bionoid has joined #ruby
echevemaster has joined #ruby
fomatin has quit [Quit: Computer has gone to sleep.]
cmarques has joined #ruby
richiebkr has joined #ruby
noname001 has quit [Remote host closed the connection]
zai has quit [Read error: Connection reset by peer]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mikecmpbll has joined #ruby
Iszak has quit [Quit: Textual IRC Client: www.textualapp.com]
kindjal has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
devoldmx has quit [Ping timeout: 246 seconds]
linharig has quit [Read error: Connection reset by peer]
alekst has quit [Quit: Leaving...]
djbkd has joined #ruby
bionoid_ has quit [Ping timeout: 248 seconds]
terrellt has quit [Ping timeout: 248 seconds]
slainer68 has quit [Ping timeout: 256 seconds]
echevemaster has quit [Client Quit]
devoldmx has joined #ruby
tylersmith has quit [Remote host closed the connection]
devoldmx3 has joined #ruby
echevemaster has joined #ruby
echevemaster has quit [Changing host]
echevemaster has joined #ruby
richiebkr has quit [Client Quit]
jinie is now known as jinie_
generalissimo has joined #ruby
vn4v1n has joined #ruby
rdFLeece_ has quit [Remote host closed the connection]
matthewrobbins_ has quit [Ping timeout: 276 seconds]
vn4v1n has left #ruby [#ruby]
slash_nick has joined #ruby
slash_nick has quit [Changing host]
slash_nick has joined #ruby
MachinShin has quit [Ping timeout: 264 seconds]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
johnnyfuchs has joined #ruby
devoldmx has quit [Ping timeout: 264 seconds]
ybart has quit [Quit: ybart]
verto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kristiandelay has joined #ruby
yalue has quit [Read error: Connection reset by peer]
r0bgleeson has quit [Ping timeout: 256 seconds]
DaniG2k has quit [Quit: Leaving.]
cabotto has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
dhruvasagar has quit [Ping timeout: 264 seconds]
Jalada has quit [Quit: ZNC - http://znc.in]
vlad_starkov has joined #ruby
richiebkr has joined #ruby
sambao21 has joined #ruby
jesly has quit [Ping timeout: 264 seconds]
ghr has quit [Quit: Computer has gone to sleep.]
devoldmx has joined #ruby
devoldmx3 has quit [Ping timeout: 260 seconds]
apeiros has joined #ruby
Banistergalaxy has quit [Ping timeout: 268 seconds]
timonv has joined #ruby
Banistergalaxy has joined #ruby
richiebkr has quit [Client Quit]
richiebkr has joined #ruby
ngoldman has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 264 seconds]
terrellt has joined #ruby
browndawg has left #ruby [#ruby]
burlyscudd has quit [Quit: Leaving.]
bradhe has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
jdunck has joined #ruby
bradhe has joined #ruby
kil0byte has quit [Remote host closed the connection]
wookiehangover has quit [Ping timeout: 256 seconds]
generalissimo has quit [Remote host closed the connection]
advorak has joined #ruby
richiebkr has quit [Client Quit]
advorak has left #ruby [#ruby]
wookiehangover has joined #ruby
ngoldman has joined #ruby
timmow has quit [Ping timeout: 240 seconds]
senayar has quit [Remote host closed the connection]
dash_ has quit [Quit: Time to beer :)]
Voodoofish430 has joined #ruby
johnrlive has joined #ruby
kil0byte has joined #ruby
bradhe has quit [Ping timeout: 255 seconds]
johnmlocklear_ has quit [Ping timeout: 264 seconds]
Al__ has quit [Quit: Al__]
burlyscudd has joined #ruby
jesly has joined #ruby
freerobby has joined #ruby
devoldmx has quit [Ping timeout: 252 seconds]
Apane has joined #ruby
devoldmx has joined #ruby
dmiller has quit [Remote host closed the connection]
tonini has joined #ruby
advorak has joined #ruby
pothibo has joined #ruby
_theriffer_ has quit [Quit: _theriffer_]
redgirl has joined #ruby
timonv has quit [Remote host closed the connection]
_theriffer_ has joined #ruby
blitz has joined #ruby
MachinShin has joined #ruby
Apane has quit [Remote host closed the connection]
_theriffer_ has quit [Client Quit]
_theriffer_ has joined #ruby
burlyscudd has quit [Quit: Leaving.]
dmiller has joined #ruby
johnrlive has quit [Remote host closed the connection]
nomenkun has quit [Ping timeout: 252 seconds]
jds has quit [Ping timeout: 268 seconds]
devoldmx has quit [Ping timeout: 240 seconds]
hamakn has joined #ruby
Apane has joined #ruby
devoldmx has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
r0bby has quit [Remote host closed the connection]
x1337807x has joined #ruby
fmcgeough has quit [Read error: Connection reset by peer]
fmcgeough has joined #ruby
yalue has joined #ruby
mocfive has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
gazarsgo has quit [Quit: gazarsgo]
mklappstuhl has quit [Remote host closed the connection]
rupee has joined #ruby
angusiguess has joined #ruby
hamakn has quit [Ping timeout: 246 seconds]
dr_bob has left #ruby [#ruby]
robscomputer has joined #ruby
Banistergalaxy has quit [Ping timeout: 264 seconds]
Apane has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby
Apane has joined #ruby
twoism has joined #ruby
MachinShin has quit [Ping timeout: 246 seconds]
mklappstuhl has joined #ruby
popl has joined #ruby
buibex has joined #ruby
Astralum has joined #ruby
bradhe has joined #ruby
athst has joined #ruby
ferdev has quit [Quit: ferdev]
sambao21 has joined #ruby
execat has quit [Quit: Leaving]
Spooner has quit [Remote host closed the connection]
blaxter_ has joined #ruby
buibex has quit [Remote host closed the connection]
mklappstuhl has quit [Remote host closed the connection]
devdazed has joined #ruby
spider-mario has joined #ruby
Apane has quit [Remote host closed the connection]
heftig has quit [Quit: Quitting]
P1RATEZ has joined #ruby
richiebkr has joined #ruby
heftig has joined #ruby
kenmaz has quit [Remote host closed the connection]
dmiller has quit [Remote host closed the connection]
Zai00 has quit [Quit: Zai00]
devoldmx has quit [Ping timeout: 252 seconds]
tonini has quit [Ping timeout: 248 seconds]
devoldmx has joined #ruby
banjara has joined #ruby
Banistergalaxy has joined #ruby
r0bby has joined #ruby
P1RATEZ has quit [Quit: Read error: Text overflow]
kdaigle has quit [Quit: Textual IRC Client: www.textualapp.com]
Apane has joined #ruby
ffio_ has joined #ruby
sayan has quit [Ping timeout: 246 seconds]
ffio has quit [Ping timeout: 268 seconds]
i_s has joined #ruby
bradhe has quit [Ping timeout: 246 seconds]
jacobw has joined #ruby
i_s has quit [Client Quit]
r0bby has quit [Remote host closed the connection]
jackal_af1 has quit [Ping timeout: 264 seconds]
rolloTomasi1 has left #ruby ["WeeChat 0.3.8"]
DanKnox_away is now known as DanKnox
dhruvasagar has joined #ruby
Apane has quit [Ping timeout: 246 seconds]
bradhe has joined #ruby
jds has joined #ruby
enebo has quit [Quit: enebo]
ffranz has quit [Quit: Leaving]
dash_ has joined #ruby
Banistergalaxy has quit [Read error: Connection reset by peer]
r0bby has joined #ruby
ngoldman has quit [Remote host closed the connection]
Neomex has joined #ruby
Apane has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
Shirakawasuna has joined #ruby
jondot has joined #ruby
Shirakawasuna has quit [Max SendQ exceeded]
interactionjaxsn has quit [Remote host closed the connection]
Shirakawasuna has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
interactionjaxsn has joined #ruby
devoldmx has quit [Ping timeout: 248 seconds]
richiebkr has quit [Quit: richiebkr]
JumpMast3r has joined #ruby
devoldmx has joined #ruby
[1]SoonerBourne has joined #ruby
DanKnox is now known as DanKnox_away
Hanmac has quit [Ping timeout: 268 seconds]
freerobby has quit [Quit: Leaving.]
interactionjaxsn has quit [Ping timeout: 255 seconds]
DanKnox_away is now known as DanKnox
burlyscudd has joined #ruby
SoonerBourne has quit [Ping timeout: 276 seconds]
[1]SoonerBourne is now known as SoonerBourne
Floydzy has joined #ruby
johnmlocklear_ has joined #ruby
codecop has joined #ruby
graft has quit [Ping timeout: 260 seconds]
rdFLeece has joined #ruby
angusiguess has quit [Ping timeout: 252 seconds]
sayan has joined #ruby
burlyscudd1 has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
rdark has quit [Ping timeout: 276 seconds]
dangerousdave has joined #ruby
graft has joined #ruby
graft has quit [Changing host]
graft has joined #ruby
thesheff17 has quit [Read error: Connection reset by peer]
ivanoats has quit [Remote host closed the connection]
rdark has joined #ruby
burlyscudd has quit [Ping timeout: 248 seconds]
icole has joined #ruby
jalcine has joined #ruby
RORgasm has quit [Read error: Connection reset by peer]
RORgasm_ has joined #ruby
emmanuelux has joined #ruby
theRoUS has quit [Ping timeout: 258 seconds]
carlyle has quit [Remote host closed the connection]
guiocavalcanti has quit [Read error: Connection reset by peer]
num74 has joined #ruby
jackal_af has joined #ruby
devoldmx has quit [Ping timeout: 252 seconds]
thams has joined #ruby
RORgasm_ is now known as RORgasm
ngoldman has joined #ruby
devoldmx has joined #ruby
timonv has joined #ruby
<Skelz0r> How can i test that nothing happen with capybara ?
<MrZYX> test that something does not happen
freerobby has joined #ruby
rdark has quit [Ping timeout: 240 seconds]
slash_nick has quit [Read error: No route to host]
x1337807x has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
jalcine has quit [Remote host closed the connection]
<terrellt> page.should_not have_content("stuff that shouldn't be there")?
icole has quit [Remote host closed the connection]
<MrZYX> ^
blitzkev has joined #ruby
<terrellt> Or, even better. content = page.content (is that the method?), then do stuff, then page.content.should == content
rdFLeece_ has joined #ruby
<terrellt> page.body it might be.
ngoldman_ has joined #ruby
burlyscudd has joined #ruby
robscomputer_ has joined #ruby
gazarsgo has joined #ruby
toddWork__ has joined #ruby
ViperMaul has joined #ruby
ramblex has quit [Remote host closed the connection]
<Skelz0r> i had this idea, but it is an edge case : i got a page with items that can be filtered (filter just scale them at 0.001 scale)
mahmoudimus has joined #ruby
troessner has quit [Quit: Leaving]
slash_nick has joined #ruby
slash_nick has quit [Changing host]
slash_nick has joined #ruby
<Skelz0r> i want to test that i don't play filtering animation twice in a row if user filters twice in a row
<Skelz0r> dom will end up being the same and the page.body won't make it
wang_ has joined #ruby
QKO_ has joined #ruby
burlyscudd has quit [Client Quit]
yo61_ has joined #ruby
adambeynon has joined #ruby
supki_ has joined #ruby
error404_ has joined #ruby
firebury has joined #ruby
graft_ has joined #ruby
graft_ has quit [Changing host]
graft_ has joined #ruby
erry_ has joined #ruby
erry has quit [Killed (kornbluth.freenode.net (Nickname regained by services))]
erry_ is now known as erry
adambeynon has quit [Client Quit]
athst has quit [Quit: athst]
Spami has joined #ruby
heftig has quit [Quit: Quitting]
ngoldman has quit [*.net *.split]
graft has quit [*.net *.split]
burlyscudd1 has quit [*.net *.split]
rdFLeece has quit [*.net *.split]
robscomputer has quit [*.net *.split]
blitz has quit [*.net *.split]
Rizzle has quit [*.net *.split]
toddWork_ has quit [*.net *.split]
bjeanes has quit [*.net *.split]
wang has quit [*.net *.split]
firebury_ has quit [*.net *.split]
error404 has quit [*.net *.split]
yo61 has quit [*.net *.split]
QKO has quit [*.net *.split]
nnww has quit [*.net *.split]
supki has quit [*.net *.split]
Sp4rKy has quit [*.net *.split]
LucidDreamZzZ has joined #ruby
Banistergalaxy has joined #ruby
senayar has joined #ruby
sideshowcoder has quit [Read error: Connection reset by peer]
angusiguess has joined #ruby
byprdct has joined #ruby
rdark has joined #ruby
denver has quit [Remote host closed the connection]
binaryplease has quit [Ping timeout: 248 seconds]
alvaro_o has joined #ruby
Sp4rKy has joined #ruby
athst has joined #ruby
Spami has quit [Ping timeout: 264 seconds]
bjeanes has joined #ruby
rezzack has joined #ruby
khushildep has quit [Ping timeout: 264 seconds]
Banistergalaxy has quit [Ping timeout: 256 seconds]
_Andres has quit [Quit: jazz]
atmosx has joined #ruby
interactionjaxsn has joined #ruby
_Andres has joined #ruby
saintcajetan has joined #ruby
sambao21 has joined #ruby
devoldmx has quit [Ping timeout: 252 seconds]
chrishough has quit [Quit: chrishough]
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
Neomex has quit [Quit: Neomex]
ananthakumaran has quit [Quit: Leaving.]
devoldmx has joined #ruby
sideshowcoder has joined #ruby
<Xeago> So I got the message "Please `gem install rb-readline` or recompile ruby --with-readline."
thesheff17 has joined #ruby
<Xeago> I installed rb-readline
<Xeago> still get the message
<Xeago> what to do?
gr4yscale has joined #ruby
<MrZYX> recompile ruby with --with-readline?
<Xeago> not really an option :\
pr0crastinat0r has joined #ruby
<_br_> how come?
<_br_> aren't you using rbenv or rvm ?
<Xeago> have to use system ruby
<MrZYX> which OS?
sayan has quit [Read error: Connection reset by peer]
<Xeago> ubuntu12.04
<Xeago> the most crippled distro ever
chrishough has joined #ruby
<yxhuvud> hahah no
heftig has joined #ruby
jesly has quit [Ping timeout: 264 seconds]
<MrZYX> oh, their headline is "The most popular free OS" now?
<MrZYX> …
DanKnox is now known as DanKnox_away
<Xeago> yxhuvud: convince me please
Layke has joined #ruby
<yxhuvud> no, but they do what they do, and that is have somewhat modern packages.
<MrZYX> "somewhat". Right
<Layke> I'm attempting to run some plugin for NewRelic. They provide a Ruby plugin, I've gone through everything, and installed the bundle, but when I run, it errors. Here's the trace.
<yxhuvud> extremely recent compared to debian stable or redhat
<Layke> Does that scream out as being something obvious?
<yxhuvud> which is what I have to use.
<MrZYX> yxhuvud: still feels ancient if you tried arch
Dummies_freelanc has joined #ruby
johnrlive has joined #ruby
icole has joined #ruby
johnrlive has quit [Read error: Connection reset by peer]
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
devoldmx has quit [Ping timeout: 246 seconds]
<MrZYX> Layke: guess you're passing in nil where it doesn't expect that
<Xeago> regardless, I consider osx server, combined with brew better in all regards
<yxhuvud> I mean seriously, ubuntu have had packaged ruby 1.9 since forever, even if it may not have been the defualt setup. redhat/centos still don't.
johnrlive has joined #ruby
Aaaarg has quit [Quit: Aaaarg]
jprovazn has joined #ruby
<MrZYX> arch ditched ruby 1.9 for 2.0 from the repos
<Xeago> I prefer fedora for servers over everything still
<MrZYX> a few weeks ago already
devoldmx has joined #ruby
bigoldrock has joined #ruby
rdark has quit [Quit: leaving]
<Layke> MrZYX, I just ran locally, and it seems to work. Just not on the server. I'll try seeing what's different :/
gr4yscale has quit [Quit: Computer has gone to sleep.]
<Layke> Okay got it. Thanks. :) Updated everything and works
<MrZYX> Xeago: if you can't use rbenv/rvm/chruby rebuilding the package is your best bet
nomenkun has joined #ruby
burlyscudd has joined #ruby
kirun has joined #ruby
ferdev has joined #ruby
zmike123 has quit [Ping timeout: 268 seconds]
<Xeago> MrZYX: yea, filed a request with the sysadmin
DanKnox_away is now known as DanKnox
momomomomo has quit [Quit: momomomomo]
sideshowcoder has quit [Ping timeout: 264 seconds]
jds has quit [Ping timeout: 264 seconds]
Patchou has joined #ruby
harrymoreno has joined #ruby
Tamae has quit [Ping timeout: 248 seconds]
kenmaz has joined #ruby
nnww has joined #ruby
Fire-Dragon-DoL has joined #ruby
devoldmx has quit [Ping timeout: 260 seconds]
tonini has joined #ruby
devoldmx has joined #ruby
jaybe_ is now known as jaybe
JohnBat26 has joined #ruby
generalissimo has joined #ruby
sideshowcoder has joined #ruby
pr0crastinat0r has quit [Quit: Leaving]
johnmilton has quit [Ping timeout: 276 seconds]
robscomputer_ has quit [Remote host closed the connection]
zeromodulus has joined #ruby
zeromodulus has quit [Changing host]
zeromodulus has joined #ruby
pr0crastinat0r has joined #ruby
viszu has quit [Quit: Leaving.]
kenmaz has quit [Ping timeout: 260 seconds]
Patchou has quit [Ping timeout: 256 seconds]
ellipse has joined #ruby
pi3r has quit [Quit: Leaving]
nightfly has quit [Quit: WeeChat 0.4.0]
kasper has joined #ruby
vlad_starkov has joined #ruby
DomKM has quit [Quit: Leaving.]
zastern has joined #ruby
zmike123 has joined #ruby
elliptical has joined #ruby
ebobby has joined #ruby
freerobby has quit [Quit: Leaving.]
sepp2k has joined #ruby
blitzkev is now known as blitz
ellipse has quit [Ping timeout: 264 seconds]
elliptical is now known as ellipse
ffranz has joined #ruby
ngoldman_ has quit [Remote host closed the connection]
shadoi has quit [Quit: Leaving.]
shadoi has joined #ruby
miskander has quit [Quit: miskander]
johnmilton has joined #ruby
jonahR has joined #ruby
gr4yscale has joined #ruby
byprdct has quit [Ping timeout: 252 seconds]
guiocavalcanti has joined #ruby
jibi has joined #ruby
Hanmac has joined #ruby
jimg has joined #ruby
miskander has joined #ruby
devoldmx has quit [Ping timeout: 248 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
bionoid has quit [Remote host closed the connection]
jackal_af has quit [Ping timeout: 240 seconds]
devoldmx has joined #ruby
pranny has joined #ruby
pranny has left #ruby [#ruby]
jackal_af has joined #ruby
jds has joined #ruby
burlyscudd has quit [Quit: Leaving.]
jimg has quit [Ping timeout: 248 seconds]
athst has quit [Quit: athst]
generalissimo has quit [Remote host closed the connection]
generalissimo has joined #ruby
devoldmx has quit [Ping timeout: 240 seconds]
<Eiam> [{"a"=>1},{"a"=>2},{"a"=>3},{"a"=>4}].map("a")
<Eiam> I want this magic
devoldmx has joined #ruby
atyz has joined #ruby
jds has quit [Remote host closed the connection]
jds has joined #ruby
<canton7> Eiam, general feature request, or specific request for help?
DrShoggoth has joined #ruby
net_mask has joined #ruby
<Eiam> I was browsing through new things in ruby 2 hoping to stumble upon something like that, I saw some neat stuff like lazy enums etc but, so far no luck
burlyscudd has joined #ruby
<popl> you mean like multimap?
<Eiam> I write so much [].map {|x| x["attr"]}
workmad3 has joined #ruby
<Eiam> and it drives me nuts
ChristianS has quit [Excess Flood]
Dekade has joined #ruby
<canton7> just monkey-patch Hash if you're that bothered :)
niklasb has joined #ruby
ChristianS has joined #ruby
<Eiam> nah I can't cause then everyone reading my code on the team would be like what the crap is this
timkohrumel has quit [Remote host closed the connection]
atno has quit [Remote host closed the connection]
miskander has quit [Quit: miskander]
jesly has joined #ruby
RORgasm has quit [Read error: Connection reset by peer]
RORgasm has joined #ruby
mrsolo has joined #ruby
miskander has joined #ruby
banister_ has joined #ruby
fomatin has joined #ruby
bobbyz has quit [Ping timeout: 240 seconds]
<popl> Eiam: what would you example up there return?
<popl> *your
skasio has quit [Ping timeout: 264 seconds]
skasio has joined #ruby
freerobby has joined #ruby
<apeiros> Eiam: dude, use proper classes/objects
burlyscudd has quit [Read error: Connection reset by peer]
burlyscudd1 has joined #ruby
jesly has quit [Ping timeout: 240 seconds]
<apeiros> then you can do things like .map(&:a)
<apeiros> or .pluck(:a), or whatever
jkline has joined #ruby
<banister_> apeiros: what pluck
<Eiam> popl: [1,2,3,4]
DomKM has joined #ruby
gr4yscale has quit [Quit: Computer has gone to sleep.]
<Eiam> yeah ruby deoesn't have pluck
<apeiros> banister_: well, AR::Base#pluck, can easily be ported to Enumerable
<popl> Eiam: there appears to be a multimap gem
<Eiam> apeiros: yeah, here http://kourge.net/node/100 someone already did it
sambao21 has joined #ruby
jesly has joined #ruby
echevemaster has quit [Ping timeout: 264 seconds]
<apeiros> bad implementation IMO
<banister_> apeiros: what is Base#pluck
<apeiros> ah well, less bad than I thought
devoldmx has quit [Ping timeout: 256 seconds]
<apeiros> banister_: AR::Base - ActiveRecord::Base
RORgasm has quit [Read error: Connection reset by peer]
RORgasm_ has joined #ruby
<apeiros> it's a shortcut to get a single attribute from a model collection
<apeiros> also generates a better query for it
devoldmx has joined #ruby
bobbyz has joined #ruby
<Eiam> banister_: yeah I've been using underscore a lot lately, makes JS much more enjoyable
gr4yscale has joined #ruby
<banister_> Eiam: for real
ewag has quit [Ping timeout: 240 seconds]
miskander has quit [Quit: miskander]
<banister_> Eiam: though the parameters are often the wrong way round
<Eiam> banister_: hahha YES THEY ARE
gyre007 has quit [Ping timeout: 276 seconds]
<Eiam> fucking value,key bullshit
<banister_> makes it hard to do things like partial application
<Eiam> I just constantly remind myself "JS is a backwards language, so the parameters are backwards too!"
<banister_> Eiam: check out this vid: http://www.youtube.com/watch?v=m3svKOdZijA
<banister_> "underscore.js, you're doing it wrong!" ;)
<Eiam> oh, underscore is the same dude that did coffeescript?
<banister_> yeah, and backbone
<Eiam> no wonder _ feels so ruby like
<banister_> he's a bit of a big deal :)
<banister_> same guy behind underscore, backbone, and coffeescript
<Eiam> *shrug* the web stack changes so fast I barely pay attention to who did what
<Eiam> chances are their framework will be dead in a few years anyway
johnrlive has quit [Remote host closed the connection]
celestius has joined #ruby
thams has quit [Quit: thams]
ewag has joined #ruby
<celestius> anybody have experience with Faraday's built-in test stubbing?
kasper has quit [Remote host closed the connection]
RubNoob has joined #ruby
<celestius> i'm basically trying to do what the README says, to no avail
<RubNoob> can someone help me figure out how to use Nokogiri on a document that has attributes with XML values?
pr0crastinat0r is now known as sayan
sayan has quit [Changing host]
sayan has joined #ruby
<slash_nick> RubNoob: I'd gist the xml and what you're having troubles with
<apeiros> xml + code, preferably small and easy to reproduce
<RubNoob> basically there is an XML element like this: <Service TYPE="This is some response<br/> Let's try this" PORT="10" />
devoldmx has quit [Ping timeout: 240 seconds]
ffranz has quit [Quit: Leaving]
<RubNoob> when I parse the XML, the returned element for xpath stops at the <br/> because it assumes that's the end of the element
<RubNoob> even though that's within the attribute value
baroquebobcat has joined #ruby
<workmad3> RubNoob: it helps if your XML is well-formed when you parse it
kasper has joined #ruby
<RubNoob> workmad3 what do you mean it helps if it's well-formed
ffranz has joined #ruby
<workmad3> RubNoob: < and > aren't legal inside attribute values
Evixion` has joined #ruby
<workmad3> RubNoob: they need to be escaped
devoldmx has joined #ruby
<celestius> nvm, i'm an idiot
<RubNoob> this is something that is returned from a 3rd party product - is there a way to escape them?
Evixion has quit [Ping timeout: 246 seconds]
<RubNoob> or do I have to do it manually?
mocfive has quit [Remote host closed the connection]
<apeiros> RubNoob: file a bugreport with that 3rd party product provider
<workmad3> yeah, tell them to stop giving you shit XML
<RubNoob> apeiros ok, but in the interest of getting this working, I guess I'll have to manually handle it
<workmad3> RubNoob: it's going to be really hard to handle manually
miskander has joined #ruby
<apeiros> well, nokogiri's html mode is tagsoup-ish
<apeiros> that might work
pu22l3r has joined #ruby
m_3 has quit [Quit: leaving]
sayan has quit [Quit: Leaving]
<apeiros> yepp, Nokogiri.HTML(broken_xml) parses, while .XML doesn't
<apeiros> might have other issues, though
m_3 has joined #ruby
jds has quit [Remote host closed the connection]
DomKM has quit [Quit: Leaving.]
sayan has joined #ruby
<RubNoob> apeiros great, thank you for your help!
RubNoob has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
obs has quit [Quit: Konversation terminated!]
chichou has quit [Remote host closed the connection]
fomatin has quit [Quit: Computer has gone to sleep.]
hadees has quit [Ping timeout: 256 seconds]
Dummies_freelanc has left #ruby [#ruby]
fermion has quit [Quit: Textual IRC Client: www.textualapp.com]
kdaigle_ has joined #ruby
jasonkuhrt has joined #ruby
fuzzyhorns has quit [Remote host closed the connection]
fomatin has joined #ruby
tourdedave has joined #ruby
devoldmx has quit [Ping timeout: 264 seconds]
devoldmx has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
RORgasm_ is now known as RORgasm
Fr4n has joined #ruby
sepp2k1 has joined #ruby
avengedsixfold has joined #ruby
bionoid has joined #ruby
kasper has quit [Remote host closed the connection]
hadees has joined #ruby
suyase has joined #ruby
sepp2k has quit [Ping timeout: 246 seconds]
athst has joined #ruby
ehaliewicz has joined #ruby
blaxter_ has quit [Ping timeout: 264 seconds]
<suyase> So if I'm digging through someone else's ruby app...and they created a class method that parses XML, but did not use any external XML parsing libraries to do this and actually WROTE the parser themselves, is this standard ruby practice or extremely bad design? (I'm not a ruby dev)
eldariof has joined #ruby
celestius has quit [Quit: Textual IRC Client: www.textualapp.com]
<Hanmac> suyase: external (C++) gems are mostly better and often faster than self made code
devoldmx has quit [Ping timeout: 240 seconds]
Mon_Ouie has quit [Quit: WeeChat 0.4.1]
devoldmx has joined #ruby
arietis has joined #ruby
arietis has quit [Client Quit]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
kofno_ has joined #ruby
<suyase> Hanmac: thanks
timkohrumel has joined #ruby
<suyase> Is an if statement with a single line of code beneath it generally followed by an end?
kofno has quit [Ping timeout: 276 seconds]
kofno_ is now known as kofno
<jkline> does anyone have a good example of a gem that is validated using test::unit and mocha mocks? I would like to see some examples of having mocks configured in setup method
<jkline> I want to configure a test double and then run multiple assertions against it. I think it would be best to use multiple def test_foo methods so that the failures are more obviously tied to one method
jprovazn has quit [Quit: Odcházím]
chrishough_ has joined #ruby
tourdedave has quit [Quit: tourdedave]
chrishough has quit [Ping timeout: 263 seconds]
chrishough_ is now known as chrishough
<bigoldrock> got a nested array question: suppose you have 2 arrays, a = "larry", "moe", "curly" and b = "car", "boat", "plane", "train", "bicycle", "motorcycle"
<bigoldrock> you want it to have operations on elements as follows
Neener54 has quit [Remote host closed the connection]
cj3kim has joined #ruby
zastern has quit [Remote host closed the connection]
<bigoldrock> larry & car, moe & boat, curly & plane, .... then larry & train, moe & bicycle, curly & motorcycle
b0oh has joined #ruby
<bigoldrock> so the first array keeps up with the second even though it has fewer elements
<bigoldrock> any ideas?
<suyase> bigoldrock: I do
devoldmx has quit [Ping timeout: 256 seconds]
<suyase> bigoldrock: pastebin some code
<bigoldrock> ok, just a sec
cj3kim has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
cj3kim has joined #ruby
<jkline> bigoldrock: sounds like zip, but you'll probably need a block to avoid the nils http://ruby-doc.org/core-2.0/Enumerable.html#method-i-zip
miskander has quit [Quit: miskander]
<fryguy> bigoldrock: use zip
x1337807x has quit [Quit: Textual IRC Client: www.textualapp.com]
failshell has quit [Read error: Connection reset by peer]
failshell has joined #ruby
<jlundy> real_position = pos
<jlundy> until pos < first array size then pos = pos - first array size
<jlundy> use real_position for the second array
<jlundy> use pos for first array usage
<jlundy> (just some pseudo crap there)
DomKM has joined #ruby
<jlundy> so essentially when your pos gets to 4, real_position = 4, pos = 1
<bigoldrock> here's .. something http://pastie.org/8060594
carlyle has joined #ruby
<bigoldrock> looking at link now
<_br_> what is the most clever way of chunking a array into pairs of two as a subarray? Do I still need to rely on my old monkeypatching hack for that or is there something now in the stdlib2.0? e.g. [ a,b,c,d ] -> [ [a,b], [c,d] ]
jonathanwallace has joined #ruby
<bigoldrock> will try those suggestsions, thanks jlundy & fryguy
<jlundy> mine is a lot less elegant
tatsuya_o has joined #ruby
<Mon_Ouie> each_slice(2).to_a
<jlundy> you could also do some array merging, etc
<Mon_Ouie> (Which has been around since 1.9, and in 1.8 it was just a bit longer to type)
<avengedsixfold> I was wondering if anyone could point me in the right area for some documentation or points of view. I've written a json rest api using the rails api gem and redis, using unicorn behind nginx I managed 561 requests a second on m1 large aws box (4 unicorn workers).
<avengedsixfold> I also wrote the same api in python and java and they managed 1039 and 2700 requets respectively. Is rails just not suitable for high load apis? I need the application to handle 5k requests and with java I could do that using a cluster of 3 servers with room spare, I'd need over 10 to run rails. Any thoughts appreciated!
<_br_> Mon_Ouie: Ah, nice thanks. Yeah, sorry sometimes I live under a stone here..
Bira has joined #ruby
<suyase> man
<suyase> I came in here when I started digging through the ruby that the last dev team left for us to maintain
<suyase> thinking I could pretty much figure out what they were doing and just get a few quick answers
<suyase> and have everything worked out
jds has joined #ruby
<suyase> but jesus christ reading ruby is like stabbing myself in the eyeballs with razors
pskosinski has quit [Remote host closed the connection]
carloslopes has quit [Remote host closed the connection]
<_br_> suyase: o.O why? Somebody tried to do PHP or Pascal/C style Ruby ?
pskosinski has joined #ruby
ewag has quit [Ping timeout: 240 seconds]
<avengedsixfold> suayse: I'm mainly a java dev and I find ruby beautiful
<avengedsixfold> thats why I want to switch to it
momomomomo has joined #ruby
<avengedsixfold> stick at it
<jlundy> probably perl style ruby
* jlundy hates perl
devoldmx has quit [Ping timeout: 248 seconds]
devoldmx has joined #ruby
<_br_> jlundy: Thats funny, particularly since ruby has many things which are inspired from perl ^^
ewag has joined #ruby
chrishough has quit [Quit: chrishough]
cj3kim has quit [Read error: Connection reset by peer]
byprdct has joined #ruby
<cout> _br_: but those "features" of ruby are usually frowned upon
<bigoldrock> got closer with suggestions from fryguy (thanks)
<bigoldrock> irb(main):017:0> b.zip(a)
<bigoldrock> => [["car", "larry"], ["boat", "moe"], ["plane", "curly"], ["train", nil], ["bicycle", nil], ["motorcycle", nil]
<bigoldrock> any suggestions for how to populate the last three nils?
<jlundy> _br_: yeah I know. I have run across ruby wrote like it was like perl and I disliked that code too. :)
cj3kim has joined #ruby
Lubinski has quit [Read error: Connection reset by peer]
Appineer has joined #ruby
<_br_> cout: Utter nonsense!
dmiller has joined #ruby
Jackneill has quit [Ping timeout: 240 seconds]
mansi has quit [Remote host closed the connection]
<banister_> _br_: he's right, they often are frowned upon, esp things like the special globals
sambao21 has quit [Quit: Computer has gone to sleep.]
<fryguy> bigoldrock: check out array#cycle
mansi has joined #ruby
<bigoldrock> ok, thanks
<_br_> banister_: So we are frowning on the whole timtowtdi idea too? Nonsense.
<banister_> _br_: No, mainly just the special globals
<Mon_Ouie> And flip flops
<_br_> Everything has its use, and should be used with care in the right circumstance.
<banister_> _br_: sometimes language designers make mistakes :)
<banister_> they're no infallible ;)
<banister_> not*
luckyruby has joined #ruby
<_br_> banister_: Actually, the whjole field of language design is one gigantic tradeoff. Such terminology as mistake makes no sense, because these are all shades of gray.
<banister_> _br_: no, some things are genuine mistakes
<_br_> Such as ?
<banister_> _br_: such as the scope of block variables in 1.8
devoldmx3 has joined #ruby
<banister_> _br_: x = 10 (1..5).each { |x| } x #=> 5
ELLIOTTCABLE has quit [Remote host closed the connection]
<_br_> True, that was certainly a mis-feature
ELLIOTTCABLE has joined #ruby
chrishough has joined #ruby
wsterling has quit [Remote host closed the connection]
<jlundy> I dont mind the language as much as how the userbase uses it
<jlundy> perl has some great stuff
<avengedsixfold> any thoughs on my unicorn rails api examples 500 requests a second vs java's 2700 or python's 1000+
<avengedsixfold> ?
<jlundy> its just the users seem to take it as a challenge to make the code as hard to read as humanly possible
<cout> that comes easy in perl
<jlundy> granted the language makes it easy for them with the billions of ways of doing simple things
<jlundy> cout: aye. :-(
mansi has quit [Ping timeout: 264 seconds]
<cout> I've written some awesomely unreadable perl code back in the day
<cout> even perl gurus had trouble wit hit
<_br_> I don't know. I have designed my own Toy languages and speaking from that, I personally think langauge design is a seriously complex task. There are so many concepts that getting somethings not perfect on the first try is a given. That being said, generally dismissing everything from perl as "frowed upon" is not good. Sure, banister_ you specificed that to the misfeatures, but the other stuff from perl is good then?
idletom has joined #ruby
<cout> _br_: I don't think anyone said that
<banister_> _br_: well, the special globals are weird, why anyone would use $: instead of $LOAD_PATH, for example
wsterling has joined #ruby
<cout> banister_: sorry :(
<banister_> and there's a tonne of even more obscure globals
kil0byte has quit [Remote host closed the connection]
<banister_> hehe yeah $: isn't the most obscure one
<_br_> Well, I don't want to nitpick, but you mentioned "cout > _br_: but those "features" of ruby are usually frowned upon"
<banister_> :))
<_br_> well sure you should use $LOAD_PATH, there was misuse of that
persand has joined #ruby
devoldmx has quit [Ping timeout: 256 seconds]
sailias has quit [Quit: Leaving.]
guiocavalcanti has quit [Read error: Connection reset by peer]
<_br_> Doesn't change the fact though that in both cases the problem was solved by these 'evil' globals.
guiocavalcanti has joined #ruby
Trynemjoel has joined #ruby
thams has joined #ruby
sailias has joined #ruby
<jkline> bigoldrock: transport.each_slice(stooges.count).map{|t| t.zip(stooges)}
jonathanwallace has quit [Ping timeout: 246 seconds]
<cout> _br_: again, nobody said "evil" except for you
atmosx has quit [Quit: And so the story goes…]
sambao21 has joined #ruby
ghanima has joined #ruby
<ghanima> hello all
momomomomo has quit [Quit: momomomomo]
mansi has joined #ruby
avengedsixfold1 has joined #ruby
<_br_> cout: Sure, frowned upon is not evil. You are right, I overstated that.
persand has quit [Client Quit]
<ghanima> quick question... I am working with a REST API that allows to submit http put operations. I am trying to find a tutorial on how to assemble a JSON object based
<jkline> bigoldrock: actually use flat_map instead of map to avoid the nested arrays
<ghanima> is anyone aware of any tutorials
slainer68 has joined #ruby
sqbell has joined #ruby
<_br_> ghanima: Try the oj gem, its pretty nice.
<bigoldrock> thanks jkline
<bigoldrock> this worked for me "a.cycle(2).zip(b)"
avengedsixfold has quit [Ping timeout: 248 seconds]
<jkline> bigoldrock: yeah, I just saw that suggestion too, this works too transport.zip(stooges.cycle)
<bigoldrock> using .count to sort out the number (in this case 2)
<bigoldrock> ok, always good to know more than one way to do this .. cool!
idletom has quit []
<ghanima> _br_ pretty much JSON is a hash really that's all it is.... I will take a look at that gem but just so I understand I just really have to supply hash and cal the j method against it
<sqbell> How could I test file saving method with the use of mocks (or stubs?)? I have a following code: https://gist.github.com/anonymous/cbb5dd88a3bc41ff872a and I'm using Minitest with RR.
<jkline> ghanima: json is not a has, json is a string...
<_br_> ghanima: Well, sure its a hash. The reason I mention that gem is because it provides a much faster interface to json as the standard api imo.
bradhe has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
<jkline> sqbell: look at FakeFS
tw1sted has left #ruby [#ruby]
<_br_> jkline: Probably he thinks in terms of keys and values hence the terminology.
ivanoats has joined #ruby
devoldmx3 has quit [Ping timeout: 246 seconds]
Criztian has quit [Remote host closed the connection]
r0bgleeson has joined #ruby
wsterling has quit [Remote host closed the connection]
<jkline> _br_: yes, he is not the only one. "JSON object" is a very common phrase, but technically wrong. I only bring it up because I think it is an important technicality. JSON being a serialization format
jimg has joined #ruby
persand has joined #ruby
<jkline> but I could be wrong too, by misunderstanding the context
<jkline> like foo = JSON.new would give you an object of type JSON for example...
zmike123 has quit [Quit: Выходжу]
asteve has quit [Ping timeout: 264 seconds]
gr4yscale has quit [Quit: Computer has gone to sleep.]
<_br_> jkline: You are quite right imo, probably a clash of ruby thinking vs. javascript thinking
<jkline> _br_: what do you mean? I think what I said applies to both Ruby and javascript
RORgasm has quit [Read error: Connection reset by peer]
RORgasm has joined #ruby
<_br_> jkline: Never mind that, I think I just blabber nonsense currently. You are right.
redgirl has quit [Quit: This computer has gone to sleep]
<jkline> _br_: lol . I have been known to blabber nonsense as well :)
jimg has quit [Ping timeout: 256 seconds]
m8 has joined #ruby
dmiller has quit [Remote host closed the connection]
gr4yscale has joined #ruby
Neomex has joined #ruby
Neomex has quit [Client Quit]
fuzzyhorns has joined #ruby
miskander has joined #ruby
miskander has quit [Client Quit]
guiocava_ has joined #ruby
guiocavalcanti has quit [Ping timeout: 246 seconds]
<Mon_Ouie> hash tables in JSON are called objects
yalue has quit [Quit: Leaving]
gr4yscale has quit [Client Quit]
dmiller has joined #ruby
Dreamer3 has quit [Quit: Computer has gone to sleep.]
burlyscudd1 has quit [Quit: Leaving.]
_main_ has joined #ruby
brbcoding has quit []
ngoldman has joined #ruby
momomomomo has joined #ruby
Neener54 has joined #ruby
<jkline> Mon_Ouie: what do you mean "hash tables in JSON"? It sounds to me like you mean "a hash table serialized into JSON", it becomes a string
persand has quit [Quit: persand]
<jkline> or, actually, you're refering to the spec aren't you. "An object is an unordered set of name/value pairs", yes, my mistake
<Mon_Ouie> Yes, indeed
__main__ has quit [Ping timeout: 245 seconds]
_main_ has quit [Read error: Connection reset by peer]
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
__main__ has joined #ruby
mansi_ has joined #ruby
mansi has quit [Read error: Connection reset by peer]
mocfive has joined #ruby
ebobby has quit [Ping timeout: 246 seconds]
mansi_ has quit [Read error: Connection reset by peer]
sambao21 has quit [Quit: Computer has gone to sleep.]
mansi has joined #ruby
rrecio has joined #ruby
timonv has quit [Remote host closed the connection]
Bry8Star{T2 has joined #ruby
angusiguess has quit [Ping timeout: 240 seconds]
rrecio has quit [Remote host closed the connection]
rrecio has joined #ruby
<sqbell> jkline: Thanks, works great.
pyrac has joined #ruby
mikepack has quit [Remote host closed the connection]
chrisja has joined #ruby
_main_ has joined #ruby
johnmlocklear_ has quit [Read error: Operation timed out]
ebobby has joined #ruby
__main__ has quit [Ping timeout: 248 seconds]
Mon_Ouie has quit [Read error: Operation timed out]
avengedsixfold1 has left #ruby [#ruby]
eldariof has quit [Ping timeout: 264 seconds]
_main_ is now known as __main__
bradhe has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
sayan has quit [Ping timeout: 264 seconds]
xardas has quit [Ping timeout: 268 seconds]
sambao21 has joined #ruby
mikepack has joined #ruby
JohnBat26 has quit [Ping timeout: 248 seconds]
BSaboia has joined #ruby
kasper has joined #ruby
ckrailo has quit [Ping timeout: 246 seconds]
_br_ has quit [Quit: leaving]
suyase has left #ruby [#ruby]
kevinykchan has quit [Quit: Computer has gone to sleep.]
mansi has quit [Read error: Connection reset by peer]
byprdct has quit [Ping timeout: 248 seconds]
mansi has joined #ruby
ckrailo has joined #ruby
stonevil has quit [Remote host closed the connection]
gasbakid has joined #ruby
mansi has quit [Read error: Connection reset by peer]
KhalilC has joined #ruby
mansi has joined #ruby
kasper has quit [Ping timeout: 248 seconds]
dash_ has quit [Quit: Time to beer :)]
rippa has quit [Ping timeout: 248 seconds]
jkline has quit [Quit: jkline]
sethetter has joined #ruby
greenarrow has quit [Read error: Connection reset by peer]
adambeynon has joined #ruby
fomatin has quit [Quit: Computer has gone to sleep.]
fomatin has joined #ruby
fomatin has quit [Client Quit]
sailias has quit [Ping timeout: 264 seconds]
geekbri has quit [Remote host closed the connection]
Appineer has quit [Remote host closed the connection]
snearch has joined #ruby
pyrac has quit [Quit: pyrac]
havenwood has joined #ruby
geggam has quit [Remote host closed the connection]
carlyle_ has joined #ruby
devoldmx has joined #ruby
ELLIOTTCABLE has quit [Remote host closed the connection]
ELLIOTTCABLE has joined #ruby
tonini has quit [Quit: leaving]
gr4yscale has joined #ruby
<Solnse> I'm trying to iterate through a list of items that each contain and attribute of item_group and return the result grouped by item_group. I believe I need to have a nested .each block with a yield but I don't know how to write it correctly. Is there an example posted somewhere I can look at?
<havenwood> Solnse: Can you paste a Gist of example input and the expected output?
thams has quit [Quit: thams]
sambao21 has quit [Quit: Computer has gone to sleep.]
b0oh has quit [Quit: Leaving.]
carlyle has quit [Ping timeout: 245 seconds]
<Solnse> I can't really... but I can create something I think that would illustrate my goals...
freerobby has quit [Quit: Leaving.]
twoism has quit [Read error: Connection reset by peer]
<Solnse> I've just got a list of items... for example menu items, and an example item might be ceaser salad... the item_group would be "salads"... and I'm trying to return all menu items, grouped by their item_group (like a category)
twoism has joined #ruby
jds has quit [Ping timeout: 252 seconds]
<apeiros> Solnse: Enumerable#group_by
Bira has quit [Remote host closed the connection]
<apeiros> might instasolve your problem
<apeiros> not sure, though, as I'm not sure I understand what exactly you're asking
sqbell has quit [Ping timeout: 260 seconds]
freerobby has joined #ruby
kpshek has quit []
<Solnse> I'm returning a JSON array and I' just trying to have each item already categorized in the document.
w0rldmaker has joined #ruby
Floydzy has quit [Quit: Floydzy]
pyrac has joined #ruby
sethetter has left #ruby [#ruby]
devoldmx3 has joined #ruby
jkline has joined #ruby
celestius has joined #ruby
arya has quit [Ping timeout: 248 seconds]
<celestius> does ensure not actually return a value?
adambeynon has quit [Quit: Textual IRC Client: www.textualapp.com]
wsterling has joined #ruby
generalissimo has quit [Remote host closed the connection]
<havenwood> >> begin; ensure; :hi end
<eval-in> havenwood => nil (https://eval.in/34188)
<apeiros> celestius: heavens, no
devoldmx has quit [Ping timeout: 246 seconds]
<celestius> ah, that's the job of else
<apeiros> you *can* by explicitly returning, afair
<celestius> i get you
gr4yscale has quit [Quit: Computer has gone to sleep.]
sethetter has joined #ruby
<celestius> and it would break ensure if you want to use it to clean up a properly operating block with a return value
<apeiros> but not by default, that'd horribly mess with many constructs
<celestius> i see
Davey has quit [Quit: Computer has gone to sleep.]
<sethetter> This may be a dumb question, but is it possible to do POST requests with GET parameters in the URL also?
sambao21 has joined #ruby
<celestius> thanks, apeiros !
gr4yscale has joined #ruby
viszu has joined #ruby
mocfive has quit [Remote host closed the connection]
gr4yscale has quit [Client Quit]
<yxhuvud> sethetter: possible? sure, but don't expect the receiving end to be able to handle them
<yxhuvud> I don't think rails does, for example.
devoldmx3 has quit [Ping timeout: 246 seconds]
kofno has quit [Remote host closed the connection]
bionoid has quit [Remote host closed the connection]
Layke has quit [Ping timeout: 268 seconds]
momomomomo has quit [Quit: momomomomo]
jesly has quit [Quit: Leaving.]
devoldmx has joined #ruby
Al__ has joined #ruby
ldnunes has quit [Quit: Leaving]
Dreamer3 has joined #ruby
pyrac has quit [Quit: pyrac]
<sethetter> What about the ruby cgi library?
superscott[8] has joined #ruby
arya has joined #ruby
<apeiros> sethetter: cgi is the other end
jimg has joined #ruby
<apeiros> cgi is server side. doing a request is the client side of things.
jds has joined #ruby
<sethetter> Right, but the server has to accept the request and process the parameters. I'm trying to send both POST data and a GET query string
jds has quit [Read error: Connection reset by peer]
thams has joined #ruby
ngoldman has quit [Remote host closed the connection]
nefilim has joined #ruby
<workmad3> sethetter: you know that neither query strings or request bodies are specific to either POST or GET requests, right?
<apeiros> well, GET must not have a body
sarkis has quit [Ping timeout: 264 seconds]
postmodern has joined #ruby
<apeiros> so body is somewhat related to post :)
kristiandelay has quit [Remote host closed the connection]
thams has quit [Remote host closed the connection]
emergion has joined #ruby
jds has joined #ruby
<havenwood> sethetter: From this talk: https://speakerdeck.com/nahi/ruby-http-clients-comparison
<workmad3> apeiros: I don't think a body is explicitly excluded from a GET request in the spec
<apeiros> workmad3: afair it is
thams has joined #ruby
mocfive has joined #ruby
<apeiros> same for HEAD, OPTIONS and some others
Dreamer3 has quit [Quit: Computer has gone to sleep.]
<apeiros> but it's been a while since I actually read the rfc's
maycon has quit [Quit: Saindo]
atyz has quit [Quit: Leaving...]
<havenwood> i don't think it is forbidden?
<apeiros> pretty sure it was "MUST NOT", which equals forbidden. lets check? :)
<havenwood> makes no sense either way
jimg has quit [Ping timeout: 248 seconds]
devoldmx has quit [Ping timeout: 264 seconds]
ngoldman has joined #ruby
devoldmx has joined #ruby
jibi has quit [Quit: .]
<havenwood> The Oracle of the Divine Thesis sayeth: http://tech.groups.yahoo.com/group/rest-discuss/message/9962
<apeiros> hm, seems I'm wrong
<apeiros> at least glancing over it
stonevil has joined #ruby
Layke has joined #ruby
ngoldman has quit [Read error: Connection reset by peer]
<havenwood> TL;DR: "So, yes, you can send a body with GET, and no, it is never useful to do so." ~Roy Fielding
chichou has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
gr4yscale has joined #ruby
interactionjaxsn has joined #ruby
<workmad3> apeiros: yeah, the RFC for 1.1 doesn't say it can't have it
kdaigle_ has quit [Quit: Textual IRC Client: www.textualapp.com]
generalissimo has joined #ruby
<workmad3> apeiros: however, it also doesn't say it can
wmoxam has quit [Ping timeout: 268 seconds]
Lubinski has joined #ruby
<nefilim> hi, im new to ruby, trying to figure out how what looks like hash literals that are passed to Class.new… is that right? does one need a special constructor to do that ?
<sethetter> havenwood: I'm looking to do the reverse. Send a POST request with a query string in the URL.
<workmad3> apeiros: section 4.3 states this btw 'A server SHOULD read and forward a message-body on any request; if the request method does not include defined semantics for an entity-body, then the message-body SHOULD be ignored when handling the request.'
Spooner has joined #ruby
bionoid has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
<workmad3> so I guess that can be interpreted with the various method semantics to take it as the request body should be ignored for GET because it doesn't define semantics for it
<havenwood> sethetter: Sounds like a POST request.
<banister_> nefilim: you need to show a gist of what you mean, i have no idea what your'e talking about
<workmad3> sethetter: query strings are fine in a POST... they're just part of the URL after all :)
_theriffer_ has quit [Quit: _theriffer_]
<sethetter> havenwood: It is, I was just having trouble getting the Ruby cgi class to get the query string params. It wouldn't put them in the params hash
chichou has quit [Ping timeout: 240 seconds]
<sethetter> workmad3: That's what I assumed
<sethetter> Thanks guys!
<nefilim> banister_: MyClass.new(:vara => 1, :varb => 2)
<workmad3> sethetter: if you're using CGI directly, you might need to grab the URI and get query params out of that
Tamae has joined #ruby
_theriffer_ has joined #ruby
interactionjaxsn has quit [Ping timeout: 264 seconds]
<banister_> nefilim: yeah, you're passing a hash to the MyClass constructor ;)
<havenwood> nefilim: Some people call that a 'naked hash'.
Dreamer3 has joined #ruby
jlundy has quit [Read error: Connection reset by peer]
<havenwood> or bare hash?
burlyscudd has joined #ruby
<nefilim> so MyClass should have a constructor taking a hash as parameter?
Dreamer3 has quit [Max SendQ exceeded]
zined has quit [Disconnected by services]
rfizzle has joined #ruby
jonahR has quit [Quit: jonahR]
tourdedave has joined #ruby
m8 has quit [Read error: Connection reset by peer]
atyz has joined #ruby
<havenwood> nefilim: When you MyClass.new, the #initialize method is called. Whether #initialize takes a hash or whatever else is your choice.
rfizzle has left #ruby [#ruby]
Dreamer3 has joined #ruby
helvete has joined #ruby
atyz has quit [Read error: Connection reset by peer]
devoldmx3 has joined #ruby
workmad3 has quit [Ping timeout: 246 seconds]
Takumo has joined #ruby
Dreamer3__ has joined #ruby
sambao21 has joined #ruby
<Takumo> So... Trying to install mongoid_tree and I get this wonderful error: Unable to resolve dependencies: ruby2ruby requires sexp_processor (~> 4.0); ruby_parser requires sexp_processor (~> 4.1)
<Takumo> Sugesstions anyone?
devoldmx has quit [Ping timeout: 264 seconds]
Dreamer3 has quit [Ping timeout: 240 seconds]
jlast has quit [Remote host closed the connection]
Al__ has quit [Ping timeout: 246 seconds]
devoldmx has joined #ruby
<Takumo> I mean if I can see what ruby_parser and ruby2ruby are dependencies of I might be able to remove the gem which depends on one of the them
devoldmx3 has quit [Ping timeout: 240 seconds]
atno has joined #ruby
Al__ has joined #ruby
codecop has quit [Remote host closed the connection]
Apane has quit [Ping timeout: 256 seconds]
gasbakid has quit [Read error: Connection reset by peer]
failshell has quit [Remote host closed the connection]
Dreamer3__ has quit [Ping timeout: 246 seconds]
dankest has quit [Quit: Linkinus - http://linkinus.com]
Al__ has quit [Client Quit]
dankest has joined #ruby
v0n has quit [Ping timeout: 264 seconds]
Dreamer3 has joined #ruby
adkron has quit [Ping timeout: 252 seconds]
arya has quit [Ping timeout: 248 seconds]
spider-mario has quit [Read error: Connection reset by peer]
stonevil has quit [Remote host closed the connection]
net_mask has quit [Ping timeout: 264 seconds]
mocfive has quit [Remote host closed the connection]
richiebkr has joined #ruby
arya has joined #ruby
jerius has quit [Ping timeout: 264 seconds]
nomenkun has quit [Remote host closed the connection]
horofox has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
zets has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
zhhhx has joined #ruby
mocfive has joined #ruby
axl_ has quit [Quit: axl_]
kirun has quit [Quit: Client exiting]
slyv has joined #ruby
marr has quit []
slyv has quit [Max SendQ exceeded]
jds__ has joined #ruby
jondot has quit [Quit: Leaving]
Takumo has quit [Quit: WeeChat 0.4.1]
havenwood has quit [Remote host closed the connection]
breakingthings has quit [Quit: breakingthings]
taion809 has joined #ruby
Cyrus has joined #ruby
theRoUS has quit [Read error: Operation timed out]
bean has quit [Quit: Textual IRC Client: www.textualapp.com]
jds has quit [Ping timeout: 264 seconds]
w0rldmaker has quit [Ping timeout: 252 seconds]
Lubinski has quit [Read error: Connection reset by peer]
guiocava_ has quit [Remote host closed the connection]
__main__ has quit [Ping timeout: 246 seconds]
guiocavalcanti has joined #ruby
x1337807x has joined #ruby
johnmilton has quit [Remote host closed the connection]
richiebkr has quit [Quit: richiebkr]
richiebkr has joined #ruby
rupee has quit [Read error: Connection reset by peer]
Apane has joined #ruby
rupee has joined #ruby
slash_nick is now known as slash_work
helvete has quit [Read error: Connection reset by peer]
rdFLeece_ has quit [Read error: Connection reset by peer]
guiocavalcanti has quit [Ping timeout: 240 seconds]
thams has quit [Quit: thams]
atyz has joined #ruby
jalcine has joined #ruby
jkline has quit [Read error: Connection reset by peer]
rdFLeece has joined #ruby
jkline has joined #ruby
baordog has quit [Remote host closed the connection]
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
LucidDreamZzZ has quit [Ping timeout: 240 seconds]
kadoo has joined #ruby
jasonkuhrt has quit [Quit: Leaving...]
jds__ has quit [Remote host closed the connection]
akells` has quit [Read error: Connection reset by peer]
zhhhx has quit [Quit: Leaving]
akells` has joined #ruby
__main__ has joined #ruby
patteh has quit [Ping timeout: 264 seconds]
patteh has joined #ruby
ericmathison has joined #ruby
sambao21 has joined #ruby
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
arya has quit [Ping timeout: 248 seconds]
pentameter has quit [Remote host closed the connection]
atyz has quit [Quit: Leaving...]
gazarsgo has quit [Ping timeout: 248 seconds]
fuzzyhorns has quit [Remote host closed the connection]
chrisja has quit [Quit: leaving]
celestius has quit [Quit: Computer has gone to sleep.]
sarkis has joined #ruby
Bry8Star{T2 has joined #ruby
rhys_ has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
advorak has left #ruby [#ruby]
rrecio has quit [Ping timeout: 264 seconds]
<bricker> Why, when I type `1.size`, do I get "8", but in the examples here it's 4? http://www.ruby-doc.org/core-2.0/Fixnum.html#method-i-size
slyv has joined #ruby
slyv has quit [Max SendQ exceeded]
rhys has quit [Ping timeout: 240 seconds]
<apeiros> bricker: that's because the examples are 32bit ruby
<apeiros> and you have 64bit ruby
<popl> \o/
<bricker> apeiros: I thought it was something like that, thanks
vlad_starkov has quit [Remote host closed the connection]
<apeiros> you should probably also read the description, not just the samples…
<bricker> apeiros: ... k
freerobby has quit [Quit: Leaving.]
arya has joined #ruby
athst has quit [Quit: athst]
wargasm has joined #ruby
nefilim1 has joined #ruby
w0rldmaker has joined #ruby
rhys has joined #ruby
rhys_ has quit [Ping timeout: 264 seconds]
octarine has quit [Ping timeout: 256 seconds]
thesheff17 has quit [Ping timeout: 240 seconds]
nefilim has quit [Ping timeout: 264 seconds]
ziyadb has quit [Ping timeout: 256 seconds]
chuk has quit [Ping timeout: 256 seconds]
[0x1a] has quit [Ping timeout: 256 seconds]
thesheff17 has joined #ruby
byprdct has joined #ruby
arya has quit [Ping timeout: 248 seconds]
freerobby has joined #ruby
ngoldman has joined #ruby
Dreamer3 has quit [Quit: Computer has gone to sleep.]
arya has joined #ruby
tricon_ has joined #ruby
tourdedave has quit [Quit: tourdedave]
wmoxam has joined #ruby
nitrodex has quit [Read error: Connection reset by peer]
<matchaw> hey all, wondering if someone could help with this small snippet. http://pastie.org/private/gsdpr9lbnurnrqbrcaoojq
emergion has quit [Quit: Computer has gone to sleep.]
arya has quit [Ping timeout: 248 seconds]
TheDick has quit [Quit: TheDick]
alex__c2022 has joined #ruby
freerobby has quit [Quit: Leaving.]
senayar has quit []
nitrodex has joined #ruby
nitrodex is now known as Guest22111
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
mrwn has joined #ruby
arya has joined #ruby
richiebkr has quit [Quit: richiebkr]
<terrellt> matchaw: You should be getting "test1", "done". You won't get what you want because "unless test1? && test2?" is the same thing as "if !test1? || !test2?" and !test1? is true, so there's no need to check the second option.
hawtin has quit [Ping timeout: 240 seconds]
echevemaster has joined #ruby
EPIK has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
akells` has quit [Remote host closed the connection]
<matchaw> terrellt: Yea I gathered that but I need to run both test1 & test2 methods but only print done when both return true.
<matchaw> any ideas?
<terrellt> if test1? && test2?
Xeago has joined #ruby
Banistergalaxy has joined #ruby
<oz> matchaw: you want bitwise AND then: unless test1? & test2? ...
<mrwn> hi guys, anyone know how i get list of methods that is available for some object or class, like this https://netbeans.org/images_www/v7/design/overview/code_editing.png (but in sublimetext), do sublimetext have this feature for ruby ?
<matchaw> terrellt: doesn't work..
rhys has quit [Quit: Leaving]
BSaboia has quit [Ping timeout: 240 seconds]
<oz> mrwn: no idea, that'd be nice :)
horofox has quit [Quit: horofox]
sethetter has quit [Ping timeout: 240 seconds]
<mrwn> oz: :) , ok thanks
<matchaw> oz, what do you mean?
arya has quit [Ping timeout: 248 seconds]
<terrellt> matchaw: Oz is right, bitwise AND will work. If you only want it to print done when both return true you'll have to do if test1? & test2? though.
<matchaw> terrellt: "if test1? & test2?" doesn't work.
zets has quit [Ping timeout: 264 seconds]
<matchaw> terrellt: ah yes, it does..
<oz> :)
<matchaw> cool, nice thanks.
jds has joined #ruby
Levin_22 has joined #ruby
bionoid has quit [Remote host closed the connection]
mfletcher has quit [Ping timeout: 264 seconds]
x1337807x has joined #ruby
dangerousdave has quit [Quit: Leaving...]
arya has joined #ruby
mrwn has quit [Quit: Page closed]
_main_ has joined #ruby
Guga_ has joined #ruby
huoxito has quit [Quit: Leaving]
octarine has joined #ruby
huoxito has joined #ruby
burlyscudd has quit [Quit: Leaving.]
ffranz has quit [Quit: Leaving]
alex__c2022 has quit [Quit: alex__c2022]
jonahR has joined #ruby
jonahR has quit [Client Quit]
tomzx_mac_ has joined #ruby
tomzx_mac has quit [Ping timeout: 240 seconds]
_main_ has quit [Read error: Connection reset by peer]
_main_ has joined #ruby
tylersmith has quit [Read error: Connection reset by peer]
dmiller has quit [Remote host closed the connection]
__main__ has quit [Ping timeout: 248 seconds]
ebobby has quit [Read error: Connection reset by peer]
ebobby has joined #ruby
tylersmith has joined #ruby
Liothen has quit [Read error: Connection reset by peer]
<matchaw> terrellt: doesn't quite work... http://pastie.org/private/kttnpp2umodmdxzrvlnbpq
shadoi has quit [Read error: Connection reset by peer]
Liothen has joined #ruby
<matchaw> the if statment is basically saying if they're both true, which I don't want..
<matchaw> sorry not true..
arusso has quit [Ping timeout: 245 seconds]
davetherat has quit [Ping timeout: 264 seconds]
mikepack has quit [Remote host closed the connection]
arya has quit [Ping timeout: 264 seconds]
jimeh has quit [Ping timeout: 264 seconds]
cofin has quit [Quit: cofin]
shadoi has joined #ruby
generalissimo has quit [Remote host closed the connection]
freeayu has joined #ruby
vlad_starkov has joined #ruby
<matchaw> ok it seems to contain it in brackets might of done the job.
jimeh has joined #ruby
jimg has joined #ruby
_main_ is now known as __main__
arusso has joined #ruby
cmarques has quit [Ping timeout: 246 seconds]
vlad_starkov has quit [Remote host closed the connection]
gstamp has joined #ruby
vlad_starkov has joined #ruby
mikepack has joined #ruby
jkline has quit [Quit: jkline]
ravster has left #ruby [#ruby]
mansi has quit [Remote host closed the connection]
cj3kim has quit [Read error: Connection reset by peer]
mansi has joined #ruby
cj3kim has joined #ruby
Guest79081 has joined #ruby
jimg has quit [Ping timeout: 260 seconds]
ninegrid has quit [Ping timeout: 276 seconds]
mansi has quit [Ping timeout: 248 seconds]
ninegrid has joined #ruby
johnnyfuchs has quit [Ping timeout: 248 seconds]
tylersmith has quit [Remote host closed the connection]
richiebkr has joined #ruby
danslo has joined #ruby
jacobw has quit [Quit: WeeChat 0.4.0]
celestius has joined #ruby
nomenkun has joined #ruby
jkline has joined #ruby
apeiros has quit [Remote host closed the connection]
aces1up has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
Dreamer3 has joined #ruby
aces1up has joined #ruby
Peej has joined #ruby
fredjean has joined #ruby
TheDick has joined #ruby
nomenkun has quit [Ping timeout: 248 seconds]
viszu has quit [Quit: Leaving.]
juarlex has quit [Read error: Connection reset by peer]
rdFLeece has quit [Remote host closed the connection]
juarlex has joined #ruby
horofox has joined #ruby
jasonkuhrt has joined #ruby
falkoner has quit [Quit: Leaving.]
fredjean has quit [Client Quit]
huoxito has quit [Quit: Leaving]
Kar- has quit [Remote host closed the connection]
huoxito has joined #ruby
jtharris has quit [Quit: WeeChat 0.4.0]
jimg has joined #ruby
itsdavem has joined #ruby
rrecio has joined #ruby
generalissimo has joined #ruby
rrecio has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
havenwood has joined #ruby
fridim_ has joined #ruby
jasonkuhrt has quit [Ping timeout: 260 seconds]
vlad_starkov has quit [Remote host closed the connection]
Fire-Dragon-DoL has quit [Ping timeout: 248 seconds]
mrsolo has quit [Quit: Leaving]
LennyLinux has quit [Remote host closed the connection]
hamakn has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
choffstein has joined #ruby
hamakn has quit [Remote host closed the connection]
predator117 has joined #ruby
wmoxam has quit [Read error: Operation timed out]
hamakn has joined #ruby
Levin_22 has quit [Ping timeout: 248 seconds]
predator217 has quit [Ping timeout: 276 seconds]
Fire-Dragon-DoL has joined #ruby
marcdel has joined #ruby
subbyyy has joined #ruby
snearch has quit [Quit: Verlassend]
wsterling has quit [Remote host closed the connection]
rrecio has joined #ruby
timkohrumel has quit [Remote host closed the connection]
osvico has joined #ruby
choffstein has quit [Read error: Connection reset by peer]
luckyruby has quit [Remote host closed the connection]
momomomomo has joined #ruby
choffstein has joined #ruby
nari has joined #ruby
canton7 has quit [Read error: Operation timed out]
nopper has quit [Read error: Operation timed out]
davedev24 has quit [Remote host closed the connection]
richiebkr has quit [Quit: richiebkr]
itsdavem has quit [Remote host closed the connection]
jpsirois has joined #ruby
mrrob has joined #ruby
Dekade has quit [Ping timeout: 246 seconds]
Dekade has joined #ruby
kil0byte has joined #ruby
nopper has joined #ruby
zaargy has quit [Ping timeout: 252 seconds]
carlyle_ has quit [Remote host closed the connection]
itsdavem has joined #ruby
skasio has quit [Ping timeout: 246 seconds]
cj3kim has quit [Remote host closed the connection]
tylersmith has joined #ruby
milardovich has joined #ruby
elliptical has joined #ruby
<sarkis> whats a good place to start for advanced ruby tutorials or resources?>
<sarkis> been skimming through the first few chapters of the pickaxe, trying to get to the good stuff :)
skasio has joined #ruby
mikepack has quit [Remote host closed the connection]
Neener54 has quit [Remote host closed the connection]
Neener54 has joined #ruby
zaargy has joined #ruby
<bnagy> trouble is that 'advanced' is deep
mklappstuhl has joined #ruby
<bnagy> and single resources can't generally be deep and broad
pipework has quit [Remote host closed the connection]
<bnagy> you can pick an area and find a blogger who's good at it, or read code
ellipse has quit [Ping timeout: 260 seconds]
<bnagy> there are some short 'Ruby from other languages' guides somewhere
<fryguy> the metaprogramming ruby book is probably worth a read
nazty has joined #ruby
akells` has joined #ruby
pskosinski has quit [Quit: pskosinski]
cj3kim has joined #ruby
Treeson has joined #ruby
Xeago has quit [Remote host closed the connection]
_br_ has joined #ruby
Neener54 has quit [Ping timeout: 264 seconds]
jalcine has quit [Excess Flood]
rrecio has quit [Remote host closed the connection]
slyv_ has joined #ruby
slash_work has quit [Quit: whatever happened to boiling a guy in oil?... those were the days]
akells` has quit [Ping timeout: 264 seconds]
slainer68 has quit [Remote host closed the connection]
bradhe has quit [Remote host closed the connection]
bradhe has joined #ruby
soulisson has joined #ruby
sambao21 has joined #ruby
bsaboia_ has joined #ruby
Guest22111 has quit [Ping timeout: 260 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
sailias has joined #ruby
mansi has joined #ruby
ebobby has quit [Ping timeout: 252 seconds]
moos3 has quit [Quit: Computer has gone to sleep.]
Jt123 has quit [Ping timeout: 240 seconds]
bradhe has quit [Ping timeout: 252 seconds]
moos3 has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 260 seconds]
Inside has joined #ruby
Inside has quit [Changing host]
Inside has joined #ruby