apeiros changed the topic of #ruby-lang to: Nick registration required to talk || Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com
petercooper has joined #ruby-lang
intellitech has joined #ruby-lang
r0bgleeson has quit [Quit: WeeChat 0.4.1]
ecnalyr has joined #ruby-lang
pr0ton has quit [Quit: pr0ton]
apeiros has quit [Remote host closed the connection]
mdedetrich has joined #ruby-lang
apeiros has joined #ruby-lang
pr0ton has joined #ruby-lang
duphus has quit [Quit: Leaving.]
<amerine> joevandyk: You might have answered this already, but I'm curious if you've shared your Ruby compilation/installation steps?
petercooper has quit [Ping timeout: 245 seconds]
dus7 has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
sevvie has joined #ruby-lang
ecnalyr has quit [Ping timeout: 245 seconds]
ruby-lang393 has joined #ruby-lang
sevvie has quit [Read error: Connection reset by peer]
mdedetrich has quit [Read error: Connection reset by peer]
charliesome has joined #ruby-lang
ssb123 has joined #ruby-lang
ruby-lang393 has quit [Ping timeout: 250 seconds]
jsullivandigs has joined #ruby-lang
<joevandyk> very standard configure,make,install
<joevandyk> (stow manages symlinks)
ssb123 has quit [Ping timeout: 245 seconds]
sevvie has joined #ruby-lang
<amerine> joevandyk: Can you also make a gist of the output from `gem env` _before_ you run `bundle install`?
kek has joined #ruby-lang
hogeo has joined #ruby-lang
kurko_ has quit [Quit: Computer has gone to sleep.]
<joevandyk> amerine: sure, hold on
<amerine> joevandyk: Also, no pressure to do this. I don't often run into someone using stow with Ruby so debugging this is slightly interesting to me.
mdedetrich has joined #ruby-lang
<joevandyk> amerine: i was seeing this bug before i started using stow, fwiw
jameswatling has joined #ruby-lang
<joevandyk> amerine: just curious, why does it need to be before 'bundle install'?
micalexander has quit [Remote host closed the connection]
<amerine> joevandyk: Because I know what bundler does to your environment, but I don't know what you're environment is before you run bundler.
micalexander has joined #ruby-lang
<amerine> s/you're/your ugh
mannyt has quit [Ping timeout: 245 seconds]
kireevco_ has quit [Ping timeout: 248 seconds]
micalexander has quit [Ping timeout: 246 seconds]
<joevandyk> anything else before i run bundler?
nathanstitt has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
<zenspider> hrm... what to call a flag to change CLI output to put file:line on a newline, because rubymine can't figure out it is a path unless it starts a line?
<zenspider> I was thinking --regexps-are-hard
<zenspider> or maybe --inferior-editor
<rickhull> REGEXLY_CORRECT
<rickhull> /s
kireevco_ has joined #ruby-lang
serroft has quit [Quit: Leaving.]
kek has quit [Remote host closed the connection]
r0bgleeson has joined #ruby-lang
lfox has joined #ruby-lang
nathanstitt has joined #ruby-lang
jameswatling has quit [Ping timeout: 240 seconds]
julweber_ has joined #ruby-lang
mistym has quit [Quit: Leaving]
julweber has quit [Ping timeout: 272 seconds]
dsg_ has joined #ruby-lang
intellitech has quit [Quit: SMOKE BOMB!]
kitak has joined #ruby-lang
symm- has quit [Read error: Operation timed out]
Coincidental has joined #ruby-lang
petercooper has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
ecnalyr has joined #ruby-lang
petercooper has quit [Ping timeout: 272 seconds]
tkuchiki has quit [Ping timeout: 272 seconds]
ecnalyr has quit [Ping timeout: 245 seconds]
kek has joined #ruby-lang
Senjai has joined #ruby-lang
mannyt has joined #ruby-lang
Elico has quit [Quit: Elico]
kek has quit [Ping timeout: 260 seconds]
kurko_ has joined #ruby-lang
jonahR has joined #ruby-lang
pr0ton has quit [Quit: pr0ton]
pr0ton has joined #ruby-lang
stamina has quit [Ping timeout: 268 seconds]
Coincidental has quit [Remote host closed the connection]
tenderlove has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
pr0ton has quit [Quit: pr0ton]
brianpWins has quit [Quit: brianpWins]
brianpWins has joined #ruby-lang
brianpWins has quit [Client Quit]
brianpWins_ has joined #ruby-lang
brianpWins_ has quit [Client Quit]
tkuchiki has joined #ruby-lang
Elico has joined #ruby-lang
Elico has quit [Client Quit]
Coincidental has quit [Ping timeout: 272 seconds]
<cschneid> is there a single method that changes a file extension? "foo.csv" => "foo.txt" for instance. I can do it with basename and text append, but is there a 1 call way to do that
kurko_ has quit [Ping timeout: 272 seconds]
deception has quit [Quit: Goodbye]
kurko_ has joined #ruby-lang
<imperator> not as far as i know
hahuang65 has quit [Ping timeout: 272 seconds]
micalexander has joined #ruby-lang
<cschneid> imperator: so fastest way is just File.basename("foo.xls", ".*") + ".csv"
<cschneid> that makes me slightly sad
<imperator> why?
<imperator> an api that did that for you "in one call" as you put it, would really just be doing the same thing behind the scenes
pr0ton has joined #ruby-lang
<imperator> and you can always write your own File method that does it, too :)
mucker has joined #ruby-lang
r0bby_ has joined #ruby-lang
fijimunkii has quit [Ping timeout: 240 seconds]
micalexander has quit [Ping timeout: 252 seconds]
r0bby_ has quit [Read error: Connection reset by peer]
mj12albert has quit [Ping timeout: 248 seconds]
mj12albert has joined #ruby-lang
r0bby_ has joined #ruby-lang
<charliesome> yay
<charliesome> MRI diffs on github no longer have terrible indentation
Tearan has quit [Quit: Sleepy Badger....]
pr0ton has quit [Ping timeout: 245 seconds]
richardburton has quit [Ping timeout: 272 seconds]
billybob0001 has left #ruby-lang [#ruby-lang]
kurko_ has quit [Quit: Computer has gone to sleep.]
Nilium has quit [Ping timeout: 264 seconds]
r0bby_ has quit [Excess Flood]
r0bby_ has joined #ruby-lang
fuhgeddaboudit has joined #ruby-lang
dsg_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shinnya has quit [Ping timeout: 260 seconds]
lsegal has joined #ruby-lang
robbyoconnor has joined #ruby-lang
Nilium has joined #ruby-lang
robbyoconnor has quit [Client Quit]
Domon has joined #ruby-lang
r0bby_ has quit [Ping timeout: 260 seconds]
petercooper has joined #ruby-lang
Ahti333 has quit [Quit: Computer has gone to sleep.]
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
ItSAN____ has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
MoRoSKiT has joined #ruby-lang
petercooper has quit [Ping timeout: 260 seconds]
3JTAAHLI1 has joined #ruby-lang
sevvie has quit [Ping timeout: 272 seconds]
ItSANgo has quit [Ping timeout: 268 seconds]
hogeo has quit [Ping timeout: 272 seconds]
3JTAAHLI1 has quit [Client Quit]
tkuchiki has joined #ruby-lang
cored has quit [Ping timeout: 240 seconds]
ItSAN____ has quit [Ping timeout: 248 seconds]
dhruvasagar has joined #ruby-lang
m6n has joined #ruby-lang
francisfish has joined #ruby-lang
mistym has joined #ruby-lang
sevvie has joined #ruby-lang
jeff_r has joined #ruby-lang
micalexander has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
francisfish has joined #ruby-lang
<zenspider> --inferior-editor seems to be winning
jean_ has joined #ruby-lang
francisfish has quit [Ping timeout: 256 seconds]
MoRoSKiT has quit [Ping timeout: 240 seconds]
mucker has quit [Remote host closed the connection]
kurko_ has joined #ruby-lang
mucker has joined #ruby-lang
mucker has quit [Read error: Connection reset by peer]
mucker has joined #ruby-lang
jean_ has quit [Read error: Connection reset by peer]
dsg_ has joined #ruby-lang
dsg_ has quit [Max SendQ exceeded]
slyphon has joined #ruby-lang
<slyphon> hah, still got it
<slyphon> drbrain: WHAT UP, BRAIN?
ykk` has quit [Ping timeout: 240 seconds]
<drbrain> slyphon: yo yo!
<slyphon> i am really confused by this http://x.rubini.us/
<drbrain> slyphon: twitter no longer uses ruby. ruby is dying. QED.
<slyphon> :(
<drbrain> slyphon: BTW, this is your fault
<slyphon> i just got here!
<slyphon> …a year ago
<drbrain> you work at twitter. twitter no longer uses ruby. ruby is dying. ruby is dying because you work at twitter. QED
<slyphon> welp, it's airtight
hahuang65 has joined #ruby-lang
<drbrain> flawless logic
<slyphon> you can't argue with logic
<drbrain> I'm sure we can write a prolog problem if anyone has doubts
<slyphon> i need to find a better irc client
<slyphon> pfft
<slyphon> the future is Ada
<slyphon> don't even
<drbrain> you should try LimeChat!
<slyphon> orly?
<slyphon> i'm using textual
<slyphon> which is aight
ryez has quit [Quit: Page closed]
ryez has joined #ruby-lang
<slyphon> i'll check it out
<slyphon> drbrain: there are 339 users, seems like ruby's doin' OK
sevvie has quit [Ping timeout: 240 seconds]
<slyphon> drbrain: someone filed a bug in ZK about build on cygwin
<slyphon> that takes guts, i'll give 'em
<drbrain> there's more in #ruby
<slyphon> wat
<drbrain> I need to work on merging the channels again
<slyphon> that's a thing?
<drbrain> freenode bureaucracy is a as you'd expect
<drbrain> that's a thing
<slyphon> wow
<drbrain> people don't know how to read ruby-lang.org
heftig has quit [Quit: Quitting]
soba has joined #ruby-lang
<slyphon> it's like debian up in this bitch
<rickhull> as long as it's just #ruby dying, nbd
<slyphon> hah
<drbrain> rickhull: haha
<rickhull> netcraft confirms it?
<slyphon> whassat?
heftig has joined #ruby-lang
soba_ has joined #ruby-lang
<rickhull> yeah the old "freebsd is dying" slashdot meme
<slyphon> i think all the kewlkidz are using node.os these days anyway
<slyphon> they wanna get close to the metal
<drbrain> cooperative multitasking just like Windows 3.x!
<slyphon> :D
<jrobeson> slyphon lol
<slyphon> then again
<jrobeson> i wish i could read the source to that comment .. just to see if it's just something taken out of context
<slyphon> do you really want your web guy trying to reason about mutexes?
<jrobeson> i'm not sure how #shithnsays really works though
<slyphon> jrobeson: oh, i'll find it
soba has quit [Ping timeout: 246 seconds]
<jrobeson> i definitely laughed when i read it
<jrobeson> although somebody was working on some little microprocessor that runs js
<jrobeson> in that case it wouldn't be that far from being close to the metal.. (in a very specific case)
hogeo has joined #ruby-lang
kireevco_ has quit [Ping timeout: 248 seconds]
<rickhull> this says everything i need to know about nodeos http://nodeos.github.io/blog/introduction/
<rickhull> btw, hateos > nodeos
<rickhull> er, hateoas
<slyphon> hey, there's no code yet, but they *did* stand up a bootstrap site
<rickhull> hateoas > nodeos > oreos
<jrobeson> oreos!!!
<slyphon> there was a php-based linux distro like 5 yrs ago
<slyphon> all init.d scripts in php
<slyphon> the problem was running apache as pid 1
<slyphon> OH SHIT PHP SLAAAAAAAAAAAAMMMMMMMMMMMMMM
soba_ has quit [Read error: Connection reset by peer]
* slyphon goes up for the high-5, holds it, looks around, then puts his hand back down
<jrobeson> did that guy ever hear about rack?
<jrobeson> that is so ridiculous
<slyphon> i can't find it now
<slyphon> and yeah, it was amazong
<jrobeson> slyphon, no i'm talking about that hn post
<slyphon> that too :)
Senjai has quit [Disconnected by services]
Senjai_ has joined #ruby-lang
<jrobeson> i'm just suprised that comment went so unmolosted
<slyphon> HN is a shitshow
<slyphon> they enforce their vision of the world by banning people in a really sneaky manner
<jrobeson> so far as i've seen.. such banning is quite limited. even with all the php hate on there.. people who talk about php aren't banned
<jrobeson> or anything like that
<slyphon> oh sure
<slyphon> i'm just saying, HN exists in a bubble
<drbrain> I have 3 HN points
<drbrain> this allows me to up vote, and that's all
<drbrain> which is pretty much the only way I use the site
<jrobeson> i have 205 points.. and don't really know how to get points :)
richardburton has joined #ruby-lang
<slyphon> there was an *awesome* exchange not too long ago
<drbrain> you probably commented once or twice
<rickhull> the first hundred is the hardest
<slyphon> where someone was arguing that you could just run twitter on big iron
<jrobeson> not enough to downvote..
<jrobeson> my IRONS ARE HUGE
<slyphon> and sam pullara came in and layeth the smack down in a totally classy way
bastilian has joined #ruby-lang
<drbrain> someone should swap the heating element in an iron for a bitcoin miner
<slyphon> :D
<drbrain> oops typo, I should have said "buttcoin"
<jrobeson> buttcoin!
<jrobeson> i've only been to the buttcoin website, not the feed directly :)
micalexander has quit [Remote host closed the connection]
<slyphon> omg
micalexander has joined #ruby-lang
<slyphon> "They are only doing 6k writes a second for crying out loud."
<drbrain> most of its retweets are boring, but there is the occasional gem like: Bitcoin isn't the first digital currency, but it is the first to achieve escape velocity from Esperanto.
richardburton has quit [Ping timeout: 265 seconds]
<slyphon> LOOOL
<slyphon> omg bitcoin
<slyphon> it's like if you took people who went to GPG key signing parties and crossed them with a rand paul rally
io_syl has quit []
Senjai_ has quit [Remote host closed the connection]
micalexa_ has joined #ruby-lang
micalexander has quit [Read error: Connection reset by peer]
* imperator waves to slyphon
<slyphon> yo!
<slyphon> how goes?
<imperator> it's going alright. you?
petercooper has joined #ruby-lang
<slyphon> eh, can't complain
jithu has joined #ruby-lang
<slyphon> still trying to get my brain fully functional
fowl_ has quit [Quit: Leaving]
<imperator> fp brain?
* imperator converts his brain to lisp
<slyphon> haha
<slyphon> was on paternity leave, haven't really touched code in like 8 weeks
<imperator> paternity leave? that's a thing? nice
fumduq has quit [Remote host closed the connection]
petercooper has quit [Ping timeout: 252 seconds]
havenwood has joined #ruby-lang
<jrobeson> slyphon, that's a good one..
* jrobeson tips slyphon with a cookie
<slyphon> :)
<jrobeson> now.. did you make up that paul rally thing.. or read it somewhere?
<jrobeson> also ron paul would be more appropriate
<drbrain> jrobeson: I've seen it going around the buttcoin retweets
<slyphon> oh, i made that up
<slyphon> and yah, i think i meant ron paul :)
<imperator> wtf, buttcoin?
soba has joined #ruby-lang
<jrobeson> buttcoin.. a p2p currency for butts
<slyphon> i was saying to a coworker that there's probably a very high degree of correlation between people who gpg sign their emails and bitcoin enthusiasts
Ahti333 has joined #ruby-lang
kireevco_ has joined #ruby-lang
kitak has quit [Remote host closed the connection]
jithu has quit [Quit: Mother, did it need to be so high?]
kireevco_ has quit [Ping timeout: 248 seconds]
rue has quit [Remote host closed the connection]
rue has joined #ruby-lang
sevvie has joined #ruby-lang
kireevco_ has joined #ruby-lang
rue has quit [Ping timeout: 252 seconds]
kurko_ has quit [Quit: Computer has gone to sleep.]
nathanstitt has quit [Quit: I growing sleepy]
jiuweigui has joined #ruby-lang
Elico has joined #ruby-lang
io_syl has joined #ruby-lang
jiuweigui has quit [Client Quit]
tubbo has joined #ruby-lang
* imperator reads that hn link, oof
<imperator> "just buy more hardware!" - mmkay
<slyphon> yeah, terrible
<slyphon> this was major lulz @twitter
<imperator> everyone knows the solution was to use nosql, duh
<slyphon> :D
<slyphon> i've been saying since i got here that we should switch to mongodb
<imperator> with an erlang backend
<slyphon> lol
kitak has joined #ruby-lang
jithu has joined #ruby-lang
nisstyre has joined #ruby-lang
dhruvasagar has quit [Read error: Operation timed out]
richardburton has joined #ruby-lang
v9r has joined #ruby-lang
richardburton has quit [Ping timeout: 246 seconds]
robbyoconnor has joined #ruby-lang
deception has joined #ruby-lang
malev has quit [Remote host closed the connection]
petercooper has joined #ruby-lang
rue has joined #ruby-lang
fijimunkii has joined #ruby-lang
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
JohnBat26 has joined #ruby-lang
lfox has quit [Quit: ZZZzzz…]
petercooper has quit [Ping timeout: 245 seconds]
hogeo has quit [Remote host closed the connection]
tonni_ has quit [Ping timeout: 272 seconds]
saarinen has joined #ruby-lang
tonni has joined #ruby-lang
francisfish has joined #ruby-lang
deception has quit [Quit: Goodbye]
Ahti333 has quit [Read error: Connection reset by peer]
nignaztic has joined #ruby-lang
Ahti333 has joined #ruby-lang
francisfish has quit [Ping timeout: 260 seconds]
zz_michael_mbp is now known as michael_mbp
nazty has quit [Ping timeout: 240 seconds]
richardburton has joined #ruby-lang
soba has quit [Ping timeout: 252 seconds]
woollyams has quit [Ping timeout: 252 seconds]
Ahti333 has quit [Ping timeout: 272 seconds]
imperator has left #ruby-lang ["Leaving"]
michael_mbp is now known as zz_michael_mbp
Barrin6 has joined #ruby-lang
<Barrin6> yo
<Barrin6> anyone mind looking at my code?
soba has joined #ruby-lang
woollyams has joined #ruby-lang
richardburton has quit [Ping timeout: 256 seconds]
mark06 has joined #ruby-lang
<Barrin6> argh
<Barrin6> this whole thing is wrong
slyphon has quit [Ping timeout: 240 seconds]
badboy4471 has joined #ruby-lang
Ahti333 has joined #ruby-lang
io_syl has quit []
<Elico> Barrin6 just remove the =true ..
saarinen has quit [Quit: saarinen]
<Elico> it should be "==" not "="
<Elico> Barrin6: ?
indstry has joined #ruby-lang
<Barrin6> yea that worked elico
<Barrin6> good poiunt
<Barrin6> argh
<Barrin6> i keep making the same mistakes
<Barrin6> any way I can make the first method better?
ryez has quit [Ping timeout: 250 seconds]
ItSANgo has joined #ruby-lang
hahuang65 has quit [Ping timeout: 272 seconds]
<indstry> is there anyway to convert a image stored as a .Net C# Byte array in MS SQL back to a JPEG in ruby?
Nisstyre-laptop has joined #ruby-lang
hogeo has joined #ruby-lang
mucker has quit [Remote host closed the connection]
kitak has quit [Remote host closed the connection]
<heftig> what kind of data do you get back from the database adapter?
mucker has joined #ruby-lang
<heftig> an array of integers?
kitak has joined #ruby-lang
<Elico> what is it suppose to do Barrin6?
slyphon has joined #ruby-lang
<indstry> it's returning a hex output
<Barrin6> elico, I'm trying to find the smallest positive number that is divisible by 1 through 20
<heftig> indstry: as in, a string like "abcdef"?
havenwood has quit [Remote host closed the connection]
kitak has quit [Read error: Connection reset by peer]
kitak has joined #ruby-lang
<heftig> that's binary data
<heftig> just write it to a file
<indstry> heftig: yeah, but it's not a JPEG, its a C# Byte Array
<indstry> the JPEG is within that
<indstry> JPEG files begin with \xFF\xD8\xFF\xE0\x00\x10JFIF
<heftig> is that string within the data?
<indstry> it is,
<indstry> but there is no ending signature
<indstry> so i cannot simply do a search and replace
<heftig> one of the 4-byte words before the data might be a length
<TTilus> Barrin6: factorize all of them, for each factor, pick the largest count, multiply
mucker has quit [Ping timeout: 272 seconds]
<indstry> heftig: hmm, good idea
<heftig> indstry: other than that, use ironruby or serialize your data in another format
<indstry> Im creating a web api for a windows based app, the windows developer stores all images as .Net Byte[] and it's more difficult for him to change his code than for me to work around it. I may just write a cli .net app to return a base64 string of the image,
<TTilus> Barrin6: for 1 to 6 you get 1; 2; 3; 2*2; 5; 2*3, so the smallest common divident would be 1*2*2*3*5 = 60
sevvie has quit [Quit: leaving]
<Barrin6> slow down
<Barrin6> factorize?
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
<heftig> >> (1..20).inject(:lcm)
<heftig> => 232792560
<eval-in> heftig => 232792560 (https://eval.in/54671)
<heftig> hm, that might be wrong
<heftig> yeah, definitely
<drbrain> you want to multiply the unique factors of 20!
bzalasky has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 245 seconds]
petercooper has joined #ruby-lang
<TTilus> damn, it is faster 1 to 20 manually
<TTilus> drbrain: max amount of unique factors of 1..20
flip_digits has quit [Remote host closed the connection]
<drbrain> TTilus: by 20! I meant 20 factorial
ecnalyr has joined #ruby-lang
<drbrain> ruby -rprime -e 'p Prime.take_while { |prime| prime < 20 }.inject(:*)'
<Elico> Barrin6: I am not a math guy so I would assume you do know what you have written
<drbrain> ↑ correct?
<mark06> drbrain: hi man, did you see: http://bugs.ruby-lang.org/issues/9016
<Barrin6> I think I'm getting close
<TTilus> 1, 2, 3, 2*2, 5, 2*3, 7, 2*2*2, 3*3, 2*5, 11, 2*2*3, 13, 2*7, 3*5, 2*2*2*2, 17, 2*3*3, 19, 2*2*5
<TTilus> then you pick the longest rows of single factor
<drbrain> mark06: nobu will help you
petercooper has quit [Ping timeout: 265 seconds]
<heftig> TTilus: just did that, got the same result as the inject(:lcm)
<heftig> seems it wasn't wrong afterall
<TTilus> 1*2*2*2*2*3*35*7*11*13*17
<heftig> >> 1*2*2*2*2*3*35*7*11*13*17
<eval-in> heftig => 28588560 (https://eval.in/54672)
<heftig> >> 1*2*2*2*2*3*3*5*7*11*13*17
<eval-in> heftig => 12252240 (https://eval.in/54673)
<TTilus> heftig: either it is correct or you got lucky, im betting the former :D
tomzx_mac has quit [Read error: Operation timed out]
<heftig> >> 1 * 2 * 2 * 2 * 2 * 3 * 3 * 5 * 7 * 11 * 13 * 17 * 19
<eval-in> heftig => 232792560 (https://eval.in/54674)
<TTilus> need to look up what lcm does
<heftig> yep, wasn't wrong
<heftig> TTilus: least common multiple
<TTilus> yes, that much i gather, but the definition
<TTilus> and yes, thats exactly what Barrin6 is after here
* TTilus is not native in english, terminology is a bit shaky
Coincidental has joined #ruby-lang
ryez has joined #ruby-lang
<Barrin6> what's with all the multiplications you guys got here
<Barrin6> I"m getting close
<Barrin6> I feel it
<Barrin6> I'm ditching the each
<Barrin6> and using "while" instead
<heftig> >> (1..20).inject(:lcm)
<eval-in> heftig => 232792560 (https://eval.in/54675)
<Barrin6> I willlupdate you guys
<heftig> that works
Coincide_ has joined #ruby-lang
<mark06> drbrain: ok, I just didn't know what his silence meant
<TTilus> Barrin6: heftig got it for you
<drbrain> mark06: nobu might be sleeping
<mark06> drbrain: he seems to be resistant, so I wanted more than only me confirming the bug
io_syl has joined #ruby-lang
<Barrin6> one sec
<TTilus> Barrin6: i just did it medieval monk style, manually ;)
dhruvasagar has joined #ruby-lang
<mark06> drbrain: I had one confirming but he did not post there, do you have ruby 1.9+ on windows?
<drbrain> mark06: not handy, no
<TTilus> Barrin6: there's a method to do exactly what you are doing, and it's called lcm
<drbrain> I probably only have some random revision of ruby trunk that I wouldn't trust in a VM
<Barrin6> thank you TTilus I'll google it righ tnow
<Barrin6> oh holy shit
majjoha has joined #ruby-lang
Coincidental has quit [Ping timeout: 272 seconds]
<TTilus> Barrin6: google? don't need to google because heftig was nice to write it for you
<Barrin6> yea but I'm trying to learn!
<TTilus> Barrin6: then look heftig's line, then look up inject and lcm from ruby api doc
<Barrin6> yea that's what I'm doing ;)
<Barrin6> that seems too easy though
<Barrin6> I want to do it medieval monk style
mj12albert has quit [Quit: Textual IRC Client: www.textualapp.com]
arBmind has joined #ruby-lang
jeff_r has quit [Remote host closed the connection]
mj12albert has joined #ruby-lang
jeff_r has joined #ruby-lang
<TTilus> Barrin6: well, just follow either of those methods http://en.wikipedia.org/wiki/Least_common_multiple#Computing_the_least_common_multiple
havenwood has joined #ruby-lang
ecnalyr has quit [Remote host closed the connection]
ecnalyr has joined #ruby-lang
jeff_r has quit [Ping timeout: 248 seconds]
richardburton has joined #ruby-lang
richardburton has quit [Ping timeout: 272 seconds]
havenwood has quit [Ping timeout: 272 seconds]
<Barrin6> so far what I have
a1ph4g33k has joined #ruby-lang
<Barrin6> I got it to work with this https://gist.github.com/Chuongv/0e2ea848c16efcaf810e
<Barrin6> took 3 minutes to run lolol
<Barrin6> fuck this projecteuler
<Barrin6> that one took me almost 2 hours
mj12albert has quit [Ping timeout: 240 seconds]
mj12albert has joined #ruby-lang
mj12albert has quit [Max SendQ exceeded]
mj12albert has joined #ruby-lang
cads has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
tubbo has quit [Ping timeout: 272 seconds]
micalexa_ has quit [Remote host closed the connection]
micalexander has joined #ruby-lang
Coincide_ has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
hahuang65 has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 240 seconds]
bzalasky has quit [Ping timeout: 260 seconds]
Pupeno has joined #ruby-lang
Pupeno has joined #ruby-lang
Pupeno has quit [Changing host]
micalexander has quit [Ping timeout: 256 seconds]
dhruvasagar has joined #ruby-lang
Coincidental has quit [Ping timeout: 248 seconds]
jsullivandigs has joined #ruby-lang
mucker has joined #ruby-lang
hahuang65 has quit [Ping timeout: 240 seconds]
wallerdev has quit [Quit: wallerdev]
hahuang65 has joined #ruby-lang
kgrz has joined #ruby-lang
cads has quit [Ping timeout: 248 seconds]
Barrin6 has quit [Quit: HydraIRC -> http://www.hydrairc.com <- The alternative IRC client]
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby-lang
ruurd has joined #ruby-lang
kenta_ has joined #ruby-lang
mark06 has left #ruby-lang [#ruby-lang]
francisfish has joined #ruby-lang
tbuehlmann has joined #ruby-lang
francisfish has quit [Ping timeout: 248 seconds]
richardburton has joined #ruby-lang
madb055 has joined #ruby-lang
micalexa_ has joined #ruby-lang
richardburton has quit [Ping timeout: 240 seconds]
mucker has quit [Remote host closed the connection]
mucker has joined #ruby-lang
Coincidental has joined #ruby-lang
jonahR has quit [Quit: jonahR]
mucker has quit [Ping timeout: 240 seconds]
kireevco_ has quit [Ping timeout: 248 seconds]
ruurd has quit [Quit: Leaving...]
indstry has quit [Remote host closed the connection]
<TTilus> tad bruteforceish
schaerli has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
slyphon has quit [Quit: I REGRET NOTHiiiiiiiiiinnnngggg….]
arBmind has quit [Quit: Leaving.]
solars has joined #ruby-lang
mucker has joined #ruby-lang
hahuang65 has quit [Read error: Connection reset by peer]
a1ph4g33k has quit [Quit: Leaving]
zz_michael_mbp is now known as michael_mbp
bzalasky has joined #ruby-lang
ecnalyr has quit [Remote host closed the connection]
io_syl has quit []
mdedetrich has quit [Quit: Computer has gone to sleep.]
woollyams has quit [Ping timeout: 252 seconds]
relix has joined #ruby-lang
hhatch has joined #ruby-lang
martndemus has joined #ruby-lang
lsegal has quit [Read error: Connection reset by peer]
hahuang65 has joined #ruby-lang
lsegal has joined #ruby-lang
mistym has quit [Remote host closed the connection]
Trapper has quit [Ping timeout: 272 seconds]
julweber_ has quit [Remote host closed the connection]
julweber has joined #ruby-lang
mj12albert has quit [Ping timeout: 272 seconds]
mj12albert has joined #ruby-lang
mj12albert has quit [Max SendQ exceeded]
mj12albert has joined #ruby-lang
majjoha has quit [Ping timeout: 272 seconds]
mj12albert has quit [Max SendQ exceeded]
mj12albert has joined #ruby-lang
mj12albert has quit [Max SendQ exceeded]
mj12albert has joined #ruby-lang
mj12albert has quit [Max SendQ exceeded]
julweber has quit [Ping timeout: 260 seconds]
mj12albert has joined #ruby-lang
h_kon has joined #ruby-lang
mj12albert has quit [Client Quit]
arBmind has joined #ruby-lang
kitak has quit [Remote host closed the connection]
kitak has joined #ruby-lang
erik____ has quit [Ping timeout: 248 seconds]
erik__ has joined #ruby-lang
workmad3 has joined #ruby-lang
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
richardburton has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
richardburton has quit [Ping timeout: 248 seconds]
bzalasky has quit [Ping timeout: 272 seconds]
ecnalyr has joined #ruby-lang
jkprg has joined #ruby-lang
<yorickpeterse> morning
ruurd has joined #ruby-lang
diegoviola has joined #ruby-lang
majjoha has joined #ruby-lang
ecnalyr has quit [Ping timeout: 245 seconds]
kenta_ has quit [Remote host closed the connection]
kenta_ has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
Scader has joined #ruby-lang
hahuang65 has quit [Ping timeout: 256 seconds]
kenta_ has quit [Ping timeout: 245 seconds]
kek has joined #ruby-lang
tylersmith has quit [Ping timeout: 240 seconds]
hahuang65 has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 252 seconds]
richardburton has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
michael_mbp is now known as zz_michael_mbp
<ndrst> morning mr peterse
kek has quit [Remote host closed the connection]
diegoviola has quit [Quit: WeeChat 0.4.2]
gnufied has joined #ruby-lang
julweber has joined #ruby-lang
benlovell has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
kgrz has quit [Ping timeout: 252 seconds]
<gnufied> morning
elia has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 272 seconds]
asdasd has quit [Ping timeout: 240 seconds]
chendo has quit [*.net *.split]
petercooper has joined #ruby-lang
judofyr has joined #ruby-lang
<judofyr> hey folks
zz_michael_mbp is now known as michael_mbp
chendo has joined #ruby-lang
benlovell has quit [Ping timeout: 260 seconds]
francisfish has joined #ruby-lang
benlovell has joined #ruby-lang
mannyt has quit [Quit: mannyt]
francisfish has quit [Ping timeout: 265 seconds]
jigfox has joined #ruby-lang
petercooper has quit [Remote host closed the connection]
petercooper has joined #ruby-lang
petercooper has quit [Ping timeout: 246 seconds]
francisfish has joined #ruby-lang
mucker has quit [Remote host closed the connection]
mucker has joined #ruby-lang
adambeynon has joined #ruby-lang
kek has joined #ruby-lang
<yorickpeterse> TODAY'S RANDOM BUG
<yorickpeterse> AUTOLOAD + LOADING PRY WHICH IS NOT BUNBLED
<yorickpeterse> * bundled
<yorickpeterse> RANDOM FAILURES, YAY
mucker has quit [Ping timeout: 256 seconds]
CoreData has quit [Quit: CoreData]
symm- has joined #ruby-lang
cads has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 240 seconds]
tylersmith has joined #ruby-lang
stunthamster has joined #ruby-lang
<judofyr> yorickpeterse: random failures? how so?
tylersmith has quit [Ping timeout: 252 seconds]
yalue has quit [Ping timeout: 272 seconds]
<yorickpeterse> tl;dr class gets loaded based on identifier in input, some of these load Pry
<yorickpeterse> Pry was not bundled in the package
<yorickpeterse> shit fails randomly
<judofyr> whitequark: you around?
<judofyr> I need to hang around here more
<judofyr> I feel like I haven't spoken to whitequark in ages
<yorickpeterse> Don't worry, he spoke more than enough
<judofyr> :)
<yorickpeterse> need to update it again though
CoreData has joined #ruby-lang
<judofyr> holy crap
<judofyr> I'm number 7
<judofyr> totally losing in last few months though
<judofyr> (as I'm not working full-time)
<yorickpeterse> min you this is since Jan 2012
* chris2 remembers when he was #1
<yorickpeterse> * mind
<yorickpeterse> judofyr: you got sacked?
<judofyr> yorickpeterse: studying physics
<yorickpeterse> Ah
<yorickpeterse> Somehow I always thought you were a full time brogrammer
<yorickpeterse> maybe that profile picture of yours made me think that
<judofyr> I were a full time brogrammer
<judofyr> for two years
<judofyr> now it's physics baby
<yorickpeterse> ah, why physics?
<judofyr> why not?
<judofyr> *shrugs*
<judofyr> I just want to learn something
<chris2> whats up with manveru...
workmad3 has joined #ruby-lang
<judofyr> also: what do you think about Rubinius X?
<judofyr> I love some of the ideas, but I wonder why it couldn't "just" be a library
<judofyr> err, s/wonder why it/wonder why those ideas/
<yorickpeterse> too vague atm
<yorickpeterse> time will tell
kenta_ has joined #ruby-lang
<bougyman> chris2: mia for a while
<judofyr> mia?
jigfox has quit [Remote host closed the connection]
<yorickpeterse> Missing In Action
<judofyr> ah
robbyoconnor has quit [Ping timeout: 246 seconds]
<ljarvis> hi
<maloik> o/
<judofyr> hey jarvis
<ljarvis> wussup nerds
<ljarvis> lol that injekt guy is number 4
<judofyr> current status: http://i.imgur.com/hXkuA1n.gif
<ljarvis> not sure whether birthday or not
<judofyr> actually, yesterday I just got old enough to drink in the states
<judofyr> \o/
<ljarvis> happy birthday for yesterday!
<maloik> can't be very hard to print out that many lines being an inkjet amirite
<judofyr> \o\
<judofyr> maloik++
<maloik> and happy birthday :)
<ljarvis> haarrrr
<ljarvis> lol @ apeiros_ having more lines than apeiros
bastilian has quit [Ping timeout: 246 seconds]
<ljarvis> ljarvis (1140)
<ljarvis> catching up
<apeiros> ljarvis: yeah, that f'ing impostor :(
<ljarvis> "Poor yorickpeterse, nobody likes him/her. He/She was attacked 7 times."
<ljarvis> apeiros: inorite :(
yalue has joined #ruby-lang
ryez has quit [Ping timeout: 250 seconds]
Nisstyre-laptop has quit [Ping timeout: 260 seconds]
cnivolle has joined #ruby-lang
<apeiros> inorite?
<apeiros> (I know, right?)
<ljarvis> unorite
<judofyr> right
<yorickpeterse> Today is "Driveby patch Wednesday"
<yorickpeterse> How many things can one nerd patch at once while also trying to release stuff before Thursday afternoon
<yorickpeterse> oh and of course this week our Jenkins Campfire plugin started bitching about SSL
<workmad3> hehe
cnivolle has quit [Remote host closed the connection]
cnivolle has joined #ruby-lang
JoshuaPaling has joined #ruby-lang
CoreData has quit [Quit: CoreData]
symm- has quit [Ping timeout: 265 seconds]
scottschecter has joined #ruby-lang
CoreData has joined #ruby-lang
h_kon has quit [Remote host closed the connection]
judofyr has quit [Remote host closed the connection]
h_kon has joined #ruby-lang
h_kon_ has joined #ruby-lang
h_kon has quit [Remote host closed the connection]
Coincidental has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
VTLob has joined #ruby-lang
_if has joined #ruby-lang
Coincidental has quit [Ping timeout: 240 seconds]
matti has joined #ruby-lang
scottschecter has quit [Ping timeout: 246 seconds]
bastilian has joined #ruby-lang
badboy4471 has quit [Ping timeout: 245 seconds]
ledestin has quit [Quit: ledestin]
sarsntony has quit []
kek has quit [Remote host closed the connection]
Squarepy has joined #ruby-lang
<yorickpeterse> Mongoid is a bloated mess
ledestin has joined #ruby-lang
CoreData has quit [Ping timeout: 256 seconds]
symm- has joined #ruby-lang
martndemus has quit [Ping timeout: 246 seconds]
judofyr has joined #ruby-lang
mucker has joined #ruby-lang
richardburton has quit [Quit: Leaving.]
majjoha has quit [Read error: Operation timed out]
sepp2k has joined #ruby-lang
SteveBenner9 has joined #ruby-lang
cored has joined #ruby-lang
stamina has joined #ruby-lang
_if has quit [Remote host closed the connection]
SteveBenner9 has quit [Quit: Leaving]
cored has quit [Ping timeout: 246 seconds]
tbuehlmann has quit [Ping timeout: 240 seconds]
cored has joined #ruby-lang
kek has joined #ruby-lang
CoreData has joined #ruby-lang
martndemus has joined #ruby-lang
majjoha has joined #ruby-lang
tbuehlmann has joined #ruby-lang
stardiviner has joined #ruby-lang
CoreData has quit [Ping timeout: 256 seconds]
jonathanmarvens has joined #ruby-lang
jonathanmarvens has quit [Remote host closed the connection]
jonathanmarvens has joined #ruby-lang
kek has quit [Ping timeout: 246 seconds]
martndemus has quit [Ping timeout: 240 seconds]
jonathanmarvens has quit [Remote host closed the connection]
VTLob has quit [Quit: VTLob]
martndemus has joined #ruby-lang
kitak has quit [Remote host closed the connection]
JoshuaPaling has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mucker has quit [Remote host closed the connection]
Elico has quit [Ping timeout: 245 seconds]
mucker has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby-lang
bastilian has quit [Quit: Leaving...]
mucker_ has joined #ruby-lang
mucker has quit [Ping timeout: 245 seconds]
Domon has quit [Remote host closed the connection]
Domon has joined #ruby-lang
JoshuaPaling has joined #ruby-lang
Domon has quit [Remote host closed the connection]
sirfilip has joined #ruby-lang
jkprg has quit [Quit: jkprg]
sascha_d has quit [Quit: obai]
fijimunkii has quit [Ping timeout: 272 seconds]
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
francisfish has quit [Remote host closed the connection]
francisfish has joined #ruby-lang
<sirfilip> morning
francisfish has quit [Ping timeout: 272 seconds]
symm- has quit [Ping timeout: 240 seconds]
kek has joined #ruby-lang
_if has joined #ruby-lang
skade has joined #ruby-lang
<judofyr> TIL: ruby -rdigest/sha2 -rdigest/bubblebabble -e 'puts Digest::SHA256.bubblebabble("Hello world")'
<judofyr> >> require 'digest/sha2'; require 'digest/bubblebabble'; Digest::SHA256.bubblebabble("Hello world")
<eval-in> judofyr => "xinav-sedas-pobur-dipuv-huvic-patik-lidic-rugac-kogac-dotuz-finyr-ducyl-disih-fadom-parup-fezuf-sexex" (https://eval.in/54827)
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
<yorickpeterse> the fuck is that
<yorickpeterse> "Yeah it's the dish-fandom-parup-sexex"
<yorickpeterse> I'd say it's still pretty hard
malev has joined #ruby-lang
hackndoes has joined #ruby-lang
hackndoes is now known as Guest26412
mnufweli has joined #ruby-lang
arBmind1 has joined #ruby-lang
tbuehlmann has quit [Ping timeout: 272 seconds]
arBmind has quit [Ping timeout: 272 seconds]
Elico has joined #ruby-lang
robbyoconnor has joined #ruby-lang
ryez has joined #ruby-lang
jxpx777 has quit [Quit: Leaving...]
banister`sleep has quit [Quit: Computer has gone to sleep.]
francisfish has joined #ruby-lang
breakingthings has joined #ruby-lang
Guest26412 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
ldnunes has joined #ruby-lang
mannyt has joined #ruby-lang
alexju has joined #ruby-lang
bastilian has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 248 seconds]
dhruvasagar has quit [Ping timeout: 272 seconds]
jvrmaia has joined #ruby-lang
francisfish has quit [Read error: Connection reset by peer]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
francisfish has joined #ruby-lang
Squarepy has quit [Ping timeout: 272 seconds]
mannyt has quit [Quit: mannyt]
sr78ger has joined #ruby-lang
waxjar has quit [Ping timeout: 245 seconds]
mdedetrich has joined #ruby-lang
Squarepy has joined #ruby-lang
alexju has quit [Remote host closed the connection]
waxjar has joined #ruby-lang
alexju has joined #ruby-lang
kurko_ has joined #ruby-lang
benlovell has quit [Ping timeout: 248 seconds]
jxpx777 has joined #ruby-lang
alexju has quit [Ping timeout: 248 seconds]
fuhgeddaboudit has quit [Ping timeout: 245 seconds]
cnivolle_ has joined #ruby-lang
prisoner has joined #ruby-lang
enebo has joined #ruby-lang
jxie has quit [Quit: leaving]
cnivolle has quit [Ping timeout: 256 seconds]
iraja has joined #ruby-lang
benlovell has joined #ruby-lang
yfeldblum has quit [Ping timeout: 268 seconds]
Elico has quit [Ping timeout: 245 seconds]
tkuchiki has quit [Remote host closed the connection]
_if has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby-lang
flip_digits has joined #ruby-lang
mucker_ has quit [Remote host closed the connection]
Trapper has joined #ruby-lang
tkuchiki has quit [Ping timeout: 245 seconds]
imperator has joined #ruby-lang
freedrull has quit [Ping timeout: 245 seconds]
freedrull has joined #ruby-lang
GaelanAintAround is now known as Gaelan
tomzx_mac has joined #ruby-lang
Elico has joined #ruby-lang
robbyoconnor has joined #ruby-lang
soba has quit [Ping timeout: 248 seconds]
banisterfiend has joined #ruby-lang
mannyt has joined #ruby-lang
Elico has quit [Ping timeout: 245 seconds]
bastilian has quit [Ping timeout: 265 seconds]
mucker has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
enebo has quit [Quit: enebo]
Trapper has quit [Quit: Lost terminal]
Mon_Ouie has quit [Ping timeout: 241 seconds]
Gaelan is now known as GaelanAintAround
ecnalyr has joined #ruby-lang
fuhgeddaboudit has joined #ruby-lang
r0bby_ has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 265 seconds]
kgrz has joined #ruby-lang
ecnalyr has quit [Ping timeout: 245 seconds]
Johz has joined #ruby-lang
lfox has joined #ruby-lang
alexju has joined #ruby-lang
dhruvasagar has joined #ruby-lang
yfeldblum has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
bastilian has joined #ruby-lang
stevepsharpe has quit [Quit: Linkinus - http://linkinus.com]
tomzx_mac has quit [Ping timeout: 256 seconds]
enebo has joined #ruby-lang
prisoner has quit [Ping timeout: 252 seconds]
mannyt_ has joined #ruby-lang
ssb123 has joined #ruby-lang
mannyt has quit [Ping timeout: 245 seconds]
mannyt_ is now known as mannyt
kek has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
Elico has joined #ruby-lang
momomomomo has joined #ruby-lang
bean__ has joined #ruby-lang
kek has joined #ruby-lang
sascha_d has joined #ruby-lang
jxpx777 has quit [Ping timeout: 245 seconds]
fijimunkii has joined #ruby-lang
jeff_r has joined #ruby-lang
badboy4471 has joined #ruby-lang
nathanstitt has joined #ruby-lang
ssb123 has quit [Read error: Connection reset by peer]
ssb123 has joined #ruby-lang
tylersmith has joined #ruby-lang
r0bby_ has quit [Read error: Connection reset by peer]
kgrz has quit [Remote host closed the connection]
dhruvasagar has quit [Read error: Operation timed out]
stevepsharpe has joined #ruby-lang
retro|cz has joined #ruby-lang
badboy4471 has quit [Ping timeout: 272 seconds]
cnivolle_ has quit [Remote host closed the connection]
mistym has joined #ruby-lang
cnivolle has joined #ruby-lang
micalexa_ has quit [Remote host closed the connection]
bantic has joined #ruby-lang
heftig has quit [Quit: Quitting]
micalexander has joined #ruby-lang
sjltaylo_ has joined #ruby-lang
micalexander has quit [Ping timeout: 240 seconds]
sjltaylo_ has quit [Ping timeout: 248 seconds]
deception has joined #ruby-lang
tubbo has joined #ruby-lang
majjoha has quit [Ping timeout: 248 seconds]
wallerdev has quit [Quit: wallerdev]
Oloryn_lt21 has joined #ruby-lang
jiuweigui has joined #ruby-lang
Oloryn_lt2 has quit [Ping timeout: 272 seconds]
dhruvasagar has joined #ruby-lang
jithu has quit [Quit: Mother, did it need to be so high?]
schaerli has quit [Remote host closed the connection]
schaerli has joined #ruby-lang
mnufweli is now known as tbuehlmann
barttenbrinke has joined #ruby-lang
ykk` has joined #ruby-lang
MaddinXx_ has joined #ruby-lang
schaerli has quit [Ping timeout: 252 seconds]
jsullivandigs has joined #ruby-lang
barttenbrinke has quit [Ping timeout: 252 seconds]
h_kon_ has quit [Remote host closed the connection]
garrettux has joined #ruby-lang
intellitech has joined #ruby-lang
h_kon has joined #ruby-lang
solars has quit [Ping timeout: 260 seconds]
Squarepy has quit [Quit: Leaving]
tkuchiki has joined #ruby-lang
h_kon has quit [Ping timeout: 248 seconds]
wallerdev has joined #ruby-lang
garrettux has quit [Remote host closed the connection]
rippa has joined #ruby-lang
diegoviola has joined #ruby-lang
majjoha has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 245 seconds]
tkuchiki has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby-lang
heftig has joined #ruby-lang
kek has quit [Remote host closed the connection]
kek has joined #ruby-lang
schaerli has joined #ruby-lang
kek has quit [Ping timeout: 245 seconds]
mschneider_dev has joined #ruby-lang
VTLob has joined #ruby-lang
momomomomo_ has joined #ruby-lang
momomomomo_ has quit [Client Quit]
julweber has quit [Remote host closed the connection]
micalexander has joined #ruby-lang
julweber has joined #ruby-lang
julweber has quit [Read error: Connection reset by peer]
julweber has joined #ruby-lang
bantic has quit [Quit: bantic]
bantic has joined #ruby-lang
richardburton has joined #ruby-lang
julweber has quit [Ping timeout: 245 seconds]
bastilian has quit [Quit: Leaving...]
bastilian has joined #ruby-lang
a1ph4g33k has joined #ruby-lang
cnivolle_ has joined #ruby-lang
r0bby_ has joined #ruby-lang
cnivolle has quit [Ping timeout: 256 seconds]
Pupeno has quit [Ping timeout: 252 seconds]
cnivolle_ has quit [Ping timeout: 268 seconds]
jeff_r has quit [Remote host closed the connection]
jeff_r has joined #ruby-lang
bzalasky has joined #ruby-lang
CoreData has joined #ruby-lang
jeff_r has quit [Ping timeout: 272 seconds]
tubbo has quit [Ping timeout: 272 seconds]
elia has quit [Ping timeout: 272 seconds]
jeff_r has joined #ruby-lang
CoreData has quit [Read error: Connection reset by peer]
CoreData has joined #ruby-lang
Johz has quit [Ping timeout: 248 seconds]
tubbo has joined #ruby-lang
CoreData has quit [Read error: Connection reset by peer]
elia has joined #ruby-lang
dhruvasagar has joined #ruby-lang
__butch__ has joined #ruby-lang
hrs has joined #ruby-lang
petercooper has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
shinnya has joined #ruby-lang
corecode has joined #ruby-lang
<corecode> hi
<corecode> how do you suggest to monkey-patch a class method?
elia has quit [Ping timeout: 245 seconds]
jxie has joined #ruby-lang
bantic has quit [Read error: Connection reset by peer]
<apeiros> what's the problem? just like any other method - you define it.
martndemus has quit [Ping timeout: 240 seconds]
<corecode> i'd like to get a reference to the old method before redefining it
<corecode> somehow trying to find the equivalent for instance_method()
heftig has quit [Quit: Quitting]
<corecode> if i use that i get an unbound method - not what i need
tbuehlmann has quit [Remote host closed the connection]
mannyt_ has joined #ruby-lang
bantic has joined #ruby-lang
__butch__ has quit [Remote host closed the connection]
__butch__ has joined #ruby-lang
mannyt has quit [Ping timeout: 245 seconds]
mannyt_ is now known as mannyt
heftig has joined #ruby-lang
bantic has quit [Read error: Connection reset by peer]
bzalasky has quit [Remote host closed the connection]
<apeiros> method
<apeiros> alternatively: alias
elia has joined #ruby-lang
<corecode> ah. Object
<corecode> i was looking in Module
bzalasky has joined #ruby-lang
ashtrail has joined #ruby-lang
diegoviola has quit [Ping timeout: 272 seconds]
mistym has quit [Remote host closed the connection]
bzalasky has quit [Ping timeout: 268 seconds]
ashtrail has quit [Ping timeout: 250 seconds]
bzalasky has joined #ruby-lang
hakunin_ has joined #ruby-lang
hakunin has quit [Ping timeout: 256 seconds]
<corecode> thanks
corecode has left #ruby-lang ["ERC Version 5.3 (IRC client for Emacs)"]
dhruvasagar has quit [Ping timeout: 245 seconds]
arBmind1 has quit [Quit: Leaving.]
bantic has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
bantic has quit [Read error: Connection reset by peer]
bzalasky has joined #ruby-lang
dhruvasagar has joined #ruby-lang
stunthamster has quit [Quit: Linkinus - http://linkinus.com]
mistym has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
hrs has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
bantic has joined #ruby-lang
bantic has quit [Read error: Connection reset by peer]
bzalasky has quit [Ping timeout: 272 seconds]
bantic has joined #ruby-lang
bantic has quit [Read error: Connection reset by peer]
sepp2k has quit [Quit: Konversation terminated!]
tkuchiki has quit [Ping timeout: 272 seconds]
warmwaffles has joined #ruby-lang
<warmwaffles> any of you have experience with google oauth 2 and devise?
kurko_ has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
kurko_ has joined #ruby-lang
<ykk`> not me sorry :( I had help with it once
<warmwaffles> gah
bantic has joined #ruby-lang
<ykk`> someone will know just hang out
<ykk`> that's if you don't figure it out before then :P
francisfish has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
<warmwaffles> I'm trying to get the refresh token one time. I want the user to authorize access and give us consent. After that I have their refresh token and don't want to require them to keep authorizing us unless their refresh token is invalid
francisfish has joined #ruby-lang
<warmwaffles> from what I can see, omniauth isn't that flexible :(
r0bby_ has quit [Ping timeout: 272 seconds]
benlovell has quit [Ping timeout: 240 seconds]
enebo has quit [Ping timeout: 240 seconds]
lfox has quit [Quit: ZZZzzz…]
francisfish has quit [Ping timeout: 245 seconds]
schaerli has quit [Remote host closed the connection]
richardburton has quit [Quit: Leaving.]
schaerli has joined #ruby-lang
bantic has quit [Read error: Connection reset by peer]
<warmwaffles> ¯\_(ツ)_/¯
io_syl has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 272 seconds]
schaerli has quit [Ping timeout: 272 seconds]
r0bby_ has joined #ruby-lang
saarinen has joined #ruby-lang
workmad3 is now known as tubbot
tubbot is now known as workmad3
richardburton has joined #ruby-lang
dhruvasagar has joined #ruby-lang
saarinen has quit [Ping timeout: 272 seconds]
richardburton has quit [Quit: Leaving.]
r0bby_ has quit [Quit: Konversation terminated!]
diegoviola has joined #ruby-lang
judofyr has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
tylersmith has joined #ruby-lang
mschneider_dev has quit [Remote host closed the connection]
elia has quit [Ping timeout: 260 seconds]
mschneider_dev has joined #ruby-lang
jeff_r has quit [Remote host closed the connection]
Nisstyre-laptop has joined #ruby-lang
jeff_r has joined #ruby-lang
diegoviola has quit [Ping timeout: 272 seconds]
hrs has joined #ruby-lang
benanne has joined #ruby-lang
hahuang65 has quit [Ping timeout: 246 seconds]
mschneider_dev has quit [Ping timeout: 245 seconds]
jeff_r has quit [Ping timeout: 268 seconds]
workmad3 has quit [Ping timeout: 248 seconds]
tubbo has quit [Ping timeout: 272 seconds]
dhruvasagar has quit [Ping timeout: 240 seconds]
symm- has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
mbj has joined #ruby-lang
elia has joined #ruby-lang
guest_________ has joined #ruby-lang
jeff_r has joined #ruby-lang
elia has quit [Ping timeout: 245 seconds]
momomomomo has joined #ruby-lang
skade has joined #ruby-lang
mmorga has joined #ruby-lang
havenwood has joined #ruby-lang
lfox has joined #ruby-lang
mmorga has quit [Read error: Connection reset by peer]
mmorga has joined #ruby-lang
flip_digits has quit [Remote host closed the connection]
flip_digits has joined #ruby-lang
x0f_ has joined #ruby-lang
ffio has joined #ruby-lang
mschneider_dev has joined #ruby-lang
saarinen has joined #ruby-lang
adambeynon has joined #ruby-lang
x0f has quit [Ping timeout: 260 seconds]
flip_digits has quit [Ping timeout: 272 seconds]
tubbo has joined #ruby-lang
ruurd_ has joined #ruby-lang
ruurd_ has quit [Client Quit]
Ahti333 has quit [Read error: Connection reset by peer]
kireevco_ has joined #ruby-lang
enebo has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
petercooper has quit [Remote host closed the connection]
petercooper has joined #ruby-lang
hahuang65 has joined #ruby-lang
heftig has quit [Quit: Quitting]
__butch__ has joined #ruby-lang
tubbo has quit [Ping timeout: 272 seconds]
momomomomo has quit [Quit: momomomomo]
ledestin has quit [Ping timeout: 240 seconds]
petercooper has quit [Ping timeout: 260 seconds]
charliesome has joined #ruby-lang
ledestin has joined #ruby-lang
sepp2k has joined #ruby-lang
_dumfries has joined #ruby-lang
bean__ has quit [Quit: Computer has gone to sleep.]
cored has quit [Ping timeout: 240 seconds]
Nisstyre-laptop has quit [Ping timeout: 268 seconds]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
cored has joined #ruby-lang
fijimunk1i has joined #ruby-lang
fijimunkii has quit [Ping timeout: 240 seconds]
tenderlove has joined #ruby-lang
tubbo has joined #ruby-lang
ruurd has joined #ruby-lang
pr0ton has joined #ruby-lang
shinnya has quit [Ping timeout: 272 seconds]
bean__ has joined #ruby-lang
postmodern has joined #ruby-lang
sr78ger has quit [Quit: Textual IRC Client: www.textualapp.com]
<yorickpeterse> herro
sevvie has joined #ruby-lang
<yorickpeterse> warmwaffles: never used it with Google oauth but keep in mind that tokens expire after, I think, 30 days anyway
<warmwaffles> I know refresh tokens don't expire ever
<warmwaffles> but I have to exchange for access tokens
<warmwaffles> Currently ditching omniauth and doing the oauth authentication myself
judofyr has joined #ruby-lang
sevvie has quit [Client Quit]
petercooper has joined #ruby-lang
michael_mbp is now known as zz_michael_mbp
<sirfilip> night
sirfilip has quit [Quit: Leaving]
MrZYX|off is now known as MrZYX
hrs has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Nisstyre-laptop has joined #ruby-lang
petercooper has quit [Ping timeout: 245 seconds]
hrs has joined #ruby-lang
petercooper has joined #ruby-lang
metus_violarium has joined #ruby-lang
judofyr__ has joined #ruby-lang
bantic has joined #ruby-lang
judofyr has quit [Ping timeout: 268 seconds]
bantic has quit [Read error: Connection reset by peer]
pr0ton has quit [Quit: pr0ton]
mmorga has quit [Ping timeout: 272 seconds]
bantic has joined #ruby-lang
bantic has quit [Read error: Connection reset by peer]
pr0ton has joined #ruby-lang
mmorga has joined #ruby-lang
breakingthings has quit []
gennitt has joined #ruby-lang
benlovell has joined #ruby-lang
bantic has joined #ruby-lang
bastilian has quit [Quit: Leaving...]
breakingthings has joined #ruby-lang
gennitt has quit [Client Quit]
LanceHaig has quit [Changing host]
LanceHaig has joined #ruby-lang
bantic has quit [Read error: Connection reset by peer]
lacrosse has joined #ruby-lang
heftig has joined #ruby-lang
francisfish has joined #ruby-lang
bantic has joined #ruby-lang
bantic has quit [Read error: Connection reset by peer]
benlovell has quit [Ping timeout: 245 seconds]
mmorga has quit [Read error: Connection reset by peer]
mmorga has joined #ruby-lang
s0ber has quit [Read error: Connection reset by peer]
francisfish has quit [Ping timeout: 245 seconds]
s0ber has joined #ruby-lang
bantic has joined #ruby-lang
bantic has quit [Read error: Connection reset by peer]
brianpWins has joined #ruby-lang
bantic has joined #ruby-lang
bantic has quit [Read error: Connection reset by peer]
pr0ton has quit [Quit: pr0ton]
petercooper has quit [Remote host closed the connection]
petercooper has joined #ruby-lang
bantic has joined #ruby-lang
specialblend has joined #ruby-lang
bantic has quit [Read error: Connection reset by peer]
specialblend has quit [Client Quit]
petercoo_ has joined #ruby-lang
petercooper has quit [Ping timeout: 245 seconds]
mmorga has quit [Remote host closed the connection]
momomomomo has joined #ruby-lang
bastilian has joined #ruby-lang
Coincidental has joined #ruby-lang
bantic has joined #ruby-lang
bantic has quit [Read error: Connection reset by peer]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
cored has quit [Ping timeout: 268 seconds]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
kirin` has quit [Ping timeout: 268 seconds]
bantic has joined #ruby-lang
bantic has quit [Read error: Connection reset by peer]
apeiros has quit [Read error: Connection reset by peer]
apeiros_ has joined #ruby-lang
mmorga has joined #ruby-lang
ffio has quit [Ping timeout: 268 seconds]
bantic has joined #ruby-lang
mmorga has quit [Read error: Connection reset by peer]
mmorga has joined #ruby-lang
benlovell has joined #ruby-lang
bantic has quit [Read error: Connection reset by peer]
fuhgeddaboudit has quit [Ping timeout: 246 seconds]
bantic has joined #ruby-lang
bantic has quit [Read error: Connection reset by peer]
tubbo has quit [Ping timeout: 272 seconds]
martndemus has joined #ruby-lang
tubbo has joined #ruby-lang
kirin` has joined #ruby-lang
cnivolle has joined #ruby-lang
benlovell has quit [Ping timeout: 240 seconds]
hrs has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ruurd has quit [Quit: Leaving...]
stevepsharpe has quit [Quit: Linkinus - http://linkinus.com]
stevepsharpe has joined #ruby-lang
fuhgeddaboudit has joined #ruby-lang
ffio has joined #ruby-lang
hrs has joined #ruby-lang
kireevco_ has quit [Ping timeout: 272 seconds]
lfox has quit [Quit: ZZZzzz…]
metus_violarium has quit [Quit: Konversation terminated!]
JohnBat26 has quit [Ping timeout: 272 seconds]
bean__ has quit [Quit: Computer has gone to sleep.]
MaddinXx_ has quit [Remote host closed the connection]
kireevco_ has joined #ruby-lang
bean__ has joined #ruby-lang
judofyr__ has quit [Read error: Connection reset by peer]
havenwood has quit [Remote host closed the connection]
mistym is now known as mistym_lunch
momomomomo has quit [Quit: momomomomo]
stevepsharpe has quit [Quit: Linkinus - http://linkinus.com]
jeff_r has quit [Read error: Connection reset by peer]
jeff_r_ has joined #ruby-lang
stevepsharpe has joined #ruby-lang
bastilian has quit [Quit: Leaving...]
pr0ton has joined #ruby-lang
kireevco_ has quit [Ping timeout: 272 seconds]
mbj has quit [Read error: Connection reset by peer]
lfox has joined #ruby-lang
zz_michael_mbp is now known as michael_mbp
momomomomo has joined #ruby-lang
bean__ has quit [Quit: Computer has gone to sleep.]
mbj has joined #ruby-lang
simoz has joined #ruby-lang
yalue has quit [Quit: Leaving]
stevepsharpe has quit [Quit: Leaving...]
mistym has joined #ruby-lang
stamina has quit [Ping timeout: 240 seconds]
lfox has quit [Quit: ZZZzzz…]
stevepsharpe has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
mbj has quit [Quit: leaving]
havenwood has joined #ruby-lang
michael_mbp is now known as zz_michael_mbp
Coincide_ has joined #ruby-lang
Coincidental has quit [Read error: Connection reset by peer]
kireevco_ has joined #ruby-lang
<yorickpeterse> achievement unlocked: hacked stuff in Vimscript
tubbo has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Ping timeout: 245 seconds]
tubbo has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
mschneider_dev has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
mschneider_dev has joined #ruby-lang
mschneider_dev has quit [Changing host]
mschneider_dev has joined #ruby-lang
hrs has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
hrs has joined #ruby-lang
lfox has joined #ruby-lang
tenderlove has quit [Ping timeout: 245 seconds]
francisfish has joined #ruby-lang
mschneider_dev has quit [Ping timeout: 272 seconds]
simoz has quit [Ping timeout: 272 seconds]
pr0ton has quit [Quit: pr0ton]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
francisfish has quit [Ping timeout: 272 seconds]
mistym has quit [Remote host closed the connection]
bastilian has joined #ruby-lang
bastilian has quit [Remote host closed the connection]
mucker has quit [Remote host closed the connection]
GaelanAintAround is now known as Gaelan
stamina has joined #ruby-lang
mucker has joined #ruby-lang
arBmind has joined #ruby-lang
arBmind has quit [Read error: Connection reset by peer]
adambeynon has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
momomomomo has quit [Quit: momomomomo]
mucker has quit [Ping timeout: 260 seconds]
CoreData has joined #ruby-lang
nathanstitt has joined #ruby-lang
mistym_lunch is now known as mistym
pr0ton has joined #ruby-lang
ledestin has quit [Quit: ledestin]
kireevco_ has quit [Ping timeout: 272 seconds]
s0ber_ has joined #ruby-lang
kireevco_ has joined #ruby-lang
banisterfiend is now known as beastieboy
s0ber has quit [Ping timeout: 245 seconds]
s0ber_ is now known as s0ber
cads has quit [Ping timeout: 265 seconds]
yfeldblum has joined #ruby-lang
MrZYX is now known as MrZYX|off
amerine has quit [Quit: Computer has gone to sleep.]
workmad3 has joined #ruby-lang
amerine has joined #ruby-lang
breakingthings has quit []
ldnunes has quit [Quit: Leaving]
Coincide_ has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
CoreData has quit [Read error: Connection reset by peer]
mdedetrich has joined #ruby-lang
Coincidental has quit [Ping timeout: 272 seconds]
benlovell has joined #ruby-lang
ledestin has joined #ruby-lang
hakunin_ is now known as hakunin
mbj has joined #ruby-lang
CoreData has joined #ruby-lang
kirin` has quit [Ping timeout: 245 seconds]
kirin` has joined #ruby-lang
kireevco_ has quit [Read error: Connection reset by peer]
ninjago has joined #ruby-lang
momomomomo has joined #ruby-lang
benlovell has quit [Ping timeout: 268 seconds]
kireevco_ has joined #ruby-lang
hrs has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
deception has quit [Quit: Goodbye]
CoreData has quit [Ping timeout: 272 seconds]
fuhgeddaboudit has quit [Ping timeout: 268 seconds]
enebo has quit [Quit: enebo]
fijimunk1i has quit [Ping timeout: 240 seconds]
adambeynon has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mdedetrich has quit [Ping timeout: 245 seconds]
jonahR has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
ecnalyr has joined #ruby-lang
Gaelan is now known as GaelanAintAround
alexju_ has joined #ruby-lang
CoreData has joined #ruby-lang
bean__ has joined #ruby-lang
JoshuaPaling has joined #ruby-lang
Scader has quit [Ping timeout: 256 seconds]
fuhgeddaboudit has joined #ruby-lang
ecnalyr has quit [Ping timeout: 245 seconds]
Coincidental has joined #ruby-lang
mbj has quit [Quit: leaving]
alexju has quit [Ping timeout: 256 seconds]
jameswatling has joined #ruby-lang
alexju_ has quit [Ping timeout: 240 seconds]
<jameswatling> Hey guys, what is the best way to upload a directory (using paperclip or carrierwave) such that it uploads the folder and keeps the hierachy?
CoreData has quit [Read error: Connection reset by peer]
mschneider_dev has joined #ruby-lang
flip_digits has joined #ruby-lang
<drbrain> jameswatling: require 'find' ?
ykk` has quit [Quit: ykk`]
jaimef has quit [Excess Flood]
<drbrain> jameswatling: or you mean from a browser?
<jameswatling> drbrain: Yeah from a browser
<drbrain> probably need some fancy flash thing
<drbrain> maybe #ror knows
jaimef has joined #ruby-lang
<apeiros_> jameswatling: html does not provide means to upload folders
<apeiros_> only files
<jameswatling> you can upload folders using with directory attribute
<apeiros_> any docs on that?
<apeiros_> `This will only run on an up-to-date webkit browser`
<apeiros_> I see
<jameswatling> yeah which is what I am trying to support ;p
petercoo_ has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix has joined #ruby-lang
bean__ has quit [Quit: Computer has gone to sleep.]
jvrmaia has quit [Quit: Leaving]
iraja has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
majjoha has quit [Read error: Operation timed out]
pr0ton has quit [Quit: pr0ton]
mschneider_dev has quit [Remote host closed the connection]
GaelanAintAround is now known as Gaelan
<crankharder> how do I match all characters including a new line?
<apeiros_> /./m
Gaelan is now known as GaelanAintAround
<apeiros_> /.*/m # actually
momomomomo has quit [Quit: momomomomo]
kurko_ has quit [Ping timeout: 240 seconds]
<crankharder> ty
mdedetrich has joined #ruby-lang
kurko_ has joined #ruby-lang
phrozen77 has quit [Ping timeout: 245 seconds]
pipework has quit [Ping timeout: 245 seconds]
heathjs has joined #ruby-lang
heathjs has joined #ruby-lang
Y_Ichiro_ has quit [Read error: Connection reset by peer]
Y_Ichiro has joined #ruby-lang
heath has quit [Read error: Connection reset by peer]
norplr_ has quit [Ping timeout: 245 seconds]
canton7 has quit [Ping timeout: 248 seconds]
elia has joined #ruby-lang
kurko_ has quit [Ping timeout: 245 seconds]
kireevco_ has quit [Ping timeout: 254 seconds]
phrozen77 has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
kurko_ has joined #ruby-lang
apeiros has joined #ruby-lang
jeff_r_ has quit [Remote host closed the connection]
Coincidental has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 272 seconds]
jeff_r has joined #ruby-lang
Coincidental has joined #ruby-lang
specialblend has joined #ruby-lang
pr0ton has joined #ruby-lang
lunarjar has quit [Quit: ZNC - http://znc.in]
Coincidental has quit [Ping timeout: 240 seconds]
jeff_r has quit [Ping timeout: 272 seconds]
benanne has quit [Quit: kbai]
jonahR has quit [Quit: jonahR]
julweber has joined #ruby-lang
ldnunes has joined #ruby-lang
Coincidental has joined #ruby-lang
warmwaffles has left #ruby-lang [#ruby-lang]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pr0ton has quit [Quit: pr0ton]
Coincide_ has joined #ruby-lang
Coincidental has quit [Read error: Connection reset by peer]
tylersmith has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby-lang
pr0ton has joined #ruby-lang
kurko_ has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby-lang
kurko_ has joined #ruby-lang
hahuang61 has joined #ruby-lang
hahuang65 has quit [Ping timeout: 268 seconds]
Nisstyre-laptop has quit [Quit: Leaving]
jerrytgarcia has quit [Quit: WeeChat 0.4.1]
ruby-lang488 has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
mdedetrich has quit [Quit: Computer has gone to sleep.]
tomzx_mac has joined #ruby-lang
ruby-lang540 has joined #ruby-lang
specialblend has quit [Quit: specialblend]
ruby-lang488 has quit [Ping timeout: 250 seconds]
bean__ has joined #ruby-lang
tubbo has quit [Ping timeout: 272 seconds]
tylersmith has quit [Remote host closed the connection]
bean__ is now known as bean
ruby-lang540 has quit [Quit: Page closed]
vlad_starkov has quit [Read error: Connection reset by peer]
mmorga has quit [Remote host closed the connection]
pipework has joined #ruby-lang
ffio has quit [Ping timeout: 268 seconds]
lfox has quit [Quit: ZZZzzz…]
bean has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby-lang
sepp2k1 has joined #ruby-lang
sepp2k has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Remote host closed the connection]
cnivolle has quit [Remote host closed the connection]
CoreData has joined #ruby-lang
Coincide_ has quit [Remote host closed the connection]
nathanstitt has joined #ruby-lang
mdedetrich has joined #ruby-lang
majjoha has joined #ruby-lang
shams_ has joined #ruby-lang
jiuweigui has quit [Quit: iQuit!]
majjoha has quit [Ping timeout: 245 seconds]
elia has quit [Read error: Connection reset by peer]
havenwood has joined #ruby-lang
shams_ has quit [Client Quit]
jebler has joined #ruby-lang
martndemus has quit [Ping timeout: 268 seconds]
VTLob has quit [Quit: VTLob]
elia has joined #ruby-lang
kitak has joined #ruby-lang
mannyt has quit [Ping timeout: 245 seconds]
benlovell has joined #ruby-lang
whitehat101 has joined #ruby-lang
jebler has quit [Quit: Leaving]
kenta_ has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
sepp2k1 has quit [Quit: Leaving.]
<whitehat101> Hello, I'm investigating some strange behavior with OpenSSL::SSL::SSLSocket and string encodings
jeff_r has joined #ruby-lang
benlovell has quit [Ping timeout: 272 seconds]
<whitehat101> #readline returns UTF-8 encoded strings, until the string actually contains UTF-8, then it claims that the encoding is ASCII-8BIT
jerrytgarcia has joined #ruby-lang
jeff_r_ has joined #ruby-lang
jeff_r has quit [Read error: Connection reset by peer]
<whitehat101> I've been reading through the source, and I'm not sure where to try to patch it
mdedetrich has quit [Quit: Computer has gone to sleep.]
CoreData has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby-lang
CoreData has joined #ruby-lang
<drbrain> whitehat101: have an example script?
<drbrain> whitehat101: can you reproduce it with #sysread?
<drbrain> if you can, the problem lies in the C code
<drbrain> if you cannot, the problem lies in the OpenSSL::Buffering module
<whitehat101> I don't have a concise example, I'm working with the xmpp4r project
<drbrain> whitehat101: look at sample/openssl/echo_*
hhatch has quit [Ping timeout: 252 seconds]
<drbrain> you can probably make a simple example out of that
<whitehat101> I found that #sysread always returns 8BIT, but #readline usually gives UTF-8
<whitehat101> Thank you, i'll look at those
<drbrain> whitehat101: then I imagine the problem is that OpenSSL::Buffering#initialize creates a UTF-8 buffer
<drbrain> (@rbuffer)
<drbrain> I bet that # encoding: ASCII-8BIT at the very top of the file will fix it
snarfmason has quit [Quit: Textual IRC Client: www.textualapp.com]
<whitehat101> in buffering.rb?
<drbrain> in ext/openssl/lib/openssl/buffering.rb
shinnya has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 272 seconds]
jameswatling has left #ruby-lang ["Leaving..."]
<whitehat101> My feeling is that these functions should be returning UTF-8
elia has quit [Quit: Computer has gone to sleep.]
<whitehat101> A patch that works for my project: def sysread *args; super.force_encoding ::Encoding::UTF_8; end
<drbrain> hrm
<drbrain> they should be returning the encoding of the SSLSocket
charliesome has joined #ruby-lang
<whitehat101> It doesn't look like SSLSocket has any supportfor encodings
<whitehat101> I tried setting the encoding of the TCPSocket, but it had no effect
<drbrain> since SSLSocket wraps the TCPSocket, I don't know if that has an effect on SSLSocket#sysread
<whitehat101> I'm guessing that SSLSocket has no idea what the encoding is, it just deals with bytes
<whitehat101> We're passing the SSLSocket directly to REXML::Parsers::SAX2Parser
<whitehat101> and REXML throws exceptions when the input is not UTF-8
<drbrain> possibly, since it isn't an IO subclass and doesn't seem to respond to #set_encoding
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
<drbrain> setting the encoding on the TCPSocket probably has no effect because SSLSocket needs to read binary data off the TCPSocket
charliesome has quit [Ping timeout: 248 seconds]
<drbrain> the ultimate solution would be "make SSLSocket support encodings"
<whitehat101> That sounds right to me
<drbrain> a short-term fix would be "make the SSLSocket methods return a consistent encoding, regardless of correctness"
Coincidental has quit [Remote host closed the connection]
<drbrain> whitehat101: if you file a bug, maybe I'll find the time to fix it for ruby 2.1
Coincidental has joined #ruby-lang
martndemus has joined #ruby-lang
<whitehat101> That would be excellent, thanks
<whitehat101> Should I try to make an example, or just include this conversation?
jsullivandigs has quit [Ping timeout: 272 seconds]
ItSANgo has quit [Ping timeout: 244 seconds]
Coincide_ has joined #ruby-lang
Coincidental has quit [Read error: Connection reset by peer]
<drbrain> this conversation is enough
martndemus has quit [Ping timeout: 245 seconds]
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
foucist has joined #ruby-lang
<foucist> what kind of convention is variable names starting with an underscore? def categories=(_categories)