apeiros changed the topic of #ruby-lang to: Ruby 2.2.2; 2.1.6; 2.0.0-p645: https://ruby-lang.org || Paste code on https://gist.github.com
iliketurtles has quit [Quit: zzzzz…..]
symm- has joined #ruby-lang
zendrix has quit [Ping timeout: 256 seconds]
elia has joined #ruby-lang
ryba has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
BanzaiJoe has quit [Ping timeout: 272 seconds]
arBmind1 has quit [Quit: Leaving.]
woodruffw has quit [Remote host closed the connection]
woodruffw has joined #ruby-lang
stardiviner has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
symm- has quit [Ping timeout: 256 seconds]
elia has quit [Quit: Computer has gone to sleep.]
stardiviner has quit [Ping timeout: 264 seconds]
michael_mbp has quit [Excess Flood]
<zenspider> vondruch: hey
<zenspider> err...
michaeldeol has quit [Ping timeout: 250 seconds]
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
michael_mbp has joined #ruby-lang
bruno- has quit [Ping timeout: 246 seconds]
rcvalle has quit [Quit: rcvalle]
ogpastaling has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
bmichelsen has joined #ruby-lang
Fooster has quit [Ping timeout: 256 seconds]
wallerdev has quit [Quit: wallerdev]
bb010g has quit [Quit: Connection closed for inactivity]
charliesome has joined #ruby-lang
charliesome has quit [Read error: Connection reset by peer]
caseypatrickdris has quit [Remote host closed the connection]
bb010g has joined #ruby-lang
djbkd has joined #ruby-lang
wallerdev has joined #ruby-lang
cb_ has quit [Remote host closed the connection]
cb_ has joined #ruby-lang
bmichelsen has quit [Quit: Bye!]
cb_ has quit [Remote host closed the connection]
cb_ has joined #ruby-lang
cb_ has joined #ruby-lang
cb_ has quit [Changing host]
cornerma1 has joined #ruby-lang
bmichelsen has joined #ruby-lang
bmichelsen has quit [Client Quit]
cornerman has quit [Ping timeout: 250 seconds]
cornerma1 is now known as cornerman
cb_ has quit [Ping timeout: 264 seconds]
pikos has joined #ruby-lang
32NAB0B6Z has joined #ruby-lang
kfpratt has quit [Remote host closed the connection]
32NAB0B6Z has quit [Remote host closed the connection]
cb_ has joined #ruby-lang
manveru has quit []
manveru has joined #ruby-lang
shinnya has quit [Ping timeout: 250 seconds]
mcclurmc has quit [Remote host closed the connection]
cb_ has quit [Ping timeout: 256 seconds]
whippythellama has quit [Quit: whippythellama]
amclain has joined #ruby-lang
mcclurmc has joined #ruby-lang
hahuang65 has quit [Ping timeout: 272 seconds]
bruno- has joined #ruby-lang
joaomdmoura has joined #ruby-lang
joaomdmoura has quit [Read error: Connection reset by peer]
joaomdmoura has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
michael_mbp has quit [Excess Flood]
houhoulis has joined #ruby-lang
michael_mbp has joined #ruby-lang
bruno- has quit [Ping timeout: 245 seconds]
dorei has quit []
kfpratt has joined #ruby-lang
charliesome has joined #ruby-lang
kfpratt has quit [Ping timeout: 246 seconds]
tkuchiki has joined #ruby-lang
mcclurmc has quit [Remote host closed the connection]
woodruffw has quit [Quit: And then he took off.]
gwendall has quit [Remote host closed the connection]
joaomdmoura has quit [Remote host closed the connection]
gwendall has joined #ruby-lang
joaomdmoura has joined #ruby-lang
woodruffw has joined #ruby-lang
woodruffw has quit [Client Quit]
credman has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
woodruffw has joined #ruby-lang
gwendall has quit [Ping timeout: 272 seconds]
wallerdev has quit [Ping timeout: 240 seconds]
ruby-lang778 has joined #ruby-lang
<ruby-lang778> Does running a ruby Http request on multiple threads create parallel http requests?
sross07 has quit [Read error: Connection reset by peer]
benlovell has joined #ruby-lang
sross07 has joined #ruby-lang
<womble> Yes.
leat1 has quit [Ping timeout: 256 seconds]
benlovell has quit [Ping timeout: 245 seconds]
mcclurmc has joined #ruby-lang
|jemc| has quit [Ping timeout: 256 seconds]
djbkd has joined #ruby-lang
gwendall has joined #ruby-lang
malconis has joined #ruby-lang
malconis has quit [Remote host closed the connection]
bruno- has joined #ruby-lang
gwendall has quit [Ping timeout: 272 seconds]
ruby-lang778 has quit [Ping timeout: 246 seconds]
io_syl has quit []
kfpratt has joined #ruby-lang
malconis has joined #ruby-lang
bruno- has quit [Ping timeout: 246 seconds]
JakFrist has quit [Quit: Connection closed for inactivity]
fujimura has joined #ruby-lang
joaomdmoura has quit [Read error: Connection reset by peer]
kfpratt has quit [Remote host closed the connection]
joaomdmoura has joined #ruby-lang
rawrmonstar has quit [Quit: Textual IRC Client: www.textualapp.com]
aaeron has quit [Quit: aaeron]
caseypatrickdris has joined #ruby-lang
j4cknewt has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
joaomdmoura has quit [Read error: Connection reset by peer]
joaomdmoura has joined #ruby-lang
joaomdmoura has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
joaomdmoura has joined #ruby-lang
ogpastaling has quit [Remote host closed the connection]
ogpastaling has joined #ruby-lang
gwendall has joined #ruby-lang
joaomdmoura has quit [Read error: Connection reset by peer]
joaomdmoura has joined #ruby-lang
dayid_ is now known as dayid
ogpastaling has quit [Ping timeout: 272 seconds]
gwendall has quit [Ping timeout: 272 seconds]
drefined has joined #ruby-lang
io_syl has joined #ruby-lang
nertzy2 has joined #ruby-lang
tenderlove has joined #ruby-lang
hahuang65 has joined #ruby-lang
ryba has quit [Ping timeout: 256 seconds]
bruno- has joined #ruby-lang
malconis has quit [Read error: Connection reset by peer]
bruno- has quit [Ping timeout: 244 seconds]
ledestin has joined #ruby-lang
|jemc| has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
kfpratt has joined #ruby-lang
wallerdev has joined #ruby-lang
gix has quit [Ping timeout: 240 seconds]
gix has joined #ruby-lang
revath has joined #ruby-lang
slawrence00 has joined #ruby-lang
caseypatrickdris has quit [Remote host closed the connection]
gianlucadv has joined #ruby-lang
kfpratt has quit [Ping timeout: 246 seconds]
djbkd has quit [Quit: My people need me...]
charliesome has quit [Quit: zzz]
charliesome has joined #ruby-lang
gwendall has joined #ruby-lang
gwendall has quit [Ping timeout: 272 seconds]
benlovell has joined #ruby-lang
bruno- has joined #ruby-lang
tenderlove has quit [Read error: Connection reset by peer]
benlovell has quit [Ping timeout: 252 seconds]
malconis has joined #ruby-lang
bruno- has quit [Ping timeout: 256 seconds]
wallerdev has quit [Quit: wallerdev]
tenderlove has joined #ruby-lang
zendrix has joined #ruby-lang
j4cknewt has joined #ruby-lang
j4cknewt has quit [Ping timeout: 256 seconds]
micmus has quit [Ping timeout: 265 seconds]
revath has quit [Ping timeout: 244 seconds]
zendrix has quit [Ping timeout: 265 seconds]
wallerdev has joined #ruby-lang
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ruby-lang516 has joined #ruby-lang
malconis has joined #ruby-lang
joaomdmoura has quit [Ping timeout: 255 seconds]
ruby-lang516 has quit [Ping timeout: 246 seconds]
zendrix has joined #ruby-lang
RickHull has joined #ruby-lang
nertzy2 has quit [Quit: This computer has gone to sleep]
skade has joined #ruby-lang
woodruffw has quit [Remote host closed the connection]
tautvydas has joined #ruby-lang
zendrix has quit [Ping timeout: 265 seconds]
souvikd has joined #ruby-lang
j4cknewt has joined #ruby-lang
gianlucadv has quit [Ping timeout: 264 seconds]
wallerdev has quit [Quit: wallerdev]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wallerdev has joined #ruby-lang
woodruffw has joined #ruby-lang
souvikd has quit []
chrisseaton has quit []
chrisseaton has joined #ruby-lang
riotjones has joined #ruby-lang
tenderlove has quit [Read error: Connection reset by peer]
djbkd has joined #ruby-lang
tenderlove has joined #ruby-lang
iliketurtles has joined #ruby-lang
rippa has joined #ruby-lang
sandelius has joined #ruby-lang
bruno- has joined #ruby-lang
io_syl has quit []
bruno- has quit [Ping timeout: 245 seconds]
revath has joined #ruby-lang
revath1 has joined #ruby-lang
revath has quit [Ping timeout: 244 seconds]
aaeron has joined #ruby-lang
aaeron_ has joined #ruby-lang
io_syl has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
tenderlove has quit [Ping timeout: 244 seconds]
aaeron has quit [Ping timeout: 264 seconds]
aaeron_ has quit [Client Quit]
ur5us_ has quit [Remote host closed the connection]
malconis has joined #ruby-lang
tenderlove has joined #ruby-lang
auzty has joined #ruby-lang
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chinmay_dd has joined #ruby-lang
haraoka has joined #ruby-lang
gwendall has joined #ruby-lang
wallerdev has joined #ruby-lang
revath1 has quit [Ping timeout: 256 seconds]
chinmay_dd has quit [Client Quit]
malconis has joined #ruby-lang
chinmay_dd has joined #ruby-lang
gwendall has quit [Ping timeout: 272 seconds]
malconis has quit [Client Quit]
joaomdmoura has joined #ruby-lang
j4cknewt has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
joaomdmoura has quit [Ping timeout: 246 seconds]
pwnz0r has joined #ruby-lang
datanoise has quit [Ping timeout: 256 seconds]
|jemc| has quit [Ping timeout: 272 seconds]
amclain has quit [Quit: Leaving]
fedexo has joined #ruby-lang
michael_mbp has quit [Excess Flood]
skade has quit [Quit: Computer has gone to sleep.]
michael_mbp has joined #ruby-lang
bruno- has joined #ruby-lang
djbkd has quit [Quit: My people need me...]
datanoise has joined #ruby-lang
bruno- has quit [Ping timeout: 264 seconds]
arBmind has joined #ruby-lang
iamse7en has quit [Read error: Connection reset by peer]
kerunaru has joined #ruby-lang
pabloh has joined #ruby-lang
datanoise has quit [Ping timeout: 246 seconds]
_ht has joined #ruby-lang
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tenderlove has quit [Ping timeout: 240 seconds]
ec2-user_ has quit [*.net *.split]
mkosaki has quit [*.net *.split]
steve__ has quit [*.net *.split]
Jamo has quit [*.net *.split]
ryotarai has quit [*.net *.split]
nwhirschfeld_ has quit [*.net *.split]
oddmunds has quit [*.net *.split]
lucas has quit [*.net *.split]
jtoy_ has quit [*.net *.split]
Jamo has joined #ruby-lang
lucas has joined #ruby-lang
jtoy has joined #ruby-lang
tautvydas has quit [Excess Flood]
ryotarai has joined #ruby-lang
steve__ has joined #ruby-lang
tenderlove has joined #ruby-lang
mkosaki has joined #ruby-lang
oddmunds has joined #ruby-lang
nwhirschfeld has joined #ruby-lang
tautvydas has joined #ruby-lang
clauswitt has joined #ruby-lang
tibig has joined #ruby-lang
benlovell has joined #ruby-lang
VinnyBoy has quit [Read error: Connection reset by peer]
solars has joined #ruby-lang
iliketurtles has quit [Remote host closed the connection]
tibig has quit [Ping timeout: 264 seconds]
benlovell has quit [Ping timeout: 252 seconds]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gwendall has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
ur5us has joined #ruby-lang
ta has joined #ruby-lang
duderonomy has joined #ruby-lang
jas02 has joined #ruby-lang
duderonomy has quit [Max SendQ exceeded]
benlovell has joined #ruby-lang
j4cknewt has quit [Ping timeout: 255 seconds]
rbowlby has quit [Remote host closed the connection]
Iskarlar has joined #ruby-lang
gwendall has quit [Ping timeout: 272 seconds]
caseypatrickdris has quit [Ping timeout: 276 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
pwnz0r has quit [Remote host closed the connection]
gwendall has joined #ruby-lang
benlovell has quit [Ping timeout: 256 seconds]
logart has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
drefined has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pikos has quit [Remote host closed the connection]
arBmind has quit [Quit: Leaving.]
Kero has quit [Ping timeout: 255 seconds]
Kero has joined #ruby-lang
skade has joined #ruby-lang
Kero has quit [Ping timeout: 276 seconds]
<vondruch> zenspider, hi
sandelius has joined #ruby-lang
<vondruch> zenspider, what up?
Kero has joined #ruby-lang
dhjondoh has joined #ruby-lang
j4cknewt has joined #ruby-lang
intinig has joined #ruby-lang
benlovell has joined #ruby-lang
<ljarvis> vondruch: he mentioned the wrong nick
io_syl has quit []
intinig has quit [Read error: Connection reset by peer]
the_real_intinig has joined #ruby-lang
<RickHull> ljarvis: i don't think slop has support for --no-flag for setting '--flag' to false?
<ljarvis> RickHull: I think 3 did, maybe 4 doesn't?
<RickHull> is there a way to set a boolean flag to false, if it defaults to true?
intinig has joined #ruby-lang
<RickHull> yeah, i think maybe 3 only
<ljarvis> not unless you do it explicitly. You could add a custom option, one sec
bruno- has joined #ruby-lang
arBmind has joined #ruby-lang
<vondruch> ljarvis, ah ... ok :)
the_real_intinig has quit [Ping timeout: 244 seconds]
<ljarvis> RickHull: actually a custom option probably wouldn't work since you can't have it matched, so please feel free to open a ticket on github
bruno- has quit [Ping timeout: 258 seconds]
<RickHull> i could have used the feature today. i rewrote the flag to be the opposite verbiage and false by default
datanoise has joined #ruby-lang
<ljarvis> it might be quite easy to add, I'm not sure
<RickHull> poorly worded: v
<RickHull> sensible enough?
<ljarvis> yep, ta
<ta> ljarvis: yep?
<ljarvis> JESUS
<ta> :)
<RickHull> something something birthday paradox three letter TLDs
elia has joined #ruby-lang
tenderlove has quit [Ping timeout: 276 seconds]
j4cknewt has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
tenderlove has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
j4cknewt has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
ec2-user_ has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
the_real_intinig has joined #ruby-lang
benlovell has quit [Ping timeout: 244 seconds]
intinig has quit [Ping timeout: 272 seconds]
Forgetful_Lion has joined #ruby-lang
mikecmpbll has joined #ruby-lang
datanoise has quit [Ping timeout: 244 seconds]
charliesome has quit [Quit: zzz]
j4cknewt has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
joaomdmoura has joined #ruby-lang
djellemah has quit [Ping timeout: 256 seconds]
djellemah has joined #ruby-lang
<ddfreyne> I get the feeling I might soon be writing Cri 3.0.
michael_mbp has quit [Excess Flood]
Ropeney has quit [Quit: Textual IRC Client: www.textualapp.com]
Iskarlar has quit [Quit: Textual IRC Client: www.textualapp.com]
k3asd` has joined #ruby-lang
michael_mbp has joined #ruby-lang
houhoulis has quit [Remote host closed the connection]
sepp2k has joined #ruby-lang
Iskarlar has joined #ruby-lang
fedexo has quit [Ping timeout: 256 seconds]
<RickHull> yet another satisfied customer!
<RickHull> that was quick :)
<RickHull> s/inversed/inverted/
<RickHull> i can make a PR ;)
<RickHull> side note, the diff on types_test.rb is odd
<ljarvis> oh right yeah.. i wonder why that word worked in my head
<ljarvis> yeah it's because i renamed the other vars
<ljarvis> fuck the poh-leese
<RickHull> oh, it's the spacing
<ljarvis> ya
<RickHull> carry on :)
<yorickpeterse> morning
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tenderlove has quit [Read error: Connection reset by peer]
Iskarlar has joined #ruby-lang
j4cknewt has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
bruno- has joined #ruby-lang
tenderlove has joined #ruby-lang
robbyoconnor has quit [Read error: Connection reset by peer]
<_ht> yorickpeterse: I just saw your announcement on Oga; great work
<ddfreyne> yorickpeterse: Omg, Oga 1.0. I need to use this.
<ddfreyne> But I thought XML was dead.
<_ht> To me, the biggest pré compared to nokogiri is that it installs without a problem
* _ht loves ruby-written ruby gems
<ddfreyne> _ht: That, and Nokogiri on JRuby behaves totally differently. :(
<ddfreyne> Same API over a different library.
<_ht> Aaargh indeed
j4cknewt has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 256 seconds]
haraoka has quit [Ping timeout: 256 seconds]
<ddfreyne> yorickpeterse: When are you moving on to XSLT? :)
robbyoconnor has joined #ruby-lang
intinig has joined #ruby-lang
the_real_intinig has quit [Remote host closed the connection]
<yorickpeterse> ddfreyne: when I'm 80 and lost all interest in life
k3asd` has quit [Remote host closed the connection]
k3asd` has joined #ruby-lang
Pathfinder has joined #ruby-lang
k3asd` has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
kerunaru has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ddfreyne> Ha
intinig has quit [Remote host closed the connection]
<ddfreyne> yorickpeterse: I totally understand.
<ljarvis> yorickpeterse: is xpath 1.0 support comprehensive?
kerunaru has joined #ruby-lang
gwendall has quit [Remote host closed the connection]
intinig has joined #ruby-lang
k3asd` has joined #ruby-lang
ascarter_ has joined #ruby-lang
j4cknewt has joined #ruby-lang
kr3ssh has joined #ruby-lang
j4cknewt_ has joined #ruby-lang
<yorickpeterse> ljarvis: everything you'll find in xpath 1.0 is supported
j4cknewt has quit [Ping timeout: 256 seconds]
the_real_intinig has joined #ruby-lang
pikos has joined #ruby-lang
centrx has joined #ruby-lang
intinig has quit [Ping timeout: 258 seconds]
stan has joined #ruby-lang
niemcu has joined #ruby-lang
pikos has quit [Ping timeout: 272 seconds]
ascarter_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
j4cknewt_ has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
benlovell has joined #ruby-lang
tenderlove has quit [Read error: Connection reset by peer]
j4cknewt_ has joined #ruby-lang
gwendall has joined #ruby-lang
j4cknewt has quit [Ping timeout: 276 seconds]
tenderlove has joined #ruby-lang
wWw-BukoLay-Com has joined #ruby-lang
k3asd` has quit [Remote host closed the connection]
the_real_intinig has quit [Ping timeout: 245 seconds]
intinig has joined #ruby-lang
dzejrou has joined #ruby-lang
wWw-BukoLay-Com has quit []
j4cknewt has joined #ruby-lang
k3asd` has joined #ruby-lang
marr has joined #ruby-lang
dhjondoh has quit [Ping timeout: 252 seconds]
intinig has quit [Ping timeout: 258 seconds]
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
sarkyniin has joined #ruby-lang
j4cknewt_ has quit [Ping timeout: 265 seconds]
sandelius has joined #ruby-lang
bruno- has joined #ruby-lang
fujimura has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 245 seconds]
j4cknewt has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
j4cknewt_ has joined #ruby-lang
kr3ssh has quit [Ping timeout: 272 seconds]
fujimura has joined #ruby-lang
j4cknewt has quit [Ping timeout: 272 seconds]
skade has quit [Quit: Computer has gone to sleep.]
ryba has joined #ruby-lang
kr3ssh has joined #ruby-lang
j4cknewt has joined #ruby-lang
pikos has joined #ruby-lang
skade has joined #ruby-lang
j4cknewt_ has quit [Ping timeout: 256 seconds]
skade has quit [Quit: Computer has gone to sleep.]
syngress has joined #ruby-lang
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
joaomdmoura has quit [Ping timeout: 256 seconds]
Iskarlar has joined #ruby-lang
dzejrou has quit [Ping timeout: 246 seconds]
j4cknewt_ has joined #ruby-lang
djellemah has quit [Ping timeout: 252 seconds]
clauswitt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
benlovell has quit [Ping timeout: 272 seconds]
tenderlove has quit [Read error: Connection reset by peer]
j4cknewt has quit [Ping timeout: 265 seconds]
jds has joined #ruby-lang
<yorickpeterse> lel
tenderlove has joined #ruby-lang
<syngress> Hi, anyone can help me with passing data from controller to presenter ?
<ljarvis> syngress: points_presenter != @users_presenter
pikos has quit [Remote host closed the connection]
stamina has joined #ruby-lang
<ljarvis> also you don't need to explicitly call to_json, the rendering does that for you
<ddfreyne> Once again, I discovered that not having Thread.abort_on_exception = true bites me in the butt.
<ljarvis> syngress: render json: V1::UsersPresenter.new(@users)
<syngress> ljarvis: (points is my mistake) how can i pass for example @per_page to presenter ?
<ljarvis> syngress: you don't need to. @per_page is fetches from @users and your presenter already has access to @users. So defined that in your presenter
<ljarvis> same as the other variables
<syngress> Ok, but how
<syngress> that's not working for me
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<yorickpeterse> syngress: you pass it in when initializing the presenter
<ljarvis> no
<yorickpeterse> @points_presenter = V1::UsersPresenter.new(@users).as_json # <- if you want extra arguments, you just add them like ".new(@users, foo, bar, baz)"
<yorickpeterse> whatever said argument might be
<ljarvis> those values are set from @users, he only needs to pass users in
<yorickpeterse> ljarvis: sure, but in case they want more that's just a matter of passing an argument
<syngress> ok, i have lot of questions, but for now thank you very much ...
benlovell has joined #ruby-lang
pikos has joined #ruby-lang
j4cknewt_ has quit [Read error: Connection reset by peer]
<syngress> so when i try to render response in json and pass for example @page by adding "new.(@users, @page)", how can i pass it to as_json method in PointsPresenter ?
<ljarvis> see what you did
<syngress> ok give me sec
<ljarvis> no i was talking to yorickpeterse
j4cknewt has joined #ruby-lang
<syngress> ah ;)
<yorickpeterse> ljarvis: prfft
<yorickpeterse> syngress: You know how to pass arguments to methods right?
mathie has quit [Quit: Quitting...]
<syngress> yorickpeterse: give me sec - i put my code to gist
mathie has joined #ruby-lang
bruno- has joined #ruby-lang
<yorickpeterse> syngress: you know what method return values are?
<ljarvis> consistent indentation
duderonomy has joined #ruby-lang
<syngress> yorickpeterse: i need to pass my desire name (for example: Pages)
<yorickpeterse> syngress: take a few steps back
<syngress> Pages => @page.to_json
<yorickpeterse> First question: what happens when you return from a method?
<yorickpeterse> Does the code after a return get executed?
<yorickpeterse> so for "foo ... return 10 ... bar" would the code ever reach "bar"?
<yorickpeterse> Then the second question: how many times does the as_json method in your presenter return a value?
<syngress> yorickpeterse: for now everything is working and @page pass value 1
<syngress> i need to render some name for that @page in json response
<yorickpeterse> syngress: answer the questions
Iskarlar has joined #ruby-lang
<yorickpeterse> Don't evade them
<yorickpeterse> Think about them, because it will solve your problem if you try to understand what you're doing
bruno- has quit [Ping timeout: 264 seconds]
bruno- has joined #ruby-lang
<yorickpeterse> brb lunch
pikos has quit [Remote host closed the connection]
iamninja has quit [Read error: Connection reset by peer]
j4cknewt has quit [Remote host closed the connection]
iamninja has joined #ruby-lang
fujimura has quit [Remote host closed the connection]
fujimura has joined #ruby-lang
fujimura has quit [Remote host closed the connection]
niemcu has quit [Ping timeout: 265 seconds]
anekos has quit [Quit: Tiarra 0.1+svn-39036: SIGTERM received; exit]
anekos has joined #ruby-lang
auzty has quit [Quit: Leaving]
anekos has quit [Client Quit]
charliesome has quit [Quit: zzz]
stamina has quit [Read error: Connection reset by peer]
stamina has joined #ruby-lang
ta has quit [Remote host closed the connection]
clauswitt has joined #ruby-lang
symm- has joined #ruby-lang
charliesome has joined #ruby-lang
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby-lang
sarkyniin has quit [Ping timeout: 240 seconds]
tkuchiki has quit [Ping timeout: 250 seconds]
revath has joined #ruby-lang
postmodern has quit [Quit: Leaving]
datanoise has joined #ruby-lang
gwendall has quit [Remote host closed the connection]
gwendall has joined #ruby-lang
j4cknewt has joined #ruby-lang
ldnunes has joined #ruby-lang
datanoise has quit [Ping timeout: 255 seconds]
gwendall has quit [Ping timeout: 264 seconds]
leat1 has joined #ruby-lang
ta has joined #ruby-lang
j4cknewt has quit [Ping timeout: 244 seconds]
leat1 has quit [Ping timeout: 258 seconds]
mistym has quit [Ping timeout: 265 seconds]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mistym has joined #ruby-lang
Muz has quit [Ping timeout: 265 seconds]
Muz has joined #ruby-lang
benlovell has quit [Ping timeout: 258 seconds]
alestuber has joined #ruby-lang
alestuber has quit [Remote host closed the connection]
Ilyes512 has joined #ruby-lang
ta has quit [Remote host closed the connection]
alestuber has joined #ruby-lang
sarkyniin has joined #ruby-lang
chinmay_dd has quit []
banister has joined #ruby-lang
gwendall has joined #ruby-lang
houhoulis has joined #ruby-lang
gwendall_ has joined #ruby-lang
gwendall has quit [Ping timeout: 272 seconds]
<yorickpeterse> syngress: so, any luck?
ta has joined #ruby-lang
<syngress> yorickpeterse: i make it ;) i have ither problem
<syngress> give me sec
apt-get_ has joined #ruby-lang
pikos has joined #ruby-lang
poikon has quit []
poikon has joined #ruby-lang
Lmaop has joined #ruby-lang
sarkyniin has quit [Ping timeout: 246 seconds]
Lmaop has left #ruby-lang [#ruby-lang]
<syngress> yorickpeterse: can you look at Response here: https://gist.github.com/anonymous/4ad3354827e0bc09b8eb
<syngress> 0: is string
chinmay_dd has joined #ruby-lang
<syngress> i need to format it like (href, total_count, page, per_page)
charliesome has quit [Quit: zzz]
<yorickpeterse> Not sure if I'm following, what have you tried?
<syngress> I try to format json response
<yorickpeterse> I meant that as in "what have you tried to achieve the goal"
k3asd` has quit [Ping timeout: 258 seconds]
caseypatrickdris has joined #ruby-lang
<syngress> yorickpeterse: how can i format "items" so as not to appear in one line ?
<yorickpeterse> Whatever you're showing in "Response" is not valid JSON to begin with
<yorickpeterse> If you want to generate readable JSON, use "JSON.pretty_generate(ruby object here)"
<yorickpeterse> https://eval.in/368116 for example
Fooster has joined #ruby-lang
<syngress> independently, it need to display the "items" in the same way as (href, TOTAL_COUNT, page, per_page)
ta has quit [Remote host closed the connection]
<syngress> so how can i use pretty_generate in my case ? items: @users.map{|p| V1::UserPresenter.new(p).as_json}
<yorickpeterse> I have no idea what you mean with (href, TOTAL_COUNT, page, per_page)
<syngress> yorickpeterse: look at Response in https://gist.github.com/anonymous/4ad3354827e0bc09b8eb
<yorickpeterse> ...that doesn't exactly help
<syngress> yorickpeterse: @users.map{|p| V1::UserPresenter.new(p).as_json} gives me:
<syngress> 0: "{"_id":{"$oid":"5547404773796e1964000000"},"address":{"_id":{"$oid":"5547404773796e1964020000"},"building_number":"1","city":"Test","flat_number":"1","user_id":null,"post_code":"00-001","province":"Test","street":"Test"},"distance":null,"location":{"_id":{"$oid":"5547404773796e1964010000"},"coordinates":[50.04215,19.94156],"location_description":null,"user_id":null,"type":"User"},"location_description":"Test","name":"SAM2","type":["us
<syngress> er_type"]}
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Forgetful_Lion has quit [Remote host closed the connection]
<syngress> i need to use JSON.pretty_generate on @users.map{|p| V1::UserPresenter.new(p).as_json}
dhjondoh has joined #ruby-lang
<syngress> question is, how ?
datanoise has joined #ruby-lang
benlovell has joined #ruby-lang
<yorickpeterse> I don't know where you're getting that output from, but it's not right
<yorickpeterse> @users.map should return something like an array, while as_json returns a a Hash in this case
<yorickpeterse> Only to_json actually returns a string
<yorickpeterse> And again, the output you've displayed in "Response" isn't JSON so I don't know where you got that from
skade has joined #ruby-lang
<syngress> That "response" is from MongoDB
djellemah has joined #ruby-lang
<yorickpeterse> No it's not, MongoDB doesn't output that
pikos has quit [Remote host closed the connection]
<yorickpeterse> MongoDB uses BSON, that "Response" is not valid BSON
<yorickpeterse> It sounds like you're not really familiar with Rails/Ruby to be honest, I'd suggest reading up a bit more on that to begin with
apt-get_ has quit [Quit: Quit]
datanoise has quit [Ping timeout: 250 seconds]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<syngress> yorickpeterse: sure, It sounds like you're not really know how to solve this problem.. Thanks anyway
zly has quit [Ping timeout: 265 seconds]
zly has joined #ruby-lang
Voker57 has quit [Remote host closed the connection]
<yorickpeterse> apeiros: ^ /kick please
<yorickpeterse> I have little patience for people who expect their solutions to be spoonfed to them
<yorickpeterse> Guess it's good I don't have +o
<apeiros> yorickpeterse: IMO acceptable behavior.
<apeiros> I mean, they're quite probably wrong about their assessment. but they behaved. no insult. and thanked you.
<yorickpeterse> I think you missed the <sarcasm> part
sgambino has joined #ruby-lang
<yorickpeterse> or perhaps I'm too cynical
<apeiros> I did miss the <sarcasm> part.
* apeiros checks backlog
Miphix has quit [Quit: Leaving]
<apeiros> or do you mean the "^ /kick please" from you was sarcasm?
<yorickpeterse> No
dorei has joined #ruby-lang
<apeiros> ok, then I'm at a loss. what do you consider kick-worthy behavior?
riffraff has joined #ruby-lang
<yorickpeterse> "sure, It sounds like you're not really know how to solve this problem.. Thanks anyway" <- not sure what the official term would be, but I consider this a "lol whatever man fuck off" kind of reply
<maloik> it's a bit "I'll stop listening to you now", but it's not rude per se, is it?
<maloik> you tried to help, they don't want it, their loss :)
<yorickpeterse> Like I said I might be too cynical
<maloik> btw!
<maloik> arrrrcamp ticket sales are open
<maloik> you should come over this year
<yorickpeterse> This year is weird, both Euruko and Baruco are close to each other
<yorickpeterse> and so is arrrrcamp I think
<maloik> yea :(
<maloik> and ruby conf pt too
<maloik> I'm honestly not sure there'll be another after this one, especially at the same time and in the same format
charliesome has joined #ruby-lang
alestuber has quit [Ping timeout: 264 seconds]
<yorickpeterse> oh?
charliesome has quit [Client Quit]
kerunaru has quit [Quit: Textual IRC Client: www.textualapp.com]
<maloik> september and october are too busy conference wise
<yorickpeterse> Ah
atomical has joined #ruby-lang
* chris2 ponders an ex-ruby conference
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tomaz_b has joined #ruby-lang
tomaz_b has quit [Remote host closed the connection]
tomaz_b has joined #ruby-lang
ryba has quit [Ping timeout: 240 seconds]
alestuber has joined #ruby-lang
slawrence00 has joined #ruby-lang
cornerma1 has joined #ruby-lang
tenderlove has quit [Read error: Connection reset by peer]
<apeiros> what's an ex-* conference?
cornerman has quit [Ping timeout: 252 seconds]
cornerma1 is now known as cornerman
tenderlove has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
malconis has joined #ruby-lang
malconis has quit [Remote host closed the connection]
niemcu has joined #ruby-lang
malconis has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
ta has joined #ruby-lang
pikos has joined #ruby-lang
<jhass> I guess "go away with your old x, look at this shiny new thing I discovered today"-people meetup
banister has joined #ruby-lang
enebo has joined #ruby-lang
jas02 has quit [Quit: jas02]
revath has quit [Read error: Connection reset by peer]
jds has quit [Quit: Connection closed for inactivity]
revath has joined #ruby-lang
k3asd` has joined #ruby-lang
airdisa has joined #ruby-lang
jas02 has joined #ruby-lang
shazaum has joined #ruby-lang
caseypatrickdris has quit [Remote host closed the connection]
tomaz_b has quit [Ping timeout: 246 seconds]
imperator has joined #ruby-lang
pikos has quit [Remote host closed the connection]
setanta_ has joined #ruby-lang
symm- has quit [Ping timeout: 264 seconds]
pabloh has quit [Quit: Saliendo]
jbwiv has joined #ruby-lang
pikos has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 246 seconds]
gamename has joined #ruby-lang
sandelius has joined #ruby-lang
[k- has joined #ruby-lang
dhjondoh has quit [Quit: dhjondoh]
zzak has quit []
zzak has joined #ruby-lang
shinnya has joined #ruby-lang
kfpratt has joined #ruby-lang
ta has quit [Remote host closed the connection]
banister has quit [Read error: Connection reset by peer]
banister has joined #ruby-lang
tenderlove has quit [Read error: Connection reset by peer]
iamninja has quit [Ping timeout: 272 seconds]
riffraff has quit [Quit: This computer has gone to sleep]
riffraff has joined #ruby-lang
slawrenc_ has joined #ruby-lang
b_hoffman has joined #ruby-lang
tenderlove has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
caseypatrickdris has quit [Remote host closed the connection]
sankaber has joined #ruby-lang
joaomdmoura has joined #ruby-lang
io_syl has joined #ruby-lang
io_syl has quit [Client Quit]
banister has quit [Ping timeout: 264 seconds]
tautvydas has quit [Ping timeout: 256 seconds]
banister has joined #ruby-lang
riotjones has quit [Remote host closed the connection]
<chris2> i was more thinking about people that moved from ruby
<yorickpeterse> I think they call those "Go Conferences"
yalue has joined #ruby-lang
<yorickpeterse> or "Node.js conferences"
leat1 has joined #ruby-lang
<chris2> hum ;)
sankaber has quit [Ping timeout: 265 seconds]
clauswitt has quit [Quit: Textual IRC Client: www.textualapp.com]
<imperator> people move to Go from Ruby? not sure i buy that
<yorickpeterse> I meant that as in they moved from Ruby to GO
<apeiros> chris2: and the idea is to figure where people go from ruby and what their experiences are?
<yorickpeterse> * Go
<chris2> apeiros: yeah
<apeiros> interesting
<imperator> if i was going anywhere from here, it would be to Rust or Elixir
<chris2> ah yes, elixir seems popular too
<apeiros> Crystal
<chris2> cant really figure out why
<apeiros> I think my current "go to's" would be Go > Crystal > Rust
<imperator> never heard of Crystal....just Crystal Reports ;)
<chris2> haha
<chris2> memories :>
<imperator> not fond ones i take it
<chris2> does such stuff even exist today?
<imperator> not a clue
<chris2> obv people are still printing out databases :P
<yorickpeterse> http://www.slideshare.net/dberkholz/gluecon-2015 slide 8 has a nice story to tell
<imperator> chris2, read the article....eh, i've said worse about the ruby community and ruby....and for longer >:)
<chris2> it didnt help, tho? ;)
|jemc| has joined #ruby-lang
<chris2> i recently tweeted something about how many gems experienced ruby developers use
<ericwood> 10000000 gems
<imperator> but to borrow a phrase, Ruby is the worst programming language, except for all the others
<chris2> i think the language is okay
<chris2> but people are using it the wrong way
<chris2> (it certainly shows its flaws after 10 years of use ;))
leat1 has quit [Ping timeout: 258 seconds]
<ericwood> well, every iteration gets better so ¯\_(ツ)_/¯
<ericwood> although I wish rails wouldn't dictate the direction of the lang so much
<chris2> i'm still not fond of the unicode handling
<imperator> the core team has always been sloppy, been complaining about it for years
<yorickpeterse> Ruby 3 really needs to nuke encodings
<chris2> nor refinements etc
<yorickpeterse> and just UTF8 everything
<yorickpeterse> and actually specify a C API
<ericwood> ^^^^^^^
<yorickpeterse> and actually have parallelism (happy now apeiros? :P)
<chris2> as someone who writes/wrote a mail client in ruby, just doing utf8 wont help :P
<ericwood> apparently a lot of GC problems with compaction stem from how the C API works?
tenderlove has quit [Read error: Connection reset by peer]
<yorickpeterse> chris2: encodings really belong in a separate library
<chris2> yorickpeterse: like iconv in 1.8? oh. ;)
<ericwood> like, you can't do compaction because it changes the reference locations which screws up FFI?
leat1 has joined #ruby-lang
<chris2> yeah
<chris2> the gc was very simplistic for a long time too
charliesome has joined #ruby-lang
<yorickpeterse> chris2: the difference was that 1.8 had no encodings, opposed to only UTF8
<chris2> yorickpeterse: you still need a way to deal with binary strings
<yorickpeterse> binary strings are just bytes
<chris2> kept together how?
<yorickpeterse> e.g. in Rubinius we have a ByteArray, which powers String
<chris2> that would be an option
<yorickpeterse> String is basically just ByteArray + some extra methods
houhoulis has quit [Remote host closed the connection]
<yorickpeterse> also, an actual namespacing system would be nice
<yorickpeterse> even if it's just syntax obesitas around nesting modules
<chris2> i'd like to have algebraic data types and pattern matching :P
benlovell has quit [Ping timeout: 255 seconds]
<yorickpeterse> well, Ruby actually already has pattern matching
<yorickpeterse> it's called "case"
<imperator> i tried to get EY to go their own way years ago, but they wouldn't do it
<yorickpeterse> :>
<ericwood> lol
<chris2> yorickpeterse: and pattern matching means binding variables :P
<yorickpeterse> In all seriousness, unless a compiler/language enforces matching all variants pattern matching isn't much more than just a case/switch
<chris2> sure
jas02 has quit [Quit: jas02]
tenderlove has joined #ruby-lang
<chris2> my preferrred coding style is quite far off oop anyway
<chris2> probably not a good fit in ruby :)
charliesome has quit [Quit: zzz]
datanoise has joined #ruby-lang
<imperator> wonder if mauricio is still using ocaml
<chris2> i see him in #ocaml occasionally
<chris2> no idea what he codes these days
<imperator> looks like he is :)
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
caseypatrickdris has joined #ruby-lang
whippythellama has joined #ruby-lang
<apeiros> yorickpeterse: \o/
VinnyBoy has joined #ruby-lang
leat1 has quit [Ping timeout: 252 seconds]
chinmay_dd has quit []
kuroro has joined #ruby-lang
kuroro2 has joined #ruby-lang
Ilyes512 has quit [Ping timeout: 252 seconds]
Iskarlar has joined #ruby-lang
Ilyes512 has joined #ruby-lang
Ilyes512 has quit [Read error: Connection reset by peer]
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby-lang
jo__ has joined #ruby-lang
kuroro2 has left #ruby-lang ["Leaving"]
alestuber has quit [Ping timeout: 240 seconds]
tenderlove has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
leat1 has joined #ruby-lang
<apeiros> amazing. I worked for about 1h today
<apeiros> the other 7.5h I waited for people to say "ok, we fixed it, try again", or "right. what we told you before was wrong. try X instead."
<apeiros> I want more such days. quite relaxing.
<ljarvis> that sounds awful
hinbody has joined #ruby-lang
<apeiros> why? I have enough stuff to fill the 7.5h :)
<yorickpeterse> slacker
Pathfinder has quit [Ping timeout: 272 seconds]
ogpastaling has joined #ruby-lang
kfpratt has quit [Remote host closed the connection]
alestuber has joined #ruby-lang
hololeap has joined #ruby-lang
hololeap has left #ruby-lang ["No boundaries on the net!"]
<chris2> perhaps you should move to support :P
<darix> chris2: naw there people shout at you
<chris2> true
gambl0re has joined #ruby-lang
ogpastaling has quit [Remote host closed the connection]
iamdevnul has joined #ruby-lang
<apeiros> I'm not made for support. even less so for support of products I don't control.
riotjones has joined #ruby-lang
cryptarium has joined #ruby-lang
shinnya has quit [Ping timeout: 244 seconds]
joaomdmoura has quit [Remote host closed the connection]
ArchRogem has joined #ruby-lang
riotjones has quit [Ping timeout: 250 seconds]
rippa has joined #ruby-lang
drefined has joined #ruby-lang
j4cknewt has joined #ruby-lang
drefined has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
caseypatrickdris has quit [Read error: Connection reset by peer]
caseypatrickdris has joined #ruby-lang
caseypatrickdris has quit [Read error: Connection reset by peer]
kuroro2 has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
j4cknewt has quit [Ping timeout: 256 seconds]
kuroro has quit [Ping timeout: 245 seconds]
j4cknewt has joined #ruby-lang
kuroro2 has quit [Ping timeout: 272 seconds]
alestuber has quit [Remote host closed the connection]
alestuber has joined #ruby-lang
j0n3 has joined #ruby-lang
cryptarium has quit [Ping timeout: 264 seconds]
io_syl has joined #ruby-lang
kfpratt has joined #ruby-lang
kuroro has joined #ruby-lang
kuroro2 has joined #ruby-lang
rcvalle has joined #ruby-lang
kuroro2 has left #ruby-lang [#ruby-lang]
kuroro2 has joined #ruby-lang
alestuber has quit [Ping timeout: 258 seconds]
ascarter has joined #ruby-lang
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby-lang
kuroro has quit [Ping timeout: 245 seconds]
k3asd` has quit [Ping timeout: 240 seconds]
jgpawletko has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
j4cknewt has joined #ruby-lang
sandelius has joined #ruby-lang
j4cknewt_ has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
BanzaiJoe has joined #ruby-lang
Fooster has quit [Ping timeout: 265 seconds]
io_syl has quit []
j4cknewt has quit [Ping timeout: 272 seconds]
asterite has joined #ruby-lang
asterite has left #ruby-lang [#ruby-lang]
j4cknewt_ has quit [Remote host closed the connection]
gambl0re has quit []
banister has quit [Ping timeout: 276 seconds]
cb__ has joined #ruby-lang
ArchRogem has quit [Quit: Textual IRC Client: www.textualapp.com]
revath has quit [Ping timeout: 264 seconds]
caseypatrickdris has quit [Remote host closed the connection]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
j4cknewt has joined #ruby-lang
b_hoffman has joined #ruby-lang
zendrix has joined #ruby-lang
Fooster has joined #ruby-lang
revath has joined #ruby-lang
sarkyniin has joined #ruby-lang
michaeldeol has joined #ruby-lang
niemcu has quit [Ping timeout: 276 seconds]
chinmay_dd has joined #ruby-lang
riffraff has quit [Quit: This computer has gone to sleep]
shinnya has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
kr3ssh has quit [Ping timeout: 276 seconds]
alestuber has joined #ruby-lang
cb__ has quit [Remote host closed the connection]
mikecmpbll has quit [Ping timeout: 244 seconds]
revath has quit [Ping timeout: 255 seconds]
cb_ has joined #ruby-lang
cb_ has quit [Changing host]
cb_ has joined #ruby-lang
A124 has quit [Remote host closed the connection]
syngress has quit []
alestuber has quit [Ping timeout: 264 seconds]
A124 has joined #ruby-lang
micmus has joined #ruby-lang
robertyaman has joined #ruby-lang
zendrix has quit [Remote host closed the connection]
zendrix has joined #ruby-lang
baweaver_ has joined #ruby-lang
baweaver_ has quit [Remote host closed the connection]
robertyaman has quit []
stamina has quit [Quit: WeeChat 1.2]
robertyaman has joined #ruby-lang
baweaver_ has joined #ruby-lang
robertyaman is now known as EArobert
tautvydas has joined #ruby-lang
<chris2> so how many gems do you use?
iliketurtles has joined #ruby-lang
[k- has quit [Quit: Lingo: www.lingoirc.com]
iliketurtles has quit [Client Quit]
<apeiros> chris2: given that our largest project's gemfile has >150 lines, I'd assume something in that order of magnitude :D
<chris2> wow :)
wallerdev has joined #ruby-lang
io_syl has joined #ruby-lang
apt-get_ has joined #ruby-lang
<apeiros> (that is 150 lines of pure gem gem specs, with comments, flow control and stuff it's >250 lines)
<apeiros> -gem
EArobert has quit []
cb_ has quit [Remote host closed the connection]
sarkyniin has quit [Ping timeout: 244 seconds]
Miphix has joined #ruby-lang
stan has quit [Ping timeout: 265 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ascarter has joined #ruby-lang
djbkd has joined #ruby-lang
tenderlove has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
iamninja has joined #ruby-lang
tibig has joined #ruby-lang
dudedudeman has joined #ruby-lang
cb__ has joined #ruby-lang
cb__ has joined #ruby-lang
ryba has joined #ruby-lang
alestuber has joined #ruby-lang
cb__ has quit [Remote host closed the connection]
cb_ has joined #ruby-lang
cb_ has quit [Changing host]
cb_ has joined #ruby-lang
kuroro has joined #ruby-lang
iliketurtles has joined #ruby-lang
solars has quit [Ping timeout: 276 seconds]
kuroro2 has quit [Ping timeout: 264 seconds]
tibig has quit [Ping timeout: 244 seconds]
kuroro2 has joined #ruby-lang
arBmind has joined #ruby-lang
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tibig has joined #ruby-lang
joaomdmoura has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 252 seconds]
riffraff has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
riffraff has quit [Remote host closed the connection]
kuroro has quit [Ping timeout: 245 seconds]
<existensil> bundle install gives you a nice report at the end with how many gem dependencies are in your Gemfile and how many total are used in your project
airdisa has quit []
mikecmpbll has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
<imperator> for that particular project, yes
<imperator> overall hard to say how many gems i "use" since many of the gems are deps for other gems
gianlucadv has joined #ruby-lang
davispuh has joined #ruby-lang
revath has joined #ruby-lang
marr has quit []
Ilyes512 has joined #ruby-lang
enebo has quit [Quit: enebo]
kuroro has joined #ruby-lang
kuroro2 has quit [Ping timeout: 244 seconds]
leat1 has quit [Ping timeout: 265 seconds]
caseypatrickdris has quit [Read error: Connection reset by peer]
caseypatrickdris has joined #ruby-lang
joaomdmoura has quit [Remote host closed the connection]
michael_mbp has quit [Excess Flood]
joaomdmoura has joined #ruby-lang
michael_mbp has joined #ruby-lang
cb_ has quit [Remote host closed the connection]
kuroro2 has joined #ruby-lang
cb__ has joined #ruby-lang
joaomdmoura has quit [Remote host closed the connection]
hahuang65 has quit [Ping timeout: 256 seconds]
cb__ has quit [Remote host closed the connection]
joaomdmoura has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
baweaver_ has quit [Read error: Connection reset by peer]
kuroro has quit [Ping timeout: 240 seconds]
b_hoffman has quit [Quit: b_hoffman]
leat1 has joined #ruby-lang
b_hoffman has joined #ruby-lang
whippythellama has quit [Quit: whippythellama]
ascarter has quit [Remote host closed the connection]
pikos has quit [Remote host closed the connection]
zendrix has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
ascarter has joined #ruby-lang
pikos has joined #ruby-lang
DLSteve has joined #ruby-lang
leat1 has quit [Ping timeout: 272 seconds]
cb__ has joined #ruby-lang
|jemc| has quit [Ping timeout: 245 seconds]
|jemc| has joined #ruby-lang
enebo has joined #ruby-lang
tenderlove has quit [Ping timeout: 252 seconds]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
nertzy2 has joined #ruby-lang
alestuber has quit [Ping timeout: 252 seconds]
rbowlby has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
Iskarlar has joined #ruby-lang
Iskarlar has quit [Client Quit]
pikos has quit [Remote host closed the connection]
cb__ has quit [Remote host closed the connection]
banister has joined #ruby-lang
cb_ has joined #ruby-lang
cb_ has joined #ruby-lang
gwendall_ has quit [Remote host closed the connection]
cb_ has quit [Remote host closed the connection]
Iskarlar has joined #ruby-lang
alestuber has joined #ruby-lang
benlovell has joined #ruby-lang
Ilyes512 has quit [Quit: Textual IRC Client: www.textualapp.com]
hahuang65 has joined #ruby-lang
tenderlove has joined #ruby-lang
zendrix has joined #ruby-lang
alestuber has quit [Ping timeout: 256 seconds]
zendrix has quit [Remote host closed the connection]
postmodern has joined #ruby-lang
gamename has quit []
hakunin has quit []
StephenOTT has joined #ruby-lang
StephenOTT has quit [Client Quit]
alestuber has joined #ruby-lang
sandelius has joined #ruby-lang
leat1 has joined #ruby-lang
zendrix has joined #ruby-lang
davispuh has quit [Remote host closed the connection]
tenderlove has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
davispuh has joined #ruby-lang
alestuber has quit [Ping timeout: 255 seconds]
joaomdmoura has quit [Remote host closed the connection]
joaomdmoura has joined #ruby-lang
marr has joined #ruby-lang
alestuber has joined #ruby-lang
caseypat_ has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
baweaver has joined #ruby-lang
caseypatrickdris has quit [Ping timeout: 256 seconds]
baweaver has quit [Remote host closed the connection]
baweaver has joined #ruby-lang
nertzy2 has quit [Quit: This computer has gone to sleep]
tubbo has joined #ruby-lang
scepticulous has joined #ruby-lang
ReinH has quit [Ping timeout: 265 seconds]
caseypat_ has quit [Read error: Connection reset by peer]
kuroro has joined #ruby-lang
apeiros has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
zendrix has quit []
kuroro2 has quit [Ping timeout: 252 seconds]
kadoppe has quit [Ping timeout: 256 seconds]
scepticulous has left #ruby-lang ["Gone"]
kadoppe has joined #ruby-lang
replay has joined #ruby-lang
Missphoenix has joined #ruby-lang
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
duderonomy has quit [Ping timeout: 244 seconds]
b_hoffman has quit [Quit: b_hoffman]
Miphix has quit [Ping timeout: 272 seconds]
joaomdmoura has quit [Remote host closed the connection]
gwendall has joined #ruby-lang
crdpink has quit [Quit: q term]
j4cknewt has joined #ruby-lang
pikos has joined #ruby-lang
ascarter has joined #ruby-lang
kuroro2 has joined #ruby-lang
crdpink has joined #ruby-lang
ascarter has quit [Max SendQ exceeded]
joaomdmoura has joined #ruby-lang
ascarter has joined #ruby-lang
kr3ssh has joined #ruby-lang
kuroro has quit [Ping timeout: 256 seconds]
b_hoffman has joined #ruby-lang
tautvydas has quit [Remote host closed the connection]
joaomdmoura has quit [Remote host closed the connection]
ReinH has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
caseypatrickdris has quit [Read error: Connection reset by peer]
matp has quit [Quit: Bye!]
kuroro has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
gwendall has quit [Remote host closed the connection]
gwendall has joined #ruby-lang
ducklobster has joined #ruby-lang
matp has joined #ruby-lang
ducklobster has quit [Remote host closed the connection]
kuroro2 has quit [Ping timeout: 252 seconds]
ducklobster has joined #ruby-lang
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
replay has quit [Ping timeout: 246 seconds]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baweaver has quit [Read error: Connection reset by peer]
baweaver has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
TheMoonMaster has quit [Ping timeout: 250 seconds]
enebo has quit [Ping timeout: 272 seconds]
enebo has joined #ruby-lang
chinmay_dd has quit [Remote host closed the connection]
TheMoonMaster has joined #ruby-lang
centrx has quit [Ping timeout: 244 seconds]
caseypatrickdris has quit [Read error: Connection reset by peer]
elia has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
whippythellama has joined #ruby-lang
pikos has quit [Remote host closed the connection]
tubbo` has joined #ruby-lang
tubbo` has quit [Read error: Connection reset by peer]
centrx has joined #ruby-lang
duderonomy has joined #ruby-lang
tubbo has quit [Ping timeout: 256 seconds]
caseypatrickdris has quit [Read error: Connection reset by peer]
pikos has joined #ruby-lang
davispuh has quit [Remote host closed the connection]
caseypatrickdris has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
benanne has joined #ruby-lang
Iskarlar has joined #ruby-lang
iliketurtles has joined #ruby-lang
kr3ssh has quit [Ping timeout: 258 seconds]
b_hoffman has joined #ruby-lang
kuroro2 has joined #ruby-lang
tubbo` has joined #ruby-lang
kuroro2 has left #ruby-lang [#ruby-lang]
alestuber has quit [Ping timeout: 240 seconds]
replay has joined #ruby-lang
kuroro has quit [Ping timeout: 240 seconds]
caseypatrickdris has quit [Read error: Connection reset by peer]
cb_ has joined #ruby-lang
cb_ has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
ur5us has joined #ruby-lang
ascarter has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
alestuber has joined #ruby-lang
symm- has joined #ruby-lang
ascarter has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
kr3ssh has joined #ruby-lang
cb_ has quit [Remote host closed the connection]
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby-lang
benanne has quit [Ping timeout: 256 seconds]
Mau_ has joined #ruby-lang
joaomdmoura has joined #ruby-lang
cb__ has joined #ruby-lang
cb__ has joined #ruby-lang
baweaver has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
Mau_ has quit [Client Quit]
baweaver has joined #ruby-lang
Mau_ has joined #ruby-lang
cb__ has quit [Client Quit]
Fooster has quit [Ping timeout: 264 seconds]
gianlucadv has quit [Ping timeout: 264 seconds]
joaomdmoura has quit [Ping timeout: 255 seconds]
_ht has quit [Quit: Konversation terminated!]
caseypatrickdris has quit [Read error: Connection reset by peer]
gwendall has quit [Remote host closed the connection]
caseypatrickdris has joined #ruby-lang
gwendall has joined #ruby-lang
benlovell has quit [Ping timeout: 250 seconds]
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby-lang
benanne has joined #ruby-lang
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
benlovell has joined #ruby-lang
gwendall has quit [Ping timeout: 272 seconds]
micmus has quit [Ping timeout: 245 seconds]
pikos has quit [Remote host closed the connection]
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ascarter has joined #ruby-lang
duderonomy has joined #ruby-lang
centrx has quit [Quit: Shutting down, Please wait...]
duderonomy has quit [Max SendQ exceeded]
joaomdmoura has joined #ruby-lang
caseypatrickdris has quit [Read error: Connection reset by peer]
apt-get_ has quit [Quit: Quit]
ldnunes has quit [Quit: Leaving]
caseypatrickdris has joined #ruby-lang
pikos has joined #ruby-lang
Mau_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Forgetful_Lion has joined #ruby-lang
micmus has joined #ruby-lang
Iskarlar has joined #ruby-lang
Iskarlar has quit [Client Quit]
baweaver_ has joined #ruby-lang
mustmodify has joined #ruby-lang
baweaver has quit [Ping timeout: 250 seconds]
baweaver has joined #ruby-lang
enebo has quit [Quit: enebo]
caseypatrickdris has quit [Read error: Connection reset by peer]
ta has joined #ruby-lang
baweaver has quit [Client Quit]
rbowlby_ has joined #ruby-lang
baweaver_ has quit [Ping timeout: 256 seconds]
caseypatrickdris has joined #ruby-lang
jgpawletko has quit [Quit: jgpawletko]
hinbody has quit [Quit: leaving]
b_hoffman has quit [Quit: b_hoffman]
baweaver has joined #ruby-lang
rbowlby has quit [Ping timeout: 264 seconds]
leat1 has quit [Remote host closed the connection]
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #ruby-lang
caseypatrickdris has quit [Read error: Connection reset by peer]
micmus has quit [Ping timeout: 258 seconds]
caseypatrickdris has joined #ruby-lang
imperator has quit [Quit: Leaving]
duderonomy has joined #ruby-lang
tubbo` has quit [Quit: get outta hee]
atomical has quit [Ping timeout: 248 seconds]
pikos has quit [Remote host closed the connection]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
k3asd` has joined #ruby-lang
nertzy2 has joined #ruby-lang
micmus has joined #ruby-lang
caseypatrickdris has quit [Read error: Connection reset by peer]
pikos has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
k3asd` has quit [Ping timeout: 252 seconds]
gwendall has joined #ruby-lang
iliketurtles has joined #ruby-lang
k3asd` has joined #ruby-lang
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pikos has quit [Remote host closed the connection]
gwendall has quit [Ping timeout: 272 seconds]
alestuber has quit [Ping timeout: 256 seconds]
ascarter has joined #ruby-lang
aphova_ has quit []
aphova_ has joined #ruby-lang
datanoise has quit [Ping timeout: 252 seconds]
ebouchut has quit []
ebouchut has joined #ruby-lang
<BanzaiJoe> how do I type interactively here?
caseypatrickdris has quit [Read error: Connection reset by peer]
<BanzaiJoe> >> ticket = [12, 47, 35]; ticket.sort
<eval-in> BanzaiJoe => [12, 35, 47] (https://eval.in/368347)
<BanzaiJoe> >>ticket.reverse
<eval-in> BanzaiJoe => undefined local variable or method `ticket' for main:Object (NameError) ... (https://eval.in/368348)
<BanzaiJoe> >> ticket = [12, 47, 35]; ticket.sort; ticket.reverse
<eval-in> BanzaiJoe => [35, 47, 12] (https://eval.in/368349)
caseypatrickdris has joined #ruby-lang
revath has quit [Ping timeout: 246 seconds]
<BanzaiJoe> ahhhh..... what the hell just didn't happen?
niemcu has joined #ruby-lang
caseypat_ has joined #ruby-lang
<BanzaiJoe> why doesn't it have the reverse of sort i.e. [47,35,12] ?!??
topher has quit []
topher has joined #ruby-lang
<|jemc|> BanzaiJoe: there are two version fo `sort`
baweaver has quit [Remote host closed the connection]
<|jemc|> look up the difference between `sort` and `sort!`
baweaver has joined #ruby-lang
<BanzaiJoe> k, thanks
A124 has quit [Ping timeout: 264 seconds]
caseypatrickdris has quit [Ping timeout: 265 seconds]
nertzy2 has quit [Quit: This computer has gone to sleep]
<BanzaiJoe> lol, duh
alestuber has joined #ruby-lang
<baweaver> BanzaiJoe: It's ill advised to start using bang methods everywhere knowing that's a thing
<baweaver> Normally you'd just do this: [12, 47,35].sort.reverse
A124 has joined #ruby-lang
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
caseypat_ has quit [Read error: Connection reset by peer]
caseypatrickdris has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
duderonomy has quit [Ping timeout: 256 seconds]
j4cknewt has joined #ruby-lang
chouhoulis has quit [Ping timeout: 256 seconds]
<mustmodify> I'm feeling super-retarded right now. Allegedly I'm an experienced ruby dev and I'm unable to get a string to do something simple. After a ton of poking around, I finally found a simple proof-of-concept for my problem. Can someone explain to me why \n and \r\n act differently here? https://gist.github.com/mustmodify/361d543e4796eca31466
<mustmodify> it's KILLING ME.
<mustmodify> I'm using rbx 2.5.2 but have verified the behavior is the same in MRI 2.1.3
<BanzaiJoe> baweaver, understood
arBmind1 has joined #ruby-lang
arBmind has quit [Ping timeout: 250 seconds]
benanne has quit [Quit: kbai]
<|jemc|> mustmodify: not sure if you already figured this out or not, but "\r\n" is a windows-style line ending
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<mustmodify> |jemc|: sure. But I'm not sure why that causes \n not to work.
<mustmodify> and by not sure I mean...
<mustmodify> WTF?
<|jemc|> well, it might be that the yamlizer is trying to make sure your data is lossless
<|jemc|> if it converted
<mustmodify> ...
<mustmodify> I hadn't thought about that.
<|jemc|> \r\n to just a \n
<|jemc|> then you'd be losing a byte
<mustmodify> @#$(*)(*@#$
<mustmodify> right
<ttilley> mustmodify: technically, \n handles both forms of newline sequence.
<mustmodify> ok well that makes sense.
<|jemc|> and when you pulled it back in, it wouldn't test as "=="
<ttilley> mustmodify: \n isn't "line feed" it's "newline"
<mustmodify> |jemc|: Thanks for helping me to see that. It was blowing my mind.
<mustmodify> ttilley: same
<mustmodify> :)
DLSteve has quit [Quit: Leaving]
nwhirschfeld has quit [Ping timeout: 264 seconds]
mcclurmc has quit [Remote host closed the connection]
Fooster has joined #ruby-lang
pikos has joined #ruby-lang
baweaver has quit [Read error: Connection reset by peer]
baweaver has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
sgambino has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
Fooster has quit [Ping timeout: 250 seconds]
arBmind1 has quit [Quit: Leaving.]
gwendall has joined #ruby-lang
b_hoffman has joined #ruby-lang
nwhirschfeld has joined #ruby-lang
mcclurmc has joined #ruby-lang
k3asd` has quit [Ping timeout: 265 seconds]
mcclurmc has quit [Remote host closed the connection]
gwendall has quit [Ping timeout: 272 seconds]
baweaver_ has joined #ruby-lang
datanois1 has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
baweaver_ has quit [Remote host closed the connection]
baweaver has joined #ruby-lang
chinmay_dd has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
ta has quit [Remote host closed the connection]
baweaver has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
centrx has joined #ruby-lang
kfpratt has quit [Remote host closed the connection]
chinmay_dd has quit [Ping timeout: 264 seconds]
benlovell has quit [Ping timeout: 256 seconds]
skade has joined #ruby-lang
Alehanz has joined #ruby-lang
<Alehanz> Hey everyone!
wallerdev has joined #ruby-lang
Voker57 has joined #ruby-lang
mcclurmc has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
shazaum has quit [Quit: This computer has gone to sleep]
tibig has quit [Ping timeout: 246 seconds]
PocketJosh has joined #ruby-lang
iliketurtles has joined #ruby-lang
Alehanz has quit [Quit: leaving]
Ropeney has joined #ruby-lang
BanzaiJoe has quit [Ping timeout: 240 seconds]
houhoulis has joined #ruby-lang
j4cknewt has joined #ruby-lang
alestuber has quit [Remote host closed the connection]
setanta_ has quit [Quit: Leaving]
Fooster has joined #ruby-lang
houhoulis has quit [Ping timeout: 240 seconds]
benlovell has quit [Ping timeout: 272 seconds]
nertzy2 has joined #ruby-lang
rcvalle has quit [Quit: rcvalle]
datanois1 has quit [Ping timeout: 264 seconds]
mcclurmc has quit [Remote host closed the connection]
mcclurmc has joined #ruby-lang
kr3ssh has quit [Ping timeout: 250 seconds]
houhoulis has joined #ruby-lang
batend has quit [Quit: Connection closed for inactivity]
replay has quit []
skade has quit [Quit: Computer has gone to sleep.]
b_hoffman has quit [Quit: b_hoffman]