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
marr has quit []
zendrix has quit [Remote host closed the connection]
jwaldrip has quit [Quit: Be back later ...]
ybathia has quit [Quit: ybathia]
zendrix has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
baweaver has joined #ruby-lang
kfpratt has quit [Ping timeout: 244 seconds]
allomov has joined #ruby-lang
houhoulis has joined #ruby-lang
allomov has quit [Ping timeout: 250 seconds]
_djbkd has quit [Remote host closed the connection]
_djbkd has joined #ruby-lang
allomov has joined #ruby-lang
deol has joined #ruby-lang
deol has quit [Client Quit]
haraoka has joined #ruby-lang
michaeldeol has quit [Ping timeout: 250 seconds]
baweaver has quit [Remote host closed the connection]
baweaver has joined #ruby-lang
amystephen has quit [Quit: amystephen]
allomov has quit [Remote host closed the connection]
allomov_ has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
ledestin has joined #ruby-lang
|jemc| has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
baweaver has joined #ruby-lang
yfeldblum has quit [Ping timeout: 256 seconds]
bungoman has joined #ruby-lang
charliesome has quit [Quit: zzz]
fujimura_ has joined #ruby-lang
alestuber has joined #ruby-lang
fujimura_ has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby-lang
amclain has joined #ruby-lang
moretti has quit [Quit: Leaving...]
|jemc| has joined #ruby-lang
_djbkd has quit [Quit: My people need me...]
charliesome has joined #ruby-lang
alestuber has quit [Remote host closed the connection]
atomical has joined #ruby-lang
nedp has quit [Remote host closed the connection]
bungoman_ has joined #ruby-lang
nedp has joined #ruby-lang
mkosaki has joined #ruby-lang
jwaldrip has joined #ruby-lang
rcvalle has quit [Quit: rcvalle]
zendrix has quit [Ping timeout: 246 seconds]
bungoman has quit [Ping timeout: 255 seconds]
Asher has joined #ruby-lang
bungoman_ has quit [Ping timeout: 256 seconds]
|jemc| has quit [Ping timeout: 256 seconds]
tkuchiki has joined #ruby-lang
brownbathrobe has quit []
araujo has quit [Quit: Leaving]
araujo has joined #ruby-lang
airdisa has quit []
erichmenge has quit [Ping timeout: 264 seconds]
shawnacscott has quit [Excess Flood]
wallerdev has quit [Quit: wallerdev]
shawnacscott has joined #ruby-lang
jwaldrip has quit [Quit: Lingo: www.lingoirc.com]
erichmenge has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
simi has quit [Ping timeout: 240 seconds]
JEG2 has quit [Quit: Connection closed for inactivity]
shakes has joined #ruby-lang
car has joined #ruby-lang
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
amystephen has joined #ruby-lang
duderonomy has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: zzz]
charliesome has joined #ruby-lang
car has quit [Ping timeout: 265 seconds]
ogpastaling has joined #ruby-lang
rcvalle has joined #ruby-lang
bungoman has joined #ruby-lang
amystephen has quit [Quit: amystephen]
amystephen has joined #ruby-lang
car has joined #ruby-lang
hahuang65 has quit [Ping timeout: 252 seconds]
dvlwrk has joined #ruby-lang
tmi has quit [Ping timeout: 256 seconds]
rcvalle has quit [Quit: rcvalle]
jgpawletko_away has quit [Quit: jgpawletko_away]
jgpawletko has joined #ruby-lang
rcvalle has joined #ruby-lang
rcvalle has quit [Client Quit]
atomical has joined #ruby-lang
nofxx has joined #ruby-lang
shinnya has quit [Ping timeout: 272 seconds]
kfpratt has joined #ruby-lang
bungoman has quit [Remote host closed the connection]
aaeron has quit [Quit: aaeron]
fujimura has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
car has quit [Quit: Leaving]
amystephen has quit [Quit: amystephen]
yfeldblum has quit [Ping timeout: 256 seconds]
b_hoffman has joined #ruby-lang
Megamos has quit [Ping timeout: 240 seconds]
caseypatrickdris has quit [Remote host closed the connection]
nertzy has joined #ruby-lang
hahuang65 has joined #ruby-lang
jgpawletko has quit [Remote host closed the connection]
yfeldblu_ has quit [Remote host closed the connection]
jimr has joined #ruby-lang
yfeldblum has joined #ruby-lang
<jimr> I am trying to grab Twitter trends as in this code snippet https://gist.github.com/anonymous/4fc2f031ae68033787d7 It prints out the top 10 trends but if I only want to print say the 5th one in the array how do I do that? ht something like
cornerma1 has joined #ruby-lang
centrx has joined #ruby-lang
<jimr> I thought something like " puts canada[5].name " would work but doesn't . I am a newbie to Ruby.
cornerman has quit [Ping timeout: 256 seconds]
cornerma1 is now known as cornerman
mkosaki has quit [Ping timeout: 256 seconds]
mkosaki has joined #ruby-lang
nertzy has quit [Quit: This computer has gone to sleep]
billy_ran_away has quit [Ping timeout: 264 seconds]
aaeron has joined #ruby-lang
musl_ has joined #ruby-lang
ljarvis_ has quit [Ping timeout: 264 seconds]
thang has quit [Ping timeout: 264 seconds]
ljarvis has joined #ruby-lang
thang has joined #ruby-lang
musl has quit [Ping timeout: 264 seconds]
bkutil has quit [Ping timeout: 264 seconds]
bkutil has joined #ruby-lang
billy_ran_away has joined #ruby-lang
kfpratt has quit [Ping timeout: 264 seconds]
bungoman has joined #ruby-lang
symm- has quit [Ping timeout: 256 seconds]
fedexo has joined #ruby-lang
djbkd_ has joined #ruby-lang
joaomdmoura has joined #ruby-lang
rawrmonstar has joined #ruby-lang
ogpastaling has quit [Remote host closed the connection]
aaeron has quit [Ping timeout: 264 seconds]
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bungoman has quit [Remote host closed the connection]
gix has quit [Ping timeout: 256 seconds]
tmi has joined #ruby-lang
auzty has joined #ruby-lang
bungoman has joined #ruby-lang
gix has joined #ruby-lang
<nofxx> jimr, that should work
aaeron has joined #ruby-lang
shakes has quit [Quit: Leaving]
dellavg_ has joined #ruby-lang
alestuber has joined #ruby-lang
alestuber has quit [Ping timeout: 264 seconds]
dvlwrk has quit [Quit: Leaving]
kfpratt has joined #ruby-lang
Megamos has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby-lang
kfpratt has quit [Ping timeout: 276 seconds]
<jimr> @nofxx thanks. I discovered that I have to write it as "puts canada.to_a[5].name "
bungoman has quit [Remote host closed the connection]
aaeron has quit [Ping timeout: 246 seconds]
djbkd_ has quit []
skade has joined #ruby-lang
mikecmpbll has quit [Quit: ciao.]
bb010g has quit [Quit: Connection closed for inactivity]
aaeron has joined #ruby-lang
dellavg_ has quit [Ping timeout: 264 seconds]
crdpink2 has joined #ruby-lang
crdpink has quit [Ping timeout: 256 seconds]
aaeron has quit [Ping timeout: 246 seconds]
michaeldeol has joined #ruby-lang
mcclurmc has quit [Remote host closed the connection]
bb010g has joined #ruby-lang
mcclurmc_ has joined #ruby-lang
amclain has quit [Quit: Leaving]
rippa has joined #ruby-lang
iamninja has quit [Read error: Connection reset by peer]
Iskarlar has joined #ruby-lang
mcclurmc_ has quit [Remote host closed the connection]
iamninja has joined #ruby-lang
niemcu has joined #ruby-lang
duderonomy has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
ur5us has quit [Remote host closed the connection]
Megamos has quit [Remote host closed the connection]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
allomov_ has quit [Remote host closed the connection]
pwnz0r has joined #ruby-lang
solars has joined #ruby-lang
emptyfla1k has joined #ruby-lang
emptyfla1k has quit [Client Quit]
car has joined #ruby-lang
<nofxx> jimr, hm... you can use IRB to play, also checkout 'pry' to have an irb whenever you need
perry has quit [Ping timeout: 264 seconds]
iamninja has quit [Read error: Connection reset by peer]
x44x45x41x4E has joined #ruby-lang
hahuang65 has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 265 seconds]
perry has joined #ruby-lang
kfpratt has joined #ruby-lang
Musashi007 has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 255 seconds]
iamninja has joined #ruby-lang
car has quit [Ping timeout: 264 seconds]
centrx has quit [Quit: Shutting down, Please wait...]
futilegames has joined #ruby-lang
kfpratt has quit [Ping timeout: 276 seconds]
futilegames has quit [Client Quit]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
VinnyBoy has quit [Read error: Connection reset by peer]
futilegames has joined #ruby-lang
Musashi007 has quit [Quit: Musashi007]
Musashi007 has joined #ruby-lang
rawrmonstar has quit [Quit: Textual IRC Client: www.textualapp.com]
arBmind has joined #ruby-lang
Musashi007 has quit [Quit: Musashi007]
Musashi007 has joined #ruby-lang
yfeldblum has joined #ruby-lang
futilegames has quit [Quit: futilegames]
yfeldblu_ has joined #ruby-lang
yfeldblum has quit [Read error: Connection reset by peer]
fujimura has quit [Remote host closed the connection]
jas02 has joined #ruby-lang
fujimura has joined #ruby-lang
djellemah_ has joined #ruby-lang
fujimura has quit [Remote host closed the connection]
Musashi007 has quit [Quit: Musashi007]
pwnz0r has quit [Remote host closed the connection]
Iskarlar has joined #ruby-lang
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
futilegames has joined #ruby-lang
jas02 has quit [Quit: jas02]
yfeldblu_ has quit [Read error: Connection reset by peer]
x44x45x41x4E has quit [Quit: Textual IRC Client: www.textualapp.com]
yfeldblum has joined #ruby-lang
charliesome has quit [Quit: zzz]
xcesariox has joined #ruby-lang
jas02 has joined #ruby-lang
jas02 has quit [Client Quit]
jas02 has joined #ruby-lang
niemcu has quit [Ping timeout: 256 seconds]
marr has joined #ruby-lang
ta has quit [Remote host closed the connection]
rikkipitt has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
fusillicode1 has quit [Ping timeout: 245 seconds]
djellemah_ has quit [Ping timeout: 272 seconds]
fujimura_ has joined #ruby-lang
dhjondoh has joined #ruby-lang
anaiden has joined #ruby-lang
futilegames has quit [Ping timeout: 256 seconds]
futilegames has joined #ruby-lang
houhoulis has quit []
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MXfive has joined #ruby-lang
Ropeney has quit [Quit: Leaving...]
ur5us has joined #ruby-lang
aotg has quit [Quit: ZNC - http://znc.in]
aotg has joined #ruby-lang
datanoise has quit [Ping timeout: 276 seconds]
fusillicode has joined #ruby-lang
ta has joined #ruby-lang
simi has joined #ruby-lang
Voker57 has quit [Read error: Connection reset by peer]
ur5us has quit [Remote host closed the connection]
Forgetful_Lion has quit [Remote host closed the connection]
j4cknewt has joined #ruby-lang
car has joined #ruby-lang
bb010g has quit [Quit: Connection closed for inactivity]
<yorickpeterse> morning
AlxAltea has quit [Ping timeout: 272 seconds]
dorei has joined #ruby-lang
rikkipitt has quit [Quit: Leaving...]
kr3ssh has joined #ruby-lang
toretore has joined #ruby-lang
anaiden has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
futilegames has quit [Quit: futilegames]
fedexo has quit [Read error: Connection reset by peer]
car has quit [Ping timeout: 255 seconds]
leat has joined #ruby-lang
joaomdmoura has quit [Remote host closed the connection]
futilegames has joined #ruby-lang
car has joined #ruby-lang
skade has joined #ruby-lang
hahuang65 has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
hahuang65 has quit [Ping timeout: 240 seconds]
skade has quit [Quit: Computer has gone to sleep.]
datanoise has joined #ruby-lang
skade has joined #ruby-lang
car has quit [Quit: Leaving]
ec-not-irccloud has joined #ruby-lang
arBmind has joined #ruby-lang
ur5us has joined #ruby-lang
x44x45x41x4E has joined #ruby-lang
ec-not-irccloud has quit [Client Quit]
ec-not-irccloud has joined #ruby-lang
dhjondoh has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
jdeen has joined #ruby-lang
<jdeen> Hi there. I am on a projet that uses `gettext` for translations in a Sinatra project. It uses _('blah') for translations. While it works in routes and helpers, the _() fails with 'undefined method _' in other Ruby classes. How can I introduce _() to them.
AlexAltea has joined #ruby-lang
<maloik> not entirely aware of how it works, but did you include a gem in the project?
<jdeen> maloik: Yes it was, aparantly you need to `include GetText` in every class you need to use it which makes sense. Not sure if there is a better way, but thats what I found out.
<jdeen> thanks for the reply
<toretore> there is probably a GetText.translate or equivalent method that you can use
dhjondoh has joined #ruby-lang
<maloik> that's what I was going to say, you most likely need to include some kind of helper
<maloik> although from what I can tell sinatra doesn't include this out of the box
<maloik> (which is why I asked, so I could check how the gem in question does it)
ec-not-irccloud is now known as ec
ec is now known as ec\
<jdeen> The Sinatra app didn't have `include GetText` when I did a grep. So I thought it must be working like magic but in classes it didn't. I was reading readme file and it seem we need to `include GetText` and with it use `_()` which seems to be the only way.
datanoise has quit [Ping timeout: 256 seconds]
ec\ has quit [Quit: best short-url ever. <http://ell.io/tt>]
ec\ has joined #ruby-lang
workmad3 has joined #ruby-lang
bertocode has joined #ruby-lang
Miphix has joined #ruby-lang
Stichoza has joined #ruby-lang
simi has quit [Ping timeout: 256 seconds]
octodoodle has joined #ruby-lang
Stichoza has quit [Quit: Be back later ...]
futilegames has quit [Quit: futilegames]
kfpratt has joined #ruby-lang
dhjondoh has quit [Remote host closed the connection]
ruby-lang691 has joined #ruby-lang
kfpratt has quit [Ping timeout: 272 seconds]
cryptarium has quit [Quit: Leaving]
<ruby-lang691> Hello
<ruby-lang691> what should be the value of variable @c1
xcesariox has joined #ruby-lang
<ruby-lang691> everything I hit the server the value of @c1 increments, is this expected
<ruby-lang691> *evertime
futilegames has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
21WAB4TCY has quit [Quit: Textual IRC Client: www.textualapp.com]
skade has joined #ruby-lang
simi has joined #ruby-lang
futilegames has quit [Client Quit]
<simi> jdeen, are you using https://github.com/ruby-gettext/gettext ?
k3asd` has joined #ruby-lang
ruby-lang691 has quit [Quit: Page closed]
dhjondoh has joined #ruby-lang
<jdeen> simi: yes I am
<jdeen> its alright now I guess after `include GetText` in the classes i need to use translation
tkuchiki has quit [Ping timeout: 256 seconds]
<jdeen> would be great if it 'just works' (tm) :)
haraoka has quit [Ping timeout: 272 seconds]
bertocode has quit [Quit: Nettalk6 - www.ntalk.de]
AlexAltea has quit [Ping timeout: 264 seconds]
fclausen has quit [Ping timeout: 272 seconds]
jdeen has quit [Ping timeout: 244 seconds]
jdeen has joined #ruby-lang
hahuang65 has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
nofxx has quit [Ping timeout: 240 seconds]
symm- has joined #ruby-lang
hahuang65 has quit [Ping timeout: 256 seconds]
sepp2k has joined #ruby-lang
xcesariox has quit [Ping timeout: 264 seconds]
niemcu has joined #ruby-lang
auzty has quit [Quit: Leaving]
vondruch_ is now known as vondruch
futilegames has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
fclausen has joined #ruby-lang
simi has quit [Ping timeout: 265 seconds]
b_hoffman has joined #ruby-lang
b_hoffman has quit [Client Quit]
skade has quit [Quit: Computer has gone to sleep.]
b_hoffman has joined #ruby-lang
b_hoffman has quit [Client Quit]
b_hoffman has joined #ruby-lang
b_hoffman has quit [Client Quit]
AlexAltea has joined #ruby-lang
futilegames has quit [Quit: futilegames]
Mon_Ouie has joined #ruby-lang
bruno- has joined #ruby-lang
atomical has joined #ruby-lang
bruno- has quit [Client Quit]
postmodern has quit [Quit: Leaving]
bruno- has joined #ruby-lang
ur5us has joined #ruby-lang
bruno- has quit [Read error: Connection reset by peer]
bruno- has joined #ruby-lang
centrx has joined #ruby-lang
workmad3 has quit [Ping timeout: 276 seconds]
fclausen has quit [Ping timeout: 272 seconds]
ggerman has quit [Remote host closed the connection]
ggerman_ has joined #ruby-lang
ascarter has joined #ruby-lang
Musashi007 has joined #ruby-lang
b_hoffman has joined #ruby-lang
shazaum has joined #ruby-lang
bruno- has quit [Ping timeout: 272 seconds]
ggerman_ has quit [Remote host closed the connection]
bruno- has joined #ruby-lang
17WABU134 has joined #ruby-lang
lapide_viridi has joined #ruby-lang
bruno- has quit [Ping timeout: 264 seconds]
kr3ssh has quit [Ping timeout: 265 seconds]
bruno- has joined #ruby-lang
tekacs has quit [Quit: Disappearing... *poof*]
ldnunes has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
lapide_viridi has quit [Quit: Leaving]
kfpratt has joined #ruby-lang
dhjondoh has quit [Quit: dhjondoh]
hahuang65 has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
tekacs has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
hahuang65 has quit [Ping timeout: 276 seconds]
kfpratt has quit [Ping timeout: 272 seconds]
rippa has joined #ruby-lang
jdeen has quit [Ping timeout: 272 seconds]
cpach has left #ruby-lang ["adios"]
ascarter has quit [Remote host closed the connection]
jdeen has joined #ruby-lang
djellemah_ has joined #ruby-lang
ascarter has joined #ruby-lang
skade has joined #ruby-lang
ascarter has quit [Max SendQ exceeded]
leat has quit [Quit: leat]
ascarter has joined #ruby-lang
simi has joined #ruby-lang
datanoise has joined #ruby-lang
kr3ssh has joined #ruby-lang
futilegames has joined #ruby-lang
Musashi007 has quit [Quit: Musashi007]
tekacs has quit [Quit: Disappearing... *poof*]
tomaz_b has joined #ruby-lang
octodoodle has quit [Quit: Textual IRC Client: www.textualapp.com]
tekacs has joined #ruby-lang
jdeen has quit [Quit: Lost terminal]
charliesome has joined #ruby-lang
datanoise has quit [Ping timeout: 256 seconds]
fluchtreflex has joined #ruby-lang
MXfive has quit [Quit: Textual IRC Client: www.textualapp.com]
charliesome has quit [Ping timeout: 256 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
b_hoffman has joined #ruby-lang
b_hoffman has quit [Client Quit]
mcclurmc has joined #ruby-lang
workmad3 has joined #ruby-lang
centrx has quit [Quit: Shutting down, Please wait...]
futilegames has quit [Quit: futilegames]
charliesome has joined #ruby-lang
jimr has quit [Quit: Page closed]
djellemah_ has quit [Ping timeout: 272 seconds]
AlxAltea has joined #ruby-lang
AlexAltea has quit [Ping timeout: 245 seconds]
Forgetful_Lion has quit [Remote host closed the connection]
alestuber has joined #ruby-lang
alestuber has quit [Remote host closed the connection]
alestuber has joined #ruby-lang
houhoulis has joined #ruby-lang
x44x45x41x4E has quit [Quit: Textual IRC Client: www.textualapp.com]
charliesome has quit [Ping timeout: 256 seconds]
b_hoffman has joined #ruby-lang
charliesome has joined #ruby-lang
kfpratt has joined #ruby-lang
tkuchiki has joined #ruby-lang
malconis has joined #ruby-lang
kfpratt has quit [Ping timeout: 246 seconds]
alestuber has quit [Ping timeout: 256 seconds]
17WABU134 has quit [Quit: leaving]
alestuber has joined #ruby-lang
ggerman_ has joined #ruby-lang
kfpratt has joined #ruby-lang
sgambino has joined #ruby-lang
fujimura_ has quit [Remote host closed the connection]
fujimura_ has joined #ruby-lang
victortyau has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
futilegames has joined #ruby-lang
niemcu has quit [Ping timeout: 256 seconds]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fujimura_ has quit [Ping timeout: 264 seconds]
Iskarlar has joined #ruby-lang
symm- has quit [Ping timeout: 264 seconds]
[k- has joined #ruby-lang
charliesome has quit [Ping timeout: 256 seconds]
mcclurmc has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
alestuber has quit [Ping timeout: 264 seconds]
enebo has joined #ruby-lang
sankaber has joined #ruby-lang
alestuber has joined #ruby-lang
charliesome has quit [Ping timeout: 256 seconds]
charliesome has joined #ruby-lang
jgpawletko has joined #ruby-lang
bungoman has joined #ruby-lang
sankaber has quit [Ping timeout: 276 seconds]
imperator has joined #ruby-lang
bungoman has quit [Read error: Connection reset by peer]
bungoman has joined #ruby-lang
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
alestuber has quit [Remote host closed the connection]
mikecmpbll has joined #ruby-lang
stamina has joined #ruby-lang
ggerman_ has quit [Quit: leaving]
hahuang65 has joined #ruby-lang
ggerman has joined #ruby-lang
amystephen has joined #ruby-lang
Musashi007 has joined #ruby-lang
caseypatrickdris has quit [Read error: Connection reset by peer]
fujimura has joined #ruby-lang
hahuang65 has quit [Ping timeout: 246 seconds]
alestuber has joined #ruby-lang
AlxAltea has quit [Ping timeout: 255 seconds]
charliesome has quit [Ping timeout: 256 seconds]
caseypatrickdris has joined #ruby-lang
charliesome has joined #ruby-lang
AlxAltea has joined #ruby-lang
datanoise has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
leat has joined #ruby-lang
skade has joined #ruby-lang
nedp has quit [Remote host closed the connection]
Musashi007 has quit [Quit: Musashi007]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
alestuber has quit [Ping timeout: 240 seconds]
k3asd` has quit [Remote host closed the connection]
imperator2 has joined #ruby-lang
alestuber has joined #ruby-lang
k3asd` has joined #ruby-lang
nertzy has joined #ruby-lang
dhjondoh has joined #ruby-lang
yalue has joined #ruby-lang
gomma has joined #ruby-lang
k3asd`_ has joined #ruby-lang
bungoman has quit [Remote host closed the connection]
arBmind has quit [Quit: Leaving.]
mcclurmc has joined #ruby-lang
arBmind has joined #ruby-lang
k3asd` has quit [Ping timeout: 272 seconds]
mcclurmc has quit [Remote host closed the connection]
charliesome has quit [Ping timeout: 256 seconds]
centrx has joined #ruby-lang
arBmind has quit [Client Quit]
charliesome has joined #ruby-lang
simi has quit [Ping timeout: 240 seconds]
bungoman has joined #ruby-lang
joaomdmoura has joined #ruby-lang
atomical has joined #ruby-lang
ta has quit [Remote host closed the connection]
k3asd`_ has quit [Quit: leaving]
k3asd` has joined #ruby-lang
fujimura has quit [Remote host closed the connection]
fujimura has joined #ruby-lang
alestuber has quit [Ping timeout: 240 seconds]
j4cknewt has joined #ruby-lang
bungoman has quit [Remote host closed the connection]
fujimura has quit [Ping timeout: 240 seconds]
alestuber has joined #ruby-lang
bungoman has joined #ruby-lang
JEG2 has joined #ruby-lang
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arBmind has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
tomaz_b has quit [Ping timeout: 252 seconds]
rcvalle has joined #ruby-lang
shinnya has joined #ruby-lang
knu has quit [Remote host closed the connection]
arBmind has quit [Quit: Leaving.]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
joaomdmoura has quit [Remote host closed the connection]
mcclurmc has joined #ruby-lang
whippythellama has joined #ruby-lang
mcclurmc has quit [Remote host closed the connection]
ogpastaling has joined #ruby-lang
alestuber has quit [Remote host closed the connection]
houhoulis has quit [Remote host closed the connection]
jas02 has quit [Quit: jas02]
Astrologos_ has joined #ruby-lang
|jemc| has joined #ruby-lang
dorei has quit [Ping timeout: 245 seconds]
Nimf has joined #ruby-lang
djellemah_ has joined #ruby-lang
mcclurmc has joined #ruby-lang
airdisa has joined #ruby-lang
hahuang65 has joined #ruby-lang
knu has joined #ruby-lang
VinnyBoy has joined #ruby-lang
hahuang65 has quit [Ping timeout: 276 seconds]
alestuber has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
slawrence00 has joined #ruby-lang
futilegames has quit [Quit: futilegames]
Astrologos_ is now known as dorei
alestuber has quit [Ping timeout: 276 seconds]
chouhoulis has joined #ruby-lang
j4cknewt has joined #ruby-lang
Voker57 has joined #ruby-lang
ohsix has quit [Ping timeout: 256 seconds]
charliesome_ has joined #ruby-lang
ta has joined #ruby-lang
cornerma1 has joined #ruby-lang
charliesome has quit [Ping timeout: 256 seconds]
alestuber has joined #ruby-lang
charliesome_ has quit [Read error: Connection reset by peer]
rbraaf has joined #ruby-lang
charliesome has joined #ruby-lang
rbraaf has quit [Client Quit]
cornerman has quit [Ping timeout: 272 seconds]
cornerma1 is now known as cornerman
rbraaf has joined #ruby-lang
charliesome has quit [Read error: Connection reset by peer]
rbraaf has quit [Client Quit]
charliesome has joined #ruby-lang
RayB has joined #ruby-lang
RayB has quit [Client Quit]
joaomdmoura has joined #ruby-lang
ray-b has joined #ruby-lang
shinnya has quit [Ping timeout: 264 seconds]
anaiden has joined #ruby-lang
ray-b has quit [Client Quit]
alestuber has quit [Remote host closed the connection]
atomical has joined #ruby-lang
fluchtreflex has quit [Ping timeout: 240 seconds]
michaeldeol has joined #ruby-lang
anaiden has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
charliesome has quit [Ping timeout: 256 seconds]
guillaume-rb has joined #ruby-lang
anaiden has joined #ruby-lang
anaiden has quit [Client Quit]
leat has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
m1lt0n has joined #ruby-lang
m1lt0n has quit [Client Quit]
joaomdmoura has quit [Remote host closed the connection]
dagda1 has joined #ruby-lang
joaomdmoura has joined #ruby-lang
zendrix has joined #ruby-lang
bungoman has quit [Remote host closed the connection]
charliesome has quit [Ping timeout: 256 seconds]
__butch__ has joined #ruby-lang
nibbo has quit [Ping timeout: 265 seconds]
charliesome has joined #ruby-lang
charliesome has quit [Read error: Connection reset by peer]
ascarter_ has joined #ruby-lang
charliesome has joined #ruby-lang
joaomdmoura has quit [Remote host closed the connection]
constantinexvi has quit [Ping timeout: 264 seconds]
fluchtreflex has joined #ruby-lang
fluchtreflex has joined #ruby-lang
constantinexvi has joined #ruby-lang
stan has quit [Ping timeout: 265 seconds]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
centrx has quit [Quit: Shutting down, Please wait...]
gomma has quit [Quit: Lost terminal]
bb010g has joined #ruby-lang
ascarter_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hakunin has quit [Remote host closed the connection]
stan has joined #ruby-lang
hakunin has joined #ruby-lang
hakunin has quit [Read error: Connection reset by peer]
hakunin has joined #ruby-lang
charliesome has quit [Read error: Connection reset by peer]
solars has quit [Ping timeout: 272 seconds]
hakunin has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
wprice has joined #ruby-lang
niemcu has joined #ruby-lang
moretti has joined #ruby-lang
stan has quit [Ping timeout: 256 seconds]
fusillicode has quit [Ping timeout: 272 seconds]
nibbo has joined #ruby-lang
charliesome has quit [Quit: zzz]
mikecmpbll has quit [Ping timeout: 250 seconds]
Voker57 has quit [Remote host closed the connection]
leat has joined #ruby-lang
zendrix has quit [Remote host closed the connection]
Miphix has quit [Quit: Leaving]
zendrix has joined #ruby-lang
skade has joined #ruby-lang
moretti has quit [Quit: Leaving...]
alestuber has joined #ruby-lang
_djbkd has joined #ruby-lang
Miphix has joined #ruby-lang
hahuang65 has joined #ruby-lang
joaomdmoura has joined #ruby-lang
alestuber has quit [Ping timeout: 272 seconds]
bungoman has joined #ruby-lang
alestuber has joined #ruby-lang
rippa has joined #ruby-lang
[k- has quit [Quit: Lingo: www.lingoirc.com]
wallerdev has joined #ruby-lang
constantinexvi has quit [*.net *.split]
michaeldeol has quit [*.net *.split]
imperator has quit [*.net *.split]
kr3ssh has quit [*.net *.split]
iamninja has quit [*.net *.split]
perry has quit [*.net *.split]
duderonomy has quit [*.net *.split]
tenderlove has quit [*.net *.split]
unreal has quit [*.net *.split]
DivineEntity has quit [*.net *.split]
hackeron has quit [*.net *.split]
LBo has quit [*.net *.split]
gregf_ has quit [*.net *.split]
go|dfish has quit [*.net *.split]
badeball has quit [*.net *.split]
stevednd has quit [*.net *.split]
maloik has quit [*.net *.split]
maloik_ has joined #ruby-lang
kr3ssh has joined #ruby-lang
DivineEntity has joined #ruby-lang
hackeron has joined #ruby-lang
tenderlove has joined #ruby-lang
iamninja has joined #ruby-lang
michaeldeol has joined #ruby-lang
imperator has joined #ruby-lang
go|dfish has joined #ruby-lang
stevednd has joined #ruby-lang
stamina has quit [Quit: WeeChat 1.1.1]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
constantinexvi has joined #ruby-lang
nertzy has quit [Quit: This computer has gone to sleep]
perryh has joined #ruby-lang
badeball has joined #ruby-lang
gregf_ has joined #ruby-lang
unreal has joined #ruby-lang
leat has quit [Ping timeout: 256 seconds]
fujimura has joined #ruby-lang
symm- has joined #ruby-lang
leat has joined #ruby-lang
fusillicode has joined #ruby-lang
fujimura has quit [Ping timeout: 255 seconds]
bungoman has quit [Remote host closed the connection]
vipaca has joined #ruby-lang
kr3ssh has quit [Ping timeout: 264 seconds]
ogpastal_ has joined #ruby-lang
ogpastaling has quit [Read error: Connection reset by peer]
leat has quit [Remote host closed the connection]
leat has joined #ruby-lang
bungoman has joined #ruby-lang
bungoman has quit [Client Quit]
pabloh has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
sarkyniin has joined #ruby-lang
A124 has joined #ruby-lang
dellavg_ has joined #ruby-lang
alestuber has quit [Ping timeout: 264 seconds]
alestuber has joined #ruby-lang
zendrix has quit [Remote host closed the connection]
ybathia has joined #ruby-lang
leat has quit [Quit: leat]
k3asd` has quit [Ping timeout: 252 seconds]
perryh is now known as perry
zendrix has joined #ruby-lang
guillaume-rb has quit [Quit: guillaume-rb]
k3asd` has joined #ruby-lang
LBo has joined #ruby-lang
alestuber has quit [Ping timeout: 276 seconds]
JakFrist has joined #ruby-lang
JakFrist has left #ruby-lang ["Textual IRC Client: www.textualapp.com"]
alestuber has joined #ruby-lang
k3asd` has quit [Ping timeout: 252 seconds]
k3asd` has joined #ruby-lang
flak has joined #ruby-lang
flak is now known as Guest82665
rippa has quit [Ping timeout: 252 seconds]
djellemah has quit [Ping timeout: 264 seconds]
shazaum has quit [Quit: This computer has gone to sleep]
djellemah_ has quit [Ping timeout: 264 seconds]
mikecmpbll has joined #ruby-lang
Guest82665 has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
rippa has joined #ruby-lang
micmus has joined #ruby-lang
zendrix has quit [Remote host closed the connection]
Voker57 has joined #ruby-lang
baweaver has joined #ruby-lang
alestuber has quit [Ping timeout: 245 seconds]
shazaum has joined #ruby-lang
banister has joined #ruby-lang
pabloh has quit [Ping timeout: 256 seconds]
Iskarlar has joined #ruby-lang
Nimf has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby-lang
t-richards has joined #ruby-lang
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pabloh has joined #ruby-lang
b_hoffman has joined #ruby-lang
dagda1 has joined #ruby-lang
ybathia has quit [Quit: ybathia]
moretti has joined #ruby-lang
alestuber has joined #ruby-lang
GBrawl has joined #ruby-lang
anaiden has joined #ruby-lang
ruby-lang410 has joined #ruby-lang
alestuber has quit [Read error: Connection reset by peer]
alestuber has joined #ruby-lang
zendrix has joined #ruby-lang
hahuang65 has quit [Ping timeout: 276 seconds]
ruby-lang410 has quit [Client Quit]
GBrawl has quit [Quit: (null)]
niemcu has quit [Ping timeout: 252 seconds]
<imperator> is addressable the preferred URI interface these days?
thelastinuit has joined #ruby-lang
airdisa has quit [Remote host closed the connection]
zendrix has quit [Remote host closed the connection]
thelastinuit has quit [Client Quit]
airdisa has joined #ruby-lang
fusillicode has quit [Ping timeout: 264 seconds]
Steve_Jobs has joined #ruby-lang
airdisa_ has joined #ruby-lang
<darix> imperator: why do you ask?
<darix> imperator: it isnt in stdlib
<imperator> true, i'm just curious what folks are using in the wild
airdisa has quit [Ping timeout: 265 seconds]
<pipework> My favorite is just URI
<Senjai> imperator: ERB::Util.url_encode IMO
baweaver has quit [Remote host closed the connection]
<Senjai> pipework: Its deprecated
<pipework> Senjai: D'aw. :(
robbyoconnor has quit [Ping timeout: 264 seconds]
kadoppe has quit [Ping timeout: 256 seconds]
fujimura has joined #ruby-lang
kadoppe has joined #ruby-lang
mistnim has joined #ruby-lang
Iskarlar has quit [Read error: Connection reset by peer]
<mistnim> why is '\e' != "\e" ?
baweaver has joined #ruby-lang
hakunin has joined #ruby-lang
<darix> Senjai: since when is URI deprecated?
solars has joined #ruby-lang
Iskarlar has joined #ruby-lang
<darix> oh i was even in that thread
fujimura has quit [Ping timeout: 256 seconds]
<pipework> reading, I hear it's fundamental
Iskarlar has quit [Client Quit]
<yorickpeterse> mistnim: because in case of "\e" the \e is an escape sequence
<yorickpeterse> but when using '\e' it's the literal backslash-e
baweaver has quit [Remote host closed the connection]
<yorickpeterse> >> '\e'.codepoints
<eval-in> yorickpeterse => [92, 101] (https://eval.in/351612)
<yorickpeterse> >> "\e".codepoints
<eval-in> yorickpeterse => [27] (https://eval.in/351613)
skade has quit [Quit: Computer has gone to sleep.]
<yorickpeterse> same goes for '\n' vs "\n"
<mistnim> thanks yorickpeterse
Yami has joined #ruby-lang
<Yami> Hi!
cryo28 has joined #ruby-lang
allomov has joined #ruby-lang
kr3ssh has joined #ruby-lang
zendrix has joined #ruby-lang
bertocode has joined #ruby-lang
<Yami> Can somebody tell me on which class is the '+=' method declared?
<Mon_Ouie> There's no += method
<|jemc|> Yami: it's not, it's just the `+` operator followed by reassignment
<Mon_Ouie> It's a syntax sugar for a = a + b
<|jemc|> it's syntax sugar rather than a method
<|jemc|> yeah
<Yami> Ok it's just a sugar.
allomov has quit [Ping timeout: 264 seconds]
<Yami> I was wondering since nearly everything is a method here. :p
<Yami> Thx.
zendrix has quit [Ping timeout: 255 seconds]
<Mon_Ouie> It couldn't be a method because methods can't change the object referenced by a variable, they can only modify the state of objects. Not to mention, as a method, calling it like '3 += 4' wouldn't really make any sense.
<yorickpeterse> technically += could be a method if fixnums weren't immutable
<Yami> Mon_Ouie: Well I don't think that 4.+=(3) could be inconcevable
<Yami> Oh yeah, if Fixnum weren't immutable that is.
<Mon_Ouie> But that would break a lot of existing code, though --- anything that assumes that after 'y = 3; x = y; x+= 3', y is still equal to 3.
kr3ssh has quit [Ping timeout: 264 seconds]
zendrix has joined #ruby-lang
mietki has joined #ruby-lang
<mietki> Hey guys, could you please tell me why I get error here? http://pastebin.com/4mBakZEW
pabloh has quit [Quit: Saliendo]
<mietki> I was trying to write simple script in ruby but it seems like I don't understand documentation correctly
b_hoffman has quit [Quit: b_hoffman]
<mietki> or maybe something wrong is with module I use, but perhaps you could tell me whether the syntax is correct
<Mon_Ouie> Syntax is correct, the error is an ArgumentError raised by the method that you're calling (I'm not sure if by "type" in that error message they refer to the class of the object being used as credentials)
duderonomy has joined #ruby-lang
ybathia has joined #ruby-lang
nofxx has joined #ruby-lang
Iskarlar has joined #ruby-lang
solars has quit [Ping timeout: 272 seconds]
<mietki> Mon_Ouie: thanks a lot
<mietki> so that stands for creds being not proper object?
<mietki> because in documentation I can read that :credentials is "The credentials to use for the clone operation. Can be either an instance of one of the Rugged::Credentials types, or a proc returning one of the former. "
kr3ssh has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
<Yami> Bye!
baweaver has joined #ruby-lang
Yami has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
wallerdev has joined #ruby-lang
b_hoffman has joined #ruby-lang
airdisa_ has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
symm- has quit [Ping timeout: 256 seconds]
alestube_ has joined #ruby-lang
Missphoenix has joined #ruby-lang
alestuber has quit [Read error: No route to host]
kstuart_ has quit [Quit: WeeChat 1.1.1]
airdisa has joined #ruby-lang
skade has joined #ruby-lang
Miphix has quit [Ping timeout: 256 seconds]
mietki has quit [Ping timeout: 246 seconds]
yalue has quit [Read error: Connection reset by peer]
tomaz_b has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
wallerdev has quit [Quit: wallerdev]
gambl0re has joined #ruby-lang
michaeldeol has quit [Ping timeout: 264 seconds]
moretti has quit [Ping timeout: 252 seconds]
michaeldeol has joined #ruby-lang
iamse7en has joined #ruby-lang
alestube_ has quit [Remote host closed the connection]
Musashi007 has joined #ruby-lang
Iskarlar has quit [Read error: Connection reset by peer]
Iskarlar has joined #ruby-lang
chris2 has quit [Ping timeout: 272 seconds]
cryo28 has quit [Ping timeout: 245 seconds]
cryo28 has joined #ruby-lang
hakunin has quit [Remote host closed the connection]
hakunin has joined #ruby-lang
alestuber has joined #ruby-lang
yalue has joined #ruby-lang
baweaver has joined #ruby-lang
ruby-lang847 has joined #ruby-lang
hakunin has quit [Ping timeout: 258 seconds]
dellavg_ has quit [Ping timeout: 264 seconds]
cryo28 has quit [Ping timeout: 240 seconds]
alestuber has quit [Ping timeout: 276 seconds]
gambl0re has quit []
baweaver has quit [Remote host closed the connection]
baweaver has joined #ruby-lang
gambl0re has joined #ruby-lang
ruby-lang847 has quit [Ping timeout: 246 seconds]
chris2 has joined #ruby-lang
wallerdev has joined #ruby-lang
matp_ is now known as matp
kr3ssh has quit [Ping timeout: 256 seconds]
alestuber has joined #ruby-lang
cryo28 has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
ybathia has quit [Quit: ybathia]
ybathia has joined #ruby-lang
ybathia has quit [Client Quit]
Iskarlar has quit [Remote host closed the connection]
Iskarlar has joined #ruby-lang
mistnim has left #ruby-lang ["ERC (IRC client for Emacs 24.5.1)"]
iamse7en has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<yorickpeterse> grmbl I hate HTML
<yorickpeterse> lets write a spec and add a section on when certain open/closing tags can be left out
<nofxx> haml!
<yorickpeterse> but lets not include all rules
<yorickpeterse> W3C y u do dis
fusillicode has joined #ruby-lang
<Senjai> yorickpeterse: I'm glad someone agrees with me
<Senjai> worst decision ever
<lianj> yorickpeterse: lets change that behavior on every next gen
<pipework> There's a fuckload of people who agree.
<Senjai> I've already started seeing unclosed <td>'s the most often
<Senjai> And I cant shit on them
<Senjai> because they just point to the spec
<Senjai> so
<Senjai> "It's just bad" isn't a good enough argument
<pipework> I don't personally care about self-closing tags as long as I can use the traditional form.
<Senjai> <br> ?
<Senjai> <td> cant follow that format
<yorickpeterse> https://github.com/YorickPeterse/oga/issues/99 <- supporting all these cases is really a PITA
<Senjai> unless you ahve something stupid like <td value=>
<yorickpeterse> also some drunkard at some point decided it's totally cool to not require quotes in attribute values for certain values
<Senjai> yorickpeterse: Just dont support it
<yorickpeterse> so <foo bar=haha/wtf> is valid
<Senjai> Seriously
<Senjai> Respond with "Your code is bad, write better codes"
<yorickpeterse> Senjai: then I can't support HTML, this is sadly a pretty crucial feature
<Senjai> This is why you dont write things like oga
<Senjai> :P
<yorickpeterse> Plus I need this myself
<Senjai> You're actually causing pain for yourself
<Senjai> you know this right?
<yorickpeterse> Yeah lets just use libxml, that's so much easier
<Senjai> :P
<pipework> I don't know, I like disabled=disabled more than disabled="disabled", but would prefer just disabled
<yorickpeterse> I heard it's pretty easy to install on OS X
baweaver has joined #ruby-lang
<Senjai> You're the sacrifice for the rest of this
alestuber has quit [Ping timeout: 256 seconds]
<Senjai> I will only ever support linux on anything.
<Senjai> If you want windows or OS X specific support you can fork
<Senjai> :P
<Senjai> I'm more inclined to allow OS X stuff, but never windows stuff
<Senjai> ever
<pipework> Yeah! Because linux isn't fractured and hard to support whale!
<Senjai> It isnt hard to support
<pipework> lolk.
<Senjai> Never had any issues with it
<yorickpeterse> Actually Oga supports Windows, it was the least of my troubles
<Senjai> People in our office use Arch, CentOS, RHEL, Ubuntu, Fedora, etc
<Senjai> none of us have any issues
<pipework> Then you must not have much exposure to other architetures that linux supports.
<yorickpeterse> I had more trouble setting up AppVeyor than actually getting Windows support working
<Senjai> pipework: We're a linux company, we know linux.
<pipework> x86 is nice
<yorickpeterse> oh don't get me started about Linux
<pipework> There are other architectures though.
<yorickpeterse> can we finally maybe one day all just use apt as the package manager?
<pipework> yorickpeterse: apt sucks. :(
<Senjai> Theres a new one
<Senjai> uhm
<pipework> Long live slackware!
<Senjai> ...
<nofxx> debian sucks
<Senjai> A new version of yum
<Senjai> or something
<pipework> dpkg sucks!
<surrounder> yay slackware
<Senjai> forget what its called
<yorickpeterse> Didn't Umbongo decide to fork apt?
<Senjai> yum is pretty awesome though, just old
<nofxx> pacman > rest
<Senjai> DNF
<Senjai> thats it
<Senjai> I also like pacman
zendrix has quit [Remote host closed the connection]
<Senjai> The best part about linux: Use whatever package manager you want.
<yorickpeterse> try explaining pacman to anybody that doesn't have a doctoral decree in stabbing themselves
<Senjai> whodafuqcares
<yorickpeterse> (and I say that after using pacman for about 4 years)
<pipework> I'm waiting for a package manager that lets me decide the locality of the installed packages. From system-wide to shared between some things, all the way to just for this one thing.
<Senjai> yorickpeterse: I dont understand the issues
<yorickpeterse> "ok so I want to just sync my repo list"
<yorickpeterse> "in apt I just run apt-cache update"
<nofxx> yorickpeterse, -Syu instead of 'upgrade' ? hehe kinda true... but anyway just that to remember
<pipework> Until then, slackware stands far and above the rest, imo.
<yorickpeterse> "Pacman? sudo pacman -Syy"
<Senjai> apt-get update**
zendrix has joined #ruby-lang
fujimura has joined #ruby-lang
iamse7en has joined #ruby-lang
<pipework> I'm a fan of tce for now.
<pipework> It's small and simple and barely pretends to be a package management system.
symm- has joined #ruby-lang
<nofxx> pipework, kinda brew for linux? recipes written in ruby looks nice, can't deny =D
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<yorickpeterse> I like the idea of the nix package manager
<pipework> nofxx: Whale, I'd like packaging to be simple. The choice between pre-compiled and source-built and the ability to choose locality all at package install time would be great.
<bougyman> yorickpeterse: taken a look at xbps yet?
<yorickpeterse> but clearly the future is statically linked binaries
<yorickpeterse> bougyman: No, never heard of it
<bougyman> we're working on xbps2 now, which will allow nix-like packages in conjunction with 'system' packages.
<bougyman> yorickpeterse: if you're frustrated with archlinux as I became, it's an easy transition.
alestuber has joined #ruby-lang
<bougyman> and it takes care of two of the biggest probs I had with arch outside of the package policies.. that is it doesn't wipe out old kernels implicitly.
<bougyman> instead there's a vkpurge tool which allows you to control when to nuke an old kernel.
yfeldblum has quit [Ping timeout: 265 seconds]
<bougyman> if you have some time to give it a go on a vm, i'd love to hear your feedback. voidlinux.eu has the details.
fujimura has quit [Ping timeout: 252 seconds]
<yorickpeterse> Overall Arch itself isn't really an issue for me, I learned to be careful with updates after I fucked libpng and libc on a Monday morning during a work week
<bougyman> and we're in #xbps for support.
<bougyman> yorickpeterse: yep, same beefs, here.
<yorickpeterse> bougyman: hm interesting
Voker57 has quit [Read error: Connection reset by peer]
<bougyman> nicest plus out of the bag is that it supports a lot more archs.
<bougyman> i've got it running on armv6, armv6, arm64, amd64 and amd64_musl, atm.
<yorickpeterse> bougyman: so what were your main frustrations with Arch? I remember you being a pretty hardcore Arch person, going as far as even running it on a bunch of servers
<bougyman> er armv6 and v7
<bougyman> yorickpeterse: yep, I ran it on phone switches for quite some time.
<bougyman> until the glibc debacle.
<nofxx> pipework, pacman has all that, for binary or compile your self use abs, for location just cp the result where you want
dented42 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<bougyman> that followed by the systemd mess finally got me looking around.
<pipework> nofxx: So does make.
<pipework> and configuration systems.
<bougyman> when I found void I was sold pretty fast by the dev team and simplicity.
<yorickpeterse> What does void use for init?
<bougyman> runit
<bougyman> which is my fave, anyway.
<bougyman> that helped my decision a lot.
<yorickpeterse> heh
<bougyman> I ran runit on arch with no problem, too.
dented42 has joined #ruby-lang
<bougyman> but I had to maintain my own init.
<yorickpeterse> Ran runit for a while as well, I always had trouble kill -9'ing it those few times I had to
dagda1 has joined #ruby-lang
<yorickpeterse> which I guess is a good thing
<bougyman> now i'm just one of many contributors to runit-void.
zendrix has quit [Remote host closed the connection]
<surrounder> interesting, haven't heard of that distro before
<yorickpeterse> The two things I like of systemd are the CLI and the service config files
<bougyman> it's not super young.
zendrix has joined #ruby-lang
<bougyman> just stayed kind of under the radar.
<bougyman> I yell about it all the time, though, cause i'm a bigmouth.
<yorickpeterse> Granted, if all distros would've settled on a pattern that could've been applied to sysvinit too
<yorickpeterse> but noo, every distro is a special snowflake that does things differently
<bougyman> see runit doesn't justa void that cross-distro, but cross os.
<bougyman> my service files are the same on void, arch, netbsd, freebsd, mac, openbsd, *.
<bougyman> and even cross-init.
<yorickpeterse> I take it that with void not using systemd it still uses consolekit/udev/etc?
<bougyman> like https://bitbucket.org/avery_payne/supervision-scripts/, which works on runit, perpd, s6, many others, regardless of OS.
<bougyman> eudev
* surrounder downloads iso
baweaver has quit [Remote host closed the connection]
<yorickpeterse> consolekit was one of the things I really hated
<bougyman> the wekest part of void is our installer, of course.
<yorickpeterse> same with vanilla udev, I could never get mounting of USB drives to work (something so basic really should just work in 2015)
<bougyman> I rarely if ever use it, but most people get by with it fine.
<yorickpeterse> bougyman: well, Arch doesn't even have an installer
<yorickpeterse> it just has a prompt that says "lol have fun"
<yorickpeterse> void sounds interesting though
<nofxx> I just rsync disks..voila, new arch
<bougyman> works on Vultr and VPSie out of the box. slight modifications get it working on most things.
<nofxx> bougyman, supervisor has auto restart? resource usage?
<bougyman> supervisor definitely has auto restart.
<bougyman> I use cgred for resource usage, but you could put cgroupfs stuff in the /etc/sv/<service>/run script, if you don't like cgred
<bougyman> cgred is a daemon that runs and applies cgroup rules to processes as they start.
<bougyman> has worked great for me.
<yorickpeterse> bougyman: does void have something similar to the AUR?
<bougyman> yorickpeterse: no.
<yorickpeterse> hm
Iskarlar has quit [Read error: Connection reset by peer]
<bougyman> I'm pretty sure we won't have that.
Iskarlar has joined #ruby-lang
<bougyman> but we're quick about getting PRs for new packages in.
tomaz_b has quit [Quit: Leaving]
<bougyman> it's not the TA/community/politics stuff.
<bougyman> if good PR for a new package appears and passes specs, we will add it.
<yorickpeterse> No, but I like the AUR for its "too lazy to make proper package so fukit PKGBUILD" attitude
<bougyman> and nothing gets in without passing our buildbot, even by us.
<yorickpeterse> lots of stuff on there you'd normally have to compile/configure yourself
<bougyman> yorickpeterse: oh xbps-src allows you do do that locally.
<bougyman> even automatically makes a local pkg repo for you.
duderonomy has quit [Ping timeout: 272 seconds]
<yorickpeterse> Granted I think I cleaned up most AUR packages I had installed
yfeldblum has joined #ruby-lang
<bougyman> xbps-src make makepkg look like a joke, really
rbowlby has joined #ruby-lang
<bougyman> by default it builds in a clean chroot (using the chroot of your choice... uunshare, proot, lots of others but with a sane default) and publishes the built packages to a local repo.
baweaver has joined #ruby-lang
<bougyman> if you're in a feature branch (say feature/somepackage), it even makes a local repo just for that feature branch.
sepp2k has quit [Quit: Leaving.]
<yorickpeterse> What I Mostly meant was that with the AUR being pretty big you'd rarely have to do this yourself, you'd just install some pre-built thing from AUR
ruby-lang363 has joined #ruby-lang
<yorickpeterse> (as in, pre-built PKGBUILD)
<bougyman> ah, right. I didn't have fun with AUR stuff that I didn't write myself, overall.
<bougyman> as a matter of fact, it was quite un-fun
<ruby-lang363> wadup?
hal_9000_ has joined #ruby-lang
<bougyman> all that said, converting an aarch PKGBUILD to a void package template is quite a straightforward process.
<bougyman> this similarity is why some people think void is a fork of arch (it's not).
postmodern has joined #ruby-lang
<hal_9000_> hi bougyman, long time no see
zendrix has quit [Remote host closed the connection]
<bougyman> hal_9000_: ! ltns.
<chris2> hal_9000_ :)
<yorickpeterse> bougyman: hm, that doesn't look too bad
<yorickpeterse> bougyman: so it uses git/github as its package mirror?
<yorickpeterse> (as least for the manifest/build files)
<bougyman> no, that's just the equiv of an official aur.
<bougyman> yep, you got it.
<bougyman> there's nothing done in secret: https://github.com/voidlinux allthethings are public.
b_hoffman has quit [Quit: b_hoffman]
cryo28 has quit [Ping timeout: 255 seconds]
cryo28 has joined #ruby-lang
alestuber has quit [Remote host closed the connection]
shazaum has quit [Quit: Leaving]
hal_9000_ has quit [Ping timeout: 276 seconds]
sarkyniin has quit [Remote host closed the connection]
moretti has joined #ruby-lang
hal_9000_ has joined #ruby-lang
micmus has quit [Quit: Leaving]
bb010g has quit [Quit: Connection closed for inactivity]
vipaca has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_djbkd has quit [Remote host closed the connection]
ldnunes has quit [Quit: Leaving]
JakFrist has joined #ruby-lang
zendrix has joined #ruby-lang
vipaca has joined #ruby-lang
kingkoti has quit [Quit: Page closed]
joaomdmoura has quit [Remote host closed the connection]
_djbkd has joined #ruby-lang
_djbkd has quit [Read error: Connection reset by peer]
moretti_ has joined #ruby-lang
joaomdmoura has joined #ruby-lang
JakFrist has quit [Client Quit]
_djbkd has joined #ruby-lang
moretti has quit [Ping timeout: 265 seconds]
joaomdmoura has quit [Ping timeout: 256 seconds]
ybathia has joined #ruby-lang
jgpawletko has quit [Quit: jgpawletko]
Iskarlar has quit [Read error: Connection reset by peer]
Iskarlar has joined #ruby-lang
Torrieri has joined #ruby-lang
Torrieri has joined #ruby-lang
Torrieri has quit [Client Quit]
alestuber has joined #ruby-lang
b_hoffman has joined #ruby-lang
<surrounder> bougyman: nice stuff indeed, still playing with it in a vm
<bougyman> cool beans.
chouhoul_ has joined #ruby-lang
ur5us has joined #ruby-lang
<bougyman> surrounder: if runit is new to you, you might xbps-install -Sy sv-helper, which gives you some familiar aliases.
<bougyman> first and foremost: svls
<bougyman> not familiar, but easy to grok.
<bougyman> -bash-4.3# svls
<bougyman> Listing All Services
<bougyman> run: /var/service/agetty-tty1: (pid 643) 1471s
<bougyman> sv-(start|stop|restart|enable|disable|list) as well.
<surrounder> handy, thanks for the tip
chouhoulis has quit [Ping timeout: 264 seconds]
Musashi007 has quit [Quit: Musashi007]
workmad3 has quit [Ping timeout: 245 seconds]
kr3ssh has joined #ruby-lang
rcvalle has quit [Quit: rcvalle]
<bougyman> darix: neat.
b_hoffman has quit [Ping timeout: 256 seconds]
<bougyman> we do similar with /etc/sv/agetty-generic and other such services which are repeated.
fclausen has joined #ruby-lang
<bougyman> but in djbway style it's just simple symlinks.
caseypatrickdris has quit [Remote host closed the connection]
<darix> bougyman: been there done that. :p
<bougyman> don't act like systemd doesn't have its own symlink farm.
<bougyman> they use it cause It Works :)
caseypatrickdris has joined #ruby-lang
<darix> bougyman: they probably do.
<darix> bougyman: but i also used runit in the past. though the main reason for me was supervision. and that i get out of the box now
<bougyman> right, i've gotten that since 2000, though.
<bougyman> I ditches sysv back then for svscan as pid 1 then runit because supervision was the #1 goal.
<bougyman> as a bonus I got faster boot/reboot times and a much more stable init.
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<darix> bougyman: i am at something like <10s after i typed my disk password. not even time to drink something anymore!
<darix> so i dont care much more
<bougyman> My monitor can't sync the display as fast as my box boots.
<bougyman> I see grub then by the time my monitor syncs (2-3 seconds) i'm in X
<darix> btw: just in case someone needs a dns resolver https://twitter.com/jpmens/status/598179428313800705
caseypatrickdris has quit [Ping timeout: 256 seconds]
<bougyman> the nicest part now is root 1 0.0 0.0 1036 4 ? Ss 20:38 0:01 runit
<bougyman> as i'm doing a lot of tiny devices (usbarmory, rpi, 96board, etc)
<bougyman> iirc systemd is about 32000 for that.
<bougyman> instead of 4.
Raycaster1 has joined #ruby-lang
imperator2 has quit [Quit: Valete!]
jgpawletko has joined #ruby-lang
Raycaster has quit [Ping timeout: 265 seconds]
musl_ has quit [Quit: WeeChat 1.1.1]
ogpastal_ has quit [Remote host closed the connection]
musl has joined #ruby-lang
bungoman has joined #ruby-lang
imperator has quit [Quit: Leaving]
malconis has quit [Ping timeout: 255 seconds]
nedp has joined #ruby-lang
moretti_ has quit [Ping timeout: 276 seconds]
bruno-_ has joined #ruby-lang
gambl0re has quit [Ping timeout: 272 seconds]
kr3ssh has quit [Ping timeout: 245 seconds]
bruno- has quit [Read error: Connection reset by peer]
mistym has quit [Ping timeout: 256 seconds]
pjaspers has quit [Ping timeout: 256 seconds]
skinny_much has quit [Quit: Ruh Roh...]
mistym- has joined #ruby-lang
mistym- is now known as mistym
mistym has quit [Changing host]
mistym has joined #ruby-lang
pjaspers has joined #ruby-lang
ur5us_ has joined #ruby-lang
ur5us has quit [Read error: Connection reset by peer]
_djbkd has quit [Quit: My people need me...]
skinny_much has joined #ruby-lang
__butch__ has quit [Read error: Connection reset by peer]
__butch__ has joined #ruby-lang
riotjones has joined #ruby-lang
nedp has quit [Ping timeout: 240 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
bungoman_ has joined #ruby-lang
nedp has joined #ruby-lang
marr has quit [Ping timeout: 264 seconds]
dagda1 has quit [Ping timeout: 258 seconds]
riotjone_ has quit [Ping timeout: 264 seconds]
dagda1 has joined #ruby-lang
bungoman has quit [Ping timeout: 246 seconds]
bungoman_ has quit [Ping timeout: 256 seconds]
victortyau has quit [Quit: Leaving]
whippythellama has quit [Quit: whippythellama]
ybathia has quit [Quit: ybathia]
malconis has joined #ruby-lang
duderonomy has joined #ruby-lang
joaomdmoura has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
malconis has quit [Ping timeout: 272 seconds]
fujimura has joined #ruby-lang
ruby-lang363 has quit [Ping timeout: 246 seconds]
RickCH has joined #ruby-lang
alestuber has quit [Remote host closed the connection]
vipaca has quit [Quit: Textual IRC Client: www.textualapp.com]
airdisa has quit []
fujimura has quit [Ping timeout: 255 seconds]
jgpawletko has quit [Quit: jgpawletko]
Ropeney has joined #ruby-lang
enebo has quit [Quit: enebo]
caseypatrickdris has quit [Remote host closed the connection]
caseypatrickdris has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
slumos has left #ruby-lang [#ruby-lang]
iamse7en has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
__butch__1 has joined #ruby-lang
<RickCH> Anyone able to help a newb?
<womble> Not so far.
<womble> Don't ask to ask, just ask.
<RickCH> Having issues in my code. It is all in this http://pastebin.com/7fhg1bZE
<RickCH> code is at the top and the bottom is the error I am getting
__butch__ has quit [Ping timeout: 256 seconds]
<womble> That error seems fairly self explanatory. You're not providing a URL.
<RickCH> But I am in the config.url
<womble> There's also the issue of what you're sending as application/json not being JSON, but that's for later.
<RickCH> cool I thought that json was wrong.
<womble> How is config.url supposed to be populated?
<RickCH> It is grabbed from a external config file.
Musashi007 has joined #ruby-lang
<womble> And how confident are you that that external config file is correct?
<RickCH> and I have tested by printing it
<RickCH> I am trying to match
k3asd` has quit [Ping timeout: 252 seconds]
<womble> So you put something like `puts uri.inspect` after the line `uri = config.url` and it printed a string that looks like the URL you want to use?
<RickCH> if I change the response.reply to response.reply(config.url) It replies https://eagle.int.photobucket.com:8000
baweaver has joined #ruby-lang
__butch__1 has quit [Ping timeout: 256 seconds]
caseypatrickdris has quit [Read error: Connection reset by peer]
caseypatrickdris has joined #ruby-lang
__butch__ has joined #ruby-lang
<womble> I'm sorry, I don't think I've got any more suggestions.
<RickCH> Thanks for trying.
<RickCH> any idea how I can get the payload to use the variable for server instead of printing server
j4cknewt has joined #ruby-lang
shinnya has joined #ruby-lang
caseypatrickdris has quit [Remote host closed the connection]
bb010g has joined #ruby-lang
<womble> "#{server}"
<womble> Wrap your payload in double quotes
<womble> In fact, to solve your JSON problems, replace all ' in those three lines with "
<womble> And then change server to #{server}
<womble> et voila
<RickCH> womble leave the \ in?
<womble> Yes.
__butch__ has quit [Quit: Leaving.]
<RickCH> payload = "{\'client\':\'local\', \'tgt\':#{server}, \'fun\':\'test.ping\'}"
<womble> Change *all* the single quotes to double quotes
<RickCH> ah
<womble> (We'll leave advanced quoting modes for step 2)
<RickCH> payload = "{\"client\":\"local\", \'tgt\":#{server}, \'fun\":\"test.ping\"}"
<RickCH> @womble thanks.
<womble> You've missed a single quote before fun
<RickCH> thanks
<womble> And, assuming that server is a string, and not a number or other object, you'll want to whack \" around #{server} too
<womble> Of course, the way the *cool* kids do JSON is to turn it into a hash, and then call #to_json on that
<womble> So something like { :client => "local", :tgt => server, :fun => "test.ping" }.to_json
<RickCH> I actually need to tell the api to return it as json.
<womble> That'll produce a properly JSON-compliant string
<RickCH> I am trying to figure out how to duplicate
joaomdmoura has quit [Ping timeout: 256 seconds]
<womble> That's usually pretty easy -- just sent Accept: application/json in the request headers
<womble> If the API sends back JSON when you say "Accept: application/x-yaml", there are big problems with that API...
<RickCH> sorry that is just the wrong format but the rest is correct
fujimura has joined #ruby-lang
hahuang65 has joined #ruby-lang
simi has joined #ruby-lang
fujimura has quit [Ping timeout: 240 seconds]
skade has quit [Quit: Computer has gone to sleep.]
jgpawletko has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
joaomdmoura has joined #ruby-lang
yfeldblum has quit [Ping timeout: 256 seconds]
__butch__ has joined #ruby-lang
__butch__ has quit [Client Quit]
Torrieri has joined #ruby-lang
_djbkd has joined #ruby-lang
joaomdmoura has quit [Read error: Connection reset by peer]
nofxx has quit [Ping timeout: 264 seconds]
RickCH has quit [Quit: Page closed]
_djbkd has quit [Remote host closed the connection]