apeiros changed the topic of #ruby-lang to: Ruby 2.1.3; 2.0.0-p576; 1.9.3-p547: http://ruby-lang.org || Paste code on http://gist.github.com
RobertBirnie has quit [Ping timeout: 256 seconds]
havenwood has joined #ruby-lang
RobertBirnie has joined #ruby-lang
sarkyniin has quit [Quit: Quitte]
_ht has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
red_menace has quit []
matp has joined #ruby-lang
kyb3r_ has joined #ruby-lang
charliesome has joined #ruby-lang
btiefert has joined #ruby-lang
_djbkd has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
bantic has quit [Quit: bantic]
marr has quit [Ping timeout: 272 seconds]
elia has quit [Quit: Computer has gone to sleep.]
MSY has joined #ruby-lang
MSY is now known as Guest87011
Guest11892 is now known as jkyle
jkyle has quit [Changing host]
jkyle has joined #ruby-lang
StarStarBoom has joined #ruby-lang
<StarStarBoom> From the zip file for 1.9.3, what is required to install a gem and run it on a windows machine? looking to run it all from one directory
Newbie0086 has joined #ruby-lang
mistym has quit [Remote host closed the connection]
shinnya has quit [Ping timeout: 272 seconds]
jimbach has quit [Remote host closed the connection]
threeifbywhiskey has left #ruby-lang [#ruby-lang]
cleopatra has joined #ruby-lang
btiefert2 has joined #ruby-lang
btiefert has quit [Ping timeout: 258 seconds]
tkuchiki has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby-lang
allomov has joined #ruby-lang
threeifbywhiskey has joined #ruby-lang
j4cknewt has joined #ruby-lang
allomov has quit [Ping timeout: 260 seconds]
tkuchiki has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby-lang
<ericwood> whitequark: sorry, had to quote that java8 thing on twitter
robbyoconnor has joined #ruby-lang
robbyoconnor has quit [Read error: Connection reset by peer]
<whitequark> sure
<ericwood> I somehow managed to uninstall java on my mac and now I can't use JRuby
<ericwood> so I can't work
<ericwood> how th efuck did I do that
<ericwood> reinstalling the JDK doesn't include the java command
<ericwood> ¯\_(ツ)_/¯¯\_(ツ)_/¯¯\_(ツ)_/¯¯\_(ツ)_/¯¯\_(ツ)_/¯¯\_(ツ)_/¯¯\_(ツ)_/¯¯\_(ツ)_/¯¯\_(ツ)_/¯¯\_(ツ)_/¯¯\_(ツ)_/¯¯\_(ツ)_/¯¯\_(ツ)_/¯
mistym has joined #ruby-lang
Newbie0086 has quit [Quit: 离开]
r0bby_ has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
jdecuirm has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
sepp2k has quit [Read error: Connection reset by peer]
faces has joined #ruby-lang
face has quit [Ping timeout: 272 seconds]
r0bby_ is now known as robbyoconnor
havenwood has quit []
<StarStarBoom> is it possible to run ruby and install gems from a single directory? getting an error, googling error says to install the devkit
StarStarBoom has quit [Quit: Page closed]
StarStarBoom has joined #ruby-lang
<StarStarBoom> issue with http_parser.rb
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
tsou has left #ruby-lang ["bye"]
robbyoconnor has quit [Ping timeout: 258 seconds]
tkuchiki has quit [Ping timeout: 255 seconds]
koderok has joined #ruby-lang
sunaku has joined #ruby-lang
Sgeo is now known as BillCipher
BillCipher is now known as Sgeo
j4cknewt has quit [Remote host closed the connection]
spastorino has quit [Quit: Connection closed for inactivity]
grumpy_int has joined #ruby-lang
koderok has quit [Read error: Connection reset by peer]
banister has joined #ruby-lang
banisterfiend has quit [Ping timeout: 244 seconds]
<arrubin> ericwood: Check your path.
<ericwood> arrubin: /usr/bin is in my path :|
<ericwood> I like actually deleted it
<arrubin> Does JDK installation on OS X put anything in /usr/bin?
<ericwood> it assumes a few things
<ericwood> and the JDK installation I think relies on a few built-in OS X things
j4cknewt has joined #ruby-lang
koderok has joined #ruby-lang
<ericwood> awesome, thanks
<ericwood> I'm kinda tipsy now and tired of it but I'll dig into it first thing in the morning
<ericwood> java drives me to drink
<arrubin> Hope it helps. I do not have a Mac ready at the moment to check it out.
<arrubin> ericwood: There is a way to install Java using homebrew.
<ericwood> interesting :D
diegoviola has quit [Remote host closed the connection]
<arrubin> Basically the answer is Cask.
<arrubin> I am not sure whether there is a cask for the JDK...
<ericwood> oracle made it kinda annoying :\
<arrubin> It looks like the java cask might be the JDK.
Averna has quit [Quit: Leaving.]
<ericwood> this is great news, thanks a ton
<ericwood> !!!
<arrubin> pkg 'JDK 8 Update 25.pkg'
<ericwood> ugh jdk 8 was the problem one that prompted all of this
<ericwood> there's some weirdness with JRuby and our setup :\
<ericwood> but this is a good start!
havenwood has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
StarStarBoom has quit [Quit: Page closed]
sviesusisalus has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
allomov has joined #ruby-lang
JoshuaPaling has joined #ruby-lang
allomov has quit [Ping timeout: 258 seconds]
ledestin has quit [Ping timeout: 240 seconds]
ledestin has joined #ruby-lang
linyu has joined #ruby-lang
<linyu> anybody use the slim template ?
mattyohe has quit [Quit: Connection closed for inactivity]
tkuchiki has joined #ruby-lang
sviesusisalus has quit [Ping timeout: 272 seconds]
charliesome has quit [Quit: zzz]
ledestin_ has joined #ruby-lang
sunaku has quit [Quit: WeeChat 1.0.1]
sunaku has joined #ruby-lang
ledestin has quit [Ping timeout: 244 seconds]
ledestin_ is now known as ledestin
koderok has quit [Read error: Connection reset by peer]
charliesome has joined #ruby-lang
matp has quit [Ping timeout: 245 seconds]
yfeldblum has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
koderok has joined #ruby-lang
yfeldbl__ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 255 seconds]
yfeldblu_ has quit [Ping timeout: 240 seconds]
yfeldbl__ has quit [Ping timeout: 258 seconds]
gianlucadv has joined #ruby-lang
ledestin has quit [Read error: Connection reset by peer]
ledestin has joined #ruby-lang
<linyu> Has anyone used the template slim of ruby ?
havenwood has quit [Remote host closed the connection]
dwknoxy has quit [Quit: Textual IRC Client: www.textualapp.com]
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
yfeldblum has joined #ruby-lang
linyu has quit [Ping timeout: 246 seconds]
mistym has quit [Remote host closed the connection]
gix has quit [Ping timeout: 258 seconds]
gix has joined #ruby-lang
robbyoconnor has joined #ruby-lang
mistym has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 240 seconds]
araujo has quit [Quit: Leaving]
yfeldblu_ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
robbyoconnor has joined #ruby-lang
robbyoconnor has quit [Client Quit]
oleo has quit [Quit: Verlassend]
sunaku has quit [Quit: WeeChat 1.0.1]
j4cknewt has quit [Remote host closed the connection]
jg has joined #ruby-lang
allomov has joined #ruby-lang
allomov has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby-lang
gianlucadv has quit [Ping timeout: 240 seconds]
yfeldblu_ has quit [Ping timeout: 255 seconds]
j4cknewt has joined #ruby-lang
kiddorails has joined #ruby-lang
x0f has quit [Ping timeout: 244 seconds]
x0f has joined #ruby-lang
AKASkip has joined #ruby-lang
kaczmar has joined #ruby-lang
q_leonetti has joined #ruby-lang
symm- has joined #ruby-lang
njames has joined #ruby-lang
ahmetkapikiran has quit [Quit: ahmetkapikiran]
fragamus_ has joined #ruby-lang
threeifbywhiskey has left #ruby-lang [#ruby-lang]
grumpy_int has quit [Ping timeout: 246 seconds]
kiddorails has quit [Remote host closed the connection]
kiddorails has joined #ruby-lang
rahul_j has joined #ruby-lang
symm- has quit [Ping timeout: 244 seconds]
fragamus_ has quit [Quit: Computer has gone to sleep.]
Wardrop has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
<Wardrop> Where do you think the best place would be to start engaging rubyists interested in shaping a rack 2.0 or some other replacement that supports http/2 among other newer web application paradigms and technologies?
<ledestin> Wardrop: there’s a lot of tech people on Twitter, but I’m not sure
<Wardrop> I kind of know how to get the ball rolling once a project name and goal are established, it’d just be nice to get some very early community feedback. Maybe I’ll create an empty git repo and use the wiki and issue tracking as an initial home for early discussion.
ur5us has quit [Remote host closed the connection]
ur5us_ has joined #ruby-lang
ur5us has joined #ruby-lang
ur5us_ has quit [Read error: Connection reset by peer]
ur5us_ has joined #ruby-lang
ur5us has quit [Read error: Connection reset by peer]
ur5us_ has quit [Remote host closed the connection]
ur5us has joined #ruby-lang
rahul_j has quit [Read error: Connection reset by peer]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby-lang
rahul_j has joined #ruby-lang
ur5us has quit [Read error: No route to host]
ur5us has joined #ruby-lang
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby-lang
solars has joined #ruby-lang
ur5us has quit [Read error: No route to host]
ur5us has joined #ruby-lang
kiddorails has quit [Remote host closed the connection]
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby-lang
ur5us_ has joined #ruby-lang
ur5us has quit [Read error: Connection reset by peer]
mistym has quit [Remote host closed the connection]
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby-lang
kiddorails has joined #ruby-lang
arBmind1 has quit [Quit: Leaving.]
[spoiler] has joined #ruby-lang
kiddorails has quit [Ping timeout: 272 seconds]
ruby-lang994 has joined #ruby-lang
<ruby-lang994> Can someone tell me whats wrong with this " http://pastebin.com/i4Y0wBBV "
kiddorails has joined #ruby-lang
kiddorails has quit [Read error: Connection reset by peer]
kiddorails has joined #ruby-lang
kiddorails has quit [Remote host closed the connection]
<ruby-lang994> Can someone tell me whats wrong with this http://pastebin.com/i4Y0wBBV
kiddorails has joined #ruby-lang
koderok has quit [Ping timeout: 255 seconds]
danijoo_ has joined #ruby-lang
_ht has joined #ruby-lang
<ledestin> ruby-lang994: well, your end index is 0, what do you expect?
danijoo has quit [Ping timeout: 250 seconds]
<ledestin> >>test
<eval-in__> ledestin => wrong number of arguments (0 for 2..3) (ArgumentError) ... (https://eval.in/210375)
<ledestin> >>”a b c”.split.last
<ledestin> >>puts ”a b c”.split.last
pastuxso has quit [Quit: Connection closed for inactivity]
Forgetful_Lion has joined #ruby-lang
rahul_j has quit [Ping timeout: 272 seconds]
ruby-lang994 has quit [Quit: Page closed]
allomov has joined #ruby-lang
kiddorails has quit [Ping timeout: 240 seconds]
kiddorails has joined #ruby-lang
rahul_j has joined #ruby-lang
cornerma1 has joined #ruby-lang
koderok has joined #ruby-lang
koderok has quit [Client Quit]
cornerman has quit [Ping timeout: 255 seconds]
cornerma1 is now known as cornerman
ur5us_ has quit [Remote host closed the connection]
theotherstupidgu has joined #ruby-lang
njames has quit [Remote host closed the connection]
njames has joined #ruby-lang
kiddorails has quit [Ping timeout: 255 seconds]
JohnBat26 has joined #ruby-lang
njames has quit [Ping timeout: 244 seconds]
arBmind has joined #ruby-lang
arBmind1 has joined #ruby-lang
vondruch has joined #ruby-lang
arBmind has quit [Ping timeout: 265 seconds]
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby-lang
xcesariox has joined #ruby-lang
xcesariox has quit [Max SendQ exceeded]
xcesariox has joined #ruby-lang
ta has quit [Ping timeout: 245 seconds]
xcesariox has quit [Client Quit]
rahul_j has quit [Quit: rahul_j]
xcesariox has joined #ruby-lang
ta has joined #ruby-lang
xcesariox has quit [Client Quit]
rahul_j has joined #ruby-lang
nofxx_ has joined #ruby-lang
nofxx_ has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
nofxx has quit [Ping timeout: 244 seconds]
M3M0CooL has joined #ruby-lang
hellangel7 has joined #ruby-lang
riffraff has joined #ruby-lang
kyb3r_ has quit [Ping timeout: 255 seconds]
marr has joined #ruby-lang
nofxx_ has quit [Ping timeout: 244 seconds]
njames has joined #ruby-lang
ironhide_604 has joined #ruby-lang
njames has quit [Ping timeout: 265 seconds]
benlovell has joined #ruby-lang
michd is now known as MichD
ikrima has joined #ruby-lang
elia has joined #ruby-lang
<maloik> Anyone here happen to use the Spreadsheet lib for xls exports? One of our columns is not being recognized as a number because the decimal delimiter is a comma here in Europe... changing it to a string and gsubbing doesn't seem to help
AKASkip has quit [Ping timeout: 272 seconds]
jhass has quit [Ping timeout: 245 seconds]
jhass has joined #ruby-lang
existensil has joined #ruby-lang
godd2 has quit [Ping timeout: 250 seconds]
skade has joined #ruby-lang
postmodern has quit [Quit: Leaving]
<yorickpeterse> morning kids
AKASkip has joined #ruby-lang
ur5us has joined #ruby-lang
quimrstorres has joined #ruby-lang
AKASkip has quit [Remote host closed the connection]
ur5us has quit [Ping timeout: 255 seconds]
njames has joined #ruby-lang
kiddorails has joined #ruby-lang
RobertBirnie has quit [Ping timeout: 245 seconds]
njames has quit [Ping timeout: 272 seconds]
kiddorails has quit [Remote host closed the connection]
ldnunes has joined #ruby-lang
M3M0CooL has quit []
riffraff has quit [Quit: This computer has gone to sleep]
quimrstorres has quit [Remote host closed the connection]
riffraff has joined #ruby-lang
17WAAC2S6 has joined #ruby-lang
benlovell has quit [Ping timeout: 260 seconds]
<ndrst> moin yorickpeterse
<zenspider> maloik: fix the code and send a PR
<yorickpeterse> peaceful Monday of coding a devhub together
<yorickpeterse> some CSS here, some HTML there, all is good
kith_ is now known as kith
<maloik> zenspider: it's not completely open source apparently, they have commercial licenses etc
ironhide_604 has quit [Ping timeout: 256 seconds]
kiddorails has joined #ruby-lang
<zenspider> maloik: then why are you using it?
<zenspider> they have rather recent releases. if you want a fix that's prolly your best bet
kiddorails has quit [Ping timeout: 255 seconds]
<zenspider> at least file a bug
Elite6809 has quit [Ping timeout: 260 seconds]
ironhide_604 has joined #ruby-lang
<zenspider> tho they do mix tabs and spaces... maybe you should just give up :P
<zenspider> looking at their format tests and their data files, it looks like they don't even try to handle this case yet
njames has joined #ruby-lang
benlovell has joined #ruby-lang
sarkyniin has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
njames has quit [Ping timeout: 265 seconds]
ironhide_604 has quit [Ping timeout: 256 seconds]
kalehv has joined #ruby-lang
ironhide_604 has joined #ruby-lang
ironhide_604 has quit [Ping timeout: 256 seconds]
Lewix has quit [Remote host closed the connection]
ironhide_604 has joined #ruby-lang
ahmetkapikiran has joined #ruby-lang
kaczmar has quit [Quit: kaczmar]
ur5us has joined #ruby-lang
ahmetkapikiran has quit [Quit: ahmetkapikiran]
Lewix has joined #ruby-lang
kaczmar has joined #ruby-lang
Quackmatic has joined #ruby-lang
ur5us has quit [Ping timeout: 260 seconds]
sepp2k has joined #ruby-lang
kaczmar has quit [Ping timeout: 240 seconds]
allomov has quit [Remote host closed the connection]
allomov has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
benlovell has quit [Ping timeout: 244 seconds]
benlovell has joined #ruby-lang
clayreed has joined #ruby-lang
clayreed has quit [Client Quit]
clayreed has joined #ruby-lang
kaczmar has joined #ruby-lang
kaczmar has quit [Quit: kaczmar]
ta has quit [Quit: Leaving...]
<maloik> haven't fully figured it out yet either, asked the client if it's okay as is and will file an issue accordingly
ur5us has joined #ruby-lang
ta has joined #ruby-lang
ur5us has quit [Ping timeout: 245 seconds]
njames has joined #ruby-lang
scampbell has joined #ruby-lang
araujo has joined #ruby-lang
araujo has joined #ruby-lang
zz_dlu has quit [Read error: Connection reset by peer]
sk_0 has quit [Ping timeout: 240 seconds]
btiefert3 has joined #ruby-lang
GaelanAintAround has quit [Read error: Connection reset by peer]
njames has quit [Ping timeout: 265 seconds]
kalehv has quit [Remote host closed the connection]
AKASkip has joined #ruby-lang
GaelanAintAround has joined #ruby-lang
skade has joined #ruby-lang
btiefert2 has quit [Ping timeout: 265 seconds]
zz_dlu has joined #ruby-lang
sk_0 has joined #ruby-lang
kiddorails has joined #ruby-lang
Forgetful_Lion has quit [Remote host closed the connection]
sk_0 has quit [Ping timeout: 265 seconds]
sk_0 has joined #ruby-lang
clayreed has quit [Remote host closed the connection]
clayreed has joined #ruby-lang
spastorino has joined #ruby-lang
clayreed has quit [Remote host closed the connection]
clayreed has joined #ruby-lang
miqui has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
kaczmar has joined #ruby-lang
kaczmar has quit [Client Quit]
toretore has quit [Quit: Leaving]
threeifbywhiskey has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
mattyohe has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
tkuchiki has quit [Ping timeout: 244 seconds]
jimbach has joined #ruby-lang
jgpawletko has joined #ruby-lang
cleopatra has quit [Ping timeout: 245 seconds]
kwd has left #ruby-lang ["Textual IRC Client: www.textualapp.com"]
goodcodeguy has joined #ruby-lang
benlovell has quit [Ping timeout: 260 seconds]
banister has quit [Ping timeout: 258 seconds]
banister has joined #ruby-lang
goatish_mound has joined #ruby-lang
sepp2k has quit [Read error: Connection reset by peer]
JohnBat26 has joined #ruby-lang
Squarepy has joined #ruby-lang
clayreed has quit [Remote host closed the connection]
clayreed has joined #ruby-lang
njames has joined #ruby-lang
njames has quit [Ping timeout: 265 seconds]
elia has quit [Quit: (IRC Client: textualapp.com)]
toretore has joined #ruby-lang
malconis has joined #ruby-lang
elia has joined #ruby-lang
mnngfltg has joined #ruby-lang
tbuehlmann has joined #ruby-lang
goodcodeguy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
17WAAC2S6 has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
ironhide_604 has quit [Ping timeout: 256 seconds]
goodcodeguy has joined #ruby-lang
<yorickpeterse> blegh, extending Kramdown is a bit tricky
<yorickpeterse> docs are fuzzy
nelsonsar has joined #ruby-lang
<yorickpeterse> but I have some custom stuff going, last bit is to remove some pesky random newlines from the output
Lewix has quit [Remote host closed the connection]
ironhide_604 has joined #ruby-lang
bradcliffe has joined #ruby-lang
nelsonsar has quit [Remote host closed the connection]
<threeifbywhiskey> yorickpeterse: Doing anything beyond GFM's current capabilities?
gjaldon has joined #ruby-lang
<yorickpeterse> Not using GFM at all
<yorickpeterse> I'm adding some custom block elements so that "NOTE: foobar" gets turned into an actual HTML note
<yorickpeterse> I actually quite dislike GFM due to it butchering how newlines work in Markdown
dwknoxy has joined #ruby-lang
benlovell has joined #ruby-lang
gjaldon has quit [Read error: Connection reset by peer]
_tankard_ has joined #ruby-lang
<canton7> I've always been a fan of RedCarpet - it's not fashionable any more, but it was very easy to extend
francisfish has joined #ruby-lang
fragamus_ has joined #ruby-lang
Incognito has quit [Ping timeout: 246 seconds]
hramrach_ has quit [Remote host closed the connection]
bradcliffe has quit [Quit: Textual IRC Client: www.textualapp.com]
hramrach_ has joined #ruby-lang
kiddorails has quit [Remote host closed the connection]
gdave_ has joined #ruby-lang
gdave_ has quit [Client Quit]
ironhide_604 has quit [Ping timeout: 256 seconds]
shinnya has joined #ruby-lang
bradcliffe has joined #ruby-lang
havenwood has joined #ruby-lang
bradcliffe has quit [Remote host closed the connection]
<whitequark> kramdown is a great replacement
kiddorails has joined #ruby-lang
tenderlove has joined #ruby-lang
raggedjack has joined #ruby-lang
clayreed has quit [Remote host closed the connection]
clayreed has joined #ruby-lang
ironhide_604 has joined #ruby-lang
fragamus_ has quit [Quit: Computer has gone to sleep.]
bradcliffe has joined #ruby-lang
<maloik> I think I use kramdown for my blog because redcarpet didn't support footnote links
kiddorails has quit [Remote host closed the connection]
pastuxso has joined #ruby-lang
<yorickpeterse> Hm, I have to blag about this Kramdown stuff
<maloik> oh I didn't read up a whole lot.. you mean footnotes as well yorickpeterse ?
enebo has joined #ruby-lang
<yorickpeterse> Nop
<yorickpeterse> also fuck, nanoc is loading lib/ multiple times
<yorickpeterse> y u no load only once
<maloik> :D
AKASkip has quit [Ping timeout: 240 seconds]
<yorickpeterse> ddfreyne: PING PING PING PING PING PING
_tankard_ has quit []
<yorickpeterse> ah
<yorickpeterse> I can just overwrite lib_dirs
njames has joined #ruby-lang
Miphix has quit [Read error: Connection reset by peer]
Miphix has joined #ruby-lang
cmhobbs has joined #ruby-lang
njames has quit [Ping timeout: 244 seconds]
arBmind has joined #ruby-lang
btiefert3 has quit [Read error: Connection reset by peer]
benjamin-patch has joined #ruby-lang
arBmind1 has quit [Ping timeout: 255 seconds]
nathanstitt has joined #ruby-lang
jgpawletko has quit [Quit: jgpawletko]
fragamus_ has joined #ruby-lang
nathanstitt has quit [Read error: Connection reset by peer]
nathanstitt has joined #ruby-lang
loincloth has joined #ruby-lang
jgpawletko has joined #ruby-lang
oleo has joined #ruby-lang
quimrstorres has joined #ruby-lang
fragamus_ has quit [Quit: Computer has gone to sleep.]
snoopybbt has joined #ruby-lang
stef204 has joined #ruby-lang
charliesome has quit [Quit: zzz]
[spoiler] has quit [Quit: Leaving]
kaczmar has joined #ruby-lang
ironhide_604 has quit [Ping timeout: 256 seconds]
gjaldon has joined #ruby-lang
fragamus_ has joined #ruby-lang
ironhide_604 has joined #ruby-lang
benlovell has quit [Ping timeout: 272 seconds]
chouhoulis has joined #ruby-lang
nelsonsar has joined #ruby-lang
elia has quit [Ping timeout: 255 seconds]
benlovell has joined #ruby-lang
ironhide_604 has quit [Ping timeout: 256 seconds]
elia has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
quimrstorres has quit [Remote host closed the connection]
fragamus_ has quit [Quit: Computer has gone to sleep.]
Senjai has joined #ruby-lang
dorei has joined #ruby-lang
ironhide_604 has joined #ruby-lang
bantic has joined #ruby-lang
kiddorails has joined #ruby-lang
malconis_ has joined #ruby-lang
malconis has quit [Ping timeout: 265 seconds]
ght has joined #ruby-lang
skade has joined #ruby-lang
bradcliffe has quit [Quit: Textual IRC Client: www.textualapp.com]
jg has quit [Disconnected by services]
jg_ has joined #ruby-lang
clayreed has quit [Remote host closed the connection]
malconis_ has quit [Remote host closed the connection]
malconis has joined #ruby-lang
charliesome has joined #ruby-lang
tbuehlmann has quit [Quit: Leaving]
quimrstorres has joined #ruby-lang
malconis_ has joined #ruby-lang
malconis_ has joined #ruby-lang
clayreed has joined #ruby-lang
malconis has quit [Ping timeout: 265 seconds]
tankard has joined #ruby-lang
tankard is now known as _tankard_
_tankard_ has quit [Client Quit]
|jemc| has joined #ruby-lang
GBrawl has joined #ruby-lang
banister_ has joined #ruby-lang
mistym has joined #ruby-lang
fragamus_ has joined #ruby-lang
banister has quit [Ping timeout: 244 seconds]
clayreed has quit [Ping timeout: 245 seconds]
momomomomo has joined #ruby-lang
sepp2k has joined #ruby-lang
Asher has joined #ruby-lang
workmad3 has joined #ruby-lang
goatish_mound has quit [Ping timeout: 272 seconds]
elia has quit [Quit: (IRC Client: textualapp.com)]
elia has joined #ruby-lang
q_leonetti has quit [Quit: q_leonetti]
goatish_mound has joined #ruby-lang
gd_dan has joined #ruby-lang
hellangel7 has quit [Remote host closed the connection]
Asher has quit [Client Quit]
nelsonsar has quit [Remote host closed the connection]
<gd_dan> hi all
Asher has joined #ruby-lang
<gd_dan> Im new to Ruby and am attempting to connect to a service that requires a client certificate.
<gd_dan> Does anybody have any examples on how to do this?
<Senjai> gd_dan: using oauth?
<threeifbywhiskey> Senjai: I think his question was more in line with an answer involving Net::HTTP#use_ssl, but I could certainly be wrong.
<gd_dan> no, RestClient::Request.new
<Senjai> threeifbywhiskey: It depends if hes being asked to use a private key
quimrstorres has quit [Remote host closed the connection]
<yorickpeterse> gd_dan: what have you tried?
<workmad3> Senjai: I'd guess it was SSL Client Certificate authentication personally
<gd_dan> request = RestClient::Request.new(
<gd_dan> :method => :post,
<gd_dan> :ssl_client_cert => p12.certificate,
<gd_dan> :ssl_client_key => p12.key,
<gd_dan> :url => Addressable::URI.parse(url).normalize.to_str,
<gd_dan> :verify_ssl => true,
<gd_dan> :payload => body
<gd_dan> )
<workmad3> gd_dan: https://gist.github.com for future reference
<workmad3> gd_dan: rather than flooding the channel
fragamus_ has quit [Quit: Computer has gone to sleep.]
<gd_dan> ah, k
<Senjai> workmad3: Was going to say, we should bet on it and guess what question he was trying to ask
<workmad3> Senjai: the code makes it look like a pkcs12 client-side cert though, doesn't it? :)
<gd_dan> it is
<gd_dan> We register a client cert with a remote service for authentication
<Senjai> gd_dan: Thats not the correct params
<Senjai> I think those are your ca params
<Senjai> not sure
<Senjai> :/.
<Senjai> I've only done client side certs with Oauth
<gd_dan> My development maching is Windows
<gd_dan> machine*
__butch__ has joined #ruby-lang
<gd_dan> Ive tried PEM/crt as well
banister_ is now known as banister
<gd_dan> I get an error parsing the PEM file, so I switched to p12
<gd_dan> now it parses correctly. I think Im might be missing the CA cert definition
quimrstorres has joined #ruby-lang
<gd_dan> I think I found it... https://github.com/rest-client/rest-client
loinclot_ has joined #ruby-lang
tbuehlmann has joined #ruby-lang
nelsonsar has joined #ruby-lang
quimrstorres has quit [Remote host closed the connection]
quimrstorres has joined #ruby-lang
loincloth has quit [Ping timeout: 244 seconds]
raggedjack has left #ruby-lang [#ruby-lang]
fragamus has joined #ruby-lang
Asher has joined #ruby-lang
quimrstorres has quit [Client Quit]
nofxx_ has joined #ruby-lang
GBrawl has quit [Quit: (null)]
rippa has joined #ruby-lang
loincloth has joined #ruby-lang
fragamus has quit [Quit: Computer has gone to sleep.]
ta has quit [Ping timeout: 250 seconds]
quimrstorres has joined #ruby-lang
loinclot_ has quit [Ping timeout: 265 seconds]
ta has joined #ruby-lang
charliesome has quit [Quit: zzz]
tenderlove has quit [Quit: Leaving...]
havenwood has quit [Ping timeout: 246 seconds]
danijoo has joined #ruby-lang
loinclot_ has joined #ruby-lang
benjamin-patch has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
gjaldon has quit []
havenwood has joined #ruby-lang
danijoo_ has quit [Ping timeout: 250 seconds]
loincloth has quit [Ping timeout: 260 seconds]
thagomizer has joined #ruby-lang
tenderlove has joined #ruby-lang
mistym has quit [Remote host closed the connection]
chouhoul_ has joined #ruby-lang
chouhoulis has quit [Read error: Connection reset by peer]
kiddorails has quit [Remote host closed the connection]
diegoviola has joined #ruby-lang
loincloth has joined #ruby-lang
kaczmar has quit [Quit: kaczmar]
benlovell has quit [Ping timeout: 258 seconds]
loinclot_ has quit [Ping timeout: 244 seconds]
kaczmar has joined #ruby-lang
kaczmar has quit [Client Quit]
symm- has joined #ruby-lang
jimbach has quit [Remote host closed the connection]
tbuehlmann has quit [Remote host closed the connection]
Quackmatic is now known as Elite6809
danijoo has quit [Quit: Leaving...]
solars has quit [Ping timeout: 244 seconds]
danijoo has joined #ruby-lang
nelsonsar has quit [Remote host closed the connection]
mistym has joined #ruby-lang
Senjai has quit [Quit: WeeChat 0.3.7]
Senjai`work has joined #ruby-lang
Senjai`work has quit [Changing host]
Senjai`work has joined #ruby-lang
imkmf has joined #ruby-lang
nelsonsar has joined #ruby-lang
shinnya has quit [Ping timeout: 265 seconds]
quimrstorres has quit [Remote host closed the connection]
quimrstorres has joined #ruby-lang
slawrence00 has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
francisfish has quit [Remote host closed the connection]
parenjitsu has joined #ruby-lang
wallerdev has joined #ruby-lang
pabloh has joined #ruby-lang
kiddorails has joined #ruby-lang
amsi has joined #ruby-lang
momomomomo_ has joined #ruby-lang
kiddorails has quit [Remote host closed the connection]
momomomomo has quit [Ping timeout: 256 seconds]
momomomomo_ is now known as momomomomo
yfeldblum has quit [Ping timeout: 258 seconds]
michael_mbp has quit [Excess Flood]
fragamus has joined #ruby-lang
nertzy2 has joined #ruby-lang
fragamus has quit [Client Quit]
michael_mbp has joined #ruby-lang
michael_mbp has quit [Excess Flood]
goatish_mound has quit [Ping timeout: 250 seconds]
michael_mbp has joined #ruby-lang
j4cknewt has joined #ruby-lang
AKASkip has joined #ruby-lang
RobertBirnie has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
Adam___ has joined #ruby-lang
jg_ has quit [Quit: Leaving]
wallerdev has quit [Quit: wallerdev]
mnngfltg has quit [Remote host closed the connection]
bantic has quit [Quit: bantic]
bantic has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
nertzy2 has quit [Quit: This computer has gone to sleep]
<Adam___> Hey ruby peeps! I'm having a weird error on my jenkins server that I'm not getting on my computer about an encoding incompatibility. The ruby version on the server is ruby 2.0.0p481 (2014-05-08 revision 45883) [x86_64-linux], the one on my computer is ruby 2.0.0p451 (2014-02-24 revision 45167) [x86_64-darwin12.5.0]. The error is : incompatible character encodings: UTF-8 and ASCII-8BIT (Encoding::CompatibilityError). I've found th
<Adam___> g .force_encoding(Encoding::UTF_8) but that doesn't work either.
wallerdev has joined #ruby-lang
<Adam___> any ideas on what might be the cause?
quimrstorres has quit [Remote host closed the connection]
nelsonsar has quit [Remote host closed the connection]
carraroj has joined #ruby-lang
djbkd has joined #ruby-lang
quimrstorres has joined #ruby-lang
quimrstorres has quit [Remote host closed the connection]
imkmf has quit [Ping timeout: 260 seconds]
kaczmar has joined #ruby-lang
francisfish has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
jimbach has joined #ruby-lang
carraroj has quit [Ping timeout: 265 seconds]
francisfish has quit [Client Quit]
djbkd has joined #ruby-lang
quimrstorres has joined #ruby-lang
yfeldblum has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
kiddorails has joined #ruby-lang
yfeldblum has joined #ruby-lang
nelsonsar has joined #ruby-lang
robbyoconnor has joined #ruby-lang
francisfish has joined #ruby-lang
bradcliffe has joined #ruby-lang
jimbach has quit [Remote host closed the connection]
skade has joined #ruby-lang
futilegames has joined #ruby-lang
kiddorails has quit [Remote host closed the connection]
kiddorails has joined #ruby-lang
threeifbywhiskey has left #ruby-lang [#ruby-lang]
jordsmi has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
GBrawl has joined #ruby-lang
seank_ has quit [Ping timeout: 240 seconds]
seank_ has joined #ruby-lang
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
j4cknewt has quit [Remote host closed the connection]
Squarepy has quit [Quit: Leaving]
j4cknewt has joined #ruby-lang
j4cknewt has quit [Ping timeout: 255 seconds]
pavely has joined #ruby-lang
pavely has left #ruby-lang [#ruby-lang]
apt-get_ has joined #ruby-lang
cmckee has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
sarkyniin has quit [Ping timeout: 244 seconds]
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby-lang
benlovell has joined #ruby-lang
quimrstorres has quit [Remote host closed the connection]
AmBienCeD has quit [Ping timeout: 245 seconds]
Senjai`work is now known as Senjai
imkmf has joined #ruby-lang
Adam___ has quit [Ping timeout: 246 seconds]
quimrstorres has joined #ruby-lang
benlovell has quit [Ping timeout: 265 seconds]
allomov has quit [Remote host closed the connection]
momomomomo has joined #ruby-lang
workmad3 has quit [Ping timeout: 240 seconds]
egypt has joined #ruby-lang
cmckee has left #ruby-lang [#ruby-lang]
pabloh has quit [Quit: Saliendo]
<egypt> i have a commandline app that gives users the choice of using the stdlib readline or rb-readline by vendoring rb-readline and changing its filename to avoid clashing with stdlib.
<egypt> maintaining that vendored version is starting to become a burden
<egypt> i'd like to move to the gem to avoid that
<egypt> but because the filename clashes with stdlib, i don't see a good way to do so
<egypt> if I can figure out where stdlib readline lives in the loadpath easily, i could require it with a full path and maintain the ability to use both.
<egypt> is there a better way to do it?
bousquet has joined #ruby-lang
<yorickpeterse> egypt: just provide only one of the two?
<egypt> if not, is there a way to determine the full path without just walking $LOAD_PATH?
<yorickpeterse> Why should the user care about what readline implementation is used?
<egypt> yorickpeterse: the user cares because rb-readline doesn't support some important features of real readline
<egypt> and i can't ship a real readline binary because it is GPL
<yorickpeterse> then only support real readline?
<yorickpeterse> ehm, you can ship it just fine as long as the user can access it
<egypt> linking to it makes everything gpl
<yorickpeterse> are we talking about ruby readline, or libreadline?
<yorickpeterse> The latter you shouldn't have to vendor or ship yourself, let package managers deal with that (and somehow instrument that)
<egypt> libreadline.so
<egypt> i can't ship it, and i can't be sure it will be on the user's system.
<egypt> i need to at least function without it
<egypt> which is workable with rb-readline
bantic has quit [Quit: bantic]
<yorickpeterse> can't you just install libreadline if it's not there?
bantic has joined #ruby-lang
gianlucadv has joined #ruby-lang
<yorickpeterse> That is, package your app as some Debian package/RPM/whatever, have said package depend on libreadline
<yorickpeterse> problem solved
<egypt> that doesn't help on windows or any of the linux distros i don't build a package for
<yorickpeterse> well you can't distribute one pre-compiled libreadline.so anyway
<yorickpeterse> So there you'd already spend time making binaries for different platforms
<yorickpeterse> Might as well let the distros, where possible, do that for you
<yorickpeterse> Or even easier: tell the user to install it. libreadline is such a core dependency of many apps, at least on Linux, that it's a bit insane if they all started shipping copies themselves
<yorickpeterse> tl;dr you really don't want to get in the mess of building binaries for every possible target platform, let those platforms do that for you
<egypt> agreed, i definitely don't want to do that.
<yorickpeterse> or use rb-readline and not use whatever features it doesn't support, if that's an option
<egypt> but i want to at least function when the user has no libreadline.so
<whitequark> ship libedit
malconis_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
j4cknewt has joined #ruby-lang
jimbach has joined #ruby-lang
malconis has joined #ruby-lang
j4cknewt has quit [Ping timeout: 260 seconds]
ender|dkm has joined #ruby-lang
nelsonsar has quit [Remote host closed the connection]
fragamus has joined #ruby-lang
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fragamus has quit [Client Quit]
<darix> dont ship libraries intree
kiddorails has quit [Remote host closed the connection]
<darix> egypt: how about just handling that error gracefully and tell people how to fix it?
tmatthews0020 has joined #ruby-lang
seank__ has joined #ruby-lang
bjessbrown has joined #ruby-lang
nelsonsar has joined #ruby-lang
benlovell has joined #ruby-lang
momomomomo has quit [Ping timeout: 260 seconds]
momomomomo has joined #ruby-lang
seank_ has quit [Ping timeout: 255 seconds]
malconis has joined #ruby-lang
ahmetkapikiran has joined #ruby-lang
Austin__ has joined #ruby-lang
bjessbrown has quit []
godd2 has joined #ruby-lang
j4cknewt has joined #ruby-lang
benlovell has quit [Ping timeout: 272 seconds]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
quimrstorres has quit [Remote host closed the connection]
mroth_ has joined #ruby-lang
mroth_ has quit [Client Quit]
ikrima has quit [Ping timeout: 244 seconds]
j4ck1 has joined #ruby-lang
mistym has quit [Remote host closed the connection]
<j4ck1> I'm not understanding why 3 % 4 is 3
<j4ck1> Can someone explain this to me
<j4ck1> I do understand %
bradcliffe has quit [Remote host closed the connection]
<canton7> think old-school division
<canton7> what is 3 divided 4?
<canton7> it's 0, with 3 left over
<canton7> uh... 4 divided by 3
<j4ck1> ok
<canton7> I'm just getting myself in a muddle
<j4ck1> gotcha
<canton7> it's late here
<whitequark> 3 divided by 4, you were right first
* canton7 goes back to mindless games
<j4ck1> lol
<j4ck1> canton7: I get what you are saying now
<j4ck1> I feel dumb now :)
<j4ck1> I'm going through Learn Ruby The Hard Way
<j4ck1> but are there any other resources you guys can suggest that would take me to a level above beginner ruby scripter
wallerdev has quit [Quit: wallerdev]
<|jemc|> j4ck1: pick an existing gem that you use or are interested in and read the source code until you understand it and have internalized the coding style and 'best practices' employed
<egypt> darix: that's what i'm trying to do. if i can't have libreadline.so, fall back to rb-readline
<|jemc|> (assuming the authors used good practices...)
<egypt> which would be a simple rescue LoadError if rb-readline didn't have the same require name
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
bradcliffe has joined #ruby-lang
apeiros has quit []
mistym has joined #ruby-lang
ggherdov has quit [Ping timeout: 244 seconds]
ramblinpeck has quit [Ping timeout: 272 seconds]
mjc_ has quit [Ping timeout: 272 seconds]
joshingly has quit [Ping timeout: 272 seconds]
<|jemc|> egypt: your idea about searching through $LOAD_PATH yourself is not too absurd, but have you considered putting in some PRs to rb-readline for the features you need?
ramblinpeck has joined #ruby-lang
joshingly has joined #ruby-lang
imperator has joined #ruby-lang
mjc_ has joined #ruby-lang
MichD is now known as michd
apeiros has joined #ruby-lang
<|jemc|> egypt: also, I see rb-readline defines the toplevel module RbReadline - can you not use this to detect which one was loaded?
loincloth has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 245 seconds]
skade has quit [Quit: Computer has gone to sleep.]
ggherdov_ has joined #ruby-lang
malconis has joined #ruby-lang
cornerma1 has joined #ruby-lang
nelsonsar has quit [Remote host closed the connection]
apt-get_ has quit [Quit: Quitte]
bradcliffe has quit [Quit: Textual IRC Client: www.textualapp.com]
cornerman has quit [Ping timeout: 272 seconds]
cornerma1 is now known as cornerman
postmodern has joined #ruby-lang
nelsonsar has joined #ruby-lang
ruby-lang233 has joined #ruby-lang
ruby-lang233 has quit [Client Quit]
ur5us has joined #ruby-lang
emmesswhy has joined #ruby-lang
<egypt> |jemc|: detecting rb-readline isn't the problem, it's using readline.so at all when rb-readline is found first in the load path
thagomizer has quit [Quit: Leaving.]
thagomizer has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
jordsmi has quit [Quit: Connection closed for inactivity]
ldnunes has quit [Quit: Leaving]
robbyoconnor has quit [Ping timeout: 265 seconds]
<imperator> egypt, typically you have one or the other installed; if given a choice, use the C extension
<imperator> used to load first, dunno if they've changed things in Ruby 2.x
<imperator> does it load gems first now?
<egypt> rb-readline loads first for me
<egypt> hmm, that may be the app
<egypt> in a bare gemset with just rb-readline, `require 'readline'` gets readline.so
<imperator> ok, so something else is loading rb-readline then?
<egypt> i'm guessing so
<egypt> ok, so if i can figure out why the order is different and get it to load readline.so first if available, that would at least solve the problem of having something that works either way
<egypt> removes the users' choice, but i think i'm ok with that
tmatthews0020 has left #ruby-lang [#ruby-lang]
<imperator> ok, this is odd, i don't have rb-readline installed, yet I have RbReadline defined somehow
<imperator> looks like it's bundled now
loincloth has joined #ruby-lang
<imperator> (or maybe i did that, lemme check)
dsiboy08 has joined #ruby-lang
emmesswhy has joined #ruby-lang
<imperator> i can't tell, i mess around with my installs sometimes
mistym has quit [Remote host closed the connection]
akahn has quit [Ping timeout: 260 seconds]
quimrstorres has joined #ruby-lang
oleo__ has joined #ruby-lang
oleo is now known as Guest11324
<egypt> ah, yeah, if i add to gemspec, it always loads rb-readline
<egypt> probably bundler's doing
akahn has joined #ruby-lang
<egypt> it would be an odd linux system indeed that had no libreadline.so; maybe i can conditionally depend on it for windows.
<imperator> for linux, it's typically not installed by default i don't think
<egypt> i'm pretty sure it is on ubuntu
<egypt> could be wrong
Guest11324 has quit [Ping timeout: 244 seconds]
<imperator> is it? been a while since i checked, but i seem to recall using apt-get to get it (and ssl) all the time
<imperator> (and zlib)
<egypt> for headers, yeah
scampbell has quit [Remote host closed the connection]
dlackty has quit [Ping timeout: 272 seconds]
banister_ has joined #ruby-lang
banister_ has quit [Max SendQ exceeded]
dlackty has joined #ruby-lang
banister_ has joined #ruby-lang
banister has quit [Ping timeout: 245 seconds]
<imperator> there's also ffi-readline, if you don't want to worry about headers
<egypt> all i really want to do is be able to conditionally use one or the other
wallerdev has joined #ruby-lang
<egypt> if i add rb-readline to Gemfile, it overrides readline.so and i can't get to it without walking $:
<imperator> i can only ponder what bundler is doing
ur5us_ has joined #ruby-lang
<imperator> looks like 2.1.4 has been released
mistym has joined #ruby-lang
<nofxx_> Got myself a daemon, and need to upload stuff... popen3 my best choice? want to full control a separeted process that I can time track and kill and whatnot
ur5us has quit [Ping timeout: 255 seconds]
emmesswhy has quit [Quit: This computer has gone to sleep]
<nofxx_> need it to be synchronous* one upload per time.... hence why the daemon to control the upload process
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
tacit7 has joined #ruby-lang
tacit7 has quit [Client Quit]
carraroj has joined #ruby-lang
ahmetkapikiran has quit [Ping timeout: 260 seconds]
ruby-lang629 has joined #ruby-lang
ruby-lang629 has quit [Client Quit]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
djbkd has quit [Read error: Connection reset by peer]
gianlucadv has quit [Ping timeout: 250 seconds]
djbkd has joined #ruby-lang
AKASkip has quit [Read error: Connection reset by peer]
<nofxx_> Actually guess my question was more like a Thread controlling the external or Process.spawn ... playing with it...
AKASkip has joined #ruby-lang
ahmetkapikiran has joined #ruby-lang
emmesswhy has joined #ruby-lang
carraroj has quit [Quit: Konversation terminated!]
skade has joined #ruby-lang
Versality has joined #ruby-lang
chouhoul_ has quit []
chouhoulis has joined #ruby-lang
nelsonsar has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
goodcodeguy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
allomov has joined #ruby-lang
momomomomo has quit [Ping timeout: 244 seconds]
momomomomo_ has joined #ruby-lang
Lewix has joined #ruby-lang
benlovell has quit [Ping timeout: 265 seconds]
charliesome has joined #ruby-lang
<nofxx_> Now my question is why there isn't Process.wait_async(pid, callback)
quimrstorres has quit [Remote host closed the connection]
nelsonsar has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
itsraining has joined #ruby-lang
futilegames has quit [Quit: futilegames]
djbkd has joined #ruby-lang
riffraff has quit [Quit: Leaving]
itsraining has quit [Client Quit]
carraroj has joined #ruby-lang
dsiboy08 has quit [Ping timeout: 246 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
loinclot_ has joined #ruby-lang
loinclot_ is now known as loincloth_
banister_ is now known as banisterfiend
loincloth has quit [Ping timeout: 245 seconds]
elia has joined #ruby-lang
kaczmar has quit [Quit: kaczmar]
pastuxso has quit [Quit: Connection closed for inactivity]
<imperator> wouldn't that be...not waiting?
quimrstorres has joined #ruby-lang
yfeldblum has joined #ruby-lang
arBmind has joined #ruby-lang
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
musl has quit [Quit: WeeChat 0.4.3]
musl has joined #ruby-lang
ta has quit [Read error: Connection reset by peer]
ta has joined #ruby-lang
carraroj has quit [Quit: Konversation terminated!]
Austin__ has quit [Quit: Leaving.]
snoopybbt has quit [Quit: leaving]
fusillicode has quit [Ping timeout: 255 seconds]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
elia has quit [Ping timeout: 272 seconds]
<yorickpeterse> AKJHDLASHDLKJASDHJKSAH CSS
<yorickpeterse> (╯°□°)╯︵ ┻━┻
<yorickpeterse> (╯°□°)╯︵ ┻━┻ (╯°□°)╯︵ ┻━┻ (╯°□°)╯︵ ┻━┻
ohsix has quit [Ping timeout: 255 seconds]
<yorickpeterse> I've now read 73 different resources on the :nth-child() selector. _none_ specify the inner workins of Xn-Y (e.g. nth-child(4n-7))
j4ck1 has quit [Remote host closed the connection]
<whitequark> huh? it's described in the spec. I know, because I've read it
elia has joined #ruby-lang
<yorickpeterse> whitequark: HAHAHAHAHA
<yorickpeterse> no
<yorickpeterse> there's literally 1 line on this particular form
<yorickpeterse> the positive form (e.g. 4n+2) _is_ described
<yorickpeterse> http://www.w3.org/TR/css3-selectors/#nth-child-pseudo search for ":nth-child(10n-1)"
<yorickpeterse> that is the only reference to it
<yorickpeterse> and it's of course a super trivial example
<darix> yorickpeterse: good thing that the w3c has no established process to fix those issues.
elia has quit [Read error: Connection reset by peer]
<yorickpeterse> Based on Nokogiri's behaviour it appears that Xn-Y is translated to Xn+Y using the transformation Xn+(X - (Y % X))
<yorickpeterse> darix: heh
elia has joined #ruby-lang
<yorickpeterse> of course the commit that introduced this support in Nokogiri adds just 1 test and doesn't describe anything in depth about where the knowledge came from
<whitequark> yorickpeterse: oh
momomomomo_ has quit [Quit: momomomomo_]
<whitequark> but the spec describes it fully
<yorickpeterse> ... it doesn't
elia has quit [Read error: Connection reset by peer]
<yorickpeterse> Don't pretend you're high on catnip
<yorickpeterse> It specifies the behaviour when the form Xn+Y is used, that parts makes sense
<yorickpeterse> but when using the negative form it doesn't. E.g. in positive form Y is the offset, this is not the case in the negative form
<yorickpeterse> e.g. 6n-4 doesn't start at -4, nor does it start at -3 (assuming 1 indexing). It starts at 2
fragamus has joined #ruby-lang
<yorickpeterse> so 6n-4 would match 2, 8, 14, etc
elia has joined #ruby-lang
<whitequark> yorickpeterse: see: "The :nth-child(an+b) pseudo-class notation represents an element that has an+b-1 siblings before it in the document tree"
<whitequark> ... " for any positive integer or zero value of n, and has a parent element"
<whitequark> note that it doesn't require positive values of a or b.
<whitequark> because that formula works for negative a and b as well
Asher has quit [Quit: Leaving.]
<yorickpeterse> whitequark: I have spent 3 days reading through it, I know what it says. It says fuck all about the negative formula
<whitequark> 6n-4 would translate to "represents an element that has 6n-5 siblings before it"
GBrawl has quit [Quit: (null)]
<whitequark> what exactly is unclear in that?
<yorickpeterse> except that is not what happens
ur5us_ has quit [Remote host closed the connection]
<yorickpeterse> in a set of 16 nodes, it matches node 2, 8, and 14
<yorickpeterse> node 2 has no 5 nodes before it
Asher has joined #ruby-lang
loincloth has joined #ruby-lang
<yorickpeterse> only 8 and 14 have
ur5us has joined #ruby-lang
<yorickpeterse> Once you figure out how to translate it to the positive form things start to make a bit more sense
<yorickpeterse> but that whole procedure is completely unspecified
<yorickpeterse> If it were to say "6n-4 is the same as 6n+2 because ..." it would've greatly helped
<yorickpeterse> In fact, I could've finished this 2 days ago
<whitequark> I actually wonder if Nokogiri's implementation is even valid
<whitequark> based on what you say, I am not so sure
nathanstitt has quit [Quit: I growing sleepy]
j4cknewt has quit [Remote host closed the connection]
<yorickpeterse> It is
<yorickpeterse> I've compared it with Chromium's CSS engine, it's compatible
<yorickpeterse> (or valid for that matter)
emmesswhy has quit [Quit: This computer has gone to sleep]
loincloth_ has quit [Ping timeout: 255 seconds]
<yorickpeterse> e.g. 4n-7 gets turned into ((count(preceding-sibling::*) + 1) >= 1) and ((((count(preceding-sibling::*) + 1)-1) mod 4) = 0)
<yorickpeterse> (dat xpath)
Versality has quit [Ping timeout: 244 seconds]
<whitequark> okay that's fucked up, I agree
benlovell has joined #ruby-lang
<yorickpeterse> If W3 membership didn't cost a fuckton I'd sign up and send an angry rant to the mailing list
<yorickpeterse> (ignoring it wouldn't help)
goodcodeguy has joined #ruby-lang
<yorickpeterse> Hm, the modulo theory seems to hold itself together so far
_elia has joined #ruby-lang
symm- has quit [Ping timeout: 240 seconds]
nelsonsar has quit [Remote host closed the connection]
elia has quit [Ping timeout: 250 seconds]
<yorickpeterse> yup, so an-b becomes an+(a - (b % a))
<whitequark> it certainly doesn't match the spec in my view
<whitequark> it does match my expectation of what negative b would do, but not the spec, as written.
<whitequark> wtf, W3.
<yorickpeterse> try reading the xpaht spec
<yorickpeterse> * xpath
<yorickpeterse> equally crazy, though at least a bit more in depth
<whitequark> I'll rather set my hair on fire
<yorickpeterse> CSS4 spec is even wackier
<yorickpeterse> they're adding shit like :nth-child(even of .some_selector)
benlovell has quit [Ping timeout: 255 seconds]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby-lang
<yorickpeterse> oh, and xpath 2.0 is turing complete
<yorickpeterse> and is basically an entire scripting language
<yorickpeterse> yay W3
<apeiros> because… why not. *sob*
<apeiros> not everything which can be done should be done :-|
<yorickpeterse> it also has static typing support of some sort
cmhobbs has quit [Ping timeout: 240 seconds]
<whitequark> oh god
<whitequark> please stop
<whitequark> I don't want to know k
<darix> mod_rewrite in apache is turing complete too
bantic has quit [Quit: bantic]
allomov has quit [Remote host closed the connection]
_elia has quit [Ping timeout: 265 seconds]
elia has joined #ruby-lang
<yorickpeterse> There's a good reason why most XML tools implement XPath 1.0 only :P
_elia has joined #ruby-lang
allomov has joined #ruby-lang
allomov has quit [Remote host closed the connection]
nertzy2 has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
elia has quit [Ping timeout: 258 seconds]
emmesswhy has joined #ruby-lang
Cyrano has joined #ruby-lang
rkowalick has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
emmesswhy has quit [Quit: This computer has gone to sleep]
charliesome has quit [Quit: zzz]
ironhide_604 has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
nofxx_ has quit [Ping timeout: 250 seconds]
hramrach_ has quit [Ping timeout: 246 seconds]
elia has joined #ruby-lang
_elia has quit [Read error: Connection reset by peer]
hramrach_ has joined #ruby-lang
jimbach has quit [Remote host closed the connection]
emmesswhy has joined #ruby-lang
apeiros changed the topic of #ruby-lang to: Ruby 2.1.4; 2.0.0-p594; 1.9.3-p550: http://ruby-lang.org || Paste code on http://gist.github.com
elia has quit [Ping timeout: 245 seconds]
elia has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
webhat_ has joined #ruby-lang
ohsix has joined #ruby-lang
<imperator> perhaps if we send a cyborg back in time to 1996...
webhat has quit [Ping timeout: 244 seconds]
elia has quit [Ping timeout: 256 seconds]
_elia has joined #ruby-lang
imkmf has quit [Ping timeout: 245 seconds]
marr has quit [Ping timeout: 265 seconds]
nathanstitt has joined #ruby-lang
_elia has quit [Quit: Computer has gone to sleep.]
rkowalick has quit [Ping timeout: 265 seconds]
elia has joined #ruby-lang
AKASkip has quit [Ping timeout: 265 seconds]
Lewix has quit [Remote host closed the connection]
quimrstorres_ has joined #ruby-lang
musl has quit [Quit: WeeChat 0.4.3]
quimrstorres has quit [Ping timeout: 256 seconds]
nertzy2 has quit [Quit: This computer has gone to sleep]
tris has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
Lewix has joined #ruby-lang
AmBienCeD has joined #ruby-lang
|jemc| has quit [Ping timeout: 245 seconds]
kalehv has joined #ruby-lang
dwknoxy is now known as dknox-afk
enebo has quit [Quit: enebo]
bousquet has quit [Read error: Connection reset by peer]
bousquet_ has joined #ruby-lang
charliesome has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
kalehv has quit [Ping timeout: 244 seconds]
marr has joined #ruby-lang
GBrawl has joined #ruby-lang
RobertBirnie has quit [Ping timeout: 255 seconds]
imperator has quit [Quit: Valete!]
benlovell has joined #ruby-lang
dknox-afk is now known as xdknox