apeiros_ changed the topic of #ruby to: Ruby 2.1.2; 2.0.0-p481; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
Azure has quit [Quit: Blue Sky Fish]
<TheNet> avi__, nobitanobi thanks. I'll look into that
Azure has joined #ruby
tokik has joined #ruby
Wolland has joined #ruby
MatthewsFace has quit [Ping timeout: 250 seconds]
Anchor has joined #ruby
<nobitanobi> +1
roolo has quit [Quit: Leaving...]
<gr33n7007h> this works so much better #=> https://gist.github.com/anonymous/6940621bb030dfe14764
Wolland has quit [Ping timeout: 240 seconds]
tlarevo has joined #ruby
klmlfl has joined #ruby
<avi__> gr33n7007h: why not just use nmap
mikepack_ has joined #ruby
AlexBlom has quit [Quit: This computer has gone to sleep]
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
krz has joined #ruby
ari-_-e has quit [Ping timeout: 255 seconds]
fabrice31 has joined #ruby
<gr33n7007h> avi__, Thanks
brothmars has joined #ruby
Anchor has quit [Quit:]
mikepack has quit [Ping timeout: 246 seconds]
sdwrage has joined #ruby
jmbrown412 has quit [Remote host closed the connection]
tokik has quit [Ping timeout: 260 seconds]
mikepack_ has quit [Ping timeout: 260 seconds]
jmbrown412 has joined #ruby
jerikl has quit [Quit: jerikl]
m8 has quit [Read error: Connection reset by peer]
Azure has quit [Quit: Blue Sky Fish]
fabrice31 has quit [Ping timeout: 250 seconds]
pietr0 has quit [Quit: pietr0]
Azure has joined #ruby
jerikl has joined #ruby
ddv has quit [Ping timeout: 260 seconds]
Dreamer3__ has quit [Quit: Computer has gone to sleep.]
tusmuertos has quit [Quit: Page closed]
sepp2k1 has joined #ruby
toastynerd has joined #ruby
jmbrown412 has quit [Ping timeout: 255 seconds]
benzrf|offline is now known as benzrf
sepp2k has quit [Ping timeout: 264 seconds]
seamon has joined #ruby
asteve has joined #ruby
ddv has joined #ruby
saarinen has quit [Quit: saarinen]
[gmi] has joined #ruby
dgutierrez1287 has joined #ruby
crdpink has joined #ruby
crdprink2 has quit [Ping timeout: 260 seconds]
MatthewsFace has joined #ruby
asteve has quit [Client Quit]
earthquake has joined #ruby
_sillymarkets has joined #ruby
tylerkern has joined #ruby
starless has joined #ruby
ari-_-e has joined #ruby
tokik has joined #ruby
<_sillymarkets> What's the best way to convert a CSV file to XLSX ?
[gmi] has quit [Client Quit]
<Radar> _sillymarkets: File->Import
<Radar> Probably
newton has joined #ruby
KnownSyntax has quit [Ping timeout: 240 seconds]
<shevy> prayers
AlSquire has quit [Quit: This computer has gone to sleep]
ffranz has quit [Quit: Leaving]
icebourg has joined #ruby
icebourg has quit [Max SendQ exceeded]
Aaaal has quit [Quit: Aaaal]
nobitanobi has quit []
thams has quit [Quit: thams]
icebourg has joined #ruby
Girakrok has joined #ruby
icebourg has quit [Client Quit]
benlieb has quit [Quit: benlieb]
linojon has joined #ruby
b00stfr3ak has quit [Ping timeout: 255 seconds]
sylvanica has joined #ruby
oo_ has joined #ruby
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
britneywright has joined #ruby
yetanotherdave has quit [Ping timeout: 255 seconds]
Akagi201_ has quit [Ping timeout: 255 seconds]
blackgoat has quit [Ping timeout: 272 seconds]
blackgoat has joined #ruby
lyuzashi has joined #ruby
Kricir has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
britneywright has quit [Ping timeout: 250 seconds]
gkagan has joined #ruby
avi__ has quit [Quit: Reconnecting]
avi__ has joined #ruby
hamakn has joined #ruby
goshdarnyou has quit [Quit: Connection closed for inactivity]
ghr has joined #ruby
avi__ has quit [Client Quit]
emmesswhy has quit [Quit: This computer has gone to sleep]
oo_ has quit [Remote host closed the connection]
AlexBlom has joined #ruby
oo_ has joined #ruby
emandari has quit [Ping timeout: 260 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gkagan has quit [Ping timeout: 264 seconds]
gerep has quit [Ping timeout: 255 seconds]
patrick99e99 has joined #ruby
lw has quit [Read error: Connection reset by peer]
hamakn has quit [Ping timeout: 250 seconds]
sepp2k1 has quit [Read error: Connection reset by peer]
nfk has quit [Quit: yawn]
lw has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
ghostmoth has quit [Quit: ghostmoth]
oo_ has quit [Ping timeout: 245 seconds]
oo_ has joined #ruby
yubrew has joined #ruby
mary5030 has joined #ruby
jhass is now known as jhass|off
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
toastynerd has quit [Remote host closed the connection]
SilkFox_ has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
PanPan has joined #ruby
toastynerd has joined #ruby
gkagan has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thams has joined #ruby
avi__ has joined #ruby
SilkFox_ has quit [Ping timeout: 260 seconds]
havenwood has quit [Remote host closed the connection]
asteve has joined #ruby
toastynerd has quit [Ping timeout: 240 seconds]
hooper has quit [Quit: Leaving.]
gkagan has quit [Ping timeout: 240 seconds]
oo_ has quit [Remote host closed the connection]
seamon has quit [Quit: Zzzzzzz]
bricker`work has quit [Ping timeout: 240 seconds]
iamjarvo has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
jay___ is now known as rubyonrailed
toastynerd has joined #ruby
TorpedoSkyline has joined #ruby
oo_ has joined #ruby
echooo has joined #ruby
marr has quit []
Channel6 has joined #ruby
sevenseacat has joined #ruby
wjimenez_ has quit [Remote host closed the connection]
zoo-zed has joined #ruby
TheNet has quit [Quit: Leaving...]
jerikl has quit [Quit: jerikl]
sylvanica has quit [Ping timeout: 260 seconds]
jfutbol has quit [Ping timeout: 255 seconds]
ringaring has joined #ruby
Wolland has joined #ruby
klmlfl has quit [Read error: Connection reset by peer]
starless has quit [Ping timeout: 260 seconds]
klmlfl has joined #ruby
lw has quit [Quit: s]
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tkuchiki has joined #ruby
TorpedoSkyline has joined #ruby
tylerkern has joined #ruby
jfutbol has joined #ruby
Kricir has quit [Remote host closed the connection]
skysploit has joined #ruby
Wolland has quit [Ping timeout: 250 seconds]
sylvanica has joined #ruby
starless has joined #ruby
crdprink2 has joined #ruby
RustyShackleford has joined #ruby
sdouglas has joined #ruby
crdpink has quit [Ping timeout: 246 seconds]
todor_ has quit [Read error: Connection reset by peer]
todor has joined #ruby
duellsy has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
sparrovv has joined #ruby
linojon has quit [Quit: enuf of this]
deric_skibotn has quit [Ping timeout: 240 seconds]
<duellsy> hey gang, searched high and low for a solution to this... last resort is here. when I try "get inatall vagrant-notify" I'm getting the following:
<duellsy> ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
krz has quit [Quit: WeeChat 0.4.3]
beemo has joined #ruby
zoo-zed has quit [Quit: Textual IRC Client: www.textualapp.com]
beemo has quit [Remote host closed the connection]
<wallerdev> try gem instead of get
beemo has joined #ruby
<duellsy> sorry... typo
<duellsy> gem install vagrant-notify
sparrovv has quit [Ping timeout: 240 seconds]
<wallerdev> installed fine for me
<wallerdev> are you behind a proxy
<duellsy> nope, just a regular network
<duellsy> some gem installs seem to work, others fail like this
<duellsy> which is what confuses me
<wallerdev> whats in your gem sources
chihhsin_cloud has joined #ruby
civillian has joined #ruby
hellangel7 has joined #ruby
<wallerdev> are you in australia or something
troyready has quit [Ping timeout: 264 seconds]
<duellsy> yep, Melbourne
<wallerdev> i cant connect to that au-m server either haha
* sevenseacat tries installing it from Perth
<sevenseacat> kaboom
<sevenseacat> same thing
davispuh has quit [Ping timeout: 245 seconds]
<duellsy> same error?
<wallerdev> rip australia
Akagi201 has joined #ruby
banisterfiend has quit [Ping timeout: 240 seconds]
<duellsy> so is there any work around I could try?
skysploit has quit [Remote host closed the connection]
mercwithamouth has joined #ruby
jonr22 has quit [Ping timeout: 255 seconds]
<wallerdev> a vpn
<wallerdev> haha ;)
Dreamer3 has joined #ruby
sdwrage has joined #ruby
<wallerdev> lolol
<duellsy> argh
chipotle has joined #ruby
starless has quit [Quit: Leaving]
<wallerdev> try that one
<duellsy> that worked
<wallerdev> yay
<wallerdev> then just gem install --local mygem.gem
havenwood has joined #ruby
<sevenseacat> so something is borked on the au-m server
<wallerdev> yeah
britneywright has joined #ruby
peret has joined #ruby
maroloccio has quit [Ping timeout: 240 seconds]
hellangel7 has quit [Remote host closed the connection]
amclain has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
SCHAAP137 has quit [Quit: Leaving]
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<gr33n7007h> gem install --local vagrant-notify-0.4.0.gem
<duellsy> ah, then reference that. cool
thams has quit [Quit: thams]
orison has joined #ruby
orison has quit [Remote host closed the connection]
tylerkern has joined #ruby
<duellsy> worked a treat, thanks wallerdev gr33n7007h sevenseacat
ringaring has quit [Ping timeout: 250 seconds]
toastynerd has quit [Remote host closed the connection]
cocotton has joined #ruby
<wallerdev> :)
<wallerdev> sorry you live in australia
Brycetron has quit []
<wallerdev> lol
<sevenseacat> :(
<sevenseacat> but we are the lucky country
<duellsy> haha
<wallerdev> i heard you have like 1gb data caps and horrible internet there
<pontiki> ♫ tie yer kangaroo down ♫
<duellsy> happy to live here, US seems pretty broken to me
JoshGlzBrk has joined #ruby
Cache_Money has joined #ruby
<wallerdev> US is crazy but we just ignore the craziness most of the time
tkuchiki_ has joined #ruby
<newton> I've got a strange issue with sqlite-ruby making a query: http://pastie.org/9493211 - has anyone seen something like this? if I nick = 'newton', it also works. :s
deric_skibotn has joined #ruby
goshdarnyou has joined #ruby
<wallerdev> maybe it got added to the db in between the time you made the calls
<wallerdev> :p
fgo has quit []
<newton> I put it in the db before running :(
<wallerdev> yeah no idea
<wallerdev> sorry
AlexBlom has quit [Quit: This computer has gone to sleep]
tkuchiki has quit [Ping timeout: 250 seconds]
IcyDragon has joined #ruby
iteratorP has quit [Remote host closed the connection]
InhalingPixels has quit [Remote host closed the connection]
IceDragon has quit [Ping timeout: 272 seconds]
iteratorP has joined #ruby
IcyDragon is now known as IceDragon
yubrew has joined #ruby
ghr has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
jkline has quit [Quit: jkline]
philcrissman has joined #ruby
AlexBlom has joined #ruby
MatthewsFace has quit [Ping timeout: 246 seconds]
qmfnp has joined #ruby
OrkzRule has quit [Ping timeout: 240 seconds]
Soliah has quit [Read error: Connection reset by peer]
Soliah has joined #ruby
Vektyr has quit [Read error: Connection reset by peer]
narcan has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
yubrew has quit [Ping timeout: 260 seconds]
OrkzRule has joined #ruby
philcrissman has quit [Ping timeout: 255 seconds]
Zenigor has joined #ruby
banister has joined #ruby
tylerkern has quit [Ping timeout: 264 seconds]
Lewix has joined #ruby
tylerkern has joined #ruby
rostam has quit [Remote host closed the connection]
sylvanica has quit [Remote host closed the connection]
InhalingPixels has joined #ruby
klmlfl has quit [Quit: klmlfl]
toastynerd has joined #ruby
cocotton_ has joined #ruby
SilkFox_ has joined #ruby
gkagan has joined #ruby
RustyShackleford has quit [Ping timeout: 260 seconds]
toastynerd has quit [Remote host closed the connection]
cocotton has quit [Ping timeout: 245 seconds]
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
patrick99e99 has quit [Ping timeout: 240 seconds]
tkuchiki_ has quit [Remote host closed the connection]
SilkFox_ has quit [Ping timeout: 240 seconds]
banister has quit [Ping timeout: 246 seconds]
i8igmac has quit [Ping timeout: 246 seconds]
tkuchiki has joined #ruby
rostam has joined #ruby
gkagan has quit [Ping timeout: 260 seconds]
PanPan has quit [Quit: ChatZilla 0.9.90.1 [Firefox 31.0/20140716183446]]
testcore has joined #ruby
ghostmoth has joined #ruby
erts has joined #ruby
erts has quit [Remote host closed the connection]
PanPan has joined #ruby
erts has joined #ruby
RustyShackleford has joined #ruby
fabrice31 has joined #ruby
Zenigor has quit [Remote host closed the connection]
tectonic has joined #ruby
mikepack has joined #ruby
bmurt has joined #ruby
mikepack has quit [Remote host closed the connection]
sdouglas has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 250 seconds]
jkline has joined #ruby
mikepack has joined #ruby
Wolland has joined #ruby
Kricir has joined #ruby
sdouglas has joined #ruby
RustyShackleford has left #ruby ["Leaving"]
beemo_ has joined #ruby
MatthewsFace has joined #ruby
havenwood has quit []
beemo_ has quit [Remote host closed the connection]
deric_skibotn has quit [Ping timeout: 245 seconds]
orison has joined #ruby
beemo_ has joined #ruby
wallerdev has quit [Quit: wallerdev]
beemo has quit [Ping timeout: 255 seconds]
cocotton_ has quit [Remote host closed the connection]
SilkFox_ has joined #ruby
orison is now known as sylvanica
Wolland has quit [Ping timeout: 255 seconds]
dorei has quit []
Bumptious has joined #ruby
SilkFox_ has quit [Ping timeout: 250 seconds]
goleldar has quit [Remote host closed the connection]
goleldar has joined #ruby
InhalingPixels has quit [Remote host closed the connection]
nateberkopec has quit [Quit: Leaving...]
jmbrown412 has joined #ruby
InhalingPixels has joined #ruby
Kricir has quit [Remote host closed the connection]
Girakrok has quit [Ping timeout: 255 seconds]
Dreamer3 has quit [Quit: Computer has gone to sleep.]
TorpedoSkyline has joined #ruby
goleldar has quit [Ping timeout: 255 seconds]
andrewjanssen has joined #ruby
rezzack has quit [Quit: Leaving.]
gregf has quit [Ping timeout: 255 seconds]
jmbrown412 has quit [Ping timeout: 240 seconds]
emmesswhy has joined #ruby
nateberkopec has joined #ruby
GeekOnCoffee has quit [Ping timeout: 264 seconds]
GeekOnDecaf has joined #ruby
jerikl has joined #ruby
GeekOnDecaf is now known as GeekOnCoffee
Kricir has joined #ruby
Wolland has joined #ruby
echooo has quit [Ping timeout: 264 seconds]
maletor has joined #ruby
jonahR has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
andrewjanssen has quit [Quit: Leaving...]
jfutbol has quit [Remote host closed the connection]
havenwood has joined #ruby
hamakn has joined #ruby
yubrew has joined #ruby
mikepack has quit [Remote host closed the connection]
sylvanica has quit [Remote host closed the connection]
gregf has joined #ruby
echooo has joined #ruby
Lexun has joined #ruby
qmfnp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kricir has quit [Remote host closed the connection]
mgorbach has quit [Quit: ZNC - http://znc.in]
yubrew has quit [Ping timeout: 264 seconds]
Zenigor has joined #ruby
mgorbach has joined #ruby
dkamioka has joined #ruby
jkline has quit [Quit: jkline]
Zenigor has quit [Read error: Connection reset by peer]
Zenigor has joined #ruby
ghr has joined #ruby
dkamioka has quit [Remote host closed the connection]
ixti has quit [Quit: WeeChat 0.4.3]
dkamioka_ has joined #ruby
benlieb has joined #ruby
geggam has joined #ruby
ghr has quit [Ping timeout: 260 seconds]
pietr0 has joined #ruby
Haiiro has joined #ruby
Haiiro has quit [Max SendQ exceeded]
nobitanobi has joined #ruby
axsuul has quit [Read error: No route to host]
nateberkopec has quit [Quit: Leaving...]
iteratorP has quit [Remote host closed the connection]
echooo1 has joined #ruby
gkagan has joined #ruby
echooo has quit [Ping timeout: 250 seconds]
Spami has quit [Quit: This computer has gone to sleep]
binaryhat has quit [Quit: Leaving]
amargherio has joined #ruby
dkamioka_ has quit [Remote host closed the connection]
nszceta has joined #ruby
dkamioka has joined #ruby
gkagan has quit [Ping timeout: 264 seconds]
badhatter has quit [Remote host closed the connection]
iteratorP has joined #ruby
timonv_ has joined #ruby
mosez has quit [Ping timeout: 245 seconds]
jonahR has quit []
wallerdev has joined #ruby
mosez has joined #ruby
benlieb has quit [Quit: benlieb]
GeekOnCoffee has quit [Ping timeout: 240 seconds]
dkamioka has quit [Ping timeout: 260 seconds]
havenwood has quit []
beemo_ has quit [Ping timeout: 245 seconds]
timonv_ has quit [Ping timeout: 245 seconds]
dopie has joined #ruby
GeekOnCoffee has joined #ruby
duggiefresh has joined #ruby
Lexun has quit [Quit: Manjaro-KDE user leaving!]
Lexun has joined #ruby
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
lukeholder has joined #ruby
SilkFox_ has joined #ruby
mikepack has joined #ruby
lukeholder has quit [Max SendQ exceeded]
zeroNones has joined #ruby
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
braincrash has quit [Quit: bye bye]
lukeholder has joined #ruby
Cheezebox has joined #ruby
<_sillymarkets> Can the Spreadsheet gem create graphs?
sparrovv has joined #ruby
britneywright has joined #ruby
beemo has joined #ruby
SilkFox_ has quit [Ping timeout: 245 seconds]
nszceta has quit []
braincrash has joined #ruby
amargherio has quit [Ping timeout: 272 seconds]
sparrovv has quit [Ping timeout: 260 seconds]
iteratorP has quit [Remote host closed the connection]
cleopatra has quit [Ping timeout: 245 seconds]
michaeldeol has joined #ruby
mijicd has quit [Ping timeout: 245 seconds]
ghostmoth has quit [Quit: ghostmoth]
Cheezebox has quit [Remote host closed the connection]
nobitanobi has quit []
mijicd has joined #ruby
troyready has joined #ruby
jusmyth has joined #ruby
nateberkopec has joined #ruby
day has quit [Ping timeout: 264 seconds]
OffTheRails has joined #ruby
mary5030 has quit [Remote host closed the connection]
Dreamer3 has joined #ruby
SilkFox_ has joined #ruby
Takle has joined #ruby
day has joined #ruby
brothmars has quit [Ping timeout: 272 seconds]
yubrew has joined #ruby
philcrissman has joined #ruby
crdpink has joined #ruby
emocakes has joined #ruby
thomasxie has joined #ruby
tlarevo has quit [Remote host closed the connection]
crdprink2 has quit [Ping timeout: 255 seconds]
terrell_t has quit [Read error: Connection reset by peer]
jfutbol has joined #ruby
zorak has quit [Ping timeout: 246 seconds]
emocakes__ has quit [Ping timeout: 250 seconds]
Takle has quit [Ping timeout: 255 seconds]
echooo has joined #ruby
yubrew has quit [Ping timeout: 255 seconds]
echooo1 has quit [Ping timeout: 264 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
philcrissman has quit [Ping timeout: 245 seconds]
earthquake has quit [Quit: earthquake]
Kricir has joined #ruby
zz_anildigital is now known as anildigital
maletor has quit [Quit: Computer has gone to sleep.]
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aspires has quit []
zorak has joined #ruby
zorak is now known as zorak8
zorak8 has quit [Client Quit]
jusmyth has left #ruby [#ruby]
zorak8 has joined #ruby
earthquake has joined #ruby
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ghr has joined #ruby
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ghostmoth has joined #ruby
Azure has quit [Ping timeout: 250 seconds]
ghr has quit [Ping timeout: 245 seconds]
fabrice31 has joined #ruby
crantron has joined #ruby
Azure has joined #ruby
Kricir has quit [Remote host closed the connection]
alexju has joined #ruby
fabrice31 has quit [Ping timeout: 240 seconds]
gkagan has joined #ruby
<pontiki> wait here while i go read the documentation for you
<sevenseacat> lol
frankle has quit [Quit: Connection closed for inactivity]
rubyonrailed has quit []
emocakes__ has joined #ruby
gkagan has quit [Ping timeout: 250 seconds]
emocakes has quit [Ping timeout: 264 seconds]
Dreamer3 has quit [Ping timeout: 240 seconds]
mattmcclure has quit [Quit: Connection closed for inactivity]
oo_ has quit [Remote host closed the connection]
mockra has joined #ruby
oo_ has joined #ruby
mockra has quit [Remote host closed the connection]
mockra has joined #ruby
St_Marx has quit [Ping timeout: 264 seconds]
mockra_ has joined #ruby
St_Marx has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
Dreamer3 has joined #ruby
C0deMaver1ck has quit [Quit: ZNC - http://znc.in]
Zenigor has quit [Remote host closed the connection]
mockra has quit [Ping timeout: 246 seconds]
Lightsword has joined #ruby
craigp has joined #ruby
ta_ has joined #ruby
stopbit has quit [Ping timeout: 245 seconds]
flowerhack has joined #ruby
ta has quit [Ping timeout: 240 seconds]
stopbit has joined #ruby
sysx1000 has joined #ruby
anildigital is now known as zz_anildigital
beemo has quit [Ping timeout: 240 seconds]
Apocalypse has quit [Quit: Input/Output Error]
jamesfordummies has joined #ruby
<asteve> I need to take an array and return all elements not contained in a range
erts has quit [Ping timeout: 260 seconds]
<asteve> ![1,2,3,4][2..3]
<asteve> for example
<sevenseacat> you might want Array#select
Brycetron has joined #ruby
<pontiki> try [1,2,3,4] - [2..3].to_a
<sevenseacat> that would also work
<asteve> ok, but what if I only have their indices?
GeekOnCoffee has quit [Ping timeout: 264 seconds]
<sevenseacat> huh?
jmbrown412 has joined #ruby
<sevenseacat> indices of what
<pontiki> you mean in the range? so indeces 2 and 3?
<asteve> instead of the actual value, I have the indices which I need to remove
<asteve> yes
<sevenseacat> make a range out of them?
<jamesfordummies> you could do array - array[2..3]
<Brycetron> Where does one download Ruby for windows?
<sevenseacat> wait, do you want to delete the actual elements of the range or what
<sevenseacat> or the elements that fall within the range
<pontiki> use a slice
nobitanobi has joined #ruby
<pontiki> james has got it
<sevenseacat> Brycetron: same place you download ruby for not-windows?
<asteve> hot damn diggity!
<asteve> thanks guys
<pontiki> Brycetron: http://rubyinstaller.org
<Brycetron> Ty Pontiki.
AlexBlom has quit [Quit: This computer has gone to sleep]
GeekOnCoffee has joined #ruby
<Brycetron> Is 1.9.3 the safest bet?
<Brycetron> Should i do 64 bit, 2.1.2?
<jamesfordummies> 2.1.2
karmatr0n has joined #ruby
Apocalypse has joined #ruby
Apocalypse has quit [Changing host]
Apocalypse has joined #ruby
<sevenseacat> they dont have a 2.1.2 version that i can see
<jamesfordummies> ah - sorry i missed the context
emocakes__ has quit []
<sevenseacat> see what it says
Spami has joined #ruby
jmbrown412 has quit [Ping timeout: 255 seconds]
<Brycetron> Yup, 2.0
freerobby has joined #ruby
<jamesfordummies> so i'm teaching ruby to someone who has never programmed before soon - anyone have suggestions for where to start, fun things to start with (or guides on this matter)
<sevenseacat> Brycetron: the advice i would give is the same as the advice on the page
<jamesfordummies> never done this before
<sevenseacat> jamesfordummies: chris pine's learn to program?
<asteve> jamesfordummies: make it interesting
<jamesfordummies> lol
Cache_Money has joined #ruby
<jamesfordummies> oh sick never heard of this book
<asteve> I remember when I first started that I was frustrated at how difficult it was to get output from a terminal
<asteve> start with taking in input, doing something interesting and returning output
<pontiki> 2nd for pine's book
<asteve> then do what these guys are saying
<pontiki> if they're a reader, give them sproul's book as well
<sevenseacat> i havent read the book personally but ive seen a lot of people vouch for it
<sevenseacat> so it cant be all bad >_>
yubrew has joined #ruby
<jamesfordummies> checking it out now
<pontiki> jamesfordummies: not to toot my horn; i tossed together some stuff here: http://blog.tamouse.org/pages/learning/
koderok has joined #ruby
<jamesfordummies> nice pontiki
djbkd has joined #ruby
koderok has quit [Client Quit]
* sevenseacat toots pontiki's horn
Shidash has quit [Ping timeout: 240 seconds]
bmurt has quit []
<jamesfordummies> how did I learn to program
<jamesfordummies> it's so hard! :P
<jamesfordummies> the first steps
<sevenseacat> i cant remember, it was a long time ago
<sevenseacat> i honestly think it would be crazily overwhelming to get started in programming, especially web development, nowadays
Kricir has joined #ruby
<jamesfordummies> i did it a few years ago and yes. it was.
infinitone has quit [Ping timeout: 240 seconds]
<jamesfordummies> less hackernews, more books :)
<sevenseacat> 'lets put an autocomplete box on a page that feeds from a list of things i specify in my admin area' well there's html + css + js + ajax + ruby + rails + sql
<jamesfordummies> ha
yubrew has quit [Ping timeout: 255 seconds]
<sevenseacat> (well ,not necessarily rails, but you get the idea)
<Brycetron> railsinstaller instals ruby and rails right?
GeekOnCoffee has quit [Ping timeout: 240 seconds]
nateberkopec has joined #ruby
<jamesfordummies> i think so yes Brycetron
<Brycetron> Ty
<sevenseacat> railsinstaller? they think of everything these days
_shrine has joined #ruby
<sevenseacat> though i suppose the windows folks need it
<_shrine> yooo
<jamesfordummies> indeed
<_shrine> anyone got any ideas for stupid scripts to do stupid things
<jamesfordummies> write a bitcoin trading bot
<jamesfordummies> that loses money
<_shrine> that's stupid
<_shrine> but that's too stupid
<jamesfordummies> that makes you money i guess
goshdarnyou has quit [Quit: Connection closed for inactivity]
<_shrine> also, I lost all my bitcoin when dell reinstalled my operating system
<_shrine> stupid dell
<jamesfordummies> time to make it back
<_shrine> I'm using linux now
<_shrine> dude
<_shrine> I mined that
<_shrine> all that 0.1227
<jamesfordummies> time to make it back
<_shrine> >.<
jerikl has quit [Quit: jerikl]
<_shrine> other ideas?
GeekOnCoffee has joined #ruby
<jamesfordummies> yeah
InhalingPixels has quit [Remote host closed the connection]
<jamesfordummies> write a scripts that detects when someone port scans your server and in return port scans them back
<jamesfordummies> script
earthquake has quit [Quit: earthquake]
<_shrine> lol
<_shrine> I want one use stupid tools
<_shrine> for example porn downloading bots
beemo has joined #ruby
beemo has quit [Remote host closed the connection]
<jamesfordummies> wa
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jamesfordummies> t
<sevenseacat> make the script equivalent of a useless box >_> somehow
<sevenseacat> i so want a useless box
<_shrine> uh
<_shrine> $. is current file, right?
beemo has joined #ruby
<_shrine> I'll make a useless box script
<_shrine> brb
nateberkopec has quit [Ping timeout: 240 seconds]
<sevenseacat> :D
duggiefresh has quit [Remote host closed the connection]
<jamesfordummies> see i'm not sure if it's better to start with this chris pine book - or to start from the ground up in OO and how ruby uses the paradigm
<sevenseacat> i think it would be hard to start with theory
<sevenseacat> i think you would want to see results really fast
<jamesfordummies> true true
mary5030 has joined #ruby
<jamesfordummies> i just hate when I learn languages and then *really* learn the language later, peeling back the abstraction
<sevenseacat> 'i made a program that can add 2+2! I R 1337 PROGRAMMAR'
<asteve> I have an excellent programming challenge to give them, it's taken me 6 days to complete to satisfaction (that's not even true, I'm not sure I'm at satisfaction yet)
<asteve> but I've taken logic from O(n^2) to O(nlogn) which is nice
goshdarnyou has joined #ruby
nobitanobi has quit []
yfeldblum has joined #ruby
Channel6 has quit [Ping timeout: 240 seconds]
mary5030 has quit [Ping timeout: 250 seconds]
Shidash has joined #ruby
mikepack has quit [Remote host closed the connection]
yfeldblu_ has quit [Ping timeout: 245 seconds]
brothmars has joined #ruby
zkay11 has left #ruby [#ruby]
Channel6 has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jfutbol has quit [Remote host closed the connection]
GeekOnCoffee has quit [Ping timeout: 264 seconds]
oo_ has quit [Remote host closed the connection]
ARCADIVS has joined #ruby
oo_ has joined #ruby
duellsy has quit [Quit: Textual IRC Client: www.textualapp.com]
bearish has joined #ruby
tlarevo_ has joined #ruby
GeekOnCoffee has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
coreycondardo has quit [Quit: coreycondardo]
emocakes has joined #ruby
iteratorP has joined #ruby
apeiros has joined #ruby
beemo has quit [Remote host closed the connection]
beemo has joined #ruby
<_shrine> alright
geggam has quit [Ping timeout: 250 seconds]
<_shrine> useless box is more useless than I thought
bearish has quit [Client Quit]
oo_ has quit [Ping timeout: 255 seconds]
AlexBlom has joined #ruby
jimmyhoughjr has quit [Quit: Textual IRC Client: www.textualapp.com]
<jamesfordummies> why not make something useful
jimmyhoughjr has joined #ruby
<_shrine> because it takes more time than I'd like to use
<_shrine> useful involves more debugging and making more user friendly
<_shrine> mostly because it's meant to be used more than once
<_shrine> I guess small useful things
crdprink2 has joined #ruby
rubyshop has joined #ruby
rubyshop has quit [Remote host closed the connection]
crdpink has quit [Ping timeout: 260 seconds]
beemo has quit [Ping timeout: 245 seconds]
<jamesfordummies> little command line tools only for yourself?
<_shrine> I guess
<jamesfordummies> so fun, minimal debugging
<_shrine> yeah
tectonic has quit []
<_shrine> useful for a couple people and me, but not for much else
tlarevo_ has quit [Read error: Connection reset by peer]
<jamesfordummies> what's wrong with that
<_shrine> nothing?
gkagan has joined #ruby
tlarevo has joined #ruby
<_shrine> the string on my tea bag fell off
<_shrine> now my tea bag is loose in a cup of boiling hot water
<jamesfordummies> the spoon was a brilliant invention
<jamesfordummies> :P
AlexBlom has quit [Quit: This computer has gone to sleep]
crantron has quit [Ping timeout: 260 seconds]
<_shrine> I don't have a spoon near me
<_shrine> I can't fabricate a spoon using ruby because I don't have anything to fabricate it with
fwaokda has quit [Ping timeout: 250 seconds]
DivineEntity has joined #ruby
freerobby has quit [Quit: Leaving.]
gkagan has quit [Ping timeout: 250 seconds]
crdpink has joined #ruby
crdprink2 has quit [Ping timeout: 260 seconds]
timonv_ has joined #ruby
emocakes has quit []
Kricir has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
yfeldblum has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
timonv_ has quit [Ping timeout: 245 seconds]
chipotle has quit [Quit: cya]
duncannz has joined #ruby
DEA7TH has quit [Ping timeout: 245 seconds]
michaeldeol has joined #ruby
threesixes has quit [Ping timeout: 240 seconds]
timonv_ has joined #ruby
apeiros has quit [Ping timeout: 246 seconds]
beemo has joined #ruby
beemo has quit [Remote host closed the connection]
Cache_Money_ has joined #ruby
beemo has joined #ruby
saarinen has joined #ruby
Cache_Money has quit [Ping timeout: 240 seconds]
Cache_Money_ is now known as Cache_Money
emocakes has joined #ruby
emocakes has quit [Client Quit]
Channel6 has quit [Quit: Leaving]
echooo1 has joined #ruby
_tpavel has joined #ruby
echooo has quit [Ping timeout: 240 seconds]
Cache_Money has quit [Client Quit]
oo_ has joined #ruby
arup_r has joined #ruby
yubrew has joined #ruby
yfeldblum has joined #ruby
philcrissman has joined #ruby
yubrew has quit [Ping timeout: 246 seconds]
Spami has joined #ruby
timonv_ has quit [Remote host closed the connection]
oo_ has quit [Ping timeout: 246 seconds]
philcrissman has quit [Ping timeout: 245 seconds]
cy has quit [Quit: >:C]
sinkensabe has joined #ruby
Skwallinux has joined #ruby
Jackneill has joined #ruby
whyy has joined #ruby
threesixes has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nateberkopec has joined #ruby
Photism has joined #ruby
yacks has quit [Ping timeout: 240 seconds]
InhalingPixels has joined #ruby
kyb3r_ has joined #ruby
yfeldblum has quit [Remote host closed the connection]
GeekOnCoffee has quit [Ping timeout: 240 seconds]
mr_snowf1ake has quit [Quit: Leaving]
nateberkopec has quit [Ping timeout: 240 seconds]
emocakes has joined #ruby
havenwood has joined #ruby
teddyp1cker has joined #ruby
tectonic has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
bluOxigen has joined #ruby
peret has quit [Remote host closed the connection]
GeekOnCoffee has joined #ruby
mengu has joined #ruby
JoshGlzBrk has joined #ruby
tylerkern has quit [Ping timeout: 246 seconds]
InhalingPixels has quit [Ping timeout: 240 seconds]
dawkirst has joined #ruby
fabrice31 has joined #ruby
tylerkern has joined #ruby
Brycetron has quit []
ht__th has joined #ruby
apeiros has joined #ruby
teddyp1cker has joined #ruby
<benzrf> use haskell
<benzrf> it's quite good
karmatr0n has quit []
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
toastynerd has joined #ruby
fabrice31 has quit [Ping timeout: 255 seconds]
yacks has joined #ruby
ghr has joined #ruby
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bluOxigen has quit [Ping timeout: 255 seconds]
x1337807x has joined #ruby
<_shrine> some ruby gems are cheating
toastynerd has quit [Remote host closed the connection]
bluOxigen has joined #ruby
oo_ has joined #ruby
troyready has quit [Remote host closed the connection]
thomasxie has left #ruby [#ruby]
<sevenseacat> only some?
ghr has quit [Ping timeout: 260 seconds]
tagrudev has joined #ruby
Sauvin has joined #ruby
AlexBlom has joined #ruby
havenwood has quit [Remote host closed the connection]
kenndel has joined #ruby
emocakes has quit []
<benzrf> haskell is cool cuz it's simpler than ruby
<benzrf> or even C
Lewix has quit [Read error: Connection reset by peer]
<benzrf> well, i think its simpler than C. its certainly in the same range
timonv_ has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Lewix has joined #ruby
kenneth has joined #ruby
sinkensabe has quit [Remote host closed the connection]
xenomorph is now known as {xenomorph}
gkagan has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
speaking1ode has joined #ruby
craigp has quit [Remote host closed the connection]
starkhalo has quit [Ping timeout: 245 seconds]
relix has joined #ruby
lkba has quit [Ping timeout: 260 seconds]
{xenomorph} is now known as xenomorph
speakingcode has quit [Ping timeout: 260 seconds]
timonv_ has quit [Remote host closed the connection]
gkagan has quit [Ping timeout: 240 seconds]
madzhuga has joined #ruby
ringarin has joined #ruby
mercwithamouth has quit [Quit: Lost terminal]
toastynerd has joined #ruby
djbkd has quit [Quit: My people need me...]
RTG` has quit [Disconnected by services]
RTG`` has joined #ruby
axsuul has joined #ruby
JoshGlzBrk has joined #ruby
jprovazn has joined #ruby
RTG` has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
tylerkern has joined #ruby
oo_ has joined #ruby
pietr0 has quit [Quit: pietr0]
Sgeo has quit [Read error: Connection reset by peer]
Sgeo has joined #ruby
RTG`` has quit [Ping timeout: 260 seconds]
thomasxie has joined #ruby
FarlaTux has joined #ruby
yubrew has joined #ruby
emocakes has joined #ruby
RTG` has quit [Ping timeout: 264 seconds]
RTG` has joined #ruby
sinkensabe has joined #ruby
sdwrage has joined #ruby
xenomorph is now known as {xenomorph}
pencilcheck has joined #ruby
Dev-Gitter has joined #ruby
<apeiros> benzrf: should change your nick to haskell_evangelist ;-)
yubrew has quit [Ping timeout: 246 seconds]
benzrf is now known as haskell_evangeli
<haskell_evangeli> sorry i canyt
haskell_evangeli is now known as benzrf
<benzrf> it's true tho haskell is the Best
<apeiros> heh
<apeiros> silly nickname restrictions
<benzrf> on SYNIRC we can do that
<benzrf> why cant u be cool like synirc mom
<benzrf> i mean uh freenode
roolo has joined #ruby
Shidash has quit [Ping timeout: 260 seconds]
echevemaster has quit [Quit: Leaving]
sparrovv has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
toastynerd has quit [Remote host closed the connection]
osvico has quit [Ping timeout: 246 seconds]
teddyp1cker has quit [Remote host closed the connection]
ringarin has quit [Ping timeout: 240 seconds]
mbuf has joined #ruby
mijicd has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
mengu has quit [Remote host closed the connection]
tobago has joined #ruby
adac has joined #ruby
mijicd has joined #ruby
agent_white has joined #ruby
gauke has joined #ruby
<MarcWeber> benzrf: Learn about impredicative.com/ur or disciple to understand that even Haskell lovers found that there could be use cases where you need different tools .. :)
poulet_a has joined #ruby
GeekOnCoffee has quit [Ping timeout: 264 seconds]
Macaveli has joined #ruby
teddyp1cker has quit [Ping timeout: 246 seconds]
HelperW__ has joined #ruby
GeekOnCoffee has joined #ruby
michaeldeol has joined #ruby
{xenomorph} is now known as xenomorph
nateberkopec has joined #ruby
flowerhack has quit [Remote host closed the connection]
<benzrf> i never said haskell is the best tool for alll purposes just
<benzrf> that it's awesome & good
AlexBlom has quit [Quit: This computer has gone to sleep]
<benzrf> i dislike conflation of comparison & binding operators
shredding has joined #ruby
<benzrf> also, non-separated type decls bother me
<benzrf> please, keep em out of the actual code
HelperW__ has quit [Quit: Lingo - http://www.lingoirc.com]
amclain has quit [Quit: Leaving]
saarinen has quit [Quit: saarinen]
nateberkopec has quit [Ping timeout: 240 seconds]
recurrence has joined #ruby
Shidash has joined #ruby
<recurrence> Is there an automated mechanism to determine if a gem is thread safe? I suppose this is a long shot :)
ringarin has joined #ruby
<benzrf> do you have any idea how hard static analysis of ruby is
mockra_ has quit [Remote host closed the connection]
<benzrf> ruby is one of the most dynamic languages there is
mockra has joined #ruby
<benzrf> off the top of my head i can only think of the lisps and machine language as more dynamic
ghostmoth has quit [Quit: ghostmoth]
flowerhack has joined #ruby
crantron has joined #ruby
teddyp1cker has joined #ruby
aganov has joined #ruby
poulet_a has quit [Quit: Quitte]
ringarin has quit [Ping timeout: 240 seconds]
emocakes has quit []
gauke has quit [Read error: Connection reset by peer]
mengu has joined #ruby
mockra has quit [Ping timeout: 260 seconds]
gauke has joined #ruby
MatthewsFace has quit [Ping timeout: 255 seconds]
mockra has joined #ruby
fabrice31 has joined #ruby
InhalingPixels has joined #ruby
ghr has joined #ruby
iteratorP has quit [Remote host closed the connection]
recurren_ has joined #ruby
<recurren_> benzrf: Thanks, I assumed this was very unlikely but thought I'd ask :)
<benzrf> i mean
<benzrf> i guess it could exist
<benzrf> i just dont find it likely
<apeiros> recurren_: to answer your question: no
<apeiros> recurren_: also, anything not explicitly stating to be threadsafe is to be considered NOT threadsafe.
<recurren_> oh that's a good piece of info
Morkel has joined #ruby
<apeiros> and: even if something states to be threadsafe, it doesn't mean it'll prevent all thread related issues
recurrence has quit [Ping timeout: 240 seconds]
recurren_ is now known as recurrence
GeekOnCoffee has quit [Ping timeout: 240 seconds]
gauke has quit [Client Quit]
iteratorP has joined #ruby
dudepdx has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
teddyp1cker has quit [Remote host closed the connection]
<MarcWeber> recurrence: If you have to ask that question then maybe you should not touch threading :) - seriously, best you can do is grep documentation or sources for usages of Queue or Mutex - if such exist then there are chances that some thread safety has been taken care of - but in which way depends on the exact implementation - thus there is either "feeling lucky" or "reading/understanding docs & code"
HelperW has joined #ruby
mockra_ has joined #ruby
InhalingPixels has quit [Ping timeout: 264 seconds]
teddyp1cker has joined #ruby
<MarcWeber> Or using Haskell .. ^^
iteratorP has quit [Remote host closed the connection]
<recurrence> I used to run thread safety analyzers on C++ and was hopeful there would be something for ruby :)
iteratorP has joined #ruby
<recurrence> thanks for the feedback!
GeekOnCoffee has joined #ruby
mockra has quit [Ping timeout: 272 seconds]
banister has joined #ruby
thomasxie has quit [Read error: Connection reset by peer]
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
teddyp1cker has quit [Ping timeout: 240 seconds]
oo_ has quit [Remote host closed the connection]
<benzrf> recurrence: if u want a REALLY analyzable language, use HAS-*gets shot*
<recurrence> lol
anaeem1_ has joined #ruby
oo_ has joined #ruby
tylerkern has joined #ruby
gkagan has joined #ruby
echooo1 has quit [Quit: echooo1]
gauke has joined #ruby
banister has quit [Ping timeout: 240 seconds]
abuzze has joined #ruby
echooo has joined #ruby
SilkFox_ has quit [Ping timeout: 264 seconds]
abuzze has quit [Remote host closed the connection]
abuzze has joined #ruby
oo_ has quit [Ping timeout: 255 seconds]
kies has quit [Quit: baaaaiiiiiiiiiii~]
gkagan has quit [Ping timeout: 255 seconds]
FarlaTux has quit [Changing host]
FarlaTux has joined #ruby
kies has joined #ruby
agent_white has quit [Ping timeout: 260 seconds]
oo_ has joined #ruby
abuzze has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
shredding has quit [Quit: shredding]
xenomorph is now known as {xenomorph}
IceDragon has quit [Quit: Space~~~]
yubrew has joined #ruby
craigbowen3 has quit [Ping timeout: 264 seconds]
mityaz has joined #ruby
philcrissman has joined #ruby
iteratorP has quit [Remote host closed the connection]
kenndel has quit [Read error: Connection reset by peer]
emmesswhy has quit [Quit: This computer has gone to sleep]
kenndel has joined #ruby
teddyp1cker has quit [Ping timeout: 245 seconds]
olivier_bK has joined #ruby
iteratorP has joined #ruby
mkaesz has joined #ruby
krisquigley has joined #ruby
yubrew has quit [Ping timeout: 264 seconds]
GeekOnCoffee has quit [Ping timeout: 264 seconds]
sparrovv has quit [Remote host closed the connection]
GeekOnCoffee has joined #ruby
sparrovv has joined #ruby
w09x has joined #ruby
philcrissman has quit [Ping timeout: 272 seconds]
mockra_ has quit [Remote host closed the connection]
mockra has joined #ruby
agent_white has joined #ruby
agent_white has quit [Client Quit]
emocakes has joined #ruby
axsuul has quit [Ping timeout: 240 seconds]
codecop has joined #ruby
sparrovv has quit [Ping timeout: 260 seconds]
agent_white has joined #ruby
mockra has quit [Ping timeout: 240 seconds]
thomasxie has joined #ruby
CaptainJet has quit []
roolo has quit [Quit: Leaving...]
ndrei has joined #ruby
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lkba has joined #ruby
alexju has quit [Remote host closed the connection]
Fractional has joined #ruby
starless has joined #ruby
beemo has quit [Remote host closed the connection]
<Fractional> How do I specify in my class what self will return?
jamesfordummies has quit [Remote host closed the connection]
craigp has joined #ruby
kiri has quit [Ping timeout: 255 seconds]
<apeiros> Fractional: you can't change what self returns
beemo has joined #ruby
<Fractional> apeiros: Nevermind
<sevenseacat> yeah i was looking at the question thinking it didnt make sense to me, but i figured it might have been one of those crazy ruby things
sdwrage has quit [Quit: This computer has gone to sleep]
lkba has quit [Read error: Connection reset by peer]
<apeiros> evil.rb maybe :D
lkba has joined #ruby
<apeiros> does that still exist?
<sevenseacat> ruby has a lot of crazy things
Darkchaos has joined #ruby
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
<agent_white> ruby is silly putty
mengu has quit [Remote host closed the connection]
emocakes has quit []
jpierre03 has quit [Read error: Connection reset by peer]
nateberkopec has joined #ruby
* apeiros doesn't mind
jpierre03 has joined #ruby
poulet_a has joined #ruby
recurrence has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
brothmars has quit [Ping timeout: 245 seconds]
kiri has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
starless has quit [Quit: Leaving]
noop has joined #ruby
w09x has quit [Remote host closed the connection]
crdprink2 has joined #ruby
kiri has quit [Ping timeout: 255 seconds]
crdpink has quit [Ping timeout: 246 seconds]
w09x has joined #ruby
w09x has quit [Read error: Connection reset by peer]
w09x has joined #ruby
goleldar has joined #ruby
w09x has quit [Client Quit]
Morkel has quit [Read error: Connection reset by peer]
abuzze has joined #ruby
Fractional has quit [Remote host closed the connection]
Morkel has joined #ruby
pr0t has quit [Ping timeout: 272 seconds]
madzhuga has quit [Quit: Lingo - http://www.lingoirc.com]
ghr has joined #ruby
shredding has joined #ruby
GeekOnCoffee has quit [Ping timeout: 240 seconds]
ghr has quit [Ping timeout: 250 seconds]
GeekOnCoffee has joined #ruby
<mark06> anyone wants to help some ruby open source project
radic has quit [Disconnected by services]
radic_ has joined #ruby
Takle has joined #ruby
ringarin has joined #ruby
<sevenseacat> with that kind of enticement?
patrick99e99 has joined #ruby
ringarin has quit [Client Quit]
SilkFox_ has joined #ruby
tokik has quit [Read error: Connection reset by peer]
gkagan has joined #ruby
patrick99e99 has quit [Ping timeout: 240 seconds]
tokik has joined #ruby
mosez has quit [Ping timeout: 264 seconds]
Jackneill_ has joined #ruby
SilkFox_ has quit [Ping timeout: 260 seconds]
mosez has joined #ruby
yubrew has joined #ruby
Ilyas has joined #ruby
goshdarnyou has quit [Quit: Connection closed for inactivity]
Jackneill has quit [Ping timeout: 250 seconds]
flagg0204 has quit [Ping timeout: 240 seconds]
Takle has quit [Remote host closed the connection]
gkagan has quit [Ping timeout: 250 seconds]
timonv_ has joined #ruby
oo_ has quit [Remote host closed the connection]
flagg0204 has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
oo_ has joined #ruby
pr0t has joined #ruby
yubrew has quit [Ping timeout: 255 seconds]
hamakn has quit [Remote host closed the connection]
maasha has joined #ruby
jpierre03 has quit [Ping timeout: 272 seconds]
jackneill__ has joined #ruby
oo_ has quit [Ping timeout: 250 seconds]
mahtennek has joined #ruby
adamski2600 has joined #ruby
rdark has joined #ruby
Jackneill_ has quit [Ping timeout: 246 seconds]
echooo has quit [Ping timeout: 240 seconds]
abuzze has quit [Remote host closed the connection]
anarang has joined #ruby
jpierre03 has joined #ruby
arup_r has quit [Remote host closed the connection]
DEA7TH has joined #ruby
krisquigley has quit [Remote host closed the connection]
tectonic has quit []
Jackneill_ has joined #ruby
echooo has joined #ruby
mikecmpbll has joined #ruby
shime has joined #ruby
abuzze has joined #ruby
jackneill__ has quit [Ping timeout: 246 seconds]
abuzze has quit [Remote host closed the connection]
klemanski has joined #ruby
<maasha> hi
ghr has joined #ruby
abuzze has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
beemo has quit [Remote host closed the connection]
Xeago has joined #ruby
beemo has joined #ruby
sysx1000 has quit [Quit: sysx1000]
jackneill__ has joined #ruby
shime has quit [Client Quit]
ringarin has joined #ruby
shime has joined #ruby
shime has quit [Client Quit]
michaeldeol has joined #ruby
shime has joined #ruby
Jackneill_ has quit [Ping timeout: 245 seconds]
jottr has joined #ruby
shime has quit [Client Quit]
einarj has joined #ruby
beemo has quit [Ping timeout: 240 seconds]
<maasha> I am experiencing a strange 'marshal data too short' when unmarshalling data. I think it happens because another process is not done writing: https://gist.github.com/maasha/d8697575fae227756481
Takle has joined #ruby
dopie has quit [Read error: Connection reset by peer]
emandari has joined #ruby
ptrrr has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
jhass|off is now known as jhass
maroloccio has joined #ruby
agent_white has quit [Ping timeout: 255 seconds]
wallerdev has quit [Quit: wallerdev]
craigp has quit [Remote host closed the connection]
agent_white has joined #ruby
<Hanmac> maasha: hm have you try to open the file in "wb" mode?
<maasha> Hanmac: er, no
jottr has quit [Ping timeout: 255 seconds]
<Hanmac> maasha: change "ios.write(Marshal.dump(data))" = to > "Marshal.dump(data,ios)"
craigp has joined #ruby
jheg has joined #ruby
<maasha> Hanmac: so this only happens if I run my app in multiple processes. In a single process all is well.
goleldar has quit [Remote host closed the connection]
<Hanmac> hm yeah looks like a colide between the different processes ...
nateberkopec has joined #ruby
goleldar has joined #ruby
pencilcheck has quit []
arup_r has joined #ruby
<maasha> Hanmac: if I insert a random timeout it works, but that is a only per chance I guess.
<Hanmac> hm yeah, its a coliding problem
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
FarlaTux has quit [Ping timeout: 250 seconds]
Dev-Gitter has quit [Ping timeout: 240 seconds]
Lexun has quit [Ping timeout: 264 seconds]
<maasha> Hanmac: the commented out begin/retry/end helps, but still sometimes it then hangs here.
axsuul has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
goleldar has quit [Ping timeout: 272 seconds]
kizzx2 has joined #ruby
renderfu_ has joined #ruby
jackneill__ has quit [Quit: Leaving]
timonv_ has quit [Remote host closed the connection]
renderful has quit [Ping timeout: 250 seconds]
lyuzashi has quit [Ping timeout: 252 seconds]
<maasha> Hanmac: you reckon there is a fix, or does this call for a redesign?
Wolland_ has joined #ruby
krisquigley has joined #ruby
Wolland has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
gaussblurinc1 has joined #ruby
InhalingPixels has joined #ruby
OffTheRails has quit [Ping timeout: 240 seconds]
krisquigley has quit [Remote host closed the connection]
tokik has quit [Ping timeout: 272 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
W0rmDr1nk has joined #ruby
InhalingPixels has quit [Ping timeout: 250 seconds]
Jackneill has joined #ruby
Beoran_ has quit [Read error: Connection reset by peer]
Dr3amc0d3r|away has quit [Changing host]
Dr3amc0d3r|away has joined #ruby
Dr3amc0d3r|away is now known as Dr3amc0d3r
mburns_ has quit [Quit: ZNC - http://znc.sourceforge.net]
kaspertidemann has joined #ruby
yubrew has joined #ruby
mburns_ has joined #ruby
SilkFox_ has joined #ruby
philcrissman has joined #ruby
Aaaal has joined #ruby
sysx1000 has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gkagan has joined #ruby
narcan has joined #ruby
yubrew has quit [Ping timeout: 255 seconds]
dumdedum has joined #ruby
workmad3 has joined #ruby
SilkFox_ has quit [Ping timeout: 240 seconds]
philcrissman has quit [Ping timeout: 250 seconds]
krisquigley has joined #ruby
relix has joined #ruby
flagg0204 has quit [Ping timeout: 250 seconds]
gkagan has quit [Ping timeout: 240 seconds]
anaeem___ has joined #ruby
DEA7TH has quit [Ping timeout: 272 seconds]
flagg0204 has joined #ruby
teddyp1cker has joined #ruby
anaeem1_ has quit [Ping timeout: 260 seconds]
andrewlio has joined #ruby
hamakn has joined #ruby
agjacome has joined #ruby
izzol2 has joined #ruby
<izzol2> Hi
sk87 has joined #ruby
Beoran_ has joined #ruby
GeekOnCoffee has quit [Ping timeout: 264 seconds]
teddyp1cker has quit [Ping timeout: 255 seconds]
yfeldblum has quit [Remote host closed the connection]
dumdedum has quit [Quit: foo]
mark06 has left #ruby [#ruby]
oo_ has joined #ruby
hamakn has quit [Ping timeout: 260 seconds]
GeekOnCoffee has joined #ruby
dumdedum has joined #ruby
sk87 has quit [Client Quit]
banister has joined #ruby
lkba has quit [Ping timeout: 240 seconds]
joonty has joined #ruby
Advocation has joined #ruby
Zebroid has joined #ruby
timonv_ has joined #ruby
emocakes has joined #ruby
sevenseacat has quit [Quit: Leaving.]
ssvo has quit [Ping timeout: 246 seconds]
Zebroid has quit [Read error: Connection reset by peer]
timonv_ has quit [Remote host closed the connection]
Zebroid has joined #ruby
krisquigley has quit [Remote host closed the connection]
georgesmith has quit [Quit: georgesmith]
dudepdx has quit [Ping timeout: 250 seconds]
ssvo has joined #ruby
SilkFox_ has joined #ruby
dudepdx has joined #ruby
timonv_ has joined #ruby
hellangel7 has joined #ruby
spider-mario has joined #ruby
dudepdx has quit [Ping timeout: 240 seconds]
SilkFox_ has quit [Ping timeout: 250 seconds]
Takle has quit [Remote host closed the connection]
Takle has joined #ruby
nateberkopec has joined #ruby
dudepdx has joined #ruby
GeekOnCoffee has quit [Ping timeout: 240 seconds]
GeekOnCoffee has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
dudepdx has quit [Ping timeout: 260 seconds]
tkuchiki_ has joined #ruby
HelperW_ has joined #ruby
klemanski has quit [Quit: Leaving]
yfeldblum has joined #ruby
moritzs has joined #ruby
Takle_ has joined #ruby
yfeldblum has quit [Remote host closed the connection]
DEA7TH has joined #ruby
krisquigley has joined #ruby
dseitz has joined #ruby
HelperW has quit [Ping timeout: 250 seconds]
Andriamanitra has joined #ruby
tkuchiki has quit [Ping timeout: 260 seconds]
jprovazn has quit [Ping timeout: 245 seconds]
anaeem1_ has joined #ruby
anaeem___ has quit [Read error: Connection reset by peer]
Takle has quit [Ping timeout: 260 seconds]
<maasha> so forked processes have an annoying way of dying silently with no trace ?
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
kizzx2 has quit [Quit: Leaving.]
GeekOnCoffee has quit [Ping timeout: 264 seconds]
mahtennek has quit []
Lewix has quit [Remote host closed the connection]
mostlybadfly has quit [Quit: Connection closed for inactivity]
GeekOnCoffee has joined #ruby
yubrew has joined #ruby
mosez has quit [Ping timeout: 255 seconds]
echooo has quit [Quit: echooo]
benzrf is now known as benzrf|offline
mosez has joined #ruby
GeekOnCoffee has quit [Ping timeout: 240 seconds]
GeekOnCoffee has joined #ruby
yubrew has quit [Ping timeout: 255 seconds]
patrick99e99 has joined #ruby
spastorino has quit [Quit: Connection closed for inactivity]
oo_ has quit [Remote host closed the connection]
fearoffish has quit [Ping timeout: 260 seconds]
Zebroid has quit []
blackmesa has quit [Quit: WeeChat 1.0]
m8 has joined #ruby
benzrf|offline is now known as benzrf
gkagan has joined #ruby
benzrf is now known as benzrf|offline
patrick99e99 has quit [Ping timeout: 255 seconds]
marr has joined #ruby
gkagan has quit [Ping timeout: 240 seconds]
Takle_ has quit [Remote host closed the connection]
Dr3amc0d3r is now known as Dr3amc0d3r|away
shredding has quit [Quit: shredding]
georgesmith has joined #ruby
iteratorP has quit [Remote host closed the connection]
georgesmith has quit [Client Quit]
ARCADIVS has quit [Quit: WeeChat 0.4.3]
xcv has joined #ruby
georgesmith has joined #ruby
iteratorP has joined #ruby
craigp has quit [Remote host closed the connection]
DaniG2k has joined #ruby
decoponio has joined #ruby
craigp has joined #ruby
Dr3amc0d3r|away is now known as Dr3amc0d3r
sysx1000 has quit [Quit: sysx1000]
GeekOnCoffee has quit [Ping timeout: 264 seconds]
fabrice31 has quit [Remote host closed the connection]
emocakes has quit []
GeekOnCoffee has joined #ruby
Dev-Gitter has joined #ruby
FarlaTux has joined #ruby
Takle has joined #ruby
shredding has joined #ruby
jprovazn has joined #ruby
threesixes has quit [Remote host closed the connection]
atmosx has joined #ruby
sysx1000 has joined #ruby
echooo has joined #ruby
dmst has joined #ruby
GeekOnCoffee has quit [Ping timeout: 240 seconds]
sysx1000 has quit [Client Quit]
iteratorP has quit [Remote host closed the connection]
krisquigley has quit [Remote host closed the connection]
GeekOnCoffee has joined #ruby
lukeholder has joined #ruby
tkuchiki_ has quit [Remote host closed the connection]
lukeholder has quit [Max SendQ exceeded]
ptrrr has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby
lukeholder has joined #ruby
rodasc has joined #ruby
ptrrr has joined #ruby
dmst has quit [Remote host closed the connection]
dmst has joined #ruby
TheMoonMaster has quit [Ping timeout: 245 seconds]
crodas has quit [Ping timeout: 272 seconds]
SilkFox_ has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
kaspertidemann has quit []
Wolland_ has quit [Remote host closed the connection]
thomasxie has left #ruby [#ruby]
SilkFox_ has quit [Ping timeout: 240 seconds]
PanPan has quit [Quit: ChatZilla 0.9.90.1 [Firefox 31.0/20140716183446]]
emocakes has joined #ruby
nateberkopec has joined #ruby
echooo has quit [Ping timeout: 272 seconds]
TheMoonMaster has joined #ruby
moritzs has quit [Ping timeout: 240 seconds]
oo_ has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
marr has quit [Ping timeout: 250 seconds]
emocakes has quit []
krisquigley has joined #ruby
emocakes has joined #ruby
Hanmac has quit [Remote host closed the connection]
SCHAAP137 has joined #ruby
dapadoupas has joined #ruby
yubrew has joined #ruby
w1xz has joined #ruby
w1xz has quit [Max SendQ exceeded]
Hanmac has joined #ruby
dawkirst has quit [Remote host closed the connection]
philcrissman has joined #ruby
kaspertidemann has joined #ruby
w1xz has joined #ruby
vieq has quit [Ping timeout: 245 seconds]
maximski has joined #ruby
Skwallinux has quit [Ping timeout: 240 seconds]
yubrew has quit [Ping timeout: 245 seconds]
mengu has joined #ruby
mengu has joined #ruby
InhalingPixels has joined #ruby
arup_r has quit [Remote host closed the connection]
philcrissman has quit [Ping timeout: 255 seconds]
Shidash has quit [Quit: Leaving.]
davedev2_ has quit []
dudepdx has joined #ruby
tkuchiki_ has joined #ruby
vieq has joined #ruby
TorpedoSkyline has joined #ruby
InhalingPixels has quit [Ping timeout: 260 seconds]
moritzs has joined #ruby
agent_white has quit [Quit: bbl]
tkuchiki has quit [Ping timeout: 240 seconds]
arup_r has joined #ruby
dudepdx has quit [Ping timeout: 246 seconds]
tkuchiki_ has quit [Ping timeout: 250 seconds]
cantonic has quit [Quit: cantonic]
krisquigley has quit []
whyy has quit [Remote host closed the connection]
gkagan has joined #ruby
hamakn has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
tlarevo has quit [Read error: Connection reset by peer]
shredding has quit [Quit: shredding]
Lightsword has quit [Quit: Lightsword]
yfeldblum has joined #ruby
gkagan has quit [Ping timeout: 246 seconds]
tlarevo has joined #ruby
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby
teddyp1cker has joined #ruby
gccostabr has joined #ruby
axsuul has quit [Ping timeout: 250 seconds]
krisquigley has joined #ruby
kp666 has joined #ruby
moritzs has quit [Ping timeout: 240 seconds]
dgutierrez1287 has quit [Ping timeout: 264 seconds]
dapadoupas has quit [Quit: Textual IRC Client: www.textualapp.com]
gtc has quit [Ping timeout: 255 seconds]
dserodio has quit [Ping timeout: 255 seconds]
dawkirst has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alexandros has joined #ruby
teddyp1cker has quit [Ping timeout: 240 seconds]
Skwallinux has joined #ruby
HelperW_ has quit [Remote host closed the connection]
moritzs has joined #ruby
HelperW_ has joined #ruby
krisquigley has quit [Client Quit]
gtc has joined #ruby
karupa is now known as zz_karupa
workmad3 has quit [Quit: Lost terminal]
<gaussblurinc1> hi? how can I interact via network in ruby? any good network manager?
dserodio has joined #ruby
hendricius has joined #ruby
workmad3 has joined #ruby
DaniG2k has quit [Quit: leaving]
arya_ has joined #ruby
OffTheRails has joined #ruby
mostlybadfly has joined #ruby
<hendricius> what's with the rails channel?
<hendricius> can't join it, or only me? :D
<gaussblurinc1> hendricius: this channel need registration
<gaussblurinc1> registration on freenode
fabrice31 has joined #ruby
<hendricius> gaussblurinc1: ah thx
olausm has joined #ruby
arya_ has quit [Client Quit]
nfk has joined #ruby
<gaussblurinc1> hendricius: np
alexandros has quit [Quit: Textual IRC Client: www.textualapp.com]
arya_ has joined #ruby
adironduck has joined #ruby
mijicd has quit [Remote host closed the connection]
<workmad3> hendricius: you do get told that in your IRC client's status window btw ;)
peret has joined #ruby
<shevy> nobody looks there
<shevy> it's like putting dust under the carpet while cleaning up the house
TorpedoSkyline has joined #ruby
<hendricius> from time to time I get dced from freenode
<hendricius> weird things happen then :D
arya_ has quit [Ping timeout: 240 seconds]
mijicd has joined #ruby
<adironduck> Hi peeps, I’m refactoring a HAL wrapper for ruby and stumbled upon an interesting ”problem”: correctness versus ease of use regarding HAL relations. The thing is: a HAL relation map has keys and values. The values can be a single object or an array of objects. I see that existing HAL wrappers tend to always return an array. This is convenient when using the lib (no checking for single value / array, you can always just iterate
<adironduck> take the first value), but I feel that this obscures the underlying data - it could be valuable to be able to discriminate between single objects and single object arrays.
chipotle has joined #ruby
<jhass> I think always returning an array is a valid and useful abstraction
<jhass> after all the point of wrapper is to hide the details of the underlying API and data structure
<adironduck> Indeed
DEA7TH has quit [Ping timeout: 252 seconds]
chipotle has quit [Client Quit]
<jhass> at most I'd add a second method, get_first or so, that returns the first item if it's a collection or just the item if it's a single item
<adironduck> Consider this tho: wouldn’t you want to be able to parse the HAL object from json and dump it back, and have it be exactly the same?
<jhass> You could return a proxy that remembers whether it was a single item or not and add API to dump back to HAL (note I've no idea what HAL is ;) )
_alexandros_ has joined #ruby
nateberkopec has joined #ruby
claymore has joined #ruby
<adironduck> Thank you for your input, it is valuable even if you don’t know what HAL is :)
jusmyth has joined #ruby
jusmyth has left #ruby [#ruby]
dudepdx has joined #ruby
phutchins has quit [Ping timeout: 264 seconds]
dmst has quit []
<maasha> if you fork something inside a Thread you will die miserable?
OrkzRule has quit [Ping timeout: 260 seconds]
yubrew has joined #ruby
marr has joined #ruby
JBreit has joined #ruby
dawkirst has quit [Read error: Connection reset by peer]
dawkirst_ has joined #ruby
LeShadow has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
<LeShadow> so I have the following “problem"
nuck has quit [Ping timeout: 264 seconds]
<LeShadow> inside my ruby code, there is online that executes a system command with “exec"
ldnunes has joined #ruby
olausm has quit [Ping timeout: 240 seconds]
<LeShadow> now the program just quits after that line, even when there is code after that
<LeShadow> how do I prevent that?
dudepdx has quit [Ping timeout: 260 seconds]
nuck has joined #ruby
maximski has quit []
<jhass> maasha: should work and even duplicate the other threads. Note that every process has always at least one thread and there's actually not really anything special about it
yubrew has quit [Ping timeout: 260 seconds]
<jhass> LeShadow: don't use exec, use `, %x, system, spawn or one of the popen calls. exec replaces the current process with the specified command
<LeShadow> okay jhass thanks for the info
dudepdx has joined #ruby
JBreit has left #ruby ["Leaving"]
dudepdx has quit [Ping timeout: 255 seconds]
dorei has joined #ruby
<jheg> hey all
maximski has joined #ruby
<jheg> can someone tell me how to continue my script when I've used pry
<jheg> :)
<jheg> forgotten and stuck in mid program
InhalingPixels has joined #ruby
<dorei> jheg: i think "conitinue"
<dorei> jheg: aint sure if it needs some plugin, if it doesnt work, try "disable-pry"
arup_r has quit [Remote host closed the connection]
adironduck has quit [Quit: adironduck]
<jheg> It's working OK I just can't remember how to continue the programs execution in terminal once I interrupted it using pry
<dorei> yeap, continue is part of pry-debugger, so try disable-pry
Skwallinux has quit [Quit: ChatZilla 0.9.90.1 [Firefox 31.0/20140716183446]]
<jhass> jheg: press ctrl-d
<jheg> thanks jhass
sepp2k has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
TorpedoSkyline has joined #ruby
beemo has joined #ruby
c_nick has joined #ruby
InhalingPixels has quit [Ping timeout: 272 seconds]
whyy has joined #ruby
patrick99e99 has joined #ruby
gauravagarwalr has joined #ruby
why_away has joined #ruby
<maasha> so in a forked process errs, may it do so with no trace?
iteratorP has joined #ruby
Takle has quit [Remote host closed the connection]
gkagan has joined #ruby
patrick99e99 has quit [Ping timeout: 250 seconds]
<c_nick> I want to use bundler behind a proxy.. for my RubyMine to download the gems .. i am setting http_proxy as http://user:password@host:port .. but my password contains special characters : @
<c_nick> Do you know how I can bypas it ?
whyy has quit [Ping timeout: 245 seconds]
gogohome has joined #ruby
<gogohome> hello
DEA7TH has joined #ruby
Hobogrammer has quit [Ping timeout: 255 seconds]
freerobby has joined #ruby
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
<gogohome> i received arduino finally from ebay.com
<gogohome> then i will make drone to attack and watch someone.
crodas has joined #ruby
seph42_ has quit [Ping timeout: 240 seconds]
rodasc has quit [Read error: Connection reset by peer]
gkagan has quit [Ping timeout: 250 seconds]
cn28h has quit [Ping timeout: 250 seconds]
w1xz has quit [Ping timeout: 255 seconds]
dudepdx has joined #ruby
gtc has quit [Ping timeout: 260 seconds]
dudepdx has quit [Read error: Connection reset by peer]
fold has quit [Ping timeout: 255 seconds]
Sgeo has quit [Read error: Connection reset by peer]
TheMoonMaster has quit [Ping timeout: 255 seconds]
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<c_nick> hello
crodas has quit [Ping timeout: 260 seconds]
rodasc has joined #ruby
cn28h has joined #ruby
<jhass> wasamasa: look who's back
dbugger has joined #ruby
<wasamasa> gogohome: haha
cocotton has joined #ruby
OrkzRule has joined #ruby
<wasamasa> jhass: back again!
<gogohome> :D back with arduino
cocotton has quit [Remote host closed the connection]
arup_r has joined #ruby
<dbugger> Hello guys. I started trying to start ruby on rails, first with rbenv, and it was not working and then with rvm and somehow I think it got messed up. I would like to start right from the beginning. You guys know how can I delete everything ruby and rails?
<jhass> dbugger: rm -Rf .rvm .rbenv; remove any source and PATH lines added by those from your .bashrc/.bash_profile/.profile/.zshrc/.zprofile
<jhass> open a new shell
seph429 has joined #ruby
TheMoonMaster has joined #ruby
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
cocotton has joined #ruby
<gaussblurinc1> hi!
agjacome has quit [Quit: leaving]
<matti> Hi
<gaussblurinc1> can anybody advise good network manager?
freerobby has quit [Quit: Leaving.]
<dbugger> jhass: I have no .zprofile. is that ok?
<wasamasa> gaussblurinc1: that's no ruby question, you fool
<jhass> dbugger: yes
<jhass> gaussblurinc1: NetworkManager
<gaussblurinc1> wasamasa: wow, and what is it? I want good ruby implementation of network manager
<jhass> no idea
<wasamasa> gaussblurinc1: just no
<dbugger> jhass: ok. I have done that. But if I type "rails" on the command like, I still get the terminal help. Doesnt that mean that is not all uninstalled?
<wasamasa> gaussblurinc1: that gem doesn't do what you think it does
iteratorP has quit [Remote host closed the connection]
<jhass> dbugger: "terminal help"?
gtc has joined #ruby
abuzze has quit [Ping timeout: 240 seconds]
osvico has joined #ruby
<dbugger> jhass: I mean the "usage" instructions
<jhass> dbugger: what does which rails say?
<dbugger> jhass: Instead shouldnt it say "command not found"?
yacks has quit [Ping timeout: 245 seconds]
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dbugger> if i do "rails -v" it says "Rails 3.2.16"
abuzze has joined #ruby
<jhass> dbugger: `which rails` what does say that
<dbugger> Which would indicate that is not uninstalled, no?
<dbugger> ah ok
<dbugger> says /usr/bin/rails
<jhass> so you did sudo gem install rails instead of just gem install rails I presume
<waxjar> looks like you installed rails on the system ruby as well
<jhass> try sudo gem uninstall rails
yacks has joined #ruby
seanmarcia has quit [Ping timeout: 250 seconds]
iteratorP has joined #ruby
<dbugger> Oh wait, I did some "autoremove" in aptitude and now it works. It is uninstalled :)
<gaussblurinc1> wasamasa: brrrr, ruby does not have good network manager like perl does? LWP? no? brrr
<dbugger> But shouldnt "gems" also be uninstalled, if I deleted ruby and rails?
<wasamasa> gaussblurinc1: are you an idiot?
<jhass> rails is gem and not necessarily
<jhass> *is a
<wasamasa> gaussblurinc1: lwp is no network manager
<wasamasa> gaussblurinc1: it's a http library
osvico has quit [Ping timeout: 255 seconds]
<dbugger> But isnt "gems" pointless without ruby installed?
<jhass> pretty much
<dbugger> jhass: so I should uninstall it too... how do I go about that?
<dbugger> I want a clean slate to start over
<wasamasa> gaussblurinc1: this is the official http library included with ruby: http://www.ruby-doc.org/stdlib-2.1.2/libdoc/open-uri/rdoc/OpenURI.html
<waxjar> i think you still have a system ruby installed, otherwise rails would complain about there being no ruby i think
<wasamasa> gaussblurinc1: you may use one of ten other libraries based on it if you prefer their API
<jhass> dbugger: does gem list still output something?
<dbugger> jhass: I think wasamasa is right. If I do apt-get remove ruby, I do get the option to remove something
<dbugger> Should I remove that as well?
<gaussblurinc1> wasamasa: ok, thanks
<jhass> dbugger: I don't know your system
<wasamasa> gaussblurinc1: I recommend you to learn english
<waxjar> dbugger: rvm has some command that makes it remove itself
mbuf has quit [Read error: Connection reset by peer]
<wasamasa> gaussblurinc1: otherwise you'll end up like gogohome
<waxjar> im sure you can uninstall rubies with it as well
<dbugger> jhass: if I do "gem list" it show me a list of gems i have installe locally
<gogohome> wasamasa: what mean? wasabi wasamasa
<jhass> wasamasa: uhm, open-uri is an abstraction upon net/http already
freerobby has joined #ruby
<wasamasa> jhass: oh right
<jhass> dbugger: please make a gist with the output of gem env
axilla has joined #ruby
olausm has joined #ruby
rodasc has quit [Read error: Connection reset by peer]
crodas has joined #ruby
dawkirst_ has quit [Remote host closed the connection]
SilkFox_ has joined #ruby
olausm has quit [Client Quit]
HelperW__ has joined #ruby
<gaussblurinc1> wasamasa: ok, thank you for help
Psy-Q has joined #ruby
DaniG2k has joined #ruby
AlexRussia has joined #ruby
<DaniG2k> has anyone been having problems with jquery-ui recently?
startupality has joined #ruby
<Psy-Q> what's the current way to do amazon s3-compatible stuff on servers that aren't amazon's? i'm getting errors that look like ruby 2.1 incompatibilities from the aws/s3 gem, and i think amazon's own only works on amazon's servers, right?
<DaniG2k> specifically, couldn't find file 'jquery-ui' in application.css
ndrei has quit [Ping timeout: 240 seconds]
yubrew has joined #ruby
<jhass> dbugger: I'd just run sudo gem uninstall for all the gems listed by gem list and keep it that way
mengu has quit [Remote host closed the connection]
krisquigley has joined #ruby
<dbugger> jhass: ok, wait.
philcrissman has joined #ruby
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
W0rmDr1nk has quit [Quit: Leaving]
paulfm has joined #ruby
HelperW_ has quit [Ping timeout: 250 seconds]
Xiti has quit [Quit: Leaving]
lukeholder has joined #ruby
<jhass> dbugger: then when you decide to install rvm or rbenv again, make sure to avoid sudo completely.
<dbugger> jhass: How do I do that? When I do "sudo gem uninstall bundler", I get a "INFO: gem "bundler" is not installed"
lukeholder has quit [Max SendQ exceeded]
shredding has joined #ruby
<jhass> then ignore that
HelperW__ has quit [Ping timeout: 255 seconds]
SilkFox_ has quit [Ping timeout: 260 seconds]
lukeholder has joined #ruby
<dbugger> jhass: ok... then how do I delete the gems?
lukeholder has quit [Max SendQ exceeded]
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
nateberkopec has joined #ruby
lukeholder has joined #ruby
<jhass> you probably could empty the first two directories in the GEM PATHs, but I just wouldn't bother
yubrew has quit [Ping timeout: 255 seconds]
lukeholder has quit [Max SendQ exceeded]
philcrissman has quit [Ping timeout: 240 seconds]
<Psy-Q> it seems the aws-s3 gem is very outdated, anyway
lukeholder has joined #ruby
zorak8 has quit [Ping timeout: 260 seconds]
iteratorP has quit [Remote host closed the connection]
britneywright has joined #ruby
Xiti has joined #ruby
iteratorP has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
nateberkopec has joined #ruby
<crome> le Psy-Q o/
<Psy-Q> crome: oh, le crome! o/
<DefV> Psy-Q: Fog gem
dbugger has quit [Quit: Leaving]
<DefV> or amazon-sdk gem
<Psy-Q> DefV: aws-sdk supports non-amazon server addresses?
<Psy-Q> i didn't find the details about that yet
<Psy-Q> but i'll look at fog as well, thanks
<DefV> Fog does
AlSquire has joined #ruby
workmad3 has quit [Ping timeout: 272 seconds]
osvico has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
sorpaas has joined #ruby
LeShadow has quit [Quit: LeShadow]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
phoo1234567 has joined #ruby
seanmarcia has joined #ruby
Dr3amc0d3r is now known as Dr3amc0d3r|away
nahob has joined #ruby
dmst has joined #ruby
phoo1234567 has quit [Max SendQ exceeded]
phoo1234567 has joined #ruby
startupality has quit [Quit: startupality]
yfeldblum has joined #ruby
startupality has joined #ruby
lkba has joined #ruby
sorpaas has quit [Client Quit]
sorpaas has joined #ruby
gerep has joined #ruby
crdpink has joined #ruby
InhalingPixels has joined #ruby
crdprink2 has quit [Ping timeout: 240 seconds]
sorpaas has left #ruby [#ruby]
mr_snowf1ake has joined #ruby
phutchins has joined #ruby
<Psy-Q> thanks, Fog seems to support it, it just fails at resolving names
<Psy-Q> i think it's ignoring /etc/hosts
<Psy-Q> so the internal VM cluster won't work on it right now
mr_snowf1ake has quit [Client Quit]
c_nick has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
InhalingPixels has quit [Ping timeout: 260 seconds]
jespada has joined #ruby
ddv has joined #ruby
ddv has quit [Changing host]
arya_ has joined #ruby
snath has quit [Ping timeout: 260 seconds]
<Psy-Q> if i can fix that, i guess it might work :)
<DefV> I doubt fog does it's own resolving
<DefV> its*
seanmarcia has quit [Ping timeout: 255 seconds]
iamjarvo has quit [Quit: Textual IRC Client: www.textualapp.com]
davispuh has joined #ruby
timonv_ has quit [Remote host closed the connection]
bmurt has joined #ruby
timonv_ has joined #ruby
maximski has quit []
emocakes has quit []
diegoviola has joined #ruby
krz has joined #ruby
DaniG2k has quit [Quit: leaving]
gkagan has joined #ruby
qba73 has joined #ruby
Takle has joined #ruby
Takle has quit [Remote host closed the connection]
dawkirst has joined #ruby
obscured has joined #ruby
ringarin has quit [Quit: Leaving]
timonv_ has quit [Ping timeout: 260 seconds]
rjhunter has joined #ruby
rjhunter has quit [Remote host closed the connection]
rjhunter has joined #ruby
dawkirst has quit [Remote host closed the connection]
gkagan has quit [Ping timeout: 250 seconds]
ixti has joined #ruby
dawkirst has joined #ruby
mary5030 has joined #ruby
<shevy> hmm
<shevy> what is the simplest way to call a method recursively, without having to know the name?
gkagan has joined #ruby
<shevy> def foo(i = [1,2,3])
<shevy> if i.is_a? Array
<shevy> # call foo
teddyp1cker has joined #ruby
why_away has quit [Ping timeout: 272 seconds]
redondo has joined #ruby
<DefV> __method__ will be :foo
<DefV> so you could doo
<DefV> send(__method__, args)
Cheezebox has joined #ruby
<jhass> meh
<shevy> hmm
davedev24_ has joined #ruby
abuzze has quit [Remote host closed the connection]
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mary5030 has quit [Remote host closed the connection]
<shevy> well it will be shorted if __method__ has less characters than the method invoked :)
<shevy> *shorter
Takle has joined #ruby
mary5030 has joined #ruby
teddyp1cker has quit [Ping timeout: 240 seconds]
maasha has quit [Ping timeout: 246 seconds]
mwlang has quit [Quit: mwlang]
qmfnp has joined #ruby
timonv_ has joined #ruby
mengu has quit [Remote host closed the connection]
timonv_ has quit [Remote host closed the connection]
<jhass> I'd define a proxy: class CollectionProxy; def initialize(objects); @objects = objects; end; def method_missing(*args); @objects.map {|object| object.public_send(*args); }; end; end; CollectionProxy.new([1,2,3]).foo
workmad3 has joined #ruby
<shevy> so you add a million chars
iteratorP has quit [Remote host closed the connection]
timonv_ has joined #ruby
<jhass> it works for arbitrary methods
peret has quit []
Cheezebox has quit [Remote host closed the connection]
<shevy> hmm
earthquake has joined #ruby
freerobby has quit [Quit: Leaving.]
dudepdx has joined #ruby
arya_ has quit [Ping timeout: 240 seconds]
<gerep> How can I turn this "\"hash.rb\"" into this hash.rb?
<gerep> I'm getting this data from a method: "\"file_name\":\"hash.rb\",\"file_hash\":\"21a8fab89e41a2d3622879ad8e5c6bf7\"
Neomex has joined #ruby
Neomex has quit [Read error: Connection reset by peer]
<gerep> And I'm getting the file_name like this: file.split(',').first.split(':').last
<jhass> looks like broken json
<gerep> Returns "\"hash.rb\""
<shevy> gerep try .delete('"') ?
<gerep> jhass, no, the method is returning a string
<gerep> jhass, shevy please take a look: https://gist.github.com/gerep/ef071693862f4d5017bf
itspots has joined #ruby
itspots has quit [Changing host]
itspots has joined #ruby
<jhass> JSON.parse("{#{silly_method}}")["file_name"]
<shevy> << is faster than +=
<shevy> and that code is very ugly :)
<gerep> shevy, thanks, updated
<jhass> gerep: so that's your method?
froggy has joined #ruby
<jhass> why don't just return a proper data structure?!
<gerep> shevy, sure is, it was working with JSON but I was told that the server works only with strings
<shevy> well you have a string anyway right?
froggy is now known as Guest82276
<gerep> shevy, yes
GeekOnCoffee has quit [Ping timeout: 264 seconds]
<jhass> JSON is a string
SilkFox has joined #ruby
<gerep> jhass, wait a second, I'll show you how do I need that data...
GeekOnDecaf has joined #ruby
GeekOnDecaf is now known as GeekOnCoffee
Guest82276 is now known as froggo
<gerep> shevy, please take a look, I've added a new file with the data format I need: https://gist.github.com/gerep/ef071693862f4d5017bf
dudepdx has quit [Ping timeout: 255 seconds]
moritzs has quit [Ping timeout: 246 seconds]
<jhass> gerep: build a hash and to_json it?
<gerep> jhass, I have tried that but it doesn't have commas on the keys, I'll try it again
<jhass> sure it does
bitri_ has joined #ruby
<gerep> jhass, ok, I'll try it again, I probably did something wrong the first time
flowerhack has quit [Remote host closed the connection]
dudepdx has joined #ruby
bijumon has quit [Quit: leaving]
<shevy> :D
Advocation has quit [Quit: Advocation]
yubrew has joined #ruby
alexju has joined #ruby
shredding has quit [Quit: shredding]
dudepdx has quit [Ping timeout: 255 seconds]
redondo has quit [Ping timeout: 272 seconds]
_1_joel has joined #ruby
x1337807x has joined #ruby
qwyeth has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
SilkFox_ has joined #ruby
tylerkern has joined #ruby
alanzo has joined #ruby
Fire-Dragon-DoL has joined #ruby
x1337807x has quit [Client Quit]
sambao21 has joined #ruby
mark_locklear has joined #ruby
freerobby has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
redondo has joined #ruby
narcan has joined #ruby
lukeholder has joined #ruby
SilkFox_ has quit [Ping timeout: 272 seconds]
lukeholder has quit [Max SendQ exceeded]
<shevy> writing that gnome-fetcher thing is boring, but I can proceed through baby steps
lukeholder has joined #ruby
_1_joel has quit [Ping timeout: 256 seconds]
adam12 has joined #ruby
klmlfl has joined #ruby
klmlfl has quit [Client Quit]
Advocation has joined #ruby
timonv_ has quit [Remote host closed the connection]
noop has quit [Ping timeout: 240 seconds]
timonv_ has joined #ruby
dblessing has joined #ruby
cpruitt has joined #ruby
Zenigor has joined #ruby
shredding has joined #ruby
HelperW__ has joined #ruby
stef_204 has joined #ruby
Ankhers has joined #ruby
* lupine wonders why AR's connection pool only stores the thread's object_id rather than the thread object
tlarevo has quit [Remote host closed the connection]
<lupine> I'm leaking connection objects since the move to AR4, and it's a nightmare to work out where from
klmlfl has joined #ruby
dudepdx has joined #ruby
duggiefresh has joined #ruby
<shevy> hehehehe
OrkzRule has quit [Ping timeout: 255 seconds]
timonv_ has quit [Ping timeout: 260 seconds]
HelperW__ has quit [Ping timeout: 260 seconds]
lolmaus has joined #ruby
dudepdx has quit [Ping timeout: 255 seconds]
<gerep> jhass, oh...things are getting easier now hahah thanks a lot ;)
<Hanmac> sorry but AR is NOP for us (Not our problem)
freerobby has quit [Quit: Leaving.]
<jhass> lupine: object_id to object snippet: ObjectSpace.each_object.find {|o| o.object_id == object_id }
<lupine> jruby ;)
<lupine> plus, they're not in Thread.list so I don't think they exist any more
<jhass> will probably gone with next GC run, yeah. Until then
<Hanmac> jhass: why not ObjectSpace._id2ref ?
<jhass> Hanmac: because .each_object is the only one I can remember there
<Hanmac> hm ok now you know
<lupine> I do have one thread hanging around, but #backtrace is empty so I'm not sure what it's up to
<Hanmac> hm ok but ObjectSpace._id2ref does throw a RangeError if object does not exist
<Hanmac> hm maybe that thread is lazy and now its "hanging around" with his friends?
InhalingPixels has joined #ruby
ArchBeOS-work has quit [Quit: Leaving]
<lolmaus> How do i define an optional argument without a default value? I need an equivalent of JS's `undefined`.
mockra has joined #ruby
jerius has joined #ruby
momomomomo has joined #ruby
failshell has joined #ruby
mengu has joined #ruby
InhalingPixels has quit [Ping timeout: 272 seconds]
<lupine> think how useful it'd be if Thread.new put caller into a thread-local :origin
mockra has quit [Ping timeout: 255 seconds]
havenwood has joined #ruby
ndrei has joined #ruby
dkamioka has joined #ruby
patrick99e99 has joined #ruby
agjacome has joined #ruby
geggam has joined #ruby
pakcjo has joined #ruby
arup_r has quit [Remote host closed the connection]
<jhass> lolmaus: use nil as default
Channel6 has joined #ruby
Cheezebox has joined #ruby
<lolmaus> jhass: uh-huh, that's what i've been doing. Just thought that there might be a sugary approach.
mary5030 has quit [Remote host closed the connection]
<lolmaus> jhass: thx.
craigp has quit [Remote host closed the connection]
davedev2_ has joined #ruby
dudepdx has joined #ruby
<Hanmac> jhass: did you know that "def func(x = raise TypeError); end" is valid ruby? ;P
patrick99e99 has quit [Ping timeout: 255 seconds]
davedev24_ has quit [Read error: Connection reset by peer]
<Hanmac> hm huch last time i checked it was ...
<Hanmac> but that works: "def func(x = raise(TypeError)); end"
kaspertidemann has quit []
<jhass> Hanmac: you should make a blog post or website with all your ruby curiosities so that I can filter that out :P
earthquake has quit [Quit: earthquake]
<pakcjo> hello, I think I have a mess in my system (regarding ruby/gems/rails versions) could someone give me hand? I'm using ubuntu and I have read that it is best to upgrade/install by gem rather than package management, just not sure if this applies here as well?
timonv_ has joined #ruby
dkamioka has quit [Remote host closed the connection]
TorpedoSkyline has joined #ruby
<havenwood> pakcjo: what kinda mess do you have? having issues? what Ruby are you on?
centrx has joined #ruby
cocotton has quit [Remote host closed the connection]
dudepdx has quit [Ping timeout: 246 seconds]
freerobby has joined #ruby
<havenwood> pakcjo: there're many ways to do it, but installing a supported Ruby by apt package, selecting it with update-alternatives, and installing gems yourself is fine.
<pakcjo> havenwood: I don't even know, dpkg --get-selections shows gem, rubygems, rubygems1.9.1 (deinstalled)
<pakcjo> I have ruby, ruby1.8, ruby1.9.3
<havenwood> pakcjo: sudo update-alternatives --config ruby
<havenwood> pakcjo: sudo update-alternatives --config gem
<havenwood> pakcjo: you can uninstall the ones you're not using, but don't have to
Aranshada|W has joined #ruby
<pakcjo> havenwood: thanks, but why do I have 2: http://pastie.org/9494491 ?
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> pakcjo: i'd just uninstall ruby 1.8
<pakcjo> ok
atmosx has quit [Ping timeout: 260 seconds]
tylerkern has quit [Read error: Connection reset by peer]
<havenwood> pakcjo: and while you're at it, install ruby 2.0 ;)
<havenwood> pakcjo: sudo apt-get install ruby2.0 ruby2.0-dev
tylerkern has joined #ruby
<havenwood> pakcjo: but just be sure to select the Ruby and gem you want to use with update-alternatives
atmosx has joined #ruby
<havenwood> (not 1.8 :P)
yfeldblu_ has joined #ruby
charliesome has joined #ruby
<havenwood> pakcjo: RubyGems ships with Ruby post 1.8, which is often the source of confusion with it being separate in 1.8.
<havenwood> pakcjo: and is also why you have to update-alternatives it
<pakcjo> havenwood: thanks, I'm in the process of removing the old ones
ffranz has joined #ruby
spastorino has joined #ruby
_sillymarkets has quit [Ping timeout: 246 seconds]
<pakcjo> ok, now I have "There is only one alternative in link group ruby: /usr/bin/ruby1.9.1"
yfeldblum has quit [Ping timeout: 245 seconds]
<pakcjo> same for gem
yeticry has quit [Read error: Connection reset by peer]
sparrovv has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblu_ has quit [Ping timeout: 250 seconds]
<pakcjo> gem --version
<pakcjo> 1.8.11
<pakcjo> is that ok?
sparrovv has quit [Read error: Connection reset by peer]
sparrovv has joined #ruby
<pakcjo> I think somethings is strange still: "There is only one alternative in link group gem: /usr/bin/gem1.9.1" but gem --version shows 1.8.11
dudepdx has joined #ruby
<jhass> pakcjo: ruby -v shows the ruby version, gem -v shows the rubygems version
<pakcjo> There is only one alternative in link group ruby: /usr/bin/ruby1.9.1 but ruby --version shows ruby 1.9.3p0
<jhass> they do not correlate
<TTilus> 1.9.1 isnt gem version, its ruby abi version
Advocation has quit [Quit: Advocation]
<TTilus> abi for ruby 1.9.3 actually is 1.9.1 iirc
<havenwood> pakcjo: another common confusing with debian's ruby package... 1.9.1 is actually 1.9.3 >.>
<pakcjo> so gem 1.8.11 is good?
<havenwood> pakcjo: that's what ships with it
<TTilus> just fine
<pakcjo> thanks :)
<pakcjo> debian... Always making things fun
yubrew has joined #ruby
pandaant has quit [Quit: Lost terminal]
<TTilus> its not like brand spanking new, but fairly recent and will do prolly all the things you want it to
pandaant has joined #ruby
brothmars has joined #ruby
philcrissman has joined #ruby
zeroNones has joined #ruby
zeroNones has quit [Max SendQ exceeded]
yeticry has joined #ruby
<shevy> pakcjo always keep in mind that a distribution may modify packages
dudepdx has quit [Ping timeout: 255 seconds]
zeroNones has joined #ruby
<shevy> like by ... I dunno ... eliminating something like 'mkmf'
gogohome has left #ruby [#ruby]
bMalum has joined #ruby
yubrew has quit [Ping timeout: 260 seconds]
<pakcjo> :)
DrShoggoth has joined #ruby
mary5030 has joined #ruby
shackleford has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
philcrissman has quit [Ping timeout: 264 seconds]
abuzze has joined #ruby
shackleford has quit [Read error: Connection reset by peer]
_tpavel has quit [Quit: Leaving]
shackleford has joined #ruby
<pakcjo> rails shows version 3.2.19 that's what comes with debian as well?
lw has joined #ruby
<shevy> dunno. does apt-search show rails?
<havenwood> pakcjo: install Rails as a gem
<shevy> if debian is clever, they show you which version it is
AlexBlom has joined #ruby
<havenwood> pakcjo: i'd be very wary of apt gem packages
<pakcjo> it doesn't, you are right
banister is now known as banisterfiend
<pakcjo> I did gem list and for rails it shows: rails (3.2.19, 3.2.0, 2.3.11)
dudepdx has joined #ruby
<havenwood> old, older, ancient
<havenwood> pakcjo: sudo gem install rails
<pakcjo> havenwood: but can I switch them? or delete old ones?
<havenwood> pakcjo: sudo gem uninstall rails
<havenwood> pakcjo: sure, you can uninstall them by version or all at once, the `gem` command works well
<pakcjo> havenwood: thanks!
SilkFox_ has joined #ruby
abuzze_ has joined #ruby
abuzze_ has quit [Remote host closed the connection]
<havenwood> pakcjo: checkout `gem help install` and `gem help uninstall` etc for more options
abuzze has quit [Remote host closed the connection]
abuzze has joined #ruby
<pakcjo> ok, I think now it's just a matter of matching what the apps requires, probably I can do it from here by myself, thanks a lot :)
abuzze has quit [Remote host closed the connection]
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
<havenwood> pakcjo: if it's a relatively new app, that'll be in the Gemfile file in the project root dir
<havenwood> pakcjo: bundle
sysx1000 has joined #ruby
abuzze has joined #ruby
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Cheezebox has quit [Remote host closed the connection]
<havenwood> pakcjo: http://bundler.io
cocotton has joined #ruby
dudepdx has quit [Ping timeout: 240 seconds]
craigp has joined #ruby
craigp has quit [Remote host closed the connection]
<pakcjo> thanks havenwood
<havenwood> pakcjo: you're welcome
dudepdx has joined #ruby
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
freerobby has quit [Client Quit]
SilkFox_ has quit [Ping timeout: 240 seconds]
goshdarnyou has joined #ruby
AlexBlom has quit [Quit: This computer has gone to sleep]
mengu has quit [Remote host closed the connection]
asteve has joined #ruby
craigp has joined #ruby
tagrudev has quit [Remote host closed the connection]
aganov has quit [Remote host closed the connection]
thedude has joined #ruby
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
divi_ has joined #ruby
bitri_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dudepdx has quit [Ping timeout: 255 seconds]
tylerkern has joined #ruby
mockra has joined #ruby
craigp has quit [Ping timeout: 246 seconds]
sparrovv_ has joined #ruby
jusmyth has joined #ruby
yfeldblum has joined #ruby
xcv has quit [Remote host closed the connection]
sparrovv has quit [Ping timeout: 260 seconds]
Cheezebox has joined #ruby
thedude has quit [Ping timeout: 240 seconds]
yfeldblu_ has joined #ruby
sylvanica has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
krisquigley has quit [Remote host closed the connection]
cy has joined #ruby
qmfnp has quit [Quit: Textual IRC Client: www.textualapp.com]
yfeldblum has quit [Ping timeout: 255 seconds]
jdj_dk has quit [Ping timeout: 255 seconds]
gogohome has joined #ruby
dmst has quit [Ping timeout: 245 seconds]
<pakcjo> Now I'm with: Gem::LoadError: You have already activated rake 10.3.2, but your Gemfile requires rake 10.1.1
aaronrl_ has quit [Quit: Leaving]
<havenwood> pakcjo: prefix `bundle exec` before your command
<pakcjo> gem list shows: rake (10.3.2, 10.1.1)
larissa has joined #ruby
Brycetron has joined #ruby
<pakcjo> thanks havenwood
yfeldblu_ has quit [Ping timeout: 240 seconds]
Advocation has joined #ruby
TorpedoSkyline has joined #ruby
InhalingPixels has joined #ruby
tobago has quit [Remote host closed the connection]
qmfnp has joined #ruby
qmfnp has quit [Client Quit]
startupality has quit [Quit: startupality]
<atmosx> jhass: you here?
<jhass> why?
Macaveli has quit [Read error: Connection reset by peer]
snath has joined #ruby
<jhass> just ask your questions, don't try to find the right people for it
Macaveli has joined #ruby
<gogohome> hello
<havenwood> g'morning
<atmosx> hello gogohome
Channel6 has quit [Quit: Leaving]
<gogohome> atmosx: how do you do?
<Brycetron> anyone know how to install devise to my rails?
<atmosx> jhass: yesterday, while talking about using global vars ($) on sinatra app, you told me to access the variable creating an instance in config.ru: so try defining an initialize (call super) and set an instance var there
<havenwood> Brycetron: try in #RubyOnRails
<Brycetron> Tried
<Brycetron> :)
<jhass> try harder
<jhass> (=show patience)
InhalingPixels has quit [Ping timeout: 250 seconds]
<Brycetron> Jhass are you in there right now?
<jhass> no
steepingnosher has joined #ruby
Takle has quit [Remote host closed the connection]
<havenwood> Reminds me of Dark Highway.
apeiros has quit [Remote host closed the connection]
infinitone has joined #ruby
apeiros has joined #ruby
<Brycetron> How would you know if i've been patient or not
speaking1ode is now known as speakingcode
sinkensabe has quit [Remote host closed the connection]
<shevy> he knows a lot
<Brycetron> apparently
<Brycetron> :)
craigp has joined #ruby
<jhass> you didn't even took the time to mention that you already asked in #rubyonrails
ndrei has quit [Ping timeout: 245 seconds]
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zeroNones has joined #ruby
jusmyth has quit [Quit: Leaving.]
<havenwood> Brycetron: do please mention if you must cross-post ;) but #rubyonrails is the on-topic place for this one
craigp has quit [Remote host closed the connection]
amargherio has joined #ruby
craigp has joined #ruby
guardian has joined #ruby
<guardian> hello
<havenwood> hi
<guardian> is there a PEG library for Ruby that stands out these days?
<guardian> I know there are treeopt and parslet
<guardian> any other ?
apeiros has quit [Ping timeout: 272 seconds]
toastynerd has joined #ruby
starkhalo has joined #ruby
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
AlexBlom has joined #ruby
<atmosx> gogohome: I'm fine thanks
OrkzRule has joined #ruby
<gogohome> oh good atmosx
Asher has quit [Quit: Leaving.]
startupality has joined #ruby
jobewan has quit [Ping timeout: 260 seconds]
ndrei has joined #ruby
Takle has joined #ruby
sdouglas has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
sdouglas has joined #ruby
mikecmpbll has quit [Ping timeout: 250 seconds]
sparrovv_ has quit [Remote host closed the connection]
saarinen has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
Lewix has joined #ruby
fabrice31 has quit [Remote host closed the connection]
lmickh has joined #ruby
anarang has quit [Quit: Leaving]
teddyp1cker has quit [Ping timeout: 245 seconds]
sdouglas has quit [Ping timeout: 250 seconds]
dudepdx has joined #ruby
hooper has joined #ruby
sawtooth has quit [Ping timeout: 272 seconds]
yubrew has joined #ruby
jusmyth has joined #ruby
lw has quit [Quit: s]
steepingnosher has quit [Quit: Page closed]
livingstn has joined #ruby
hooper has quit [Client Quit]
Xeago_ has joined #ruby
terrellt has joined #ruby
<lupine> connection adapters have a #last_use attribute
Xeago has quit [Ping timeout: 245 seconds]
<lupine> this has saved my bacon
<shevy> your bacon?
<shevy> you hate animals!
Xiti has quit [Quit: Leaving]
lw has joined #ruby
<lupine> I love them
<lupine> they taste so good
<SCHAAP137> bacon is rly niuce
<SCHAAP137> *nice
dudepdx has quit [Ping timeout: 255 seconds]
yubrew has quit [Ping timeout: 246 seconds]
momomomomo has quit [Quit: momomomomo]
larissa has quit [Quit: Leaving]
sparrovv has joined #ruby
sawtooth has joined #ruby
paulfm_ has joined #ruby
mikepack has joined #ruby
apeiros has joined #ruby
jobewan has joined #ruby
gauke has quit [Quit: gauke]
paulfm has quit [Ping timeout: 255 seconds]
sharms has joined #ruby
sparrovv has quit [Remote host closed the connection]
sparrovv has joined #ruby
atmosx has quit [Quit: Textual IRC Client: www.textualapp.com]
Takle has quit [Ping timeout: 240 seconds]
dudepdx has joined #ruby
momomomomo has joined #ruby
abuzze has quit [Ping timeout: 250 seconds]
sparrovv_ has joined #ruby
sparrovv has quit [Read error: Connection reset by peer]
gaussblurinc1 has quit [Quit: Leaving.]
Dreamer3 has quit [Quit: Computer has gone to sleep.]
jmbrown412 has joined #ruby
mr_snowf1ake has joined #ruby
DEA7TH has quit [Ping timeout: 245 seconds]
anaeem1 has joined #ruby
dudepdx has quit [Ping timeout: 240 seconds]
gaussblurinc11 has joined #ruby
alanzo has quit [Remote host closed the connection]
dudepdx has joined #ruby
adac has quit [Ping timeout: 255 seconds]
alanzo has joined #ruby
starless has joined #ruby
shredding has quit [Quit: shredding]
emocakes has joined #ruby
postmodern has joined #ruby
SilkFox_ has joined #ruby
geggam has quit [Ping timeout: 240 seconds]
FarlaTux has quit [Quit: Leaving]
Dev-Gitter has quit [Quit: Leaving]
craigp has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
craigp has joined #ruby
anaeem1 has quit [Remote host closed the connection]
mr_snowf1ake has quit [Quit: Leaving]
geggam has joined #ruby
dudepdx has quit [Ping timeout: 255 seconds]
alanzo has quit [Ping timeout: 250 seconds]
toastynerd has quit [Remote host closed the connection]
carraroj has joined #ruby
Lexun has joined #ruby
SilkFox_ has quit [Ping timeout: 250 seconds]
claymore is now known as claymore_
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
claymore_ is now known as claymore
klmlfl has quit [Quit: klmlfl]
klmlfl has joined #ruby
AlexBlom has quit [Quit: This computer has gone to sleep]
aspires has joined #ruby
jherbst has joined #ruby
lw has quit [Quit: s]
alanzo has joined #ruby
yfeldblum has joined #ruby
Xiti has joined #ruby
AlexBlom has joined #ruby
zeroNones has joined #ruby
saarinen has quit [Quit: saarinen]
dumdedum has quit [Quit: foo]
gogohome has left #ruby [#ruby]
krisquigley has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
froggy_ has joined #ruby
joonty has quit [Quit: Leaving]
dumdedum has joined #ruby
osvico has quit [Ping timeout: 240 seconds]
kp666 has quit [Ping timeout: 246 seconds]
<miah> it is the internets favorite food
apeiros has quit [Remote host closed the connection]
<IotaSpencer> in str.gsub, what /exactly/ are {|match| block } supposed to refer to, especially, if I'm trying to say lreply = $4.gsub(/^\:Welcome to the (\S+) IRC Network.*/) { |match| block }
froggo has quit [Ping timeout: 240 seconds]
jobewan has quit [Ping timeout: 272 seconds]
krisquigley has quit [Read error: Connection reset by peer]
mistergibson has joined #ruby
krisquigley has joined #ruby
<shevy> IotaSpencer what is th at
<shevy> |match| is the name of the variable for the block
<shevy> I have no idea what block refers to
<havenwood> >> tip = '$1.51'.gsub(/1/) { |n| n.to_i + 6 }
<eval-in> havenwood => "$7.57" (https://eval.in/182117)
cocotton has quit [Remote host closed the connection]
<havenwood> well, a terrible example but a block >.>
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<IotaSpencer> supposedly I don't think I need a block for what I'm asking from it
gaussblurinc11 has quit [Quit: Leaving.]
testcore has quit [Quit: BitchX-1.3-git -- just do it.]
InhalingPixels has joined #ruby
divi_ has quit [Quit: Textual IRC Client: www.textualapp.com]
maximski has joined #ruby
poulet_a has quit [Quit: Quitte]
Hanmac has quit [Ping timeout: 272 seconds]
jprovazn has quit [Quit: Leaving]
dkamioka has joined #ruby
Advocation has quit [Quit: Advocation]
InhalingPixels has quit [Ping timeout: 245 seconds]
jamesfordummies has joined #ruby
ghostmoth has joined #ruby
sysx1000 has quit [Quit: sysx1000]
patrick99e99 has joined #ruby
ndrei has quit [Ping timeout: 245 seconds]
centrx has quit [Quit: Mead error: Connection reset by beer]
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
IceDragon has joined #ruby
Kricir has joined #ruby
dkamioka has quit [Remote host closed the connection]
thousandwich has joined #ruby
jobewan has joined #ruby
claw___ has joined #ruby
dumdedum has quit [Quit: foo]
<jhass> IotaSpencer: we don't know what you want from it
pandaant has quit [Remote host closed the connection]
patrick99e99 has quit [Ping timeout: 245 seconds]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
jkline has joined #ruby
claw__ has quit [Ping timeout: 240 seconds]
sdouglas has joined #ruby
asteve has joined #ruby
renderful has joined #ruby
b00stfr3ak has joined #ruby
Zenigor has quit [Ping timeout: 246 seconds]
tylerkern has joined #ruby
Lewix has quit [Remote host closed the connection]
toastynerd has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
yubrew has joined #ruby
jusmyth has left #ruby [#ruby]
AlexBlom has quit [Quit: This computer has gone to sleep]
Hanmac has joined #ruby
bigkevmcd has quit [Quit: Ex-Chat]
philcrissman has joined #ruby
gauke has joined #ruby
mikecmpbll has joined #ruby
klmlfl_ has joined #ruby
sambao21 has joined #ruby
gauke has quit [Client Quit]
renderfu_ has quit [Ping timeout: 264 seconds]
sparrovv_ has quit [Remote host closed the connection]
lw has joined #ruby
sparrovv has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
klmlfl has quit [Ping timeout: 250 seconds]
klmlfl_ is now known as klmlfl
philcrissman has quit [Ping timeout: 260 seconds]
zoo-zed has joined #ruby
michaeldeol has joined #ruby
timonv_ has quit [Remote host closed the connection]
piranha93 has joined #ruby
timonv_ has joined #ruby
krz has quit [Quit: WeeChat 0.4.3]
michaeldeol has quit [Client Quit]
sparrovv has quit [Ping timeout: 250 seconds]
Lewix has joined #ruby
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mattmcclure has joined #ruby
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gauravagarwalr has quit []
starless has quit [Remote host closed the connection]
bricker`work has joined #ruby
agent_white has joined #ruby
einarj has quit [Remote host closed the connection]
timonv_ has quit [Ping timeout: 246 seconds]
pierre1_ has joined #ruby
AlexBlom has joined #ruby
<agent_white> Mornin
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dudepdx has joined #ruby
sdwrage has joined #ruby
romanparish has joined #ruby
jerius has quit []
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
zeroNones has joined #ruby
zeroNones has quit [Max SendQ exceeded]
<_shrine> has anyone used IronRuby, or is it a waste of time?
Kricir has quit [Remote host closed the connection]
kristofferR has joined #ruby
diegoviola has quit [Ping timeout: 250 seconds]
piranha93 has quit [Quit: Sto andando via]
crazed has quit [Ping timeout: 245 seconds]
hamakn has quit [Remote host closed the connection]
<pontiki> that's a hecka tip on a buck and half
michaeldeol has joined #ruby
LBRapid has quit [Ping timeout: 260 seconds]
crazed has joined #ruby
icebourg has joined #ruby
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sambao21 has quit [Quit: Computer has gone to sleep.]
wallerdev has joined #ruby
dudepdx has quit [Ping timeout: 246 seconds]
havenwood has quit [Remote host closed the connection]
paulfm_ has quit []
crdprink2 has joined #ruby
deric_skibotn has joined #ruby
sambao21 has joined #ruby
emmesswhy has joined #ruby
icarus has joined #ruby
icarus has quit [Changing host]
icarus has joined #ruby
crdpink has quit [Ping timeout: 255 seconds]
troyready has joined #ruby
agent_white has quit [Quit: brb]
LBRapid has joined #ruby
hoelzro has quit [Ping timeout: 272 seconds]
bbloom_ has quit [Ping timeout: 240 seconds]
<shevy> _shrine I think it died years ago
hoelzro has joined #ruby
echevemaster has joined #ruby
apeiros has joined #ruby
gerep is now known as gerep-lunch
<shevy> why did matz not come up with something like gems ?
aspires has quit []
AlexBlom has quit [Quit: This computer has gone to sleep]
abuzze has joined #ruby
mikepack has quit [Remote host closed the connection]
SilkFox_ has joined #ruby
yfeldblum has joined #ruby
wmoxam has quit [Ping timeout: 260 seconds]
ghr has quit [Ping timeout: 260 seconds]
wmoxam has joined #ruby
seamon has joined #ruby
lfox has quit [Ping timeout: 240 seconds]
abuzze has quit [Ping timeout: 250 seconds]
<bricker`work> lol what
romanparish has left #ruby [#ruby]
SilkFox_ has quit [Ping timeout: 245 seconds]
apeiros has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 255 seconds]
lw has quit [Quit: s]
romanparish has joined #ruby
apeiros has joined #ruby
jdj_dk has joined #ruby
diegoviola has joined #ruby
romanparish has quit [Quit: leaving]
<wasamasa> shevy: why did you come up with that question?
<shevy> wasamasa mruby has no support for gems
emocakes has quit []
lfox has joined #ruby
<shevy> without the authors behind rubygems, I am quite sure that ruby would not have anything like gems
jkline has quit [Quit: jkline]
<wasamasa> !whoosh
<wasamasa> meh
aclearman037 has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Zenigor has joined #ruby
<workmad3> shevy: it would have something like it, in the sense that it would have a package manager, I have no doubt
tlarevo has joined #ruby
charliesome has quit [Quit: zzz]
lw has joined #ruby
jahrichie has joined #ruby
benzrf|offline has quit [Ping timeout: 240 seconds]
jdj_dk has quit [Ping timeout: 245 seconds]
apeiros has quit [Ping timeout: 260 seconds]
aspires has joined #ruby
Cheezebox has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 246 seconds]
<jahrichie> Is there a programitc means to getting a list of a instance methods arguments?
<jahrichie> say UserMailer.send_some_email(foo,bar)
<jahrichie> id like an array of the argument local variable names
<jahrichie> [foo,bar]
<jahrichie> or anything like that
<jahrichie> does that make sense, and does anyone know the best way
aspires has quit [Client Quit]
<shevy> workmad3 hmm one article says that rubygems was created in 2003
<cschneid> say I have a hash, and I want to see if it contains {:a => 1, :b => 2} with no other cares about the contents. `.include` doesn't work since its key only. The closest I can see is `values_at(:a, :b) == [1,2]` but that's hard to scale up to more keys to check
<cschneid> is there a "contains subset" method (in either plain ruby or AS)
Zenigor has quit [Ping timeout: 240 seconds]
Cheezebox has joined #ruby
<shevy> cschneid how about .has_key?()
<workmad3> shevy: sounds about right
<jahrichie> +1
jfutbol has joined #ruby
<cschneid> shevy: I want to check keys & values, across several pairs. Basically I want to say: "is this parameter hash a subset of the hash I have"
georgelappies has joined #ruby
aspires has joined #ruby
<cschneid> shevy: something logically like: `h.contains?( :a => 1, b => 2)`
Akagi201 has quit [Remote host closed the connection]
ndrei has joined #ruby
dawkirst has quit [Remote host closed the connection]
mr_snowf1ake has joined #ruby
wallerdev has quit [Quit: wallerdev]
sarlalian has quit [Quit: WeeChat 0.4.2]
<shevy> well you can add a contains? method to class Hash
ptrrr has quit [Quit: ptrrr]
<jhass> jahrichie: you can define a method like foo(*args) to get the passed values as an array. If you call local_variables in the first line of a method you get an array of symbols with the names of the arguments. Not sure what you want
<jahrichie> yeah sorry, having trouble articulating myself
<shevy> I don't think default ruby has a way to check for deep inclusion queries without you having to write that method yourself
<shevy> perhaps you can use an Enumerator to find out
<cschneid> shevy: yeah, did it. Weird that there's just not something I can do built in. "is this hash a subset of that hash" seems like a thing I sometimes want.
sarlalian has joined #ruby
jgrevich has joined #ruby
<cschneid> ok, here's the impl I used - is there a nicer way? `class Hash; def contains?(h2); (h2.to_a & self.to_a).length == h2.keys.length; end; end;`
Lewix has quit [Remote host closed the connection]
<cschneid> I like that I don't have to manually loop, but I dislike that I have to `to_a` and `length` twice
<jhass> use .size, it's shorter :P
agent_white has joined #ruby
alanzo has quit [Quit: Leaving...]
InhalingPixels has joined #ruby
jamesfordummies has quit [Remote host closed the connection]
<shevy> :P
Lewix has joined #ruby
georgesmith has quit [Quit: georgesmith]
ssvo has quit [Ping timeout: 260 seconds]
<cschneid> in rails land, I use `.length` for arrays, `.size` for AR collections. Otherwise you accidentally start doing db calls :)
<Hanmac> cschneid: class Hash; def contains?(h2); h2.all? {|k,v| self[k] == v}; end
<cschneid> Hanmac: ah, sure. There's probably weirdness around nils as values, but I don't really care :)
jerius has joined #ruby
<cschneid> Hanmac: in both solutions I realize.
JoshGlzBrk has joined #ruby
<cschneid> I really start missing option types after going to scala & haskell for a while, then coming back :)
beef-wellington has joined #ruby
qba73 has quit [Remote host closed the connection]
InhalingPixels has quit [Ping timeout: 246 seconds]
ssvo has joined #ruby
saarinen has joined #ruby
<shevy> rails land sounds scary
<shevy> I always use .size
SilkFox has quit [Ping timeout: 260 seconds]
<pipework> size is good stuff
Fire-Dragon-DoL has joined #ruby
fabrice31 has joined #ruby
asteve has quit [Ping timeout: 260 seconds]
thedude has joined #ruby
xcv has joined #ruby
adac has joined #ruby
momomomomo_ has joined #ruby
mkaesz has quit [Quit: Leaving...]
adac has quit [Max SendQ exceeded]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jfutbol has quit [Remote host closed the connection]
momomomomo has quit [Ping timeout: 250 seconds]
momomomomo_ is now known as momomomomo
adac has joined #ruby
ghr has joined #ruby
treehug88 has joined #ruby
jfutbol has joined #ruby
yubrew has joined #ruby
asteve has joined #ruby
nobitanobi has joined #ruby
<cschneid> shevy: size works fine, except when it bites your hand off.
<cschneid> then, lets not forget about `count`. :) Boy does ruby like synonyms.
<pipework> cschneid: But count isn't synonymous, right.
<nobitanobi> morning folks
<pipework> It behaves entirely differently.
diegoviola has quit [Remote host closed the connection]
tlarevo_ has joined #ruby
<TTilus> nobitanobi: good night :)
dudepdx has joined #ruby
<nobitanobi> TTilus: sweet dreams ~
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<TTilus> pipework: well not quite entirely, but different
<pipework> TTilus: Pretty entirely, though they both output numeric values.
thedude has quit [Ping timeout: 240 seconds]
maximski has quit []
fabrice31 has quit [Ping timeout: 250 seconds]
<pipework> One checks the size of the array, and the other enumerates the contents of the array.
binaryhat has joined #ruby
timonv_ has joined #ruby
michaeldeol has joined #ruby
<jhass> isn't count in Enumerable even?
<pipework> It is.
AlexBlom has joined #ruby
AlexBlom has quit [Client Quit]
<pipework> To quote, "Returns the number of items in enum through enumeration."
rezzack has joined #ruby
tlarevo has quit [Ping timeout: 264 seconds]
yubrew has quit [Ping timeout: 260 seconds]
agjacome has quit [Ping timeout: 260 seconds]
hooper has joined #ruby
<Hanmac> cschneid: "[1,2,3].cycle.size" vs "[1,2,3].cycle.count"
dudepdx has quit [Ping timeout: 255 seconds]
zorak has joined #ruby
<Hanmac> >> [1,2,3].cycle.size
<eval-in> Hanmac => Infinity (https://eval.in/182127)
<Hanmac> >> [1,2,3].cycle.count
<eval-in> Hanmac => (https://eval.in/182128)
<pipework> This is especially apparent with ranges.
<cschneid> pipework: oh, hah. Sure enough.
teddyp1cker has joined #ruby
<cschneid> stupid words not correctly expressing intent! :)
<pipework> cschneid: you're cschneider, right? On le github?
<cschneid> pipework: just cschneid
paulfm has joined #ruby
<cschneid> I don't know who this impostor is.
aaronrl has joined #ruby
lw has quit [Remote host closed the connection]
Xeago has joined #ruby
wallerdev has joined #ruby
teddyp1cker has quit [Read error: No route to host]
teddyp1c_ has joined #ruby
Xeago_ has quit [Ping timeout: 260 seconds]
ctp_ has joined #ruby
krisquigley has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 272 seconds]
krisquigley has joined #ruby
<wasamasa> clearly your evil twin
aspires has quit []
cy has quit [Ping timeout: 246 seconds]
<wasamasa> you would never ever write about excel export gems
<cschneid> uhh, I did complain a lot about them though
aspires has joined #ruby
ctp__ has joined #ruby
<cschneid> I went pretty deep into ... ohh god, what was the one decent one in java...
thedude has joined #ruby
timonv_ has quit [Read error: Connection reset by peer]
beemo has quit [Remote host closed the connection]
<cschneid> ahh and this one: axlsx
<cschneid> lol, I've been around.
<cschneid> mostly in terrible places
<wasamasa> so it's you after all D:
ctp has quit [Ping timeout: 255 seconds]
<cschneid> nope, just people named schneider end up doing evil. (something something german names)
momomomomo has quit [Quit: momomomomo]
<wasamasa> am I evil for having it in my name, too?
osvico has joined #ruby
ctp_ has quit [Ping timeout: 246 seconds]
timonv_ has joined #ruby
<cschneid> oh probably, but hard to diagnose over irc.
<cschneid> argh, apparently I can't redirect a `resources :whatever` route in rails.
krisquigley has quit [Ping timeout: 260 seconds]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kenneth has joined #ruby
nanoyak has joined #ruby
kenneth has quit [Client Quit]
Advocation has joined #ruby
thedude has quit [Ping timeout: 240 seconds]
maestrojed has joined #ruby
startupality has quit [Quit: startupality]
kenneth has joined #ruby
zz_jrhorn424 is now known as jrhorn424
workmad3 has quit [Ping timeout: 250 seconds]
Spami has joined #ruby
mikepack has joined #ruby
adac has quit [Ping timeout: 250 seconds]
claw has joined #ruby
claw___ has quit [Ping timeout: 260 seconds]
cocotton has joined #ruby
obscured has quit [Quit: leaving]
Kricir has joined #ruby
AlexRussia has quit [Quit: WeeChat 1.0-dev]
wallerdev_ has joined #ruby
AlexRussia has joined #ruby
hamakn has joined #ruby
wallerdev has quit [Ping timeout: 272 seconds]
wallerdev_ is now known as wallerdev
mikepack_ has joined #ruby
goleldar has joined #ruby
yacks has quit [Ping timeout: 240 seconds]
mikepack has quit [Read error: Connection reset by peer]
cocotton_ has joined #ruby
cocotton_ has quit [Remote host closed the connection]
gkagan has quit [Ping timeout: 260 seconds]
timonv_ has quit [Ping timeout: 255 seconds]
cocotton_ has joined #ruby
cocotton has quit [Ping timeout: 245 seconds]
rdark has quit [Quit: leaving]
yacks has joined #ruby
adac has joined #ruby
hamakn has quit [Ping timeout: 245 seconds]
dudepdx has joined #ruby
<treehug88> what's wrong with this code? http://hastebin.com/ecusutamus.rb
jheg has quit [Quit: jheg]
<treehug88> what's the succinct way to perform that? help please someone?
Zenigor has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
wjimenez5271 has joined #ruby
krisquigley has joined #ruby
nanoyak has joined #ruby
havenwood has joined #ruby
mityaz has quit [Quit: Leaving]
nanoyak has quit [Remote host closed the connection]
craigbowen3 has joined #ruby
SilkFox_ has joined #ruby
Kricir has quit [Ping timeout: 240 seconds]
dudepdx has quit [Ping timeout: 272 seconds]
Wolland has joined #ruby
<Hanmac> treehug88: ["prodtrackr", 4567]
<treehug88> I'll try that Hanmac , thanks
cocotton_ has quit [Remote host closed the connection]
kirun has joined #ruby
<shevy> Hanmac how is rxw coming along?
toastynerd has quit [Remote host closed the connection]
brothmars has quit [Ping timeout: 250 seconds]
<Hanmac> shevy: currently need to work more, and have driving lessons, but maybe at weekend i have time to do more
startupality has joined #ruby
SilkFox_ has quit [Ping timeout: 240 seconds]
jherbst has quit [Quit: Textual IRC Client: www.textualapp.com]
nanoyak has joined #ruby
gerep-lunch is now known as gerep
jdj_dk has joined #ruby
toastynerd has joined #ruby
_sillymarkets has joined #ruby
noop has joined #ruby
mark_locklear has quit [Quit: Leaving]
renderfu_ has joined #ruby
<jahrichie> shevy: i got it! ClassName.instance_method(method_name_as_sym).parameters
<postmodern> trying to pass a callback into a FFI function, except that the function spawns a new pthread and invokes the callback there
pagios has joined #ruby
<pagios> hi guys is it a good idea to create html using ruby? or better stick to php?
<postmodern> pagios, you can create html in any language
<postmodern> pagios, even bash
<cschneid> pagios: erb "embedded ruby" feels very similar to php. (for better or worse)
<cschneid> pagios: check out sinatra for a very bare bones web environment.
seamon has quit [Quit: Zzzzzzz]
<pagios> i use sinatra
cndiv has joined #ruby
<pagios> task: scan a directory for mp4 files, create an html page with <video> elements for each video
Takle has joined #ruby
ctp__ has quit [Ping timeout: 260 seconds]
ctp has joined #ruby
jdj_dk has quit [Ping timeout: 250 seconds]
<pagios> so what do you think? cool enough in ruby? or better do it in php
renderful has quit [Ping timeout: 272 seconds]
<cschneid> yeah, sinatra would do that easily.
<cschneid> well, framework to do that easily :)
<pipework> pagios: You can even create HTML in CSS.
<pagios> huh?
<postmodern> pagios, if you want to create static HTML pages, you could use rake and erb
nanoyak has quit [Ping timeout: 255 seconds]
<wallerdev> o.o
teddyp1c_ has quit [Remote host closed the connection]
<postmodern> pagios, rake is good at generating files based on other files
<pipework> pagios: What you need to ask about is tooling, not languages.
<pagios> so use rake to general html based on files?
<pagios> generate
jamesfordummies has joined #ruby
teddyp1cker has joined #ruby
<postmodern> pagios, er i misread, you want one html page, not many
<postmodern> pagios, use sinatra
<cschneid> pagios: if you're new to ruby, that's not what you want. Just do sinatra and make it work
nanoyak has joined #ruby
<pagios> postmodern: i got sinatra already working
<cschneid> then what's the question :)
cndiv has quit [Client Quit]
cndiv has joined #ruby
<pagios> i didnt think of sinatra so no more question
yetanotherdave has joined #ruby
Lexun has quit [Quit: Manjaro-KDE user leaving!]
<pagios> cheers
<cschneid> :)
jhc76 has joined #ruby
dawkirst has joined #ruby
startupality has quit [Quit: startupality]
catbusters has quit [Quit: Connection closed for inactivity]
adac has quit [Ping timeout: 245 seconds]
tylerkern has joined #ruby
seamon has joined #ruby
teddyp1cker has quit [Ping timeout: 255 seconds]
<Hanmac> jahrichie: instance_method works with strings too, you dont need a symbol
mr_snowf1ake has quit [Quit: Leaving]
adac has joined #ruby
dawkirst has quit [Ping timeout: 245 seconds]
charliesome has joined #ruby
djbkd has joined #ruby
icebourg has quit []
InhalingPixels has joined #ruby
baroquebobcat has quit [Ping timeout: 264 seconds]
bthesorceror has joined #ruby
yubrew has joined #ruby
apeiros has joined #ruby
philcrissman has joined #ruby
jahrichie has quit [Quit: Leaving.]
InhalingPixels has quit [Ping timeout: 250 seconds]
dudepdx has joined #ruby
arup_r has joined #ruby
testcore has joined #ruby
mengu has joined #ruby
lkba has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
adac has quit [Ping timeout: 272 seconds]
mengu has quit [Client Quit]
Zenigor has quit [Remote host closed the connection]
philcrissman has quit [Ping timeout: 255 seconds]
Advocation has quit [Quit: Advocation]
rezzack has quit [Quit: Leaving.]
dudepdx has quit [Ping timeout: 246 seconds]
GeekOnCoffee has quit [Ping timeout: 240 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
dbugger has joined #ruby
djbkd has quit [Remote host closed the connection]
cy has joined #ruby
timonv_ has joined #ruby
rezzack has joined #ruby
Zenigor has joined #ruby
<dbugger> Hello. Guys, how do you use the method "validates" on rails? When i try to use it, it says undefined method...
toastynerd has quit [Remote host closed the connection]
GeekOnCoffee has joined #ruby
IceDragon has quit [Ping timeout: 245 seconds]
<Hanmac> dbugger: #rubyonrails
IceDragon has joined #ruby
rezzack has quit [Client Quit]
krisquigley has quit [Remote host closed the connection]
sambao21 has joined #ruby
georgesmith has joined #ruby
toastynerd has joined #ruby
bthesorceror has quit [Ping timeout: 272 seconds]
ghr has joined #ruby
kireevco has joined #ruby
robbyoconnor has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
Zenigor has quit [Remote host closed the connection]
craigbowen3 has quit [Ping timeout: 260 seconds]
7GHAAPRHC has joined #ruby
craigbowen3 has joined #ruby
timonv_ has quit [Remote host closed the connection]
<shevy> aaaah
<shevy> railser attack!
<shevy> RAISE YOUR SHIELDS!
britneywright has joined #ruby
<shevy> full energy on the phasers
<dorei> ruby off rails :)
charliesome_ has joined #ruby
dudepdx has joined #ruby
charliesome has quit [Ping timeout: 264 seconds]
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
cocotton has joined #ruby
ghr has quit [Ping timeout: 260 seconds]
beemo has joined #ruby
sepp2k has quit [Quit: Konversation terminated!]
Lewix has quit [Remote host closed the connection]
<_sillymarkets> Is it possible to create a range that has a dual alphabet and only the 2nd letter changes then?
<_sillymarkets> ('a' .. 'z' )
<_sillymarkets> but i want to do ('aa' ... 'az' )
dudepdx has quit [Ping timeout: 255 seconds]
klmlfl has quit [Read error: Connection reset by peer]
Lewix has joined #ruby
Lewix has quit [Remote host closed the connection]
<_sillymarkets> i guess i can try it out in irb first
klmlfl has joined #ruby
<crome> I was just about the suggest the same
ctp has quit [Ping timeout: 240 seconds]
<Beoran_> ('aa'..'az').to_a works :)
djbkd has quit [Remote host closed the connection]
<crome> Beoran_: it is worth a 1000 words if you let people figure things out themselves
cocotton has quit [Ping timeout: 260 seconds]
<crome> which is still less than a chuck norris, I know
<Beoran_> crome, yeah, I just tried it myself because I was curious though
beef-wellington has quit [Ping timeout: 250 seconds]
beemo has quit [Ping timeout: 272 seconds]
jamesfordummies has quit [Remote host closed the connection]
<shevy> I always give out quick solutions
beef-wellington has joined #ruby
yfeldblum has joined #ruby
georgesmith has quit [Ping timeout: 245 seconds]
<_shrine> wow
<_shrine> that gave me a wonderful idea
<crome> shevy: you are not making the world a better place :(
<_shrine> you can brute force things like that
jamesfordummies has joined #ruby
gkagan has joined #ruby
<_shrine> (?a*5..?z*5).to_a
<shevy> what is that
pierre1_ has quit [Ping timeout: 240 seconds]
<shevy> >> (?a*5..?z*5).to_a
<eval-in> shevy => [FATAL] failed to allocate memory (https://eval.in/182132)
<crome> rofl
<_shrine> uh
<shevy> man
<_shrine> it's brute forcing
<_shrine> aaaab
<_shrine> aaaac
<_shrine> aaaad
<_shrine> all the way to zzzzz
<_shrine> >> (?a*3..?z*3).to_a
<eval-in> _shrine => ["aaa", "aab", "aac", "aad", "aae", "aaf", "aag", "aah", "aai", "aaj", "aak", "aal", "aam", "aan", "aao", "aap", "aaq", "aar", "aas", "aat", "aau", "aav", "aaw", "aax", "aay", "aaz", "aba", "abb", "abc ... (https://eval.in/182133)
<_shrine> :P
<shevy> hmm
ctp has joined #ruby
<shevy> >> ?a*2
<eval-in> shevy => "aa" (https://eval.in/182134)
<_shrine> >> !?!
<shevy> what a fucked up way to write "aa"
<eval-in> _shrine => /tmp/execpad-0e3d85b02577/source-0e3d85b02577:2: warning: string literal in condition ... (https://eval.in/182135)
<_shrine> lol
<_shrine> it's not bad
<crome> >> ?c*1
<eval-in> crome => "c" (https://eval.in/182136)
<crome> better
<_shrine> a,b=p ?A,?B;7.times{p b=a+a=b}
<_shrine> >> a,b=p ?A,?B;7.times{p b=a+a=b}
<eval-in> _shrine => "A" ... (https://eval.in/182137)
<wallerdev> lol
<_shrine> ruby gets cryptic sometimes
<_shrine> or.. always when you golf
yfeldblum has quit [Ping timeout: 264 seconds]
ctp has quit [Client Quit]
<shevy> well yeah
ctp has joined #ruby
<shevy> people can write ruby in many different ways
gkagan has quit [Ping timeout: 260 seconds]
beef-wellington has quit [Ping timeout: 245 seconds]
georgesmith has joined #ruby
<crome> I'm leaving my job next week, I'm wondering if I should leave some 'send def foo' and the like bombs around
<crome> just for good measures
InhalingPixels has joined #ruby
<wallerdev> yeah always good to make your last company hate you when you leave
<wallerdev> what could go wrong
<wallerdev> lol
<crome> nah, I'm sure some of my colleagues would get the joke after half a day of debugging
<crome> :D
sleepee has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
JoshGlzBrk has joined #ruby
<farid_> crome: As long as it's not in version control, sure.
<shevy> crome what kind of job was it?
gkagan has joined #ruby
* farid_ git blames crome
<farid_> shevy: Probably writing embedded ruby for the medical field.
<farid_> He probably fork-bombed someone's pacemaker.
bMalum_ has joined #ruby
Kricir has joined #ruby
<_shrine> ?1+?0*(?1+?0*5).to_i
<_shrine> string exponents!
<_shrine> >> ?1+?0*(?1+?0*2).to_i
<eval-in> _shrine => "10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" (https://eval.in/182138)
sambao21 has quit [Quit: Computer has gone to sleep.]
ghr has joined #ruby
bMalum has quit [Ping timeout: 260 seconds]
bMalum_ is now known as bMalum
nanoyak has joined #ruby
<wallerdev> embedded ruby for medical field sounds like the worst idea lol
apeiros has quit [Remote host closed the connection]
<crome> nah, I couldn't even get that PR merged
<crome> shevy: rails
phutchin1 has joined #ruby
apeiros has joined #ruby
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
babykosh has joined #ruby
SilkFox_ has joined #ruby
Kricir has quit [Ping timeout: 240 seconds]
havenwood has quit []
craigbowen3 has quit [Remote host closed the connection]
phutchins has quit [Ping timeout: 240 seconds]
ghr has quit [Ping timeout: 240 seconds]
<shevy> hmm
<shevy> then you were already punished enough
<shevy> leave there in peace and happiness
apeiros_ has joined #ruby
Akagi201 has joined #ruby
<crome> oh, I *am* very happy
apeiros has quit [Ping timeout: 240 seconds]
threesixes has joined #ruby
phutchin1 has quit [Ping timeout: 264 seconds]
jdj_dk has joined #ruby
<crome> especially about the 5 weeks break before I pick up the new gig
SilkFox_ has quit [Ping timeout: 240 seconds]
<shevy> 5 weeks of sunshine and happiness
<crome> sunshine? in the UK? in september? *cough*
<crome> yeah, something like that
Aaaal has quit [Quit: Aaaal]
<shevy> ewww UK
Wolland has quit [Remote host closed the connection]
zeroNones has joined #ruby
zeroNones has quit [Max SendQ exceeded]
Akagi201 has quit [Ping timeout: 260 seconds]
catbusters has joined #ruby
<crome> nah, I love this place
jdj_dk has quit [Ping timeout: 264 seconds]
<wallerdev> my previous manager moved to the UK
<wallerdev> london
beef-wellington has joined #ruby
hfp_ has joined #ruby
hfp has quit [Ping timeout: 250 seconds]
apeiros_ has quit [Remote host closed the connection]
asteve has joined #ruby
hfp_ is now known as hfp
djbkd has joined #ruby
crdpink has joined #ruby
apeiros has joined #ruby
crdprink2 has quit [Ping timeout: 272 seconds]
postmodern has quit [Ping timeout: 260 seconds]
ocx has joined #ruby
fabrice31 has joined #ruby
<ocx> hola! what is wrong with this? http://pastebin.com/ZMgsF46u
<pipework> it's using pastebin?
lkba has quit [Ping timeout: 240 seconds]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<crome> um
<crome> quite a few things
<crome> for starters, you didn't tell us what your problem is
lkba has joined #ruby
<ocx> i get the whole directory returned! :_)
apeiros has quit [Ping timeout: 240 seconds]
dudepdx has joined #ruby
yubrew has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<crome> is it supposed to be sinatra?
7GHAAPRHC has quit [Remote host closed the connection]
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikepack_ has quit [Remote host closed the connection]
<ocx> yeap
Zenigor has joined #ruby
mikepack has joined #ruby
fabrice31 has quit [Ping timeout: 250 seconds]
Brycetron has quit []
<Ankhers> d.each { |x| puts "Got #{x}" if x.end_with? '.sh' }
<Ankhers> ?
<Ankhers> ocx: ^^
johnmolina has joined #ruby
wamaral has joined #ruby
<ocx> ahhh
fold has joined #ruby
<Ankhers> Does that work for you
wamaral has left #ruby ["WeeChat 1.1-dev"]
<Ankhers> ?
yubrew has quit [Ping timeout: 250 seconds]
b00stfr3ak has quit [Ping timeout: 260 seconds]
dudepdx has quit [Ping timeout: 255 seconds]
seanmarcia has joined #ruby
<crome> ocx: you don't use puts in sinatra, what happens is the handler returns the last evaluated object, which is d.each and sends it to the response output
<wallerdev> wowww
<ocx> Ankhers: still outputs everything
<wallerdev> who puts if statements in each instead of using select
sdouglas has quit [Remote host closed the connection]
sdouglas has joined #ruby
mikepack has quit [Ping timeout: 260 seconds]
<ocx> still outputs everything Ankhers
<crome> ocx: #each returns all the elements, you really want to use #select
havenwood has joined #ruby
michaeldeol has joined #ruby
<crome> ocx: you expect to see only what you "puts", but it's not how sinatra works
robustus has quit [Ping timeout: 255 seconds]
<ocx> euh confused
ixti has quit [Ping timeout: 245 seconds]
<Ankhers> ocx: I thought it was just ruby script.
Wolland has joined #ruby
<Ankhers> d.select {|x| x if x.end_with? '.sh' }
ixti has joined #ruby
<Ankhers> will return a list of items that ends with .sh
<ocx> d.select { |x| if (x.end_with?(".sh")) "Got #{x}" end ?
szuletett has joined #ruby
postmodern has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
<crome> Ankhers: you don't actually need the "x if" bit
Kricir has joined #ruby
sparrovv has joined #ruby
robustus has joined #ruby
sdouglas has quit [Ping timeout: 245 seconds]
<ocx> crome: looking gooood?
<crome> not really
<Ankhers> true
jgrevich_ has joined #ruby
<ocx> it retusn them luike this file1.mp4test.mp4file2.mp4small.mp4
<ocx> or sh
jgrevich has quit [Ping timeout: 255 seconds]
jgrevich_ is now known as jgrevich
<crome> yes, it is doing exactly what it is supposed to do
<crome> d.select {|x| x.end_with? '.sh' }
<crome> as per Ankhers's suggestion
<havenwood> or: #grep(/.sh\z/) { |match| ... }
<crome> and you should really read a bit more about sinatra and how ruby works
<havenwood> >> ['example.nope', 'example.nada', 'example.sh', 'another.sh'].grep(/.sh\z/) { |match| match.capitalize }
<eval-in> havenwood => ["Example.sh", "Another.sh"] (https://eval.in/182140)
<havenwood> well, escape the `.`
<havenwood> >.>
nanoyak has joined #ruby
<havenwood> grep(/\.sh\z/)
<havenwood> *
Kricir has quit [Ping timeout: 260 seconds]
<ocx> havenwood: what is the z ?
<havenwood> ocx: end of string
Darkchaos has quit [Ping timeout: 260 seconds]
<cschneid> ocx: \z is a escaped character that means "end of string" in a regular expression
<havenwood> ocx: `$` is just end of line
<havenwood> ^
<ocx> k
beef-wellington has quit [Ping timeout: 255 seconds]
pietr0 has joined #ruby
deric_skibotn has quit [Ping timeout: 260 seconds]
Darkchaos has joined #ruby
sambao21 has joined #ruby
_sillymarkets has quit [Ping timeout: 246 seconds]
sparrovv has quit [Remote host closed the connection]
<shevy> there is something weird
<shevy> in the past, I used to Include directory in apache and lighttpd
sparrovv has joined #ruby
<shevy> but nowadays, I just create separate small config files, and let a ruby script merge this all together
<ocx> crome: d.select { |x| x.end_with?(".sh") } returns all all on the same line with no space
<crome> shevy: with lighttpd you can just do shell_include "cat *.conf"
<Ankhers> ocx: It returns an array. You will want to format that array in some way to be viewed as you want.
<crome> it's include_shell actually
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> hmm
pietr0 has quit [Ping timeout: 255 seconds]
maximski has joined #ruby
pietr0 has joined #ruby
jdj_dk has joined #ruby
charliesome_ has quit [Ping timeout: 260 seconds]
<Sou|cutter> anyone have an easy way to generate an image file of an arbitrary size?
<crome> ocx: I think now it is the time for you to state what exactly you want to achieve
charliesome has joined #ruby
beef-wellington has joined #ruby
pietr0 has quit [Remote host closed the connection]
<Sou|cutter> I'd like to avoid adding a gigantic fixture file to my repo just for testing purposes...
seamon has quit [Quit: Zzzzzzz]
sambao21 has quit [Ping timeout: 264 seconds]
sparrovv has quit [Ping timeout: 245 seconds]
cocotton has joined #ruby
<ocx> thats funny weird results d.select { |x| x.end_with?(".sh").to_s+" " }
<pontiki> Sou|cutter: you can probably do something interesting with imagemagick if you have it installed
<postmodern> wish there was a special Fixnum that could never go below 0
<pontiki> but i you have to have it installed to do testing, you'd probably be better off with just a static image file
Rahul_Roy has joined #ruby
<shevy> Sou|cutter can you use imagemagick?
yfeldblum has joined #ruby
<Sou|cutter> yeah
<shevy> although in pure ruby it should also be possible
Xeago has quit [Remote host closed the connection]
<Ankhers> ocx: I think you need to learn how to use sinatra.
<Sou|cutter> I'm not sure how to do that with imagemagick either, though it is available...
<shevy> let's see
<pontiki> how big does it need to be?
<shevy> -scale geometry 1000x1000
<shevy> I think that is one switch
<pontiki> IM has built-in images to use as well
sleepee has quit [Ping timeout: 255 seconds]
momomomomo has joined #ruby
<shevy> aha
<shevy> system("convert -size 100x100 -xc:white canvas.jpg")
<pontiki> ^
<shevy> moment
<Sou|cutter> let me see
<shevy> ok
<Sou|cutter> -xc:white is unrecognized
<shevy> system("convert -size 1000x1000 xc:white canvas.jpg")
<shevy> yeah
mikepack has joined #ruby
<shevy> I think that is some internal instruction
<shevy> bit confusing
mikepack has quit [Remote host closed the connection]
<shevy> but the above works
dawkirst has joined #ruby
cocotton has quit [Ping timeout: 245 seconds]
<shevy> \o/
nanoyak has quit [Quit: Computer has gone to sleep.]
<Sou|cutter> ah but the resulting file is tiny
<ocx> Ankhers: can i do this? ary = [d.select { |x| x.end_with?(".mp4") }]
<shevy> wat
mikepack has joined #ruby
<Sou|cutter> I need the file size to be large
<shevy> aha
yfeldblum has quit [Ping timeout: 240 seconds]
<shevy> you want a fat image file
<Sou|cutter> all white compresses really well I guess :P
<Sou|cutter> maybe there's a way to pipe in noise
<shevy> sure
<wald0> i want to create a github project about a cinch "fully ready" bot, I assume that i need to learn about gems, bundle, etc... i want also it being able to be packaged, where i can read a brief introduction of what of each (gem/bundle, etc) is for ?
<Sou|cutter> or reduce/eliminate compression
<shevy> write some crazy stuff into that pic
<shevy> there is probably a much simpler way too
<shevy> perhaps set all available pixels to different states
<shevy> random ones
jgt has joined #ruby
<shevy> you could even draw chaotic images like that!
robbyoconnor has joined #ruby
<Ankhers> ocx: You can, but that will return a multi-dimensional array. Which I doubt you want.
<Ankhers> ocx: Please read the documenation http://www.sinatrarb.com/documentation.html
<Ankhers> You will get a better understanding of how to use it.
Cheezebox has quit [Remote host closed the connection]
<ocx> ok will do
dbugger has quit [Quit: Leaving]
<ocx> this doesnt work too ary = [d.select { |x| x.end_with?(".mp4") }] ary.each{|x| x.to_s+" "};
<Ankhers> You should be formatting in your view.
Cheezebox has joined #ruby
britneywright has joined #ruby
<TTilus> ocx: aww, man, whagt r u doing?
<Sou|cutter> convert -size 1000x1000 xc: -fx 'rand()' canvas2.jpg
<crome> the main problem is that he doesn't know ruby
<Sou|cutter> that is much better
<crome> ocx: d.select { |x| x.end_with?(".mp4") }.join(' ')
<Sou|cutter> thanks, shevy / pontiki
adac has joined #ruby
georgesmith has quit [Quit: georgesmith]
toastynerd has quit [Remote host closed the connection]
hephaestus_rg has joined #ruby
<TTilus> crome: you dont need ruby for that, plain ls will do
<Ankhers> TTilus: ocx is doing this is a sinatra app for some unknown reason.
<crome> TTilus: thanks, it was a very useful remark
<wallerdev> wow you guys are mean lol
<wallerdev> everyone starts somewhere
<ocx> ok i feel dumb what book to read?
<Ankhers> ocx: What do you want to do with ruby?
<crome> ocx: I asked you before, what are you trying to do?
sambao21 has joined #ruby
<TTilus> ocx: have you walked thru tryruby?
<ocx> i want to do some noise cancellation using my math algoeithms
<ocx> new to programming
Cheezebox has quit [Ping timeout: 240 seconds]
<ocx> old enough to start so they told me its the easiest language
<crome> that's great, then I suggest you get into a language first, don't bother with sinatra f or now
<pontiki> Sou|cutter: did you get something that will work for you?
<pontiki> if not, you should look here: http://www.imagemagick.org/Usage/canvas/#random_noise
<TTilus> ocx: and after that you could walk your way thru ruby kata
Hobogrammer has joined #ruby
ocx has quit [Quit: Page closed]
Spami has quit [Quit: This computer has gone to sleep]
<pontiki> oh, nm, Sou|cutter -- I see you have it :)
ixti has quit [Ping timeout: 260 seconds]
andrewjanssen has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
babykosh has quit [Quit: babykosh]
<TTilus> ocx: forget about web and sinatra for a while and first try to read and uncompress (if need be) your audiodata in ruby
ixti has joined #ruby
nanoyak has joined #ruby
ghr has joined #ruby
sambao21 has quit [Ping timeout: 245 seconds]
<TTilus> ocx: (after tryruby and kata stuff)
<wald0> where i can read some small howto/tutorial of how gems, bundle, and packaging ruby software works ?
robbyoconnor has quit [Max SendQ exceeded]
<TTilus> wald0: rubygems and bundler documentation
AntelopeSalad has quit [Read error: Connection reset by peer]
ghostmoth has quit [Quit: ghostmoth]
sleepee has joined #ruby
robbyoconnor has joined #ruby
<shevy> wald0 the best for gems is to follow the how to write a new gem from scratch
<shevy> and follow the steps
<shevy> then you know how to create a .gem
agent_white has quit [Quit: bbl]
SilkFox_ has joined #ruby
<wald0> ok, sounds like a good start
djbkd has quit [Remote host closed the connection]
maestrojed has quit [Quit: Computer has gone to sleep.]
<wald0> shevy: any suggested link/doc?
<TTilus> wald0: gem is the plumbing, start from there
robbyoconnor has quit [Read error: Connection reset by peer]
ghr has quit [Ping timeout: 240 seconds]
<shevy> wald0 hmm all guides WITHOUT using bundler to create a .gem file :) you need to write up a .gemspec file
Akagi201 has joined #ruby
<shevy> bundler helps here, I use my own set of scripts but they are not perfect
<shevy> I use this but I don't recommend it, it probably has some bugs too https://rubygems.org/gems/generate_gemspec
arup_r has quit [Ping timeout: 240 seconds]
raaamina has joined #ruby
babykosh has joined #ruby
babykosh has quit [Client Quit]
<shevy> I followed some guide back then...
SilkFox_ has quit [Ping timeout: 250 seconds]
arup_r has joined #ruby
AntelopeSalad has joined #ruby
<shevy> anyway, once you wrote this for the first time, you understand it. then move on to bundler
<wald0> ok, thx
<shevy> or you can let bundler generate stuff for you, but bundler can be complicated
Cheezebox has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
kaspertidemann has joined #ruby
Akagi201 has quit [Ping timeout: 255 seconds]
sepp2k has joined #ruby
deric_skibotn has joined #ruby
sambao21 has joined #ruby
MrL0ngbowman has joined #ruby
poulet_a has joined #ruby
bthesorceror has joined #ruby
nanoyak has joined #ruby
yubrew has joined #ruby
jelera has joined #ruby
dawkirst has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
philcrissman has joined #ruby
sleepee has quit [Ping timeout: 245 seconds]
dawkirst has joined #ruby
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
cocotton has joined #ruby
arup_r has quit [Quit: Leaving.]
emandari has quit [Ping timeout: 272 seconds]
aspires has quit []
pietr0 has joined #ruby
bwilson has joined #ruby
yubrew has quit [Ping timeout: 264 seconds]
teddyp1cker has quit [Ping timeout: 260 seconds]
philcrissman has quit [Ping timeout: 255 seconds]
kirun has quit [Quit: Client exiting]
emandari has joined #ruby
error_mess has joined #ruby
jahrichie has joined #ruby
error_mess has quit [Remote host closed the connection]
dc has quit [Remote host closed the connection]
TorpedoSkyline has joined #ruby
error_mess has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
sylvanica1 has joined #ruby
atmosx has joined #ruby
AntelopeSalad has quit [Quit: Leaving]
sylvanica has quit [Ping timeout: 240 seconds]
toastynerd has joined #ruby
cocotton_ has joined #ruby
Xiti` has joined #ruby
jahrichie has quit [Client Quit]
jdj_dk has quit [Remote host closed the connection]
beemo has joined #ruby
AntelopeSalad has joined #ruby
jelera has quit [Ping timeout: 240 seconds]
MrL0ngbowman has quit [Ping timeout: 255 seconds]
bthesorceror has quit [Ping timeout: 240 seconds]
wallerdev has quit [Quit: wallerdev]
Xiti has quit [Ping timeout: 246 seconds]
patrick99e99 has joined #ruby
cocotton has quit [Ping timeout: 264 seconds]
ghostmoth has joined #ruby
cocotton_ has quit [Ping timeout: 260 seconds]
Kricir has joined #ruby
shackleford has quit [Remote host closed the connection]
descala has quit [Ping timeout: 240 seconds]
decoponio has quit [Quit: Leaving...]
vt102 has quit [Quit: Leaving]
beemo has quit [Ping timeout: 255 seconds]
atmosx has quit [Quit: Lost in trance]
sleepee has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
axsuul has joined #ruby
Kamuela has joined #ruby
kirun has joined #ruby
brothmars has joined #ruby
patrick99e99 has quit [Ping timeout: 264 seconds]
Dreamer3 has joined #ruby
linojon has joined #ruby
Kricir has quit [Ping timeout: 245 seconds]
momomomomo_ has joined #ruby
momomomomo has quit [Ping timeout: 250 seconds]
momomomomo_ is now known as momomomomo
Kamuela has left #ruby ["Leaving"]
shackleford has joined #ruby
vifino has joined #ruby
<vifino> Hello.
larissa has joined #ruby
shacklef_ has joined #ruby
<vifino> How can I execute shell commands that return utf-8?
shacklef_ has quit [Read error: Connection reset by peer]
larissa has left #ruby [#ruby]
shacklef_ has joined #ruby
Morkel_ has joined #ruby
yfeldblum has joined #ruby
<vifino> Because my ruby errors with invalid byte sequence in US-ASCII
<vifino> Though my system is utf, and works fine in other cases
Morkel has quit [Ping timeout: 264 seconds]
Morkel_ is now known as Morkel
axsuul has quit [Ping timeout: 260 seconds]
djbkd has joined #ruby
cocotton has joined #ruby
crdpink has quit [Quit: q term]
<Hanmac> vifino: ruby version?
<vifino> 2.1.2
toastynerd has quit [Remote host closed the connection]
<vifino> raaamina: Please, dont send me spam.
shackleford has quit [Ping timeout: 272 seconds]
cy has quit [Ping timeout: 245 seconds]
<_shrine> back!!
thousandwich has quit [Remote host closed the connection]
crdpink has joined #ruby
timonv_ has joined #ruby
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alvaro_o__ has joined #ruby
wallerdev has joined #ruby
error_mess has quit [Remote host closed the connection]
<failshell> what's the difference between using %() and %Q() ?
error_mess has joined #ruby
<wallerdev> no difference
Xiti` has quit [Quit: Leaving]
emmesswhy has joined #ruby
carraroj has quit [Ping timeout: 255 seconds]
Xiti has joined #ruby
Xiti has quit [Changing host]
Xiti has joined #ruby
<shevy> %Q is more explicit
<shevy> raaamina is an annoying bot btw
error_mess has quit [Remote host closed the connection]
<Hanmac> shevy bad that currently no mod is on ...
<dorei> malware spam again?
Wolland has quit [Ping timeout: 255 seconds]
<shevy> activity-detecting bot. I typed the %Q sentence and the raa-bot opened a spam privmsg query
seamon has joined #ruby
aaronrl has quit [Quit: Leaving]
dawkirst has quit [Remote host closed the connection]
cy has joined #ruby
Kricir has joined #ruby
<failshell> we're starting to use rubocop. great learning experience
Ankhers has quit [Remote host closed the connection]
<shevy> ewww
<shevy> doesn't rubocop report a lot of weird stuff?
dharms has joined #ruby
<failshell> my task is to test it and come up with a custom rule set
<failshell> our main goal is to come up with some sort of standard
aaronrl has joined #ruby
<failshell> we use rubocop, foodcritic for our chef stuff
dharms is now known as yibeikafei
dc has joined #ruby
frankle has joined #ruby
lkba has quit [Ping timeout: 240 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
ari-_-e has quit [Ping timeout: 260 seconds]
Xeago has joined #ruby
gerep has quit [Quit: Leaving]
jdj_dk has joined #ruby
klmlfl_ has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
jgt has quit []
lkba has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
<failshell> shevy: one i just disabled, using fail instead of raise
<failshell> that's just silly
<failshell> and very opiniated
timonv_ has quit [Remote host closed the connection]
timonv_ has joined #ruby
Xeago has joined #ruby
<miah> <3 rubocop
<mozzarella> I love ruby
klmlfl has quit [Ping timeout: 260 seconds]
klmlfl_ is now known as klmlfl
michaeldeol has joined #ruby
<miah> even if it does report weird things; just getting people in a team to code in a consistent manner is a huge win
<failshell> ruby: the language with 34 different ways of writing the same thing
<miah> no; thats perl;
Xeago has quit [Read error: Connection reset by peer]
shevy has quit [Ping timeout: 260 seconds]
<failshell> miah: that's why we are now using it
<failshell> and it forces my coworkers to stop using " everywhere
error_mess has joined #ruby
<eam> ruby is a lot more variable than perl
<failshell> that makes me OCD like there's no tomorrow lol
<miah> i dont see people use internal variables as often in ruby as they do in p$@rl
mikepack has quit [Remote host closed the connection]
Wolland has joined #ruby
<miah> though it does happen =)
<eam> what do you mean by internal variables?
Xeago has joined #ruby
jdj_dk has quit [Ping timeout: 272 seconds]
<miah> variables internal to the interpreter
<miah> eg; throwing $_ everywhere
aspires has joined #ruby
<eam> that's not "internal to the interpreter"
mikepack has joined #ruby
<eam> that's just an iterator
<eam> same as { |x| }
<hooper> don't offend my lexical scope
<miah> ok my mistake
error_mess has quit [Remote host closed the connection]
jerius has quit []
<eam> hooper: ironically, perl has proper lexical scoping and ruby still lacks it
<eam> in a lot of areas
<hooper> my 'wtf perl?' is typeglobs
lkba has quit [Ping timeout: 260 seconds]
<failshell> what rubocop is missing a --yolo flag to auto-fix everything for you :)
<miah> i havent had to deal with perl in years now
dawkirst has joined #ruby
error_mess has joined #ruby
<wallerdev> hwere does ruby lack it still
<eam> hooper: but ruby has the same problem, it's jsut hard to manipulate them
<miah> failshell: -a
Kricir has quit [Remote host closed the connection]
<miah> will automatically fix trivial things
virtualize has quit [Read error: Connection reset by peer]
error_mess has quit [Remote host closed the connection]
<failshell> miah: how did i miss that
cocotton has quit [Remote host closed the connection]
virtualize has joined #ruby
ari-_-e has joined #ruby
<hooper> eam: I don't mind ruby scope issues as much as I try to use ivars as much as possible
cocotton has joined #ruby
SilkFox_ has joined #ruby
vt102 has joined #ruby
postmodern has quit [Ping timeout: 246 seconds]
<eam> wallerdev: for example blocks in conditionals
maximski has quit [Ping timeout: 255 seconds]
<eam> there's simply no generic construct to say { my $thing }
<wallerdev> you think it shouldnt allow things to escape if statements?
<eam> there's a bunch of mess around the various block/proc/lambda situation as well
momomomomo_ has joined #ruby
<avi__> perl has optional and PROPER lexical scoping
<wallerdev> i find it convenient that i dont have to define things before if blocks lol
fabrice31 has joined #ruby
maximski has joined #ruby
<wallerdev> like if y = 5; x = 10; else; x = 20; end; now i can use x, instead of having to set x = nil at the top or something
mikepack has quit [Ping timeout: 240 seconds]
Akagi201 has joined #ruby
<eam> I think most ruby folk don't know that |a;b| is a thing either
<eam> poor scope behavior all over
<miah> i just learned about that
<eam> miah: well, it's pretty new
<miah> came with 1.9
yubrew has joined #ruby
momomomomo has quit [Ping timeout: 245 seconds]
momomomomo_ is now known as momomomomo
<eam> and before that, you *couldn't* scope iterators local to a block
<miah> ya
<wallerdev> yeah they just overwrote things lol
<eam> 1.times { |x| } stomps on global x
<miah> yup
<failshell> miah: -a is nice, it fixes most of it and leaces the trickier ones for a human to review them
<avi__> yeah I always get burned by my favorite arg x
<failshell> well done rubocop. well done.
sleepee has quit [Quit: Leaving]
Xeago has quit [Remote host closed the connection]
<avi__> and i and j
<eam> which was really egregious
<miah> failshell: =)
moritzs has joined #ruby
<eam> perl has had proper and well defined lexical scoping since the 90s so
<avi__> eam: with use strict;
Xeago has joined #ruby
<eam> enforced with it, yeah
SilkFox_ has quit [Ping timeout: 260 seconds]
fabrice31 has quit [Ping timeout: 250 seconds]
bthesorceror has joined #ruby
Morkel has quit [Quit: Morkel]
<eam> >> x = 9; x = 1 if false; x
<eval-in> eam => 9 (https://eval.in/182159)
Akagi201 has quit [Ping timeout: 246 seconds]
anaeem1 has joined #ruby
wald0 has quit [Ping timeout: 260 seconds]
jheg has joined #ruby
yubrew has quit [Ping timeout: 246 seconds]
Xeago_ has joined #ruby
wald0 has joined #ruby
maestrojed has joined #ruby
djbkd has quit [Remote host closed the connection]
dorei has quit [Read error: Connection reset by peer]
dorei has joined #ruby
shevy has joined #ruby
gkagan has quit [Ping timeout: 246 seconds]
ht__th has quit [Remote host closed the connection]
nanoyak has joined #ruby
<shevy> hey
lkba has joined #ruby
<shevy> there is an old webbrowser game
<shevy> it is written in perl
<shevy> I wonder whether it is feasible to slowly replace it, little by little
GeekOnCoffee is now known as adhlssu07
<shevy> with ruby
<shevy> but to also retain the old perl code somehow
adhlssu07 is now known as GeekOnCoffee
sylvanica1 has quit [Ping timeout: 240 seconds]
jerius has joined #ruby
nanoyak_ has joined #ruby
Xeago has quit [Ping timeout: 272 seconds]
postmodern has joined #ruby
djbkd has joined #ruby
saladspork has joined #ruby
<Xeago_> if there are 'sane' API requests made
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Xeago_> forward different paths to the different implementation versions
lbwski has joined #ruby
<Xeago_> please ban 224233 raaamina: show gratis (solo hooy) --> http://s422803032.mialojamiento.es/
<Xeago_> :\
sylvanica has joined #ruby
stef_204 has joined #ruby
nanoyak has quit [Ping timeout: 245 seconds]
charliesome has quit [Read error: Connection reset by peer]
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
maximski has quit []
Zenigor has quit [Remote host closed the connection]
ptrrr has joined #ruby
noop has quit [Ping timeout: 246 seconds]
TorpedoSkyline has joined #ruby
charliesome has joined #ruby
Xeago_ has quit [Ping timeout: 260 seconds]
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jamesfordummies has quit [Remote host closed the connection]
Xeago has joined #ruby
Xeago has quit [Remote host closed the connection]
Jackneill has quit [Ping timeout: 260 seconds]
razum2um1 has quit [Quit: Leaving.]
dblessing has quit [Quit: dblessing]
jkline has joined #ruby
caveat- has quit [Ping timeout: 240 seconds]
tylerkern has joined #ruby
kireevco has quit [Quit: Leaving.]
Lightsword has joined #ruby
bthesorceror has quit [Ping timeout: 245 seconds]
shacklef_ has quit [Remote host closed the connection]
tlarevo_ has quit [Remote host closed the connection]
tlarevo has joined #ruby
alexju has quit [Remote host closed the connection]
bmurt has quit []
kireevco has joined #ruby
duggiefresh has quit []
ctp has joined #ruby
zorak is now known as zorak8
zorak8 has quit [Quit: Saliendo]
zorak8 has joined #ruby
maestrojed has quit [Quit: Computer has gone to sleep.]
<miah> i got it too
<pipework> lots of people do, then the bot gets banned.
tlarevo has quit [Ping timeout: 250 seconds]
paulfm has quit []
<miah> cat and mouse?
shackleford has joined #ruby
dkamioka has joined #ruby
jmo has quit [Quit: Connection closed for inactivity]
<shevy> fish and cheese
<shevy> more quizzes pls miah!
<shevy> let me try one
<shevy> perl and ruby?
cndiv has quit [Ping timeout: 246 seconds]
georgesmith has joined #ruby
threesixes has quit [Remote host closed the connection]
Wolland has quit [Remote host closed the connection]
moritzs has quit [Ping timeout: 240 seconds]
cajone has quit [Read error: Connection reset by peer]
jimmyhoughjr has quit [Quit: Textual IRC Client: www.textualapp.com]
OffTheRails has quit [Ping timeout: 260 seconds]
<dorei> shevy is an undercover perl agent
dkamioka has quit [Remote host closed the connection]
aclearman037 has quit [Ping timeout: 240 seconds]
<shevy> under my cover is no perl
vyorkin has joined #ruby
<lagweezle> How about a clam?
* lagweezle is a bad person...
dkamioka has joined #ruby
jdj_dk has joined #ruby
kongthap has joined #ruby
cajone has joined #ruby
shackleford has quit [Ping timeout: 272 seconds]
mikepack has joined #ruby
johnnyrichard has joined #ruby
mikepack has quit [Remote host closed the connection]
momomomomo has quit [Ping timeout: 260 seconds]
cndiv has joined #ruby
caveat- has joined #ruby
<zorak8> hi, i need a loop that apply '.to_time.to_i' to a hash
mikepack has joined #ruby
tylerkern has quit [Read error: Connection reset by peer]
<zorak8> make thin but im not sure if work
Xeago has joined #ruby
xcv has quit [Remote host closed the connection]
mikesplain has joined #ruby
tylerkern has joined #ruby
mikesplain has quit [Max SendQ exceeded]
<kongthap> hi, if i just want to fetch data from mysql and display on the console, what else do i need to install after ruby?
<hooper> mysql?
Cheezebox has quit [Remote host closed the connection]
shackleford has joined #ruby
<_shrine> you're looking for a gem that can connect to mysql databases?
gkagan has joined #ruby
<lagweezle> hash.each_value { |x| x.to_time.to_i }
Fire-Dragon-DoL has quit [Quit: Leaving.]
<lagweezle> ?
<kongthap> hooper, yes mysql
* lagweezle stabs raaamina
<_shrine> when you iterate through hashes, don't you need key and value?
<wallerdev> what would that do lol
<_shrine> oh wait
<_shrine> value
<_shrine> mfw can't read
<lagweezle> Depends I suppose on what your goal is.
babykosh has joined #ruby
<wallerdev> mfw no face
<_shrine> .-.
<kongthap> _shrine, would you recommend favorite one for me?
amargherio has quit [Read error: Connection reset by peer]
<_shrine> uh
<_shrine> go on the gem website
<_shrine> search "mysql"
<_shrine> ???
<_shrine> look for the top rated one?
pakcjo has quit [Quit: leaving]
dkamioka has quit [Ping timeout: 255 seconds]
<wallerdev> shoulds witch to postgresql
<_shrine> literally a gem called mysql
nateberkopec has quit [Quit: Leaving...]
<lagweezle> zorak8: would this do what you are after? -> hash.each_value { |x| x.to_time.to_i }
anime4christ has joined #ruby
jdj_dk has quit [Ping timeout: 245 seconds]
<wallerdev> that wouldnt do anything lagweezle lol
<_shrine> it's an API binding too
<zorak8> lagweezle: in my code must be @entradas.each....
<zorak8> ???
<wallerdev> you dont even have hashes in your code zorak8
<lagweezle> zorak8: In your code, entradas is a list, not a hash.
<lagweezle> Er, an array, rather.
johnnyrichard has quit [Quit: leaving]
<zorak8> "entradas"=>["2014-08-13T03:00", "", "", "", "", "", ""],
<zorak8> "salidas"=>["2014-08-13T20:58", "", "", "", "", "", ""],
<kongthap> _shrine, mysql or mysql2 ? which one should be good to go for beginner?
<_shrine> uh
<zorak8> that arrays!!!
<_shrine> what are you doing specifically?
nanoyak_ has quit [Ping timeout: 255 seconds]
<wallerdev> arrays!!!!!
ptrrr has quit [Quit: ptrrr]
<lagweezle> wallerdev: Well, the assumption being that you do something with the value, not just create it then let it drop to the floor. hash.each_value { |x| @accumulator += x.to_time.to_i } or something
saarinen has quit [Quit: saarinen]
babykosh has quit [Client Quit]
georgelappies has quit [Read error: Connection reset by peer]
sdouglas has joined #ruby
<wallerdev> ah makes sense
cndiv has quit [Ping timeout: 260 seconds]
<kongthap> i want to do some util app like read from mysql and create csv something like that
<_shrine> kongthap: use mysql2
<kongthap> _shrine, ok that's the top download, i will go with it, thanks
<_shrine> I'm going to assume you know how to use sql
<zorak8> i need transform the values from html5 datetime to unix time
gkagan has quit [Ping timeout: 260 seconds]
Photism has quit [Quit: Leaving]
<_shrine> >> Time.now
<eval-in> _shrine => 2014-08-22 21:10:43 +0000 (https://eval.in/182165)
<_shrine> >> Time.now.to_i
<eval-in> _shrine => 1408741852 (https://eval.in/182166)
nanoyak has joined #ruby
babykosh has joined #ruby
saarinen has joined #ruby
captproton has joined #ruby
CaptainAnime has joined #ruby
<captproton> hi all
<kongthap> what is build tool? i got error at gem install mysql
<captproton> has anyone seen anything like this before:
<captproton> client, drive = setup()
danijoo has quit [Read error: Connection reset by peer]
<captproton> client and drive are variables
<kongthap> is this essential for ruby environment?
<zorak8> but i have i in an array dont work so easy
beef-wellington has quit [Ping timeout: 250 seconds]
lolmaus has quit [Ping timeout: 250 seconds]
seamon has quit [Quit: Zzzzzzz]
<wallerdev> are you on windows kongthap
Spami has joined #ruby
momomomomo has joined #ruby
danijoo has joined #ruby
<kongthap> wallerdev, yes on windows 7 64 bit
<wallerdev> mysql requires native code
<_shrine> I'm on ubuntu and I got an error building native gem file lol
szuletett has quit [Ping timeout: 240 seconds]
exgf has quit [Remote host closed the connection]
jgt has joined #ruby
<wallerdev> so it would have to compile it on your machine
<_shrine> it's an API binding
<wallerdev> i would just give up now if i were you and pick a language built for windows like c# lol
<kongthap> wallerdev, you meant i must download source code and build it myself?
<_shrine> joovoo
_sillymarkets has joined #ruby
<wallerdev> nah depending on the error, youd have to do different things, might have to install cygwin or something
<wallerdev> might have to install mysql, it might come with windows binaries, who knows
<kongthap> wallerdev, by the way before that do i need to install what's called build tool too? or it already come with ruby?
<anime4christ> I have a class Field, and I want to prepend a module which overrides the initialize method with one that will recursively add sub-fields to a field if it is a collection. However, while I am successful at overriding the initialize method, I get this error when calling Field.new from the Collection module: undefined method `new' for Collection::Field:Module Here's the code:
<wallerdev> theres nothing called build tool
lbwski has quit [Ping timeout: 245 seconds]
<kongthap> wallerdev, ok
afhammad has joined #ruby
claw_ has joined #ruby
<wallerdev> why do you have a module and class named the same thing
<_sillymarkets> If I am printing an array, how can I remove the quotes without converting to a string? I have an array = [ "Day" , "1-24-44", "HR", "4144"] and I split and copy it o Excel cells. Except the quotes are remaining there. If I use gsub, Excel thinks the numbers are entered as text, not allowing it to be maniuplated (for automatic graph building)
Kricir has joined #ruby
<wallerdev> name your module something else anime4christ
<wallerdev> or use ::Field.new instead
kyb3r_ has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
Kricir has quit [Remote host closed the connection]
Kricir has joined #ruby
<anime4christ> wallerdev: Thank you. So obvious, yet I was so frustrated. :)
babykosh has quit [Quit: babykosh]
everett has quit [Ping timeout: 240 seconds]
emmesswhy has joined #ruby
britneywright has joined #ruby
<wallerdev> _sillymarkets: you're not making any sense, how do you split an array, thats a string method
DEA7TH has joined #ruby
bwilson has quit [Quit: +++CARRIER LOST+++]
ldnunes has quit [Quit: Leaving]
axsuul has joined #ruby
everett has joined #ruby
seamon has joined #ruby
startupality has joined #ruby
claw has quit [Ping timeout: 255 seconds]
dawkirst has quit [Quit: Leaving...]
saladspork has quit [Quit: saladspork]
caveat- has quit [Ping timeout: 240 seconds]
<_sillymarkets> hm, okay... thats definitely a problem. So, if I have an array with a large row that has commas separating it. And suppose that row has varying forms of data, how can I access those data without converting to a string?>
vyorkin has quit [Quit: WeeChat 0.4.3]
<_sillymarkets> since I used .split, which I guess is making it all a string
beef-wellington has joined #ruby
<wallerdev> i dont think you understand whats going on lol
<_sillymarkets> i definitely don't know what's going on ;\
hamakn has joined #ruby
<_shrine> looks like you need some perl!!!
<wallerdev> if you have an array try using "p my_cool_array" and then putting the output of that in a pastebin or something
olivier_bK has quit [Ping timeout: 260 seconds]
<_shrine> he could trace it
<kongthap> ruby can be both 32 and 64 bit right?
<eam> kongthap: yes
<eam> or rather it can be 32 OR 64bit
<kongthap> eam, can i verify which one is installed on my windows?
<wallerdev> ruby -v probably tells you
krisquigley has joined #ruby
<kongthap> ruby 2.0.0p481 (2014-05-08) [x64-mingw32], 64 right? just wanna make sure
everett has quit [Ping timeout: 272 seconds]
<wallerdev> looks like it
jkline has quit [Quit: jkline]
<jheg> is it possible to put a time delay on the contents of a method executing?
MatthewsFace has joined #ruby
hamakn has quit [Ping timeout: 240 seconds]
<wallerdev> sleep 5
<wallerdev> or you can use speedup loops
<shevy> speedup loops?
jds has quit [Quit: Connection closed for inactivity]
<wallerdev> refernece to a really old thedailywtf
<eam> is that where you remove the delays as a "feature" later on?
<wallerdev> they would add huge useless for loops, and then when they didnt get anything done all week they would delete one and say they fixed performance issues
<wallerdev> lol
<eam> minimum viable product as in make it intentionally as shitty as you're allowed to
<jheg> thanks wallerdev so simple!
<eam> and then remove the parts that make it shitty in future revs
<eam> brilliance
<wallerdev> brillant
<pipework> jheg: That sounds sorta silly
<wallerdev> lol
yubrew has joined #ruby
<pipework> jheg: Are you really certain you want to do that?
cndiv has joined #ruby
<lagweezle> _sillymarkets: I'm confused... what is this thing which has values that are comma separated?
<wallerdev> lol
jkline has joined #ruby
jamesfordummies has joined #ruby
<jheg> pipework: I have an assignment to build a game of tic tack toe
<pipework> jheg: tic tac toe, rite
<jheg> it just helps the player feel like the game goes at a more natural pace
<jheg> right
<wallerdev> sounds good to me
philcrissman has joined #ruby
<wallerdev> computer is thinking
<wallerdev> lol
<pipework> jheg: ah that's not so bad.
<pipework> I was worried it'd be something a little more... productiony
MatthewsFace has quit [Ping timeout: 245 seconds]
everett has joined #ruby
<_sillymarkets> lagweezle, I'm confused too. Let me try to understand the issue further and Ill get back here
<_sillymarkets> i dont know enough, and there's so much to know!
nateberkopec has joined #ruby
startupality has quit [Quit: startupality]
SilkFox_ has joined #ruby
poulet_a has quit [Quit: Quitte]
Mon_Ouie has joined #ruby
Wolland has joined #ruby
yubrew has quit [Ping timeout: 245 seconds]
mikepack has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
lolmaus has joined #ruby
<shevy> yeah
<shevy> there is always a lot to know
<shevy> you need a way to package knowledge neatly into convenient tidbits
Ilyas has quit [Ping timeout: 255 seconds]
<shevy> today I replaced apache with lighttpd \o/
<wallerdev> why not nginx
Akagi201 has joined #ruby
<shevy> the struggle was with the configuration files
philcrissman has quit [Ping timeout: 272 seconds]
<shevy> I cant read russian
<wallerdev> doesnt lighttpd crash all the time
<shevy> has not crashed on me yet so far
caveat- has joined #ruby
m8 has quit [Read error: Connection reset by peer]
Cheezebox has joined #ruby
<wallerdev> thats just what ive heard
<wallerdev> never used it
codecop has quit [Remote host closed the connection]
<wallerdev> mightve been another one with similar name
cy has quit [Read error: Connection reset by peer]
nateberkopec has quit [Ping timeout: 240 seconds]
everett has quit [Ping timeout: 245 seconds]
SilkFox_ has quit [Ping timeout: 245 seconds]
Lightsword has quit [Quit: Lightsword]
m8 has joined #ruby
Kricir has quit [Remote host closed the connection]
zorak8 has quit [Ping timeout: 250 seconds]
Akagi201 has quit [Ping timeout: 245 seconds]
Shidash has joined #ruby
<shevy> apache
Wolland has quit [Ping timeout: 255 seconds]
lolmaus has quit [Ping timeout: 250 seconds]
DrCode has quit [Ping timeout: 264 seconds]
kongthap has quit [Read error: Connection reset by peer]
nateberkopec has joined #ruby
chipotle has joined #ruby
<wallerdev> nah apache is a little bloated but works well
timonv_ has quit [Remote host closed the connection]
failshell has quit []
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
testcore has quit [Ping timeout: 264 seconds]
St_Marx has quit [Ping timeout: 264 seconds]
end_guy has quit [Ping timeout: 264 seconds]
bthesorceror has joined #ruby
teddyp1cker has joined #ruby
IceDragon has quit [Ping timeout: 245 seconds]
Lightsword has joined #ruby
puppeh has joined #ruby
existensil has joined #ruby
Kricir has joined #ruby
IceDragon has joined #ruby
cocotton_ has joined #ruby
rbenv has joined #ruby
cy has joined #ruby
_2_Gyna3104 has joined #ruby
InhalingPixels has quit [Remote host closed the connection]
<_2_Gyna3104> Hi plp
teddyp1cker has quit [Ping timeout: 250 seconds]
SloggerKhan has quit [Quit: Leaving.]
afhammad has quit []
bthesorceror has quit [Ping timeout: 250 seconds]
_2_Gyna3104 has left #ruby [#ruby]
_2_Gyna3104 has joined #ruby
_2_Gyna3104 has left #ruby [#ruby]
Lightsword has quit [Ping timeout: 260 seconds]
cocotton has quit [Ping timeout: 246 seconds]
everett has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lolmaus has joined #ruby
startupality has joined #ruby
brothmars has quit [Ping timeout: 255 seconds]
mikepack has quit [Remote host closed the connection]
cocotton_ has quit [Ping timeout: 272 seconds]
jkline has quit [Quit: jkline]
nateberkopec has quit [Ping timeout: 240 seconds]
gregf has quit [Ping timeout: 260 seconds]
dc has quit [Remote host closed the connection]
DrCode has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
szuletett has joined #ruby
realDAB has joined #ruby
nateberkopec has joined #ruby
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mary5030 has quit [Remote host closed the connection]
testcore has joined #ruby
tylerkern has quit [Read error: Connection reset by peer]
beemo has joined #ruby
tylerkern has joined #ruby
mikesplain has joined #ruby
zorak8 has joined #ruby
patrick99e99 has joined #ruby
havenwood has joined #ruby
snath has quit [Ping timeout: 260 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
jgt has quit []
lolmaus has quit [Read error: Connection reset by peer]
<Cheezebox> hello
havenn has joined #ruby
lolmaus has joined #ruby
St_Marx has joined #ruby
beemo has quit [Ping timeout: 250 seconds]
anaeem1 has quit [Remote host closed the connection]
<shevy> hi cheeze
patrick99e99 has quit [Ping timeout: 245 seconds]
adac has quit [Ping timeout: 264 seconds]
Kricir has quit [Remote host closed the connection]
krisquigley has quit [Remote host closed the connection]
terrell_t has joined #ruby
deric_skibotn_ has joined #ruby
end_guy has joined #ruby
txdv has quit [Read error: Connection reset by peer]
deric_skibotn has quit [Ping timeout: 250 seconds]
txdv has joined #ruby
jdj_dk has joined #ruby
zorak8 has quit [Quit: Saliendo]
zorak8 has joined #ruby
tlarevo has joined #ruby
claymore has quit [Quit: Leaving]
jrhorn424 is now known as zz_jrhorn424
Shidash has quit [Quit: Leaving.]
terrellt has quit [Ping timeout: 240 seconds]
qwyeth has quit [Quit: Leaving]
geggam has quit [Ping timeout: 260 seconds]
<shevy> "Out of the wonderful Google Summer of Code for Rails campaign comes Web Console. It's an IRB console available in the browser. In development mode, you can go to /console and do your work right there."
wjimenez_ has joined #ruby
<shevy> now that is actually cool
InhalingPixels has joined #ruby
<shevy> debugging in the browser!
djbkd has quit [Remote host closed the connection]
gkagan has joined #ruby
jdj_dk_ has joined #ruby
jdj_dk has quit [Ping timeout: 245 seconds]
djbkd has joined #ruby
tlarevo has quit [Ping timeout: 240 seconds]
wjimenez5271 has quit [Ping timeout: 246 seconds]
timonv_ has joined #ruby
sinkensabe has joined #ruby
mikesplain has quit [Ping timeout: 240 seconds]
gkagan has quit [Ping timeout: 250 seconds]
andrewlio has quit [Remote host closed the connection]
maroloccio has quit [Ping timeout: 260 seconds]
crdpink has quit [Quit: q term]
nateberkopec has joined #ruby
emandari has quit [Ping timeout: 240 seconds]
Rahul_Roy has quit [Quit: Connection closed for inactivity]
kaspertidemann has quit []
TorpedoSkyline has joined #ruby
havenwood has quit []
djbkd has quit [Remote host closed the connection]
havenn is now known as havenwood
crdpink has joined #ruby
emandari has joined #ruby
riotjones has joined #ruby
Xeago has quit [Remote host closed the connection]
vyorkin has joined #ruby
vyorkin has quit [Client Quit]
jdj_dk_ has quit [Ping timeout: 245 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
mikepack has joined #ruby
beef-wellington has quit [Ping timeout: 250 seconds]
kirun has quit [Ping timeout: 250 seconds]
seamon has quit [Quit: Zzzzzzz]
riotjone_ has quit [Ping timeout: 250 seconds]
cocotton has joined #ruby
apeiros has joined #ruby
error_mess has joined #ruby
fabrice31 has joined #ruby
jamesfor_ has joined #ruby
hamakn has joined #ruby
yubrew has joined #ruby
lidaaa has joined #ruby
saladspork has joined #ruby
ramin has joined #ruby
timonv_ has quit [Ping timeout: 260 seconds]
ramin has left #ruby [#ruby]
dbck has joined #ruby
jamesfordummies has quit [Ping timeout: 260 seconds]
lolmaus has quit [Read error: Connection reset by peer]
lolmaus_ has joined #ruby
shackleford has quit [Remote host closed the connection]
saladspork has quit [Client Quit]
error_mess has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 245 seconds]
hamakn has quit [Ping timeout: 245 seconds]
cocotton has quit [Remote host closed the connection]
threesixes has joined #ruby
yubrew has quit [Ping timeout: 246 seconds]
szuletett has quit [Ping timeout: 246 seconds]
sinkensabe has quit [Remote host closed the connection]
mikepack has quit [Ping timeout: 255 seconds]
Mon_Ouie has quit [Ping timeout: 255 seconds]
WormDrink has quit [Ping timeout: 245 seconds]
realDAB has quit [Quit: realDAB]
bluOxigen has quit [Ping timeout: 260 seconds]
axsuul has quit [Ping timeout: 250 seconds]
jobewan has quit [Quit: Leaving]
djbkd has joined #ruby
<shevy> "Pick your language or other technical specialties based on the market and your career goals."
postmodern has quit [Quit: Leaving]
<shevy> I KNEW I SHOULD HAVE PICKED JAVA
ndrei has quit [Ping timeout: 240 seconds]
axsuul has joined #ruby
blackmesa has joined #ruby
Kricir has joined #ruby
Wolland has joined #ruby
SilkFox_ has joined #ruby
jheg has quit [Quit: jheg]
<dorei> shevy: no, you should have picked cobol ;-)
dbck has left #ruby [#ruby]
anime4christ has quit [Quit: Computer has gone to sleep.]
<shevy> don't tempt me
jdj_dk has joined #ruby
anime4christ has joined #ruby
<dorei> btw, is there demand for delphi where you're living at?
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gkagan has joined #ruby
cndiv has quit [Ping timeout: 255 seconds]
Akagi201 has joined #ruby
nateberkopec has joined #ruby
icarus has quit [Remote host closed the connection]
AlSquire has quit [Quit: This computer has gone to sleep]
SilkFox_ has quit [Ping timeout: 255 seconds]
Wolland has quit [Ping timeout: 255 seconds]
anime4christ has quit [Ping timeout: 240 seconds]
djbkd has quit [Remote host closed the connection]
jdj_dk has quit [Ping timeout: 260 seconds]
lolmaus__ has joined #ruby
Akagi201 has quit [Ping timeout: 250 seconds]
snath has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
asteve has joined #ruby
WormDrink has joined #ruby
kireevco has quit [Ping timeout: 272 seconds]
szuletett has joined #ruby
michaeldeol has quit [Read error: Connection reset by peer]
deol has joined #ruby
<_shrine> anyone got efficient ways of network scanning
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
anime4christ has joined #ruby
britneywright has joined #ruby
Kricir has quit [Ping timeout: 260 seconds]
lolmaus_ has quit [Ping timeout: 250 seconds]
djbkd has joined #ruby
britneywright has quit [Client Quit]
dayepa has joined #ruby
<dorei> _shrine: network scanning?
timonv_ has joined #ruby
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ixti has quit [Ping timeout: 250 seconds]
kireevco has joined #ruby
djbkd has quit [Ping timeout: 250 seconds]
emocakes has joined #ruby
<mozzarella> guys wtf
<mozzarella> >> (1.4).to_r
<eval-in> mozzarella => (3152519739159347/2251799813685248) (https://eval.in/182184)
<mozzarella> why not (7/5) instead?
brothmars has joined #ruby
gkagan has quit [Ping timeout: 260 seconds]
tylerkern has joined #ruby
dayepa has quit [Quit: dayepa]
cndiv has joined #ruby
startupality has quit [Quit: startupality]
dayepa has joined #ruby
ndrei has joined #ruby
<apeiros> mozzarella: because floats
m4rCsi has quit [Quit: No Ping reply in 180 seconds.]
<apeiros> >> "%.40f" % 1.4
<eval-in> apeiros => "1.3999999999999999111821580299874767661095" (https://eval.in/182185)
m4rCsi has joined #ruby
raaamina was kicked from #ruby by apeiros [no spam]
raaamina has joined #ruby
<mozzarella> apeiros: what teh fuck?
raaamina was banned on #ruby by apeiros [*!*@90.174.5.245]
<mozzarella> yeah he's also spamming me
<wallerdev> floats only have 32 bits to store their info, so they cant represent numbers exactly
<apeiros> ^
<shevy> yeah a spam bot
<apeiros> they have 64 or 80 bits actually
<dorei> a malware spame bot
<apeiros> ruby uses native double
<shevy> I use indian natives
<apeiros> but anyway, still the same issue.
InhalingPixels has quit [Remote host closed the connection]
jerikl has joined #ruby
cpruitt has quit [Quit: cpruitt]
ffranz has quit [Quit: Leaving]
<dorei> >> require 'bigdecimal'; BigDecimal.new(1.4, 2).to_r
<eval-in> dorei => (7/5) (https://eval.in/182186)
nateberkopec has joined #ruby
<mozzarella> but 1.4 is exact, the fractional part doesn't keep going infinitely
InhalingPixels has joined #ruby
<apeiros> mozzarella: you misunderstand
<apeiros> float is not in decimal notation
<apeiros> floats use base 2
terrell_t has quit [Remote host closed the connection]
<dorei> it think that even 0.5 in base 2 has an infinite fractional part
<apeiros> no
lmickh has quit [Remote host closed the connection]
Dreamer3 has quit [Ping timeout: 260 seconds]
Sht0 has joined #ruby
terrellt has joined #ruby
<apeiros> 0.5, 0.25, 0.125 etc. are finite
gregf has joined #ruby
<mozzarella> dorei: what's 2?
<mozzarella> in BigDecimal.new(1.4, 2).to_r
<dorei> mozzarella: 7/5 :p
<dorei> a
<dorei> the precission
<dorei> i guess it works with anything >2
<dorei> >=2
<mozzarella> dorei: what if I want infinite precision?
nateberkopec has quit [Ping timeout: 240 seconds]
nobitano_ has joined #ruby
<dorei> mozzarella: u can't, i think bigdecimal is mainly for representing money
<mozzarella> `initialize': precision too large. (ArgumentError)
<mozzarella> damnnnnnn
<zenspider> maybe you want rationals
<zenspider> who's the f'n op in here? ban raaamina for spamming
<zenspider> is there really no moderation in here?
<dorei> mozzarella: what are you trying to achieve?
puppeh has quit [Remote host closed the connection]
mary5030 has joined #ruby
Sgeo has joined #ruby
nobitanobi has quit [Ping timeout: 240 seconds]
kireevco has quit [Quit: Leaving.]
<mozzarella> actually they banned him but he needs another kick
<mozzarella> I think
klmlfl has quit [Quit: klmlfl]
<apeiros> zenspider: you should know that ops don't see the queries of other people :)
Cheezebox has quit [Remote host closed the connection]
raaamina was kicked from #ruby by apeiros [raaamina]
<apeiros> missed him rejoining
<zenspider> I'd assume the bot would spam you too... but maybe it's smart enough to not spam ops
<apeiros> no it's not
hellangel7 has quit [Read error: Connection reset by peer]
<apeiros> I kicked & banned it earlier, but I missed that it rejoined
<apeiros> but I think it only spams on activity
<apeiros> IMO spam like this should be dealt with on ircd level
mary5030 has quit [Ping timeout: 250 seconds]
<mozzarella> yeah, as well as join/quit spam…
<apeiros> should not be that hard to spot a user sending identical messages to many users
djbkd has joined #ruby
nobitano_ has quit []
ramin_sed has joined #ruby
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nobitanobi has joined #ruby
Lightsword has joined #ruby
devdazed has quit [Quit: Bye]
sambao21 has quit [Quit: Computer has gone to sleep.]
timonv_ has quit [Ping timeout: 240 seconds]
michaeldeol has joined #ruby
Akagi201 has joined #ruby
anime4christ has quit [Read error: Connection reset by peer]
anime4christ has joined #ruby
phoo1234567 has quit [Quit: Leaving]
djbkd has quit [Ping timeout: 260 seconds]
ramin_sed has quit [Ping timeout: 260 seconds]
spider-mario has quit [Ping timeout: 240 seconds]
yubrew has joined #ruby
Akagi201 has quit [Ping timeout: 245 seconds]
philcrissman has joined #ruby
nateberkopec has joined #ruby
dayepa has quit [Ping timeout: 272 seconds]
Lightsword has quit [Quit: Lightsword]
mikepack has joined #ruby
seamon has joined #ruby
jkline has joined #ruby
Aaaal has joined #ruby
yubrew has quit [Ping timeout: 250 seconds]
jerikl has quit [Quit: jerikl]
adamski2600 has quit []
angusiguess has joined #ruby
philcrissman has quit [Ping timeout: 255 seconds]
jespada has quit [Quit: Leaving]
jerikl has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
banister has joined #ruby
Cheezebox has joined #ruby
mikepack has quit [Ping timeout: 260 seconds]
ARCADIVS has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
rbenv has quit [Quit: Textual IRC Client: www.textualapp.com]
craigp has quit [Remote host closed the connection]
nobitanobi has quit [Remote host closed the connection]
blackmesa has quit [Quit: WeeChat 1.0]
gsd has joined #ruby
<gsd> anyone here use heroku
starless has joined #ruby
<gsd> looking for a recommendation on running a cron
<banister> l
banister is now known as banisterfiend
kireevco has joined #ruby
nfk has quit [Quit: yawn]
Sht0 has quit []
lidaaa has quit [Read error: Connection reset by peer]
ptrrr has joined #ruby
Wolland has joined #ruby
SilkFox_ has joined #ruby
<gsd> i'd like to write a cron in ruby
cndiv has quit [Ping timeout: 245 seconds]
tylerker_ has joined #ruby
asdasdasdasss has joined #ruby
jdj_dk has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<gsd> should i just spin up a rails project and write a rake task and use the heroku schedule add-on
<gsd> or is there a simpler way to do it
tylerkern has quit [Read error: Connection reset by peer]
asdasdasdasss has quit [Client Quit]
craigp has joined #ruby
szuletett has quit [Ping timeout: 245 seconds]
<AntelopeSalad> gsd, i don't know about heroku but the whenever gem is good for cron jobs in ruby
<gsd> does whenever just run when the app is loaded
error_mess has joined #ruby
<AntelopeSalad> no, it's a ruby dsl that spits out a real cron script
<gsd> basically, i have a single ruby file with some code that i'd like to run at midnight
<gsd> but i'm unsure of how to setup the cron in heroku
<AntelopeSalad> but i don't know if it'll work with heroku
<gsd> ah, see i don't think heroku will let you actually use crontab
Wolland has quit [Ping timeout: 255 seconds]
cndiv has joined #ruby
testcore has quit [Quit: [BX] BitchX is as BitchX does]
Aaaal has quit [Quit: Aaaal]
jdj_dk has quit [Ping timeout: 255 seconds]
SilkFox_ has quit [Ping timeout: 272 seconds]
<AntelopeSalad> at least the scheduler isn't $100/month
Kricir has joined #ruby
<AntelopeSalad> i was expecting to load the add on page for it and see like $49/month - allows a maximum of 3 cron jobs per week
nateberkopec has joined #ruby
djbkd has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
yfeldblum has quit [Ping timeout: 240 seconds]
teddyp1cker has joined #ruby
sylvanica has quit [Quit: sylvanica]
yfeldblum has joined #ruby
error_mess has quit []
GeekOnCoffee has quit [Ping timeout: 264 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
mikepack has joined #ruby
djbkd has quit [Ping timeout: 245 seconds]
<gr33n7007h> shevy where u hiding
zoo-zed has quit [Quit: Textual IRC Client: www.textualapp.com]
Kricir has quit [Ping timeout: 272 seconds]
Darkchaos has quit [Ping timeout: 272 seconds]
mikepack has quit [Read error: Connection reset by peer]
vyorkin has joined #ruby
mikepack has joined #ruby
vyorkin has quit [Client Quit]
GeekOnCoffee has joined #ruby
gkagan has joined #ruby
teddyp1cker has quit [Ping timeout: 246 seconds]
<gr33n7007h> punk
DrShoggoth has quit [Quit: Leaving]
<shevy> wat
<shevy> I have to reinstall everything here
seamon has quit [Quit: Zzzzzzz]
<gr33n7007h> learn boy
<shevy> /usr/lib/libpthread.a is broken, I can not compile anything that depends on -pthread, and sound also died suddenly for no reason and no way to bring it up
nobitanobi has joined #ruby
m8 has quit [Quit: Sto andando via]
<gr33n7007h> shevy, wtf?
gkagan has quit [Ping timeout: 240 seconds]
<shevy> yeah
<shevy> some things are subtly broken here and I don't know how
<wallerdev> stop storing your system files on an SD card
<shevy> sh: line 1: 8393 Segmentation fault kde4-config --kde-version 2>&1
<wallerdev> if you put the windows disc in the drive it should be able to just restore all your system files
<gr33n7007h> shevy, tee
kristofferR has quit [Remote host closed the connection]
<shevy> wallerdev but I don't have windows
<shevy> I have always wondered whether I could go back to windows
<shevy> I'd have ruby after all
emmesswhy has quit [Quit: This computer has gone to sleep]
<wallerdev> youd have "ruby"
<wallerdev> lol
<shevy> yeah
<wallerdev> no terminal to run it in
<shevy> ruby-gnome also works
<shevy> msys works as replacement
<wallerdev> it really doesnt
<shevy> I'd have to compile a lot of stuff
pietr0 has quit [Quit: pietr0]
<shevy> sure it does, even kde works on windows
britneywright has joined #ruby
<gr33n7007h> shevy, bullshit
<wallerdev> windows commandline is the worst piece ive ever seen
starless has quit [Quit: Leaving]
yfeldblum has quit [Remote host closed the connection]
<wallerdev> all commandline programs cut off their output based on the width of the terminal
<wallerdev> and theyll never be updated, so basically rectangular selection will be there forever
<dorei> wallerdev: u'll get powershell @ windows ;-)
<gr33n7007h> shevy, you tell a pack of lies
<shevy> gr33n7007h read the link
<wallerdev> powershell runs in the same cmd shell
yfeldblum has joined #ruby
<wallerdev> just because it lets you use c# doesnt make it a good system lol
<dorei> and of course u'd get visualstudio xD
georgesmith has quit [Quit: georgesmith]
<wallerdev> i used VS at my last job
yfeldblum has quit [Read error: Connection reset by peer]
beemo has joined #ruby
patrick99e99 has joined #ruby
yfeldblum has joined #ruby
<dorei> did you like it?
wjimenez_ has quit [Remote host closed the connection]
<wallerdev> eh
<wallerdev> it was good for .net stuff
<shevy> ok time to reinstall
<wallerdev> but thats just because c# is super verbose haha
<shevy> if I don't come back
<wallerdev> the version i used
wjimenez5271 has joined #ruby
<wallerdev> everytime you opened the find window it got slightly wider
<dorei> wallerdev: would you choose java over c# ?
<wallerdev> so about 4 times a day id have to resize it to a reasonable size
<wallerdev> tons of dumb quirks like that lol
<shevy> then it means that pclinuxOS could not be installed here
johndeeer has joined #ruby
<wallerdev> id choose c# 100% of the time on windows
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<gr33n7007h> shevy, not verbose
<wallerdev> and if i had a choice id never use either of those again lol
<johndeeer> guys can i program the nymi with rails?
<shevy> verbose?
<gr33n7007h> yeah
gsd has joined #ruby
lidaaa has joined #ruby
pbhandari has joined #ruby
<johndeeer> yeah?
<wallerdev> luckily i get to do JS work on a mac for my job now :D
shevy has quit [Remote host closed the connection]
ghostmoth has quit [Quit: ghostmoth]
IceDragon has quit [Ping timeout: 246 seconds]
IceDragon has joined #ruby
nateberkopec has joined #ruby