apeiros changed the topic of #ruby-lang to: Ruby 2.1.3; 2.0.0-p576; 1.9.3-p547: http://ruby-lang.org || Paste code on http://gist.github.com
kalehv has quit [Remote host closed the connection]
kalehv has joined #ruby-lang
SuMo_D has quit [Ping timeout: 258 seconds]
jdecuirm has joined #ruby-lang
justinmburrous has joined #ruby-lang
francisfish has quit [Ping timeout: 250 seconds]
francisfish has joined #ruby-lang
kalehv has quit [Ping timeout: 258 seconds]
robbyoconnor has joined #ruby-lang
jimbach has joined #ruby-lang
robbyoconnor has quit [Client Quit]
justinmburrous has quit [Ping timeout: 260 seconds]
wolves_cs has joined #ruby-lang
fragamus has joined #ruby-lang
musl has joined #ruby-lang
musl has quit [Client Quit]
paul0 has quit [Ping timeout: 240 seconds]
paul0 has joined #ruby-lang
seank_ has quit [Read error: Connection reset by peer]
havenwood has quit [Remote host closed the connection]
seank_ has joined #ruby-lang
sepp2k1 has joined #ruby-lang
taylorrf has joined #ruby-lang
sepp2k has quit [Ping timeout: 244 seconds]
thagomizer has quit [Quit: Leaving.]
Missphoenix has quit [Quit: Leaving]
Miphix has joined #ruby-lang
kfpratt has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
musl has joined #ruby-lang
musl has quit [Client Quit]
ldnunes has joined #ruby-lang
cads has joined #ruby-lang
Averna has joined #ruby-lang
ldnunes has quit [Client Quit]
ldnunes has joined #ruby-lang
ruby-lang049 has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
cleopatra has joined #ruby-lang
karamazov has quit [Remote host closed the connection]
musl has joined #ruby-lang
karamazov has joined #ruby-lang
ruby-lang049 has quit [Ping timeout: 246 seconds]
<womble> Anyone got any tips for writing tests for an FFI-using module? At what level should I mock out calls to the underlying library?
karamazov has quit [Ping timeout: 260 seconds]
<lupine> depends on what it's doing and how fast you want the tests to be, really
<lupine> there's no harm having the tests exercise the C code too if it's fast
haraoka has joined #ruby-lang
mistym has quit [Remote host closed the connection]
<womble> lupine: Except that I can't get the C code to do everything I need to be able to test (error conditions, mostly)
SuMo_D has joined #ruby-lang
<womble> It's tricky, though, because I want to be able to verify that how I'm calling the C functions is "correct"
<womble> So perhaps I'll do *some* real calls, and then mock out the rest
<cleopatra> hello ruby people what new there
amsi has quit [Quit: Leaving]
charliesome_ has joined #ruby-lang
insaneinside has joined #ruby-lang
parenjitsu has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shinnya has joined #ruby-lang
<lupine> might be worth reviewing some other ffi-using libraries to see what they do
<lupine> I have absolutely no idea what qtruby's tests look like
<lupine> i'm not sure I want to
<womble> Yeah, I doubt that duplicating anything out of qtruby would be a win. But I'll dig around. Thanks.
charliesome has quit [Ping timeout: 255 seconds]
karamazov has joined #ruby-lang
SuMo_D has quit [Ping timeout: 255 seconds]
ldnunes has quit [Quit: Leaving]
<insaneinside> How widely is dRuby (DRb) used?
<toretore> my guess is "not very"
<bougyman> now? quite rare, I think.
<bougyman> I used the crap out of it last decade.
<insaneinside> bougyman: why'd you stop?
hahuang61 has quit [Ping timeout: 240 seconds]
<bougyman> insaneinside: I moved to message busses which were language agnostic.
<bougyman> kafka for topics and beanstalk for work queues.
Lewix has joined #ruby-lang
Lewix has joined #ruby-lang
<bougyman> I only ever used drb in production for crazy windows hacks.
<toretore> insaneinside: "distributed objects" introduces a lot of coupling
<bougyman> republishing an active-x-only db driver for PICK, was one.
<insaneinside> well, reading the source for DRb... it's got all sorts of inefficiencies built into it.
<bougyman> there are alternate implementations.
<bougyman> one built on EM (bRb, iirc)
<bougyman> and revactor is something similar
<bougyman> dunno if any of these are active, it's been a while since I've looked for such a thing.
<bougyman> but I acknowledge there could be some places where they're useful.
justinmburrous has joined #ruby-lang
mistym has joined #ruby-lang
<insaneinside> i've got my own, actually. :) just wanted to see if there's any reason to make any effort to clean it up and publish it.
<insaneinside> sounds like "no, not really..."
chrisdambrosio has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
justinmburrous has quit [Ping timeout: 246 seconds]
<insaneinside> 'nother question: what's the relationship between this channel and #ruby?
wallerdev has quit [Quit: wallerdev]
tylersmith has joined #ruby-lang
tkuchiki has joined #ruby-lang
<bougyman> this is the Official channel for the ruby language.
Asher has joined #ruby-lang
<bougyman> that's the more intuitive but nonetheless Unofficial channel.
Lewix has quit [Remote host closed the connection]
sMecKs has joined #ruby-lang
djbkd has quit [Quit: My people need me...]
<insaneinside> so, here we discuss language, there we discuss... well honestly it seems like a better place/is used more for Q/A-style discussion.
<insaneinside> okay, thanks. :)
shinnya has quit [Ping timeout: 244 seconds]
SuMo_D has joined #ruby-lang
_whitelogger has joined #ruby-lang
charliesome_ has quit [Ping timeout: 260 seconds]
lele|w has joined #ruby-lang
lguardiola_ has joined #ruby-lang
chancancode_ has joined #ruby-lang
nomadicoder_ has joined #ruby-lang
shennyg____ has joined #ruby-lang
eristic_ has joined #ruby-lang
jlpeters__ has joined #ruby-lang
jo___ has joined #ruby-lang
dknox-lunch has quit [Quit: Textual IRC Client: www.textualapp.com]
soraher___ has joined #ruby-lang
adambeynon_ has joined #ruby-lang
lguardiola has quit [Ping timeout: 272 seconds]
bcardarella_ has joined #ruby-lang
kalleth_ has joined #ruby-lang
ndrst_ has joined #ruby-lang
moogumbo has joined #ruby-lang
moogumbo has quit [Changing host]
heftig has joined #ruby-lang
henrikhodne has joined #ruby-lang
adambeynon_ is now known as adambeynon
jhass|off has joined #ruby-lang
nomadicoder_ is now known as nomadicoder
jhass|off is now known as jhass
phrozen77 has joined #ruby-lang
GarethAdams has joined #ruby-lang
charliesome has joined #ruby-lang
jlpeters__ is now known as jlpeters_
Quackmatic has joined #ruby-lang
chancancode_ is now known as chancancode
JoL1hAHN has joined #ruby-lang
|jemc| has joined #ruby-lang
eristic_ is now known as eristic
GaelanAintAround has quit [Ping timeout: 272 seconds]
jo___ is now known as jo__
lele has joined #ruby-lang
bcardarella_ is now known as bcardarella
_dyrim has joined #ruby-lang
_whitelogger_ has joined #ruby-lang
ironcamel has quit [Ping timeout: 260 seconds]
eval-in_ has quit [Ping timeout: 260 seconds]
crankharder has quit [Ping timeout: 260 seconds]
stevednd has quit [Ping timeout: 260 seconds]
henrikhodne has joined #ruby-lang
GaelanAintAround has joined #ruby-lang
faces has joined #ruby-lang
insaneinside has left #ruby-lang ["byebye"]
sepp2k has joined #ruby-lang
moogumbo_ has joined #ruby-lang
akahn_ has joined #ruby-lang
mattyohe_ has joined #ruby-lang
eval-in__ has joined #ruby-lang
vieq has quit [Ping timeout: 250 seconds]
ericwood_ has joined #ruby-lang
musl_ has joined #ruby-lang
perryh has joined #ruby-lang
Git|Nick has joined #ruby-lang
benlakey_ has joined #ruby-lang
Hanmac has quit [Ping timeout: 272 seconds]
_dabradley has joined #ruby-lang
ironcame1 has joined #ruby-lang
henrikhodne has joined #ruby-lang
pabs_ has joined #ruby-lang
nivardus_ has joined #ruby-lang
lianj has quit [Ping timeout: 272 seconds]
ur5us has quit [Ping timeout: 272 seconds]
matp has quit [Ping timeout: 272 seconds]
Git|Nick is now known as GitNick
henrikhodne has quit [Changing host]
Guest34905 is now known as perry
crankhar1er has joined #ruby-lang
lele|w has joined #ruby-lang
heftig has joined #ruby-lang
ur5us has joined #ruby-lang
lele has joined #ruby-lang
perry is now known as Guest48571
Guest48571 is now known as perry753
benlakey_ is now known as benlakey
phrozen77 has joined #ruby-lang
mattyohe_ is now known as mattyohe
Quackmatic has joined #ruby-lang
karamazov has quit [Remote host closed the connection]
stevednd has joined #ruby-lang
sonne_ has joined #ruby-lang
moogumbo_ is now known as moogumbo
akahn_ is now known as akahn
karamazov has joined #ruby-lang
kalzz has joined #ruby-lang
dvorak has joined #ruby-lang
rcvalle has quit [Quit: rcvalle]
perry753 has joined #ruby-lang
vieq has joined #ruby-lang
lianj has joined #ruby-lang
perry753 has quit [Changing host]
karamazov has quit [Ping timeout: 260 seconds]
pabs has joined #ruby-lang
taylorrf has quit [Remote host closed the connection]
pabs_ has quit [Ping timeout: 272 seconds]
Asher has quit [Quit: Leaving.]
jbardin has quit [Quit: jbardin]
davispuh has quit [Ping timeout: 240 seconds]
<jdecuirm> Hello!
<jdecuirm> Can anyone give me a little explanation about yield and blocks?!
<jdecuirm> i have an implementation of the each iterator
<jdecuirm> wait xd
MSY has joined #ruby-lang
MSY is now known as Guest19507
<jdecuirm> This is my_each.rb
charliesome has quit [Quit: zzz]
<jdecuirm> i guess all are sleeping xd
Hanmac has joined #ruby-lang
justinmburrous has joined #ruby-lang
<toretore> jdecuirm: what do you want to know?
IZUHU has joined #ruby-lang
<jdecuirm> Hi, for example, yield uses for every element of the array the code block right?
charliesome has joined #ruby-lang
<jdecuirm> and the argument of yield is every object in the array?
<jdecuirm> then, when i use the code block {|e| puts "The block ---"}
klmlfl has joined #ruby-lang
<jdecuirm> e it's technically the value found?
<toretore> e is whatever you pass using yield
<toretore> self[c] in your case
<jdecuirm> is the array with the index(c)
<jdecuirm> right?
<jdecuirm> size is a property of class Array?
<toretore> yes
<toretore> a property of the instance
justinmburrous has quit [Ping timeout: 272 seconds]
<jdecuirm> Thanks Toretore!
dorei has quit []
<jdecuirm> My god, i feel The Well Grounded Rubyist like it will never end!
<jdecuirm> it's quite a big book
jimbach has quit [Remote host closed the connection]
jimbach has joined #ruby-lang
kfpratt has quit [Remote host closed the connection]
jimbach has quit [Ping timeout: 244 seconds]
cads has quit [Ping timeout: 272 seconds]
JoshuaPaling has joined #ruby-lang
justinmburrous has joined #ruby-lang
<jdecuirm> I need some ideas! i have an exercise where i should use a my_each custom iterator with a my_times custom iterator
<jdecuirm> but as far as i can see each is for collections, and times it's used to repeat a cycle n times!
fuhgeddaboudit has joined #ruby-lang
klmlfl has quit [Remote host closed the connection]
<womble> jdecuirm: What exactly are you having problems with?
swapneel has joined #ruby-lang
<jdecuirm> in fact getting the idea :/
<jdecuirm> wait let me share you my implementations
<jdecuirm> here! for example the challenge says: "Given the definition of my_each in the main text, how would you use it in an implementation of my_times?"
lsegal has joined #ruby-lang
<jdecuirm> So, if you can give me ideas about this challenge womble i will appreciate it a lot!
Asher has joined #ruby-lang
ericwood_ is now known as ericwood
swapneel has quit []
Lewix has joined #ruby-lang
Lewix has quit [Changing host]
Lewix has joined #ruby-lang
<womble> jdecuirm: The solution that I'd use involves generating a new Array with the values 0..n-1
goodcodeguy has joined #ruby-lang
<jdecuirm> so where will you use my_times
<womble> Which is just Array.new(c) { |i| i }
yfeldblu_ has quit [Ping timeout: 260 seconds]
<womble> Then you can use #my_each on that to give you my_times
<jdecuirm> for example
<womble> Which would look something like def my_times(c) Array.new(c) { |i| i }.my_each { |i| yield i }; end
<jdecuirm> this is what the text says
<jdecuirm> oh ok
tenderlove has quit [Remote host closed the connection]
<jdecuirm> thanks womble, i'll try to implement it
<womble> Personally, I think it's a bit wally to implement #times in terms of #each; it'd be better to do it the other way around.
aquatty has quit [Ping timeout: 245 seconds]
SuMo_D has quit [Remote host closed the connection]
<jdecuirm> yeah in fact i used the times
<jdecuirm> to implement each
SuMo_D has joined #ruby-lang
<jdecuirm> just to save code with the counter
<jdecuirm> with the size of the array.times do and yield etc
<jdecuirm> but with the code you give me, there's no sense to have integer.times
<jdecuirm> cuz' well, it has an argument
<jdecuirm> i tried this, correct me if i'm wrong please!
<jdecuirm> 5.my_times(3){|i|puts "hello #{i}"}
fragamus has quit [Quit: Computer has gone to sleep.]
kfpratt has joined #ruby-lang
jimbach has joined #ruby-lang
matp has joined #ruby-lang
jimbach has quit [Ping timeout: 245 seconds]
<jdecuirm> so i did not see the point lol
justinmburrous has quit [Remote host closed the connection]
aquatty has joined #ruby-lang
sepp2k has quit [Read error: Connection reset by peer]
aquatty has quit [Ping timeout: 265 seconds]
aquatty has joined #ruby-lang
fuhgeddaboudit has quit [Quit: Ex-Chat]
tylersmith has quit []
kith_ has joined #ruby-lang
Lewix has quit [Quit: Leaving...]
spuk has quit [Ping timeout: 258 seconds]
kith has quit [Ping timeout: 240 seconds]
spuk has joined #ruby-lang
gix has quit [Ping timeout: 246 seconds]
musl_ has quit [Quit: WeeChat 0.4.3]
musl has joined #ruby-lang
justinmburrous has joined #ruby-lang
imperator has joined #ruby-lang
gix has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
justinmb_ has joined #ruby-lang
justinmburrous has quit [Ping timeout: 255 seconds]
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
havenwood has joined #ruby-lang
jimbach has joined #ruby-lang
jimbach has quit [Ping timeout: 260 seconds]
perry753 is now known as perry
ikrima has joined #ruby-lang
wolves_cs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby-lang
jordanbsanders has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
jordanbsanders has quit [Client Quit]
RobertBirnie has joined #ruby-lang
havenwood has quit [Ping timeout: 264 seconds]
koderok has joined #ruby-lang
malconis has joined #ruby-lang
ikrima has quit [Ping timeout: 260 seconds]
schaerli has joined #ruby-lang
SuMo_D has quit [Remote host closed the connection]
schaerli has quit [Remote host closed the connection]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JoshuaPaling has joined #ruby-lang
dope has joined #ruby-lang
jimbach has joined #ruby-lang
hahuang61 has joined #ruby-lang
koderok has quit [Ping timeout: 255 seconds]
jimbach has quit [Ping timeout: 260 seconds]
dope has left #ruby-lang [#ruby-lang]
ur5us has quit [Remote host closed the connection]
_dabradley has quit [Ping timeout: 255 seconds]
spastorino has quit [Quit: Connection closed for inactivity]
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
kfpratt has quit [Remote host closed the connection]
justinmb_ has quit [Remote host closed the connection]
justinmburrous has joined #ruby-lang
havenwood has joined #ruby-lang
oleo__ has quit [Quit: Verlassend]
_dabradley has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
imperator has quit [Quit: Valete!]
justinmburrous has quit [Remote host closed the connection]
justinmburrous has joined #ruby-lang
x0F has quit [Ping timeout: 255 seconds]
rahul_j has joined #ruby-lang
Guest19507 has quit [Quit: Leaving]
MSY has joined #ruby-lang
MSY is now known as Guest62689
justinmburrous has quit [Ping timeout: 272 seconds]
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
AKASkip has joined #ruby-lang
elia has joined #ruby-lang
elia has quit [Client Quit]
jimbach has joined #ruby-lang
rippa has joined #ruby-lang
justinmburrous has joined #ruby-lang
jimbach has quit [Ping timeout: 272 seconds]
ruby-lang772 has quit [Ping timeout: 246 seconds]
x0F has joined #ruby-lang
gss has joined #ruby-lang
[spoiler] has joined #ruby-lang
schaerli has joined #ruby-lang
gianlucadv has joined #ruby-lang
ruby-lang886 has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
|jemc| has quit [Ping timeout: 244 seconds]
rahul_j has joined #ruby-lang
ruby-lang886 has quit [Client Quit]
rahul_j has quit [Client Quit]
AKASkip has quit [Ping timeout: 244 seconds]
yfeldblum has quit [Remote host closed the connection]
chrisdambrosio has quit [Quit: Lost terminal]
rahul_j has joined #ruby-lang
havenwood has quit [Ping timeout: 264 seconds]
gss has quit [Ping timeout: 272 seconds]
rahul_j has quit [Quit: rahul_j]
mattyohe has quit [Quit: Connection closed for inactivity]
rahul_j has joined #ruby-lang
schaerli has quit [Remote host closed the connection]
schaerli has joined #ruby-lang
jimbach has joined #ruby-lang
jimbach has quit [Ping timeout: 260 seconds]
rahul_j has quit [Quit: rahul_j]
rahul_j has joined #ruby-lang
AKASkip has joined #ruby-lang
cornerma1 has joined #ruby-lang
goodcodeguy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rahul_j has quit [Quit: rahul_j]
cornerman has quit [Ping timeout: 272 seconds]
cornerma1 is now known as cornerman
rahul_j has joined #ruby-lang
tbuehlmann has joined #ruby-lang
_ht has joined #ruby-lang
mistym has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
charliesome has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
ledestin has quit [Quit: ledestin]
charliesome has quit [Client Quit]
francisfish has joined #ruby-lang
solars has joined #ruby-lang
francisfish has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby-lang
havenwood has quit [Ping timeout: 264 seconds]
kwd has joined #ruby-lang
tenderlove has joined #ruby-lang
king313 has joined #ruby-lang
king313 has joined #ruby-lang
tenderlove has quit [Ping timeout: 260 seconds]
jimbach has joined #ruby-lang
yfeldblum has joined #ruby-lang
benlovell has joined #ruby-lang
jimbach has quit [Ping timeout: 265 seconds]
yfeldblum has quit [Remote host closed the connection]
justinmburrous has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
justinmburrous has joined #ruby-lang
yfeldblum has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
Guest62689 has quit [Quit: Leaving]
mkaesz has joined #ruby-lang
justinmburrous has quit [Read error: No route to host]
justinmburrous has joined #ruby-lang
justinmburrous has quit [Read error: Connection reset by peer]
justinmburrous has joined #ruby-lang
mskaesz has joined #ruby-lang
kith_ is now known as kith
mkaesz has quit [Ping timeout: 258 seconds]
justinmburrous has quit [Ping timeout: 244 seconds]
cleopatra has quit [Ping timeout: 244 seconds]
boris has joined #ruby-lang
<boris> hi, all
kith has quit [Quit: kith]
<boris> what is the essential difference in using of blocks or on the other hand using of lambda?
solars has quit [Quit: WeeChat 0.4.1]
<boris> this is my first post here and I am not sure that this is the right way to ask
fragamus has joined #ruby-lang
kith has joined #ruby-lang
qba73 has joined #ruby-lang
<tbuehlmann> boris, there are some blogposts in the wild about that topic. https://awaxman11.github.io/blog/2013/08/05/what-is-the-difference-between-a-block/ for example
solars has joined #ruby-lang
francisfish has joined #ruby-lang
marr has joined #ruby-lang
<boris> thank you tbueglmann! I'll check it out
chussenot has joined #ruby-lang
mikecmpbll has joined #ruby-lang
charliesome has joined #ruby-lang
cleopatra has joined #ruby-lang
<yorickpeterse> morning
elia has joined #ruby-lang
sMecKs has quit [Read error: Connection reset by peer]
arBmind has quit [Quit: Leaving.]
arBmind has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
michd is now known as MichD
<tbuehlmann> moin
realDAB has joined #ruby-lang
boris has quit [Ping timeout: 246 seconds]
justinmburrous has joined #ruby-lang
Keltia_ has joined #ruby-lang
kyb3r_ has joined #ruby-lang
realDAB has quit [Client Quit]
arBmind has quit [Quit: Leaving.]
boris has joined #ruby-lang
justinmburrous has quit [Ping timeout: 244 seconds]
IZUHU has quit [Read error: Connection reset by peer]
jimbach has joined #ruby-lang
rahul_j has joined #ruby-lang
jimbach has quit [Ping timeout: 272 seconds]
JohnBat26 has joined #ruby-lang
arBmind has joined #ruby-lang
havenwood has joined #ruby-lang
Eising has joined #ruby-lang
<ljarvis> moin
<Eising> hi there. I need a good idea from you guys. I need to write a wrapper to an external program. I need the wrapper to run the external program, and read/manipulate its stdout. What library would best help me do that? open3/4?
<Eising> the external program might run for several minutes
<yorickpeterse> open3 is your friend
chussenot has quit [Quit: chussenot]
<Eising> yorickpeterse: thanks, I'll try that
kwd_ has joined #ruby-lang
kwd has quit [Read error: Connection reset by peer]
<Eising> yorickpeterse: will open3 allow me to get stdout whenever the external program writes to it?
ta has quit [Ping timeout: 240 seconds]
<yorickpeterse> euh, I believe so
postmodern has quit [Quit: Leaving]
quimrstorres has joined #ruby-lang
ta has joined #ruby-lang
charliesome has quit [Quit: zzz]
Atttwww has joined #ruby-lang
charliesome has joined #ruby-lang
jimbach has joined #ruby-lang
justinmburrous has joined #ruby-lang
boris has quit [Quit: Page closed]
ruby-lang431 has joined #ruby-lang
ruby-lang431 has quit [Client Quit]
koos303 has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
jimbach has quit [Ping timeout: 265 seconds]
justinmburrous has quit [Ping timeout: 260 seconds]
GBrawl has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
workmad3 has joined #ruby-lang
chussenot has joined #ruby-lang
dagda1 has quit [Read error: Connection reset by peer]
dagda1 has joined #ruby-lang
gss has joined #ruby-lang
kyb3r_ has quit [Read error: Connection reset by peer]
AKASkip has quit [Ping timeout: 250 seconds]
fragamus has quit [Quit: Computer has gone to sleep.]
hellangel7 has joined #ruby-lang
GBrawl has quit [Quit: (null)]
AKASkip has joined #ruby-lang
hellangel7 has quit [Max SendQ exceeded]
hellangel7 has joined #ruby-lang
kalleth_ is now known as kalleth
skade has joined #ruby-lang
fragamus has joined #ruby-lang
hackeron has quit [Ping timeout: 258 seconds]
hackeron has joined #ruby-lang
arBmind1 has joined #ruby-lang
arBmind has quit [Ping timeout: 250 seconds]
jimbach has joined #ruby-lang
stamina has joined #ruby-lang
jimbach has quit [Ping timeout: 246 seconds]
justinmburrous has joined #ruby-lang
justinmburrous has quit [Ping timeout: 255 seconds]
tkuchiki has quit [Remote host closed the connection]
hellangel7 has quit [Max SendQ exceeded]
karamazov has joined #ruby-lang
ledestin has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
rahul_j has joined #ruby-lang
rahul_j has quit [Client Quit]
rahul_j has joined #ruby-lang
ikrima has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
rahul_j has joined #ruby-lang
stamina has quit [Quit: WeeChat 1.0.1]
charliesome has quit [Quit: zzz]
rahul_j has quit [Client Quit]
haraoka has quit [Ping timeout: 258 seconds]
mkaesz has joined #ruby-lang
benlovell has quit [Ping timeout: 250 seconds]
danijoo has quit [Remote host closed the connection]
danijoo has joined #ruby-lang
mskaesz has quit [Ping timeout: 265 seconds]
jimbach has joined #ruby-lang
chussenot has quit [Quit: chussenot]
charliesome has joined #ruby-lang
mirageglobe has joined #ruby-lang
mirageglobe has quit [Client Quit]
jimbach has quit [Ping timeout: 272 seconds]
chills42 has joined #ruby-lang
miqui has quit [Remote host closed the connection]
justinmburrous has joined #ruby-lang
justinmburrous has quit [Ping timeout: 246 seconds]
jimbach has joined #ruby-lang
<yorickpeterse> 4 months of work almost all in production
<yorickpeterse> http://i.imgur.com/IaLG69W.gif very related
chussenot has joined #ruby-lang
abdias has joined #ruby-lang
GBrawl has joined #ruby-lang
<[spoiler]> LOL
quimrstorres has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
<abdias> You know some IRC for Gosu gem?
mskaesz has joined #ruby-lang
<tbuehlmann> the website says it's #gosu
quimrstorres has joined #ruby-lang
mkaesz has quit [Ping timeout: 260 seconds]
taylorrf has joined #ruby-lang
workmad3 is now known as wm3|away
ldnunes has joined #ruby-lang
scampbell has joined #ruby-lang
taylorrf has quit [Ping timeout: 255 seconds]
<maloik> Anyone here toyed with Go? Any good resources for it?
koos303 has quit [Quit: Connection closed for inactivity]
* yorickpeterse likes slapping people and randomly picks maloik to slap
SuMo_D has joined #ruby-lang
<yorickpeterse> don't tell me your app is performing "slow" and you think Go will solve that
<yorickpeterse> but their website has pretty decent docs btw
<maloik> hahaha :-) no
sarkyniin has joined #ruby-lang
<maloik> remember that security tool I briefly mentioned? I just realized it'd make more sense to write it in Go rather than having people install ruby on their servers
<yorickpeterse> security tool?
<maloik> basically something that checks your installed packages against CVE's
<maloik> a debsecan clone but with a proper library built around it
<maloik> or well not "around it", but you know
<yorickpeterse> You can make it piss easy to install Ruby
<yorickpeterse> sudo apt-get your-tool-here # done, no manual bundle crap
<yorickpeterse> I think that's the argument I hate the most: "omg Ruby is so hard to deploy" - bullshit
<yorickpeterse> If the target OS has a package manager you can solve that problem
<yorickpeterse> And no, you don't need to deal with every package manager individually: https://github.com/jordansissel/fpm
<yorickpeterse> For just deploying I wouldn't bother with any compiled language tbh
<maloik> when would you bother then?
<yorickpeterse> When you're either operating at Twotter scale, embedded systems, or when dynamic languages just don't cut it performance wise (after having tried everything else)
<yorickpeterse> Or for low level things such as a VM, compiler, etc
<yorickpeterse> e.g. if you're building some chat service that has to scale to omgwtfbbq amounts of data, I'd probably use Erlang or a compiler language (though probably just Erlang)
<yorickpeterse> s/compiler/compiled
<yorickpeterse> (I know Erlang isn't compiled)
<yorickpeterse> I believe Google wrote Go as a replacement for their C/C++ stack, for that it serves its purpose
kalehv has joined #ruby-lang
<maloik> well it doesn't really matter, it's just a play project anyway, and I've been meaning to try Go
skade has quit [Quit: Computer has gone to sleep.]
<yorickpeterse> meh if it's a play/hobby thing just knock yourself out
<chris2> as if debian had reasonable ruby packaging ;)
dwknoxy has joined #ruby-lang
havenwood has joined #ruby-lang
<yorickpeterse> chris2: see, the beauty of packaging on your own is that you can tell the Debian people to shove their policies up their ass
<yorickpeterse> or any other distro
<chris2> so you put ruby into your own deb or what?
<maloik> into the gems I imagine
danijoo has quit [Remote host closed the connection]
<yorickpeterse> chris2: No, you depend on whatever sane ruby-2.1 package there is somewhere
<yorickpeterse> or smack that on your own mirror
<yorickpeterse> Gems would go in your own package, all pre-built
danijoo has joined #ruby-lang
quimrstorres has quit [Remote host closed the connection]
<chris2> yorickpeterse: 2.1 on debian stable?
cleopatra has quit [Ping timeout: 258 seconds]
GBrawl has quit [Quit: (null)]
<yorickpeterse> https://packages.debian.org/search?keywords=ruby2.1 already in Jessie, pretty sure you can backport it
hellangel7 has joined #ruby-lang
<yorickpeterse> or you build it yourself based on the files used for the Jessie package
<yorickpeterse> (and host it yourself)
<chris2> see, easy deployment
<chris2> vs slapping a binary around
GBrawl has joined #ruby-lang
<yorickpeterse> it's not more complicated that 1) learning a new language 2) dealing with the pain of compiled languages 3) still having to package it somehow, host it and distribute it
SuMo_D has quit [Remote host closed the connection]
justinmburrous has joined #ruby-lang
rcvalle has joined #ruby-lang
thoolihan has quit [Quit: out]
<waxjar> if your program is not too fancy you might be able to compile it with mruby and distribute it that way, maybe?
justinmburrous has quit [Ping timeout: 240 seconds]
<waxjar> dunno how feasible that is
<yorickpeterse> waxjar: mruby != ruby
<waxjar> that's why your program can't be too fancy :p
ikrima has quit [Ping timeout: 240 seconds]
<abdias> some valid way to run a ruby/gl game in a mobile device (iphone/android) ?
wolves_cs has joined #ruby-lang
abdias has quit [Quit: Saindo]
thoolihan has joined #ruby-lang
abdias has joined #ruby-lang
kalehv has quit [Remote host closed the connection]
<yorickpeterse> everything now on 2.1.3 \0/
<yorickpeterse> now to wait and see how much better the memory usage is
<yorickpeterse> and if it still stays decent once I remove my tweaks
miqui has joined #ruby-lang
goodcodeguy has joined #ruby-lang
jgpawletko has joined #ruby-lang
wm3|away has quit [Ping timeout: 272 seconds]
shinnya has joined #ruby-lang
benlovell has quit [Ping timeout: 260 seconds]
naquad has left #ruby-lang [#ruby-lang]
Hanmac has quit [Ping timeout: 272 seconds]
klmlfl has joined #ruby-lang
rikki has joined #ruby-lang
<rikki> hey guys, is it possible to do a dynamic comparison in Ruby? For example:
kalopsian has joined #ruby-lang
<rikki> 1 comparator 2 = ? where comparator is "=", "!=" etc
wm3|away has joined #ruby-lang
klmlfl has quit [Remote host closed the connection]
<DefV> rikki: I don't know what you're asking
<rikki> hi DefV
<rikki> what I mean is a variable holds the type of comparison I want to conduct on 2 variables (e.g. equals, does not equal, less then, greater than etc)
<rikki> then evalaute the expression safely
<rikki> maybe a switch statement is better... check what the comparator is then do the math and return the result
allcentu1 has joined #ruby-lang
<yorickpeterse> rikki: eh, you can do this:
<yorickpeterse> >> compare = :<; 10.send(compare, 20)
<eval-in__> yorickpeterse => true (https://eval.in/206236)
LBo has quit [Ping timeout: 246 seconds]
<rikki> ooh, cool yorickpeterse
<rikki> cheers for that
Hanmac has joined #ruby-lang
ledestin_ has joined #ruby-lang
<apeiros> s/send/public_send/
<apeiros> #moreprivacyforobjects
spastorino has joined #ruby-lang
ledestin has quit [Ping timeout: 250 seconds]
ledestin_ is now known as ledestin
<yorickpeterse> pfffft this is Ruby, who cares :P
<DefV> #ObjectPrivacy2014
<waxjar> that evil runtime keeping track of all their metadata!
quimrstorres has joined #ruby-lang
gss has quit [Remote host closed the connection]
GBrawl has quit [Quit: (null)]
danijoo_ has joined #ruby-lang
oleo has joined #ruby-lang
rikki has quit [Ping timeout: 246 seconds]
quimrstorres has quit [Ping timeout: 272 seconds]
danijoo has quit [Ping timeout: 250 seconds]
tenderlove has joined #ruby-lang
diegoviola has joined #ruby-lang
benlovell has joined #ruby-lang
[spoiler] has quit [Quit: Leaving]
tenderlove has quit [Ping timeout: 255 seconds]
oleo has quit [Quit: Verlassend]
allcentu1 has quit [Ping timeout: 255 seconds]
gix has quit [Ping timeout: 240 seconds]
sepp2k has joined #ruby-lang
oleo has joined #ruby-lang
gix has joined #ruby-lang
bradcliffe has joined #ruby-lang
enebo has joined #ruby-lang
skade has joined #ruby-lang
chills42 has quit [Remote host closed the connection]
malconis has joined #ruby-lang
quimrstorres has joined #ruby-lang
chills42 has joined #ruby-lang
bradcliffe has quit [Remote host closed the connection]
wm3|away has quit [Ping timeout: 245 seconds]
crankhar1er is now known as crankharder
crunk_bear has joined #ruby-lang
shinnya has quit [Ping timeout: 260 seconds]
chussenot has quit [Quit: chussenot]
crunk_bear is now known as flute_booth
mirageglobe has joined #ruby-lang
allcentu1 has joined #ruby-lang
whippythellama has joined #ruby-lang
banister has quit [Ping timeout: 272 seconds]
danromano has joined #ruby-lang
tenderlove has joined #ruby-lang
chussenot has joined #ruby-lang
btiefert has quit [Read error: Connection reset by peer]
loincloth has joined #ruby-lang
justinmburrous has joined #ruby-lang
nathanstitt has joined #ruby-lang
allcentu1 has quit [Ping timeout: 244 seconds]
justinmburrous has quit [Ping timeout: 250 seconds]
schaerli has quit [Remote host closed the connection]
mnngfltg has joined #ruby-lang
AKASkip has quit [Ping timeout: 240 seconds]
gjaldon has joined #ruby-lang
cmhobbs_ has joined #ruby-lang
cmhobbs_ has quit [Client Quit]
jordanbsanders has joined #ruby-lang
seank__ has joined #ruby-lang
allcentu1 has joined #ruby-lang
klmlfl has joined #ruby-lang
kfpratt has joined #ruby-lang
seank_ has quit [Ping timeout: 260 seconds]
cleopatra has joined #ruby-lang
chussenot has quit [Quit: chussenot]
chussenot has joined #ruby-lang
goodcodeguy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: zzz]
solars has quit [Ping timeout: 260 seconds]
rkowalick has joined #ruby-lang
danromano has quit [Quit: Leaving]
wm3|away has joined #ruby-lang
hahuang61 has quit [Ping timeout: 260 seconds]
mistym has joined #ruby-lang
mistym has quit [Remote host closed the connection]
chussenot has quit [Quit: chussenot]
gss has joined #ruby-lang
banister has joined #ruby-lang
|jemc| has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 1.0.1]
klmlfl has quit [Remote host closed the connection]
klmlfl has joined #ruby-lang
jhass is now known as jhass|off
chussenot has joined #ruby-lang
phrozen77 has joined #ruby-lang
phrozen77 has quit [Changing host]
chills42 has quit [Remote host closed the connection]
chills42 has joined #ruby-lang
tbuehlmann has quit [Ping timeout: 260 seconds]
tbuehlmann has joined #ruby-lang
benlovell has quit [Ping timeout: 272 seconds]
chills42 has quit [Ping timeout: 272 seconds]
tbuehlmann has quit [Remote host closed the connection]
schaerli has joined #ruby-lang
tbuehlmann has joined #ruby-lang
cmhobbs has joined #ruby-lang
cmhobbs has quit [Changing host]
cmhobbs has joined #ruby-lang
wm3|away is now known as workmad3
mistym has joined #ruby-lang
dorei has joined #ruby-lang
justinmburrous has joined #ruby-lang
allcentu1 has quit [Ping timeout: 240 seconds]
lele has quit [Ping timeout: 260 seconds]
lele|w has quit [Ping timeout: 260 seconds]
justinmburrous has quit [Ping timeout: 246 seconds]
chills42 has joined #ruby-lang
lele|w has joined #ruby-lang
centrx has joined #ruby-lang
charliesome has joined #ruby-lang
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kwd_ has quit [Quit: Sleeping now. ZZZzzz…]
lele has joined #ruby-lang
bradcliffe has joined #ruby-lang
benlovell has joined #ruby-lang
<ljarvis> #PrivacyGate
jarto has joined #ruby-lang
malconis has joined #ruby-lang
__butch__ has joined #ruby-lang
<yorickpeterse> I hate Email for ever having "Reply-to-all"
rkowalick has quit [Ping timeout: 240 seconds]
<yorickpeterse> "FWD: FWD: FWD: RE: RE: RE: RE: RE: SPAM: URGENT: butts" - the average subject in an Email thread
<yorickpeterse> That's only partially a joke
<yorickpeterse> I have an actual subject like this: "Re: SV: SV: SV: SV: SV: SV: [NOTHING TO SEE HERE] Reports with GEI/Review changes"
<yorickpeterse> ._.
bradcliffe has quit [Ping timeout: 255 seconds]
<centrx> KIJKDAG GEMEENTE TESSENDERLO vrijdag 3 oktober 2014 vanaf 10:00 tot 13:00
<yorickpeterse> haha
<yorickpeterse> It's funny because it's Dutch
<yorickpeterse> also who the heck wants to see our municipalities doing nothing
schaerli has quit [Remote host closed the connection]
jhass|off is now known as jhass
kwd has joined #ruby-lang
schaerli has joined #ruby-lang
gjaldon has quit [Remote host closed the connection]
pr0ton_ has joined #ruby-lang
sharpmac_ has joined #ruby-lang
thagomizer has joined #ruby-lang
rkowalick has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
seank__ has quit [Remote host closed the connection]
phrozen77 has quit [Ping timeout: 260 seconds]
seank_ has joined #ruby-lang
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
phrozen77 has joined #ruby-lang
mustmodify has joined #ruby-lang
mustmodify has left #ruby-lang [#ruby-lang]
bradcliffe has joined #ruby-lang
dagda1 has joined #ruby-lang
workmad3 has quit [Ping timeout: 245 seconds]
mirageglobe has quit []
jarto has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
mikecmpbll has quit [Ping timeout: 245 seconds]
bradcliffe has quit [Ping timeout: 265 seconds]
gss has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
allcentu1 has joined #ruby-lang
bradcliffe has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
hellangel7 has quit [Ping timeout: 260 seconds]
imkmf has joined #ruby-lang
francisfish has joined #ruby-lang
mattyohe has joined #ruby-lang
wolves_cs has quit [Quit: Textual IRC Client: www.textualapp.com]
goodcodeguy has joined #ruby-lang
francisfish has quit [Ping timeout: 255 seconds]
benlovell has quit [Ping timeout: 260 seconds]
oleo has quit [Ping timeout: 244 seconds]
yxhuvud has quit [Remote host closed the connection]
AmBienCeD_ has joined #ruby-lang
pr0ton_ has quit [Quit: pr0ton_]
yxhuvud has joined #ruby-lang
qba73 has quit []
ZaRDaK has joined #ruby-lang
chussenot has quit [Quit: chussenot]
jbardin has joined #ruby-lang
chills42 has quit [Remote host closed the connection]
banister has joined #ruby-lang
AmBienCeD has quit [Ping timeout: 258 seconds]
charliesome has quit [Quit: zzz]
__butch__ has quit [Ping timeout: 260 seconds]
AKASkip has joined #ruby-lang
chussenot has joined #ruby-lang
mistym has joined #ruby-lang
tylersmith has joined #ruby-lang
mistym_ has joined #ruby-lang
__butch__ has joined #ruby-lang
oleo has joined #ruby-lang
mistym has quit [Disconnected by services]
mistym_ is now known as mistym
mskaesz has quit [Remote host closed the connection]
mkaesz has joined #ruby-lang
mnngfltg has quit [Quit: Ex-Chat]
elia has quit [Quit: Computer has gone to sleep.]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chills42 has joined #ruby-lang
allcentu1 has quit [Ping timeout: 255 seconds]
CoutLassa is now known as cout
hahuang61 has joined #ruby-lang
mkaesz has quit [Ping timeout: 244 seconds]
banister has joined #ruby-lang
bradcliffe has quit [Ping timeout: 258 seconds]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bradcliffe has joined #ruby-lang
dwknoxy has quit [Quit: Computer has gone to sleep.]
dwknoxy has joined #ruby-lang
ZaRDaK has quit [Quit: Leaving]
kwd has quit [Quit: Sleeping now. ZZZzzz…]
centrx has quit [Quit: The plan is programmed into every one of my one thousand robots]
chills42 has quit [Remote host closed the connection]
arBmind1 has quit [Quit: Leaving.]
karamazov has quit [Remote host closed the connection]
mikecmpbll has joined #ruby-lang
amsi has joined #ruby-lang
bradcliffe has quit [Ping timeout: 250 seconds]
GBrawl has joined #ruby-lang
chussenot has quit [Quit: chussenot]
imkmf has quit [Ping timeout: 240 seconds]
karamazov has joined #ruby-lang
wallerdev has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
nofxx has joined #ruby-lang
gjaldon has joined #ruby-lang
phrozen77 has quit [Ping timeout: 260 seconds]
heftig has quit [Ping timeout: 260 seconds]
phrozen77 has joined #ruby-lang
heftig has joined #ruby-lang
phrozen77 has quit [Excess Flood]
skade has quit [Quit: Computer has gone to sleep.]
dwknoxy has quit [Quit: Computer has gone to sleep.]
_whitelogger_ has quit [Ping timeout: 260 seconds]
_whitelogger_ has joined #ruby-lang
henrikhodne has quit [Ping timeout: 260 seconds]
henrikhodne has joined #ruby-lang
jeff_r has joined #ruby-lang
francisfish has joined #ruby-lang
workmad3 has joined #ruby-lang
dwknoxy has joined #ruby-lang
yatish27 has joined #ruby-lang
bradcliffe has joined #ruby-lang
bradcliffe has joined #ruby-lang
centrx has joined #ruby-lang
SuMo_D has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
rkowalick has quit [Quit: leaving]
abdias has quit [Quit: Leaving]
_whitelogger_ has joined #ruby-lang
rkowalick has joined #ruby-lang
wallerdev has joined #ruby-lang
benlovell has joined #ruby-lang
bin7me has joined #ruby-lang
abdias has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
parenjitsu has joined #ruby-lang
bradcliffe has quit [Remote host closed the connection]
imkmf has joined #ruby-lang
benlovell has quit [Ping timeout: 240 seconds]
_whitelogger__ has joined #ruby-lang
postmodern has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
imkmf has quit [Read error: Connection reset by peer]
imkmf has joined #ruby-lang
allcentu1 has joined #ruby-lang
dwknoxy has quit [Quit: Computer has gone to sleep.]
danijoo_ has quit [Read error: Connection reset by peer]
yfeldblum has quit [Remote host closed the connection]
danijoo has joined #ruby-lang
malconis has joined #ruby-lang
marr has quit [Ping timeout: 258 seconds]
chills42 has quit [Remote host closed the connection]
jeff_r has quit [Ping timeout: 265 seconds]
AmBienCeD_ has quit [Quit: http://quassel-irc.org - Chatee cómodamente donde sea.]
AmBienCeD has joined #ruby-lang
fragamus has quit [Quit: Computer has gone to sleep.]
malconis_ has joined #ruby-lang
malconis has quit [Ping timeout: 260 seconds]
loincloth has quit [Remote host closed the connection]
banister has quit [Read error: Connection reset by peer]
banister has joined #ruby-lang
emmesswhy has joined #ruby-lang
NoNMaDDeN has joined #ruby-lang
quimrstorres has quit [Remote host closed the connection]
yatish27 has quit [Remote host closed the connection]
ta has quit [Ping timeout: 240 seconds]
centrx has quit [Ping timeout: 246 seconds]
dwknoxy has joined #ruby-lang
sepp2k has quit [Quit: Konversation terminated!]
banister has quit [Ping timeout: 240 seconds]
malconis_ is now known as malconis
sepp2k has joined #ruby-lang
djbkd has joined #ruby-lang
maciellvm has joined #ruby-lang
centrx has joined #ruby-lang
centrx has quit [Client Quit]
chills42 has joined #ruby-lang
<Sephyros> clear
<yorickpeterse>
dagda1 has joined #ruby-lang
<Sephyros> Hello, i having problems to download and install gems in my machine (Linux Mint 17 32bit), i am behind a authenticated proxy
<abdias> some error message?
<Sephyros> All time i get 403, i already set proxy settings in /etc/bash.bashrc, /etc/apt/apt.conf, ~/.bashrc, ~/.gemrc
chills42 has quit [Ping timeout: 245 seconds]
<Sephyros> oh, and ~/.curlrc
AngryEgret has quit [Ping timeout: 246 seconds]
samuelkadolph has quit [Ping timeout: 246 seconds]
yatish27 has joined #ruby-lang
goodcodeguy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has joined #ruby-lang
carraroj has joined #ruby-lang
Mellett68 has quit [Ping timeout: 246 seconds]
jeff_r has joined #ruby-lang
chouhoul_ has joined #ruby-lang
michael_mbp has quit [Ping timeout: 246 seconds]
michael_mbp has joined #ruby-lang
kaiza has quit [Ping timeout: 246 seconds]
zenspider has quit [Ping timeout: 246 seconds]
karamazo_ has joined #ruby-lang
tenderlo_ has joined #ruby-lang
kalopsia1 has joined #ruby-lang
kalopsian has quit [Ping timeout: 246 seconds]
jeff_r has quit [Remote host closed the connection]
masterkorp has quit [Ping timeout: 246 seconds]
wallerdev has joined #ruby-lang
tenderlove has quit [Ping timeout: 246 seconds]
jeff_r has joined #ruby-lang
kirin` has quit [Ping timeout: 246 seconds]
karamazov has quit [Ping timeout: 246 seconds]
Eising has quit [Ping timeout: 246 seconds]
funnel has quit [Ping timeout: 246 seconds]
chouhoulis has quit [Ping timeout: 246 seconds]
tommylommykins has quit [Ping timeout: 246 seconds]
ged has quit [Ping timeout: 246 seconds]
ikrima has joined #ruby-lang
bhaak has quit [Ping timeout: 246 seconds]
Bwild has quit [Ping timeout: 246 seconds]
yfeldblum has joined #ruby-lang
Kero has quit [Ping timeout: 246 seconds]
jamo_ has quit [Ping timeout: 246 seconds]
<Sephyros> Hello, i having problems to download and install gems in my machine (Linux Mint 17 32bit), i am behind a authenticated proxy. All time i get 403, i already set proxy settings in /etc/bash.bashrc, /etc/apt/apt.conf, ~/.bashrc, ~/.gemrc, ~/.curlrc. Any suggestions?
AngryEgret has joined #ruby-lang
bhaak has joined #ruby-lang
Mellett68 has joined #ruby-lang
jamo_ has joined #ruby-lang
funnel has joined #ruby-lang
Eising has joined #ruby-lang
kirin` has joined #ruby-lang
marr has joined #ruby-lang
zenspider has joined #ruby-lang
Kero has joined #ruby-lang
Bwild has joined #ruby-lang
samuelkadolph has joined #ruby-lang
schaerli has quit [Remote host closed the connection]
ged has joined #ruby-lang
Kero is now known as Guest95518
<yorickpeterse> Sephyros: yes you already asked that 8 minutes ago
kaiza has joined #ruby-lang
<yorickpeterse> Asking the same question that quickly wont get you answers any faster
<yorickpeterse> Typically no answer means either 1) nobody knows 2) nobody is around
<Sephyros> because the #2 i repeated
<Sephyros> many people have joined, and leave, and joined
<yorickpeterse> ...you waited 8 minutes
<Sephyros> i tried again
<yorickpeterse> People here join/part all the time
<yorickpeterse> Either way, try without a proxy, and make sure your RubyGems settings are actually correct
loincloth has joined #ruby-lang
<yorickpeterse> and make sure said proxy doesn't block anything
<Sephyros> i am using RVm too, i forgot to say
kirin` has quit [Ping timeout: 260 seconds]
<Sephyros> RubyGems settings?
tommylommykins has joined #ruby-lang
<Sephyros> oh, ok i will check
<yorickpeterse> RVM shouldn't matter, it sounds more like your settings in ~/.gemrc aren't correct
Sephyros has quit [Remote host closed the connection]
Sephyros has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
masterkorp has joined #ruby-lang
ewolfynna has joined #ruby-lang
matp has quit [Remote host closed the connection]
chills42 has joined #ruby-lang
SuMo_D has quit [Remote host closed the connection]
skade has joined #ruby-lang
ta has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
emmesswhy has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
ewolfynna has quit [Quit: Page closed]
holdsworth has joined #ruby-lang
workmad3 has joined #ruby-lang
mistym has quit [Remote host closed the connection]
skade has quit [Ping timeout: 272 seconds]
gjaldon has quit []
Lewix has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
holdsworth has quit [Client Quit]
emmesswhy has joined #ruby-lang
carraroj has quit [Ping timeout: 244 seconds]
amsi has quit [Ping timeout: 244 seconds]
dagda1 has quit [Quit: Textual IRC Client: www.textualapp.com]
dagda1 has joined #ruby-lang
cmhobbs has quit [Ping timeout: 250 seconds]
Sephyros has quit [Quit: Leaving]
mistym has joined #ruby-lang
skade has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
workmad3 has quit [Quit: Lost terminal]
emmesswhy has quit [Quit: This computer has gone to sleep]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
ikrima has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
cornerma1 has joined #ruby-lang
djbkd has joined #ruby-lang
cornerman has quit [Ping timeout: 260 seconds]
djbkd has quit [Remote host closed the connection]
cornerma1 is now known as cornerman
djbkd has joined #ruby-lang
isale-eko has joined #ruby-lang
emmesswhy has joined #ruby-lang
cmhobbs has joined #ruby-lang
banister is now known as banisterfiend
AngryEgret has quit [Ping timeout: 272 seconds]
gianlucadv has quit [Ping timeout: 272 seconds]
wallerdev has joined #ruby-lang
AngryEgret has joined #ruby-lang
abdias has quit [Quit: Leaving]
fragamus has joined #ruby-lang
<matled> let's say I've got %w(: a b : x z z : t n s : f t t). I'd like to get [%w(: a b), %W(: x z z), %w(: t n s), %w(: f t t)] from that. what is a good way to do that? obviously more generic than array of strings, but rather I've got a predicate (in this case "e == ':') and would like to have all elements that are following it until the next time the predicate is true.
diegoviola has joined #ruby-lang
bradcliffe has joined #ruby-lang
<matled> I could probably build something with inject, adding a new array each time I see a matching element and appending to the last array in that array
<whitequark> source.each_with_object([]) { |item, target| if predicate?(item) then target << [item] else target.last << item end }
<whitequark> basically what you said
<rkowalick> join("").scan(/\:[^:]+/).map{|e| e.scan(/./)}
bradcliffe has quit [Remote host closed the connection]
<rkowalick> I guess e.scan(/./) can be e.each_char.to_a
scampbell has quit [Quit: Leaving]
<matled> whitequark: thanks, I thought I might be missing something similar to #each_cons that could do that already without manual fiddling :)
matp has joined #ruby-lang
<matled> rkowalick: the strings array was just an example, I've got arbitrary objects and the property should be a block
mistym has quit [Remote host closed the connection]
<rkowalick> oh
<rkowalick> whoops
nofxx has quit [Ping timeout: 272 seconds]
apt-get_ has joined #ruby-lang
nathanstitt has quit [Ping timeout: 272 seconds]
parenjitsu has quit [Ping timeout: 255 seconds]
chills42 has quit [Remote host closed the connection]
sarkyniin has quit [Ping timeout: 265 seconds]
nofxx has joined #ruby-lang
nofxx has quit [Changing host]
nofxx has joined #ruby-lang
<rkowalick> slice_before { |e| predicate?(e) }.to_a
<rkowalick> never used that one before!
<rkowalick> lol
jbardin has quit [Quit: jbardin]
amsi has joined #ruby-lang
lcdhoffman has joined #ruby-lang
<matled> wow, that's cool
<rkowalick> I saw your issue and was thinking "Ruby's Enumerable is big, this has to be in there"
<rkowalick> Search around the docs, I found that
goodcodeguy has joined #ruby-lang
nathanstitt has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
chills42 has joined #ruby-lang
mistym has joined #ruby-lang
fragamus has quit [Quit: Computer has gone to sleep.]
fragamus has joined #ruby-lang
ikrima has joined #ruby-lang
fragamus has quit [Client Quit]
arBmind has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
fragamus has joined #ruby-lang
fragamus has quit [Read error: Connection reset by peer]
fragamus has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
loincloth has joined #ruby-lang
bradcliffe has joined #ruby-lang
chouhoul_ has quit [Ping timeout: 255 seconds]
chills42 has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
havenwood has quit [Ping timeout: 264 seconds]
miqui has quit [Remote host closed the connection]
allcentu1 has quit [Ping timeout: 260 seconds]
sepp2k has quit [Quit: Konversation terminated!]
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
havenwood has joined #ruby-lang
nem has joined #ruby-lang
<nem> is ruby's default logger known to be inconsistent? IE I am not always seeing logging happen. Especially when used hand in hand with Benchmark.bm .
emmesswhy has joined #ruby-lang
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jbardin has joined #ruby-lang
wallerdev has joined #ruby-lang
wallerdev has quit [Ping timeout: 255 seconds]
bin7me has quit [Remote host closed the connection]
jeff_r has quit []
dagda1 has joined #ruby-lang
sepp2k has joined #ruby-lang
_whitelogger__ has quit [Ping timeout: 260 seconds]
_whitelogger__ has joined #ruby-lang
yatish27 has joined #ruby-lang
ldnunes has quit [Quit: Leaving]
tstrokes has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
fusillicode has quit [Ping timeout: 255 seconds]
_whitelogger__ has quit [Excess Flood]
_whitelogger__ has joined #ruby-lang
hramrach_ has quit [Ping timeout: 264 seconds]
softaco_s has joined #ruby-lang
_ht has quit [Remote host closed the connection]
imperator has joined #ruby-lang
bradcliffe has quit [Remote host closed the connection]
goodcodeguy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<yorickpeterse> nem: Ruby's Logger class should be fine, sounds more like something in your code is not working right
foucist has joined #ruby-lang
<foucist> anyone know if there's a good way to take in say 10 similar files and generate a base/template file, and 14 files with the differences as variables
<imperator> foucist, sounds like a job for erb templates
<foucist> yeah that's what i'm talking about
<imperator> ok, not sure what you mean by "take in"
wallerdev has quit [Quit: wallerdev]
<foucist> basically generate an erb template & variable files for the differences or w/e
imkmf has quit [Quit: Textual IRC Client: www.textualapp.com]
<foucist> so the end result is still the same
apt-get_ has quit [Quit: Quitte]
wallerdev has joined #ruby-lang
wallerdev has quit [Client Quit]
wallerdev has joined #ruby-lang
imkmf has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
* imperator may not understand the full context of the problem, however
<imperator> if you can't have a pre-built template already, then it sounds like you would need to parse one (or more) of the files, and generate an initial template
__butch__ has quit [Quit: Leaving.]
_whitelogger__ has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
hramrach_ has joined #ruby-lang
kfpratt has quit [Ping timeout: 240 seconds]
bradcliffe has joined #ruby-lang
djbkd has joined #ruby-lang
yatish27 has quit [Remote host closed the connection]
nem_ has joined #ruby-lang
nem has quit [Ping timeout: 246 seconds]
<nem_> ?
<nem_> browser crash did anyone respond to the logger question
<yorickpeterse> nem_: yes
<yorickpeterse> nem_: 21:24:39 yorickpeterse | nem: Ruby's Logger class should be fine, sounds more like something in your code is not working right
<nem_> ok thanks
kfpratt has joined #ruby-lang
_whitelogger__ has quit [Excess Flood]
_whitelogger__ has joined #ruby-lang
<imperator> yorickpeterse, perhaps it performed another chainsaw infanticide maneuver :-P
yatish27 has joined #ruby-lang
ikrima has quit [Ping timeout: 244 seconds]
<yorickpeterse> wat
_whitelogger__ has quit [Excess Flood]
_whitelogger__ has joined #ruby-lang
<imperator> i guess that was before your time
ikrima has joined #ruby-lang
<imperator> old zed shaw rant
rkowalick has quit [Ping timeout: 272 seconds]
_whitelogger__ has joined #ruby-lang
<imperator> _whitelogger__, problems?
<yorickpeterse> oh, you mean the famous one?
<imperator> yep
<yorickpeterse> and yeah it was, I didn't start Rubby until....2011-something
Lewix has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
nem_ has quit [Ping timeout: 246 seconds]
cmhobbs has quit [Remote host closed the connection]
<imperator> oh, it's a bot
klmlfl has quit [Ping timeout: 260 seconds]
<foucist> imperator: yeah i want to parse the 14 files, extract the most common parts, i.e. n-way merge/diff kind of thing, but keep the unique stuff per file for the variable part essentially
<foucist> probably can't use a 2-way diff/merge process because that wouldn't give very good results
amsi has quit [Ping timeout: 272 seconds]
_whitelogger__ has quit [Excess Flood]
_whitelogger__ has joined #ruby-lang
crunk_bear has joined #ruby-lang
flute_booth has quit [Read error: Connection reset by peer]
crunk_bear has quit [Client Quit]
<imperator> i'd probably look to a 3rd party gem for help
amsi has joined #ruby-lang
ikrima has quit [Ping timeout: 244 seconds]
lcdhoffman has quit [Quit: lcdhoffman]
nofxx has quit [Ping timeout: 250 seconds]
fragamus has quit [Quit: Computer has gone to sleep.]
imkmf has quit [Ping timeout: 255 seconds]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lektricity has joined #ruby-lang
_whitelogger__ has joined #ruby-lang
ur5us_ has joined #ruby-lang
jxpx777 has quit [Quit: Leaving...]
ur5us has quit [Read error: Connection reset by peer]
<foucist> imperator: no idea what to search for ;)
<imperator> i'd probably start with gem search -r -d diff and see if that turns up anything useful
yfeldblum has joined #ruby-lang
tstrokes has quit [Quit: Textual IRC Client: www.textualapp.com]
amsi has quit [Ping timeout: 260 seconds]
lektrik has quit [Ping timeout: 260 seconds]
lektricity has quit [Ping timeout: 260 seconds]
_whitelogger__ has joined #ruby-lang
kalopsia1 has quit [Ping timeout: 260 seconds]
dorei has quit []
<foucist> cool
ikrima has joined #ruby-lang
Asher has joined #ruby-lang
bradcliffe has quit [Ping timeout: 255 seconds]
<foucist> lcs also
<foucist> guess i got some ideas now
<foucist> cheers
foucist has left #ruby-lang [#ruby-lang]
arBmind1 has joined #ruby-lang
amsi has joined #ruby-lang
_whitelogger__ has joined #ruby-lang
arBmind1 has quit [Client Quit]
arBmind has quit [Ping timeout: 255 seconds]
wallerdev_ has joined #ruby-lang
amsi has quit [Ping timeout: 255 seconds]
wallerdev has quit [Ping timeout: 260 seconds]
wallerdev_ is now known as wallerdev
nofxx has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
imkmf has joined #ruby-lang
<imperator> whitequark, your bot seems to be having issues
MeMoCooL has joined #ruby-lang
jordanbsanders has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djbkd has joined #ruby-lang
whippythellama has quit [Quit: whippythellama]
duper has joined #ruby-lang
rkowalick has joined #ruby-lang
ikrima has quit [Ping timeout: 260 seconds]
_whitelogger__ has quit [Excess Flood]
_whitelogger__ has joined #ruby-lang
tanema has joined #ruby-lang
tanema has quit [Remote host closed the connection]
tanema has joined #ruby-lang
amsi has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
kalehv has joined #ruby-lang
LBo has joined #ruby-lang
rkowalick has quit [Ping timeout: 255 seconds]
karamazo_ has quit []
nathanstitt has joined #ruby-lang
emmesswhy has joined #ruby-lang
softaco_s has quit [Remote host closed the connection]
emmesswhy has quit [Client Quit]
seank__ has joined #ruby-lang
ikrima has joined #ruby-lang
elia has joined #ruby-lang
_whitelogger__ has quit [Excess Flood]
_whitelogger__ has joined #ruby-lang
rkowalick has joined #ruby-lang
seank_ has quit [Ping timeout: 265 seconds]
_whitelogger__ has joined #ruby-lang
samuelkadolph has quit [Quit: Quitting]
_whitelogger__ has quit [Excess Flood]
_whitelogger__ has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
_whitelogger__ has joined #ruby-lang
_whitelogger__ has joined #ruby-lang
kalehv has quit [Remote host closed the connection]
imkmf has quit [Quit: Textual IRC Client: www.textualapp.com]
softaco_s has joined #ruby-lang
_whitelogger__ has quit [Excess Flood]
_whitelogger__ has joined #ruby-lang
emmesswhy has joined #ruby-lang
ikrima has quit [Ping timeout: 246 seconds]
_whitelogger__ has joined #ruby-lang
amsi has quit [Ping timeout: 260 seconds]
MichD is now known as michd
_whitelogger__ has quit [Excess Flood]
_whitelogger__ has joined #ruby-lang
netlogics has quit []
oleo__ has joined #ruby-lang
oleo is now known as Guest36041
Guest36041 has quit [Ping timeout: 240 seconds]
kalopsian has joined #ruby-lang
_whitelogger__ has quit [Excess Flood]
Lewix has quit [Remote host closed the connection]
_whitelogger__ has joined #ruby-lang
isale-eko has quit [Quit: ChatZilla 0.9.91 [Firefox 33.0/20141011015303]]
jordsmi has joined #ruby-lang
|jemc| has quit [Ping timeout: 255 seconds]
amsi has joined #ruby-lang
Lewix has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
xvq17 has quit [Ping timeout: 245 seconds]
aquatty has quit [Ping timeout: 244 seconds]
xvq17 has joined #ruby-lang
aquatty has joined #ruby-lang
jo__ has quit [Quit: Connection closed for inactivity]
marr has quit [Ping timeout: 272 seconds]
amsi has quit [Ping timeout: 260 seconds]
amsi has joined #ruby-lang
mikecmpbll has quit [Quit: ciao.]
tallgirltaadaa has joined #ruby-lang
<tallgirltaadaa> hello
_whitelogger__ has quit [Excess Flood]
_whitelogger__ has joined #ruby-lang
<tallgirltaadaa> i have just recently posted a question on stack overflow about has_many parameters... and would really love it.. if someone wouldnt mind taking a look
sharpmac_ has quit [Remote host closed the connection]
AKASkip has quit [Ping timeout: 255 seconds]