ljarvis changed the topic of #ruby-lang to: Ruby 2.1.2; 2.0.0-p481; 1.9.3-p547: http://ruby-lang.org || Paste code on http://gist.github.com
enebo has joined #ruby-lang
pr0ton_ has joined #ruby-lang
dm78_ has joined #ruby-lang
saarinen has joined #ruby-lang
saarinen has quit [Client Quit]
dm78 has quit [Ping timeout: 272 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
stamina has quit [Ping timeout: 246 seconds]
havenwood has joined #ruby-lang
benlovell has joined #ruby-lang
pr0ton_ has quit [Quit: pr0ton_]
benlovell has quit [Ping timeout: 240 seconds]
rmcafee has quit [Quit: rmcafee]
RobertBirnie has quit [Ping timeout: 260 seconds]
Lingo has quit [Quit: Computer has gone to sleep.]
lcdhoffman has quit [Quit: lcdhoffman]
Averna has joined #ruby-lang
mistym has quit [Remote host closed the connection]
emmesswhy has quit [Quit: This computer has gone to sleep]
nathanstitt has joined #ruby-lang
|jemc| has joined #ruby-lang
marr has quit []
frank_o has quit [Ping timeout: 250 seconds]
toastynerd has quit [Remote host closed the connection]
InfraRuby has left #ruby-lang [#ruby-lang]
tkuchiki has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
saarinen has joined #ruby-lang
saarinen has quit [Client Quit]
RobertBirnie has joined #ruby-lang
pr0ton_ has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RobertBirnie has quit [Client Quit]
pr0ton_ has quit [Ping timeout: 260 seconds]
apt-get_ has quit [Quit: Quitte]
frank_o has joined #ruby-lang
InfraRuby has joined #ruby-lang
yubrew has joined #ruby-lang
yubrew has quit [Ping timeout: 240 seconds]
bsvineeth has quit [Ping timeout: 246 seconds]
spuk has joined #ruby-lang
mistym has joined #ruby-lang
toastynerd has joined #ruby-lang
weems|mac has quit [Quit: weems|mac]
arBmind1 has joined #ruby-lang
arBmind has quit [Ping timeout: 245 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
jbardin has quit [Quit: jbardin]
alexju has quit [Remote host closed the connection]
alexju has joined #ruby-lang
nathanstitt has joined #ruby-lang
amystephen has quit [Quit: amystephen]
shinnya has quit [Ping timeout: 250 seconds]
alexju has quit [Ping timeout: 260 seconds]
dm78_ has quit [Remote host closed the connection]
sMecKs has quit [Quit: <kevinp> cool bro i can google when i give a fuck]
sMecKs_ has joined #ruby-lang
sMecKs_ has quit [Client Quit]
sMecKs has joined #ruby-lang
karamazov has quit [Remote host closed the connection]
Miphix has joined #ruby-lang
emmesswhy has joined #ruby-lang
Lingo has joined #ruby-lang
sMecKs has quit [Read error: Connection reset by peer]
toastynerd has quit [Remote host closed the connection]
sMecKs has joined #ruby-lang
araujo has quit [Read error: Connection reset by peer]
araujo has joined #ruby-lang
chouhoulis has quit [Ping timeout: 272 seconds]
Cakey has joined #ruby-lang
|jemc| has quit [Ping timeout: 240 seconds]
omosoj has quit [Ping timeout: 246 seconds]
omosoj has joined #ruby-lang
enebo has quit [Quit: enebo]
ari-_-e has quit [Ping timeout: 246 seconds]
charliesome has joined #ruby-lang
yubrew has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
ur5us has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
stardiviner has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
yubrew has quit [Ping timeout: 272 seconds]
ari-_-e has joined #ruby-lang
benlovell has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
Lingo has quit [Quit: Computer has gone to sleep.]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
toastynerd has joined #ruby-lang
benlovell has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby-lang
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby-lang
frank_o has quit [Ping timeout: 240 seconds]
wallerdev has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
toastynerd has joined #ruby-lang
djbkd has joined #ruby-lang
omosoj has quit [Quit: Leaving]
tectonic has joined #ruby-lang
john___ has joined #ruby-lang
<john___> Hello everyone ...does any know of a ruby gem to add columns, formulas and extra sheets to a Ms Excel workbook programmatically?
InfraRuby has left #ruby-lang [#ruby-lang]
frank_o has joined #ruby-lang
dingus_khan has joined #ruby-lang
davispuh has quit [Ping timeout: 250 seconds]
gjaldon has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
gjaldon has quit [Client Quit]
diegoviola has joined #ruby-lang
Cakey has quit [Ping timeout: 272 seconds]
john___ has left #ruby-lang [#ruby-lang]
yubrew has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
dingus_khan has joined #ruby-lang
godd2 has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby-lang
toastyne_ has joined #ruby-lang
toastyne_ has quit [Remote host closed the connection]
ruskie has quit [Excess Flood]
toastynerd has joined #ruby-lang
ruskie has joined #ruby-lang
toastynerd has quit [Ping timeout: 260 seconds]
RobertBirnie has joined #ruby-lang
xcesariox has joined #ruby-lang
ascarter has joined #ruby-lang
ascarter has quit [Client Quit]
nathanstitt has quit [Quit: I growing sleepy]
pr0ton_ has joined #ruby-lang
toastynerd has joined #ruby-lang
ascarter has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ascarter has joined #ruby-lang
yubrew has joined #ruby-lang
ascarter has quit [Client Quit]
gix has quit [Ping timeout: 264 seconds]
michaeldeol has joined #ruby-lang
yubrew has quit [Ping timeout: 264 seconds]
dm78 has joined #ruby-lang
Cakey has joined #ruby-lang
benlovell has joined #ruby-lang
gix has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
snsei has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 250 seconds]
dingus_khan has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.3]
ascarter has joined #ruby-lang
dingus_khan has quit [Client Quit]
mistym has quit [Remote host closed the connection]
ascarter has quit [Client Quit]
pr0ton_ has quit [Quit: pr0ton_]
yatish27 has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
snsei has quit [Remote host closed the connection]
snsei has joined #ruby-lang
yatish27 has quit [Ping timeout: 255 seconds]
snsei has quit [Ping timeout: 246 seconds]
diegoviola has joined #ruby-lang
toastynerd has joined #ruby-lang
centrx has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby-lang
tectonic has quit []
taiansu has joined #ruby-lang
tectonic has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
mistym has joined #ruby-lang
|jemc| has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
centrx has quit [Quit: Mead error: Connection reset by beer]
amclain has quit [Quit: Leaving]
yubrew has joined #ruby-lang
ari-_-e has quit [Ping timeout: 272 seconds]
weems|mac has joined #ruby-lang
yubrew has quit [Ping timeout: 260 seconds]
yfeldblu_ has joined #ruby-lang
pr0ton_ has joined #ruby-lang
AKASkip has joined #ruby-lang
ta has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 240 seconds]
tectonic has quit []
yfeldblu_ has quit [Ping timeout: 255 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tectonic has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
AKASkip has quit [Ping timeout: 264 seconds]
snsei has joined #ruby-lang
Lingo has joined #ruby-lang
ari-_-e has joined #ruby-lang
snsei has quit [Ping timeout: 260 seconds]
tectonic has quit []
Lingo has quit [Ping timeout: 255 seconds]
tectonic has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_ht has joined #ruby-lang
yfeldblum has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
<godd2> Any thoughts on how to limit changes to an instance variable that's mutable but attr_reader'd? https://gist.github.com/nicklink483/966ccf3a52d1ff47747e
john___ has joined #ruby-lang
john___ has quit [Client Quit]
Cakey has quit [Ping timeout: 272 seconds]
Averna has quit [Quit: Leaving.]
kyb3r_ has joined #ruby-lang
duper has quit [Read error: Connection reset by peer]
duper has joined #ruby-lang
toastynerd has joined #ruby-lang
yubrew has joined #ruby-lang
yubrew has quit [Ping timeout: 245 seconds]
Cakey has joined #ruby-lang
duper has quit [Ping timeout: 260 seconds]
duper has joined #ruby-lang
JoshuaPaling has joined #ruby-lang
taiansu has quit [Remote host closed the connection]
duper has quit [Ping timeout: 260 seconds]
duper has joined #ruby-lang
dm78_ has joined #ruby-lang
dm78 has quit [Ping timeout: 260 seconds]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby-lang
ur5us has quit [Ping timeout: 245 seconds]
|jemc| has quit [Ping timeout: 250 seconds]
taiansu has joined #ruby-lang
weems|mac has quit [Quit: weems|mac]
taiansu_ has joined #ruby-lang
taiansu has quit [Read error: Connection reset by peer]
yubrew has joined #ruby-lang
yubrew has quit [Ping timeout: 250 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
polymetric has joined #ruby-lang
InfraRuby has joined #ruby-lang
michd is now known as MichD
fusillicode has joined #ruby-lang
benlovell has joined #ruby-lang
fusillicode has quit [Ping timeout: 250 seconds]
frank_o has quit [Ping timeout: 264 seconds]
pr0ton_ has quit [Quit: pr0ton_]
benlovell has quit [Ping timeout: 272 seconds]
mistym has quit [Remote host closed the connection]
pixelhandler has joined #ruby-lang
relix has joined #ruby-lang
pixelhandler has quit [Client Quit]
InfraRuby has left #ruby-lang [#ruby-lang]
snsei has joined #ruby-lang
fusillicode has joined #ruby-lang
snsei has quit [Ping timeout: 260 seconds]
solars has joined #ruby-lang
fullybaked has joined #ruby-lang
fusillicode has quit [Ping timeout: 255 seconds]
kyb3r_ has quit [Read error: Connection reset by peer]
toastynerd has quit [Remote host closed the connection]
tbuehlmann has joined #ruby-lang
toastynerd has joined #ruby-lang
frank_o has joined #ruby-lang
fusillicode has joined #ruby-lang
ur5us has joined #ruby-lang
ta has joined #ruby-lang
yubrew has joined #ruby-lang
ur5us has quit [Ping timeout: 260 seconds]
sMecKs has quit [Read error: Connection reset by peer]
futilegames has joined #ruby-lang
yubrew has quit [Ping timeout: 272 seconds]
jhass|off is now known as jhass
rolfb has joined #ruby-lang
taiansu_ has quit [Quit: Leaving...]
tectonic has quit []
AKASkip has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
toastynerd has joined #ruby-lang
InfraRuby has joined #ruby-lang
banister has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
benlovell has joined #ruby-lang
emmesswhy has joined #ruby-lang
elia has joined #ruby-lang
qba73 has joined #ruby-lang
thomasxie has joined #ruby-lang
thomasxie has quit [Remote host closed the connection]
thomasxie has joined #ruby-lang
hk81189i has joined #ruby-lang
mikecmpbll has joined #ruby-lang
Cakey has quit [Ping timeout: 250 seconds]
toastynerd has quit [Remote host closed the connection]
fullybaked has quit [Ping timeout: 255 seconds]
hk81189i has quit [Quit: Leaving]
yubrew has joined #ruby-lang
<yorickpeterse> morning puny humans
<rolfb> morning hulk
yubrew has quit [Ping timeout: 245 seconds]
diegoviola has quit [Quit: WeeChat 0.4.3]
qba73_ has joined #ruby-lang
Atttwww has quit [Ping timeout: 272 seconds]
qba73_ has quit [Client Quit]
qba73 has quit [Ping timeout: 245 seconds]
<yorickpeterse> ...hulk?
dabradley has quit [Ping timeout: 255 seconds]
ddv has joined #ruby-lang
ddv has quit [Changing host]
wallerdev has quit [Quit: wallerdev]
<rolfb> yorickpeterse: thought puny humans was a hulk term
benlovell has quit [Ping timeout: 240 seconds]
arBmind1 has quit [Quit: Leaving.]
<yorickpeterse> Hm, could be
<yorickpeterse> don't remember
<rolfb> :)
InfraRuby has left #ruby-lang [#ruby-lang]
benlovell has joined #ruby-lang
<apeiros> wasn't it this guy? https://www.youtube.com/watch?v=3lauOEEillQ
toastynerd has joined #ruby-lang
dabradley has joined #ruby-lang
hahuang65 has quit [Ping timeout: 244 seconds]
toastynerd has quit [Read error: Connection reset by peer]
toastynerd has joined #ruby-lang
<rolfb> might have been :)
marr has joined #ruby-lang
toastynerd has quit [Ping timeout: 264 seconds]
Cakey has joined #ruby-lang
hellangel7 has joined #ruby-lang
snsei has joined #ruby-lang
chouhoulis has joined #ruby-lang
stef_204 has joined #ruby-lang
snsei has quit [Ping timeout: 246 seconds]
Olipro has quit [Ping timeout: 256 seconds]
ari-_-e has quit [Ping timeout: 260 seconds]
Olipro has joined #ruby-lang
Olipro has quit [Changing host]
Olipro has joined #ruby-lang
chouhoulis has quit [Ping timeout: 250 seconds]
arBmind has joined #ruby-lang
ari-_-e has joined #ruby-lang
Forgetful_Lion has quit [Remote host closed the connection]
yubrew has joined #ruby-lang
<yorickpeterse> "//*[@class="gm_lijst"]/table/tbody/tr/td/child::text()/../.." wow such xpath
<yorickpeterse> But hey, it's actually a pretty neat query
<yorickpeterse> also TIL Chrome can run XPath queries using $x()
<yorickpeterse> which means you don't have to use the braindead document.evaluate() API
<yorickpeterse> var iter = document.evaluate('//foo', document); iter.iterateNext() // wat
yubrew has quit [Ping timeout: 240 seconds]
rue|w has joined #ruby-lang
rue|w has quit [Client Quit]
Cakey has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby-lang
stamina has joined #ruby-lang
judofyr has joined #ruby-lang
<judofyr> hey peeps
realDAB has joined #ruby-lang
<jhass> hi
<judofyr> jhass: what's up?
<jhass> usually the ceiling or the sky
emmesswhy has quit [Quit: Leaving]
<yorickpeterse> Unless you live in Australia
postmodern has quit [Quit: Leaving]
hahuang65 has joined #ruby-lang
ggherdov has quit [Ping timeout: 240 seconds]
mjboselowitz has quit [Remote host closed the connection]
shennyg__ has quit [Ping timeout: 240 seconds]
moogumbo has quit [Read error: Connection reset by peer]
beawesomeinstead has quit [Ping timeout: 260 seconds]
styped_____ has quit [Ping timeout: 240 seconds]
strmpnk has quit [Ping timeout: 250 seconds]
<judofyr> poor charlie
joelmheim has quit [Ping timeout: 260 seconds]
th2389_ has quit [Ping timeout: 272 seconds]
paulog has quit [Ping timeout: 240 seconds]
moogumbo has joined #ruby-lang
styped_____ has joined #ruby-lang
<judofyr> yorickpeterse: how's your HTML parser coming along?
joshsz has quit [Ping timeout: 240 seconds]
nomadicoder has quit [Ping timeout: 272 seconds]
Shoffner_ has quit [Ping timeout: 272 seconds]
dlackty_ has quit [Ping timeout: 272 seconds]
toastynerd has joined #ruby-lang
beawesomeinstead has joined #ruby-lang
jlpeters has quit [Ping timeout: 272 seconds]
<yorickpeterse> Pretty decent, working my way through proper XPath support
<yorickpeterse> only 25-something functions to go and 12 operators
<judofyr> screw XPath. CSS selector is what everybody uses.
joelmheim_ has joined #ruby-lang
jds has quit [Ping timeout: 260 seconds]
<judofyr> (although XPath is cool)
<judofyr> (so don't screw it)
bcardarella_ has quit [Ping timeout: 272 seconds]
manveru has quit [Ping timeout: 250 seconds]
rickruby has quit [Ping timeout: 240 seconds]
<judofyr> how's the CSS support?
<judofyr> jhass: doing anything cool?
<yorickpeterse> CSS selectors are far too limited to only support those
hahuang65 has quit [Ping timeout: 272 seconds]
allolex has quit [Ping timeout: 272 seconds]
<yorickpeterse> CSS selectors will be added soon (tm), I'll basically compile them down to their XPath equivalents
<jhass> judofyr: no, bachelor thesis time :/
<yorickpeterse> In fact, you can probably just do that using String#gsub
<judofyr> jhass: in what field?
<yorickpeterse> https://github.com/YorickPeterse/oga/issues/10 <- stuff left to do for XPath
<judofyr> yorickpeterse: nice!
<jhass> CS
<yorickpeterse> https://github.com/YorickPeterse/oga/pull/25 work done so far
adambeynon has quit [Ping timeout: 240 seconds]
th2389_ has joined #ruby-lang
mjc_ has quit [Ping timeout: 250 seconds]
paulog_ has joined #ruby-lang
<yorickpeterse> "Showing 106 changed files with 5,063 additions and 389 deletions."
<yorickpeterse> dat diffstat
antonishen has quit [Ping timeout: 272 seconds]
avdi has quit [Ping timeout: 240 seconds]
akahn has quit [Ping timeout: 240 seconds]
bffff_ has quit [Ping timeout: 250 seconds]
ramblinpeck has quit [Ping timeout: 272 seconds]
styped_____ has quit [Ping timeout: 250 seconds]
moogumbo has quit [Ping timeout: 260 seconds]
<judofyr> jhass: what are you writing about?
bcardarella_ has joined #ruby-lang
mattyohe has quit [Ping timeout: 272 seconds]
lacrosse_ has quit [Ping timeout: 272 seconds]
beawesomeinstead has quit [Ping timeout: 240 seconds]
allolex has joined #ruby-lang
joshsz has joined #ruby-lang
manveru_ has joined #ruby-lang
toastynerd has quit [Ping timeout: 260 seconds]
ggherdov has joined #ruby-lang
strmpnk has joined #ruby-lang
mjc_ has joined #ruby-lang
benlakey has quit [Ping timeout: 240 seconds]
nomadicoder_ has joined #ruby-lang
<yorickpeterse> judofyr: Either way, my goal is to have an alpha somewhere the first week of September
<yorickpeterse> Hopefully I can demo some stuff at Baruco
<judofyr> yorickpeterse: cool. very much appreciated work.
akahn has joined #ruby-lang
<judofyr> it's one of the projects I wish I had time to do
chancancode has quit [Ping timeout: 240 seconds]
adambeynon has joined #ruby-lang
<jhass> judofyr: authentication delegation to distributed web applications or something like that I guess
paulog_ has quit [Ping timeout: 272 seconds]
Guest85414______ has quit [Ping timeout: 272 seconds]
mattyohe has joined #ruby-lang
<yorickpeterse> judofyr: it's one of those projects I wish I had more time to do :P
<judofyr> jhass: then I guess you've seen Macaroon? http://hackingdistributed.com/2014/05/21/my-first-macaroon/
<yorickpeterse> A friend once said "lol you can write an XML parser in a day or two" I think they had no idea what they were talking about
<yorickpeterse> well, s/think/know
th2389_ has quit [Ping timeout: 272 seconds]
<judofyr> yorickpeterse: I basically do zero open-source work these days
moogumbo has joined #ruby-lang
<judofyr> all physics and work
chancancode has joined #ruby-lang
bffff_ has joined #ruby-lang
avdi_ has joined #ruby-lang
<yorickpeterse> pffft
<yorickpeterse> that's what you get for following a study
<yorickpeterse> how dare you
shennyg has joined #ruby-lang
joshsz has quit [Ping timeout: 272 seconds]
dlackty_ has joined #ruby-lang
ramblinpeck has joined #ruby-lang
lacrosse_ has joined #ruby-lang
<judofyr> this year I'm taking computational physics though
benlakey has joined #ruby-lang
<judofyr> so a bit more computery
Shoffner_ has joined #ruby-lang
jds has joined #ruby-lang
rickruby has joined #ruby-lang
<workmad3> judofyr: I guess you'll be moving to #python and using scipy and numpy?
beawesomeinstead has joined #ruby-lang
<yorickpeterse> No, Java
antonishen has joined #ruby-lang
Guest85414______ has joined #ruby-lang
<yorickpeterse> Everybody knows that for science you need Java
jlpeters has joined #ruby-lang
<judofyr> workmad3: this summer I've done both Go, C++, Fortran and Python for physics stuff
<judofyr> I didn't write Fortran though
paulog_ has joined #ruby-lang
<yorickpeterse> Random other question: does anybody know of a Gem that lets you define a schema for JSON/Ruby hashes?
<yorickpeterse> I'm dead serious here
<judofyr> oh, and some matlab
<yorickpeterse> inb4 protocol buffers, that goes a bit too far
<judofyr> yorickpeterse: http://www.q-lang.io/
<yorickpeterse> I like my JSON
styped_____ has joined #ruby-lang
joshsz has joined #ruby-lang
<yorickpeterse> Jesus that looks way too much like somebody creamed all over C++'s template system
<judofyr> I'm only using the "simple" parts
th2389_ has joined #ruby-lang
<judofyr> yorickpeterse: http://i.imgur.com/kSJPawQ.png
<yorickpeterse> Hm, would be nice if I could do this in Ruby though
<yorickpeterse> instead of some other language that then has to be parsed/compiled
<yorickpeterse> basically I now have some code doing basic checks if certain required keys are present
<yorickpeterse> However, I now have a case where I have to validate a nested structure
<judofyr> you'd like an internal DSL instead of an external?
<yorickpeterse> Plus none of this stops somebody from queueing data with "template_name: 1" for example
<yorickpeterse> internal, the code itself would validate it
<yorickpeterse> I sort of hacked this together for some other code, but ugh
Miphix has quit [Quit: Leaving]
<judofyr> Finitio.rb uses Citrus, so it's pretty easy to create the AST "manually"
<yorickpeterse> I did find https://github.com/jamesbrooks/hash_validator but trying to see what else is out there
yubrew has joined #ruby-lang
<yorickpeterse> You know it's rock solid when it uses a specification by the IETF
* yorickpeterse runs
<yorickpeterse> Soon we'll have doctypes in JSON
<yorickpeterse> and WSDLs
<yorickpeterse> and then we have a slightly more compact version of SOAP
hellangel7 has quit [Read error: Connection reset by peer]
yubrew has quit [Ping timeout: 240 seconds]
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
<yorickpeterse> Hm, this JSON schema stuff might cut it
<yorickpeterse> Given it's JSON it's also something I could include in the documentation
jxie has quit [Read error: Connection reset by peer]
jxie has joined #ruby-lang
InfraRuby has joined #ruby-lang
arBmind1 has joined #ruby-lang
<banister> yorickpeterse hey there yozzy
<yorickpeterse> hai
arBmind has quit [Ping timeout: 260 seconds]
nofxx has quit [Ping timeout: 255 seconds]
realDAB has quit [Quit: realDAB]
duper has quit [Ping timeout: 260 seconds]
duper has joined #ruby-lang
InfraRuby has left #ruby-lang [#ruby-lang]
mjboselowitz has joined #ruby-lang
toastynerd has joined #ruby-lang
realDAB has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
mjboselowitz has quit [Ping timeout: 255 seconds]
toastynerd has quit [Ping timeout: 240 seconds]
tkuchiki_ has joined #ruby-lang
alexju has joined #ruby-lang
sarkyniin has joined #ruby-lang
godd2 has quit [Ping timeout: 244 seconds]
faces has quit [Ping timeout: 246 seconds]
face has joined #ruby-lang
tkuchiki has quit [Ping timeout: 260 seconds]
tkuchiki_ has quit [Ping timeout: 246 seconds]
yubrew has joined #ruby-lang
frank_o has quit [Quit: leaving]
yubrew has quit [Ping timeout: 245 seconds]
dorei has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
bin7me has joined #ruby-lang
judofyr has quit []
t4nk607 has joined #ruby-lang
karamazov has joined #ruby-lang
davispuh has joined #ruby-lang
t4nk607 has quit [Ping timeout: 246 seconds]
kylo has quit [Ping timeout: 264 seconds]
stardiviner has quit [Ping timeout: 264 seconds]
ldnunes has joined #ruby-lang
stardiviner has joined #ruby-lang
kylo has joined #ruby-lang
someone__ has joined #ruby-lang
benlovell has quit [Ping timeout: 244 seconds]
skade has joined #ruby-lang
joelmheim_ is now known as joelmheim
toastynerd has joined #ruby-lang
mjboselowitz has joined #ruby-lang
yubrew has joined #ruby-lang
toastynerd has quit [Ping timeout: 255 seconds]
mjboselowitz has quit [Ping timeout: 272 seconds]
someone__ has quit [Ping timeout: 246 seconds]
yubrew has quit [Ping timeout: 272 seconds]
benlovell has joined #ruby-lang
spastorino has joined #ruby-lang
Sgeo has quit [Read error: Connection reset by peer]
vikas has joined #ruby-lang
futilegames has quit [Quit: futilegames]
elia has joined #ruby-lang
kephra has joined #ruby-lang
<kephra> moin - I've already tried on #ruby - but nobody there replied
workmad3 is now known as wm3|away
<kephra> what are the requirements find_library (create_makefile) to actually find a library?
<kephra> tried: find_library( "WylieUTF8.a", "UTFfromWylie") ... without .a, with .so ... even copied the library into same path
<kephra> still get checking for UTFfromWylie() in -lWylieUTF8.a... no, even if nm tells that UTFfromWylie is there
ari-_-e has quit [Ping timeout: 272 seconds]
stamina has quit [Ping timeout: 244 seconds]
InfraRuby has joined #ruby-lang
Miphix has joined #ruby-lang
<yorickpeterse> kephra: It looks for .h files, not .a files
<yorickpeterse> errr
<yorickpeterse> derp
<yorickpeterse> that's find_header
<kephra> I guess I found the problem - the library name must begin as lib*
<kephra> so its not possible to tell mkmf to link a normal object
<kephra> which is making it impossible to write a makefile that is platform independent ;-(
yfeldblum has joined #ruby-lang
xcesariox has quit [Quit: Textual IRC Client: www.textualapp.com]
benlovell has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 246 seconds]
benlovell has joined #ruby-lang
yfeldblum has joined #ruby-lang
wm3|away has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Ping timeout: 272 seconds]
[spoiler] has joined #ruby-lang
ari-_-e has joined #ruby-lang
<kephra> so is there an equivalent to find_library, but not for shared libraries, but for linked objects?
hellangel7 has joined #ruby-lang
miqui has joined #ruby-lang
<jhass> kephra: never used mkmf but I don't think what you say about it needs to start with lib is true: https://github.com/ruby/ruby/blob/trunk/lib/mkmf.rb#L2606
<kephra> I give up, and just include the c files into the ruby wraper, adding a comment: /* Including the source here is an ugly work around Ruby's mkmf stupidity */
<jhass> in #ruby you said something that sounded like missing a header file, to me it looks have_library is the alternative that allows to pass header files
chouhoulis has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
<kephra> its only two files
chouhoulis has joined #ruby-lang
yubrew has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
<kephra> is it possible to define a function in Ruby C API, or do I need a module/class/method hierachy?
toastynerd has joined #ruby-lang
jgpawletko has joined #ruby-lang
<jhass> ruby has no functions, only objects with methods
<kephra> *ok*
jgpawletko is now known as jgpawletko_away
<jhass> what looks like functions at the top level, like puts, are methods on the Kernel module
mjboselowitz has joined #ruby-lang
TheMoonMaster_ is now known as TheMoonMaster
yubrew has quit [Ping timeout: 250 seconds]
mjboselo_ has joined #ruby-lang
toastynerd has quit [Ping timeout: 245 seconds]
mjboselowitz has quit [Ping timeout: 240 seconds]
weems|mac has joined #ruby-lang
mjboselo_ has quit [Ping timeout: 260 seconds]
wm3|away has joined #ruby-lang
karamazo_ has joined #ruby-lang
karamazov has quit [Ping timeout: 260 seconds]
DivineEntity has quit [Quit: Lost terminal]
lcdhoffman has joined #ruby-lang
bin7me has quit [Quit: Leaving.]
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #ruby-lang
charliesome has joined #ruby-lang
mjboselowitz has joined #ruby-lang
malconis has joined #ruby-lang
wm3|away has quit [Ping timeout: 245 seconds]
[spoiler] has quit [Quit: Leaving]
momomomomo has joined #ruby-lang
weems|mac has quit [Quit: weems|mac]
snsei has joined #ruby-lang
futilegames has joined #ruby-lang
[spoiler] has joined #ruby-lang
alexju has quit [Remote host closed the connection]
alexju has joined #ruby-lang
snsei has quit [Remote host closed the connection]
snsei has joined #ruby-lang
alexju has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby-lang
snsei has quit [Ping timeout: 255 seconds]
snsei has joined #ruby-lang
yfeldblum has quit [Ping timeout: 250 seconds]
rsl has quit [Read error: Connection reset by peer]
rsl has joined #ruby-lang
snsei has quit [Read error: Connection reset by peer]
snsei has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Missphoenix has joined #ruby-lang
<kephra> *w00t* my first test works
<kephra> ruby -I. -e "require 'WylieRuby'; print WylieRuby::WylieRuby.new.fromWylie('karma maN+Dala');"
centrx has joined #ruby-lang
<kephra> is there a shorter way then writing WylieRuby::WylieRuby.new.fromWylie to call a simple function?
<centrx> kephra, Does the method need to be an instance method? Does the class need to be inside of a module with the same name?
snsei has quit [Ping timeout: 240 seconds]
yubrew has joined #ruby-lang
Miphix has quit [Ping timeout: 240 seconds]
<kephra> centrx, its a simple C function - there is no need for class or module - and from Smalltalk point of view it would be a method extending String class
<kephra> the module and class wrapper around this function is only needed because I'm following a tutorial ( I'm not a Ruby coder, but just want to enable Ruby/Rails users to write tibetan )
<Mon_Ouie> to define functon-style method place them in a module (for namespacing reasons) and define them with rb_define_module_function
<Mon_Ouie> You can include Foo in the global namespace or in a class to not have to type the module name every time
mjboselowitz has quit [Remote host closed the connection]
snsei has joined #ruby-lang
<centrx> kephra, A straight-up function without class or module, in say a script file, can be defined at the top level with just "def my_meth"
<kephra> Mon_Ouie, so I should drop the class, and use rb_define_module_function instead of rb_define_method
<centrx> kephra, but usually classes and modules are preferred, even in a script file
<kephra> centrx, its a C function
<centrx> oh you mean it's an actual C function
yubrew has quit [Ping timeout: 244 seconds]
<Mon_Ouie> kephra: Replace the class with a module
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Mon_Ouie> Also in Ruby, you'd expect the file to require to be called wylie_ruby or wilyieruby (all lower case), and methods to be named using snake_case
<kephra> *thanks* dropped the class - this simplifies to WylieRuby::fromWylie
<kephra> I wont rename the files, because Ruby will be only one of many scripting languages that wraps around this
toastynerd has joined #ruby-lang
rcvalle has joined #ruby-lang
jgpawletko_away is now known as jgpawletko
charliesome has joined #ruby-lang
ta has quit [Remote host closed the connection]
wm3|away has joined #ruby-lang
charliesome has quit [Client Quit]
toastynerd has quit [Ping timeout: 240 seconds]
lcdhoffman has quit [Quit: lcdhoffman]
yatish27 has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
wm3|away is now known as workmad3
rolfb has quit [Quit: Linkinus - http://linkinus.com]
lcdhoffman has joined #ruby-lang
ledestin_ has joined #ruby-lang
chouhoulis has joined #ruby-lang
ledestin has quit [Ping timeout: 240 seconds]
ledestin_ is now known as ledestin
vikas has quit [Remote host closed the connection]
loincloth has joined #ruby-lang
snsei has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 245 seconds]
<fusillicode> hi guys :)
majjoha has joined #ruby-lang
<fusillicode> question of 'my' day: how can I access the next element inside the call of a map on an array?
mjboselowitz has joined #ruby-lang
<fusillicode> btw the answer I'm expecting is: "you can't" :P
<DefV> do it with .with_index
<DefV> my elaborate solution:
<DefV> >> a = [1,2,3]; a.map.with_index {|item, idx| [item, a[idx+1]] }
<eval-in> DefV => [[1, 2], [2, 3], [3, nil]] (https://eval.in/178570)
<fusillicode> thnx DefV :)
<fusillicode> I'm going to try this way as soon as I can but for now, again, thank you ;)
<Mon_Ouie> >> [1, 2, 3].each_cons(2).map { |x, next_x| x + next_x }
<eval-in> Mon_Ouie => [3, 5] (https://eval.in/178571)
<Mon_Ouie> (The output is one element shorter because there's no item after the last one, so it can only yield n-1 times)
<fusillicode> Mon_Ouie the problem with ur solution is that I can also have an array formed by only one element
<fusillicode> :(
<fusillicode> and in this case each_cons returns nil
hellangel7 has quit [Remote host closed the connection]
nathanstitt has joined #ruby-lang
yubrew has joined #ruby-lang
alexju has joined #ruby-lang
JohnFord has joined #ruby-lang
yfeldblum has joined #ruby-lang
yfeldblum has quit [Ping timeout: 250 seconds]
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
Mon_Ouie has quit [Quit: WeeChat 0.4.3]
leandrosnunes has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
lcdhoffman has quit [Quit: lcdhoffman]
elia has joined #ruby-lang
<yorickpeterse> matti: https://www.youtube.com/watch?v=1toN_ZkiI7A Pretty different from the Weeaboo I usually listen to, but pretty nice
nathanstitt has quit [Read error: Connection reset by peer]
nathanstitt has joined #ruby-lang
<yorickpeterse> Hm, their other stuff is a bit too much though
<yorickpeterse> needs more oons oons
stamina has joined #ruby-lang
nathanstitt has quit [Ping timeout: 245 seconds]
nathanstitt has joined #ruby-lang
weems|mac has joined #ruby-lang
nathanstitt has quit [Read error: Connection reset by peer]
enebo has joined #ruby-lang
nathanstitt has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
chouhoulis has joined #ruby-lang
lcdhoffman has joined #ruby-lang
nofxx has joined #ruby-lang
nofxx has quit [Changing host]
nofxx has joined #ruby-lang
toastynerd has joined #ruby-lang
<jhass> kephra: you should at least rename the method snake case and provide a compatibility wylie_ruby.rb that requires your 'right' file, see http://guides.rubygems.org/name-your-gem/
vladgh has quit [Remote host closed the connection]
vladgh has joined #ruby-lang
vladgh has quit [Remote host closed the connection]
elia has joined #ruby-lang
vladgh has joined #ruby-lang
gjaldon has joined #ruby-lang
toastynerd has quit [Ping timeout: 246 seconds]
dabradley has quit [Quit: WeeChat 0.3.8]
dabradley has joined #ruby-lang
charliesome has joined #ruby-lang
cmhobbs has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
cmhobbs has quit [Client Quit]
vladgh has quit [Quit: leaving]
cmhobbs has joined #ruby-lang
workmad3 has quit [Ping timeout: 260 seconds]
Fushi has joined #ruby-lang
mjboselowitz has quit [Remote host closed the connection]
vladgh has joined #ruby-lang
tbuehlmann has quit [Quit: Leaving]
mjboselowitz has joined #ruby-lang
mistym has joined #ruby-lang
AKASkip has quit [Ping timeout: 245 seconds]
mistym has quit [Remote host closed the connection]
pixelhandler has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
gjaldon has quit [Remote host closed the connection]
gjaldon has joined #ruby-lang
Benny1992 has quit [Quit: leaving]
mjboselo_ has joined #ruby-lang
mjboselowitz has quit [Ping timeout: 260 seconds]
banister has joined #ruby-lang
shinnya has joined #ruby-lang
gjaldon has quit [Ping timeout: 250 seconds]
solars has quit [Ping timeout: 250 seconds]
gianlucadv has quit [Ping timeout: 250 seconds]
lcdhoffman has joined #ruby-lang
mistym has joined #ruby-lang
karamazo_ has quit []
thomasxie has quit [Ping timeout: 250 seconds]
lcdhoffman has quit [Quit: lcdhoffman]
kyledreger has joined #ruby-lang
<apeiros> whitequark: do I remember correctly that you hated on thin? :)
<DefV> hater
<apeiros> well, s/hated/expressed dislike/
gjaldon has joined #ruby-lang
<apeiros> I'm interested in the reason and better alternatives for "embedded" servers
emmesswhy has joined #ruby-lang
|jemc| has joined #ruby-lang
<yorickpeterse> apeiros: Puma can be embedded, sort of
<yorickpeterse> let me show you some magic
<apeiros> yorickpeterse: and if all I want to provide is a rackup.ru?
Benny1992 has joined #ruby-lang
<yorickpeterse> apeiros: first example
<yorickpeterse> https://github.com/puma/puma/issues/548 added this issue for it a while ago
<apeiros> you misunderstand
<apeiros> I don't want to tell the user to run a custom executable
zastern has quit [Quit: WeeChat 0.4.3]
<yorickpeterse> oh?
<apeiros> I want to be able to just do `rackup` in the app directory
<yorickpeterse> euh, ship a config.ru with the app and install Rack?
<yorickpeterse> I think I'm missing something
majjoha has quit [Ping timeout: 264 seconds]
<apeiros> currently I do that via rackup.ru == `require 'thin'; require 'my_app'; run MyApp`
<apeiros> that said, maybe doing require 'thin' in there is actually misguided :-/
<yorickpeterse> I'm still not following, what's wrong with `rackup -s thin` in that case?
<yorickpeterse> Your config.ru shouldn't specify the specific server you want to use, unless you're actually depending on it (e.g. extending it, using some dedicated API, etc)
<apeiros> yeah, hence "maybe misguided"
ponch_ has joined #ruby-lang
workmad3 has joined #ruby-lang
zastern has joined #ruby-lang
<whitequark> apeiros: I didn't really hate on thin specifically
<whitequark> it's just that it uses EM, and EM is crashy and generally a shitty model
rippa has joined #ruby-lang
koderok has joined #ruby-lang
stevednd has joined #ruby-lang
<apeiros> whitequark: ok. which embeddable webserver do you prefer over thin then?
<apeiros> I see unicorn and puma as alternatives so far. got to check how well they work, though
<whitequark> apeiros: never was specifically interested in embeddable webservers
<whitequark> unicorn is ok but it's built around forking
<apeiros> why's that bad?
<whitequark> well
<apeiros> or just referring to it not being portable to windows?
<whitequark> why do you want it embeddable?
<apeiros> embeddable in the sense of: add it to the gemfile and it works with rackup.ru
<apeiros> may even be the wrong term :)
<apeiros> just not as in: like nginx/apache which are external dependencies
<toretore> you should be able to do that with any rack compatible server
<toretore> bundle exec unicorn start
<toretore> or something like that
<jhass> even passenger can be run as standalone appserver
InfraRuby has left #ruby-lang [#ruby-lang]
lcdhoffman has joined #ruby-lang
michaeldeol has joined #ruby-lang
majjoha has joined #ruby-lang
omosoj has joined #ruby-lang
gianlucadv has joined #ruby-lang
Missphoenix has quit [Quit: Leaving]
<whitequark> apeiros: ah
<whitequark> then unicorn, yes, we've been using it a lot and it is very stable
<whitequark> you could try Puma but I never really touched it
<DefV> puma is quite nice
<jhass> ^ +1 for puma
momomomomo has quit [Quit: momomomomo]
<bougyman> we didn't have any luck with puma at all, on mri
<apeiros> what went wrong, bougyman?
<bougyman> unicorn performance blew it away, that is.
<bougyman> even thin did better.
gianlucadv has quit [Ping timeout: 260 seconds]
<whitequark> yep, that's what I would expect
<whitequark> puma is for jruby & co
momomomomo has joined #ruby-lang
realDAB has quit [Quit: realDAB]
arBmind1 has quit [Quit: Leaving.]
toastynerd has joined #ruby-lang
enkristoffer has joined #ruby-lang
workmad3 has quit [Ping timeout: 250 seconds]
gjaldon has quit []
yfeldblum has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
mjboselo_ has quit [Remote host closed the connection]
mjboselowitz has joined #ruby-lang
Atttwww has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
banister has quit [Ping timeout: 264 seconds]
banister has joined #ruby-lang
mistym has quit [Remote host closed the connection]
mjboselowitz has quit [Ping timeout: 246 seconds]
RobertBirnie has joined #ruby-lang
momomomomo has joined #ruby-lang
mjboselowitz has joined #ruby-lang
gianlucadv has joined #ruby-lang
yatish27_ has joined #ruby-lang
tbuehlmann has joined #ruby-lang
yatish27 has quit [Ping timeout: 250 seconds]
lun_ has joined #ruby-lang
Squarepy has joined #ruby-lang
lun_ has quit [Client Quit]
lun_ has joined #ruby-lang
gianlucadv has quit [Ping timeout: 250 seconds]
thomasxie has joined #ruby-lang
thomasxie has quit [Remote host closed the connection]
thomasxie has joined #ruby-lang
JohnFord has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thomasxie has quit [Client Quit]
wallerdev has joined #ruby-lang
yatish27_ has quit [Remote host closed the connection]
yatish27 has joined #ruby-lang
stamina has quit [Ping timeout: 246 seconds]
mikecmpbll has quit [Ping timeout: 244 seconds]
sharpmachine has joined #ruby-lang
mistym has joined #ruby-lang
benlovell has quit [Ping timeout: 250 seconds]
jacky has left #ruby-lang [#ruby-lang]
wallerdev has quit [Quit: wallerdev]
saarinen has joined #ruby-lang
sharpmachine has quit [Remote host closed the connection]
omosoj has quit [Ping timeout: 240 seconds]
solars has joined #ruby-lang
thomasxie has joined #ruby-lang
realDAB has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
amerine has joined #ruby-lang
lcdhoffman has joined #ruby-lang
djbkd has joined #ruby-lang
gianlucadv has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
saarinen has quit [Quit: saarinen]
nofxx has quit [Ping timeout: 255 seconds]
enkristoffer has quit [Quit: ❤]
djbkd has quit [Remote host closed the connection]
leandrosnunes has quit [Quit: WeeChat 0.4.3]
djbkd has joined #ruby-lang
wallerdev has joined #ruby-lang
yfeldblum has joined #ruby-lang
thomasxie has quit [Quit: Leaving.]
saarinen has joined #ruby-lang
saarinen has quit [Client Quit]
yfeldblum has quit [Ping timeout: 240 seconds]
ti-wali has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
saarinen has joined #ruby-lang
karamazov has joined #ruby-lang
AKASkip has joined #ruby-lang
kaiserpathos has joined #ruby-lang
molgrew has joined #ruby-lang
molgrew has quit [Client Quit]
jbardin has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
amclain has joined #ruby-lang
wallerdev_ has joined #ruby-lang
wallerdev has quit [Ping timeout: 255 seconds]
wallerdev_ is now known as wallerdev
lcdhoffman has joined #ruby-lang
hahuang65 has joined #ruby-lang
JohnFord has joined #ruby-lang
kek has joined #ruby-lang
lcdhoffman has quit [Client Quit]
amerine has quit [Quit: Computer has gone to sleep.]
lcdhoffman has joined #ruby-lang
__butch__ has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hahuang65 has quit [Quit: WeeChat 0.4.3]
hahuang65 has joined #ruby-lang
ta has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
ti-wali has quit [Remote host closed the connection]
lcdhoffman has joined #ruby-lang
momomomomo has joined #ruby-lang
ponch_ has quit [Ping timeout: 250 seconds]
mistym has quit [Remote host closed the connection]
pr0ton_ has joined #ruby-lang
mistym has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
lcdhoffman has quit [Quit: lcdhoffman]
havenwood has joined #ruby-lang
duderonomy has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MichD is now known as michd
karamazov has quit [Remote host closed the connection]
lcdhoffman has joined #ruby-lang
mjboselowitz has quit [Remote host closed the connection]
postmodern has joined #ruby-lang
kaiserpathos has quit []
omosoj has joined #ruby-lang
malconis has quit [Remote host closed the connection]
malconis has joined #ruby-lang
malconis has quit [Client Quit]
majjoha has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby-lang
malconis has joined #ruby-lang
majjoha has joined #ruby-lang
marr has quit [Ping timeout: 245 seconds]
<sarkyniin> hey, anyone can provide some help?
pr0ton_ has quit [Quit: pr0ton_]
<centrx> sarkyniin, Ask and you shall receive
<sarkyniin> I'm trying to make an IRC bot that takes some moves' data from a google spreadsheet worksheet and displays it in a formatted way
<sarkyniin> the move's name is one the first column
<sarkyniin> so I'm trying to find a way to search through the first column for a string and return that move's row
<sarkyniin> AND the row after it
<sarkyniin> since move descriptions are on the second line
<sarkyniin> as an api
<sarkyniin> but I can't really find a way to do what I want to do
malconis has quit [Remote host closed the connection]
malconis has joined #ruby-lang
<centrx> sarkyniin, This is two separate things, 1) getting the data from the data source, 2) manipulating it in Ruby
<sarkyniin> yeah, I know
nathanstitt has quit [Quit: I growing sleepy]
<sarkyniin> but I figured there might be someone here who knows how to use the gdrive api in ruby
<sarkyniin> well, at least the gem
relix has joined #ruby-lang
kyledreger has quit [Quit: kyledreger]
<centrx> sarkyniin, Use worksheet.rows to get an array of all the data in the spreadsheet
<sarkyniin> yeah actually
<sarkyniin> I think I found a solution
<sarkyniin> having a "rowcounter" value that I increment each time I cycle through a row to search for the move name
<sarkyniin> so I can keep track of the row's index
<sarkyniin> and then fetch the data from the row that's after it
weems|mac has quit [Ping timeout: 250 seconds]
yatish27_ has joined #ruby-lang
yatish27 has quit [Ping timeout: 260 seconds]
loincloth has joined #ruby-lang
heftig has joined #ruby-lang
kephra has left #ruby-lang ["Leaving"]
fusillicode has quit [Ping timeout: 260 seconds]
stamina has joined #ruby-lang
snsei has joined #ruby-lang
nertzy has joined #ruby-lang
snsei has quit [Ping timeout: 250 seconds]
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
molgrew has joined #ruby-lang
eeezkil has quit [Read error: Connection reset by peer]
nothingisreal has joined #ruby-lang
deol has joined #ruby-lang
jsodini has joined #ruby-lang
deol has quit [Client Quit]
sharpmachine has joined #ruby-lang
hellangel7 has joined #ruby-lang
hellangel7 has quit [Max SendQ exceeded]
eeezkil has joined #ruby-lang
hellangel7 has joined #ruby-lang
yfeldblum has joined #ruby-lang
Fushi has quit [Quit: Connection closed for inactivity]
solars has quit [Ping timeout: 245 seconds]
michd is now known as MichD
WilfredTheGreat has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
diegoviola has joined #ruby-lang
charliesome has joined #ruby-lang
nofxx has joined #ruby-lang
majjoha has quit [Ping timeout: 255 seconds]
nertzy has quit [Quit: This computer has gone to sleep]
omosoj has quit [Quit: Leaving]
omosoj has joined #ruby-lang
yubrew has quit []
ponch_ has joined #ruby-lang
solars has joined #ruby-lang
hellangel7 has quit [Max SendQ exceeded]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ponch_ has quit [Ping timeout: 245 seconds]
toastynerd has quit [Remote host closed the connection]
nathanstitt has joined #ruby-lang
chouhoul_ has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
chouhoulis has quit [Ping timeout: 245 seconds]
karamazov has joined #ruby-lang
toastynerd has joined #ruby-lang
_djbkd has joined #ruby-lang
lcdhoffman has joined #ruby-lang
djbkd has quit [Ping timeout: 244 seconds]
chouhoul_ has quit [Ping timeout: 255 seconds]
_djbkd has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
vintik has joined #ruby-lang
relix has joined #ruby-lang
chouhoulis has joined #ruby-lang
workmad3 has joined #ruby-lang
marr has joined #ruby-lang
chouhoulis has quit [Ping timeout: 255 seconds]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
godd2 has joined #ruby-lang
djbkd has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
wallerdev has quit [Quit: wallerdev]
chouhoulis has joined #ruby-lang
_ht has quit [Remote host closed the connection]
chouhoulis has quit [Read error: Connection reset by peer]
chouhoul_ has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
enebo has quit [Quit: enebo]
yalue has quit [Quit: Leaving]
enebo has joined #ruby-lang
enebo has quit [Client Quit]
tbuehlmann has quit [Remote host closed the connection]
enebo has joined #ruby-lang
emmesswhy has joined #ruby-lang
emmesswhy has quit [Client Quit]
ponch_ has joined #ruby-lang
enebo has quit [Ping timeout: 250 seconds]
sepp2k has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
yfeldblu_ has joined #ruby-lang
polyidus has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has joined #ruby-lang
chouhoul_ has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
[spoiler] has quit [Quit: Leaving]
yfeldbl__ has joined #ruby-lang
JohnFord has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lun__ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 246 seconds]
jsodini has quit [Ping timeout: 240 seconds]
emmesswhy has joined #ruby-lang
lun_ has quit [Ping timeout: 250 seconds]
lun_ has joined #ruby-lang
yfeldblu_ has quit [Ping timeout: 240 seconds]
tdy has quit [Ping timeout: 240 seconds]
toastynerd has joined #ruby-lang
karamazov has quit [Remote host closed the connection]
karamazov has joined #ruby-lang
wallerdev has joined #ruby-lang
<headius> bougyman, whitequark: Most tests I've seen put Unicorn in the middle of the pack, even with multiple workers
<headius> and Eric has said he's not surprised by that...it's not designed to be the fastest web server
<whitequark> headius: indeed, unicorn is supposed to be used with nginx as the frontend
emmesswhy has quit [Client Quit]
<whitequark> because you can trivially DoS it with a slow cloent
<headius> mmm sure
banister has quit [Ping timeout: 240 seconds]
<headius> you pretty much always want something smart coordinating incoming requests, or you get stuff like blocked workers or too many workers
lun__ has quit [Ping timeout: 272 seconds]
Squarepy has quit [Quit: Leaving]
karamazov has quit [Ping timeout: 240 seconds]
koderok has quit [Ping timeout: 240 seconds]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
havenwood has joined #ruby-lang
banister has joined #ruby-lang
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
emmesswhy has joined #ruby-lang
mistym has quit [Remote host closed the connection]
JohnFord has joined #ruby-lang
havenwood has quit [Ping timeout: 264 seconds]
sarkyniin has quit [Quit: Quitte]
sarkyniin has joined #ruby-lang
malconis has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yfeldbl__ has quit [Remote host closed the connection]
malconis_ has joined #ruby-lang
dangerousdave has joined #ruby-lang
yfeldblum has joined #ruby-lang
InfraRuby has joined #ruby-lang
malconis has quit [Ping timeout: 240 seconds]
dangerousdave has quit [Client Quit]
lcdhoffman has quit [Quit: lcdhoffman]
snsei has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
snsei has quit [Ping timeout: 244 seconds]
banister has joined #ruby-lang
saarinen has joined #ruby-lang
mistym has joined #ruby-lang
diegoviola has quit [Read error: Connection reset by peer]
ponch_ has quit [Ping timeout: 272 seconds]
vladgh has quit [Quit: leaving]
MichD is now known as michd
skade has joined #ruby-lang
sepp2k has quit [Read error: Connection reset by peer]
vladgh has joined #ruby-lang
jgpawletko has quit [Quit: jgpawletko]
sepp2k has joined #ruby-lang
dangerousdave has joined #ruby-lang
ur5us has joined #ruby-lang
shinnya has quit [Ping timeout: 255 seconds]
solars has quit [Ping timeout: 260 seconds]
cmhobbs has quit [Remote host closed the connection]
polyidus has quit [Quit: EOF]
shinnya has joined #ruby-lang
vladgh has quit [Quit: leaving]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dangerousdave has joined #ruby-lang
JohnFord has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
miqui has quit [Remote host closed the connection]
ponch_ has joined #ruby-lang
karamazov has joined #ruby-lang
banister has quit [Read error: Connection reset by peer]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
mistym has quit [Remote host closed the connection]
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
solars has joined #ruby-lang
ponch_ has quit [Ping timeout: 250 seconds]
emmesswhy has quit [Quit: This computer has gone to sleep]
workmad3 has quit [Ping timeout: 245 seconds]
vladgh has joined #ruby-lang
emmesswhy has joined #ruby-lang
jsodini has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
saarinen has quit [Quit: saarinen]
ldnunes has quit [Quit: Leaving]
saarinen has joined #ruby-lang
karamazov has quit [Remote host closed the connection]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dangerousdave has joined #ruby-lang
amerine has joined #ruby-lang
karamazov has joined #ruby-lang
karamazov has quit [Read error: Connection reset by peer]
karamazo_ has joined #ruby-lang
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
karamazo_ is now known as karamazov
dangerousdave has joined #ruby-lang
mistym has joined #ruby-lang
jhass is now known as jhass|off
omosoj has quit [Ping timeout: 240 seconds]
snsei has joined #ruby-lang
solars has quit [Ping timeout: 245 seconds]
snsei has quit [Ping timeout: 260 seconds]
InfraRuby has left #ruby-lang [#ruby-lang]
thoolihan has quit [Ping timeout: 272 seconds]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<darix> haproxy > nginx imho
<whitequark> darix: hm, never worked with haproxy
<whitequark> does it do things as caching and x-sendfile?
<darix> whitequark: plain load balancer/proxy. for caching i would use varnish
<darix> but sofar i didnt need that.
malconis_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<whitequark> nginx is a sort of swiss army knife
<whitequark> and it is pretty well-done / convenient
amerine has quit [Quit: Computer has gone to sleep.]
<darix> whitequark: haproxy gives you more control. health checks (even complex things like "check cpu load on the backend for routing decisions)
amerine has joined #ruby-lang
thoolihan has joined #ruby-lang
<whitequark> never actually needed that
<whitequark> however caching, x-sendfile, header rewriting, ssl termination is used on pretty much all our projects
<whitequark> location-based handling too
<darix> ssl termination - check, header rewriting - check.
<darix> location based can be done in the backend too
<whitequark> the backend is rails
sMecKs has joined #ruby-lang
<whitequark> serving static stuff via rails is bad even if you do x-sendfile
Lingo has joined #ruby-lang
<whitequark> it should just... never actually hit the unicorns
<whitequark> ever
ari-_-e has quit [Ping timeout: 240 seconds]
futilegames has quit [Quit: futilegames]
<darix> sure
<darix> but i prefer asset hosts for that.
<whitequark> darix: so you would have haproxy+varnish+whatever to serve static assets
<whitequark> instead of single nginx with single config
<darix> if i need caching just varnish
<darix> haproxy -> lighttpd + unicorns
<whitequark> ugh, lighttpd
splud has joined #ruby-lang
<whitequark> anyway, still see no reason to use three tools rather than one
<bougyman> using x-sendfile with lighty I rarely have need for a caching web proxy
<bougyman> the kernel does a pretty good job caching.
<darix> that too.
<splud> using Ruby on an ARM platform. 2.1.2p95.
<whitequark> bougyman: talking about caching HTML results on nginx level
<darix> splud: how dare you to ask on topic questions?:p
<bougyman> whitequark: I do that with lighty, too.
x0f has quit [Ping timeout: 245 seconds]
<darix> *jk*
<bougyman> well, with lighty 2, too.
ari-_-e has joined #ruby-lang
<whitequark> 2?
<bougyman> yeah.
<darix> 2
<bougyman> i've been on lighty2 for quite some time.
<whitequark> is it recent?
<darix> ditto
<bougyman> it's still not released for some reason
<bougyman> it's been in dev for years.
<bougyman> no releases yet.
<whitequark> oh
<darix> bougyman: not feature complete
<whitequark> no thanks, I'm not using unreleased software in production
<darix> but all i need is there
<bougyman> right.
<bougyman> tell me you didn't use nginx before 1.0...
<darix> whitequark: plenty big sites do already
<splud> Having problems with forking. Prior version of ruby used on the device (1.8.7) works. Main script runs, fires off a child process to watchdog. At certain points, forks a copy of itself to kick the watchdog, and when the watchdogged sections complete, the fork is terminated. The child (of the main process) remains running (as it should).
<bougyman> most of the nginx people I know were already on the bandwagon around 0.6x
<whitequark> bougyman: that still counts as released?
yatish27_ has quit [Remote host closed the connection]
<splud> in 2.1.1p95 now, the forked process kills the watchdog process when the fork terminates.
<whitequark> splud: strace it
<splud> Rather zealous activity on the part of the garbage cleanup.
InfraRuby has joined #ruby-lang
yatish27 has joined #ruby-lang
<bougyman> whitequark: ah. I know many projects who won't tag releases before 1.0 (feature commplete).
<bougyman> lighty2 is one of em.
<whitequark> well. afaik, nginx was in debian repos for some time, has been receiving security updates
<whitequark> which is my measure of "can be used on production"
x0f has joined #ruby-lang
<darix> whitequark: we have packages too ;)
<whitequark> at least, minimal one
<whitequark> darix: ok
<bougyman> splud: that sounds like a recipe for disaster.
yatish27 has quit [Ping timeout: 245 seconds]
<splud> talking with someone at my desk. couple minutes.
ohsix has quit [Ping timeout: 272 seconds]
loincloth has quit [Remote host closed the connection]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
<splud> okay, back.
InfraRuby has left #ruby-lang [#ruby-lang]
<splud> so, saw the comment on strace. Will -try- that in a limited scope - the problem is this is an upgrade script for an embedded platform. Lots of restrictions come with that.
<splud> recipe for disaster: could you be more specific?
__butch__ has quit [Quit: Leaving.]
<splud> main upgrade script starts up and creates the child process which kicks the hardware watchdog periodically, until a timer runs out. Main script will send a signal to reset the counter in between some stages (thus refreshing how long things can run before the hardware decides something is wrong).
shinnya has quit [Quit: ZNC - http://znc.in]
<splud> Nothing particularly unusual about that, other than the fact we’re using ruby to accomplish it.
sharpmachine has quit [Remote host closed the connection]
<splud> So, after instrumenting the script with a lot of debug messages, and outputs of ‘ps ax’ etc, I came to find out that the watchdog intermediary was going defunct after the fork was terminating, despite having been started by the parent.
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #ruby-lang
sharpmachine has joined #ruby-lang
skade has quit [Client Quit]
<splud> Added a Process.detach() to the start of the fork code to have it detach from the watchdog, and that seemed to work.
lcdhoffman has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
amerine has quit [Quit: Computer has gone to sleep.]
centrx has quit [Quit: Mead error: Connection reset by beer]
djbkd has joined #ruby-lang
ponch_ has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: i've nodded off.]
lcdhoffman has quit [Quit: lcdhoffman]
sunaku has joined #ruby-lang
alexju has quit [Remote host closed the connection]
ponch_ has quit [Ping timeout: 272 seconds]
alexju has joined #ruby-lang
<splud> Except that if I add a debug message and a sleep at a more or less arbitrary place in the upgrade script (and by arbitrary, I mean syntactically legal, a location merely intended to cause one phase to take longer than the watchdog will allow), the watchdog child ends up being defunct again, but does so before ever reaching the two lines of debug code (log message and sleep). Comment them out, and the code runs again. Been dealing with the o
<splud> versions in the code for so long, I don’t know if the behavior has something to do with ruby optimizations or what.
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<splud> okay, so chiefly people popping in and out of the channel, but no technical discussion?
adymitruk has joined #ruby-lang
AKASkip has quit [Ping timeout: 240 seconds]
alexju has quit [Ping timeout: 255 seconds]
<adymitruk> I'm trying to use a git repo as a bundle
<adymitruk> what's the proper way to address it?
<adymitruk> ../../base/bin/nats-util:
<adymitruk> that ends up with "not found"
djbkd has joined #ruby-lang
InfraRuby has joined #ruby-lang
<adymitruk> it's found here:
<adymitruk> hree is the gemfile entry:
<adymitruk> gem "vcap_services_base", :git => "https://github.com/cloudfoundry/vcap-services-base.git"
<sunaku> adymitruk: try the 'git://' protocol instead of https ?
<adymitruk> sunaku: it doesn't fail on the fetch
<adymitruk> you can see where I stated it's already on my machine
ari-_-e has quit [Ping timeout: 245 seconds]
ari-_-e has joined #ruby-lang
michaeldeol has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
WilfredTheGreat has quit [Read error: Connection reset by peer]
apt-get_ has joined #ruby-lang
ohsix has joined #ruby-lang
sarkyniin has quit [Ping timeout: 260 seconds]
lcdhoffman has joined #ruby-lang
Sgeo has joined #ruby-lang
diegoviola has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
toastynerd has quit [Remote host closed the connection]
lcdhoffman has quit [Quit: lcdhoffman]
InfraRuby has left #ruby-lang [#ruby-lang]
nertzy has joined #ruby-lang
saarinen has quit [Quit: saarinen]
realDAB has quit [Quit: realDAB]
vintik has quit [Remote host closed the connection]
sharpmachine has quit [Remote host closed the connection]
sharpmachine has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
saarinen has joined #ruby-lang
realDAB has joined #ruby-lang
nofxx has quit [Ping timeout: 245 seconds]
karamazov has quit [Remote host closed the connection]
karamazov has joined #ruby-lang
lele has quit [Ping timeout: 260 seconds]
realDAB has quit [Client Quit]
lele has joined #ruby-lang
karamazov has quit [Ping timeout: 260 seconds]
molgrew has quit [Quit: leaving]
vintik has joined #ruby-lang
InfraRuby has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.3]
GarethAdams has quit [Ping timeout: 240 seconds]
nertzy has quit [Quit: This computer has gone to sleep]
snsei has joined #ruby-lang
GarethAdams has joined #ruby-lang
godd2 has quit [Remote host closed the connection]
ponch_ has joined #ruby-lang
snsei has quit [Ping timeout: 272 seconds]
ponch_ has quit [Ping timeout: 255 seconds]
Lingo has quit [Quit: Computer has gone to sleep.]
toastynerd has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
maloik has quit [Ping timeout: 260 seconds]
maloik has joined #ruby-lang
marr has quit [Ping timeout: 272 seconds]
nofxx has joined #ruby-lang
sharpmachine has quit [Remote host closed the connection]
sharpmachine has joined #ruby-lang
DivineEntity has joined #ruby-lang
|jemc| has quit [Ping timeout: 245 seconds]
mjboselowitz has joined #ruby-lang
sunaku has quit [Quit: WeeChat 0.4.3]
nathanstitt has quit [Quit: I growing sleepy]