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]
<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.
<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]
<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]
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]
<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]
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