apeiros changed the topic of #ruby to: Ruby 2.1.0; 2.0.0-p353; 1.9.3-p484: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
<buff3r> hi all, im looking at dependencies list with the 'gem spec -r <rubygem_name>' command
malcolmva has quit [Quit: Leaving]
<buff3r> sometimes there's a dependency listed that can't be retrieved with the same command, am i doing something wrong?
Annwyl has quit []
<buff3r> any idea why gem spec is so referentially inconsistent?
malcolmva has joined #ruby
habanany has quit [Ping timeout: 265 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
Bish has joined #ruby
magbeat has joined #ruby
chiel has joined #ruby
ekarlso- has joined #ruby
bleak has quit [Quit: bleak]
<RubyPanther> buff3r: because rubygems was an addon, and there isn't a consistent tool used to manage gem specs
shevy has quit [Ping timeout: 265 seconds]
<RubyPanther> it gets better every year, but a lot of specs are klunky/incomplete
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
<RubyPanther> it ain't no cpan ;)
wiku5_ has quit [Quit: WeeChat 0.3.8]
wallerdev has joined #ruby
Yahkob has joined #ruby
shevy has joined #ruby
dagnachew has quit [Quit: WeeChat 0.4.2]
brennanMKE has joined #ruby
dagnachew has joined #ruby
wiku5_ has joined #ruby
Scient has joined #ruby
senj has quit [Quit: Textual IRC Client: www.textualapp.com]
rootshift has joined #ruby
dagnachew has quit [Client Quit]
bhaak has quit [Read error: Operation timed out]
cpruitt has quit [Quit: cpruitt]
<buff3r> RubyPanther: thanks for the response
matchaw_ has joined #ruby
shevy has quit [Ping timeout: 272 seconds]
freerobby has joined #ruby
matchaw has quit [Ping timeout: 265 seconds]
Guest91199 is now known as mnemon
VTLob has quit [Quit: VTLob]
mnemon has quit [Changing host]
mnemon has joined #ruby
DaniG2k has quit [Quit: leaving]
blitz has joined #ruby
yarou has quit [Remote host closed the connection]
<blitz> is there a way to conditionally created a new instance of a subclass, determining the name of subclass in the super and then calling a function on that name
JStoker has quit [Excess Flood]
sski has joined #ruby
wallerdev has quit [Quit: wallerdev]
CourtJesterG has joined #ruby
dx7 has quit [Remote host closed the connection]
awarner has quit [Remote host closed the connection]
dseitz has joined #ruby
JStoker has joined #ruby
bhaak has joined #ruby
ktosiek has quit [Ping timeout: 248 seconds]
pfg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
awarner has joined #ruby
thesheff17 has joined #ruby
zeade has joined #ruby
mando has joined #ruby
brunops has joined #ruby
lmickh has quit [Remote host closed the connection]
mahlon_ is now known as mahlon
whatasunnyday has quit [Quit: whatasunnyday]
vlad_starkov has joined #ruby
yarou has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
shanlar has joined #ruby
<bricker> blitz: sure
mocfive has quit [Read error: Connection reset by peer]
Deele has quit [Ping timeout: 265 seconds]
Roa_ has quit [Quit: leaving]
Zunonia has joined #ruby
mocfive has joined #ruby
<blitz> I'm using Kernel.const_get
<blitz> found some info
kevind has quit [Quit: kevind]
predator217 has joined #ruby
bennylope has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
terrellt has joined #ruby
Roa has joined #ruby
BrianJ has joined #ruby
butblack has quit [Quit: butblack]
saarinen has quit [Quit: saarinen]
koshian has joined #ruby
marr has quit [Ping timeout: 265 seconds]
soba has joined #ruby
tylersmith has quit [Remote host closed the connection]
fijimunkii has quit [Read error: Connection reset by peer]
predator117 has quit [Ping timeout: 272 seconds]
bleak has joined #ruby
BrianJ has quit [Client Quit]
danshultz has joined #ruby
nateberkopec has joined #ruby
b00stfr3ak has quit [Ping timeout: 248 seconds]
fijimunkii has joined #ruby
blitz has left #ruby ["bye"]
freerobby has quit [Quit: Leaving.]
yarou has quit [Remote host closed the connection]
TheGreatDogesby has quit [Remote host closed the connection]
TheGreatDogesby has joined #ruby
BackEndCoder has quit [Read error: Connection reset by peer]
tkuchiki has quit [Remote host closed the connection]
BackEndCoder has joined #ruby
tkuchiki has joined #ruby
yasushi has joined #ruby
itadder has joined #ruby
<itadder> hi
mib_mib has joined #ruby
<itadder> how do I make vim and ruby look like that
dx7 has joined #ruby
<mib_mib> hi all - i'm using the aws-sdk gem to download large files from s3 - is there any way to speed this up? I'm using the streaming download - for instance, can i somehow increase the chunk size of Net HTTP?
buff3r has quit [Quit: leaving]
iamdoo2 has joined #ruby
BrianJ has joined #ruby
tkuchiki has quit [Ping timeout: 265 seconds]
rushed has joined #ruby
yasushi has quit [Ping timeout: 252 seconds]
RoxasShadowRS has quit [Quit: Leaving]
Spami has joined #ruby
kitak has joined #ruby
ekarlso has quit [Quit: Lost terminal]
iamdoo2_ has joined #ruby
ndrei has quit [Quit: Lost terminal]
thesheff17 has quit [Ping timeout: 252 seconds]
<itadder> is it good idea to code ruby on a hosted platform or on my laptop
Guest50826 has quit [Changing host]
Guest50826 has joined #ruby
<itadder> what the disadvatnge
Guest50826 is now known as seekwill
iamdoo2 has quit [Ping timeout: 252 seconds]
icantbecool has joined #ruby
thesheff17 has joined #ruby
wiku5_ has quit [Quit: WeeChat 0.3.8]
<centrx> itadder, Uh, both?
<itadder> were do you run yoru ruby project
<itadder> at least for learning
<itadder> I guess on my laptop it just fine
BackEndCoder has quit [Read error: Connection reset by peer]
fgo has quit [Remote host closed the connection]
BackEndCoder has joined #ruby
pzula has quit [Ping timeout: 252 seconds]
yarou has joined #ruby
freezey has quit [Remote host closed the connection]
<dseitz> Can't help much with the look
jlast has joined #ruby
<dseitz> but the thing on the left is NERDtree
<itadder> ahh
jlast has quit [Remote host closed the connection]
ffranz has quit [Quit: Leaving]
jlast has joined #ruby
bennylope has joined #ruby
bennylope has quit [Max SendQ exceeded]
Evenix has joined #ruby
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
<itadder> do yo use vimruby
<dseitz> These are the plugins I typically use: https://github.com/s3itz/vimrc/tree/master/bundle
<dseitz> I had to remove YCM because brew's system-level changes are making it too painful to setup
<itadder> is thier a automated script to add al that to my vim
<dseitz> Vundle is an optional thing
<itadder> what is tabular it adds tab to vim
<dseitz> It creates a tag view
digitalcake1 has joined #ruby
<itadder> hmm
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
mib_mib has quit [Ping timeout: 245 seconds]
shevy has joined #ruby
wildroman2 has quit [Remote host closed the connection]
<dseitz> oops, wrong
BackEndCoder has quit [Read error: Connection reset by peer]
<dseitz> That's for aligning text
<itadder> I think I will stick with textmate
<itadder> dseitz: oh
<AlexRussia> shevy: HeLLo!
BackEndCoder has joined #ruby
devinus has quit []
JStoker has quit [Excess Flood]
<itadder> my brain for someone reason can't handle complex concept
<dseitz> It's pretty cool; you can use regex and block selections
<itadder> I get a huge brain fart
digitalcake1 has quit [Client Quit]
icantbecool has quit [Quit: Computer has gone to sleep.]
<dseitz> I'd probably consider almost anything from tpope's repo as well :)
tkuchiki has joined #ruby
<itadder> oh wow
<itadder> wow $255 for his class
robustus has quit [Ping timeout: 252 seconds]
<itadder> oh wow neat it align text
bklane has joined #ruby
JStoker has joined #ruby
<itadder> wow he uses macvim
<bklane> I am learning procs now and wondering at one point you should use a proc over a regular iteration? On codecademy it uses a proc for a single method call which I assume you would just use in a map or collect block no?
habanany has joined #ruby
snooc has joined #ruby
ner0x has joined #ruby
shevy has quit [Ping timeout: 272 seconds]
<itadder> wow this guy is a genius dseitz
drocsid has quit [Changing host]
drocsid has joined #ruby
BackEndCoder has quit [Read error: Connection reset by peer]
JStoker has quit [Excess Flood]
BackEndCoder has joined #ruby
<bklane> this is the codecademy example: https://gist.github.com/eb52c9bbbf9aebeb9989.git
robustus has joined #ruby
nomenkun has joined #ruby
JStoker has joined #ruby
<dseitz> itadder: Vim has a lot of amazing stuff to learn about; I wouldn't necessary pay for an instruction unless you want to get up and running with a lot of the advanced stuff very quickly. There is enough free material out there that this doesn't make much sense to me.
mocfive has quit [Remote host closed the connection]
wildroman2 has joined #ruby
<itadder> first I am trying to learn ruby
<dseitz> Also, Vim is not the only productive editor out there; so if you're comfortable with one environment and it serves you well, stick ot it
<itadder> dseitz: any reason why my brain can't focus on ruby for more then 20 minuutes
mocfive has joined #ruby
<itadder> I have not decided on what to use hence I am not a expert on any
<itadder> right now I am using textmate on the maac
jonr22 has quit [Remote host closed the connection]
<itadder> I tried for three weeks but my brain focused on someting for 20 minutes and then gave up
<dseitz> I see. Well as much as I appear to be promoting Vim, I actually use, primarily, ST3 w/ an open Terminal instance.
jonr22 has joined #ruby
<dseitz> As for Ruby, depends on what experience you have in your background.
clamstar has quit [Quit: ZNC - http://znc.in]
tempered has joined #ruby
<itadder> basic
<itadder> I have basic
snooc has quit [Quit: Textual IRC Client: www.textualapp.com]
<itadder> I only been doing it for three weeks and it seems I am about to give up
wildroman2 has quit [Ping timeout: 248 seconds]
<dseitz> To give you an example, I'm learning JS right now, which is similar to languages I have used in the past, but in other ways, nothing like any of them. So I've had a few parts that I've moved through very very slowly.
snooc has joined #ruby
snooc has quit [Max SendQ exceeded]
mocfive has quit [Ping timeout: 252 seconds]
clamstar has joined #ruby
snooc has joined #ruby
burlyscudd has joined #ruby
<itadder> the basic stuff I did okay and got bored
<itadder> but the more advance stuff
BackEndCoder has quit [Read error: Connection reset by peer]
<itadder> my brain got a brain fart
BackEndCoder has joined #ruby
jonr22 has quit [Ping timeout: 265 seconds]
havenwood has quit [Remote host closed the connection]
<dseitz> Well that's okay. If it's boring; you should not really be reading alone.
<itadder> ahh
Zunonia has quit [Remote host closed the connection]
havenwood has joined #ruby
<itadder> I have major problem with focus
Zunonia has joined #ruby
<dseitz> You need to code out and do some exercises to built your knowledge. I think a lot of books fail to provide these because they are intended for instruction to suppliment a course or something.
<itadder> I can hyper focus for a while, but doing the first part of code acamedy just bore me
<itadder> ahh dseitz yea
<itadder> I just want to learn to jump in to automatation
<itadder> script
clamstar has quit [Client Quit]
jle` has quit [Quit: WeeChat 0.4.2]
<itadder> I mean learn at the same time, but getting bored
BackEndCoder has quit [Read error: Connection reset by peer]
<itadder> on how you add numbers or print stuff
<itadder> altough important
BackEndCoder has joined #ruby
jle` has joined #ruby
necrotic_ has joined #ruby
clamstar has joined #ruby
jonr22 has joined #ruby
necrotic_ has quit [Remote host closed the connection]
TripTastic has joined #ruby
<george2> I'm given this unit test file http://paste.kde.org/p90dd09c8 , and expected to write "RegExpProcessor". With this in my RegExpProcessor.rb http://paste.chakra-project.org/6369 , I get this error. http://paste.kde.org/p217d4d31 . What do I need to do to get the tests to recognize my class?
adam has quit [Disconnected by services]
ffranz has joined #ruby
clamstar has quit [Remote host closed the connection]
mikepack_ has quit [Remote host closed the connection]
mikepack has joined #ruby
<dseitz> itadder: Take a break when the book gets old; https://www.bloc.io/ruby-warrior/#/ might be interesting for you since its interactive and challenging at times
adam_ has joined #ruby
sjuxax has left #ruby [#ruby]
<dseitz> what are you learning from, btw?
matchaw has joined #ruby
matchaw_ has quit [Ping timeout: 252 seconds]
matchaw_ has joined #ruby
JBreit has quit [Ping timeout: 252 seconds]
<itadder> code acamedy
mikepack_ has joined #ruby
tauebel has quit [Quit: Leaving.]
<itadder> oh wow a ruby video game
TheGreatDogesby has quit [Remote host closed the connection]
<dseitz> Yeah that is boring; even PickAxe has you do more exciting stuff than that website
matchaw_ has quit [Remote host closed the connection]
CaptainJet has quit []
<dseitz> Jump into these two options, they don'y make you feel like a moron by spending 12 hours printing stuff to the console :)
clamstar has joined #ruby
<itadder> wow the ruby community has a lot of neat tuts
meatherly has joined #ruby
nobitanobi has joined #ruby
nfk has quit [Quit: yawn]
plotter has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
mikepack has quit [Ping timeout: 272 seconds]
mikepack_ has quit [Ping timeout: 248 seconds]
Davey has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
vlad_starkov has quit [Read error: Connection reset by peer]
meatherly has quit [Ping timeout: 252 seconds]
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
abra has quit [Ping timeout: 248 seconds]
tauebel has joined #ruby
Evenix has quit [Remote host closed the connection]
abra has joined #ruby
Evenix has joined #ruby
Davey has joined #ruby
agent_wh1te has joined #ruby
<agent_wh1te> Ello everyone
CourtJesterG has left #ruby ["Please Donate: Litecoin payments: LUJnwfYNhNVNeP7DCxrewbJD9zZNR1nZ3E"]
agent_wh1te has left #ruby [#ruby]
agent_white has joined #ruby
parus has joined #ruby
Blue_Ice has joined #ruby
Blue_Ice has quit [Changing host]
Blue_Ice has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
Nahra has joined #ruby
Nahra has quit [Changing host]
Nahra has joined #ruby
<dseitz> itadder: Free material to read and practice with are Learn Ruby the Hard Way [aka, by completing exercises], Learn Programming by Chris Pine, free, bit old but good book. Programming Ruby [aka the PickAxe book] was is a great read. RubyMonk and RubyWarrior give you an opportunity to test your ability to code interactively and continue learning
<dseitz> If I'm not mistaken, most of these are recommended on the website
<itadder> dseitz: ahh i see and I won't get bored
<dachi_> pognant guide ...
<itadder> I would realy like to apply as a ruby puppet consultant in the future and ruby programmer
Evenix has quit [Ping timeout: 265 seconds]
<itadder> not today but say in one year
<itadder> sac than
<itadder> thanks
jlast has quit [Remote host closed the connection]
EminenceHC has quit [Remote host closed the connection]
<dseitz> Oh yes, I didn't mention Why's poignant guide to Ruby
<agent_white> Blasphemy
<dseitz> People say great things about it, I've never read it so I cannot offer an opinion
nateberkopec has quit [Quit: Leaving...]
<agent_white> I have read it and it is amazing.
petey_ has quit [Remote host closed the connection]
Atrumx has joined #ruby
petey has joined #ruby
rm__ has quit [Remote host closed the connection]
<dachi_> "Them What Make the Rules and Them What Live the Dream"…
pzula has joined #ruby
Hobogrammer has quit [Ping timeout: 248 seconds]
snath has quit [Ping timeout: 252 seconds]
sski has quit [Remote host closed the connection]
<agent_white> i love the next chapter
sski has joined #ruby
Xuisce_ has joined #ruby
jlast has joined #ruby
<dachi_> Downtown
<agent_white> "Yes i think your city is _freaky_. There's animals everywhere. -- You have a right to your opinion!"
wald0 has quit [Quit: leaving]
<agent_white> aye! It's on metaprogramming.
<dachi_> yea regexps too
meatherly has joined #ruby
<dachi_> i got to go people, thanks for helping me all the time.
<dachi_> good night!
Xuisce_ has quit [Client Quit]
Xuisce has joined #ruby
mojjojo has quit [Quit: mojjojo]
coderhs has quit [Ping timeout: 248 seconds]
figgleberry has quit [Ping timeout: 272 seconds]
petey has quit [Ping timeout: 265 seconds]
sski has quit [Remote host closed the connection]
Yahkob has quit [Read error: Connection reset by peer]
sski has joined #ruby
fridim_ has quit [Ping timeout: 272 seconds]
Yahkob has joined #ruby
sski has quit [Client Quit]
nanoyak has joined #ruby
sski has joined #ruby
mib_mib has joined #ruby
endash has joined #ruby
Evenix has joined #ruby
shadoi has quit [Quit: Leaving.]
whatasunnyday has joined #ruby
<mib_mib> i have a few jobs that download s3 files in the background using resque - how would i go about scheduling a job to run AFTER all of these jobs have finished?
ruralhack has joined #ruby
itadder has quit [Remote host closed the connection]
nobitanobi has quit [Quit: Leaving]
rm_ has joined #ruby
ruralhack has left #ruby [#ruby]
snath has joined #ruby
burlyscudd1 has joined #ruby
figgleberry has joined #ruby
Atrumx has quit [Quit: Leaving]
Davey has quit [Quit: Computer has gone to sleep.]
mikepack has joined #ruby
mary5030 has joined #ruby
butblack has joined #ruby
burlyscudd has quit [Ping timeout: 252 seconds]
snath has quit [Client Quit]
yfeldblum has quit [Remote host closed the connection]
<snkcld_> what is <=> ?
destroy has joined #ruby
figgleberry has quit [Ping timeout: 248 seconds]
snkcld_ is now known as snkcld
pzula has quit [Remote host closed the connection]
nanoyak has quit [Quit: Computer has gone to sleep.]
pravinmishra249 has joined #ruby
thesheff17 has quit [Ping timeout: 248 seconds]
destroy has quit []
snath has joined #ruby
troyready has quit [Ping timeout: 272 seconds]
mikepack has quit [Ping timeout: 265 seconds]
jamto11 has joined #ruby
bleak has quit [Ping timeout: 265 seconds]
<pravinmishra249> Best tool to debug ruby script? 'rdebug' OR 'pry'
<Xuisce> hi pravinmishra249
<dachi_> snkcld_: it's called combined comparison operator
krz has joined #ruby
<pravinmishra249> Hi Xuisce
<Xuisce> hi there
mary5030 has quit [Remote host closed the connection]
<dachi_> can return 1, -1 and 0
<dachi_> used with Comparable mixing often
<dachi_> mixin*
Bira has joined #ruby
<dachi_> snkcld_ it's also called spaceship operator
whatasunnyday has quit [Quit: whatasunnyday]
mary5030 has joined #ruby
yfeldblum has joined #ruby
IcyDragon has joined #ruby
IceDragon has quit [Ping timeout: 248 seconds]
mary5030 has quit [Remote host closed the connection]
whatasunnyday has joined #ruby
bradhe has quit [Remote host closed the connection]
segfalt_ has joined #ruby
WillAmes has joined #ruby
Voodoofish430 has quit [Quit: Leaving.]
bleak has joined #ruby
tauebel has quit [Quit: Leaving.]
<RubyPanther> The soundtrack for Downtown is freaky, too
digitalcake has joined #ruby
rushed has quit [Quit: rushed]
<agent_white> I haven't heard it yet...
rickruby has quit [Remote host closed the connection]
binaryhat has joined #ruby
Davey has joined #ruby
<agent_white> I think I may exchange it for Pendleton Ward's music for Adventure Time
braincrash has joined #ruby
whatasunnyday has quit [Ping timeout: 265 seconds]
<smtp_> With RSPec, any ideas how I can stub out the file data with a File.open(file, "r") do |f| end block?
<RubyPanther> If you think the book is weird and awesome, check out the music! There is also a live bootleg of the band doing some other music at a Ruby convention
pranny has quit [Quit: Leaving.]
digitalcake has quit [Client Quit]
s2013 has quit [Ping timeout: 272 seconds]
aspires has quit []
freerobby has joined #ruby
endash has quit [Quit: endash]
braincra- has quit [Ping timeout: 252 seconds]
fuhgeddaboudit has joined #ruby
tempered has quit [Quit: !s]
Es0teric has joined #ruby
yasushi has joined #ruby
yasushi has quit [Remote host closed the connection]
burlyscudd1 has quit [Quit: Leaving.]
yasushi has joined #ruby
pr00t has quit [Ping timeout: 252 seconds]
gja has joined #ruby
carif has joined #ruby
Bira has quit [Remote host closed the connection]
mgdixon has joined #ruby
shadoi has joined #ruby
snooc has quit [Ping timeout: 265 seconds]
pranny has joined #ruby
mehlah has joined #ruby
tempered has joined #ruby
eka has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
snooc has joined #ruby
ehc has quit [Quit: ehc]
aef has joined #ruby
vlad_starkov has joined #ruby
mib_mib has quit [Ping timeout: 245 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
thesheff17 has joined #ruby
maximski has quit []
kpshek has joined #ruby
fuhgeddaboudit has quit [Ping timeout: 252 seconds]
petey has joined #ruby
<mjc_> smtp_: what're you reading from the file that you actually want to use it that way
theleft has joined #ruby
x77686d has joined #ruby
<mjc_> I mean usually you want to use like CSV or some other method of abstracting the file access away
shadoi has quit [Quit: Leaving.]
<mjc_> so you would stub the output from the csv module or something
x77686d has quit [Client Quit]
ffranz1 has joined #ruby
NaStYdoG has joined #ruby
Evenix has quit [Remote host closed the connection]
ffranz has quit [Ping timeout: 252 seconds]
Evenix has joined #ruby
vongrippen has quit [Ping timeout: 241 seconds]
mdpatrick_ has quit [Ping timeout: 252 seconds]
ffranz1 has quit [Client Quit]
rushed has joined #ruby
shadoi has joined #ruby
TheGreatDogesby has joined #ruby
<Xuisce> ex1.rb:6: syntax error, unexpected tCONSTANT, expecting end-of-input
<Xuisce> puts "I'd much rather you 'not'."
<Xuisce> What does this mean ?
<Xuisce> :)
<Xuisce> puts "I'd much rather you 'not'."
<Xuisce> Not sure how this line is wrong
<Xuisce> ?
<viki> I think you need escapes
Evenix has quit [Ping timeout: 265 seconds]
gja has quit [Quit: This computer has gone to sleep]
<Xuisce> escapes ?
<Xuisce> what do you mean viki ?
<Xuisce> :)
<Xuisce> im a total newbie to programming
<Xuisce> and ruby is what my irc client is based odd of
<viki> me too, i'm going to fail if i explain it, so i'm going to find a link XD
<Xuisce> ex1.rb:6: syntax error, unexpected tIDENTIFIER, expecting end-of-input
<Xuisce> puts 'I "said" do not touch this.'
<Xuisce> viki: ^ got this
<snkcld> what is <=> ?
<Xuisce> what did I do wrong
<Xuisce> I'm following this
<Xuisce> :)
<Xuisce> puts 'I "said" do not touch this.'
<Xuisce> its this line
meatherly has quit [Remote host closed the connection]
<Xuisce> bah never mind viki
<viki> ok no, you're not to the lesson where you need escapes yet, i'm not usre
<viki> *sure
Hanmac1 has joined #ruby
meatherly has joined #ruby
gmci has quit [Quit: Textual IRC Client: www.textualapp.com]
<Xuisce> wait
<viki> are you sure you typed it exactly and didn't mix up your ' and " ?
bricker__ has quit [Ping timeout: 248 seconds]
bricker has quit [Ping timeout: 272 seconds]
echosystm has joined #ruby
<echosystm> is there any default names for block arguments?
<echosystm> eg. { |language_construct_for_this_variable| ... }
<centrx> Uh, what?
<echosystm> in groovy there is an implicit variable called "it" which is the first argument to a block
<echosystm> so { |a| a.do_stuff } would be { it.do_stuff }
fuhgeddaboudit has joined #ruby
Hanmac has quit [Ping timeout: 248 seconds]
rtl_ is now known as rtl
<centrx> echosystm, There is not
carif has quit [Ping timeout: 265 seconds]
<echosystm> ok, thanks
<echosystm> thats all i needed to know :)
meatherly has quit [Ping timeout: 272 seconds]
echosystm has quit [Client Quit]
Zunonia has quit [Quit: Computer has gone to sleep.]
rm_ has quit [Remote host closed the connection]
rm__ has joined #ruby
Bira has joined #ruby
shadoi has quit [Quit: Leaving.]
rm___ has joined #ruby
huydx has joined #ruby
rm___ is now known as Guest94337
agent_white has quit [Ping timeout: 252 seconds]
pravinmishra249 has quit [Quit: irc2go]
mlpinit_ has quit [Remote host closed the connection]
shadoi has joined #ruby
Bira has quit [Ping timeout: 248 seconds]
rm__ has quit [Ping timeout: 272 seconds]
seich- is now known as seich
felixjet has quit [Read error: Connection reset by peer]
Hanmac has joined #ruby
meatherly has joined #ruby
Hanmac1 has quit [Ping timeout: 265 seconds]
Tai has joined #ruby
<Tai> hi
mikepack has joined #ruby
Slavox has joined #ruby
Hobogrammer has joined #ruby
mgdixon has quit [Ping timeout: 272 seconds]
nomenkun has quit [Remote host closed the connection]
wallerdev has joined #ruby
mando has quit [Remote host closed the connection]
mando has joined #ruby
habanany has quit [Ping timeout: 248 seconds]
pontiki has joined #ruby
Slavox has quit [Max SendQ exceeded]
mikepack has quit [Ping timeout: 272 seconds]
Slavox has joined #ruby
<pontiki> hi
<centrx> Ahoy
huydx has quit [Quit: Leaving...]
terrellt has quit [Ping timeout: 248 seconds]
mando has quit [Ping timeout: 248 seconds]
bleak has quit [Ping timeout: 265 seconds]
yfeldblum has quit [Remote host closed the connection]
plotter has joined #ruby
vlad_starkov has joined #ruby
Evenix has joined #ruby
griffindy has joined #ruby
jcarouth has joined #ruby
x77686d has joined #ruby
_maes_ has joined #ruby
Guest94337 has quit [Remote host closed the connection]
vlad_starkov has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
pr00t has joined #ruby
amclain has joined #ruby
bleak has joined #ruby
Zunonia has joined #ruby
reset has quit [Quit: Leaving...]
jonr22 has quit [Remote host closed the connection]
rm__ has joined #ruby
reset has joined #ruby
jonr22 has joined #ruby
kung has joined #ruby
pranny has quit [Quit: Leaving.]
carif has joined #ruby
Zunonia has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby
reset has quit [Ping timeout: 248 seconds]
theoretick has joined #ruby
jonr22 has quit [Ping timeout: 272 seconds]
BrianJ has quit [Quit: Computer has gone to sleep.]
kenndel has joined #ruby
fgo has joined #ruby
Zunonia has joined #ruby
<lagweezle> Oh. Well that is awesome. I'm now realizing that the Daemons gem is pretty much dead and hasn't been touched in two years. -.-
yasushi has quit [Remote host closed the connection]
Silent_ has joined #ruby
vlad_starkov has quit [Ping timeout: 248 seconds]
Silent_ is now known as Guest92002
<centrx> lagweezle, Always check that first :)
<lagweezle> Any suggestions for alternatives? >.<
jbueza has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lfox has joined #ruby
sensen has joined #ruby
Guest19417 is now known as RSTJNII
Hobogrammer has quit [Ping timeout: 272 seconds]
Zunonia has quit [Ping timeout: 265 seconds]
gja has joined #ruby
yfeldblum has quit [Remote host closed the connection]
Evenix has quit [Remote host closed the connection]
maroloccio has joined #ruby
jtdowney has joined #ruby
Evenix has joined #ruby
Wolland has quit [Remote host closed the connection]
<lagweezle> centrx: Just to make sure, am I missing a means to sort the listing?
adam_ is now known as adam12
nari has joined #ruby
<centrx> lagweezle, I think it is sorted by popularity and that is it
<lagweezle> Eh well.
bleak has quit [Ping timeout: 265 seconds]
sski has quit [Remote host closed the connection]
<centrx> lagweezle, daemon-kit, dante, daemons-rails
<centrx> lagweezle, Those are your only real options
<lagweezle> yah, looking at those
Evenix has quit [Ping timeout: 265 seconds]
sski has joined #ruby
<lagweezle> daemon-kit appears to be a non-option for what I'm after.
m104 has joined #ruby
m104 has quit [Max SendQ exceeded]
m104 has joined #ruby
m104 has quit [Max SendQ exceeded]
yfeldblum has joined #ruby
m104 has joined #ruby
m104 has quit [Max SendQ exceeded]
m104 has joined #ruby
m104 has quit [Max SendQ exceeded]
lele has quit [Ping timeout: 252 seconds]
dx7 has quit [Remote host closed the connection]
sski has quit [Remote host closed the connection]
sski has joined #ruby
<skyjumper> anyone have some ruby code for comparing the distance/similarity of 2 colors?
m104 has joined #ruby
<skyjumper> i'm doing a simple average of the means of the RGB components, and its not really that good
m104 has quit [Remote host closed the connection]
Noldorin has quit []
<skyjumper> er, average of the differences
<centrx> Is comparing the distance of colors like finding the area of an idea?
<skyjumper> distance of color codes, obviously
<skyjumper> in all seriousness, "how much do these two colors look alike"
m104 has joined #ruby
m104 has quit [Max SendQ exceeded]
jwhorto1 has quit [Ping timeout: 264 seconds]
bleak has joined #ruby
Zunonia has joined #ruby
m104 has joined #ruby
<centrx> skyjumper, Not sure, it should probably involve a square root though
gja has quit [Quit: This computer has gone to sleep]
<centrx> Square root of the sum of the squares
<centrx> That is the distance formula
<skyjumper> this is way more complicated than i thought it'd be
m104 has quit [Client Quit]
sepp2k has quit [Read error: Connection reset by peer]
<Tai> what are you using for the value of the colors? HTML, CMYK, Panatone?
<skyjumper> html so far
<snkcld>
<snkcld> oops
<skyjumper> the 'color' gem can do CMYK, HSL,
<skyjumper> people say LAB is the best for comparing but this is already too muchw ork
jbueza has joined #ruby
shevy has joined #ruby
<Tai> couldn't you just add up the sum of the differences in R, G, and B?
<skyjumper> thats what i was doing
<skyjumper> but it keeps finding 66ff99 as similar to 999999
<skyjumper> for example
Lewix has quit [Remote host closed the connection]
yoshie902a has joined #ruby
<skyjumper> maybe compare HSL values and weight the hue higher ors omething
<Tai> I think centrx is right
<yoshie902a> I am using a require_relative and need to go 3 folders up and then get into another folder called config. I thought ../../../config/config.rb would do it, but I'm getting an error, what's the best war to trouble shoot this issue
<skyjumper> tried that too, it's even further off (visually) from the avg of sums
mikepack has joined #ruby
havenwood has quit [Remote host closed the connection]
<Tai> if you take the square of the distances of the three values, and then add them together, and the get the sq root, that should give you the distance, and then you can compare that to get the more similar color
<skyjumper> the point is pure mathetmatical distance isn't going to work
kitak has quit [Remote host closed the connection]
<Tai> why not?
mikepack_ has joined #ruby
radic has quit [Ping timeout: 265 seconds]
alvaro_o has quit [Quit: Ex-Chat]
<skyjumper> in this case shades of gray are screwing it up
brunops has quit [Ping timeout: 252 seconds]
radic has joined #ruby
<centrx> Have you tried that mathematical distance? It sounds like you are using the concept of mathematical distance - incorrectly.
<skyjumper> 66ff99 (light greenish) is showing as closer to 999999 than it is to 00f800 (saturated green)
<centrx> The sum of the differences is simply nothing, why would you do it
<Tai> I think it sounds like skyjumper wants it so that it biases towards hue
shevy has quit [Ping timeout: 252 seconds]
mikepack has quit [Ping timeout: 252 seconds]
rickruby has joined #ruby
kitak has joined #ruby
binaryhat has quit [Quit: Leaving]
<Tai> if you wnat it to find colors that are the most similar hue, you need to find a metric that sees which ratio of colors is more similar
<Tai> so something that is yellow will be high in green and blue and low in red
<Tai> and be more unlike gray which is flat
<Tai> even if the gray is closer in value
knigitz has quit [Ping timeout: 256 seconds]
browndawg has joined #ruby
<Tai> er, two yellows will be more unlike gray
knigitz has joined #ruby
braincrash has quit [Quit: bye bye]
Es0teric has quit [Ping timeout: 272 seconds]
meatherly has quit [Remote host closed the connection]
iamsean has joined #ruby
braincrash has joined #ruby
contofre has joined #ruby
knigitz has quit [Remote host closed the connection]
<Tai> actually, i think the best way would be to plot the points on something like this and then get the distance
knigitz has joined #ruby
havenwood has joined #ruby
<Tai> but you'd have to widen the center by a lot
rm__ has quit [Remote host closed the connection]
<skyjumper> really i'm just looking for code snippets
<skyjumper> this is hardly even an important thing
<Tai> what's it for?
Hanmac1 has joined #ruby
Es0teric has joined #ruby
<skyjumper> converting old hand-written html color codes to a smaller palette
JBreit has joined #ruby
meatherly has joined #ruby
<Tai> oh
<skyjumper> without making things visually weird
<Tai> that makes sense then that you'd be more concerned about hue than value
<skyjumper> that's what i was thinking
<skyjumper> hoping i don't have to put a lot of thought into it
<skyjumper> enough time's already been wasted
vpretzel has left #ruby ["Adios!"]
Hanmac has quit [Ping timeout: 272 seconds]
jlast has quit [Remote host closed the connection]
mary5030 has joined #ruby
TripTastic has quit [Ping timeout: 265 seconds]
griffindy has quit [Quit: Computer has gone to sleep.]
yoshie902a has quit [Quit: yoshie902a]
skinny_much has quit [Quit: ZNC - http://znc.sourceforge.net]
tempered has quit [Quit: !s]
<Tai> so try this, you already have the distance, right?
browndawg has quit [Quit: Leaving.]
<skyjumper> which isn't too useful
knigitz has quit [Remote host closed the connection]
<skyjumper> i've got HSL
<AlexRussia> HSL?
<Tai> before you do the distance, broadly divide into color groups
<skyjumper> hue saturation value
<Tai> so if blue is 70% of the total, you call the color blue, same with red and green
kpshek has quit [Ping timeout: 272 seconds]
knigitz has joined #ruby
<Tai> if red and blue are between 60 and 40%, you call it purple
Amart41 has joined #ruby
<Tai> that way, it will only look for distance within a color gropu
<AlexRussia> hm, if you say about graphic, you dont know good libray for parse bmp?
<skyjumper> then i have to come up with gruops
<skyjumper> i already have a palette
aspires has joined #ruby
sski has quit [Remote host closed the connection]
bleak has quit [Ping timeout: 265 seconds]
<centrx> Have you considered switching to black and white?
sski has joined #ruby
<Tai> oh, then you can compare hue really easily
towskidistress has joined #ruby
Sid05 has joined #ruby
<towskidistress> does anyone know why in my tests, Signal.trap('EXIT') gets called before the test is even run?
skinny_much has joined #ruby
utyman has joined #ruby
mikepack_ has quit [Remote host closed the connection]
knigitz has quit [Remote host closed the connection]
Lewix has joined #ruby
knigitz has joined #ruby
speakingcode has joined #ruby
Amart41 has quit [Ping timeout: 265 seconds]
tempered has joined #ruby
sski has quit [Ping timeout: 265 seconds]
rm__ has joined #ruby
<centrx> towskidistress, Sounds like no
<centrx> towskidistress, Maybe the person who made the tests accidentally killed his processes a lot
bleak has joined #ruby
utyman has quit []
pothibo has joined #ruby
zeade has quit [Quit: Leaving.]
angusigu1ss has quit [Ping timeout: 265 seconds]
knigitz has quit []
yacks has joined #ruby
havenwood has quit [Remote host closed the connection]
shevy has joined #ruby
lxsameer has joined #ruby
petey has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
rm__ has quit [Remote host closed the connection]
rm__ has joined #ruby
bleak has quit [Ping timeout: 248 seconds]
rushed has quit [Quit: rushed]
coderhs has joined #ruby
butblack has left #ruby [#ruby]
brennanM_ has joined #ruby
rm__ has quit [Ping timeout: 248 seconds]
havenwood has joined #ruby
rushed has joined #ruby
icantbecool has joined #ruby
brennanMKE has quit [Ping timeout: 252 seconds]
stryek has quit [Ping timeout: 252 seconds]
theoretick has quit [Quit: Textual IRC Client: www.textualapp.com]
x77686d has quit [Quit: x77686d]
rm__ has joined #ruby
shadoi has quit [Quit: Leaving.]
jtdowney has quit []
Evenix has joined #ruby
yasushi has joined #ruby
bleak has joined #ruby
Yahkob has quit [Remote host closed the connection]
pothibo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
Yahkob has joined #ruby
mehlah has quit [Read error: No route to host]
mephux has joined #ruby
jarjar_prime has joined #ruby
mephux has left #ruby [#ruby]
yasushi has quit [Ping timeout: 252 seconds]
ukd1 has quit [Remote host closed the connection]
carif has quit [Quit: Ex-Chat]
rushed has quit [Quit: rushed]
Yahkob has quit [Ping timeout: 248 seconds]
sski has joined #ruby
ixti has quit [Ping timeout: 252 seconds]
angusigu1ss has joined #ruby
hello_world has joined #ruby
sski has quit [Ping timeout: 248 seconds]
tyl has joined #ruby
tyl has quit [Client Quit]
Davey has quit [Quit: Computer has gone to sleep.]
tyl has joined #ruby
Spami has joined #ruby
<centrx> Quack quack
tyl has quit [Changing host]
tyl has joined #ruby
tyl has quit [Client Quit]
<Xuisce> centrx: roar
tyl has joined #ruby
angusigu1ss has quit [Ping timeout: 265 seconds]
Guest7746 has joined #ruby
Guest7746 is now known as dreamchaser
kitak has quit [Remote host closed the connection]
Spami has quit [Client Quit]
dreamchaser is now known as Guest34094
kitak has joined #ruby
s2013 has joined #ruby
Sid05 has quit [Quit: Leaving.]
coderhs has quit [Ping timeout: 252 seconds]
oso96_2000 is now known as oso|away
IcyDragon has quit [Quit: Space~~~]
shevy has quit [Ping timeout: 272 seconds]
Deele has joined #ruby
iamsean has quit [Quit: iamsean]
sputnik13 has quit [Ping timeout: 265 seconds]
sputnik13 has joined #ruby
shevy has joined #ruby
kitak_ has joined #ruby
kitak has quit [Ping timeout: 245 seconds]
Guest34094 has quit [Changing host]
Guest34094 has joined #ruby
nobitanobi has joined #ruby
OdNairy has joined #ruby
brennanM_ has quit [Remote host closed the connection]
ner0x has quit [Quit: Leaving]
Al___ has joined #ruby
shevy has quit [Ping timeout: 272 seconds]
brennanMKE has joined #ruby
shevy has joined #ruby
vlad_starkov has joined #ruby
OdNairy has quit [Client Quit]
joelroa has joined #ruby
yfeldblum has quit [Remote host closed the connection]
joelroa has quit [Max SendQ exceeded]
brennanMKE has quit [Ping timeout: 248 seconds]
joelroa has joined #ruby
coderhs has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
rm__ has quit [Remote host closed the connection]
tyl has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
joelroa has left #ruby [#ruby]
joelroa has joined #ruby
vlad_starkov has joined #ruby
JasmeetQA has joined #ruby
mikepack has joined #ruby
snooc has quit [Ping timeout: 265 seconds]
pothibo has joined #ruby
mikepack has quit [Remote host closed the connection]
pedrosnk has joined #ruby
Solnse has quit [Ping timeout: 251 seconds]
aspires has quit []
<centrx> WHO DARES ASKS ME A QUESTION!?
<havenwood> centrx: who do you suspect might?
gl0om has joined #ruby
gl0om has quit [Read error: Connection reset by peer]
jamto11 has quit [Remote host closed the connection]
Silent_ has joined #ruby
Silent_ is now known as Guest49262
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
Guest49262 is now known as Hobogrammer
Yahkob has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
mgdixon has joined #ruby
Guest92002 has quit [Ping timeout: 272 seconds]
apeiros has joined #ruby
Hobogrammer has quit [Client Quit]
pothibo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
tempered has quit [Quit: !q]
jamto11 has joined #ruby
jmeeuwen has quit [Quit: Disconnecting from stoned server.]
jmeeuwen has joined #ruby
yarou has quit [Remote host closed the connection]
ehc has joined #ruby
Yahkob has quit []
<RubyPanther> centrx: Quack! What music video does this image spoof? http://stuff.rubypanther.com/images/ducktyping.png
<centrx> centrx.acts_like_duck?
<centrx> Looks like the PINK PANTHER
shevy has quit [Ping timeout: 265 seconds]
<RubyPanther> Nope, not a music video. Though I do have a punk rock version of the pink panther music in there too
s2013 has quit [Ping timeout: 272 seconds]
aagdbl has joined #ruby
shevy has joined #ruby
Guest34662 is now known as Radar
angusigu1ss has joined #ruby
rm___ has joined #ruby
rm___ is now known as Guest45345
Tai has quit [Ping timeout: 252 seconds]
dik_dak has quit [Quit: Leaving]
sensen has quit [Ping timeout: 265 seconds]
angusigu1ss has quit [Ping timeout: 248 seconds]
brennanMKE has joined #ruby
icantbecool has left #ruby [#ruby]
jacky_ has joined #ruby
browndawg has joined #ruby
chipotle has quit [Quit: cya]
shevy has quit [Ping timeout: 272 seconds]
yfeldblum has joined #ruby
<jacky_> Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl:199:29: error: the comparison will always evaluate as ‘true’ for the address of ‘raise_lexer_error’ will never be NULL [-Werror=address]
Guest45345 has quit [Ping timeout: 272 seconds]
towskidistress has quit [Ping timeout: 272 seconds]
<jacky_> what is the problem
pranny has joined #ruby
<jacky_> An error occurred while installing gherkin (2.2.9), and Bundler cannot continue. Make sure that `gem install gherkin -v '2.2.9'` succeeds before bundling.
<centrx> Paste full stack trace?
chipotle has joined #ruby
<jacky_> sorry, help me out
<centrx> That last message you posted should only be a Warning, not a show-stopping Error
<centrx> jacky_, Paste the full log at http://pastie.org/
kitak_ has quit [Remote host closed the connection]
heidi has joined #ruby
meatherly has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
gja has joined #ruby
kitak has joined #ruby
pranny has quit [Ping timeout: 272 seconds]
wildroman2 has joined #ruby
Bira has joined #ruby
jacky__ has joined #ruby
jacky_ has quit [Ping timeout: 245 seconds]
thesheff17 has quit [Ping timeout: 265 seconds]
<jacky__> failed to install gherkin 2.2.9
monkegjinni has joined #ruby
<havenwood> jacky__: You need to be able to build gems with C-extensions: sudo apt-get install -y ruby1.9.1-full
browndawg has left #ruby [#ruby]
brennanMKE has quit [Ping timeout: 252 seconds]
<centrx> jacky__, I would just stick with gems, once you have the Debian package of Ruby installed, just use gem directly
<centrx> and of course installing the Debian packages of any dev/header libraries you need
<jacky__> thanks, i'll try it
Bira has quit [Ping timeout: 252 seconds]
<amh345> havenwood: i forgot to mention. that read and rewriting the file thing worked for Open3 and gpg . thanks for the suggestion.
<havenwood> amh345: oh good, no prob ;)
<amh345> ;)
lfox has quit [Quit: ZZZzzz…]
mary5030 has joined #ruby
noop has joined #ruby
<amh345> one day things will get big enough where these companies change to fit what i need. not the other way around. .. oh wishful thinking.
OdNairy has joined #ruby
towskidistress has joined #ruby
towskidistress has quit [Max SendQ exceeded]
JohnBat26 has joined #ruby
towskidistress has joined #ruby
kiri_ has quit [Quit: Leaving]
coderhs has quit [Ping timeout: 252 seconds]
fuhgeddaboudit has quit [Ping timeout: 248 seconds]
_maes_ has joined #ruby
Al___ has quit [Quit: Al___]
sensen has joined #ruby
mary5030 has quit [Remote host closed the connection]
nism has joined #ruby
thesheff17 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
tonni has quit [Remote host closed the connection]
ukd1 has joined #ruby
wildroman3 has joined #ruby
amclain has quit [Quit: Leaving]
apeiros has quit [Remote host closed the connection]
sensen has quit [Ping timeout: 265 seconds]
wildroman2 has joined #ruby
apeiros has joined #ruby
CpuID2 has joined #ruby
CpuID2 has joined #ruby
monkegji_ has joined #ruby
danshult_ has joined #ruby
fgo_ has joined #ruby
ehc_ has joined #ruby
joelroa has quit [Quit: Computer has gone to sleep.]
petey has joined #ruby
kitak has quit [Remote host closed the connection]
SloggerKhan has joined #ruby
kitak has joined #ruby
vpretzel_ has joined #ruby
pkondzior____ has joined #ruby
daveops has joined #ruby
LiquidIn1ect has joined #ruby
skinny_much_ has joined #ruby
torzech_ has joined #ruby
apeiros has quit [Ping timeout: 252 seconds]
magbeat_ has joined #ruby
asuka_ has joined #ruby
phreax has joined #ruby
nw_ has joined #ruby
Roa_ has joined #ruby
jericon has joined #ruby
Afal_ has joined #ruby
rtl_ has joined #ruby
Elfix_113 has joined #ruby
TejasDinkar has joined #ruby
Azure_ has joined #ruby
thoraxe_ has joined #ruby
Mohan_ has joined #ruby
freerobby has quit [Quit: Leaving.]
Azure has quit [Disconnected by services]
Azure_ is now known as Azure
tagrudev has joined #ruby
Niamkik_ has joined #ruby
petey has quit [Ping timeout: 265 seconds]
freerobby has joined #ruby
elaptic`` has joined #ruby
De`off has joined #ruby
braincra- has joined #ruby
headius_ has joined #ruby
sensen has joined #ruby
TejasDinkar has quit [Client Quit]
aboudreault_ has joined #ruby
wildroman3 has quit [*.net *.split]
monkegjinni has quit [*.net *.split]
gja has quit [*.net *.split]
ehc has quit [*.net *.split]
Deele has quit [*.net *.split]
skinny_much has quit [*.net *.split]
braincrash has quit [*.net *.split]
fgo has quit [*.net *.split]
parus has quit [*.net *.split]
jle` has quit [*.net *.split]
danshultz has quit [*.net *.split]
Roa has quit [*.net *.split]
soba has quit [*.net *.split]
magbeat has quit [*.net *.split]
tiguser has quit [*.net *.split]
CpuID has quit [*.net *.split]
LiquidInsect has quit [*.net *.split]
newton has quit [*.net *.split]
S0da has quit [*.net *.split]
helpa has quit [*.net *.split]
billiam has quit [*.net *.split]
aboudreault has quit [*.net *.split]
CalimeroTeknik has quit [*.net *.split]
destructure has quit [*.net *.split]
daveops_ has quit [*.net *.split]
Mohan has quit [*.net *.split]
jericon_ has quit [*.net *.split]
Elfix has quit [*.net *.split]
rtl has quit [*.net *.split]
phreax_ has quit [*.net *.split]
pkondzior___ has quit [*.net *.split]
Drakevr has quit [*.net *.split]
SloggerKhan1 has quit [*.net *.split]
Rickmasta has quit [*.net *.split]
ph8 has quit [*.net *.split]
russfrank has quit [*.net *.split]
tziOm has quit [*.net *.split]
nw has quit [*.net *.split]
Mon_Ouie has quit [*.net *.split]
Afal has quit [*.net *.split]
torzech has quit [*.net *.split]
headius has quit [*.net *.split]
Rennex has quit [*.net *.split]
Guest29947 has quit [*.net *.split]
minsa4 has quit [*.net *.split]
Sp4rKy has quit [*.net *.split]
thoraxe has quit [*.net *.split]
elaptics`away has quit [*.net *.split]
asuka has quit [*.net *.split]
thelamest has quit [*.net *.split]
oz has quit [*.net *.split]
Niamkik has quit [*.net *.split]
ehc_ is now known as ehc
ehc has quit [Remote host closed the connection]
hello_world has quit [Ping timeout: 245 seconds]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
adam12 is now known as adam
gja has joined #ruby
parus has joined #ruby
pkondzior____ is now known as pkondzior___
ktosiek has joined #ruby
Rennex has joined #ruby
CalimeroTeknik has joined #ruby
centrx has quit [Quit: Leaving]
Rickmasta has joined #ruby
ph8 has joined #ruby
kobain_ has quit [Ping timeout: 256 seconds]
<jacky__> install failed
tiguser has joined #ruby
amritanshu_RnD has joined #ruby
amritanshu_RnD is now known as Guest9317
nism has quit [Ping timeout: 252 seconds]
destructure has joined #ruby
minsa4 has joined #ruby
tziOm has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
billiam has joined #ruby
thelamest has joined #ruby
<jacky__> after install both ruby1.9.1-full and rubygems, still failed
S0da has joined #ruby
ukd1 has quit [Remote host closed the connection]
nobitanobi has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 265 seconds]
<havenwood> jacky__: Looks like you're installing ruby-1.8 and rubygems package with apt-get for some reason? (RubyGems ships with 1.9+, though I can't recall what all weird stuff Debian does. :P)
<havenwood> jacky__: But 1.9.1-full doesn't help you build 1.8 gems.
<havenwood> jacky__: If you're using multiple apt-get Rubies, you can use `update-alternatives --config ruby` (and gem) to pick which.
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jacky__> if not install rubygems?
<havenwood> jacky__: Though I prefer to just use ruby-install and chruby on Debian systems to get latest stable Ruby and be able to keep RubyGems up to date. Working with Debian packaged Ruby is a bit of a notorious headache.
contofre has quit [Quit: Page closed]
<havenwood> jacky__: RubyGems comes with Ruby these days. You get it when you get Ruby. Only in 1.8 days (which is past end-of-life) did you need to separately install RubyGems.
kiri has joined #ruby
mgdixon has quit [Ping timeout: 272 seconds]
<jacky__> when installing rubegems, it installs ruby-1.8 at the same time
<havenwood> jacky__: RVM or ruby-install/chruby would both be alternatives to apt-get/update-alternatives.
<havenwood> jacky__: Apparently 1.8 is a dependency of apt-get RubyGems package.
<jacky__> yes
<jacky__> uninstall rubygems first
<havenwood> Which is just because you'd only be installing RubyGems standalone with 1.8-.
<havenwood> Yeah.
jayrrard has joined #ruby
Xeago has joined #ruby
geggam has quit [Remote host closed the connection]
<jacky__> rubygems should be installed? and how to install rubygems with 1.9.1
<havenwood> jacky__: RubyGems ships with 1.9. I hate that Debian uses the AMI of 1.9.1 >.>.
russfrank has joined #ruby
<havenwood> jacky__: `gem -v` to check your RubyGems version, or `gem env` to peek at the environment
<havenwood> jacky__: Normally... `gem update --system` to update RubyGems, but I think Debian breaks that.
jamto11 has quit [Remote host closed the connection]
nathancahill has quit [Quit: nathancahill]
coderhs has joined #ruby
<Hanmac1> jacky__: when using apt-get ruby, use also "update-alternatives --config gem" ...
jacky__ has quit [Ping timeout: 245 seconds]
CpuID2 has quit [Ping timeout: 272 seconds]
TheGreatDogesby has quit [Remote host closed the connection]
jamto11 has joined #ruby
mengu has quit [Remote host closed the connection]
charliesome has joined #ruby
iMe has joined #ruby
OdNairy has quit [Ping timeout: 252 seconds]
wildroman2 has quit [Remote host closed the connection]
<havenwood> Hanmac1: Nice there is ruby2.0 package these days.
<Hanmac1> yes, yes it is
<havenwood> Hanmac1: trunk ftw
ayaz has joined #ruby
bal has joined #ruby
Hanmac1 has quit [Ping timeout: 253 seconds]
Xeago has quit [Remote host closed the connection]
Kneferilis has joined #ruby
lele has joined #ruby
pranny has joined #ruby
pranny has quit [Read error: Connection reset by peer]
Markvilla has joined #ruby
OdNairy has joined #ruby
ponpon is now known as ponbiki
Kneferilis has quit [Quit: Leaving]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
enape_101 has joined #ruby
klaut has joined #ruby
dik_dak has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
apeiros has joined #ruby
dagobah has joined #ruby
OdNairy has quit [Ping timeout: 265 seconds]
Spami has joined #ruby
dik_dak has quit [Client Quit]
rickruby has quit [Remote host closed the connection]
rm_ has joined #ruby
newton has joined #ruby
jle` has joined #ruby
Marc has joined #ruby
Hanmac has joined #ruby
Marc is now known as Guest33676
OdNairy has joined #ruby
heidi has quit [Quit: Leaving.]
rm_ has quit [Ping timeout: 245 seconds]
rickruby has joined #ruby
yacks has quit [Quit: Leaving]
Kneferilis has joined #ruby
Wolland has joined #ruby
<Cork> anyone know how to handle http 100 requests correctly in a rack thin server?
vlad_starkov has quit [Remote host closed the connection]
<Cork> curl seams to like that header
rickruby has quit [Ping timeout: 250 seconds]
Al___ has joined #ruby
abra has quit [Ping timeout: 265 seconds]
bcz has joined #ruby
marcgg has joined #ruby
tvw has joined #ruby
abra has joined #ruby
<apeiros> Cork: huh? status 100 is a response header. how comes curl into play?
<Cork> apeiros: > Expect: 100-continue
<Cork> if you do post with curl it will wait for a while for the server to send 100
jamto11 has quit [Remote host closed the connection]
Asher has joined #ruby
tvw has quit []
soba has joined #ruby
andikr has joined #ruby
stkowski has quit [Quit: stkowski]
vlad_starkov has joined #ruby
brtdv has joined #ruby
freggles has joined #ruby
Markvilla has quit [Ping timeout: 272 seconds]
Amart41 has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
Spami has quit [Quit: This computer has gone to sleep]
Xeago has joined #ruby
Markvilla has joined #ruby
wildroman2 has joined #ruby
Xeago has quit [Remote host closed the connection]
Amart41 has quit [Ping timeout: 245 seconds]
wallerdev has quit [Quit: wallerdev]
<apeiros> Cork: ah, uncommon. I assume it sends a `Expect: 100-continue` in the request headers?
<Cork> yes
yacks has joined #ruby
<apeiros> proper handling would be to detect that request header, optionally verify validity of the request and then respond with a 100 continue
<Cork> but how do you send a header with thin without closing the connection?
<Cork> i'm doing somethin in line with this rack example http://code.macournoyer.com/thin/usage/
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> good question
pedrosnk has quit [Remote host closed the connection]
whowantstolivef3 is now known as whowantstolivefo
<apeiros> I'd check whether there's middleware already to handle that
popl has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
<Cork> ya, i have a hard time finding much anything about thin
<apeiros> the difficulty is mostly in how to send multiple status codes, since rack's setup seems aimed at a single one.
<Cork> ya
<apeiros> I wouldn't target the solution to thin. I'd aim at rack's level.
* Cork nods
jayrrard has quit [Quit: Leaving...]
<Cork> thx for looking
<apeiros> just now noticed that you already said in the beginning that curl sent the expect header. sorry. still waking up :)
<Cork> np
Lewix has quit [Remote host closed the connection]
jprovazn has joined #ruby
soba has quit [Ping timeout: 246 seconds]
brennanMKE has joined #ruby
shadoi has joined #ruby
Al___ has quit [Quit: Al___]
uglybandersnatch has joined #ruby
aganov has joined #ruby
guardianx has joined #ruby
drumusician has joined #ruby
noname001__ has joined #ruby
charliesome has joined #ruby
wildroman2 has quit [Remote host closed the connection]
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
wildroman2 has joined #ruby
Markvilla has quit [Quit: Computer has gone to sleep.]
shadoi has quit [Quit: Leaving.]
brennanMKE has quit [Ping timeout: 250 seconds]
larsam has joined #ruby
dangerousdave has joined #ruby
monkegji_ has quit [Remote host closed the connection]
echevemaster has quit [Quit: Leaving]
monkegjinni has joined #ruby
uglybandersnatch has quit [Remote host closed the connection]
poulson has joined #ruby
rm_ has joined #ruby
bklane has quit [Quit: Leaving...]
monkegjinni has quit [Ping timeout: 245 seconds]
petey has joined #ruby
tesuji has joined #ruby
rm_ has quit [Ping timeout: 250 seconds]
JasmeetQA1 has joined #ruby
shevy has joined #ruby
enape_101 has quit [Ping timeout: 252 seconds]
petey has quit [Ping timeout: 246 seconds]
timonv has joined #ruby
JasmeetQA has quit [Ping timeout: 272 seconds]
hello_world has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
JasmeetQA has joined #ruby
timonv_ has joined #ruby
timonv_ has quit [Read error: Connection reset by peer]
timonv has quit [Ping timeout: 250 seconds]
JasmeetQA1 has quit [Ping timeout: 250 seconds]
jlebrech has joined #ruby
timonv has joined #ruby
torstein has quit [Remote host closed the connection]
tvw has joined #ruby
claymore has joined #ruby
arctaruz has joined #ruby
arctaruz has left #ruby [#ruby]
blaxter has quit [Read error: Operation timed out]
Shidash has quit [Ping timeout: 252 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
rashila has joined #ruby
<rashila> hi
<rashila> I have a question on authlogic
olivier_bK has joined #ruby
coderhs has quit [Ping timeout: 265 seconds]
workmad3 has joined #ruby
krnflake has quit [Ping timeout: 252 seconds]
<rashila> How can we set logged_in_time_out with a dynamic value, for eg, depending upon the user instance
<rashila> Can I get the user instance inside the acts_as_authentic loop?
<rashila> Authlogic Help : How can we set logged_in_time_out with a dynamic value, for eg, depending upon the user instance. Can I get the user instance inside the acts_as_authentic loop?
nettoweb has joined #ruby
rootshift has joined #ruby
<nettoweb> can someone suggest a good book for intermediate ruby?
<workmad3> rashila: you're more likely to find an authlogic user in #rubyonrails
<rashila> ok.. I will try
<workmad3> nettoweb: Eloquent Ruby? Practical Object Oriented Design with Ruby?
<workmad3> nettoweb: Ruby under the MicroscopE?
<workmad3> *Microscope
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
<pontiki> Metaprogramming with Ruby
supersymmetry has quit [Quit: WeeChat 0.4.2]
<nettoweb> workmad3: I dont know, I just read ruby and rails at a glance.. I know some things about Ruby but i know more rails. So Im trying to undertand ruby as well. I donk know these books.
lsmola has joined #ruby
<pontiki> ah
<pontiki> Ruby *for* Rails
<nettoweb> workmad3: Im with a Safari Books online subscription, so I have access to all theses books... but I need to choose one that wworth read
<pontiki> they are all worth reading
<pontiki> don't spend so much time trying to decide. just pick one suggested and start
<nettoweb> ponbiki: yes... ruby *for* rails because I use rails
<pontiki> that's a book title
<nettoweb> ponbiki: Many people suggest me Beggining Ruby. but I'll to choose
<workmad3> nettoweb: as pontiki said, just pick one to start at :) They're all worth reading, they're all well written and quite easy to read IMO
<nettoweb> ponbiki: ;/
<nettoweb> heh
<rashila> I tried in rubyonrails, but the message is not getting sent.
<rashila> getting message as "#RubyOnRails Cannot send to channel"
<nettoweb> workmad3: thank you guys
<pontiki> do you mean not choose?
<workmad3> rashila: you need to be registered and identified with nickserv
LekeFly has joined #ruby
wildroman2 has quit [Remote host closed the connection]
<pontiki> rashila: in #rubyonrails, you need to be registered with nickserv to talk
<rashila> Yes I did
krnflake has joined #ruby
<rashila> and getting message as You are already logged in as rashila.
<pontiki> hmm
<pontiki> well there you go
<rashila> did it another one time.. think it is working
<pontiki> are services still being bombarded?
<workmad3> oh, was that the trouble I was having with sasl auth yesterday?
<pontiki> probably. yesterday freenode was under dire attack
troessner has joined #ruby
<pontiki> ddos'd dns
<workmad3> yeah, that was probably what was getting me :)
<workmad3> couldn't connect most of the time, when I could I couldn't auth
<pontiki> for awhile the only way i could get on was through webchat
<apeiros> I still think letting perpetrators of such stuff only work with keyboards with 12V applied on it is the only acceptable punishment
okinomo has joined #ruby
<pontiki> finding them to adminster such is the real problem
<apeiros> true
torstein has joined #ruby
<apeiros> one would assume that somebody doing that would show off with it, though
<workmad3> apeiros: don't need to apply a current... just force them to use the cheap and nasty £4 keyboards I've got here
<apeiros> workmad3: disagree. apply current.
<workmad3> apeiros: they feel like you're whacking your fingers against concrete...
mikecmpbll has joined #ruby
<apeiros> I still want that scene from ST Voy as a gif
<apeiros> (where 7of9 electrocutes that hirogen)
helpa has joined #ruby
marcoecc has joined #ruby
tonni has joined #ruby
tonni has quit [Remote host closed the connection]
jackneill has joined #ruby
tonni has joined #ruby
blaxter has joined #ruby
elaptic`` is now known as elaptics
mikepack has joined #ruby
lemonsparrow has joined #ruby
timonv_ has joined #ruby
Xeago has joined #ruby
joaobatalha has joined #ruby
GreatSUN has joined #ruby
<GreatSUN> hi all
meinside has joined #ruby
<GreatSUN> I have a problem with ssl socket/client
<GreatSUN> server is closing connection, but client doesn't react
<GreatSUN> I am pretty sure I am missing something on client side...
<joaobatalha> hey guys, I am doing a for loop, and I want to skip to the next element of the array I am looping thru if I have been processing the current element for longer than 30 seconds. What is an easy way to do this?
<GreatSUN> https://gist.github.com/GreatSUN/8800342 <-- client and server code
sino__ has joined #ruby
railsmagnet has joined #ruby
<GreatSUN> joaobatalha: implement a timer with a thread and check the timer after the element is processed
<GreatSUN> if timer is above whatever time
ghr has joined #ruby
ghr has quit [Max SendQ exceeded]
<GreatSUN> use next
<GreatSUN> might be this is not supported in your version of ruby
ghr has joined #ruby
mikepack has quit [Ping timeout: 250 seconds]
timonv has quit [Ping timeout: 250 seconds]
<GreatSUN> if that is the point, change the loop to work with a variable as index/key and just change this variable according then
<sino__> #channel
Xeago has quit [Ping timeout: 246 seconds]
<sino__> s
<GreatSUN> sino__: ?
<sino__> sorry
<railsmagnet> hey how do i pass a Handler Module to EventMachine::Websocket.start ..... instead of putting everying inside the block
popl has quit [Ping timeout: 246 seconds]
<sino__> i am the first to use irssi
<pontiki> NO I AM
<GreatSUN> lol
<railsmagnet> use weechat i hear its good too
<GreatSUN> how old are you guys?
<GreatSUN> 100?
<sino__> i am just 23
<GreatSUN> :D
<pontiki> 7
Takumo has joined #ruby
<sino__> and u
<sino__> GreatSUN and how about u?
<GreatSUN> 36 :P
atmosx has joined #ruby
<pontiki> (plus 49)
<sino__> oh so older than me
timonv has joined #ruby
<pontiki> IMOLDEST
obs has joined #ruby
<sino__> how long u learn ruby GraetSUN
<workmad3> joaobatalha: use the Timeout class in ruby stdlib
S0da has quit [Read error: Connection reset by peer]
timonv_ has quit [Ping timeout: 246 seconds]
shevy has quit [Ping timeout: 250 seconds]
<GreatSUN> <--- has been using irssi since around 1999/2000
<GreatSUN> sino__: little more than one year
LekeFly has quit [Read error: Connection reset by peer]
<sino__> oh
klaut has quit [Remote host closed the connection]
<GreatSUN> workmad3: wouldn't timeout stop the current element processing?
<sino__> cool
LekeFly has joined #ruby
<GreatSUN> workmad3: thats why I didn't say it ;-)
asmodlol has joined #ruby
<GreatSUN> workmad3: btw. any idea on my gist / client-server problem?
Asher has quit [Read error: Connection reset by peer]
Asher has joined #ruby
sino___ has joined #ruby
coderhs has joined #ruby
yacks has quit [Ping timeout: 250 seconds]
<workmad3> GreatSUN: no
sino__ has quit [Remote host closed the connection]
sino___ has quit [Remote host closed the connection]
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
gtsiftsis has joined #ruby
<GreatSUN> :-(
<workmad3> GreatSUN: Timeout.timeout(1) {foobar} will let the block process for 1 time unit before throwing a timeout exception
brennanMKE has joined #ruby
shevy has joined #ruby
<workmad3> (would need to check the docs to see if the time units are seconds or millis :) )
wildroman2 has joined #ruby
rdark has joined #ruby
<GreatSUN> workmad3: exactly, but he wanted a block to execute and after the processing of the block the next one should be skipped, if the last was processing more than 30sec
okinomo has quit [Ping timeout: 245 seconds]
<railsmagnet> doesn't 1 mean it'll wait 1 sec and it the process doesn't end within that, it'll throw an exception ?
<atmosx> hello
<railsmagnet> *if
<atmosx> is Open3.capture3('uname -a') insecure?
<GreatSUN> workmad3: at least if I understood it properly, this would eliminate timeout
<atmosx> I'm calling this through a lambda.call
<workmad3> GreatSUN: 'skip to the next element if have been processing the current one for longer than 30s'
<workmad3> GreatSUN: that says 'timeout' to me
<GreatSUN> workmad3: yes, you are right
<GreatSUN> workmad3: sorry. I didn't get the to :-(
<GreatSUN> thanks
<workmad3> heh :) that's the joy of text communications
<atmosx> ah no it's not apparently
iMe has quit [Quit: Bye Bye]
timonv has quit [Remote host closed the connection]
marcoecc has quit [Ping timeout: 246 seconds]
<railsmagnet> workmad3: are you familiar with eventmachine websocket ... I had a question
<workmad3> railsmagnet: and if I'd had a response, I'd have said something
[gmi] has joined #ruby
RoxasShadowRS has joined #ruby
<railsmagnet> alright then
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
DariusPHP has joined #ruby
ephemerian has joined #ruby
Evenix has quit [Remote host closed the connection]
userfoo has joined #ruby
userfoo has quit [Client Quit]
Evenix has joined #ruby
shevy has quit [Ping timeout: 272 seconds]
soba has joined #ruby
rm_ has joined #ruby
squarechan has joined #ruby
kamikaze_pigmy has joined #ruby
amh345 has quit [Quit: amh345]
<squarechan> just putting this out there. I'll buy your ruby centric stackoverflow account if you have a solid amount of reputation points for $2500
<apeiros> eeeeew
* apeiros conflicted on whether that's ban-worthy
brennanMKE has quit [Ping timeout: 246 seconds]
<GreatSUN> apeiros: banfun
<GreatSUN> :D
evilbug has quit [Quit: Leaving]
<squarechan> it's actually a deep question you should think about. our industry values SO accounts so much
<squarechan> that $2500 is a steal
Evenix has quit [Ping timeout: 250 seconds]
MrJoshua has left #ruby [#ruby]
<squarechan> go to apply to any tech company and they want two things: link to your github and a link to your SO
glebe has joined #ruby
<glebe> join /##ruby
rm_ has quit [Ping timeout: 246 seconds]
shevy has joined #ruby
<apeiros> fun. for me it's usually the other way round.
<olivier_bK> i try to replace this ( <?$licenceData = array ) by nothing with gsub but i get some problem because of ?
<tobiasvl> squarechan: maybe you should try forumkorner
<olivier_bK> do you know how i can replace it ?
<squarechan> tob, what's that?
<tobiasvl> olivier_bK: escape the ? like so: \?
<GreatSUN> apeiros: that matters on what happens after
<GreatSUN> anyhow
<GreatSUN> :D
<apeiros> olivier_bK: show your code please
<mikecmpbll> i'll sell mine for one beer per rep point.
SWAT has joined #ruby
<GreatSUN> noone of you guys aware of client/socket ?
<apeiros> mikecmpbll: so little rep points or want to drown? :D
<squarechan> mike, depends how many rep points you have :)
<mikecmpbll> just like the idea that i've been earning beers everytime i answer a question on SO.
* mikecmpbll starts up BeerOverflow
<workmad3> I'll do the same
<workmad3> then I'll sell the beer for $1.50 a pop...
<mikecmpbll> heh.
<olivier_bK> apeiros, r= readfile.gsub(/("<?$licenceData = array")/,('') }
<olivier_bK> readfile is an array
<apeiros> olivier_bK: a) use a string instead of a regex
<GreatSUN> I don't have a clue what SO is
<GreatSUN> do I have to care?
<apeiros> olivier_bK: b) escape regex special chars (? is a special char in regex)
<mikecmpbll> soggy oreos
<apeiros> escape char in regex is \, like elsewhere in ruby
<GreatSUN> Oreo... hmmm I like those cakes
<GreatSUN> :D
<apeiros> olivier_bK: note that ( and ) are special chars too
<workmad3> GreatSUN: not if you enjoy getting your answers from expert sex change
<apeiros> olivier_bK: and $, o fcourse
<olivier_bK> okai
<workmad3> GreatSUN: also, oreos are cookies, iirc, not cakes
<olivier_bK> $ i know for it
<GreatSUN> workmad3: whoohooo never will work with sex change
<GreatSUN> :D
freerobby has quit [Quit: Leaving.]
<workmad3> GreatSUN: expertsexchange.com ;)
<GreatSUN> workmad3: SO url?
<workmad3> GreatSUN: stackoverflow.com
<GreatSUN> workmad3: ahhhh stackoverflow :D
<GreatSUN> my all day website
Markvilla has joined #ruby
<workmad3> GreatSUN: heh :) you didn't twig that SO == StackOverflow? :)
<GreatSUN> :-)
<GreatSUN> so this is SO here... good to know
<GreatSUN> nope, didn't get around this till today
claymore has quit [Ping timeout: 250 seconds]
<workmad3> mmm, I've gotten another 146 beers since I last went to SO
<GreatSUN> but SO doesn't solve my client socket problem atm :-(
<mikecmpbll> :D
<GreatSUN> workmad3: you can earn a lot of money with sex
<GreatSUN> :D
okinomo has joined #ruby
<workmad3> I've not answered a question on SO since 2010...
<GreatSUN> workmad3: bad guy :D
MrJoshua has joined #ruby
yfeldblum has quit [Remote host closed the connection]
claymore has joined #ruby
<workmad3> GreatSUN: and yet I've gained 130 rep already this year ;)
<apeiros> squarechan: you know, my nick alone is probably worth more to me than your 2.5k offer
<squarechan> you can change your nick?
MrJoshua has left #ruby [#ruby]
<squarechan> I wouldn't want to be apeiros. that would be silly
<apeiros> SO allows nick change? nice.
* apeiros not often enough on SO obviously
<tobiasvl> this reminds me
<tobiasvl> I tried to rename my twitter account
<tobiasvl> to a short and sweet handle I had
<tobiasvl> but it was "turboed", i.e. a bot snapped up the handle in the short time the handle was in limbo
<tobiasvl> still beating myself up over that.
Lewix has joined #ruby
<workmad3> I don't use twitter enough to care about having a short handle
okinomo has quit [Ping timeout: 245 seconds]
mojjojo has joined #ruby
<Cork> apeiros: been digging until i'm about to be crazy; it looks like thin doesn't supports sending 100 headers for the Expect request
<workmad3> tbh, I don't see why bots care either... the main reason to have a short handle, afaict, is to allow people to @target you without wasting too much space... but who wants to respond to a bot?
<workmad3> or is it for selling on?
<tobiasvl> workmad3: yeah, selling
<Cork> apeiros: it isn't a limitation in rack as it seams to work in webrick
<tobiasvl> anyway, i lost a three letter handle but still have a four letter one, so i'm not that beat up
<workmad3> tobiasvl: secured it? :)
<tobiasvl> absolutely ;)
<workmad3> tobiasvl: and you're not using godaddy for domains? :)
<tobiasvl> nooooo no no.
<tobiasvl> i'd never
<tobiasvl> i actually used them some years ago, but even then there were so many horror stories
hamakn has quit [Remote host closed the connection]
claymore has quit [Ping timeout: 245 seconds]
kate_r has joined #ruby
ahawkins has joined #ruby
claymore has joined #ruby
stonecolddevin has joined #ruby
timonv has joined #ruby
jmeeuwen has quit [Ping timeout: 264 seconds]
phansch has joined #ruby
klipeto has quit [Quit: leaving]
marr has joined #ruby
klip has joined #ruby
wildroman2 has quit [Remote host closed the connection]
okinomo has joined #ruby
joaobatalha has quit [Quit: joaobatalha]
wildroman2 has joined #ruby
hello_world has quit [Ping timeout: 245 seconds]
railsmagnet has left #ruby ["http://quassel-irc.org - Chat comfortably. Anywhere."]
<Cork> ok, lets try asking this again.
<Cork> anyone know of a way to access the headers for a request before .call is ran in thin?
<Cork> curl is sending Expect: 100-continue, and i can't find a way to respond to it in thin
jmeeuwen has joined #ruby
TMM has joined #ruby
Thanatermesis has joined #ruby
hamakn has joined #ruby
klaut has joined #ruby
okinomo has quit [Ping timeout: 250 seconds]
nomenkun has joined #ruby
alexherbo2 has joined #ruby
monkegjinni has joined #ruby
freerobby has joined #ruby
eka has joined #ruby
jmeeuwen has quit [Ping timeout: 264 seconds]
alexherbo2 has quit [Client Quit]
jzig has quit [Remote host closed the connection]
klaut has quit [Ping timeout: 245 seconds]
jzig has joined #ruby
nomenkun has quit [Ping timeout: 245 seconds]
freerobby has quit [Ping timeout: 250 seconds]
mojjojo has quit [Quit: mojjojo]
klaut has joined #ruby
kamikaze_pigmy has quit [Ping timeout: 252 seconds]
Xiti` has quit [Ping timeout: 264 seconds]
razibog has joined #ruby
kitak_ has joined #ruby
monkegjinni has quit [Remote host closed the connection]
monkegjinni has joined #ruby
Xiti has joined #ruby
lkba has quit [Ping timeout: 265 seconds]
kitak has quit [Ping timeout: 245 seconds]
jzig has quit [Ping timeout: 272 seconds]
monkegjinni has quit [Read error: No route to host]
monkegji_ has joined #ruby
postmodern has quit [Quit: Leaving]
kamikaze_pigmy has joined #ruby
mojjojo has joined #ruby
lsc is now known as Schmidt
pabloh has joined #ruby
squarechan has quit [Quit:]
diegoviola has joined #ruby
mehlah has joined #ruby
Al____ has joined #ruby
yacks has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
tobago has joined #ruby
jmeeuwen has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
obs has quit [Ping timeout: 272 seconds]
diegoviola has quit [Changing host]
diegoviola has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
brennanMKE has joined #ruby
gja has quit [Client Quit]
yfeldblum has joined #ruby
bw__ is now known as bw_
rm_ has joined #ruby
nichtdiebohne has joined #ruby
obs has joined #ruby
petey has joined #ruby
lemonsparrow has quit [Ping timeout: 245 seconds]
freerobby has joined #ruby
brennanMKE has quit [Ping timeout: 272 seconds]
nari has quit [Ping timeout: 245 seconds]
yfeldblum has quit [Ping timeout: 250 seconds]
soba has quit [Ping timeout: 250 seconds]
rm_ has quit [Ping timeout: 246 seconds]
freerobby1 has joined #ruby
gja has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
petey has quit [Ping timeout: 272 seconds]
jmeeuwen has quit [Quit: Disconnecting from stoned server.]
jmeeuwen_ has joined #ruby
jmeeuwen_ is now known as jmeeuwen
okinomo has joined #ruby
okinomo has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
marcgg_ has joined #ruby
freerobby1 has quit [Ping timeout: 272 seconds]
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
marcgg has quit [Ping timeout: 272 seconds]
fridim_ has joined #ruby
okinomo has joined #ruby
iamdoo2_ has quit [Remote host closed the connection]
m8 has joined #ruby
LekeFly has joined #ruby
zoscoy has joined #ruby
zoscoy has quit [Client Quit]
klaut has quit [Remote host closed the connection]
Zunonia has quit [Quit: Computer has gone to sleep.]
heftig has joined #ruby
tyl has joined #ruby
AxonetBE has joined #ruby
monkegji_ has quit []
<AxonetBE> If this is my array ["F", "AMY GEE", "Ceinture"]=>[#<StockTransaction >, #<StockTransaction >, #<StockTransaction >] and the first StockTransaction contains stock, second sales, ... How can I convert this to something like ["F", "AMY GEE", "Ceinture"] => [stock => 1>, sales => 2, stock_end => 3]
mikepack has joined #ruby
tesuji has quit [Read error: Connection reset by peer]
relix has joined #ruby
ElCapitanMarklar has joined #ruby
artm has joined #ruby
mikepack has quit [Ping timeout: 250 seconds]
m4rcu5 has joined #ruby
mehlah has quit [Quit: Leaving...]
Annwyl has joined #ruby
<krz> you all use %() or %[]?
raphaelivan has joined #ruby
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
okinomo has quit [Ping timeout: 272 seconds]
<bleak> i use %{}...
ep3static has joined #ruby
tesuji has joined #ruby
drumusician has quit [Ping timeout: 250 seconds]
jtdowney has joined #ruby
Lewix has quit [Remote host closed the connection]
carif has joined #ruby
nari has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
krnflake has quit [Ping timeout: 252 seconds]
bwwrd has joined #ruby
jzig has joined #ruby
tacos1de has quit [Remote host closed the connection]
gyre007 has joined #ruby
zeeraw has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
koalallama has joined #ruby
wildroman2 has quit [Remote host closed the connection]
tolstoi has joined #ruby
tolstoi has joined #ruby
krnflake has joined #ruby
Annwyl has quit []
jzig has quit [Ping timeout: 250 seconds]
relix has joined #ruby
jtdowney has quit []
gja has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.2]
ayaz has quit [Remote host closed the connection]
relix has quit [Ping timeout: 250 seconds]
brtdv has quit []
ayaz has joined #ruby
diegoviola has joined #ruby
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
diegoviola has quit [Client Quit]
wildroman2 has joined #ruby
diegoviola has joined #ruby
brennanMKE has joined #ruby
Amart41 has joined #ruby
freggles has quit []
freggles has joined #ruby
rm_ has joined #ruby
e^0 has joined #ruby
e^0 has quit [Client Quit]
DaniG2k has joined #ruby
brennanMKE has quit [Ping timeout: 250 seconds]
Amart41 has quit [Ping timeout: 245 seconds]
freerobby has joined #ruby
Drakevr has joined #ruby
oz has joined #ruby
Sp4rKy___ has joined #ruby
oz is now known as Guest84566
rm_ has quit [Ping timeout: 272 seconds]
jrobertfox has joined #ruby
<apeiros> krz: %{}, %Q{}, %q{}, %W[], %w[], %r{}, %i[], %I[]
freerobby has quit [Ping timeout: 245 seconds]
DouweM has joined #ruby
sino has joined #ruby
<sino> '
<sino> '
carif has quit [Quit: Ex-Chat]
klaut has joined #ruby
towskidistress has quit [Ping timeout: 265 seconds]
<sino> hi
awkisopen has joined #ruby
netf has joined #ruby
soulcake has joined #ruby
iamdoo2 has joined #ruby
soulcake has quit [Changing host]
soulcake has joined #ruby
chrisan has joined #ruby
sino is now known as sinofree
sinofree has quit [Remote host closed the connection]
sino has joined #ruby
sensen has quit [Quit: leaving]
fridim_ has quit [Ping timeout: 250 seconds]
iamdoo2 has quit [Ping timeout: 245 seconds]
drumusician has joined #ruby
adam has quit [Disconnected by services]
shredding has joined #ruby
TMM has quit [Ping timeout: 272 seconds]
adam_ has joined #ruby
Wolland has quit [Remote host closed the connection]
jcalado has joined #ruby
sino has quit [Remote host closed the connection]
pasties has quit [Quit: brb]
pasties has joined #ruby
Evenix has joined #ruby
rickruby has joined #ruby
drumusician has quit [Ping timeout: 245 seconds]
JasmeetQA has quit [Ping timeout: 245 seconds]
fp has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Evenix has quit [Ping timeout: 272 seconds]
fella5s has joined #ruby
Xiti has quit [Read error: Connection reset by peer]
BraddPitt has quit [Read error: Connection reset by peer]
rickruby has quit [Ping timeout: 245 seconds]
Xiti has joined #ruby
BraddPitt has joined #ruby
CalimeroTeknik has quit [Read error: Connection reset by peer]
angusigu1ss has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
maximski has joined #ruby
Markvilla has quit [Quit: Computer has gone to sleep.]
kitak_ has quit [Remote host closed the connection]
Sp4rKy___ has quit [Quit: leaving]
Sp4rKy has joined #ruby
Jakee`_ is now known as Jakee`
LekeFly has joined #ruby
arctaruz has joined #ruby
griffindy has joined #ruby
sepp2k has joined #ruby
kenichi has joined #ruby
kamikaze_pigmy is now known as PricelessTalk
michael_mbp has joined #ruby
relix has joined #ruby
mosez has joined #ruby
krz has quit [Quit: WeeChat 0.4.2]
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
danshult_ has quit [Remote host closed the connection]
danshultz has joined #ruby
max96at has joined #ruby
relix has quit [Ping timeout: 245 seconds]
Hanmac1 has joined #ruby
obs has quit [Quit: Konversation terminated!]
obs has joined #ruby
shredding has quit [Quit: shredding]
s2013 has joined #ruby
Hanmac has quit [Ping timeout: 246 seconds]
Xeago has joined #ruby
TMM has joined #ruby
danshultz has quit [Ping timeout: 246 seconds]
adamholt has joined #ruby
zoscoy has joined #ruby
zoscoy has quit [Client Quit]
tonni has quit [Remote host closed the connection]
Hanmac has joined #ruby
Norrin has joined #ruby
yanjost has joined #ruby
TMM has quit [Client Quit]
brennanMKE has joined #ruby
jrobertf_ has joined #ruby
yfeldblum has joined #ruby
Hanmac1 has quit [Ping timeout: 246 seconds]
rm_ has joined #ruby
awkisopen has quit [Changing host]
awkisopen has joined #ruby
petey has joined #ruby
jrobertfox has quit [Ping timeout: 246 seconds]
freerobby has joined #ruby
brennanMKE has quit [Ping timeout: 246 seconds]
d-snp has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
rm_ has quit [Ping timeout: 272 seconds]
<d-snp> hey guys, I'm thinking of moving my models to a separate gems, since we have multiple apps that use the same databases, anyone have experience with this?
petey has quit [Ping timeout: 245 seconds]
<d-snp> I'm mostly concerned about keeping the development process nice and fluid
fieldfirst has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
freerobby has quit [Ping timeout: 246 seconds]
<d-snp> so in development mode, the apps should use a local checkout
<d-snp> hmm
alexherbo2 has joined #ruby
gja has joined #ruby
ElCapitanMarklar has quit [Quit: Textual IRC Client: www.textualapp.com]
prc has joined #ruby
atmosx has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
tkuchiki has quit [Remote host closed the connection]
brtdv has joined #ruby
tkuchiki has joined #ruby
patronus has joined #ruby
tkuchiki has quit [Read error: Connection reset by peer]
<apeiros> d-snp: with Gemfile no problem
<waxjar> d-snp: if you're using git you could maybe use a submodule. that kinda sucks if you package it like a gem, though.
tkuchiki has joined #ruby
<apeiros> d-snp: just use gem 'models', path: 'vendor/models' and check your git repo out there. don't forget to add /vendor/ to gitignore.
<apeiros> waxjar: git submodule IME --
<apeiros> we moved away from that.
yanjost has quit [Remote host closed the connection]
<waxjar> too much hassle?
mikepack has joined #ruby
<apeiros> yes, and issues. people can't handle it well.
ixti has joined #ruby
<apeiros> (me included)
Amart41 has joined #ruby
<d-snp> alright, and then our deployment process must be sure to deploy the gem as well
<d-snp> sounds like it could be good
fp has quit [Quit: WeeChat 0.4.1]
jkamenik has joined #ruby
tkuchiki has quit [Ping timeout: 245 seconds]
relix has joined #ruby
iamdoo2 has joined #ruby
obs has quit [Ping timeout: 246 seconds]
<apeiros> d-snp: bundler deals with that
Wolland has joined #ruby
e^0 has joined #ruby
e^0 has quit [Client Quit]
<apeiros> you can change the dependency to the git repo for deployment. haven't yet tried that properly, but should be possible via bundle groups.
<d-snp> ah right ofcourse
Guest78277 has joined #ruby
<apeiros> so locally it uses development group, which points to the locally checkout out path, and on deploy it uses the non-development group, which points to the git repo.
mikepack has quit [Ping timeout: 246 seconds]
<apeiros> issue I see is that you have to generate a proper Gemfile before deploy
jonr22 has joined #ruby
iamdoo2 has quit [Ping timeout: 250 seconds]
VTLob has joined #ruby
diegoviola has quit [Ping timeout: 246 seconds]
diegovio1 has joined #ruby
diegovio1 is now known as diegoviola
rlvm has joined #ruby
gtsiftsis has quit [Ping timeout: 251 seconds]
raphaelivan has quit [Quit: Leaving.]
<MJBrune> Hey so I am using ruby on windows. Using the GoogleVoiceAPI gem. When I do a simple api.index_xml() command it has an SSL_connect error.
Guest78277 has quit [Quit: WeeChat 0.4.1]
nvrch has joined #ruby
nvrch has quit [Client Quit]
nvrch has joined #ruby
e^0_ has joined #ruby
nomenkun has joined #ruby
nszceta has joined #ruby
e^0_ has quit [Client Quit]
TheLarkInn has joined #ruby
tkuchiki has joined #ruby
LekeFly_ has joined #ruby
drumusician has joined #ruby
LekeFly has quit [Ping timeout: 246 seconds]
mmcclimon has joined #ruby
platzhirsch has joined #ruby
Butcho has joined #ruby
einarj has joined #ruby
boboc has joined #ruby
kenndel_ has joined #ruby
tyl has quit [Quit: Computer has gone to sleep.]
Markvilla has joined #ruby
EngierkO_ has joined #ruby
EngierkO has quit [Ping timeout: 272 seconds]
<boboc> guys anyone knows where tcp method is declared? I saw 2 examples used with Socket class where tcp method tool 2 arguments (host + port) or a block where the connected socket is available but in the ruby docs i can't find the tcp method, only in the Addrinfo class...
Hamburglr has quit [Ping timeout: 265 seconds]
<TheLarkInn> Are you in the Core Lib docs?
<boboc> TheLarkInn: yes
hostess has quit [Changing host]
hostess has joined #ruby
<TheLarkInn> Theres docs from the StdLib, if that is what you are looking for
kenndel has quit [Ping timeout: 265 seconds]
<boboc> i've looked here because i saw the Socket.tcp('host',80) method call works but here is no tcp class method: http://ruby-doc.org/stdlib-2.1.0/libdoc/socket/rdoc/Socket.html
s2013 has quit [Ping timeout: 250 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<TheLarkInn> well what exactly are you trying to accomplish
<TheLarkInn> setup a server or client socket?
gja has quit [Quit: This computer has gone to sleep]
IceyEC has joined #ruby
<boboc> TheLarkInn: i'm learning from a book, the same solution is to use TCPSocket class, i'm just trying to understand where is this tcp method declared to look at it and i can't find it anywhere
charliesome has joined #ruby
<Butcho> what book?
sski has joined #ruby
danshultz has joined #ruby
<TheLarkInn> Hey Boboc
<TheLarkInn> you can use TCPSocke.new (arg1,arg2,…)
<boboc> Butcho: Working with TCP Sockets
gmci has joined #ruby
<TheLarkInn> instead of Socket.tcp
stryek has joined #ruby
charliesome has quit [Client Quit]
<boboc> TheLarkInn: yes in the book that is explained, as i said all i wanted was to find the tcp method declaration and it doesn't seems to be anywhere :)
<boboc> that's it
coderhs has quit [Quit: Leaving]
<TheLarkInn> shows the syntax you are using
yasushi has joined #ruby
<workmad3> TheLarkInn: quick thing - don't put a space before the opening ( if you're using brackets around parameters
aboudreault_ is now known as aboudreault
aboudreault has quit [Changing host]
aboudreault has joined #ruby
<TheLarkInn> sorry it was just sloppy typing, I typically don't do that
jeanlinux has joined #ruby
jprovazn has quit [Quit: Leaving]
<workmad3> TheLarkInn: it changes the meaning of the statement (frequently into a syntax error :) )
<TheLarkInn> lol indeed it does
<workmad3> TheLarkInn: it used to be valid ;)
<AxonetBE> Can somebody help me with this array that I want to convert to become the expected result? https://gist.github.com/bigbentobox/8803433, I now I can use group by, but I don't know how I can get the additional attributes in the same hash
<workmad3> but it causes confusion when you do something like 'some_method (x + y) * z'
gja has joined #ruby
IceyEC has left #ruby [#ruby]
IceyEC has joined #ruby
Wolland has quit [Remote host closed the connection]
gja has quit [Client Quit]
<jeanlinux> AxonetBE: Your question is not that clear.. be precise
mark_locklear has joined #ruby
sk87 has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
vpretzel_ is now known as vpretzel
<TheLarkInn> AxonetBE, always if the first 3 match but the last is different then combine into one hash?
<TheLarkInn> for both sets of hashes
s2013 has joined #ruby
<AxonetBE> jeanlinux: My array array_of_stats ( https://gist.github.com/bigbentobox/8803433 ) is a combination of my 2 arrays ( 1 with the sales, 1 with the stock )
<havenwood> AxonetBE: array_of_stats.group_by { |hash| hash['brand_name'] }.map { |k, v| v.inject(&:merge) }
nomenkun has quit [Ping timeout: 245 seconds]
<AxonetBE> jeanlinux: but now I want to group them by brand_name, product_type_name and gender_name
fieldfirst has quit [Ping timeout: 272 seconds]
cuppscakes has joined #ruby
gwb3 has joined #ruby
yacks has quit [Ping timeout: 272 seconds]
<AxonetBE> TheLarkInn: yes that it is, but can I also group by on 3 fields?
zeeraw has quit [Quit: Textual IRC Client: www.textualapp.com]
<TheLarkInn> not sure about that but lets work with that concept
zeeraw has joined #ruby
<TheLarkInn> combine hashes that share brand_name, prodduct_type_name, and gender_name right?
Butcho has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hamakn has quit [Remote host closed the connection]
Butcho has joined #ruby
brennanMKE has joined #ruby
jeekl_ is now known as jeekl
ffranz has joined #ruby
rm_ has joined #ruby
yfeldblum has joined #ruby
jtdowney has joined #ruby
securitycrush has joined #ruby
freerobby has joined #ruby
<havenwood> AxonetBE: the code above produces your wanted_array
TMM has joined #ruby
<AxonetBE> TheLarkInn : but I have some strange results when I combine my 2 arrays ( with active record results ), I get this structure after my group by on 3 fields without the map https://gist.github.com/bigbentobox/9c0b3a0ef865dcf61bd8
<TheLarkInn> havenwood, I think it has to be more than just brand_name
jtdowney has quit [Client Quit]
zachallett has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
AlSquire has joined #ruby
<havenwood> TheLarkInn: aha, more to the question than the expected input and desired output!
rm_ has quit [Ping timeout: 272 seconds]
<havenwood> egads
jzig has joined #ruby
<lpvn> AxonetBE: I think you could refactor that find_by_sql in a prettier rails query
freerobby has quit [Ping timeout: 250 seconds]
Wolland has joined #ruby
<AxonetBE> lpvn: yes indeed but for the moment it is easier to debug and develop with the full quert
<AxonetBE> query*
<lpvn> hmmm ok
syamajala has joined #ruby
syamajala has quit [Client Quit]
<havenwood> AxonetBE: array_of_stats.group_by { |hash| hash.values_at 'brand_name', 'product_name', 'gender_name' }.values.map { |hashes| hashes.inject(&:merge) }
brennanMKE has quit [Ping timeout: 246 seconds]
s2013 has quit [Ping timeout: 246 seconds]
<TheLarkInn> nicely done
<TheLarkInn> that should be exactly what Axonet is wanting
<TheLarkInn> I waould assume
jzig has quit [Ping timeout: 265 seconds]
fp has joined #ruby
dblessing has joined #ruby
jprovazn has joined #ruby
<AxonetBE> havenwood: have to debug a little because I get TypeError Exception: can't convert String into Integer
TheLarkInn has left #ruby [#ruby]
ekarlso- has quit [Quit: Lost terminal]
ekarlso has joined #ruby
mrnugget has joined #ruby
<havenwood> AxonetBE: The values of 'brand_name', 'product_name', and 'gender_name' need to be Comparable
<AxonetBE> it is all strings
<AxonetBE> they are all strings
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
iamdoo2 has joined #ruby
RaCx has joined #ruby
rmorello has joined #ruby
sk87 has joined #ruby
<havenwood> AxonetBE: Works given inputs like your expected inputs: https://gist.github.com/havenwood/8803831
<AxonetBE> havenwood: works:)
<AxonetBE> I had to do sales.collect(&:attributes) on my active record results before putting the arrays together
<havenwood> aye, yup
iamdoo2 has quit [Ping timeout: 272 seconds]
DaniG2k has quit [Quit: leaving]
<AxonetBE> havenwood: thanks!
<havenwood> AxonetBE: no prob, happy hacking!
angusigu1ss has quit [Ping timeout: 250 seconds]
23LAA3PEH is now known as krisbulman
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
forced_request has quit [Ping timeout: 264 seconds]
sk87 has joined #ruby
sk87 has quit [Client Quit]
yacks has joined #ruby
<olivier_bK> how i can replace this <?$licenceData = array by nothing ?
<tobiasvl> is that the string olivier_bK ?
<tobiasvl> '<?$licenceData = array'
<tobiasvl> just do a gsub and escape the proper chars?
<olivier_bK> yes
browndawg has joined #ruby
nettoweb has quit [Quit: nettoweb]
ep3static has quit [Quit: WeeChat 0.4.2]
santiago_ has joined #ruby
hamakn has joined #ruby
<apeiros> olivier_bK: you asked earlier already and got a reply - what didn't work?
<apeiros> olivier_bK: also, by now you should know to paste the code you're currently using…
Xeago has quit [Remote host closed the connection]
rudisimo has joined #ruby
Pixels is now known as PixeIs
santiago_ is now known as loc22
decoponio has joined #ruby
<olivier_bK> give me one minute i have a problem
<olivier_bK> excuse me
Guest84566 is now known as oz
oz is now known as oz`
chrisja has joined #ruby
araujo has quit [Read error: Connection reset by peer]
obs has joined #ruby
art-solopov has joined #ruby
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
wildroman2 has quit [Remote host closed the connection]
obs has quit [Client Quit]
<olivier_bK> it s okai sorry
oz` is now known as oz
lsmola has quit [Ping timeout: 250 seconds]
oz is now known as Guest56899
gyre008 has joined #ruby
vpretzel has quit [Remote host closed the connection]
vpretzel has joined #ruby
lkba has joined #ruby
gyre007 has quit [Ping timeout: 250 seconds]
gyre007_ is now known as gyre007
hamakn has quit [Ping timeout: 250 seconds]
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
gja has quit [Quit: This computer has gone to sleep]
wildroman2 has joined #ruby
Xeago has joined #ruby
kaldrenon has joined #ruby
jonr22 has quit [Remote host closed the connection]
jonr22 has joined #ruby
<olivier_bK> apeiros, i try that del = readfile.gsub('/^\<?$licenceData=array/', "her")
Wolland has quit [Remote host closed the connection]
ItSANgo has quit [Quit: Leaving...]
_maes_ has joined #ruby
<apeiros> olivier_bK: I told you that `?` is a special char in regex.
dorei has joined #ruby
<apeiros> < on the other hand is not.
<tobiasvl> (not on its own at least)
<apeiros> olivier_bK: I also told you that $ is *also* a special char.
vongrippen has joined #ruby
jonr22 has quit [Ping timeout: 245 seconds]
<apeiros> olivier_bK: maybe pay attention to the reply you get this time?
<apeiros> >> Regex.escape('<?$licenceData=array')
<eval-in> apeiros => uninitialized constant Regex (NameError) ... (https://eval.in/97873)
<apeiros> >> Regexp.escape('<?$licenceData=array')
<eval-in> apeiros => "<\\?\\$licenceData=array" (https://eval.in/97874)
jzig has joined #ruby
Hanmac1 has joined #ruby
Hamburglr has joined #ruby
hamakn has joined #ruby
Hanmac has quit [Ping timeout: 272 seconds]
griffindy has quit [Quit: Computer has gone to sleep.]
jzig has quit [Ping timeout: 245 seconds]
Guest56899 is now known as oz
jonr22 has joined #ruby
ItSANgo has joined #ruby
lsmola has joined #ruby
burlyscudd has joined #ruby
fp has quit [Quit: WeeChat 0.4.1]
danshultz has quit [Read error: Connection reset by peer]
e^0 has joined #ruby
danshultz has joined #ruby
lxsameer has quit [Quit: Leaving]
Vitor has joined #ruby
Emmanuel_Chanel_ is now known as Emmanuel_Chanel
Xeago has quit [Remote host closed the connection]
arctaruz has quit [Ping timeout: 250 seconds]
Xeago has joined #ruby
MindfulMonk has joined #ruby
boboc_ has joined #ruby
snooc has joined #ruby
boboc has quit [Read error: Connection reset by peer]
sailias has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sk87 has joined #ruby
relix has joined #ruby
obs has joined #ruby
prahal_odroid has joined #ruby
rm_ has joined #ruby
mikepack has joined #ruby
yfeldblum has joined #ruby
breakingthings has joined #ruby
mary5030 has joined #ruby
freerobby has joined #ruby
Wolland has joined #ruby
Hanmac has joined #ruby
Hanmac1 has quit [Ping timeout: 245 seconds]
boboc_ has quit [Read error: Connection reset by peer]
boboc has joined #ruby
mehlah has joined #ruby
mikepack has quit [Ping timeout: 250 seconds]
yfeldblum has quit [Ping timeout: 246 seconds]
jerius has joined #ruby
rm_ has quit [Ping timeout: 245 seconds]
nszceta has quit [Remote host closed the connection]
freerobby has quit [Ping timeout: 245 seconds]
brennanMKE has joined #ruby
tyl has joined #ruby
Wolland has quit [Ping timeout: 272 seconds]
nettoweb has joined #ruby
davidcollom has joined #ruby
kiri has quit [Ping timeout: 265 seconds]
arctaruz has joined #ruby
lsmola has quit [Ping timeout: 245 seconds]
dx7 has joined #ruby
Hanmac1 has joined #ruby
jonr22 has quit [Remote host closed the connection]
jonr22 has joined #ruby
nettoweb has quit [Client Quit]
jtdowney has joined #ruby
Hamburglr has quit [Quit: Textual IRC Client: www.textualapp.com]
jtdowney has quit [Client Quit]
brennanMKE has quit [Ping timeout: 272 seconds]
Wolland has joined #ruby
hiall__ has joined #ruby
Hamburglr has joined #ruby
fgo_ has quit [Remote host closed the connection]
Hanmac has quit [Ping timeout: 250 seconds]
Al____ has quit [Quit: Al____]
hiall__ is now known as Hiall
boboc has quit []
kiri has joined #ruby
jonr22 has quit [Remote host closed the connection]
jonr22 has joined #ruby
brennanMKE has joined #ruby
petey has joined #ruby
jtdowney has joined #ruby
Al___ has joined #ruby
enebo has joined #ruby
mlpinit has joined #ruby
end_guy has quit [Ping timeout: 240 seconds]
jamto11 has joined #ruby
MrZYX|off is now known as MrZYX
iamdoo2 has joined #ruby
tonni has joined #ruby
lfox has joined #ruby
angusigu1ss has joined #ruby
<olivier_bK> how i can use Regex.escape on my array ?
aagdbl has quit [Ping timeout: 272 seconds]
<tobiasvl> an array of strings? each?
<tobiasvl> how would you do anything on all entries of an array?
nomenkun has joined #ruby
caveat- has joined #ruby
lsmola has joined #ruby
iamdoo2 has quit [Ping timeout: 245 seconds]
RaCx has quit [Quit: Computer has gone to sleep.]
<apeiros> olivier_bK: you can't.
<apeiros> olivier_bK: but you can map your array.
browndawg has quit [Quit: Leaving.]
TMM has quit [Ping timeout: 245 seconds]
Wolland has quit [Ping timeout: 272 seconds]
angusigu1ss has quit [Ping timeout: 250 seconds]
failshell has joined #ruby
interactionjaxsn has joined #ruby
jedimind has joined #ruby
mlpinit has quit [Remote host closed the connection]
nateberkopec has joined #ruby
<slowcon> morning guys
LekeFly_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
roolo has joined #ruby
dx7 has quit [Remote host closed the connection]
roolo has quit [Client Quit]
roolo has joined #ruby
dx7 has joined #ruby
roolo has quit [Client Quit]
roolo has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
roolo has quit [Client Quit]
lsmola has quit [Ping timeout: 272 seconds]
angusigu1ss has joined #ruby
roolo has joined #ruby
jobewan has joined #ruby
banister has joined #ruby
ehc has joined #ruby
Davey has joined #ruby
DaniG2k has joined #ruby
dx7 has quit [Ping timeout: 272 seconds]
TMM has joined #ruby
razibog has quit [Quit: Leaving.]
ehc_ has joined #ruby
ehc_ has quit [Client Quit]
forced_request has joined #ruby
ehc has quit [Client Quit]
ehc has joined #ruby
angusigu1ss has quit [Ping timeout: 250 seconds]
griffindy has joined #ruby
roolo has quit [Quit: roolo]
atmosx has joined #ruby
jobewan has quit [Ping timeout: 250 seconds]
mmcclimon has quit [Remote host closed the connection]
aryaching has joined #ruby
phansch has quit [Ping timeout: 252 seconds]
sk87 has joined #ruby
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jzig has joined #ruby
jonr22 has quit [Remote host closed the connection]
lsmola has joined #ruby
jonr22 has joined #ruby
dx7 has joined #ruby
allaire has joined #ruby
snooc has quit [Read error: Connection reset by peer]
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
snooc has joined #ruby
Geophit has joined #ruby
yacks has quit [Ping timeout: 250 seconds]
fantazo has joined #ruby
Wolland has joined #ruby
kevind has joined #ruby
jzig has quit [Ping timeout: 250 seconds]
cpruitt has joined #ruby
diegoviola has quit [Ping timeout: 272 seconds]
gmci has quit [Quit: Textual IRC Client: www.textualapp.com]
jonr22 has quit [Ping timeout: 245 seconds]
tobago has quit [Remote host closed the connection]
Drakevr has quit [Changing host]
Drakevr has joined #ruby
tylersmith has joined #ruby
burlyscudd has quit [Quit: Leaving.]
Parker0 has joined #ruby
sambao21 has joined #ruby
enape_101 has joined #ruby
gmci has joined #ruby
cpruitt has quit [Client Quit]
fieldfirst has joined #ruby
cpruitt has joined #ruby
Spami has joined #ruby
Wolland has quit [Ping timeout: 250 seconds]
dx7 has quit [Remote host closed the connection]
jobewan has joined #ruby
mlpinit has joined #ruby
<lpvn> Satya Nadella Named Microsoft CEO
SCommette has joined #ruby
phansch has joined #ruby
guardianx has quit [Remote host closed the connection]
jonr22 has joined #ruby
heftig has quit [Quit: Quitting]
noop has quit [Ping timeout: 272 seconds]
mengu has quit []
Evenix has joined #ruby
sambao21 has quit [Ping timeout: 272 seconds]
prc has quit [Ping timeout: 245 seconds]
mlpinit has quit [Read error: Connection reset by peer]
Guest9317 has quit [Quit: Leaving]
IceDragon has joined #ruby
yacks has joined #ruby
tesuji has quit [Ping timeout: 272 seconds]
b00stfr3ak has joined #ruby
tagrudev has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
mlpinit has joined #ruby
RaCx has joined #ruby
Al___ has quit [Quit: Al___]
rippa has joined #ruby
yfeldblum has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
freerobby has joined #ruby
Al___ has joined #ruby
rayners has joined #ruby
JBreit has quit [Read error: Connection reset by peer]
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
dangerousdave has joined #ruby
freerobby has quit [Ping timeout: 250 seconds]
yfeldblum has quit [Ping timeout: 250 seconds]
jlast has joined #ruby
pietr0 has quit [Quit: pietr0]
mercwithamouth has quit [Ping timeout: 265 seconds]
loc22 has quit [Ping timeout: 245 seconds]
sambao21 has joined #ruby
speakingcode has quit [Ping timeout: 272 seconds]
Bira has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
ukd1 has joined #ruby
balian has joined #ruby
rippa has quit [Ping timeout: 248 seconds]
balian has left #ruby [#ruby]
bean has joined #ruby
JBreit has joined #ruby
havenwood has quit [Remote host closed the connection]
pskosinski has joined #ruby
havenwood has joined #ruby
MrZYX is now known as MrZYX|off
joaobatalha has joined #ruby
binaryhat has joined #ruby
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
jprovazn is now known as jprovazn_afk
iamdoo2 has joined #ruby
v0n has joined #ruby
Xuisce1 has joined #ruby
havenwood has quit [Ping timeout: 250 seconds]
xcv has joined #ruby
roolo has joined #ruby
jzig has joined #ruby
aspires has joined #ruby
GreatSUN has quit [Ping timeout: 245 seconds]
MrZYX|off is now known as MrZYX
adam_ is now known as adam12
iamdoo2 has quit [Ping timeout: 250 seconds]
OdNairy has joined #ruby
Zackio has joined #ruby
araujo has quit [Read error: Connection reset by peer]
phansch has quit [Read error: Connection reset by peer]
phansch_ has joined #ruby
lmickh has joined #ruby
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
gja has joined #ruby
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
apeiros has quit [Remote host closed the connection]
lukeholder has joined #ruby
mikepack has joined #ruby
LekeFly has joined #ruby
nathancahill has joined #ruby
apeiros has joined #ruby
thesheff17 has quit [Ping timeout: 265 seconds]
ukd1 has quit [Remote host closed the connection]
zachallett has quit [Remote host closed the connection]
s2013 has joined #ruby
browndawg has joined #ruby
alexherbo2 has quit [Quit: WeeChat 0.4.2]
sk87 has joined #ruby
Markvilla has quit [Quit: Computer has gone to sleep.]
gja has quit [Quit: This computer has gone to sleep]
phansch_ has quit [Remote host closed the connection]
apeiros has quit [Ping timeout: 272 seconds]
sambao21 has quit [Ping timeout: 272 seconds]
angusigu1ss has joined #ruby
vpretzel has quit [Remote host closed the connection]
brennanMKE has quit [Remote host closed the connection]
blaxter has quit [Ping timeout: 245 seconds]
joaobatalha has quit [Ping timeout: 250 seconds]
vpretzel has joined #ruby
brennanMKE has joined #ruby
lkba has quit [Read error: Connection reset by peer]
zeeraw has joined #ruby
kiri has quit [Ping timeout: 272 seconds]
jrobertfox has joined #ruby
kcombs has joined #ruby
<olivier_bK> i have a question
max96at has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ahawkins has quit [Quit: leaving]
Hanmac has joined #ruby
angusigu1ss has quit [Ping timeout: 245 seconds]
jrobertf_ has quit [Read error: Connection reset by peer]
jrobertf_ has joined #ruby
brennanMKE has quit [Ping timeout: 246 seconds]
Hanmac1 has quit [Ping timeout: 272 seconds]
<DouweM> olivier_bK: do tell
jrobertf_ has quit [Read error: Connection reset by peer]
<platzhirsch> olivier_bK: This is awesome!
jrobertf_ has joined #ruby
jrobertfox has quit [Ping timeout: 246 seconds]
<olivier_bK> give me one minute i have a problem to resolv before
<tobiasvl> is the question how to replace the string '<?$licenceData = array' with nothing?
boboc has joined #ruby
<enape_101> shopify
<platzhirsch> tobiasvl: You randomness hit me critically
acrussell has joined #ruby
<tobiasvl> ;)
pskosinski has quit [Quit: Til rivido Idisti!]
p8952 has quit [Quit: Leaving]
<platzhirsch> I am looking for a channel where I can moan about interview questions. Most current: Find overlapping intervals
senj has joined #ruby
nszceta has joined #ruby
saarinen has joined #ruby
jrobertf_ has quit [Read error: Connection reset by peer]
jrobertfox has joined #ruby
max96at has joined #ruby
therod has joined #ruby
therod has quit [Client Quit]
bwwrd has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mando has joined #ruby
havenwood has joined #ruby
<lpvn> platzhirsch: I love interview questions, what's this one about finding overlapping intervals?
Speed has joined #ruby
<platzhirsch> lpvn: Example: [(1,5), (10,15), (20,25)] inserting (12,27) => [(1,5), (10, 27)]
Speed is now known as Guest81463
<platzhirsch> so, given, ordered intervalls, insert new one, merge if necessary
tkuchiki has quit [Remote host closed the connection]
Roa_ has quit [Quit: leaving]
MindfulMonk has quit [Ping timeout: 272 seconds]
moneymake has joined #ruby
joaobatalha has joined #ruby
mikepack_ has joined #ruby
<platzhirsch> since it's already ordered O(n) shouldn't be hard
Guest81463 has quit [Changing host]
Guest81463 has joined #ruby
rm_ has joined #ruby
Roa has joined #ruby
Guest81463 is now known as Speed
popl has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
Wolland has joined #ruby
blaxter has joined #ruby
BrixSat has joined #ruby
<BrixSat> Hello
<moneymake> hello
<BrixSat> is rubygems the same as gems?
<MrZYX> yes
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<BrixSat> ok :)
<BrixSat> how do i install it in ubuntu? any easy step?
gja has joined #ruby
Roa has quit [Changing host]
Roa has joined #ruby
jobewan has quit [Quit: Leaving]
amh345 has joined #ruby
<MrZYX> iirc you want to install the ruby-full package
mikepack_ has quit [Ping timeout: 250 seconds]
DrShoggoth has joined #ruby
greenarrow has joined #ruby
<platzhirsch> RVM
<BrixSat> do i really need to?
RaCx has quit [Quit: Computer has gone to sleep.]
<platzhirsch> No
gigetoo_ is now known as gigetoo
<platzhirsch> what
<BrixSat> I just wanto to run fluent-plugin-elasticsearch wich is a plugin to fluent/td-agent
jamto11 has quit []
<platzhirsch> oh yeah, just go with MrZYX's advice
geggam has joined #ruby
<BrixSat> full package?
figgleberry has joined #ruby
figgleberry has quit [Remote host closed the connection]
obs has left #ruby [#ruby]
browndawg1 has joined #ruby
<popl> oh look, a rubygems package
fieldfirst has quit [Remote host closed the connection]
<platzhirsch> Don't separate the calf from his mother
bubu has joined #ruby
fieldfirst has joined #ruby
gigetoo is now known as gigetoo_
gigetoo_ is now known as gigetoo
<bubu> Hey guys, what ruby library do I need to use to generate a date timestamp like "2011-04-06T21:09:12Z" ?
<bubu> Time.now.xmlschema gets me almost there
browndawg has quit [Ping timeout: 272 seconds]
<YOURBESTFRIEND> >> Time.now.to_s
<eval-in> YOURBESTFRIEND => "2014-02-04 17:43:10 +0100" (https://eval.in/97922)
<platzhirsch> YOURBESTFRIEND: it's you again
obs has joined #ruby
<YOURBESTFRIEND> platzhirsch: ?
<platzhirsch> Don't mind me
ceej_ is now known as ceej
gyre008 has quit [Remote host closed the connection]
<bubu> YOURBESTFRIEND: not quite what I'm after ^^
<tobiasvl> >> Time.now.xmlschema
<eval-in> tobiasvl => undefined method `xmlschema' for 2014-02-04 17:44:42 +0100:Time (NoMethodError) ... (https://eval.in/97924)
<tobiasvl> ?
Xuisce1 has quit [Ping timeout: 245 seconds]
bal has quit [Quit: bal]
<YOURBESTFRIEND> isn't it a rails thing anyway?
gyre008 has joined #ruby
Xeago_ has joined #ruby
<YOURBESTFRIEND> >> p Time.now
<eval-in> YOURBESTFRIEND => 2014-02-04 17:45:54 +0100 ... (https://eval.in/97925)
<YOURBESTFRIEND> >> Date.now
<eval-in> YOURBESTFRIEND => undefined method `now' for Date:Class (NoMethodError) ... (https://eval.in/97926)
havenwood has quit [Read error: Connection reset by peer]
havenn has joined #ruby
freerobby has joined #ruby
corehook has joined #ruby
AxonetBE has quit [Quit: AxonetBE]
yfeldblum has joined #ruby
allaire has quit []
Markvilla has joined #ruby
havenwood has joined #ruby
Noldorin has joined #ruby
havenn has quit [Read error: Connection reset by peer]
oso|away is now known as oso96_2000
<MrZYX> >> Time.now.iso8601
<eval-in> MrZYX => undefined method `iso8601' for 2014-02-04 17:48:41 +0100:Time (NoMethodError) ... (https://eval.in/97928)
<bubu> hmm, it is a rails thing
<MrZYX> >> require 'time'; Time.now.iso8601
<eval-in> MrZYX => "2014-02-04T17:48:50+01:00" (https://eval.in/97929)
<MrZYX> bubu: ^
Xeago has quit [Ping timeout: 245 seconds]
ArchBeOS-work has quit [Quit: Leaving]
<bubu> MrZYX: Hmm, but is that the same as "2011-04-06T21:09:12Z" ?
<bubu> >> Time.now.xmlschema
<eval-in> bubu => undefined method `xmlschema' for 2014-02-04 17:49:41 +0100:Time (NoMethodError) ... (https://eval.in/97930)
<MrZYX> >> require 'time'; Time.now.utc.iso8601
<eval-in> MrZYX => "2014-02-04T16:49:54Z" (https://eval.in/97931)
Xeago_ has quit [Ping timeout: 245 seconds]
fantazo has quit [Ping timeout: 272 seconds]
<MrZYX> (yes)
freerobby has quit [Ping timeout: 245 seconds]
<bubu> ah ha!
ramblex has joined #ruby
lsmola has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Ping timeout: 245 seconds]
apeiros has joined #ruby
<MrZYX> bubu: 2min with pry btw
<MrZYX> just trying all the methods
boboc has quit []
<bubu> MrZYX: Aye, using pry for 10 mins now, had tried Time.now.iso8601.utc
<bubu> :(
jonr22 has quit [Remote host closed the connection]
<MrZYX> you get a string back, how should that have an #utc method
crashx has joined #ruby
<tobiasvl> you never know in rails…
obs has quit [Quit: obs]
jonr22 has joined #ruby
pwh has joined #ruby
joaobatalha has quit [Quit: joaobatalha]
ace_striker has joined #ruby
obs has joined #ruby
ace_striker is now known as Guest52343
gyre008 has quit [Remote host closed the connection]
<bubu> same as Time.now.utc.xmlschema too btw
Guest52343 is now known as GS
LekeFly has joined #ruby
<shevy> hey
<shevy> I had severe internet problems
<shevy> lately.
<shevy> I feel worse without internet :(
arctaruz has quit [Remote host closed the connection]
jonr22 has quit [Ping timeout: 248 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
moneymake has quit [Ping timeout: 248 seconds]
petey has quit [Write error: Broken pipe]
petey has joined #ruby
mikepack has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
SCommette has quit [Quit: SCommette]
mrnugget has quit [Ping timeout: 272 seconds]
froy has quit [Remote host closed the connection]
p8952 has joined #ruby
<platzhirsch> then look at that Pudú baby deer and feel better
Voodoofish430 has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Es0teric has joined #ruby
Xuisce1 has joined #ruby
<shevy> platzhirsch is that your girl?
aganov has quit [Quit: Leaving]
<Xuisce1> yo chrisja
<Xuisce1> er
<Xuisce1> shevy:
<platzhirsch> shevy: lol, my baby daughter or what
<shevy> that looks heavily photoshopped btw
<Xuisce1> I finished a ruby project
<Xuisce1> its very basic
<Xuisce1> :)
<shevy> good Xuisce
<shevy> now write more
<platzhirsch> shevy: They just look a bit different. South American deers
lsmola has joined #ruby
<shevy> and kill your other nick
petey has quit [Ping timeout: 245 seconds]
<shevy> platzhirsch really?
<shevy> they look like tiny deers
IceDragon_ has joined #ruby
mikepack has quit [Read error: Connection reset by peer]
IceDragon has quit [Ping timeout: 272 seconds]
<platzhirsch> they don't get very big, so the babys look a bit Pokémon like
mikepack has joined #ruby
<shevy> hmm
<shevy> awful creatures
iamdoo2 has joined #ruby
<shevy> let's kill them
<platzhirsch> They are already endangered
<shevy> ok
<shevy> then it will be easy to do away with them :)
<platzhirsch> yeah just wait
sk87 has joined #ruby
<shevy> I was really worried for a moment that there are many of them :P
weems has quit [Read error: Connection reset by peer]
<shevy> hehe
<Xuisce1> shevy: :P
weems has joined #ruby
weems has quit [Read error: Connection reset by peer]
snath has quit [Ping timeout: 252 seconds]
senj has quit [Quit: Sleep Now]
<shevy> Xuisce1 write write write
* platzhirsch blisters Xuisce
weems has joined #ruby
<Xuisce1> lolz
<Xuisce1> I'll upload it to github
<shevy> Xuisce1 make mistakes and learn
<shevy> Xuisce1 where are you on rubygems.org btw?
<shevy> Xuisce1 improve and repeat
<Xuisce1> IM learning that now
browndawg1 has quit [Quit: Leaving.]
Solnse has joined #ruby
<Xuisce1> rubygems?
<Xuisce1> im not there shevy
IceDragon_ is now known as IceDragon
maximski has quit []
RaCx has joined #ruby
pushpak has joined #ruby
<shevy> Xuisce1 yes, you should register at rubygems.org
<Xuisce1> ah
<Xuisce1> shevy: whys that?
<Xuisce1> :)
<Xuisce1> and i will
<Xuisce1> whats its purpose ?
senj has joined #ruby
Wolland has quit [Ping timeout: 250 seconds]
troyready has joined #ruby
sski has quit [Remote host closed the connection]
<shevy> Xuisce1 so that "gem install name" works from the commandline
Butcho has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iamdoo2 has quit [Ping timeout: 250 seconds]
sski has joined #ruby
noname001__ has quit [Ping timeout: 246 seconds]
matchaw_ has joined #ruby
kevind_ has joined #ruby
SCommette has joined #ruby
<Xuisce1> shevy: im confused
<Xuisce1> why would I need it for now :p since I'm a beginner
<Xuisce1> xD
matchaw has quit [Ping timeout: 252 seconds]
<shevy> Xuisce1 because that way people can distribute and make use of code
<Xuisce1> shevy: still a bit confused
<shevy> Xuisce there is no beginner. there is only lazy people and people who are not lazy
rickruby has joined #ruby
tylersmith has quit [Remote host closed the connection]
<Xuisce1> shevy: what do you mean about make use of the code?
<Xuisce1> :)
<Xuisce1> sorry I'm totally new to programming
<shevy> Xuisce1 as you write code that does something useful, it can be useful not only to you but to others as well
andikr has quit [Remote host closed the connection]
dagobah has quit [Quit: Leaving...]
landon__ is now known as kyrawestwood
<Xuisce1> ah
<Xuisce1> well shevy the only project that I've done is a simple few lines
<Xuisce1> :)
<Xuisce1> and why cant I use github for that?
<Xuisce1> why here?
<Xuisce1> :)
kyrawestwood is now known as landon__
rickruby has quit [Remote host closed the connection]
kevind has quit [Ping timeout: 245 seconds]
kevind_ is now known as kevind
phansch has joined #ruby
pzula has joined #ruby
petey has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
<shevy> Xuisce1 github is useless
<Xuisce1> ah
<shevy> I cant easily do "gem install bla" if bla is on github
<Xuisce1> shevy: intersting
<Xuisce1> well its the biggest I think..
<Xuisce1> thats why I signed up for it
timonv has quit [Remote host closed the connection]
sski has quit [Ping timeout: 250 seconds]
<MrZYX> Xuisce1: shevy is a bit... conservative. don't take everything he says for the general truth ;)
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> what is conservative about my statements?
interactionjaxsn has joined #ruby
<MrZYX> let's say very opinionated then
<Xuisce1> well see
<Xuisce1> Github has most things ..
<Xuisce1> like my IRC client's repository
craigp has joined #ruby
<shevy> people who don't have an opinion are just by-standers
<Xuisce1> and well most programs you'd except that are open source
<Xuisce1> so its handy for me
brennanMKE has joined #ruby
<shevy> MrZYX are you very opinionated? :)
<Xuisce1> and its what most programmer use
<MrZYX> shevy: yes, but I don't communicate by opinions as the universal truth
zz_jrhorn424 has joined #ruby
zz_jrhorn424 is now known as jrhorn424
<shevy> but you did when it was about rack!
<MrZYX> because there were you at the same time showing that there's more than one standpoint
RaCx has quit [Quit: Computer has gone to sleep.]
centrx has joined #ruby
<shevy> yes, that is my standpoint and you communicated another standpoint :)
roolo has quit [Quit: Linkinus - http://linkinus.com]
<MrZYX> you didn't know that I'll respond when you did
brtdv has quit [Ping timeout: 245 seconds]
nari has quit [Ping timeout: 245 seconds]
<shevy> indeed!
nszceta has quit [Remote host closed the connection]
terrellt has joined #ruby
<shevy> you never did before as far as I can remember either :)
sambao21 has joined #ruby
aspires has quit []
heftig has joined #ruby
angusigu1ss has joined #ruby
RaCx has joined #ruby
<shevy> Xuisce1 what is your IRC client?
<platzhirsch> phansch: You can code at meetups
<phansch> well..
<platzhirsch> ^^
Davey has quit [Quit: Computer has gone to sleep.]
<terrellt> You can code whenever you want! Free countries. Usually.
rickruby has joined #ruby
<phansch> Think I'm gonna do just that :D
<phansch> o/
phansch has quit [Quit: Leaving]
<platzhirsch> oh
<olivier_bK> i try to read a file and redirect the content in csv file https://gist.github.com/zyriuse75/051ac3a38707f8c8987a
<olivier_bK> i can print it but i cant send the content to the csv file
<shevy> olivier_bK are you sure you did that
<shevy> because your code starts with CSV.open()
<shevy> btw, where from does array come?
Roa is now known as Roa
angusigu1ss has quit [Ping timeout: 245 seconds]
<MrZYX> olivier_bK: "I can't" is not an adequate problem description
<olivier_bK> shevy, array it's a variable with a lot of thing
ukd1 has joined #ruby
pabloh has quit [Quit: Saliendo]
poulson has quit [Remote host closed the connection]
Davey has joined #ruby
<shevy> olivier_bK, ok but how can we reproduce
glebe has quit [Quit: Leaving.]
<olivier_bK> MrZYX, i can print it but i dont know how to send it to the csv file :)
<Xuisce1> argh
<Xuisce1> github is hard
<shevy> olivier_bK can't you just save as 'foo.csv' anyway?
noop has joined #ruby
<MrZYX> olivier_bK: what's wrong with your current approach?
<MrZYX> Xuisce1: not any harder than any other SCM in the long term
<olivier_bK> i dont know how to send the resultat in the csv file
<MrZYX> so what happens with your current approach?
<Xuisce1> :)
<Xuisce1> MrZYX: well I'm learning it kinda
<MrZYX> give it some time ;)
<shevy> olivier_bK are you saving the file?
<Xuisce1> is this ok MrZYX ^
bradhe has joined #ruby
acrussell has left #ruby [#ruby]
<BrixSat> how do i manual install a plugin? like fluent-plugin-elasticsearch-0.2.0
<MrZYX> Xuisce1: sure
LekeFly has quit [Quit: Textual IRC Client: www.textualapp.com]
<centrx> BrixSat, Use gem or bundler
<platzhirsch> I need to name one of my projects pudú, now I have to find a purpose for this application
graeme has joined #ruby
pel_daniel has joined #ruby
pietr0 has joined #ruby
<BrixSat> centrx: i dont have it installed in the production server :/
shredding has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<BrixSat> centrx: what would gem install do?
<havenwood> BrixSat: gem install fluent-plugin-elasticsearch -v 0.2.0
ghr has quit [Quit: Computer has gone to sleep.]
<havenwood> BrixSat: It would install the gem.
<Xuisce1> ok
<Xuisce1> I'm reading it
<BrixSat> havenwood: i dont have gem......
jrhorn424 is now known as zz_jrhorn424
danshultz has quit [Read error: Connection reset by peer]
<havenwood> BrixSat: Are you using an ancient Ruby?: ruby -v
danshultz has joined #ruby
<havenwood> BrixSat: Do you have Ruby installed? :P
prahal_odroid has left #ruby ["Ex-Chat"]
zeeraw has joined #ruby
<havenwood> BrixSat: RubyGems comes with Ruby these days.
RaCx has quit [Quit: Computer has gone to sleep.]
Davey has quit [Quit: Computer has gone to sleep.]
Thanatermesis has left #ruby ["ɯlɐɔ uı ʞɹoʍ oʇ ƃuıoƃ"]
<BrixSat> havenwood: ruby command not found
<BrixSat> havenwood: i dont have ruby but im running a rubby app called fluentd
Txandy has joined #ruby
<BrixSat> i believe ruby is only availiable to that app
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<shevy> huh
<shevy> BrixSat did you try to look at and in the install path of that app?
Wolland has joined #ruby
lfox has quit [Quit: ZZZzzz…]
lessless has joined #ruby
<MrZYX> BrixSat: I think you should seek support by whoever set that up or whoever wrote the tutorial you followed
<BrixSat> yes the install has ruby folders inside it
<shevy> BrixSat nono that alone is not enough, try to find bin/ directories there
<BrixSat> /usr/lib/fluent/ruby/lib/ruby/gems/1.9.1/
<MrZYX> BrixSat: from the information you give we can only hope and make assumptions because we neither know the system nor your setup
<shevy> that is a very unusual, messy path
<shevy> Here is my path: /usr/lib/ruby/gems/1.9.1/
gyre008 has joined #ruby
<BrixSat> :/
<shevy> so your --prefix is: "/usr/lib/fluent/ruby", mine is "/usr"
<shevy> BrixSat does this work: stat /usr/lib/fluent/ruby/bin/ruby
crashx has quit [Read error: Connection reset by peer]
<shevy> if you find the guy in reallife, tie him up and lock him away :P
<BrixSat> shevy: yes
<BrixSat> ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
DaniG2k has quit [Quit: leaving]
<shevy> wheeee
<Guest33330> Oh god, what is this directory layout?
<shevy> so there he is hiding it!
Guest33330 is now known as Morrolan
<lessless> what do [1..10] mean??
<shevy> lessless a range
shredding has quit [Quit: shredding]
* Morrolan stabs BrixSat with the FHS
<shevy> Morrolan it's a path from hell
<MrZYX> lessless: depends on the context
gja has quit [Quit: This computer has gone to sleep]
<shevy> >> [1..10].to_a
<eval-in> shevy => [1..10] (https://eval.in/97937)
brennanMKE has quit []
<Morrolan> Sounds like it, shevy. :P
<shevy> hmm
vlad_starkov has quit [Remote host closed the connection]
pskosinski has joined #ruby
<shevy> oh
<MrZYX> lessless: but that alone is a range in an array
Wolland has quit [Ping timeout: 250 seconds]
<shevy> that got me
<shevy> >> (1..10).to_a
<shevy> where is the bot
nvrch has quit [Quit: nvrch]
<lessless> Right!
<MrZYX> he doesn't like you anymore
<shevy> yeah :(
<lessless> square brackets confused me a bit :)
CaptainJet has joined #ruby
<shevy> me as well
obs has quit [Quit: obs]
bubbajones has quit [Ping timeout: 252 seconds]
<shevy> >> [1..10][0].to_a
<eval-in> shevy => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] (https://eval.in/97939)
<shevy> :\
<shevy> the bot works every 2nd try
<Rylee> lol
<MrZYX> >> "foooobaaarrr"[1..10]
sdelmore1 has joined #ruby
<MrZYX> indeed
<centrx> >> puts "I am a lazy bot"
<eval-in> centrx => I am a lazy bot ... (https://eval.in/97940)
<Rylee> >> "foooobaaarrr"[1..10]
<eval-in> Rylee => "oooobaaarr" (https://eval.in/97941)
RaCx has joined #ruby
tauebel has joined #ruby
daju has joined #ruby
<shevy> hmm
<sdelmore1> I'm stumped on the worlds simplest code, wanted to run it by someone else in case I am suffering brain freeze. In my intializer I set a variable, freeze it, and then set it again and can't get it to raise an error.
<shevy> perhaps he keeps a counter
<shevy> those who used the bot too often, will be ignored
<shevy> sdelmore1 can you upload code to pastie pls
<sdelmore1> @faulty = nil
<sdelmore1> @fault = true
<sdelmore1> @fault.freeze
<shevy> no please the whole code?
<shevy> btw
maximski has joined #ruby
<shevy> is that the same var
<MrZYX> sdelmore1: the frozen state is a property of the object assigned to the variable, not the variable itself
<sdelmore1> I typoed it, but that is the whole code. I am just trying to verify freezing works.
asmodlol has quit [Remote host closed the connection]
<centrx> sdelmore1, Verify it with an Array or a Hash
ephemerian has quit [Quit: Leaving.]
<MrZYX> sdelmore1: you may want a CONSTANT instead
jonr22 has joined #ruby
<centrx> << fault = [].freeze; fault << 1
<sdelmore1> Ahhh…..any way to prevent something from being modified? I am backing into this through missing a watch feature of a debugger. I have a variable faulty getting set to true, then later at some point it gets set again to false but I can't figure out where.
ktosiek has quit [Ping timeout: 252 seconds]
<centrx> oops
<havenwood> sdelmore1: Freezing doesn't prevent you from reassigning the variable.
<sdelmore1> Just thought freeze would help but clearly that isn't the right approach.
<Morrolan> It prevents mutable objects from getting modified.
<shevy> freeze sucks in general
<Morrolan> It doesn't do anything to the variable, i.e. the name you assign the object to.
binaryhat has quit [Quit: Leaving]
<shevy> especially in reallife
TMM has quit [Ping timeout: 272 seconds]
<Morrolan> ;D
<sdelmore1> What is a good ruby way to track down what is toggling this variable?
<daju> Someone have a sec to help me?
<MrZYX> daju: not if you ask ;)
<Morrolan> Err, make a method out of it, I'd assume.
<centrx> I have ten seconds, go!
<shevy> sdelmore1 if it is a global var you can use set_trace_var
<Morrolan> (And log something when it's called)
<Morrolan> shevy: Huh?
<sdelmore1> It is an instance variable.
<Morrolan> Such a thing exists? :o
<shevy> aww
<shevy> almost
<shevy> god
<centrx> sdelmore1, grep the code for the variable name...
<shevy> ruby documentation still is awful :(
m104 has joined #ruby
Davey has joined #ruby
<centrx> shevy, You fool! Ruby documentation is excellent
<daju> okey MrZYX :) Trying to do a $ git reset XXX Byt the files in my project map dosen't change to the prior version.. How do I do this right?
securitycrush has quit [Ping timeout: 240 seconds]
tvw has quit []
<MrZYX> interesting #ruby question...
jrist has quit [Ping timeout: 265 seconds]
<sdelmore1> That is the issue, I already grepped it and can't find anything that is changing it's value. Not sure if there is some metaprogramming or something going on.
<havenwood> sdelmore1: Checkout the adamantium gem: https://github.com/dkubb/adamantium
<MrZYX> daju: sure this isn't a #git one? ;)
<daju> maybe:)
<centrx> I take it all back
TMM has joined #ruby
ace_striker has joined #ruby
zachallett has joined #ruby
ace_striker has quit [Changing host]
ace_striker has joined #ruby
ace_striker has joined #ruby
ace_striker has quit [Changing host]
<centrx> sdelmore1, attr_writer, attr_accessor, method definitions, instance_variable_set
brennanMKE has joined #ruby
petey has quit [Remote host closed the connection]
<centrx> instance_eval :(
timonv has joined #ruby
corehook has quit [Read error: Connection reset by peer]
mikecmpbll has quit [Ping timeout: 246 seconds]
petey has joined #ruby
moted has joined #ruby
Hobogrammer has joined #ruby
deception has joined #ruby
greenarrow has quit [Quit: 500]
<Rylee> daju, fwiw: `$ git reset` will only undo commits made but not pushed. You want `$ git reset --hard` if you want to reset the tree to the HEAD before you committed anything.
fella6s has joined #ruby
<MrZYX> git reset doesn't care whether commits are pushed or not
Spami has quit [Quit: This computer has gone to sleep]
Hanmac1 has joined #ruby
<Rylee> Maybe my headcanon is wrong then :p
<tobiasvl> be very careful with `$ git reset --hard`
zachallett has quit [Ping timeout: 250 seconds]
<Rylee> definitely, yes
Hanmac has quit [Ping timeout: 250 seconds]
poulson has joined #ruby
<daju> Rylee: nopp the files dosen't change
nszceta has joined #ruby
petey has quit [Ping timeout: 245 seconds]
<platzhirsch> Picking the right tool for your task is an awful metaphor for picking a language, isn't it?
<workmad3> Rylee: git reset affects the uncommited index
<daju> *doesn't
<platzhirsch> As if it is better to pick Python, Ruby or Java to implement some generic web application
<workmad3> Rylee: which git reset --hard also affects the working tree
fella5s has quit [Ping timeout: 272 seconds]
pwh has quit []
<workmad3> *while
enape_101 has quit [Ping timeout: 245 seconds]
burlyscudd has joined #ruby
burlyscudd has quit [Changing host]
burlyscudd has joined #ruby
<Rylee> ahh, yes, tahnks
<workmad3> platzhirsch: how about picking the right philosophy for yourself and your goals? :)
Geophit has quit [Ping timeout: 245 seconds]
ctp_ has joined #ruby
yacks has quit [Ping timeout: 246 seconds]
jedinerd_ has joined #ruby
<platzhirsch> workmad3: Yep, that sounds appropriate. I thought it comes down to the language's ecosystem
<workmad3> platzhirsch: ecosystem, ethos, developers levels of knowledge, comfort and development practices...
TwinkleH1od has joined #ruby
<platzhirsch> now I need to craft this gem of a thought into a tweet.
<workmad3> platzhirsch: so it's kinda a tool, but only if you extend 'tool' to mean an entire mode of thinking :)
ryanuber has joined #ruby
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gtc|ghost has joined #ruby
ctp has quit [Read error: Connection reset by peer]
jedinerd has quit [Read error: Connection reset by peer]
juo has quit [Read error: Operation timed out]
Killerkeksdose_ has quit [Read error: Operation timed out]
marius has quit [Read error: Operation timed out]
d-snp has quit [Read error: Operation timed out]
dazeddev has quit [Read error: Operation timed out]
TommyBotten has quit [Read error: Operation timed out]
ccooke has quit [Read error: Operation timed out]
yan_ has quit [Read error: Operation timed out]
TwinkleHood has quit [Read error: Operation timed out]
kwertie has quit [Read error: Operation timed out]
dwarder has quit [Read error: Operation timed out]
fflush has quit [Read error: Operation timed out]
bhaak has quit [Read error: Operation timed out]
virtualize has quit [Read error: Connection reset by peer]
bhaak has joined #ruby
gtc has quit [Read error: Operation timed out]
d-snp has joined #ruby
<workmad3> platzhirsch: or maybe you just go for the simpler metaphor - pick the right toolbox for your task
kwertie has joined #ruby
fflush has joined #ruby
RaCx has quit [Ping timeout: 272 seconds]
Gate has quit [Read error: Operation timed out]
ryanuber has quit [Client Quit]
ryanuber has joined #ruby
<workmad3> or hell... prepare the right toolbox for your task...
m104 has quit [Quit: bye]
Thana` has joined #ruby
Thana` has joined #ruby
Thana` has quit [Changing host]
virtualize has joined #ruby
Gate has joined #ruby
Gate has quit [Changing host]
Gate has joined #ruby
<platzhirsch> no, the toolbox doesn't exist. It means "The coding is the toolbox"
TommyBotten has joined #ruby
yan_ has joined #ruby
<platzhirsch> Like, The Journey is the destination
jrist has joined #ruby
ccooke has joined #ruby
dwarder__ has joined #ruby
<workmad3> platzhirsch: I was more getting at the metaphor that the toolbox is language + ecosystem + knowledge/practices etc
marius has joined #ruby
<platzhirsch> workmad3: ^^ of course, just wanted to derail the discussion
marius is now known as Guest53591
<workmad3> platzhirsch: also, wasn't The Journey an 80's pop band?
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
paul__k has joined #ruby
<workmad3> platzhirsch: heh :) you were trying to get all zen on me? :P
<platzhirsch> \o/
headius_ is now known as headius
ryanuber has quit [Client Quit]
bean has joined #ruby
ryanuber has joined #ruby
nomenkun has quit [Remote host closed the connection]
RaCx has joined #ruby
<workmad3> platzhirsch: mu you :P
<platzhirsch> Tweet has been crafted and published to the internet. Sorry. no character's left for attribution workmad3 ... :[
<olivier_bK> how cna i do in ruby for read file send data to csv file ?
juo has joined #ruby
jbueza has quit [Quit: Textual IRC Client: www.textualapp.com]
paul__k is now known as paul_k
Killerkeksdose has joined #ruby
<workmad3> platzhirsch: link? :)
bcz has quit [Ping timeout: 374 seconds]
phipes has joined #ruby
dazeddev has joined #ruby
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
iamdoo2 has joined #ruby
Mon_Ouie has quit [Ping timeout: 250 seconds]
interactionjaxsn has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
burlyscudd has quit [Quit: Leaving.]
jrist has quit [Ping timeout: 250 seconds]
Hanmac has joined #ruby
Thana` has left #ruby ["ɯlɐɔ uı ʞɹoʍ oʇ ƃuıoƃ"]
rm_ has quit [Remote host closed the connection]
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Hanmac1 has quit [Ping timeout: 246 seconds]
mark_locklear has quit [Ping timeout: 246 seconds]
<platzhirsch> who is Austen Gary, I reckon not workmad3 :P
nszceta has quit [Remote host closed the connection]
iamdoo2 has quit [Ping timeout: 272 seconds]
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
parduse has quit []
parduse has joined #ruby
bean has joined #ruby
parduse has quit [Changing host]
parduse has joined #ruby
phipes has quit [Remote host closed the connection]
enape_101 has joined #ruby
gomix has quit [Ping timeout: 265 seconds]
<platzhirsch> well I guess this was random
zachallett has joined #ruby
Xuisce1 has quit [Ping timeout: 245 seconds]
krisbulman is now known as krisbulman|otp
jonr22 has quit [Remote host closed the connection]
jonr22 has joined #ruby
decoponyo has joined #ruby
TripTastic has joined #ruby
timelord_cout is now known as cout
_gmi_ has joined #ruby
dangerousdave has joined #ruby
decoponio has quit [Read error: Connection reset by peer]
forced_request has quit [Read error: Connection reset by peer]
JBreit has quit [Read error: Connection reset by peer]
AlSquirrel has joined #ruby
nomenkun has joined #ruby
AlSquire has quit [Read error: Connection reset by peer]
froy has joined #ruby
Maitiu has joined #ruby
Tai has joined #ruby
Spami has joined #ruby
forced_request has joined #ruby
saarinen has quit [Quit: saarinen]
burlyscudd has joined #ruby
aspires has joined #ruby
jonr22_ has joined #ruby
v0n has quit [Ping timeout: 250 seconds]
[gmi] has quit [Ping timeout: 250 seconds]
mocfive has joined #ruby
jonr22 has quit [Read error: Connection reset by peer]
v0n has joined #ruby
<platzhirsch> The engineering manager at Groupon favourited this tweet. He should hire me
carraroj has joined #ruby
<platzhirsch> Job interviews obsolete, obviously
enebo has quit [Quit: enebo]
angusigu1ss has joined #ruby
banister has joined #ruby
ohcibi_ is now known as ohcibi
aspires has quit [Client Quit]
jrist has joined #ruby
poulson has quit [Ping timeout: 272 seconds]
aspires has joined #ruby
glebe has joined #ruby
nhhagen has joined #ruby
mikepack_ has joined #ruby
klaut has quit [Remote host closed the connection]
aspires has quit [Remote host closed the connection]
aspires has joined #ruby
poulson has joined #ruby
e^0 has quit [Quit: WeeChat 0.4.1]
wallerdev has joined #ruby
<workmad3> platzhirsch: a world where people are hired from tweets? sounds scary (I don't tweet much)
mehlah has quit [Quit: Leaving...]
bubu has quit [Read error: Connection reset by peer]
angusigu1ss has quit [Ping timeout: 272 seconds]
nanoyak has joined #ruby
enebo has joined #ruby
<platzhirsch> Unfortunately, you are right. Ok then, back to my coding interview questions
mikepack_ has quit [Ping timeout: 250 seconds]
<atmosx> the RPi is awesome, I mean ti's a art... but when compiling shit on it, I wanna break it into pieces
<atmosx> it takes forever
<atmosx> and now I need to wait for sequel to finnish and THEN install sqlite3 ... which will compile (argh!)
ramblex has quit [Remote host closed the connection]
danman has joined #ruby
tauebel has quit [Quit: Leaving.]
tauebel has joined #ruby
philcrissman has quit [Ping timeout: 240 seconds]
fella6s has quit [Read error: Connection reset by peer]
timonv has quit [Ping timeout: 250 seconds]
snath has joined #ruby
Fire-Dragon-DoL has joined #ruby
failshell has quit []
rickruby has quit [Remote host closed the connection]
einarj has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 245 seconds]
olivier_bK has quit [Ping timeout: 245 seconds]
dkamioka has joined #ruby
w1zeman1p has joined #ruby
jonr22_ has quit [Remote host closed the connection]
mlpinit has quit [Remote host closed the connection]
rootshift has joined #ruby
zoscoy has joined #ruby
jonr22 has joined #ruby
Wolland has joined #ruby
jonr22 has quit [Remote host closed the connection]
jonr22 has joined #ruby
<platzhirsch> atmosx: Hah, yeah when compiling something on it, the RPi is really is a time machine
<platzhirsch> I installed GNU Screen for compiling something on it, because I didn't want to keep the SSH connection up
SCommette_ has joined #ruby
<atmosx> platzhirsch: yeah makes sense. I use tmux... I should install tmux come to think of it
e^0 has joined #ruby
alekst has joined #ruby
SCommette has quit [Ping timeout: 276 seconds]
SCommette_ is now known as SCommette
corehook has joined #ruby
Uranio has joined #ruby
troessner has quit [Quit: Leaving]
RaCx has quit [Quit: Computer has gone to sleep.]
<atmosx> nginx now support spdy
<Uranio> hi, for devel ruby: emacs or vim?
RoryHughes has joined #ruby
enebo has quit [Ping timeout: 250 seconds]
<MrZYX> Uranio: what you like best
<atmosx> I don't get it https://put.io/#learn
<atmosx> Uranio: vim for the win
enebo has joined #ruby
* platzhirsch parries Uranio's troll attempt
<atmosx> Uranio: can you use emacs?
tylersmith has joined #ruby
<atmosx> Uranio: I mean like *Really use it*
<Uranio> MrZYX: I just used until today Vim, but many people tell that emcas would be better for me
<MrZYX> ignore them
<Uranio> atmosx: define really
<platzhirsch> Uranio: come on man :P
<tobiasvl> vim++
<platzhirsch> That's like drinking coffee and people come to tell you drink tea, it's better for you.
bigkevmcd has quit [Quit: Ex-Chat]
nobitanobi has joined #ruby
bradhe has quit [Remote host closed the connection]
<Uranio> platzhirsch: please, people, where could I ask a question like this
n88 has joined #ruby
bigkevmcd has joined #ruby
decoponyo has quit [Quit: Leaving...]
<platzhirsch> Uranio: You can google for Vim vs. Emacs, advantages, disadvantages
bradhe has joined #ruby
<tobiasvl> but when it comes down to it
<Uranio> platzhirsch: I beng using mcedit for a lon time, until somebody suggest me use Vim, due the syntax
<tobiasvl> it's a religion
<atmosx> platzhirsch: vim doesn't have disadvantages (c)
queequeg1 has joined #ruby
whatasunnyday has joined #ruby
<Uranio> the better for me would be the best for ruby syntax
senj has quit [Quit: Sleep Now]
<platzhirsch> I reckon that Vim is favored in the Ruby community, so maybe the plugin support is better
<Uranio> platzhirsch: THATS is a good answer
<Uranio> vim is in the ruby side, more than emacs
<platzhirsch> I don't know if it's true
<Uranio> it is correct?
<MrZYX> Uranio: again, there isn't the objectively best editor, this has been proven by the tons of debate around that topic. There only is the best editor for you
<Uranio> oh...
whatasunnyday has quit [Client Quit]
<atmosx> objectively, vim and emacs are superior to anything else.
<Uranio> MrZYX: thinking like that I would be writing a ton of code using mcedit with only one buffer
<platzhirsch> The question is really just a specialized formulation of the problem "What is the meaning of life"
<atmosx> platzhirsch: 42?
joaobatalha has joined #ruby
<tobiasvl> atmosx: on that, if nothing else, all emacs and vim users can agree
<atmosx> tobiasvl: word
<platzhirsch> No, to find the meaning for your life yourself. Tailored :P
<MrZYX> Uranio: you change and the market changes, so of course try something new every couple of years. Doesn't change the fact that there's not the perfect fit for everybody
senj has joined #ruby
<MrZYX> there's only the perfect fit for you
RaCx has joined #ruby
<MrZYX> if anything
<platzhirsch> now I wonder whether I should use tmux over GNU Screen
corehook has quit [Quit: Leaving.]
daju has quit [Remote host closed the connection]
<Uranio> platzhirsch: I agree
bradhe has quit [Ping timeout: 245 seconds]
<Uranio> [0] 0:#ruby* 1:vim- 3:irb
<platzhirsch> I use terminator
<platzhirsch> pew pew --o ---o
kristiandelay has joined #ruby
<havenwood> If you use vim, emacs is better. If you use emacs, vim is better. Nothing wrong with Sublime, TextMate or LightTable when you're not playing golf.
aloitius1 has joined #ruby
<Uranio> havenwood: or genay, but prefer the console
endash has joined #ruby
sk87 has joined #ruby
<Uranio> geany*
RoryHughes has quit []
tyl has quit [Quit: Computer has gone to sleep.]
tyl has joined #ruby
aspires has quit []
dachi_ has left #ruby [#ruby]
bubbajones has joined #ruby
w1zeman1p has quit [Remote host closed the connection]
dachi_ has joined #ruby
Es0teric has quit [Ping timeout: 272 seconds]
Xuisce1 has joined #ruby
arietis has joined #ruby
vlad_starkov has joined #ruby
jrobertf_ has joined #ruby
Es0teric has joined #ruby
wgosling has joined #ruby
freerobby has joined #ruby
SCommette has quit [Quit: SCommette]
bradhe has joined #ruby
GS is now known as GS_afk
krnflake has quit [Ping timeout: 252 seconds]
aspires has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
nhhagen has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
mikesplain has joined #ruby
mikesplain has quit [Client Quit]
mr_red has joined #ruby
Lewix has joined #ruby
momomomomo has joined #ruby
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
bricker_ has joined #ruby
jrobertfox has quit [Ping timeout: 272 seconds]
alekst has quit [Quit: Leaving...]
bricker__ has joined #ruby
bricker__ is now known as bricker`work
jlebrech has quit [Quit: Konversation terminated!]
Tai has quit [Ping timeout: 246 seconds]
mercwithamouth has joined #ruby
krnflake has joined #ruby
<platzhirsch> How would you check if two intervals overlap? I have on that uses an ordered series of if's but I don't like it. Is it possible with min and max?
e^0 has quit [Quit: WeeChat 0.4.1]
tyl has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
aces1up9939 has joined #ruby
<aces1up9939> can someone help me with this regex? http://rubular.com/r/Ge4vhr8S7i
tyl has joined #ruby
TMM has quit [Ping timeout: 246 seconds]
<aces1up9939> i'm trying to get it so just the first </B> is captured.
heidi has joined #ruby
vlad_starkov has joined #ruby
<aces1up9939> the text between ex I don't want it to be greedy somehow.
carraroj has quit [Quit: Konversation terminated!]
carraroj has joined #ruby
<MrZYX> aces1up9939: .*?
<momomomomo> aces1up9939: So, you want to collect between <li> all the way up to, but not including </b>?
carraroj has quit [Client Quit]
enape_101 has quit [Ping timeout: 250 seconds]
timonv has joined #ruby
carraroj has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
<momomomomo> aces1up9939: just wrap the first part in parentheses and use the first/second match groups
vlad_starkov has joined #ruby
jedimind has quit [Disconnected by services]
jedimind has joined #ruby
alvaro_o has joined #ruby
<aces1up9939> momomomomo hrmm thought thats what i was doing.
jedimind has quit [Disconnected by services]
tyl has quit [Client Quit]
saarinen has joined #ruby
mansi has joined #ruby
n00b has joined #ruby
jprovazn_afk is now known as jprovazn
<MrZYX> aces1up9939: my answer wasn't a question: (.*?)
<aces1up9939> <li><B>(.*?)<\/B>
yedimind has joined #ruby
<MrZYX> yes
<aces1up9939> yes that worked, thanks.
tyl has joined #ruby
n00b is now known as Guest6005
bradhe has quit [Remote host closed the connection]
<Guest6005> installed ruby as root on ubuntu, get access errors for others - how can i change access perms without reinstalling?
<aces1up9939> so the greedy as to come before the match you want?
<aces1up9939> ok i thought it was supposed to come after.
<mjc_> Guest6005: you should use something like chruby or rbenv or rvm
bradhe has joined #ruby
nichtdiebohne has quit [Quit: Linkinus - http://linkinus.com]
<mjc_> I'm personally fond of chruby but any of them will do
<MrZYX> aces1up9939: adding ? after + or * makes that operators non-greedy
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
nateberkopec has quit [Ping timeout: 240 seconds]
<aces1up9939> MrZYX thanks.
heidi has quit [Quit: Leaving.]
karl___ has joined #ruby
fieldfirst has quit [Ping timeout: 250 seconds]
fgo has joined #ruby
<aces1up9939> MrZYX what string match would i use to loop through those matches? str.match?
<MrZYX> I'd use scan
<Guest6005> mjc_ rvm installed as root too :/
mansi has quit [Ping timeout: 245 seconds]
<mjc_> Guest6005: doesn't rvm explicitly say not to do that?
<karl___> what is the best way to test if a string contains any of several other strings? I'm currently using a bunch of || conditionals in a row, e.g. if stringVariable =~ /foo/ || stringVariable =~ /bar/ ||
<aces1up9939> cool thanks.
<tobiasvl> karl___: (foo|bar) ?
iamdoo2 has joined #ruby
bradhe has quit [Ping timeout: 250 seconds]
fgo has quit [Remote host closed the connection]
Wolland has quit [Ping timeout: 246 seconds]
<karl___> tobiasvl: could you give an example?
jzig has quit [Remote host closed the connection]
jzig has joined #ruby
rm_ has joined #ruby
robmozart_ has quit [Ping timeout: 264 seconds]
<karl___> ah i see
<karl___> nvm
<karl___> thank you :)
ggherdov_ has quit [Ping timeout: 264 seconds]
blooberr___ has quit [Ping timeout: 264 seconds]
robmozart_ has joined #ruby
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
RaCx has quit [Quit: Computer has gone to sleep.]
iamdoo2 has quit [Ping timeout: 250 seconds]
TMM has joined #ruby
wgosling has left #ruby ["Konversation terminated!"]
blooberr____ has joined #ruby
Guest34094 is now known as dreamchaser
elaptics is now known as elaptics`away
DrShoggoth has quit [Remote host closed the connection]
tyl has quit []
Xuisce1 has quit [Ping timeout: 245 seconds]
havenwood has quit []
zz_jrhorn424 is now known as jrhorn424
Hiall has quit [Ping timeout: 245 seconds]
maroloccio has quit [Ping timeout: 265 seconds]
reset has joined #ruby
rm_ has quit [Ping timeout: 272 seconds]
tyl has joined #ruby
lmickh has quit [Remote host closed the connection]
danshultz has quit [Remote host closed the connection]
danshultz has joined #ruby
havenwood has joined #ruby
gyre008 has quit [Remote host closed the connection]
danshultz has quit [Remote host closed the connection]
ggherdov_ has joined #ruby
danshultz has joined #ruby
<platzhirsch> lpvn: so where is the solution to my interview question I have requested
loc22 has joined #ruby
ktosiek has joined #ruby
s2013_ has joined #ruby
axsuul has joined #ruby
mikepack has quit [Remote host closed the connection]
Evenix has quit [Ping timeout: 250 seconds]
<axsuul> someone please recommend me a gem to build a CLI tool with ruby
<havenwood> platzhirsch: gem install job_interview
bradhe has joined #ruby
<platzhirsch> nevermind, did it myself https://gist.github.com/platzhirsch/689f0e8a4ba2f0fb7ae1
bricker`work has quit [Quit: leaving]
<platzhirsch> axsuul: trollopt
<platzhirsch> ah CLI, nevermind
<platzhirsch> well, do it yourself. Because writing a repl in Ruby is awfully easy, isn't it
klaut has joined #ruby
s2013 has quit [Ping timeout: 246 seconds]
angusigu1ss has joined #ruby
Tai has joined #ruby
aces1up9939 has quit []
blaxter has quit [Quit: foo]
SCommette has joined #ruby
bricker_ has quit [Ping timeout: 250 seconds]
jedinerd_ has quit [Ping timeout: 246 seconds]
enape_101 has joined #ruby
mark_locklear has joined #ruby
thesheff17 has joined #ruby
yfeldblum has joined #ruby
<aloitius1> Hey, all. I'm tearing my hair out trying to figure out why I'm getting a "cannot load such file -- mygem" where "mygem" is a gem I have on a local gitlab repo. The gem is installed. From RubyMine (though it fails both in RM and on the commandline) I can ctrl+click the "require mygem" and see the source code in my ~/.rvm/gems/ruby-2.1.0 directory. The only thing I see that's different from other gems I'm able to 'require' successfully is that the other gems
<aloitius1> are in the 2.1.0/gems or 2.1.0/lib directory, but my gem is in the 2.1.0/bundler/gems.
Evenix has joined #ruby
ephemerian has joined #ruby
havenwood has quit [Ping timeout: 250 seconds]
angusigu1ss has quit [Ping timeout: 272 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
<lpvn> platzhirsch: lol will you hire me?
<MrZYX> aloitius1: so you added your gem to your Gemfile?
<aloitius1> Yep. Added, bundle-installed...
<platzhirsch> lpvn: What? Why? ^^
wildroman2 has quit [Ping timeout: 246 seconds]
<MrZYX> aloitius1: so make sure you have required bundler/setup first or to run your commands with bundle exec
sambao21 has joined #ruby
<aloitius1> MrZYX: Crap. That's it. I forget that way more often than I should. Thanks.
pietr0 has quit [Quit: pietr0]
cpruitt has quit [Quit: cpruitt]
interactionjaxsn has joined #ruby
cpruitt has joined #ruby
yfeldblum has quit [Remote host closed the connection]
ghr has joined #ruby
noop has quit [Ping timeout: 246 seconds]
bahar has quit [Changing host]
bahar has joined #ruby
pietr0 has joined #ruby
sambao21 has quit [Ping timeout: 245 seconds]
Al___ has quit [Quit: Al___]
rootshift has joined #ruby
loc22 has quit [Ping timeout: 245 seconds]
lucasallan has joined #ruby
kirun has joined #ruby
towskidistress has joined #ruby
towskidistress has quit [Max SendQ exceeded]
mikepack has joined #ruby
ph8 has quit [Changing host]
ph8 has joined #ruby
towskidistress has joined #ruby
towskidistress has quit [Max SendQ exceeded]
gomix has joined #ruby
d00n has joined #ruby
krnflake has quit [Ping timeout: 252 seconds]
towskidistress has joined #ruby
towskidistress has quit [Max SendQ exceeded]
yedimind has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
RoryHughes has joined #ruby
whatasunnyday has joined #ruby
w1zeman1_ has joined #ruby
towskidistress has joined #ruby
sLi- has quit [Quit: EliteBNC - http://elitebnc.org (Auto-Removal: idle account/not being used)]
towskidistress has quit [Max SendQ exceeded]
rezzack has joined #ruby
towskidistress has joined #ruby
BackEndCoder has quit [Read error: Connection reset by peer]
joaobatalha has left #ruby [#ruby]
amh345 has quit [Write error: Broken pipe]
starfox21 has joined #ruby
<starfox21> 9
<waxjar> 8
pranny has joined #ruby
<starfox21> sorry about that :)
BackEndCoder has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
Sc0rp10n has joined #ruby
pfg has joined #ruby
krnflake has joined #ruby
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<platzhirsch> lpvn: ah ok, because I said requested the answer to the question
devinus_ has joined #ruby
whatasunnyday has quit [Quit: whatasunnyday]
nanoyak has joined #ruby
pranny has quit [Client Quit]
alekst has joined #ruby
whatasunnyday has joined #ruby
<Sc0rp10n> hey guys
<lpvn> platzhirsch: I'll try to solve it, I'm a bit rusty in the algorithm department though hahaha
devinus_ is now known as devinus
<Sc0rp10n> can anyone give me a good resource to start TDD with rails?
workmad3 has joined #ruby
<Sc0rp10n> I've been developing apps in rails for a while but never looked into TDD
<starfox21> hey guys, I have a csv with about 500k sites. I want to fetch the homepage of those 500k sites and grep for certain keywords. I was thinking of building a multithreaded script to do this. What are some ruby libraries that I could be useful for doing this?
RaCx has joined #ruby
DrShoggoth has joined #ruby
poulson has quit [Remote host closed the connection]
mehlah has joined #ruby
<platzhirsch> lpvn: well I have a reference solution if you want :P it's really not a hard problem, but what interview question really is
Emmanuel_Chanel has quit [Ping timeout: 252 seconds]
krisbulman|otp is now known as krisbulman
pranny has joined #ruby
<MJBrune> please give me your years of experience in windows s-kill.
philcrissman has joined #ruby
Emmanuel_Chanel has joined #ruby
<MJBrune> "umm windows as skill?"
<MJBrune> "yes windows skl"
<MJBrune> OOOH MS SQL?
<MJBrune> "yes"
<lpvn> platzhirsch: yeah, it's easy to see a solution to that challenge but writing code to solve it is something that takes some time if you're not used to it
<MJBrune> god recruiters are horrid
<centrx> stay away
pzula has quit [Ping timeout: 246 seconds]
<MJBrune> from recruiters?
deens has joined #ruby
havenwood has joined #ruby
<centrx> From that one
<platzhirsch> lpvn: yeah, took me now some hours to finish the code. It was a question in a phone interview
shanlar has quit [Quit: Be back later]
<platzhirsch> at least I am killing the ghost from the past
<MJBrune> I'd like to but sometimes you have to go through off-shore recruiters to get good local jobs
yfeldblum has joined #ruby
lfox has joined #ruby
burlyscudd has quit [Quit: Leaving.]
lfox has quit [Max SendQ exceeded]
<lpvn> platzhirsch: did it really take some hours for you to finish the code or you're being sarcastic?
Vivekananda has quit [Ping timeout: 272 seconds]
RaCx has quit [Quit: Computer has gone to sleep.]
shanlar has joined #ruby
<pontiki> hi folks
<MJBrune> hey pont
<platzhirsch> lpvn: no really. I started at 13.00 o'clock. I haven't worked all the time and pursued a stupid solution while doing so
zoscoy has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
<platzhirsch> 13.00 o'clock is thick. so at 13.00
dangerousdave has joined #ruby
RaCx has joined #ruby
<shevy> yeah we git it
<shevy> 13.00
<platzhirsch> I would say 2h of working straight
<shevy> that's your time to shine
<shevy> hey pontiki, ponbiki is still in the house!
Hobogrammer has quit [Ping timeout: 246 seconds]
RaCx has quit [Client Quit]
<pontiki> i have no idea who ponbiki is
<shevy> hehe
shanlar has quit [Client Quit]
<MJBrune> platzhirsch: the most important thing in phone interviews is that you want to explain your thought process. Even if you are wrong or don't know exactly how from the very second it's asked if you figure it out or get the solution mostly done on the spot then the rest can be written off as nerves and the fact you aren't a computer.
<shevy> b for brother brogrammer!!!
<platzhirsch> pontiki: she's a relative of you
shanlar has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shevy> that makes pontiki happy to know
<shevy> relatives all of the world
<shevy> over, rather
mlpinit has joined #ruby
banister has joined #ruby
<platzhirsch> MJBrune: good advice, I have learned that. It's not only important to communicate your thought process, but it's also a necessity to shift your problem solving mode from silently thinking and doodling to talking out loud
vlad_sta_ has joined #ruby
<platzhirsch> I had a interview witha Microsoft recruiter, he gave me two brain teaser and in one he really got me through the question to the final solution with small bits of help.. That was the first time
RaCx has joined #ruby
RaCx has quit [Client Quit]
petey has joined #ruby
_gmi_ has quit [Quit: Leaving]
vlad_sta_ has quit [Remote host closed the connection]
[gmi] has joined #ruby
vlad_sta_ has joined #ruby
<MJBrune> platzhirsch: shouldn't be a big issue as long as you don't stumble over a ton of stuff :)
claymore has quit [Excess Flood]
Shidash has joined #ruby
<platzhirsch> MJBrune: well the good thing is, you can get better at those things.
claymore has joined #ruby
RaCx has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
RaCx has quit [Client Quit]
<MJBrune> yeah. A lot of technical interviews are simply personality under stress.
yedimind has joined #ruby
dkamioka has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
shadoi has joined #ruby
vlad_starkov has quit [Ping timeout: 245 seconds]
bean has joined #ruby
<platzhirsch> so far at least the most were really nice chats, I enjoyed them. But I never excelled in the coding stuff at the end, so it really never came to a second Skype interview
Lewix has joined #ruby
SHyx0rmZ has joined #ruby
<platzhirsch> so more practice, maybe 50-100 question practicing :P
<platzhirsch> These were always jobs abroad, so naturally they put the bar higher
<platzhirsch> #meritocracy
rmorello has quit [Quit: Textual IRC Client: www.textualapp.com]
<momomomomo> the toughest part of technical interviews for me is if they have you hop into a random (usually sloppy/ugly) code base, and try to solve some made up problems; helping people on here / SO / reading through other people's source code helps quite a bit platzhirsch
s2013_ is now known as s2013
<Tai> This is good advice.
* Tai starts taking notes.
popl has quit [Quit: Touch the frog.]
<platzhirsch> momomomomo: Wow, I have heard of that, but never occurred to me. I read that some do it to get some work done for free
zeade has joined #ruby
sailias has quit [Ping timeout: 272 seconds]
iamdoo2 has joined #ruby
<platzhirsch> Tai: If you know stuff about a language's core library, like implementation of data structures, utility functions, sorting, etc. and you can communicate that knowlegde in an interview,.. absolute burner, they will love you :P
rmorello has joined #ruby
RaCx has joined #ruby
<momomomomo> platzhirsch: I had one with a company that had some old, ugly, code which solved a made-up problem; then they'll throw a wrench in the code and have you fix various aspects of it
stkowski has joined #ruby
<MJBrune> that seems kind of a good system
<platzhirsch> Does it? Sounds awful ^^
Hobogrammer has joined #ruby
<platzhirsch> At a friend's company they let you implement a small application during the day
maasha has joined #ruby
aloitius1 has quit [Ping timeout: 245 seconds]
<dorei> is stdlib's dbm the only option for handling berkley db files?
claymore has quit [Ping timeout: 250 seconds]
zeeraw has joined #ruby
zachallett has quit [Remote host closed the connection]
<MJBrune> platzhirsch: eh I mean its moer realistic of what you will be doing
tjad has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<MJBrune> working with outdated code bases to implement new fixes/features
mikepack_ has joined #ruby
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
recurrence has joined #ruby
RaCx has quit [Client Quit]
<d00n> the best ones : here solve this problem. Here is a white board, and a marker. Pick a language you like. You have 15 minutes. go… Fun Fun Fun.
<platzhirsch> Yeah, but it's the same problem, you have to act directly :)
claymore has joined #ruby
iamdoo2 has quit [Ping timeout: 250 seconds]
ktosiek_ has joined #ruby
zeeraw has quit [Client Quit]
<MJBrune> d00n: yeah those are simple.
<d00n> yeah when it is fizz buzz ;)
DanKnox_ is now known as DanKnox
ktosiek has quit [Ping timeout: 245 seconds]
<MJBrune> fizzbuzz is so easy
loc22 has joined #ruby
<momomomomo> but can you do it… in brain fuck?
<Tai> hey, since we're talking about jobs, i'm kinda new to ruby and trying to learn it so i can get away from IT into doing like web development
nanoyak has quit [Read error: Connection reset by peer]
<Tai> anyone have any advice?
<centrx> Learn Ruby
pzula has joined #ruby
nanoyak has joined #ruby
<centrx> ON Rails!
<Tai> haha
<platzhirsch> IT is not Web Development?
<MJBrune> ruby, C++, Javascript and everything else.
<platzhirsch> literally
jlast_ has joined #ruby
mansi has joined #ruby
loc22 has quit [Client Quit]
<d00n> Tai: scotch?
burlyscudd has joined #ruby
<Tai> well, I'd like to spend less time repairing printers
<platzhirsch> Web Development is not a subset of IT?
<platzhirsch> oh
jlast has quit [Write error: Broken pipe]
<Tai> that's where i was going with that
shadoi has quit [Quit: Leaving.]
tauebel has quit [Write error: Broken pipe]
vlad_sta_ has quit [Write error: Broken pipe]
<momomomomo> platzhirsch: not typically when talking in terms of what people think of when you say 'IT'
<momomomomo> platzhirsch: Usually, IT is synonymous with 'help desk'
<Tai> right now I do like, mostly freelance jobs for offices that have shit break
Spami has joined #ruby
<wmoxam> Tai: do you have sys admin/network admin experience?
<platzhirsch> oh ok
deens has quit [Remote host closed the connection]
<Tai> not a lot wmoxam
<wmoxam> Tai: if so you should look into puppet/chef
<platzhirsch> Tai: shit man, yeah buy a draisine, and pick a laptop and some nice rails
dubios has quit [Ping timeout: 258 seconds]
<d00n> yeah was going to say devops could be a good path in from traditional "IT"
jlast_ has quit [Read error: Connection reset by peer]
nanoyak has quit [Client Quit]
jlast has joined #ruby
tjad has joined #ruby
mansi has quit [Read error: Connection reset by peer]
<MJBrune> let me ask this, is it stupid that I know ruby but in interviews I ask to use C++ as its my core language. Unless something is ruby specific.
yfeldblum has quit [Remote host closed the connection]
<maasha> What is the story of autoload. smart -> dead -> ?
mikepack_ has quit [Ping timeout: 245 seconds]
<wmoxam> MJBrune: depends on the context :p
<Tai> I'll look into it d00n
<Tai> thanks
<centrx> maasha, The objection to it was fixed. That was my conclusion
<Tai> but yeah, right now I'm just spending all my free time doing ruby and ruby on rails and github
<maasha> centrx: and that was thread-unsafe?
<centrx> maasha, Right
dubios has joined #ruby
<d00n> Tai: if you don't have lots of sysadmin experience, Devops might be rough as there are couple different disciplines there.
<platzhirsch> MJBrune: I nearly always got the choice to pick my own language. I think its important to know language details when you write them as your strengths on the resume
zoscoy has joined #ruby
<Tai> okay
Markvilla has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<d00n> MJBrune: yeah depends on context and what I need to. Depending upon problem I'll fall back to perl if I need to (Shudder). Unless of course the job is specifically looking for Ruby programmers ..
nanoyak has joined #ruby
<MJBrune> platzhirsch: right, I know ruby well enough to do almost anything but C++ is my core and my default when I get nervous
<platzhirsch> MJBrune: I only was asked to do something in C for pointer stuff, well..
<platzhirsch> third and last interview at MongoDB *sob*
<Tai> I guess I just wanted to know I wasn't wasting my time. Like, if I worked hard and learned the stuff, I could actually get a job with it, even though I don't have a CS degree.
<MJBrune> is mongo bad?
<d00n> working hard and learning stuff is never a waste of time.
<maasha> centrx: thing is, that if I google "ruby autoload" I get some hits on articles from 2009 and then the 2011 story saying that autoload will be dead. Nothing tells me to autoload or not.
<shevy> maasha matz does not approve of autoload
blackmesa has joined #ruby
dik_dak has joined #ruby
<platzhirsch> MJBrune: Bad? Bad how
<maasha> shevy: why?
<platzhirsch> d00n: HUSTLING
baroquebobcat has joined #ruby
<shevy> maasha dunno
<maasha> shevy: and when was that?
<centrx> maasha, The bug was closed
<centrx> That autoload deprecated is old news, not
<centrx> There have been two ruby release since then
<shevy> "But autoload itself has fundamental flaw under multi-thread environment."
<MJBrune> platzhirsch: you said third and last interview was with mongodb sob. Is mongo bad?
<Tai> okay, thanks d00n
<centrx> shevy, That was fixed
<maasha> shevy: yup, that is the 2011 story I mentioned.
<platzhirsch> MJBrune: no, I was bad
angusigu1ss has joined #ruby
<shevy> yep, gone for good it is
freerobby has quit [Quit: Leaving.]
<platzhirsch> I screwed up
GS_afk is now known as GS
<maasha> centrx: shevy I find it strange that there is not a ton of recent google hits ruby and autoload.
Lewix has quit [Remote host closed the connection]
<shevy> why would there be? I never needed it in all my years
Lewix has joined #ruby
<MJBrune> platzhirsch: oh yeah I don't use mongo but its cool
<maasha> shevy: ah, I see. me bad :o)
<shevy> I am trying to split up my requires into sub-functionality
freerobby has joined #ruby
<shevy> require 'foo/module' <--- fetch standalone stuff into a proper module
<shevy> require 'foo/autoinclude' <--- autoinclusion
<shevy> or just plain require 'foo' for the default (most oftenly used way)
<d00n> Tai: But to answer your question there seems to be lots of places looking for coders . and the learning to code/script wont hurt in other aspects of IT,. So win/win in my book
<platzhirsch> MJBrune: so how do you know it's cool? :P
RaCx has joined #ruby
* Tai nods
Wolland has joined #ruby
<Tai> i was looking at a few of the like, become a ruby programmer in 12 weeks schools. what do you think of those?
craigp has quit [Remote host closed the connection]
<MJBrune> platzhirsch: lol because I know basics of it
<momomomomo> Tai: I'm not a fan
<MJBrune> Tai: typically they are bad
kate_r has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
bradhe has quit [Remote host closed the connection]
<platzhirsch> MJBrune: no it's written in C++ and JavaScript, not Basic
<centrx> maasha, It is not deprecated in 2.1.0, it is still used in Rails, the bug for it is closed as fixed (https://bugs.ruby-lang.org/issues/921), and there is another forum thread from a bigwig later saying "Matz changes his mind sometimes, and the autoload thread-safe thing is fixed"
nanoyak has quit [Quit: Computer has gone to sleep.]
<Tai> well that answers my question then = )
agjacome has joined #ruby
Xuisce1 has joined #ruby
<momomomomo> Tai: I think they can teach you a framework, somewhat, in 12 weeks, but don't think they'll be everything they promise
<Tai> it would be better just to learn on my own and save the $10k?
claymore has quit [Ping timeout: 272 seconds]
bradhe has joined #ruby
<MJBrune> platzhirsch: lol
<momomomomo> Tai: I'd recommend reading http://www.manning.com/black2/
<maasha> centrx: right. thanks.
<momomomomo> Tai: and then going through http://ruby.railstutorial.org/
<MJBrune> platzhirsch: I have a lot of experience with json and was told at an interview that mongo is like parsing json
enape_101 has quit [Ping timeout: 272 seconds]
<platzhirsch> lol
<d00n> Tai: mixed feelings. bootcamps can help, but all depends on how you are and your learning style. but I've been less than impressed with lots of them.
<Tai> i just started that ruby.railstutorial.org yesterday
<platzhirsch> That does only make an ass tiny bit sense
angusigu1ss has quit [Ping timeout: 245 seconds]
<Tai> good to know it's worth it
rmorello has quit [Quit: Textual IRC Client: www.textualapp.com]
nanoyak has joined #ruby
rmorello has joined #ruby
<momomomomo> Tai: it's free, and what I started with when looking at Rails
claymore has joined #ruby
clamstar has quit [Quit: ZNC - http://znc.in]
Wolland has quit [Ping timeout: 250 seconds]
aspires has quit []
wald0 has joined #ruby
bradhe has quit [Ping timeout: 250 seconds]
atraylen has joined #ruby
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
atraylen has quit [Read error: Connection reset by peer]
deens has joined #ruby
d00n has left #ruby [#ruby]
maasha has quit [Quit: Page closed]
zachallett has joined #ruby
Bira has quit [Remote host closed the connection]
Tai has quit [Ping timeout: 272 seconds]
aspires has joined #ruby
<platzhirsch> Tai left, that was rude
<shevy> nah
<shevy> just an IRC noob
<shevy> not everyone understands that on IRC we all idle to power
<platzhirsch> Just sucked all our knowledge down his/her throat and we got nothing
dkamioka has joined #ruby
<shevy> what would you have liked in exchange
<platzhirsch> *outcry*
<shevy> sex?
Czupa has joined #ruby
<platzhirsch> STDs
* apeiros must not make inappropriate joke…
Tai has joined #ruby
<platzhirsch> Speaking of the devil
mehlah has quit [Quit: Leaving...]
<MJBrune> so I use C++ mainly for my interviews so std:: comes up a lot
De`off has quit [Ping timeout: 252 seconds]
<centrx> MJBrune, You should choose which language to use based on the interviewer. C++ may either be impressive or too old-fashioned.
withnale has joined #ruby
<centrx> Ruby is impressive either way :)
<platzhirsch> Exactly, depends on the job
<MJBrune> centrx: well like my last interview was for a Ruby centric position
<shevy> matz disapproves of C++
<MJBrune> centrx: and Iused C++ and Ruby
<platzhirsch> Torvalds, too
<centrx> C++ autoloading is not thread-safe
<shevy> name someone who approves of C++
<centrx> Bjarne Stewstop
dkamioka_ has joined #ruby
<MJBrune> most people like C++
nanoyak has quit [Quit: Computer has gone to sleep.]
<shevy> other than your cat
<MJBrune> it has a lot of improvements from "the old fashion days"
<platzhirsch> lpvn: "Function that solves an interview question commonly known as platzhirsch's problem." LOL
hamakn has quit [Remote host closed the connection]
<lpvn> platzhirsch: naive beyound belief but it's the first thing I could come with lol
* Nilium likes C++.
<Nilium> C++11, anyway.
<MJBrune> C++11 is great.
<MJBrune> there is no other C++
<shevy> the higher the number the better
<platzhirsch> looks fucking impressive
w1zeman1_ has quit [Remote host closed the connection]
<Nilium> I'll be pretty happy if I don't have to use C++98 again.
<shevy> has C++11 finally removed the need for boost?
aspires has quit []
<havenwood> should do interview questions in blockly
<platzhirsch> Hanmac is a C++ cat
<MJBrune> shevy: basically
<shevy> havenwood no, in MMA fights
<shevy> winners are in, losers out
* Hanmac thought he was a fox
echevemaster has joined #ruby
<havenwood> shevy: blockly's dart output runs pretty fast
<shevy> platzhirsch but Hanmac is also insane :)
dkamioka has quit [Ping timeout: 250 seconds]
<Hanmac> shevy: yeah but only 50%
<shevy> dart? the language?
<Nilium> shevy: Depends on why you think you need boost, seeing as I never needed it
<havenwood> shevy: yeah, kinda fun to go through the project euler questions in blockly, running the code in dart
<shevy> Nilium you dont play wesnoth! :(
<shevy> povray wants boost as well
<havenwood> shevy: easier for non-programmers to visualize what is happening, tried the blockly maze?: https://blockly-demo.appspot.com/static/apps/maze/index.html?lang=en&level=10
<Hanmac> shevy WHY??? wesnoth is a funny game
DariusPHP has quit [Remote host closed the connection]
<shevy> Hanmac it was
<shevy> now it is just a behemoth
<shevy> Source (393.4MB)
<platzhirsch> lpvn: removes all the overlapping elements and inserts a new one, so pretty
<havenwood> shevy: like here's a simple euler, you can compile to JavaScript, Python or Dart: https://blockly-demo.appspot.com/static/apps/code/index.html#h9t87u
aspires has joined #ruby
<havenwood> shevy: and make your own blocks
jsilver has joined #ruby
dkamioka_ has quit [Ping timeout: 272 seconds]
<Hanmac> shevy i have seen bigger stuff ;P
<jsilver> Rooby: Gives programmers a funny little feeling inside
deens has quit [Remote host closed the connection]
<shevy> cool, I can drag that stuff
krisbulman is now known as [krisbulman]
<Nilium> No, I definitely don't play either of those things
<shevy> Hanmac you need to include something like that for designing GUI elements in rxw
<shevy> Nilium :(
<havenwood> shevy: ya, they click in place
<shevy> Nilium are you playing any games?
SHyx0rmZ has joined #ruby
<Nilium> Not at the moment.
mando_ has joined #ruby
jeanlinux has quit [Read error: Connection reset by peer]
ace_ has joined #ruby
<shevy> all those C++ coders have no more time for games
<Hanmac> shevy look at the size of the ns3-doc package ... "downloaded size: 1018MB, installed size: 1532MB"
<shevy> right Hanmac
<Nilium> I'm playing Disgaea 3 on and off, but that's about it
<Nilium> Mostly just building a compiler for a lisp-like language for my VM.
<shevy> wtf
<shevy> doc package
<shevy> how can you have 1 gig of doc
<Nilium> If wxWidgets is anything to go by, you totally can
<platzhirsch> lpvn: though it spends a bit of time with selecting and subtracting, but it's still O(n) and super readable
<Nilium> Also: lots of ascii art
w1zeman1p has joined #ruby
sailias has joined #ruby
einarj has joined #ruby
<shevy> Hanmac will show that
<shevy> (and documented)
<shevy> ((perhaps))
<shevy> once his bindings are complete
<Hanmac> shevy i should not need to worry about designing gui in rwx ... because rwx can use the xrc files from other editors just fine (its xml ;P )
<lpvn> platzhirsch: thanks (:
GS has quit []
nettoweb has joined #ruby
<platzhirsch> I thank you, at least I write the theoretically solution down into my Knowledge Book
<shevy> (((but I am unsure)))
burlyscudd has quit [Quit: Leaving.]
<lpvn> now I can join google lol
mando has quit [Ping timeout: 245 seconds]
<Hanmac> my binding might be compete before usa gets full democatic ,P
<platzhirsch> absolutely
<centrx> You mean like Athens
<Hanmac> Nilium: when you play games like that, do you like mangas?
<shevy> I never even heard of Disgaea 3, shows you how much I know these days
mando_ has quit [Ping timeout: 245 seconds]
<Nilium> I like anime and manga, but that's not the reason I got into Disgaea
<shevy> the girls are sexy
rubyracer has joined #ruby
<Nilium> I started playing Disgaea because I wanted a game like Final Fantasy Tactics and there's a shortage of tactical/strategy RPGs.
<Hanmac> Yeah! there need to be a new FFT game (for 3DS maybe)
<Nilium> Bearing in mind that I'm the sort of obsessive nutjob that beat the original FF Tactics and unlocked all the secret thingies
<Nilium> I was apparently much more motivated to do stuff like that when I was a kid.
dkamioka has joined #ruby
<Nilium> The Gameboy Advance FFT games were good. Surprised there weren't more in the same line, but I guess they probably only sold well to people who already like the series.
<Hanmac> i stopped playing video games after i began to DREAM in games ... just image how freaky it would be if your dream has a F10-MainMenu ...
<shevy> hehe
atmosx has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<Nilium> Only video game dreams I had were when I was little and playing Resident Evil 2
<Nilium> The dream for some reason involved cupboards full of zombie cubes that would come out if opened and turn into normal zombies
agjacome has quit [Quit: leaving]
<Hanmac> other video game dreams include inventary and skill tree ... i think i played to much Diablo2 and Torchlight ...
agjacome has joined #ruby
bleak has quit [Read error: Connection reset by peer]
<Hanmac> Nilium: another game you NEED to play (depending on your outside temperature) is "Little Inferno" ;P
agjacome has quit [Client Quit]
bleak has joined #ruby
Tai has quit [Ping timeout: 245 seconds]
agjacome has joined #ruby
<Nilium> Played it, "beat" it for lack of a better word
agjacome has quit [Client Quit]
RaCx has quit [Quit: Computer has gone to sleep.]
Guest19752 has quit [Changing host]
Guest19752 has joined #ruby
<Hanmac> Nilium: what was your reaction when your neigbor in the game uses the 4-key-combo on her game? ;P
Guest19752 is now known as deepy
jlast has quit [Remote host closed the connection]
whatasunnyday has quit [Quit: whatasunnyday]
jlast has joined #ruby
yalue has quit [Quit: Leaving]
<Nilium> I don't remember. It's been a while, and I wasn't particularly into the game until it turned into a bad point and click adventure.
<Hanmac> Nilium: did you know what happend when you delete save game from it? you hear a tiny little scream :P
aspires has quit []
craigp has joined #ruby
snooc_ has joined #ruby
<Nilium> Never tried that, actually
<platzhirsch> Does someone know someone at Twitter? I need to acquire a suspended Twitter nickname
bradhe has joined #ruby
<Nilium> I beat the thing in one sitting, so I didn
<Nilium> *didn't even know there were save games
vlad_starkov has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
snooc has quit [Ping timeout: 250 seconds]
nateberkopec has joined #ruby
nanoyak has joined #ruby
pskosinski has quit [Quit: Til rivido Idisti!]
jlast has quit [Ping timeout: 245 seconds]
<Hanmac> Nilium: you are looking like someone who likes TerryPratchett ... look at this image: http://animagess.deviantart.com/art/Good-Omens-The-Other-Guys-200108974
<Nilium> I only like Pratchett as far as the Discworld games are concerned
Jetchisel has joined #ruby
bradhe has quit [Ping timeout: 272 seconds]
Hanmac1 has joined #ruby
ace_ has quit [Quit: Page closed]
charliesome has joined #ruby
clamstar has joined #ruby
whatasunnyday has joined #ruby
yedimind has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
olss has joined #ruby
saltsa has joined #ruby
jlast has joined #ruby
Hanmac has quit [Ping timeout: 246 seconds]
jokke is now known as Kaiser
Kaiser is now known as jokke
jokke is now known as kaiser
lucasallan has quit [Remote host closed the connection]
kaiser is now known as Guest6023
olss has quit [Quit: Computer has gone to sleep.]
Guest6023 is now known as jokke
<saltsa> have you any recommendations for database usage in ruby? I'm planning to implement some postgres functionality.
<saltsa> useful librarires or something
<apeiros> Sequel
<apeiros> with or without ORM - whatever you prefer
<saltsa> well, i think without orm
<s2013> [101,102,103,104,105.reject! { |id| id == 102 || id == 101 }
<s2013> how can i make that shorter
drumusician has quit [Ping timeout: 272 seconds]
gyre008 has joined #ruby
<apeiros> >> [101,102,103,104,105] - [101,102]
<eval-in> apeiros => [103, 104, 105] (https://eval.in/97960)
agent_white has joined #ruby
<s2013> thanks
<apeiros> note, Array#- will also uniq the items
<s2013> yeah thats fine
<agent_white> Good afternoon all
<s2013> >> [101,101,101,102,102,102,104,104,105,105,105,106] - [101, 105]
<eval-in> s2013 => [102, 102, 102, 104, 104, 106] (https://eval.in/97961)
iamdoo2 has joined #ruby
ace_striker has quit [Quit: Page closed]
<s2013> cool. thanks
jrist has quit [Ping timeout: 250 seconds]
einarj has quit [Remote host closed the connection]
brunops has joined #ruby
<momomomomo> s2013: or...
<s2013> or...
<saltsa> apeiros: so definetly Sequel even when no need for orm?
Celm has joined #ruby
Uranio has quit [Quit: WeeChat 0.3.2]
<momomomomo> >> [101,102,103,104,105].reject { |k| k.in? [102, 103] }
<eval-in> momomomomo => undefined method `in?' for 101:Fixnum (NoMethodError) ... (https://eval.in/97964)
<apeiros> saltsa: yes, it does both. its ORM part is optional.
<momomomomo> ah, in? is a rails method
<apeiros> I use sequel only without ORM myself
<apeiros> momomomomo: .in? is a stupidity.
JohnBat26 has quit [Ping timeout: 272 seconds]
<momomomomo> not uh
gmci has quit [Quit: Textual IRC Client: www.textualapp.com]
<s2013> fight fight
<apeiros> it reverses knowledge of structure
<momomomomo> >> [101,102,103,104,105].reject { |k| [102, 103].include? k }
<eval-in> momomomomo => [101, 104, 105] (https://eval.in/97965)
Xuisce1 has quit [Ping timeout: 245 seconds]
<s2013> apeiros' method is shorter and easier to understand ig uess
<momomomomo> apeiros: s2013 no fight here, and I agree that the structure makes more hierarchical sense with the include? method, but in? can make things easy to read
<Hanmac1> >> a=[101,101,101,102,102,102,104,104,105,105,105,106];b=[101, 105]; b.each {|o| (i = a.index(o)) ? a.delete_at(i) : nil}; a
<eval-in> Hanmac1 => [101, 101, 102, 102, 102, 104, 104, 105, 105, 106] (https://eval.in/97966)
rm_ has joined #ruby
glen has joined #ruby
deens has joined #ruby
iamdoo2 has quit [Ping timeout: 246 seconds]
<glen> hey. i have hash: params={:param1=>2,:param2=>3}, and second such (params2={:param3=>3,param4=>5}, i want to merge them, how?
lfox has joined #ruby
lfox has quit [Max SendQ exceeded]
<glen> no duplicates, but ok to overwrite if they exist
<lpvn> glen: params.merge(params2)
pushpak has quit [Quit: Linkinus - http://linkinus.com]
<glen> thx for quick answer!
MrZYX is now known as MrZYX|off
<Hanmac1> >> b=[101, 105];[101,101,101,102,102,102,104,104,105,105,105,106].select{|o| !b.delete_at(b.index(o)) rescue true }
<eval-in> Hanmac1 => [101, 101, 102, 102, 102, 104, 104, 105, 105, 106] (https://eval.in/97968)
pzula has quit [Quit: leaving]
tyl has quit [Quit: Textual IRC Client: www.textualapp.com]
<Hanmac1> apeiros: how do you like that?
Hanmac1 is now known as Hanmac
nanoyak has quit [Quit: Computer has gone to sleep.]
<apeiros> Hanmac: horrible, truly horrible :)
tyl has joined #ruby
<apeiros> but you knew that before you asked :-p
postmodern has joined #ruby
nettoweb_ has joined #ruby
<Hanmac> hm yeah but there is no nicer way for doing it
yfeldblum has joined #ruby
nettoweb has quit [Ping timeout: 272 seconds]
nettoweb_ is now known as nettoweb
rm_ has quit [Ping timeout: 250 seconds]
yfeldblu_ has joined #ruby
wildroman2 has joined #ruby
deens has quit [Ping timeout: 272 seconds]
<lpvn> glen: http://www.ruby-doc.org/core-2.1.0/Hash.html there you can find, in the left column, all methods implemented by the hash class
danman has quit [Write error: Broken pipe]
w1zeman1p has quit [Remote host closed the connection]
<glen> lpvn: i think i need merge!
SCommette has quit [Quit: SCommette]
xcv has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 272 seconds]
jrist has joined #ruby
fijimunkii has quit [Ping timeout: 252 seconds]
<glen> oh.yeah!
baordog has joined #ruby
Hiall has joined #ruby
angusigu1ss has joined #ruby
dblessing has quit [Quit: dblessing]
lfox has joined #ruby
Txandy is now known as Txandy|away
starfox21 has quit [Ping timeout: 245 seconds]
deens has joined #ruby
nomenkun has quit [Ping timeout: 250 seconds]
phansch has joined #ruby
dx7 has joined #ruby
angusigu1ss has quit [Ping timeout: 272 seconds]
nanoyak has joined #ruby
fijimunkii has joined #ruby
jackneill has quit [Ping timeout: 250 seconds]
Jdubs has joined #ruby
<Jdubs> Hey guys im looking for someone experienced using karma + instanbul
tyl has quit [Quit: Computer has gone to sleep.]
<Jdubs> oops wrong channel
<Jdubs> :P
Jdubs has left #ruby [#ruby]
art-solopov has quit [Quit: Konversation terminated!]
deens has quit [Ping timeout: 245 seconds]
danshultz has quit [Remote host closed the connection]
zoscoy has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
danshultz has joined #ruby
jkamenik has quit [Quit: Leaving.]
aspires has joined #ruby
sailias has quit [Ping timeout: 250 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aryaching has quit [Ping timeout: 245 seconds]
fenicks has joined #ruby
Hanmac1 has joined #ruby
krnflake has quit [Ping timeout: 252 seconds]
petey has quit [Remote host closed the connection]
enape_101 has joined #ruby
timonv has quit [Remote host closed the connection]
terrellt has quit [Quit: On the other hand, you have different fingers.]
petey has joined #ruby
mando has joined #ruby
binaryhat has joined #ruby
Hanmac has quit [Ping timeout: 245 seconds]
rm_ has joined #ruby
jlast has quit [Remote host closed the connection]
charliesome has joined #ruby
petey_ has joined #ruby
Shidash has quit [Ping timeout: 245 seconds]
petey has quit [Read error: Connection reset by peer]
Txandy|away is now known as Txandy
bradhe has joined #ruby
tauebel has joined #ruby
simon____ has joined #ruby
w1zeman1p has joined #ruby
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
Evenix has quit [Remote host closed the connection]
simon____ is now known as sfroehler
krnflake has joined #ruby
jlast has joined #ruby
RaCx has joined #ruby
Tai has joined #ruby
<MJBrune> worst recruiter ever. Interviewed last tuesday. They said they would let me know near the end of the week that week. Called my Recruiter on Friday and asked whats going on. He said he would contact them and told me check in monday. Called Monday he said still nothing. Called back today and he said "well I haven't actually sent an email yet but I guess we should."
larsam has quit [Quit: larsam]
havenwood has quit []
<platzhirsch> MJBrune: lol
<MJBrune> arg seriously?! why lie. Why not express that I am interested. The interview went perfect and they seemed to have really liked me.
<MJBrune> dude is just a lazy recruiter.
<platzhirsch> Yeah I think it's okay to catch up then so uptightly.
<platzhirsch> 2 weeks is a typical time span, but since they have gave you pretty exact dates that should be perfectly fine
<platzhirsch> s/gave/given
VTLob has quit [Quit: VTLob]
<MJBrune> yeah I would say 48 hours after the furthest time for them to decide that they gave me is kind of lame
cgore has quit [Remote host closed the connection]
terrellt_ has joined #ruby
terrellt has joined #ruby
<platzhirsch> and this is over an external recruiter?
terrellt_ has quit [Client Quit]
yasushi has quit [Remote host closed the connection]
yekta has joined #ruby
alexherbo2 has joined #ruby
aryaching has joined #ruby
nszceta has joined #ruby
wildroman2 has quit [Remote host closed the connection]
<lpvn> MJBrune: are you currently employed?
gigetoo has quit [Remote host closed the connection]
<MJBrune> lpvn: no.
glebe has left #ruby [#ruby]
wildroman2 has joined #ruby
jamo__ has joined #ruby
vlad_starkov has quit [Ping timeout: 250 seconds]
gigetoo has joined #ruby
ffranz has quit [Quit: Leaving]
joelroa has joined #ruby
jamo__ has quit [Client Quit]
jamo__ has joined #ruby
CpuID has joined #ruby
CpuID has joined #ruby
CpuID has quit [Changing host]
Czupa has quit [Remote host closed the connection]
<platzhirsch> MJBrune: so stressed to find a job?
kevind has quit [Quit: kevind]
<lpvn> it should be easy for him to understand your anxiety
enape_101 has quit [Ping timeout: 246 seconds]
mojjojo has quit [Ping timeout: 245 seconds]
mojjojo_ has joined #ruby
wildroman2 has quit [Ping timeout: 272 seconds]
zachallett has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
mikepack_ has joined #ruby
wildroman2 has joined #ruby
wildroman2 has quit [Read error: Connection reset by peer]
wildroman2 has joined #ruby
Xeago has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
<dangerousdave> just installed ruby 2.1.0 with rvm, and it also installed ruby-2.1.0-preview1. Whats that all about?
<mjc_> dangerousdave: did you forget to upgrade rvm first?
<dangerousdave> nope
<dangerousdave> ah
<dangerousdave> perhaps
BeLucid has quit [Remote host closed the connection]
rm_ has quit [Remote host closed the connection]
<apeiros> dangerousdave: why -preview1?
<MJBrune> platzhirsch: a tad
<MJBrune> lpvn: yeah I would think so.
<dangerousdave> I installed it first, and there was an error, so i updated rvm and tried again
<dangerousdave> apeiros, indeed
<platzhirsch> MJBrune: give us his home address. #ruby will take care of this
<dangerousdave> apeiros, thats my question
<apeiros> ah
<platzhirsch> we will dent his mailbox then he knows this is serious
rootshift has joined #ruby
<MJBrune> platzhirsch: lol I'd rather just spend time getting my next job.
mikepack_ has quit [Ping timeout: 245 seconds]
rm_ has joined #ruby
niharvey is now known as Nick|afk
<lpvn> MJBrune: what position did you apply for?
Jetchisel has quit [Quit: "Unfortunately time is always against us" -- *Morpheus*]
<platzhirsch> He will scream in pain, when his mailbox is so dented, the mail carrier cannot put his shoe order into the box
<dangerousdave> mjc_, apeiros can i delete it?
<dangerousdave> ruby-2.1.0-preview1 i mean
xcv has joined #ruby
<MJBrune> lpvn: Ruby development position. It's called "Product engineer in product realization"
rudisimo has quit []
<apeiros> dangerousdave: sure
<apeiros> 2.1.0 is all you need
<dangerousdave> apeiros, ta
<apeiros> -preview1 is a pre-release of it
<apeiros> i.e., it's older, not final
<platzhirsch> MJBrune: Cool and is it a local job or somewhere else
jtdowney has quit []
<MJBrune> The entire interview and company is great. I can't say who they are but their entire campus lights up in magenta.
Tai has quit []
<MJBrune> platzhirsch: local for me, bellevue.
jamo___ has joined #ruby
Lewix has quit [Remote host closed the connection]
<platzhirsch> and how does that go? How many phone interviews, before on-side?
<MJBrune> 1 phone 1 in person. Everyone seemed excited and happy during the interview. I nailed like 95-99% of the questions asked and had a really open connection with the interview board.
jlast has quit [Remote host closed the connection]
RaCx has joined #ruby
yarou has joined #ruby
petey_ has quit [Remote host closed the connection]
jlast has joined #ruby
jamo has quit [Remote host closed the connection]
jamo___ has quit [Remote host closed the connection]
iamdoo2 has joined #ruby
jamo has joined #ruby
alexherbo2 has quit [Quit: WeeChat 0.4.3-dev]
petey has joined #ruby
jonr22 has quit [Remote host closed the connection]
jlast has quit [Read error: Connection reset by peer]
jprovazn has quit [Quit: Odcházím]
jlast has joined #ruby
uglybandersnatch has joined #ruby
<platzhirsch> Reasonable. I am sure it will go well, just kick that recruiter in the ass
IceyEC has quit [Quit: IceyEC]
aspires has quit []
nomenkun has joined #ruby
Lewix has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
einarj has joined #ruby
<MJBrune> so many parts and joins
Xeago has quit [Read error: Connection reset by peer]
jamo___ has joined #ruby
Xeago has joined #ruby
jlast_ has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
<platzhirsch> MJBrune: try to hide them in your IRC client
jlast has quit [Read error: Connection reset by peer]
<platzhirsch> since I did, I have found inner joy and my horrible fantasies don't derail as often as they used to do
iamdoo2 has quit [Ping timeout: 245 seconds]
petey has quit [Ping timeout: 272 seconds]
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
petey has joined #ruby
enape_101 has joined #ruby
Bira has joined #ruby
jamo____ has joined #ruby
claymore has quit [Ping timeout: 272 seconds]
yan_ has left #ruby [#ruby]
Bira has quit [Remote host closed the connection]
rickruby has joined #ruby
<centrx> I've done it!
pranny has quit [Read error: Connection reset by peer]
jamo_____ has joined #ruby
uglybandersnatch has quit [Remote host closed the connection]
<platzhirsch> ?
dkamioka has quit [Remote host closed the connection]
pranny has joined #ruby
kaldrenon has quit [Remote host closed the connection]
claymore has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
olivier_bK has joined #ruby
petey has quit [Remote host closed the connection]
<centrx> Without the Join/Part messages, it almost seems like time is not passing
petey has joined #ruby
<platzhirsch> Isn't it beautiful
<centrx> It is timeless...
<centrx> I am not sure I like it
<platzhirsch> Don't touch the setting again
interactionjaxsn has quit [Remote host closed the connection]
<centrx> There is no separation between old conversation and new conversation
<platzhirsch> It's really just spam
<platzhirsch> That's like saying "There is no separation between new and old emails if I filter spam mails"
apeiros has quit [Remote host closed the connection]
<centrx> Now all the spam is from users
schasse has joined #ruby
<centrx> How will I know when to announce "Welcome to #rails, the only channel on Freenode devoted to TRAINS! For Ruby on Rails, visit #RubyOnRails"
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
angusiguess has joined #ruby
<platzhirsch> stole that
deception has quit [Quit: Goodbye]
pranny has quit [Ping timeout: 276 seconds]
<platzhirsch> I can't believe there is a #rails channel with 100+ user. Why is the Ruby community so fragmented
pranny has joined #ruby
RoryHughes has quit []
vlad_starkov has joined #ruby
pwh has joined #ruby
pwh has quit [Max SendQ exceeded]
danshultz has quit [Remote host closed the connection]
nomenkun has quit [Remote host closed the connection]
jerius has quit [Ping timeout: 272 seconds]
pwh has joined #ruby
whatasunnyday has quit [Quit: whatasunnyday]
apeiros has joined #ruby
CpuID has quit [Read error: Connection reset by peer]
<centrx> Freenode refuses to do anything about it
<centrx> That channel is totally dead
<platzhirsch> #freenode has gone wild again, too
<platzhirsch> all the mentals from #defocus have overun the channel
<platzhirsch> centrx: it is against the rules to do mass mentioning, isn't it
uglybandersnatch has joined #ruby
nomenkun has joined #ruby
deens has joined #ruby
whatasunnyday has joined #ruby
bnagy_ is now known as bnagy
nettoweb has quit [Quit: nettoweb]
kewjo has joined #ruby
<centrx> What do you mean?
Txandy is now known as Txandy|away
<centrx> It is a public service announcement. People wander into #rails and ask questions.
nanoyak has joined #ruby
<platzhirsch> well you could mention all the idlers
angusiguess has quit [Ping timeout: 272 seconds]
<jsilver> Rooby: Gives programmers a funny little feeling inside
<platzhirsch> if the channel is empty they will leave
<platzhirsch> jsilver: you literally just said that earlier
<jsilver> "if you build it, they will all leave"
<jsilver> platzhirsch: hasn't gotten old yet
aryaching has quit [Ping timeout: 250 seconds]
<platzhirsch> I cannot judge
<jsilver> fine
<jsilver> Ribby: How programmers fall in love
<jsilver> lacks the unf of the original
uglybandersnatch has quit [Remote host closed the connection]
<jsilver> I'm glad the creators of PHP don't rename it "Roby" and confuse the hell out of us all
<centrx> PHP is an abomination and a scourge on the face of the earth.
lfox has quit []
drumusician has joined #ruby
deens has quit [Ping timeout: 250 seconds]
RoryHughes has joined #ruby
zeade has quit [Quit: Leaving.]
<centrx> platzhirsch, Maybe you're right. This is a good strategy. Interrogating the idlers.
<platzhirsch> lol
gstamp has quit [Quit: Textual IRC Client: www.textualapp.com]
wildroman2 has quit [Remote host closed the connection]
gstamp has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
pranny1 has joined #ruby
Tranquility__ is now known as Tranquility
neosimago has joined #ruby
saarinen has quit [Quit: saarinen]
<jsilver> centrx: aww, she ain't so bad. we all came from there
<jsilver> centrx: sure, it's no ruby, but it's a turing complete language
pranny has quit [Ping timeout: 246 seconds]
chrisan has quit [Ping timeout: 265 seconds]
<jsilver> trolling status: not trolling
<centrx> A piece of string and a pen is a turing complete language
freggles has quit [Remote host closed the connection]
mojjojo_ has quit [Quit: mojjojo_]
<jsilver> It's also some sort of string-attached launchable writing device, though I imagine writing actual characters mid-flight would be hard, if not impossible
mojjojo has joined #ruby
nettoweb has joined #ruby
<jsilver> you have baked in support for writing in libballpointpen though
<platzhirsch> I won't interrogate with #ruby-lang, people have a pretty strong oppinion
SCommette has joined #ruby
<jsilver> interrogate? you mean argue?
<centrx> #ruby-lang is fairly active
<jsilver> if I was a wrestler named Jake, my stage name would be "Jakesaster"
<jsilver> but I'm neither a wrestler nor named Jake
<platzhirsch> jsilver: are you a chat bot?
Al___ has joined #ruby
mark_locklear has quit [Quit: Leaving]
<platzhirsch> reminds me of them
<jsilver> Do you want me to be a chat bot?
Dude007 has joined #ruby
<platzhirsch> no, but the phrases you produce sound heavily concatenated from random stuff
Naoe-Kanno has joined #ruby
<mjc_> hah
<jsilver> ...they are...
SHyx0rmZ has quit [Ping timeout: 250 seconds]
<jsilver> crap I write in my test strings
<jsilver> :)
<jsilver> as jokes
deens has joined #ruby
Naoe-Kanno has quit [Client Quit]
SHyx0rmZ has joined #ruby
snooc_ has quit [Read error: Connection reset by peer]
kcombs has quit [Remote host closed the connection]
<jsilver> I just wrote
<jsilver> name_of_disaster: "Justin Bieber"
<centrx> platzhirsch, I missed the joins in #RubyOnRails now!
<jsilver> tell me thats not hilarious
<jsilver> I'm doing emergency management
<centrx> jsilver.acts_like_duck?
<jsilver> lol
snooc has joined #ruby
<jsilver> it "should be able to destroy a disaster" do # and so should you!
tjad has quit [Remote host closed the connection]
vpretzel has quit [Ping timeout: 246 seconds]
<jsilver> that's my favorite comment I've ever done of all time
yekta has quit [Quit: yekta]
<platzhirsch> jsilver: There are irritating JavaSilver
Bira has joined #ruby
<jsilver> what
<jsilver> wot.
<jsilver> the j is for Jonathan not Java
<platzhirsch> yeah, sure..
* jsilver fucking GLARES at u
<centrx> Java S. Silver
<platzhirsch> Why so biblic jsilver?
<jsilver> where did the S come from!?!?!?
<centrx> Java Script
vpretzel has joined #ruby
<jsilver> oh
<jsilver> cause my middle initial really is S
<centrx> I know
<centrx> Java Script
<jsilver> ?!!?!??!
<jsilver> lol
<jsilver> no seriously
<jsilver> Jonathan Samuel
<jsilver> silver....something or another...
<platzhirsch> Jonathan is a cooking apple of a red-skinned variety first grown in the US.
<jsilver> u wot?
<platzhirsch> Jonathan Silver. An apple with silver?
<platzhirsch> like rotten?
<jsilver> yes I'm rotten
snooc has quit [Ping timeout: 245 seconds]
<platzhirsch> You are the son of Saul and friend of David
<platzhirsch> but you died battling the Philistines
rm_ has quit [Remote host closed the connection]
<jsilver> fuck the Philistines
<jsilver> they're haters
<jsilver> PHP using scum
diegoviola has joined #ruby
tauebel has left #ruby [#ruby]
s2013 has quit [Quit: Leaving]
zcreative has joined #ruby
Txandy|away is now known as Txandy
rayners has quit [Remote host closed the connection]
vlad_starkov has quit [Read error: Connection reset by peer]
mary5030 has quit [Remote host closed the connection]
nateberkopec has quit [Quit: Leaving...]
kirun has quit [Quit: Client exiting]
nomenkun has quit [Remote host closed the connection]
yasushi has joined #ruby
griffindy has quit [Quit: Computer has gone to sleep.]
jlast_ has quit [Remote host closed the connection]
Vivekananda has joined #ruby
angusiguess has joined #ruby
rndstr_ is now known as rndstr
schasse has left #ruby ["WeeChat 0.4.2"]
Amart41 has quit [Remote host closed the connection]
rubyracer has quit [Quit: Konversation terminated!]
jrhorn424 is now known as zz_jrhorn424
RoryHughes has quit []
jlast has joined #ruby
Hanmac has joined #ruby
glen has left #ruby [#ruby]
Hanmac1 has quit [Ping timeout: 246 seconds]
<platzhirsch> jsilver: Today I joined #php and asked when the latest point is to refactor my application to another language :P
<jsilver> the latest point? what?
<platzhirsch> in time
starfox21 has joined #ruby
x77686d has joined #ruby
<jsilver> one time I tried to code in PHP and then I had to shout in my computer monitor's face, "YOU'RE HURTING ME!!!!"
Adawerk has joined #ruby
<terrellt> Best online interactive ruby REPL?
RoryHughes has joined #ruby
<xybre> terrellt: try ruby?
<terrellt> tryruby.org's kinda clunky, repl.it is closer, but it's 1.8.7
Txandy is now known as Txandy|away
<jsilver> Solution: Install Ruby, run IRB
<terrellt> Probably gonna do that for the presentation, but if they want to follow along without ruby installed it helps.
<jsilver> oh
<jsilver> who you teachin Ruby?
jamo___ has quit [Quit: leaving]
nomenkun has joined #ruby
<terrellt> It's a guest lecture for a bunch of CS undergrads.
<jsilver> cool cool man
<jsilver> teach hard!!
<slowcon> any of you guys use jetbrains IDEA?
<jsilver> no, and I'm happier for it
<jsilver> jk
centrx has quit [Quit: Leaving]
bricker`LA has joined #ruby
jlast has quit [Remote host closed the connection]
* platzhirsch puts jsilver to sleep.
<slowcon> thinking about getting it with the ruby extension
iamdoo2 has joined #ruby
claymore has quit [Quit: Leaving]
* jsilver has a nightmare about php
jlast has joined #ruby
<platzhirsch> No, putting to sleep. Like a pet
<bricker`LA> In your opinion, when creating an "interface" in ruby (methods that are meant to be overridden, possibly enforced by NotImplementedError), is it bad practice to make some of the methods private?
freerobby has joined #ruby
<terrellt> That seems fine.
tauebel1 has joined #ruby
slowcon has quit []
phansch has quit [Quit: Leaving]
deens has quit [Remote host closed the connection]
RoryHughes has quit []
Spami has quit [Quit: This computer has gone to sleep]
Spami has joined #ruby
max96at has quit [Quit: Textual IRC Client: www.textualapp.com]
* jsilver wakes up anyhow
jonr22 has joined #ruby
iamdoo2 has quit [Ping timeout: 245 seconds]
Dude007 has quit [Read error: Connection reset by peer]
jlast has quit [Ping timeout: 246 seconds]
Dude007 has joined #ruby
aloitius1 has joined #ruby
<jsilver> how come europeans pronounce rspec "errspec" ?
<jsilver> its Arr not Ere you fucking idiots
<jsilver> also V is not W!!!!!!!
aspires has joined #ruby
Hiall has quit [Quit: hiall]
CourtJesterG has joined #ruby
charliesome has joined #ruby
<tobiasvl> because english is not our first language maybe
<waxjar> a w is also not a double u
dangerousdave has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<jsilver> lol
<jsilver> I know
<terrellt> jsilver: You just wait until you find out how to say "Z"
<jsilver> it's a Double Ve
<jsilver> ITS NOT ZED!!!!!!
<jsilver> NEVER
Vivekananda has quit [Quit: Ex-Chat]
<tobiasvl> what about ø
<tobiasvl> or æ
<jsilver> "Zee" is correct
<tobiasvl> and å
<jsilver> tobiasvl: no fucking clue, we don't use em
<jsilver> :D
<jsilver> I am thinking I will pronounce ø "Magstrom" because that sounds like a good way to say it to me
<tobiasvl> and we don't use w
<jsilver> an ø is a Magstromm
<jsilver> oh
<jsilver> you mean *ve don't use w
<jsilver> :D
<tobiasvl> that is, we pronounce v and w the same
<jsilver> I KNOW
<jsilver> :D
<jsilver> :p
<jsilver> I called Austria today
<jsilver> if you must know
<jsilver> :)
<tobiasvl> it's in our alphabet for backwards compatibility ;)
<jsilver> ah
einarj has quit [Remote host closed the connection]
CourtJesterG has left #ruby [#ruby]
<tobiasvl> oh they're even funnier. w is pronounced like v and v is pronounced like f
RoryHughes has joined #ruby
<tobiasvl> so
<jsilver> ah
whatasunnyday has quit [Quit: whatasunnyday]
<tobiasvl> volkswagen = folksvagen
<jsilver> I'm like.. I just want to hear a german say "WUH" one time !!!
<jsilver> lol
<jsilver> oh
<jsilver> we say VOLKS WAGON
<jsilver> lol
<tobiasvl> so don't complain when we pronounce rspec wrong ;) that's not even a real word
<tobiasvl> volkswagen is!
rickruby has quit [Remote host closed the connection]
Vivekananda has joined #ruby
<jsilver> lol
<jsilver> I was just teasing. Never heard an European say Rspec.
<jsilver> lol
<platzhirsch> jsilver: Are you German?
<platzhirsch> Arr Spec
<jsilver> no, I'm American
klaut has quit []
Lulzon is now known as PleasantLover
<platzhirsch> South American? Today I learned about Pudús, the world's smallest deer
jonr22 has quit [Remote host closed the connection]
<workmad3> platzhirsch: how about the pygmy jerboa, the worlds smallest rodent?
bean has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<platzhirsch> I often pronounce English words in a German context, German, too. Though I also feel pretty dump for fellow Germans when they do that
PleasantLover is now known as Lulzon
<platzhirsch> workmad3: that is horrifying
<platzhirsch> I don't do mice. I just need to look out for my fellow deers
<workmad3> platzhirsch: or the sand cat: http://en.wikipedia.org/wiki/Sand_cat
<workmad3> platzhirsch: which doesn't need to drink water, it can survive on the water intake in its prey...
<platzhirsch> workmad3: ADOPTED
asmodlol has joined #ruby
<platzhirsch> well, wild animal. I am against taking pets anyway
<waxjar> ha, clever
rm_ has joined #ruby
w1zeman1p has quit [Read error: Connection reset by peer]
<workmad3> and even tinier (although only by a few millimeters) geckos... http://www.hghstrip.com/wp-content/uploads/2011/12/Smallest-animal-Sphaerodactylus-ariasae-lizard.jpg
tkuchiki has joined #ruby
Bumptious has quit [Remote host closed the connection]
<workmad3> tiny animals are cute :)
Hobogrammer_ has joined #ruby
<platzhirsch> sorry workmad3, it was really about Hirsch
enebo has quit [Quit: enebo]
freerobby has quit [Quit: Leaving.]
jlast has joined #ruby
jlast has quit [Remote host closed the connection]
jlast has joined #ruby
jlast has quit [Remote host closed the connection]
<jsilver> how come most huge football linebacker biker dudes break down and cry when you make fun of them?
<jsilver> sissies.
jlast has joined #ruby
<olivier_bK> i have a file start with <?$licenceData = array ( i try to remove it with sub but i cant find how
<olivier_bK> i try read= file.read.sub(/<\/?\/$\/licenceData = array/, '')
<olivier_bK> but i get nothing :(
<lpvn> platzhirsch: I was talking to on #rails but you weren't there anymore haha
<platzhirsch> lpvn: Sorry mate, but I clearly LEFT.
<shevy> olivier_bK, $ is a special char inside a regex
jlast has quit [Remote host closed the connection]
<platzhirsch> I even made a big speech for storming out
Al___ has quit [Quit: Al___]
jlast has joined #ruby
<platzhirsch> lpvn: can you copy me the content?
Hobogrammer has quit [Ping timeout: 245 seconds]
<workmad3> olivier_bK: ? is too
v0n has quit [Ping timeout: 245 seconds]
<olivier_bK> yes
petey has quit [Remote host closed the connection]
<lpvn> platzhirsch: yeah I realized you had left a long time after you left lol
<workmad3> olivier_bK: what you've said there is 'substitute / or // on a line and then /licenceData = array on the next line with an empty string'
<olivier_bK> that's the original <?$licenceData = array (
<shevy> olivier_bK, you must escape all special characters!
petey has joined #ruby
<shevy> >> " <?$licenceData = array (".sub(/\<\?\$licenceData = array \(/,'')
<eval-in> shevy => " " (https://eval.in/97995)
gregf has joined #ruby
bklane has joined #ruby
nomenkun has quit [Remote host closed the connection]
<olivier_bK> shevy, i dont understand something
<olivier_bK> why \ after array and why (/, '' )
<olivier_bK> ?
fgo has joined #ruby
<olivier_bK> and thanks for your help sorry
<workmad3> olivier_bK: because ( is a special character in a regex
<workmad3> olivier_bK: so to match a literal ( in a string, you need to use \( in the regex
<workmad3> olivier_bK: the same is true for ? and $
nomenkun_ has joined #ruby
petey has quit [Ping timeout: 246 seconds]
<jsilver> I wanna get gangbanged in the brain by science
deens has joined #ruby
mlpinit has quit [Remote host closed the connection]
wildroman2 has joined #ruby
<shevy> olivier_bK you need to get a cheat sheet man what are special characters
<shevy> olivier_bK I will give you that list now
<olivier_bK> workmad3, thanks for your explication i going to try now why i dont understand that
<shevy> olivier_bK keep it close to your heart: . * + ? ^ $ { } [ ] ( ) \ |
<workmad3> olivier_bK: also rubular.com
<olivier_bK> i keep it in my heart my brain and in my USB key :)
<workmad3> olivier_bK: bookmark it
<workmad3> olivier_bK: and use it for your regexs until you grok them better ;)
terrellt has quit [Quit: The early bird may get the worm, but the second mouse gets the cheese]
rootshift has joined #ruby
mikepack_ has joined #ruby
thesheff17 has quit [Quit: Leaving]
deens has quit [Ping timeout: 272 seconds]
wildroman2 has quit [Ping timeout: 245 seconds]
jfelchner has joined #ruby
rdark has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby
rjbs has joined #ruby
SCommette has quit [Quit: SCommette]
mikepack_ has quit [Ping timeout: 245 seconds]
<rjbs> Given a method foo(x=10), is there a way to determine whether, in a given call, x is 10 because it was explicitly passed, rather than because of the default? I realize that this is generally not something one should investigate, but am curious.
<workmad3> rjbs: I can think of *a* way, but it's not a pleasant one ;)
<rjbs> I've got a strong stomach, I write perl. ;)
<jsilver> I have a stronger stomach. I write APL and Ada.
<workmad3> rjbs: use something like binding_of_caller to be able to pull out where the method was called from... then slurp in the contents of that file and grep out the method call
<rjbs> jsilver: I have no desire to top that. ;)
<jsilver> when my stomach demands more, though, I switch to ASM
<jsilver> :D
<workmad3> jsilver: pfft, ASM is lightweight after APL
<jsilver> and no, I don't type in Assembler. I type raw bytecode.
<lpvn> jsilver: APL? I can't believe
<rjbs> workmad3: Heh, but I'm filing that under "no." :)
nanoyak has quit [Quit: Computer has gone to sleep.]
<jsilver> good, lpvn, don't believe. I am jesting
<workmad3> rjbs: ;)
<workmad3> jsilver: if you want a bit more of a challenge after APL, maybe try some malbolge
<jsilver> Brainfuck fo' lyfe.
Hanmac1 has joined #ruby
soba has joined #ruby
<lpvn> lol
Evenix has joined #ruby
<jsilver> :D
mansi has joined #ruby
larissa has joined #ruby
<rjbs> Perl 5 is in the process of adding named parameter, and due to its language idioms, it's important to be able to make that distinction. I realized as we did this that I didn't think it was possible in Ruby or Python.
<jsilver> http://esolangs.org/wiki/Malbolge wow theres an esolangs.org
momomomomo has quit [Quit: momomomomo]
Alina-malina has quit [Ping timeout: 272 seconds]
mansi has quit [Remote host closed the connection]
Hanmac has quit [Ping timeout: 272 seconds]
mansi has joined #ruby
habanany has joined #ruby
nettoweb has quit [Quit: nettoweb]
nanoyak has joined #ruby
RoryHughes has quit []
<olivier_bK> i have a question about yaml file
m8 has quit [Quit: Sto andando via]
habanany has quit [Client Quit]
<olivier_bK> when i make a vim in my yml file i see that
<olivier_bK> 'startDate' => '2013-09-26',
<olivier_bK> 'endDate' => '2015-10-18',
whatasunnyday has joined #ruby
<olivier_bK> my question is that's a good yml syntaxe or not ?
<olivier_bK> i know it's a hash
devdazed has quit [Ping timeout: 272 seconds]
mansi has quit [Ping timeout: 250 seconds]
<rjbs> No, that's not valid YAML.
mary5030 has joined #ruby
blackmesa has quit [Quit: WeeChat 0.4.2]
<rjbs> YAML doesn't use rockets, but colons.
<rjbs> startDate: '2013-09-26'
mojjojo has quit [Ping timeout: 245 seconds]
<olivier_bK> okai you confirm what i think
<rjbs> Also, when giving a mapping (YAML's Hash-like type) on multiple lines, you don't use commas to separate pairs.
<olivier_bK> commas ?
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
<rjbs> Each of your two lines included a comma at the end.
nettoweb has joined #ruby
<olivier_bK> okai
drumusician has quit [Ping timeout: 246 seconds]
nettoweb has quit [Client Quit]
devdazed has joined #ruby
cburyta has joined #ruby
mary5030 has quit [Ping timeout: 246 seconds]
nomenkun_ has quit [Remote host closed the connection]
yarou has quit [Remote host closed the connection]
nomenkun has joined #ruby
zachallett has joined #ruby
brunops has quit [Ping timeout: 246 seconds]
pel_daniel has left #ruby [#ruby]