ChanServ changed the topic of #ruby-lang to: Ruby 1.9.3-p125: http://ruby-lang.org | Paste >3 lines of text on http://pastie.org or use a gist
mistym has joined #ruby-lang
andrewhl has quit [Quit: andrewhl]
Defusal has joined #ruby-lang
Defusal has joined #ruby-lang
Facefox has quit [Remote host closed the connection]
Jade has quit [Read error: Operation timed out]
elux has quit [Quit: Leaving...]
bryanl has joined #ruby-lang
Facefox has joined #ruby-lang
cid404 has joined #ruby-lang
devn_ has joined #ruby-lang
devn_ has quit [Client Quit]
brianpWins has quit [Quit: brianpWins]
fgomez has quit [Quit: leaving]
fgomez has joined #ruby-lang
tr-808 has joined #ruby-lang
jkprg has quit [Quit: jkprg]
seanstickle has joined #ruby-lang
Hakon|mbp has joined #ruby-lang
rmascarenhas has joined #ruby-lang
Natch| has quit [Read error: Connection reset by peer]
Defusal has quit [Quit: Quit message goes here]
Cykey has quit [Quit: Computer has gone to sleep.]
hahuang65 has quit [Quit: Computer has gone to sleep.]
matalangilbert has joined #ruby-lang
Natch| has joined #ruby-lang
Natch| has quit [Excess Flood]
wmoxam has quit [Ping timeout: 244 seconds]
Defusal has joined #ruby-lang
VegetableSpoon has joined #ruby-lang
Natch| has joined #ruby-lang
Natch| has quit [Excess Flood]
peppyheppy has quit [Quit: peppyheppy]
Natch| has joined #ruby-lang
Natch| has quit [Excess Flood]
Tuga101 has quit []
peppyheppy has joined #ruby-lang
Natch| has joined #ruby-lang
peppyheppy has quit [Client Quit]
Natch has joined #ruby-lang
Natch has quit [Excess Flood]
bryancp has joined #ruby-lang
Natch| has quit [Ping timeout: 245 seconds]
Natch| has joined #ruby-lang
kain has quit [Ping timeout: 244 seconds]
mrb_bk has quit [Ping timeout: 246 seconds]
anildigital_work has quit [Ping timeout: 246 seconds]
beawesomeinstead has quit [Max SendQ exceeded]
mrb_bk has joined #ruby-lang
anildigital_work has joined #ruby-lang
beawesomeinstead has joined #ruby-lang
vpamulap has joined #ruby-lang
cored has quit [Quit: leaving]
matalangilbert has quit [Ping timeout: 244 seconds]
rmascarenhas has quit [Read error: Connection reset by peer]
bfreeman has quit [Quit: bfreeman]
rmascarenhas has joined #ruby-lang
dankest has joined #ruby-lang
jperry2 has joined #ruby-lang
savage- has quit [Remote host closed the connection]
M4g1c5t0rM has joined #ruby-lang
kvirani has quit [Remote host closed the connection]
soahccc has quit [Ping timeout: 246 seconds]
soahccc has joined #ruby-lang
deryldoucette has quit [Quit: deryldoucette]
VegetableSpoon has quit [Quit: Leaving]
deryldoucette has joined #ruby-lang
hahuang65 has joined #ruby-lang
stardiviner has joined #ruby-lang
Hakon|mbp has quit [Quit: Leaving...]
cantonic has quit [Remote host closed the connection]
jperry2 has quit [Ping timeout: 244 seconds]
jperry2 has joined #ruby-lang
seanstickle has quit [Quit: Nihil sub sole novum]
bruno_coelho has quit [Remote host closed the connection]
nibbo has quit [Ping timeout: 248 seconds]
nibbo has joined #ruby-lang
porwah has joined #ruby-lang
yannis has quit [Quit: yannis]
tRAS has joined #ruby-lang
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
x0F_ is now known as x0F
perryh_away is now known as perryh
rowsdower has joined #ruby-lang
brianpWins has joined #ruby-lang
harukomoto has quit [Ping timeout: 244 seconds]
dv310p3r has joined #ruby-lang
jperry2 has quit [Quit: Leaving.]
joast has quit [Quit: Leaving.]
jobicoppola has quit [Quit: Computer has gone to sleep.]
joast has joined #ruby-lang
bruno_coelho has joined #ruby-lang
dalekurt has joined #ruby-lang
arooni-mobile has joined #ruby-lang
brianpWins has quit [Ping timeout: 244 seconds]
arooni-mobile has quit [Read error: Connection reset by peer]
brianpWins has joined #ruby-lang
jd has joined #ruby-lang
harukomoto has joined #ruby-lang
arooni-mobile has joined #ruby-lang
brianpWins has quit [Ping timeout: 252 seconds]
gix has quit [Ping timeout: 250 seconds]
rowsdower has quit [Ping timeout: 248 seconds]
bryancp has quit [Remote host closed the connection]
arooni-mobile has quit [Remote host closed the connection]
kurko_ has joined #ruby-lang
S1kx has joined #ruby-lang
perryh has quit [Ping timeout: 244 seconds]
tRAS has quit [Quit: Mother, did it need to be so high?]
thorncp has quit [Ping timeout: 240 seconds]
unsymbol has quit [Ping timeout: 244 seconds]
perryh has joined #ruby-lang
fupz has joined #ruby-lang
unsymbol has joined #ruby-lang
tRAS has joined #ruby-lang
Clordio has joined #ruby-lang
thorncp has joined #ruby-lang
Clordio has left #ruby-lang [#ruby-lang]
bruno_coelho has quit [Remote host closed the connection]
perryh is now known as perryh_away
dalekurt has quit [Read error: Connection reset by peer]
fupz has left #ruby-lang [#ruby-lang]
porwah has quit [Quit: Leaving]
dalekurt has joined #ruby-lang
felipe__ has joined #ruby-lang
perryh_away is now known as perryh
rowsdower has joined #ruby-lang
rmascarenhas has quit [Quit: leaving]
gix has joined #ruby-lang
tomb_ has quit [Quit: Computer has gone to sleep.]
tRAS has quit [Quit: Mother, did it need to be so high?]
bfreeman has joined #ruby-lang
bryancp has joined #ruby-lang
petercooper has quit [Remote host closed the connection]
brianpWins has joined #ruby-lang
sepp2k has joined #ruby-lang
vpamulap has quit []
dalekurt has quit [Quit: Zzz...]
fayimora has joined #ruby-lang
dasibre has quit [Remote host closed the connection]
tRAS has joined #ruby-lang
dv310p3r has quit [Ping timeout: 245 seconds]
ryanf has quit [Ping timeout: 260 seconds]
fayimora has quit [Ping timeout: 264 seconds]
banisterfiend has joined #ruby-lang
brianpWins has quit [Ping timeout: 245 seconds]
bryancp has quit [Remote host closed the connection]
bryancp has joined #ruby-lang
bryancp has quit [Remote host closed the connection]
dankest has quit [Quit: Leaving...]
savage- has joined #ruby-lang
wasnotrice is now known as zz_wasnotrice
dankest has joined #ruby-lang
ryanf has joined #ruby-lang
brianpWins has joined #ruby-lang
banisterfiend has quit [Remote host closed the connection]
andrewhl has joined #ruby-lang
jd is now known as Jade
dankest has quit [Quit: Leaving...]
Banistergalaxy has joined #ruby-lang
felipe__ has quit [Ping timeout: 245 seconds]
ryanf has quit [Quit: broken pipes |||]
kurko_ has quit [Quit: This computer has gone to sleep]
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
peppyheppy has joined #ruby-lang
rowsdower has quit [Ping timeout: 252 seconds]
rippa has joined #ruby-lang
dalekurt has joined #ruby-lang
bamford has joined #ruby-lang
felipe__ has joined #ruby-lang
fayimora has joined #ruby-lang
igotnolegs has joined #ruby-lang
dankest has joined #ruby-lang
andrewhl has quit [Quit: andrewhl]
felipe__ has quit [Remote host closed the connection]
tRAS has quit [Quit: Mother, did it need to be so high?]
brianpWins has quit [Quit: brianpWins]
My_Hearing has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 276 seconds]
ryanf has joined #ruby-lang
bojicas has joined #ruby-lang
erpuds has quit [Quit: erpuds]
kain has joined #ruby-lang
yugui_zzz is now known as yugui
fgomez has quit [Ping timeout: 240 seconds]
fgomez has joined #ruby-lang
tRAS has joined #ruby-lang
hahuang65 has quit [Quit: Computer has gone to sleep.]
rowsdower has joined #ruby-lang
jordan` has quit [Ping timeout: 245 seconds]
jordan` has joined #ruby-lang
My_Hearing is now known as Mon_Ouie
harukomoto has quit [Ping timeout: 248 seconds]
LarryLv has joined #ruby-lang
rowsdower has quit [Remote host closed the connection]
brianpWins has joined #ruby-lang
yxhuvud has joined #ruby-lang
TheHunter_1039 has quit [Quit: TheHunter_1039]
codewrangler has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
flowerpot has quit [Remote host closed the connection]
dalekurt has quit [Quit: Zzz...]
mytrile has joined #ruby-lang
JohnBat26 has joined #ruby-lang
dalekurt has joined #ruby-lang
dalekurt has quit [Quit: Zzz...]
hahuang65 has joined #ruby-lang
ryez has joined #ruby-lang
|Vargas| has joined #ruby-lang
Axsuul has quit [Ping timeout: 265 seconds]
Axsuul has joined #ruby-lang
dvorak has quit [Ping timeout: 248 seconds]
jobicoppola has joined #ruby-lang
shevy has quit [Ping timeout: 260 seconds]
gouthamvel has joined #ruby-lang
gouthamvel has left #ruby-lang [#ruby-lang]
kitallis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
M4g1c5t0rM has quit [Ping timeout: 256 seconds]
shevy has joined #ruby-lang
sepp2k has quit [Remote host closed the connection]
segy has quit [Ping timeout: 252 seconds]
vmoravec has joined #ruby-lang
burgestrand has quit [Quit: Leaving.]
solars has quit [Ping timeout: 245 seconds]
segy has joined #ruby-lang
tomzx has quit [Ping timeout: 244 seconds]
gasbakid has quit [Read error: Connection reset by peer]
KU0N has joined #ruby-lang
arun1 has joined #ruby-lang
<hexreel> part
hemanth has quit [Read error: Connection reset by peer]
hexreel has left #ruby-lang [#ruby-lang]
arun1 has left #ruby-lang [#ruby-lang]
hemanth has joined #ruby-lang
qjb has joined #ruby-lang
gsav has quit [Read error: Connection reset by peer]
perryh is now known as perryh_away
woollyams has quit [Quit: Computer has gone to sleep.]
igotnolegs has quit [Quit: Computer has gone to sleep.]
zmack has joined #ruby-lang
hemanth has quit [Read error: Connection reset by peer]
hemanth has joined #ruby-lang
hemanth has quit [Read error: Connection reset by peer]
hemanth has joined #ruby-lang
gasbakid has joined #ruby-lang
sora_h is now known as s0ra_h
hahuang65 has quit [Quit: Computer has gone to sleep.]
s0ra_h is now known as sora_h
ryez has quit [Quit: Page closed]
jobicoppola has quit [Ping timeout: 245 seconds]
solars has joined #ruby-lang
Oloryn_lt2 has quit [Read error: Connection reset by peer]
Oloryn_lt2 has joined #ruby-lang
thrcka has joined #ruby-lang
flori has left #ruby-lang [#ruby-lang]
flori has joined #ruby-lang
Z33K|Lux has quit []
gasbakid has quit [Ping timeout: 252 seconds]
gasbakid has joined #ruby-lang
srbartlett has quit [Remote host closed the connection]
Oloryn_lt2 has quit [Read error: Connection reset by peer]
srbartlett has joined #ruby-lang
tekin has joined #ruby-lang
Oloryn_lt2 has joined #ruby-lang
srbartlett has quit [Ping timeout: 260 seconds]
ryanf has quit [Quit: leaving]
asaaki has joined #ruby-lang
francisfish has joined #ruby-lang
zz_chrismcg is now known as chrismcg
krz has quit [Quit: krz]
nevynxxx has joined #ruby-lang
seoaqua has joined #ruby-lang
cdt has joined #ruby-lang
apeiros_ has joined #ruby-lang
corundum has quit [Read error: Connection reset by peer]
ahf has joined #ruby-lang
drbrain has quit [Ping timeout: 245 seconds]
perryh_away has quit [Ping timeout: 245 seconds]
spectra has quit [Quit: ZNC - http://znc.sourceforge.net]
yellow5 has quit [Quit: time to go!]
yellow5 has joined #ruby-lang
diegoviola has quit [Quit: leaving]
vesan has quit [Ping timeout: 248 seconds]
spectra has joined #ruby-lang
corundum has joined #ruby-lang
perryh has joined #ruby-lang
vesan has joined #ruby-lang
corundum has quit [Read error: Connection reset by peer]
corundum has joined #ruby-lang
vesan has quit [Read error: Connection reset by peer]
Radium has joined #ruby-lang
vesan has joined #ruby-lang
gasbakid__ has joined #ruby-lang
gasbakid has quit [Ping timeout: 265 seconds]
francisfish has quit [Read error: Connection reset by peer]
francisfish has joined #ruby-lang
sora_h is now known as s0ra_h
workmad3 has joined #ruby-lang
<rue> Wow, everyone die somewhere along the way?
pbjorklund has joined #ruby-lang
gnufied has joined #ruby-lang
<matti> rue: Not everyone ;]
<apeiros_> I only died a little
<Tasser> apeiros_, now you're zombified?
<rue> Tasser: apeiros_ had to go on #ror
<apeiros_> rue: correct :)
<Tasser> oh, now his code consists of metaprogramming and method-missing?
bamford has quit [Quit: Bye!]
futurechimp has joined #ruby-lang
<shevy> hehe
<shevy> Tasser banister showed me something which I still did not understand yet
<shevy> dynamically generated methods, somehow point to them, remove those methods, but still keep those pointers
gouthamvel has joined #ruby-lang
<Tasser> shevy, sounds easy
<apeiros_> rue, Tasser - just some rails craziness once again…
<shevy> \o/
<shevy> "ruby 3.0" will be called "rails reloaded"
<apeiros_> building your own ActionDispatch::Request from the rack env and querying it for params obviously fucks up ActionDispatch::Request#format for everyone else…
<Tasser> shevy, generate methods: use define_method. point to them: method(<method name>), remove_method to delete them, pointer from variable before
cantonic has joined #ruby-lang
<Tasser> shevy, what other kind of magic is there?
yugui is now known as yugui_zzz
<shevy> Tasser what do I do with these methods?
<Tasser> call them
<Tasser> or read the docu ;-)
<shevy> hmm
<shevy> but ... aren't they gone??
<Tasser> well, there's still the variable
<rue> No
<shevy> those things just confuse me a lot :(
<Tasser> it's kind of a proc
<Tasser> learn JS and you'll understand
<shevy> waaaaa
gouthamvel has left #ruby-lang [#ruby-lang]
Radium has quit [Ping timeout: 256 seconds]
hebz0rl has joined #ruby-lang
adambeynon has joined #ruby-lang
<pbjorklund> when doing .sort on an enumerable and passing in a block like { |a,b| a.length <=> b.length } am I just passing in how the ruby sort algorithm should evaluate -1,0,1 when processing the collection?
jd has joined #ruby-lang
jd has quit [Changing host]
jd has joined #ruby-lang
Jade has quit [Disconnected by services]
jd is now known as Jade
brianpWins has quit [Ping timeout: 245 seconds]
dankest has quit [Read error: Connection reset by peer]
tr-808 has quit [Quit: leaving]
tr-808 has joined #ruby-lang
Radium_ has joined #ruby-lang
tr-808 has quit [Client Quit]
tr-808 has joined #ruby-lang
tr-808 has quit [Client Quit]
tr-808 has joined #ruby-lang
toretore has joined #ruby-lang
peppyheppy has quit [Quit: peppyheppy]
QaDeS has quit [Quit: Ex-Chat]
chrismcg is now known as zz_chrismcg
matalangilbert has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
gnufied has joined #ruby-lang
daniel` has joined #ruby-lang
<whitequark> pbjorklund: if I understand you correctly, yes
<whitequark> Enumerable#sort generally expects a block to return the result of <=> or something similar
Radium_ has quit [Ping timeout: 248 seconds]
asaaki has quit [Quit: Bye!]
drbrain has joined #ruby-lang
yannis has joined #ruby-lang
naz has quit [Read error: Connection reset by peer]
naz has joined #ruby-lang
wmoxam has joined #ruby-lang
Justin_Bieber has joined #ruby-lang
Justin_Bieber has quit [Client Quit]
Rick__ has joined #ruby-lang
<rue> Correct
<rue> The block must return 1, 0, -1. However you do that is up to you
<rue> Usually it’s clearer to use #sort_by instead
Rick__ has quit [Remote host closed the connection]
srbartlett has joined #ruby-lang
RickFX has joined #ruby-lang
RickFX has quit [Remote host closed the connection]
RickFX has joined #ruby-lang
Guedes_out is now known as Guedes
Oloryn_lt21 has joined #ruby-lang
Oloryn_lt2 has quit [Ping timeout: 244 seconds]
gasbakid__ has quit [Read error: Connection reset by peer]
RickFX has quit [Client Quit]
RickFX has joined #ruby-lang
seoaqua has quit [Quit: Leaving]
RickFX has quit [Remote host closed the connection]
<pbjorklund> The rubinius implementation of isort_block! does block_call(@tuple.at(j-1), @tuple.at(j)) , does the standard ruby implementation work the same more or less?
<pbjorklund> Don't really know C so the ruby source only confused me more
<pbjorklund> Thanks for helping me out whitequark and rue btw :)
tjadc has joined #ruby-lang
<rue> I don’t remember if it does or not. I didn’t look at the MRI implementation when I wrote it
<rue> Although I think it might have been redone since too
matalangilbert has quit [Ping timeout: 256 seconds]
daniel` has quit [Read error: Connection reset by peer]
<pbjorklund> rue: relizing that you wrote the code im trying to understand sure can make you come down with a major case of inferiority complex.
RubyRedGirl_ has joined #ruby-lang
<apeiros_> rue: actually <0, 0 >0 is sufficient
RubyRedGirl_ is now known as RubyRedGirl
<rue> apeiros_: It’ll probably work, but I don’t think it can be guaranteed to
<apeiros_> rue: sure. given that the docs state -1,0,1, I'd strongly advise to stick to that too :)
<rue> pbjorklund: Heh, only way to learn! Besides, I think someone finally got my old qsort implementation replaced by a mergesort
<rue> apeiros_: Yep
<apeiros_> oh, mergesort is stable, no? so sort finally stable?
<apeiros_> or you mean in rubinius?
<rue> In rbx, yes
<apeiros_> ah
<apeiros_> bummer
matalangilbert has joined #ruby-lang
s0ra_h is now known as sora_h
<andrewvos> postmodern: Without having a backtrace at hand, have you ever heard of any issues installing nokogiri-diff on 1.8.7-p302?
<postmodern> andrewvos, wow i have not
<postmodern> andrewvos, i suspect it might have something to do with nokogiri
bojicas has quit [Remote host closed the connection]
matalangilbert has quit [Ping timeout: 260 seconds]
daniel` has joined #ruby-lang
heftig has quit [Ping timeout: 248 seconds]
<rue> andrewvos: ETERRIBLEERRORREPORT
<andrewvos> rue: I know I know
daniel` has left #ruby-lang [#ruby-lang]
burgestrand has joined #ruby-lang
<andrewvos> postmodern: So nokogiri actually installs. Bundler just bitches about nokogiri-diff not working :/
<andrewvos> And looking through your code, it's only ruby code so can't be a compiler issue or anything.
<andrewvos> And it works in p302 locally.
<andrewvos> I wish I could punch this build server right in the dick.
<andrewvos> Fucking redhat
dbrock has joined #ruby-lang
<postmodern> haha
<shevy> lol
<postmodern> yep redhat, that might be your problem
<dbrock> how do I select which version of a gem to use? I have multiple versions of bundler installed and `bundler -v` shows the latest version; I'd like to switch to an older one
<andrewvos> dbrock: gem uninstall all the old bundlers
<dbrock> andrewvos: ah, I can't switch between the versions without uninstalling the ones I don't want to use?
<andrewvos> I don't think so
<andrewvos> dbrock: Bundler can do that, but not with itself
<andrewvos> As far as I know
<dbrock> andrewvos: ah, ok, thanks
<dbrock> unrelated question: do people use `sudo gem install` on OS X these days?
<rue> No
<dbrock> or do you install into ~/.gems or do you change permissions on /Library/Ruby?
<andrewvos> dbrock: rvm is generally used I think
<dbrock> I try to avoid rvm (I use rbenv to manage multiple ruby versions), but ok so basically the answer is you simply don't use the system installation of Ruby?
<rue> Right
<rue> You can use ~/.gems if you don’t want to use rvm
<andrewvos> I saw the system version of ruby kick a cat once.
heftig has joined #ruby-lang
burgestrand has quit [Ping timeout: 250 seconds]
tRAS has quit [Ping timeout: 244 seconds]
tubbo has quit [Remote host closed the connection]
tRAS has joined #ruby-lang
tubbo has joined #ruby-lang
burgestrand has joined #ruby-lang
dalekurt has joined #ruby-lang
<naquad> i need to develop an extremely fast tcp server processing text-based protocol, what can i use in ruby and what efficiency should i expect?
<dbrock> rue, andrewvos: thanks!
<apeiros_> naquad: extremely fast and you use ruby? :)
<apeiros_> naquad: Kernel#select with non-blocking reads or EM
<naquad> apeiros_, i want to do this fast and 2-3k r/s will statisfy me
<andrewvos> Sounds like you're doing it wrong
<whitequark> nope
<whitequark> I have a web-server in Ruby built for a custom task
<whitequark> and on 1 core of i7-2670QM it easily processes more than 8k r/s
<whitequark> obviously it uses Mongrel parser (I use parts of Thin for the task)
<whitequark> so, you'll probably need to implement the parser in C. Just look at how Thin is built, it has pretty small and easily understandable codebase
nofxxx has joined #ruby-lang
dbrock has quit [Read error: Connection reset by peer]
bizinichi has joined #ruby-lang
nofxxxx has quit [Ping timeout: 252 seconds]
burgestrand1 has joined #ruby-lang
tRAS has quit [Ping timeout: 244 seconds]
<rue> Or, you know, EM
<andrewvos> Sounds like you're doing it wrong
burgestrand has quit [Ping timeout: 244 seconds]
tomb_ has joined #ruby-lang
Boohbah has quit [Remote host closed the connection]
Boohbah has joined #ruby-lang
<rue> ZMQ would be sweet if you had both ends
Radium has joined #ruby-lang
tRAS has joined #ruby-lang
<gnufied> andrewvos trolling today?
burgestrand has joined #ruby-lang
adambeynon has quit [Quit: adambeynon]
gouthamvel has joined #ruby-lang
burgestrand1 has quit [Ping timeout: 245 seconds]
<whitequark> rue: what? I use EM, obviously.
gouthamvel has left #ruby-lang [#ruby-lang]
<andrewvos> gnufied: Never!
lele|w has quit [Ping timeout: 264 seconds]
bizinichi has quit [Read error: Connection reset by peer]
asaaki has joined #ruby-lang
burgestrand has quit [Ping timeout: 244 seconds]
asaaki has quit [Ping timeout: 252 seconds]
asaaki has joined #ruby-lang
woollyams has joined #ruby-lang
yannis has quit [Quit: yannis]
burgestrand has joined #ruby-lang
<darix> isnt mongrel2 zmq based?
lele|w has joined #ruby-lang
tomb_ has quit [Quit: Computer has gone to sleep.]
jd has joined #ruby-lang
jd has quit [Changing host]
jd has joined #ruby-lang
qjb has quit [Quit: qjb]
Jade has quit [Disconnected by services]
jd is now known as Jade
<whitequark> darix: it is
mark_locklear has joined #ruby-lang
francisfish has quit [Read error: Connection reset by peer]
francisfish has joined #ruby-lang
lsegal has joined #ruby-lang
postmodern has quit [Quit: Leaving]
burgestrand has quit [Ping timeout: 245 seconds]
caiofilipini has joined #ruby-lang
caiofilipini has left #ruby-lang [#ruby-lang]
burgestrand has joined #ruby-lang
rushed has joined #ruby-lang
burgestrand has quit [Client Quit]
denysonique has quit [Excess Flood]
hynkle has joined #ruby-lang
denysonique has joined #ruby-lang
futurechimp has quit [Quit: Leaving]
kurko_ has joined #ruby-lang
<zzak> good morning
<rue> Good internet time of day to you, ser
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
<andrewvos> interlunch
<erikh> HELLO
<erikh> ok it's shower time
<erikh> later!
dross_ has joined #ruby-lang
sysbeast has joined #ruby-lang
tekin has quit [Quit: Computer has gone to sleep.]
tomzx has joined #ruby-lang
tommyvyo has joined #ruby-lang
flopper has quit [Ping timeout: 265 seconds]
<andrewvos> have fun ;)
mat__ has joined #ruby-lang
mat__ is now known as Guest64428
jperry2 has joined #ruby-lang
Axsuul has quit [Ping timeout: 248 seconds]
LarryLv has quit [Ping timeout: 248 seconds]
LarryLv has joined #ruby-lang
<andrewvos> /awkward silence
woollyams has quit [Quit: Computer has gone to sleep.]
tekin has joined #ruby-lang
Hakon|mbp has joined #ruby-lang
TheHunter_1039 has joined #ruby-lang
srbartlett has quit [Remote host closed the connection]
bglusman has joined #ruby-lang
<erikh> heh
kyrylo has quit [Read error: Connection reset by peer]
<rue> That wasn’t a proper shower
<erikh> sure it was, it was a "shit I've gotta catch the train soon" shower
<zzak> remember tommyboy when chris farley tries to change in the airport bathroom?
kyrylo has joined #ruby-lang
kyrylo has quit [Changing host]
kyrylo has joined #ruby-lang
<erikh> ha, no
tomzx has quit [Ping timeout: 245 seconds]
<shevy> hmm
<shevy> rue knows how to shower
<rue> That I do
<erikh> hey now
stamina has joined #ruby-lang
<erikh> what you're implying is not cool
<erikh> I shower
arcresu has joined #ruby-lang
jd has joined #ruby-lang
jd has quit [Changing host]
jd has joined #ruby-lang
nevynxxx has quit [Quit: leaving]
Jade has quit [Disconnected by services]
jd is now known as Jade
LarryLv has quit [Remote host closed the connection]
dalekurt has quit [Read error: Connection reset by peer]
<rue> Uh huh
jbwiv has quit [Quit: Ex-Chat]
jbwiv has joined #ruby-lang
arcresu has quit [Quit: Leaving]
sockmonk has joined #ruby-lang
rippa has quit [Quit: derp herp]
bruno_coelho has joined #ruby-lang
tRAS has quit [Quit: Mother, did it need to be so high?]
dross_ has quit []
<shevy> showering is good for soft skin
yannis has joined #ruby-lang
dv310p3r has joined #ruby-lang
stardiviner has joined #ruby-lang
bglusman has quit [Remote host closed the connection]
bglusman has joined #ruby-lang
slyphon has quit [Ping timeout: 245 seconds]
bglusman has quit [Read error: Connection reset by peer]
mistym has quit [Remote host closed the connection]
dalekurt has joined #ruby-lang
stardiviner has quit [Ping timeout: 245 seconds]
seanstickle has joined #ruby-lang
slyphon has joined #ruby-lang
igaiga has joined #ruby-lang
dax has quit [Quit: Leaving]
rafadc has joined #ruby-lang
dax has joined #ruby-lang
heftig has quit [Quit: leaving]
fgomez has quit [Quit: Lost terminal]
fgomez has joined #ruby-lang
fgomez has quit [Client Quit]
tRAS has joined #ruby-lang
fgomez has joined #ruby-lang
zz_wasnotrice is now known as wasnotrice
savage- has quit [Remote host closed the connection]
outoftime has joined #ruby-lang
asaaki has quit [Quit: Bye!]
elux has joined #ruby-lang
carloslopes has joined #ruby-lang
stardiviner has joined #ruby-lang
Fullmoon has joined #ruby-lang
bruno_coelho has quit [Remote host closed the connection]
dfr|mac has joined #ruby-lang
slyphon has quit [Quit: WeeChat 0.3.6]
krohrbaugh has quit [Ping timeout: 244 seconds]
tomb_ has joined #ruby-lang
tRAS has quit [Quit: Mother, did it need to be so high?]
k5zhang has joined #ruby-lang
igaiga has quit [Remote host closed the connection]
mistym has joined #ruby-lang
dfr|mac has quit [Remote host closed the connection]
slyphon has joined #ruby-lang
slyphon has quit [Client Quit]
gsav has joined #ruby-lang
tRAS has joined #ruby-lang
k5zhang has quit [Remote host closed the connection]
Hakon|mbp has quit [Quit: Leaving...]
ryez has joined #ruby-lang
dv310p3r has quit [Ping timeout: 248 seconds]
JohnBat26 has quit [Remote host closed the connection]
JohnBat26 has joined #ruby-lang
Austin__ has joined #ruby-lang
heftig has joined #ruby-lang
jxie has quit [Read error: Connection reset by peer]
rippa has joined #ruby-lang
jxie has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
tRAS has quit [Quit: Mother, did it need to be so high?]
sysbeast has quit [Quit: Verlassend]
andrewhl has joined #ruby-lang
asahi has joined #ruby-lang
|Vargas| has quit [Quit: ...]
blowmage` has joined #ruby-lang
dv310p3r has joined #ruby-lang
rafadc has quit [Ping timeout: 245 seconds]
rafadc has joined #ruby-lang
tRAS has joined #ruby-lang
slyphon has joined #ruby-lang
tRAS has quit [Client Quit]
yannis has quit [Read error: Connection reset by peer]
bryancp has joined #ruby-lang
dalekurt has quit [Read error: Operation timed out]
krohrbaugh has joined #ruby-lang
imperator has joined #ruby-lang
vmoravec has quit [Quit: Leaving]
dv310p3r has quit [Ping timeout: 245 seconds]
dalekurt has joined #ruby-lang
Radium has quit [Ping timeout: 244 seconds]
singpolyma has joined #ruby-lang
arooni-mobile has joined #ruby-lang
dfr|mac has joined #ruby-lang
hakunin has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
dv310p3r has joined #ruby-lang
hynkle has quit [Quit: hynkle]
bfreeman has quit [Quit: bfreeman]
codesturgeon has joined #ruby-lang
codesturgeon has quit [Client Quit]
hynkle has joined #ruby-lang
dv310p3r has quit [Read error: Connection reset by peer]
Karmaon has quit [Ping timeout: 276 seconds]
gouthamvel has joined #ruby-lang
chimkan_ has joined #ruby-lang
t_p has joined #ruby-lang
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
dv310p3r has joined #ruby-lang
solars has quit [Read error: Connection reset by peer]
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
Tref has joined #ruby-lang
tjadc has quit [Ping timeout: 240 seconds]
hakunin has quit [Remote host closed the connection]
thone has joined #ruby-lang
hynkle has quit [Quit: hynkle]
heftig has quit [Ping timeout: 245 seconds]
thone_ has quit [Ping timeout: 245 seconds]
heftig has joined #ruby-lang
apeiros_ has joined #ruby-lang
urbanmonk has joined #ruby-lang
blowmage` has left #ruby-lang [#ruby-lang]
blowmage has joined #ruby-lang
savage- has joined #ruby-lang
heftig has quit [Ping timeout: 245 seconds]
InfiniteJest has joined #ruby-lang
Radium has joined #ruby-lang
tRAS has joined #ruby-lang
singpolyma has quit [Quit: Lost terminal]
singpolyma has joined #ruby-lang
t_p has quit [Read error: Connection reset by peer]
horus_plex has joined #ruby-lang
mark_locklear has quit [Remote host closed the connection]
heftig has joined #ruby-lang
imperator2 has joined #ruby-lang
tRAS has quit [Quit: Mother, did it need to be so high?]
dfr|mac has quit [Remote host closed the connection]
[Tritium] has left #ruby-lang [#ruby-lang]
dfr|mac has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
tRAS has joined #ruby-lang
shevy has quit [Quit: ""]
cdt has quit [Quit: Ex-Chat]
bglusman has joined #ruby-lang
valeri_ufo has quit [Read error: Connection reset by peer]
valeri_ufo has joined #ruby-lang
denysonique has quit [Excess Flood]
denysonique has joined #ruby-lang
peppyheppy has joined #ruby-lang
kvirani has joined #ruby-lang
fgomez has quit [Ping timeout: 252 seconds]
Radium has quit [Read error: Connection reset by peer]
Defusal has quit [Quit: Quit message goes here]
arooni-mobile has quit [Remote host closed the connection]
Carnage\ has joined #ruby-lang
InfiniteJest has quit [Quit: Linkinus - http://linkinus.com]
brianpWins has joined #ruby-lang
apanek has quit [Quit: leaving]
JohnBat26 has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
deobald__ has joined #ruby-lang
wasnotrice is now known as zz_wasnotrice
butchanton has joined #ruby-lang
bfreeman has joined #ruby-lang
tekin has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
fayimora has quit [Ping timeout: 240 seconds]
Fullmoon has quit [Quit: Fullmoon]
workmad3 has quit [Ping timeout: 252 seconds]
fayimora has joined #ruby-lang
sora_h is now known as s0ra_h
s0ra_h is now known as sora_h
hahuang65 has joined #ruby-lang
hebz0rl has quit [Quit: Verlassend]
hynkle has joined #ruby-lang
Tref has quit [Quit: Tref]
codewrangler has joined #ruby-lang
vesan has quit [Read error: Connection reset by peer]
Dreamer3 has quit [Quit: Leaving...]
hynkle has quit [Client Quit]
vesan has joined #ruby-lang
Radium has joined #ruby-lang
arcresu has joined #ruby-lang
sora_h is now known as s0ra_h
imperator2 has quit [Ping timeout: 245 seconds]
cout has quit [Quit: leaving]
Guest64428 has quit [Ping timeout: 240 seconds]
vesan has quit [Ping timeout: 248 seconds]
vesan has joined #ruby-lang
hakunin has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
hakunin has quit [Remote host closed the connection]
znz_jp has quit [Quit: kill -QUIT $$]
znz_jp has joined #ruby-lang
heftig has quit [Quit: leaving]
benanne has joined #ruby-lang
sonicpond has joined #ruby-lang
sonicpond has quit [Quit: leaving]
Radium has quit [Ping timeout: 252 seconds]
imperator2 has joined #ruby-lang
chris2 has quit [Ping timeout: 252 seconds]
arcresu has quit [Quit: Leaving]
linus95014 has joined #ruby-lang
seanstickle has quit [Quit: Nihil sub sole novum]
kvirani has quit [Remote host closed the connection]
hynkle has joined #ruby-lang
zmack has quit [Remote host closed the connection]
sonicpond has joined #ruby-lang
<oddmunds> windows people, what shell do you use?
<oddmunds> i'm using the mingw32-git-bash thing that came with git. but it's pretty awkward. i can't even resize it.
fgomez has joined #ruby-lang
<frem> oddmunds: powershell. wrap it in console2 if you like tabs.
fukushima has joined #ruby-lang
<oddmunds> thanks
<frem> oddmunds: I also recommend trying git for windows. it sets up git-posh, which gives you all sorts of handy things when working with git repos from powershell.
comboy_ has joined #ruby-lang
fgomez has quit [Ping timeout: 252 seconds]
comboy has quit [Ping timeout: 244 seconds]
naquad has quit [Ping timeout: 244 seconds]
<oddmunds> this power shell is entierly it's own thing it seems.
<oddmunds> i get stacktraces when i enter non-existing commands
soahccc is now known as soahccc`
* imperator2 just uses the regular ol' cmd shell
<imperator2> well, ok, it's actually the vs command prompt, but basically the same thing
<oddmunds> yeah, i've found a way to live more or less happily with windows by not having much ambition or hopes in tweaking it.
<imperator2> i do have unxutils installed, though
<oddmunds> letting it do things the windows way has made it sort of problem free.
<oddmunds> but never use it for programming.
naquad has joined #ruby-lang
<imperator2> i switch between unix and windows a lot so being able to type "ls" on windows and having it Just Work is nice
cesario has quit [Ping timeout: 252 seconds]
<oddmunds> frem: powershell can't run bash or zsh or anything like that, right?
adambeynon has joined #ruby-lang
<Tasser> oddmunds, it got objects to pipe, though
vesan has quit [Ping timeout: 248 seconds]
adambeynon has quit [Client Quit]
adambeynon has joined #ruby-lang
chris2 has joined #ruby-lang
<oddmunds> i'll start a working with C# in August, maybe I ought to let powershell do it'
<oddmunds> s thing
cesario has joined #ruby-lang
Hakon|mbp has joined #ruby-lang
rushed has quit [Quit: rushed]
vesan has joined #ruby-lang
scampbell has joined #ruby-lang
Radium_ has joined #ruby-lang
bojicas has joined #ruby-lang
Tref has joined #ruby-lang
vesan_ has joined #ruby-lang
UNIXgod has quit [Read error: Connection reset by peer]
UNIXgod has joined #ruby-lang
sonicpond has quit [Read error: Connection reset by peer]
vesan has quit [Read error: Connection reset by peer]
codewrangler has quit [Ping timeout: 244 seconds]
sonicpond has joined #ruby-lang
steez has quit [Read error: Operation timed out]
tomb_ has quit [Ping timeout: 244 seconds]
zenspider has quit [Ping timeout: 244 seconds]
ryez has quit [Ping timeout: 245 seconds]
mat__ has joined #ruby-lang
Mchl has quit [Quit: ZNC - http://znc.sourceforge.net]
mat__ is now known as Guest37137
Boohbah has quit [Ping timeout: 276 seconds]
Mchl has joined #ruby-lang
tomb_ has joined #ruby-lang
achiu has quit [Ping timeout: 240 seconds]
Boohbah has joined #ruby-lang
gnufied has joined #ruby-lang
gnufied has left #ruby-lang [#ruby-lang]
steez has joined #ruby-lang
steez is now known as Guest15841
achiu has joined #ruby-lang
Guest37137 has quit [Ping timeout: 244 seconds]
Axsuul has joined #ruby-lang
mssola has joined #ruby-lang
hynkle has quit [Ping timeout: 244 seconds]
hynkle has joined #ruby-lang
Criztian has joined #ruby-lang
deobald__ has quit [Ping timeout: 260 seconds]
dejongge has joined #ruby-lang
gouthamvel has left #ruby-lang [#ruby-lang]
harukomoto has joined #ruby-lang
dalekurt has quit [Read error: Connection reset by peer]
dalekurt has joined #ruby-lang
heftig has joined #ruby-lang
bojicas has quit [Remote host closed the connection]
dalekurt has quit [Client Quit]
fgomez has joined #ruby-lang
stamina has quit [Quit: Lost terminal]
urbanmonk has quit [Quit: Bye!]
burgestrand has joined #ruby-lang
qpingu has joined #ruby-lang
dalekurt has joined #ruby-lang
headius has joined #ruby-lang
fayimora has quit [Quit: Busy…..zzzzz]
caiofilipini has joined #ruby-lang
thrcka has quit [Ping timeout: 244 seconds]
kvirani has joined #ruby-lang
tRAS has quit [Quit: Mother, did it need to be so high?]
tRAS has joined #ruby-lang
Cykey has joined #ruby-lang
robbyoconnor has joined #ruby-lang
Criztian has quit [Remote host closed the connection]
Criztian has joined #ruby-lang
harukomoto has quit [Ping timeout: 245 seconds]
benanne has quit [Quit: kbai]
Hakon|mbp has quit [Quit: Leaving...]
linus95014 has quit [Quit: linus95014]
Criztian has quit [Ping timeout: 244 seconds]
Defusal has joined #ruby-lang
Defusal has quit [Changing host]
Defusal has joined #ruby-lang
harukomoto has joined #ruby-lang
<khaase> dear drbrain! how are you? can I combine net-http-persistent and net-http-pipeline somehow? greetings, khaase
<khaase> ah, uh, Net::HTTP::Pipeline seems to be not as easy an replacement for Net::HTTP as Net::HTTP::Persistent is
<drbrain> khaase: it should drop-in
<khaase> ok
<khaase> so
<khaase> hmm
<khaase> I'm trying to use this with faraday
bojicas has joined #ruby-lang
<khaase> drbrain: a, right, cool
<zzak> PS isn't all that bad, for someone who rarely uses windows
<khaase> drbrain: so, it depends on load order?
<drbrain> khaase: yes
<khaase> drbrain: how do I check if a server supports pipelining?
<khaase> I mean, the server is supposed to.
<khaase> doesn't mean it does.
<drbrain> khaase: net-http-pipeline takes care of it for you
<khaase> drbrain: yes, I know
<khaase> drbrain: but I will be talking to the same server ever
gnufied1 has joined #ruby-lang
<khaase> drbrain: so, I only have to check like right now
mikkelb has joined #ruby-lang
<khaase> and if it doesn't, I don't have to investigate pipelining any further
<drbrain> ah
<drbrain> let me see...
<mikkelb> Hiya
<mikkelb> How do I exclude all the countries not listed in list_oic.txt, then sort them by the GDP PPP (descending), in the format: <country> <GDP PPP> <population>?
linus95014 has joined #ruby-lang
zz_wasnotrice is now known as wasnotrice
<mikkelb> Would this be easier in awk maybe?
nofxxxx has joined #ruby-lang
nofxxx has quit [Ping timeout: 245 seconds]
Hakon|mbp has joined #ruby-lang
headius has quit [Quit: headius]
<drbrain> khaase: replace 'localhost' with whatever server you want to contact
<khaase> drbrain: yeah, sure
<sonicpond> mikkelb: can you paste a few rows of each file into gist please?
Radium_ has quit []
<khaase> drbrain: http.start doesn't take options, neither does HTTP.new... trying to figure out where to add the :use_sll
<khaase> :use_ssl
linus95014 has quit [Quit: linus95014]
<mikkelb> sonicpond: For sure, yeah
<khaase> drbrain: stupid me, there is accessor
<drbrain> khaase: there's a way to do it from new, but it's annoying and I don't remember
<khaase> yeah, found that
<drbrain> khaase: I'm working on making that better!
<khaase> drbrain: if it says Conn pipeline keep-alive then everything is good, right?
KU0N has quit [Quit: Linkinus - http://linkinus.com]
bojicas has quit [Remote host closed the connection]
<drbrain> khaase: yes… it would raise an exception if pipelining wasn't supported
soahccc` is now known as soahccc
<khaase> cool cool cool
<mikkelb> sonicpond: https://gist.github.com/2783849
caiofilipini has left #ruby-lang [#ruby-lang]
gnufied1 has quit [Quit: Leaving.]
<sonicpond> mikkelb: ...lemme see here...
harukomoto has quit [Ping timeout: 252 seconds]
<khaase> drbrain: are you using net-http-pipeline in production?
<drbrain> khaase: I wrote it for fun, but it is being used at ATTi/YP
<khaase> ok
<khaase> I'll probably use it for travis
<khaase> thanks a ton for writing it and helping me :)
krohrbaugh1 has joined #ruby-lang
<drbrain> khaase: np!
<khaase> drbrain: in related news: github supports pipelining
<drbrain> khaase: :D
krz has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 244 seconds]
fgomez has quit [Ping timeout: 252 seconds]
harukomoto has joined #ruby-lang
<drbrain> khaase: you should measure for a speedup… HTTP/1.1 pipelining support is usually present simply through standard TCP behavior
<zzak> vermont finally gets its own ruby conference
<khaase> drbrain: yeah, we are measuring everything!
<drbrain> not every server reads multiple requests and starts processing them
<drbrain> zzak: awesome!
<khaase> drbrain: ok, so, hmm... so it might be sane to instead truly fire the requests in parallel?
<zzak> drbrain: y u no speak?
<zzak> khaase either?
<khaase> server on the other side is nginx btw
codewrangler has joined #ruby-lang
<drbrain> zzak: nobody suggested I should!
<drbrain> khaase: too many factors to say
<khaase> drbrain: we're measuring everything, so we'll see
<zzak> drbrain: burlingtonruby.com
linus95014 has joined #ruby-lang
<drbrain> khaase: if you can mix up the order of requests then it's possible multiple persistent connections will be faster than a single pipelined connection
<drbrain> khaase: but it's also possible that multiple pipelined connections will be faster still
Guest37137 has joined #ruby-lang
Facefox has quit [Ping timeout: 245 seconds]
<sonicpond> mikkelb: an overall logic might be, 1) create a hash from oic { "countryname" => [population] } 2) iterate through gdp and and grow the existing array as { "countryname" => [population, gdp] } 3) iterate through hash emitting as country<tab>pop<tab>gdp and pipe it to common unix utils like cut and sort
Facefox has joined #ruby-lang
Tref has quit [Quit: Tref]
ezn-01 has joined #ruby-lang
krohrbaugh1 has quit [Quit: Leaving.]
<sonicpond> mikkelb: i presume this is a onetime data massage and speed/elegance are irrelevant?
<mikkelb> sonicpond: interesting.. well, elegance is kinda important though.. i dunno about speed
<sonicpond> mikkelb: marrying ruby's standard out to stdin on unix utils is kinda sexy if you ask me ;)
ezn-01 has quit [Read error: Connection reset by peer]
<mikkelb> oh yeah i dont mind that at all :-)
chimkan_ has quit [Quit: chimkan_]
<mikkelb> major turnon as a matter of fact
<mikkelb> but a one time massage it is not, as both gdp and population change every year
srbaker has quit [Quit: Computer has gone to sleep.]
chimkan_ has joined #ruby-lang
<sonicpond> mikkelb: well, if the script takes filenames as arguments, you could siccinctly call it from crontab periodically. no humans need to be injured in the filming of this solution.
<mikkelb> hehe
<mikkelb> nah thats alright i can run it manually once a year, no problem
<mikkelb> as long as it's sexier than the awk solution i used to go by: awk -F '\t' -v OFS='\t' 'FNR==NR && !/^[[:space:]]*#/{a[$1]=$2; next} $1 in a { print $1, a[$1], $2}' list_oic.txt list_gdp_ppp.txt
<mikkelb> (it doesn't work anymore though)
<sonicpond> mikkelb: well, i'll always think of awk as ruby't hot milf of a mom, but the exclusion requirement and the somewhat dirty nature of the gdp file are problematic.
<mikkelb> (because back then there were lots of tabs in those textfiles, plus it didn't add back the population count)
<mikkelb> hahaha
zmack has joined #ruby-lang
* Boohbah has never heard anyone refer to awk as 'sexy'
yxhuvud has quit [Ping timeout: 252 seconds]
<sonicpond> boohbah: this comedy is not for all audiences. haha
chimkan_ has quit [Quit: chimkan_]
<mikkelb> :-)
rippa has quit [Ping timeout: 250 seconds]
tomb_ has quit [Quit: Computer has gone to sleep.]
carloslopes has quit [Quit: Leaving]
gsav has quit [Read error: Connection reset by peer]
imperator has quit [Quit: Leaving]
tomb_ has joined #ruby-lang
<sonicpond> this one time i threw away my shoes and bought new ones, and the new ones were so uncomfortable they caused pain everytime i took a step and each step made me miss my old shoes immensely. over time, it got better, but i came to love my gone shoes more than i originally did. this week at work, i'm writing exclusively in perl, and it's making me miss ruby so bad.
soahccc is now known as soahccc`
gsav has joined #ruby-lang
headius has joined #ruby-lang
tomb_ has quit [Quit: Computer has gone to sleep.]
<mikkelb> sonicpond: same thing happened to me, i just traded in the shoes for another pair
ridders24 has joined #ruby-lang
savage-_ has joined #ruby-lang
<any-key> I lit the new ones on fire
<sonicpond> darmok and jalad...at tanagra.
savage- has quit [Read error: Operation timed out]
fgomez has joined #ruby-lang
<sonicpond> this week i've heard the phrases "fire torch" and "money check". i like to think of that as reed-solomon phrasing.
<sonicpond> do you see the lengths i go to in order to avoid going back to my vim tin of perl stew?
<any-key> vim is greawt
<sonicpond> any-key: agreed. it's the spoonful of sugar that makes the medicine go down.
fgomez has quit [Ping timeout: 252 seconds]
<sonicpond> i keep trying different colorschemes but i always end up back in vividchalk.
srbaker has joined #ruby-lang
<mikkelb> sonicpond: cool never tried that one
<any-key> I'm big on railscasts and solarized
<mikkelb> been using solarized for the past few months
<mikkelb> any-key: word
<any-key> werd
<sonicpond> hmmmm. i will check it.
Hakon|mbp has quit [Quit: Leaving...]
<mistym> sonicpond: I keep clicking http://themes.sweyla.com/ until I get sometihng I like ;)
<any-key> ooooh neat
benanne has joined #ruby-lang
<sonicpond> mistym: that's pretty cool!
<mistym> Sublime has a nifty plugin to automagically fetch a new random theme from there and apply it.
<rue> …Nice?
shevy has joined #ruby-lang
jperry2 has quit [Ping timeout: 244 seconds]
zmack has quit [Remote host closed the connection]
savage-_ has quit [Remote host closed the connection]
savage- has joined #ruby-lang
sonicpond is now known as sonicpond_afk
<mikkelb> sonicpond_afk: any news on that list though?
seanstickle has joined #ruby-lang
scampbell has quit [Quit: Ex-Chat]
hynkle has quit [Quit: hynkle]
burgestrand has quit [Quit: Leaving.]
burgestrand has joined #ruby-lang
sonicpond_afk is now known as sonicpond
Facefox has quit []
jarred has joined #ruby-lang
<sonicpond> mikkelb: greetings. i was away from keyboard. down the hall. sweet talking the girl at the taco shack.
<any-key> get sommeeeee
bglusman has quit [Remote host closed the connection]
<mikkelb> sonicpond: nicely done
<sonicpond> so many double entendres.
adambeynon has quit [Quit: adambeynon]
bglusman has joined #ruby-lang
<any-key> stay classy, #ruby-lang
s0ber has quit [Read error: Connection reset by peer]
<mikkelb> sonicpond: i added a tab to better separate the countries from the numbers: http://home.no/dwaynie/list/
<sonicpond> any-key: sometimes the monkeys start jumping on the beds.
<sonicpond> mikkelb: yeah, that will help. i was thinking something like line.split(" ") then pop and rejoin, but tab works better if you can get it.
s0ber has joined #ruby-lang
<sonicpond> mikkelb: are you writing something? paste it into gist and let's take a look.
linus95014 has quit [Quit: linus95014]
Hakon|mbp has joined #ruby-lang
Guest37137 has quit [Ping timeout: 244 seconds]
bglusman has quit [Ping timeout: 260 seconds]
<mikkelb> sonicpond: not really
<mikkelb> getting some help in #awk though but
zenspider has joined #ruby-lang
<mikkelb> would really like to see this mom's hot daughter instead =)
<any-key> #awkward
linus95014 has joined #ruby-lang
<sonicpond> mikkelb: you're saying all the right things to make me write it for you...10 minutes or your next taco is free.
mssola has quit [Quit: Konversation terminated!]
<sonicpond> ...hang on...
<asahi> if I do something like require 'xyz', does xyz have to be a gem for the require to be successful?
<seanstickle> asahi: nope
<seanstickle> asahi: require "csv" loads a standard library
<any-key> require_relative is preferrable for local files
<seanstickle> require "./foo" loads foo.rb from the local directory
<zenspider> rawr
<seanstickle> Yeah, or require_relative
<zenspider> minitest 3.0.1 released
<mikkelb> heheh
<asahi> seanstickle: okay, thanks
<asahi> seanstickle: so if you do a require that doesn't have a path, then it would load either a gem or a standard library?
<seanstickle> asahi: it would load from the LOAD_PATH
<seanstickle> asahi: or try to
<asahi> LOAD_PATH is a variable? in which environment?
kurko_ has quit [Quit: This computer has gone to sleep]
<shevy> asahi the $LOAD_PATH variable
fgomez has joined #ruby-lang
<asahi> hmm, I tried doing echo $LOAD_PATH in my shell but I didn't get a return
<asahi> oh, wait nevermind
<asahi> got it
vesan_ has quit [Ping timeout: 272 seconds]
chimkan has joined #ruby-lang
fgomez has quit [Ping timeout: 245 seconds]
headius has quit [Quit: headius]
<shevy> it's inside ruby
<shevy> you can do require 'pp' and then pp $LOAD_PATH
Carnage\ has quit []
Austin__ has quit [Quit: Leaving.]
taterbase has joined #ruby-lang
<apeiros_> since load path is an array of strings, puts $LOAD_PATH works fine too
Oloryn_lt21 has quit [Read error: Connection reset by peer]
vesan has joined #ruby-lang
chimkan has quit [Quit: chimkan]
sockmonk has quit [Ping timeout: 272 seconds]
Radium has joined #ruby-lang
elux has quit [Quit: Bye!]
<mikkelb> sonicpond: dont sweat it if it's trouble, got the awk working so..
<mikkelb> awk -F '\t' -v 'OFS=\t' 'FNR==NR && NF==2 && !/^[[:space:]]*#/{a[$1]=$2; next} ($1 in a) { print $1, $2, a[$1] }' list_oic.txt list_gdp_ppp.txt | sort -t $'\t' -k2,2nr
<any-key> that is beautiful
woollyams has joined #ruby-lang
<mikkelb> any-key: im sure the author will be very pleased to hear that
<any-key> who wrote that?
<mikkelb> geirha
taterbase has quit [Quit: Computer has gone to sleep.]
<sonicpond> :mikkelb: well it's a lot shorter than this https://gist.github.com/2784436
<rue> Holy unreadable horror, batman
<rue> This is why we use real programming languages
mistym has quit [Remote host closed the connection]
harukomoto has quit [Ping timeout: 244 seconds]
<mikkelb> sonicpond: well first of all i have to say i really appreciate the effort
<mikkelb> but i think this daughter has got some daddy issues
woollyams has quit [Ping timeout: 244 seconds]
<mikkelb> pretty nice lesson in ruby though when i sit back and admire this thing
<sonicpond> one would need to pipe it to cut/sort as the awk above does
vesan has quit [Remote host closed the connection]
vesan has joined #ruby-lang
<mikkelb> cool
linus95014 has quit [Ping timeout: 245 seconds]
<mikkelb> sonicpond: for what its worth this one is for u http://soundcloud.com/haukeland/4sonicpond
linus95014 has joined #ruby-lang
Karmaon has joined #ruby-lang
stamina has joined #ruby-lang
slyphon has quit [Quit: WeeChat 0.3.6]
wasnotrice is now known as zz_wasnotrice
<sonicpond> ...listening. like.
<sonicpond> mikkelb: no matter how you merge those files there are some issues like "Gambia" != "Gambia, The". the ruby script outputs only the population, the awk doesn't output that country at all.
<sonicpond> ...for example
<sonicpond> mikkelb: this girl in your soundcloud sounds just like my taco shack girl
wallerdev has joined #ruby-lang
asahi has left #ruby-lang [#ruby-lang]
thone has quit [Read error: Operation timed out]
thone has joined #ruby-lang
sonicpond has left #ruby-lang [#ruby-lang]
lopac1029 has joined #ruby-lang
<mikkelb> sonicpond: cool, i never thought of that
<mikkelb> sonicpond: haha thats awesome man
vesan has quit [Read error: Connection reset by peer]
VGoff is now known as VGoff_afk
dv310p3r has quit [Ping timeout: 245 seconds]
vesan has joined #ruby-lang
VGoff_afk is now known as VGoff
bryancp has quit [Remote host closed the connection]
vesan has quit [Remote host closed the connection]
vesan has joined #ruby-lang
major_majors has quit [Ping timeout: 244 seconds]
Guest37137 has joined #ruby-lang
fayimora has joined #ruby-lang
publicvoid_ has joined #ruby-lang
publicvoid__ has quit [Ping timeout: 252 seconds]
wmoxam has quit [Quit: leaving]
srbartlett has joined #ruby-lang
dvorak has joined #ruby-lang
linus95014 has quit [Quit: linus95014]
diegoviola has joined #ruby-lang
rmascarenhas has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
mikkelb has quit [Ping timeout: 250 seconds]
slyphon has joined #ruby-lang
kurko_ has joined #ruby-lang
linus95014 has joined #ruby-lang
fgomez has joined #ruby-lang
<slyphon> damn
<slyphon> somewhere along the line i'd forgotten what 'private' and 'protected' really did
kvirani has quit [Remote host closed the connection]
<drbrain> private: can't call with any receiver
fgomez has quit [Ping timeout: 265 seconds]
Cykey has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
<drbrain> protected: can only call with a receiver of the same class as the method
benanne has quit [Quit: kbai]
<slyphon> yeah
<slyphon> alhtough
mistym has joined #ruby-lang
<slyphon> you can't call self.class.foo if foo is protected
<drbrain> slyphon: I think, in part, because the only way to create a protected class method is class << self; protected; def foo() p :worked!; end; end
DEac- has quit [Ping timeout: 245 seconds]
<slyphon> yeah
Cykey has joined #ruby-lang
<drbrain> and C.new.class is not quite the same as class << C; self; end
DEac- has joined #ruby-lang
<slyphon> i did that, and kind of thought it might work
<slyphon> because it's "my class' protected method"
<erikh> aherp
* slyphon sighs
<drbrain> it looks that way, but it's actually "a protected method of the singleton class of my class"
<slyphon> i guess ruby just isn't quite as cool as i thought it was...
<slyphon> ruby, i am dissapoint
joast has quit [Quit: Leaving.]
<slyphon> disappoint, even
<slyphon> ok, what is kind of lame is that
toretore has quit [Quit: Leaving]
<slyphon> `private; alias another_foo foo` doesn't make another_foo private
kurko_ has quit [Read error: No route to host]
kurko__ has joined #ruby-lang
kurko__ has quit [Client Quit]
tenderlove has joined #ruby-lang
kain has quit [Quit: Sto andando via]
<shevy> slyphon depends
<shevy> slyphon 1.8 was cool
<shevy> 1.9.x ... hmm ;-)
<shevy> if I were matz though, I'd rip the foundation apart and rebuild to a 2.0
<shevy> which would be bad
<shevy> so my real hopes are for ruby 3.0
chimkan has joined #ruby-lang
slyphon has quit [Ping timeout: 245 seconds]
vesan has quit [Remote host closed the connection]
vesan has joined #ruby-lang
nick_h_ has quit [Quit: leaving]
chimkan has quit [Quit: chimkan]
erics has joined #ruby-lang
<erikh> shevy: that's the perl 6 method
<erikh> and fraught with madness
Skif has quit [Read error: Connection reset by peer]
bfreeman has quit [Read error: Connection reset by peer]
bfreeman has joined #ruby-lang
<shevy> hehehe
<shevy> I felt very brave today
<shevy> I went to #perl6 and asked them when will perl6 work on GNU hurd
<shevy> it was fun for a while until one said that it already does :(
<erikh> eh, leave them alone
felipe__ has joined #ruby-lang
<drbrain> shevy: LOL
slyphon has joined #ruby-lang
<shevy> they actually were nicer than the guys I asked for help on #perl
<slyphon> shevy: i'm pretty sure it won't *modify* the visibility of the alias
<shevy> rking solved my perl problem here on #ruby-lang :\
<slyphon> i.e. if the original method is public to begin with
<slyphon> i think this iis the only language chan that isn't full of insufferable assholes
brianpWins has quit [Quit: brianpWins]
<slyphon> there are just a few sufferable ones
tenderlove has quit [Remote host closed the connection]
soahccc` is now known as soahccc
Guest37137 has quit [Ping timeout: 245 seconds]
fayimora has quit [Read error: Connection reset by peer]
fayimora has joined #ruby-lang
fgomez has joined #ruby-lang
cout has joined #ruby-lang
dejongge has quit [Quit: Leaving.]
fgomez has quit [Client Quit]
fgomez has joined #ruby-lang
soahccc is now known as soahccc`
postmodern has joined #ruby-lang
macmartine has joined #ruby-lang
fayimora_ has joined #ruby-lang
fayimora_ has quit [Remote host closed the connection]
fayimora has quit [Ping timeout: 264 seconds]
Defusal has quit [Read error: Connection reset by peer]
Defusal has joined #ruby-lang
Facefox has joined #ruby-lang
brianpWins has joined #ruby-lang
andrewhl has quit [Quit: andrewhl]
tomb_ has joined #ruby-lang
srbaker has quit [Quit: Computer has gone to sleep.]
tomzx has joined #ruby-lang
M4g1c5t0rM has joined #ruby-lang