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
banister has joined #ruby
maestrojed has quit [Quit: Computer has gone to sleep.]
dik_dak has joined #ruby
banister has quit [Max SendQ exceeded]
lw has joined #ruby
opus has joined #ruby
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
opus has quit [Client Quit]
Bira has quit [Ping timeout: 250 seconds]
sinkensabe has quit [Ping timeout: 250 seconds]
codeurge has joined #ruby
lewix has quit [Remote host closed the connection]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lewix has joined #ruby
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ziyadb has quit [Quit: Connection closed for inactivity]
testcore has quit [Quit: [BX] Khaled uses BitchX. CTCP TROUT THIS, BITCH!]
kevkev has joined #ruby
j_mcnall_ has quit [Ping timeout: 245 seconds]
chipotle has quit [Quit: cya]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
Takle has quit [Remote host closed the connection]
sepp2k1 has joined #ruby
sepp2k has quit [Ping timeout: 264 seconds]
dgarstang has quit [Ping timeout: 245 seconds]
lewix has quit [Ping timeout: 264 seconds]
Ulri[away] is now known as Ulrike
Ulrike is now known as Ulrike_Rayne
kevkev has quit [Ping timeout: 250 seconds]
jmbrown412 has quit [Remote host closed the connection]
jmbrown412 has joined #ruby
maletor has joined #ruby
opus has joined #ruby
agarie has quit [Remote host closed the connection]
hellome has joined #ruby
jdj_dk has joined #ruby
banister has joined #ruby
apeiros has joined #ruby
fabrice31 has joined #ruby
tkuchiki has quit [Remote host closed the connection]
arya_ has quit [Ping timeout: 256 seconds]
jmbrown412 has quit [Ping timeout: 240 seconds]
ddv has quit [Ping timeout: 260 seconds]
asdasdasdasss has joined #ruby
ddv has joined #ruby
krz has joined #ruby
banister has quit [Ping timeout: 250 seconds]
timgauthier has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
robscormack has quit [Quit: This computer has gone to sleep]
fabrice31 has quit [Ping timeout: 250 seconds]
benlieb has quit [Read error: Connection reset by peer]
MatthewsFace has quit [Ping timeout: 260 seconds]
rubytor has joined #ruby
AlexBlom has quit [Ping timeout: 245 seconds]
asdasdasdasss has quit [Ping timeout: 245 seconds]
b00stfr3ak has quit [Ping timeout: 245 seconds]
aantix has quit [Quit: aantix]
yetanotherdave has quit [Ping timeout: 250 seconds]
pietr0 has joined #ruby
bwilson has quit [Quit: bwilson]
geggam has joined #ruby
Bira has joined #ruby
lewix has joined #ruby
o0oo0o has quit [Quit: WeeChat 0.4.3]
jdj_dk has quit [Ping timeout: 255 seconds]
j_mcnall_ has joined #ruby
o0oo0o has joined #ruby
oo____ has joined #ruby
cocotton has joined #ruby
omosoj has joined #ruby
arya_ has joined #ruby
Squeatus has quit [Quit: Leaving]
o0oo0o has quit [Client Quit]
Arkaniad has quit [Ping timeout: 240 seconds]
<omosoj> hey guys i have a question... is there a way to search audio file A for a sound clip (audio file B) and return the time the clip is played? does ruby have a library that does that?
zz_karupa is now known as karupa
ghostmoth has quit [Quit: ghostmoth]
<wallerdev> it wouldnt be a ruby library
<wallerdev> itd be a c library or something, and it might have ruby bindings
tkuchiki has joined #ruby
iamjarvo has joined #ruby
<omosoj> wallerdev, i see. interesting
Hobogrammer has quit [Ping timeout: 240 seconds]
chipotle has joined #ruby
Kricir has joined #ruby
QuintinAdam has joined #ruby
Takle has joined #ruby
oo____ has quit [Remote host closed the connection]
o0oo0o has joined #ruby
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jonr22 has joined #ruby
jonr22 has quit [Client Quit]
pietr0 has quit [Quit: pietr0]
pothibo has joined #ruby
keen____ has quit [Ping timeout: 256 seconds]
Kricir has quit [Ping timeout: 255 seconds]
QuintinAdam has quit [Client Quit]
pietr0 has joined #ruby
teddyp1cker has joined #ruby
axl_ has joined #ruby
oo____ has joined #ruby
robscormack has joined #ruby
bmn has quit [Ping timeout: 240 seconds]
wald0 has quit [Ping timeout: 260 seconds]
jonr22 has joined #ruby
Takle has quit [Ping timeout: 245 seconds]
robscormack has quit [Client Quit]
faulkner has quit [Ping timeout: 245 seconds]
nevans has quit [Ping timeout: 245 seconds]
DrCode has quit [Ping timeout: 264 seconds]
teddyp1cker has quit [Ping timeout: 260 seconds]
pietr0 has quit [Quit: pietr0]
fgo has joined #ruby
djbkd has quit [Remote host closed the connection]
yliu has quit [Ping timeout: 272 seconds]
DylanJ has quit [Ping timeout: 255 seconds]
djbkd has joined #ruby
faulkner has joined #ruby
yliu has joined #ruby
beneggett has joined #ruby
cocotton has quit [Remote host closed the connection]
jonr22 has quit [Client Quit]
miah has quit [Ping timeout: 260 seconds]
bmn has joined #ruby
Hamled|Erp has quit [Ping timeout: 240 seconds]
Hobogrammer has joined #ruby
DrCode has joined #ruby
miah has joined #ruby
arya_ has quit [Ping timeout: 260 seconds]
<omosoj> wallerdev, how did you know that it would need to be c to do it?
<wallerdev> because a library like that would require specific things like data processing of sound files and sound searching algorithms
<wallerdev> so its likely that kind of thing would just be written once, and then reused in any language that needs it
brianherman has quit [Read error: Connection reset by peer]
<wallerdev> if someone wrote it in ruby, only ruby users could do that, python users couldnt, c users couldnt, php users couldnt
wjimene__ has joined #ruby
<wallerdev> but if you write a library like that in C, every other language can just write a wrapper for the library
fgo has quit [Ping timeout: 250 seconds]
<wallerdev> and use it
mikepack_ has quit [Remote host closed the connection]
echooo has joined #ruby
<wallerdev> its the same reason we dont have video processing libraries in ruby, thats very complicated so we just reuse the work people have done w/ ffmpeg etc
sevenseacat has joined #ruby
<wallerdev> and its much faster that way too
djbkd has quit [Ping timeout: 264 seconds]
awc737 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hamled has joined #ruby
skysploit has joined #ruby
MartinCleaver has quit [Quit: MartinCleaver]
aspires has quit []
QuintinAdam has joined #ruby
bmn has quit [Ping timeout: 260 seconds]
sawtooth_ has quit [Ping timeout: 256 seconds]
bpgoldsb has quit [Ping timeout: 256 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
mikepack has joined #ruby
wjimenez_5271 has quit [Ping timeout: 245 seconds]
andrewbredow has quit [Ping timeout: 250 seconds]
mateu has quit [Ping timeout: 256 seconds]
krz has quit [Quit: WeeChat 0.4.3]
ltd has quit [Ping timeout: 250 seconds]
opus has quit []
Sou|cutter has quit [Ping timeout: 250 seconds]
sawtooth has joined #ruby
yliu has quit [Ping timeout: 245 seconds]
mateu has joined #ruby
ziyadb has joined #ruby
ltd has joined #ruby
echooo has quit [Client Quit]
wjimene__ has quit [Ping timeout: 250 seconds]
krz has joined #ruby
DylanJ has joined #ruby
echooo has joined #ruby
andrewbredow has joined #ruby
yliu has joined #ruby
bpgoldsb has joined #ruby
mikepack has quit [Ping timeout: 255 seconds]
mr_snowf1ake has joined #ruby
coldkey21 has quit [Remote host closed the connection]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Sou|cutter has joined #ruby
jdj_dk has joined #ruby
bmn has joined #ruby
RichardLitt has quit [Quit: RichardLitt]
felixjet_ has quit [Read error: Connection reset by peer]
felixjet_ has joined #ruby
MartinCleaver has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
bricker`work has quit [Ping timeout: 260 seconds]
lewix has quit [Remote host closed the connection]
lewix has joined #ruby
codeFiend has joined #ruby
Photism has quit [Quit: Leaving]
Fire-Dragon-DoL has quit [Quit: Leaving.]
lid_ has joined #ruby
IteratorP has joined #ruby
Fire-Dragon-DoL has joined #ruby
IteratorP is now known as iteratorP
cocotton has joined #ruby
MartinCleaver has quit [Ping timeout: 245 seconds]
tylerkern has joined #ruby
macclearich__ has quit [Quit: Computer has gone to sleep.]
<omosoj> i see
ghostmoth has joined #ruby
macclearich__ has joined #ruby
kevkev has joined #ruby
bayed has quit [Quit: Connection closed for inactivity]
lewix has quit [Ping timeout: 255 seconds]
lidaaa has quit [Ping timeout: 255 seconds]
axl_ has quit [Quit: axl_]
Sirupsen has joined #ruby
jonr22 has joined #ruby
kevkev has quit [Ping timeout: 240 seconds]
macclearich__ has quit [Ping timeout: 255 seconds]
jamto11 has joined #ruby
jonr22 has quit [Client Quit]
patrick99e99 has quit [Ping timeout: 256 seconds]
lid_ has quit [Ping timeout: 264 seconds]
nevans has joined #ruby
Cheeze has joined #ruby
alexju has quit [Remote host closed the connection]
Cheeze is now known as Cheezebox
jonr22 has joined #ruby
oo____ has quit [Remote host closed the connection]
amclain has joined #ruby
jdj_dk has quit [Ping timeout: 245 seconds]
asdasdasdasss has joined #ruby
zorak has quit [Ping timeout: 260 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zorak has joined #ruby
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cocotton has quit [Remote host closed the connection]
cocotton has joined #ruby
asdasdasdasss has quit [Ping timeout: 272 seconds]
mikepack has joined #ruby
saarinen has quit [Quit: saarinen]
rlazoti has joined #ruby
jonr22 has quit [Quit: leaving]
ghostmoth has quit [Quit: ghostmoth]
opus has joined #ruby
<Cheezebox> hello
cocotton has quit [Ping timeout: 240 seconds]
oo____ has joined #ruby
jonr22 has joined #ruby
jshultz has quit [Quit: Connection closed for inactivity]
cocotton has joined #ruby
robustus has quit [Ping timeout: 250 seconds]
rezzack has quit [Quit: Leaving.]
codeFiend has quit [Read error: Connection reset by peer]
mikepack has quit [Ping timeout: 256 seconds]
robustus has joined #ruby
codeFiend has joined #ruby
Arkaniad has joined #ruby
codeFiend has quit [Client Quit]
Starless has joined #ruby
Cheezebox has quit []
Cheezebox has joined #ruby
jmeeuwen has quit [Quit: Disconnecting from stoned server.]
oo____ has quit [Remote host closed the connection]
PanPan has joined #ruby
jmeeuwen has joined #ruby
omosoj has quit [Quit: Leaving]
Cheezebox has quit [Client Quit]
Cheezebox has joined #ruby
Kricir has joined #ruby
rezzack has joined #ruby
troyready has quit [Ping timeout: 245 seconds]
spastorino has quit [Quit: Connection closed for inactivity]
jonr22 has quit [Quit: leaving]
darkxploit has joined #ruby
jonr22 has joined #ruby
ssvo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kricir has quit [Ping timeout: 272 seconds]
awc737 has joined #ruby
awc737 has quit [Max SendQ exceeded]
lewix has joined #ruby
jlovick has quit [Ping timeout: 245 seconds]
jonr22 has quit [Quit: leaving]
jonr22 has joined #ruby
fgo has joined #ruby
lewix has quit [Remote host closed the connection]
gr33n7007h has joined #ruby
lewix has joined #ruby
LadyRainicorn has quit [Ping timeout: 250 seconds]
LadyRainicorn has joined #ruby
oo____ has joined #ruby
Photism has joined #ruby
lewix_ has joined #ruby
tectonic has joined #ruby
lewix has quit [Read error: Connection reset by peer]
fgo has quit [Ping timeout: 245 seconds]
hamakn has quit [Remote host closed the connection]
whitedawg has joined #ruby
Bira has quit []
jonr22 has quit [Quit: leaving]
jonr22 has joined #ruby
lidaaa has joined #ruby
jdj_dk has joined #ruby
tokik has joined #ruby
rlazoti has quit [Quit: Computer has gone to sleep.]
aantix has joined #ruby
sinkensabe has joined #ruby
beef-wellington has quit [Ping timeout: 256 seconds]
darkxploit has quit [Ping timeout: 250 seconds]
wallerdev has quit [Quit: wallerdev]
aantix has quit [Client Quit]
fabrice31 has joined #ruby
rubytor has quit [Ping timeout: 240 seconds]
rubytor has joined #ruby
sinkensabe has quit [Ping timeout: 255 seconds]
iamjarvo has joined #ruby
starkhalo has joined #ruby
microdex has joined #ruby
jonr22 has quit [Quit: leaving]
jonr22 has joined #ruby
fabrice31 has quit [Ping timeout: 245 seconds]
Gooder has joined #ruby
jonr22 has quit [Client Quit]
kevkev has joined #ruby
jonr22 has joined #ruby
pu22l3r has joined #ruby
bradleyprice has joined #ruby
Panicky has quit [Remote host closed the connection]
Cheezebox is now known as justinv
kevkev has quit [Ping timeout: 240 seconds]
isthisreallife has joined #ruby
isthisreallife has left #ruby [#ruby]
maletor has joined #ruby
jmbrown412 has joined #ruby
hamakn has joined #ruby
r3zn0r has joined #ruby
ixti has quit [Ping timeout: 245 seconds]
tectonic has quit []
crudson has joined #ruby
mikesplain has joined #ruby
nateberkopec has joined #ruby
jmbrown412 has quit [Ping timeout: 250 seconds]
weems|nix has quit [Ping timeout: 240 seconds]
kaspergrubbe_ has quit [Remote host closed the connection]
asdasdasdasss has joined #ruby
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
little_fu has joined #ruby
brianherman has joined #ruby
michaeldeol has joined #ruby
jdj_dk has quit [Ping timeout: 264 seconds]
wallerdev has joined #ruby
rebelshrug has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
jonr22 has quit [Quit: leaving]
Rainicorn has joined #ruby
asdasdasdasss has quit [Ping timeout: 272 seconds]
pu22l3r has quit [Remote host closed the connection]
Arkaniad has quit [Ping timeout: 264 seconds]
rubytor has quit [Ping timeout: 240 seconds]
little_fu has quit [Ping timeout: 256 seconds]
Sirupsen has joined #ruby
Soliah has joined #ruby
LadyRainicorn has quit [Ping timeout: 255 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
saarinen has joined #ruby
mikesplain has quit []
QuintinAdam has quit [Remote host closed the connection]
tatsuya_o has joined #ruby
chrishough has quit [Quit: chrishough]
tjr9898 has joined #ruby
tjr9898 has quit [Remote host closed the connection]
mikesplain has joined #ruby
root3d has joined #ruby
tjr9898 has joined #ruby
Sirupsen has quit [Quit: Textual IRC Client: www.textualapp.com]
tjr9898 has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
weems|nix has joined #ruby
weems|nix has joined #ruby
reset has quit [Quit: Leaving...]
Shidash has quit [Ping timeout: 245 seconds]
reset has joined #ruby
ramin_sed has joined #ruby
jonr22 has joined #ruby
root3d has quit [Ping timeout: 272 seconds]
Kricir has joined #ruby
bmurt has joined #ruby
tectonic has joined #ruby
saarinen has joined #ruby
reset has quit [Ping timeout: 256 seconds]
krz has quit [Ping timeout: 272 seconds]
babykosh has joined #ruby
eka has joined #ruby
Arkaniad has joined #ruby
Kricir has quit [Ping timeout: 260 seconds]
teddyp1cker has joined #ruby
AlexBlom has joined #ruby
<babykosh> ruby gods simple question…I want to see the text of my passing rspec test not just the dot ….how do I accomplish this feat?
codeFiend has joined #ruby
tectonic has quit [Client Quit]
ramin_sed has left #ruby [#ruby]
<sevenseacat> change the rspec formatter
dh64 has joined #ruby
krz has joined #ruby
fgo has joined #ruby
Pizza has joined #ruby
teddyp1cker has quit [Ping timeout: 245 seconds]
<babykosh> I got it
<Pizza> got what? milk?
<Pizza> just joined in
<benzrf> got peteza
92AAAD736 has joined #ruby
heftig has quit [Ping timeout: 272 seconds]
<Pizza> since the creator of ruby is an emacs junky, are all of you on emacs?
banjara has joined #ruby
nateberkopec has quit [Quit: Leaving...]
<sevenseacat> no
bwilson has joined #ruby
<mozzarella> vim masterrace
bmurt has quit []
<Pizza> i'm on emacs.
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
mostlybadfly has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
<sevenseacat> sublime text.
<Pizza> mozzarella. why are you using vim? emacs has already swallowed vim whole
banjara has quit [Client Quit]
fgo has quit [Ping timeout: 255 seconds]
tectonic has joined #ruby
<Pizza> sublime text is so bandwagon. You need to make a fashion statement.
LadyRainicorn has joined #ruby
<sevenseacat> trollolol
NinoScript has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
dapz has joined #ruby
root3d has joined #ruby
lewix_ is now known as Lewix
Lewix has joined #ruby
Lewix has quit [Changing host]
Pizza has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
Rainicorn has quit [Ping timeout: 240 seconds]
<Starless> sublime text is for kings
Starless has quit [Quit: Leaving]
<mozzarella> you know sublime text is proprietary software, right?
tectonic has quit [Client Quit]
BBBThunda has quit [Quit: Leaving]
bwilson has quit [Ping timeout: 272 seconds]
theharshest has quit [Quit: This computer has gone to sleep]
jdj_dk has joined #ruby
Photism has quit [Quit: Leaving]
wjimenez_5271 has joined #ruby
<benzrf> ST is for people who need to believe that theyre kings in order to not feel inferior
<benzrf> ;)
<benzrf> vim 5 lyfe
jonr22 has quit [Quit: leaving]
jshultz has joined #ruby
mary5030 has joined #ruby
tjr9898 has joined #ruby
jonr22 has joined #ruby
codeFiend has quit [Quit: codeFiend]
Spami has quit [Quit: This computer has gone to sleep]
wjimenez_5271 has quit [Remote host closed the connection]
wjimenez_5271 has joined #ruby
Photism has joined #ruby
braincrash has quit [Quit: bye bye]
Shidash has joined #ruby
oo____ has quit [Remote host closed the connection]
oo____ has joined #ruby
rlazoti has joined #ruby
rezzack has quit [Quit: Leaving.]
kevkev has joined #ruby
jdj_dk has quit [Ping timeout: 240 seconds]
wjimenez_5271 has quit [Ping timeout: 250 seconds]
cmarques has joined #ruby
pothibo has quit [Quit: Computer has gone to sleep.]
dc_ has joined #ruby
braincrash has joined #ruby
<ericwood> VIM POWER
<ericwood> love too vim
kevkev has quit [Ping timeout: 256 seconds]
92AAAD736 has quit [Remote host closed the connection]
raul7821 has joined #ruby
<raul7821> hi guys, how can I solve this issue
<sevenseacat> raul7821: i think you're in the wrong channel
<raul7821> is this related to ruby or chef?
<raul7821> this error invalid byte sequence in US-ASCII
tom_zhu_ has joined #ruby
asdasdasdasss has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jonr22 has quit [Quit: leaving]
beneggett has joined #ruby
nateberkopec has joined #ruby
nairys has joined #ruby
CrashHD has left #ruby [#ruby]
geggam has quit [Ping timeout: 255 seconds]
asdasdasdasss has quit [Ping timeout: 250 seconds]
brianherman has quit [Read error: Connection reset by peer]
axl_ has joined #ruby
steveman has joined #ruby
steveman has left #ruby [#ruby]
sirene has joined #ruby
Spami has joined #ruby
cmarques has quit []
insider55 has joined #ruby
agrinb has joined #ruby
oo____ has quit [Remote host closed the connection]
nateberkopec has quit [Ping timeout: 240 seconds]
axl_ has left #ruby [#ruby]
insider55 has quit [Client Quit]
St_Marx has joined #ruby
agrinb has quit [Ping timeout: 260 seconds]
LadyRainicorn has quit [Read error: Connection reset by peer]
LadyRainicorn has joined #ruby
deric_skibotn has quit [Ping timeout: 260 seconds]
oo____ has joined #ruby
Fezzler has joined #ruby
jamto11 has quit [Remote host closed the connection]
babykosh has quit [Quit: babykosh]
LadyRainicorn has quit [Read error: Connection reset by peer]
Rainicorn has joined #ruby
Fezzler has quit [Client Quit]
Kricir has joined #ruby
b00stfr3ak has joined #ruby
mehlah has quit [Ping timeout: 240 seconds]
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jamto11 has joined #ruby
mahtennek has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alvaro_o has quit [Quit: Ex-Chat]
Rainicorn has quit [Read error: Connection reset by peer]
heftig has joined #ruby
LadyRainicorn has joined #ruby
Kricir has quit [Ping timeout: 260 seconds]
jobewan has joined #ruby
tom_zhu_ has quit [Ping timeout: 272 seconds]
timgauthier has joined #ruby
tom_zhu_ has joined #ruby
arya_ has joined #ruby
mr_snowf1ake has quit [Quit: Leaving]
jamto11 has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
fgo has joined #ruby
wallerdev_ has joined #ruby
mehlah has joined #ruby
opus has quit []
narcan has joined #ruby
Rainicorn has joined #ruby
wallerdev_ has quit [Client Quit]
arya_ has quit [Ping timeout: 240 seconds]
sepp2k1 has quit [Read error: Connection reset by peer]
maletor has joined #ruby
whitedawg1 has joined #ruby
r3zn0r has quit [Ping timeout: 255 seconds]
LadyRainicorn has quit [Ping timeout: 250 seconds]
fabrice31 has joined #ruby
whitedawg has quit [Ping timeout: 240 seconds]
fgo has quit [Ping timeout: 250 seconds]
justinv has quit [Remote host closed the connection]
ramfjord has quit [Quit: Lost terminal]
timgauthier has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fabrice31 has quit [Ping timeout: 260 seconds]
heftig has quit [Ping timeout: 250 seconds]
Fire-Dragon-DoL has quit [Quit: Leaving.]
jdj_dk_ has joined #ruby
QuintinAdam has joined #ruby
QuintinAdam has quit [Remote host closed the connection]
axl_ has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
tectonic has joined #ruby
axl_ has quit [Client Quit]
b00stfr3ak has quit [Ping timeout: 245 seconds]
lid_ has joined #ruby
yacks has joined #ruby
lidaaa has quit [Ping timeout: 250 seconds]
lid_ is now known as lidaaa
kevkev has joined #ruby
cocotton has quit [Remote host closed the connection]
axl_ has joined #ruby
oo____ has quit [Remote host closed the connection]
Kricir has joined #ruby
cocotton has joined #ruby
Lewix has quit [Remote host closed the connection]
Takle has joined #ruby
Lewix has joined #ruby
seitensei has quit [Ping timeout: 245 seconds]
djbkd has joined #ruby
kevkev has quit [Ping timeout: 272 seconds]
cocotton has quit [Ping timeout: 250 seconds]
Kricir has quit [Ping timeout: 272 seconds]
dayepa has quit [Quit: dayepa]
maestrojed has joined #ruby
Takle has quit [Ping timeout: 245 seconds]
Lewix has quit [Ping timeout: 250 seconds]
yfeldblu_ has joined #ruby
beneggett has joined #ruby
asdasdasdasss has joined #ruby
saarinen has quit [Quit: saarinen]
jdj_dk_ has quit [Ping timeout: 255 seconds]
axl_ has quit [Quit: axl_]
yfeldblum has quit [Ping timeout: 240 seconds]
microdex has quit [Remote host closed the connection]
theharshest has joined #ruby
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
crudson has quit [Ping timeout: 245 seconds]
yfeldblu_ has quit [Ping timeout: 240 seconds]
asdasdasdasss has quit [Ping timeout: 255 seconds]
nateberkopec has joined #ruby
mahtennek has quit []
whyy has joined #ruby
skysploit has quit []
lidaaa has quit [Ping timeout: 255 seconds]
codeFiend has joined #ruby
root3d has quit [Ping timeout: 240 seconds]
tylerkern has joined #ruby
mary5030 has quit [Ping timeout: 260 seconds]
iamjarvo has joined #ruby
Kricir has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #ruby
whyy has quit [Read error: Connection reset by peer]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nateberkopec has quit [Ping timeout: 240 seconds]
whyy has joined #ruby
Kricir has quit [Read error: Connection reset by peer]
Kricir has joined #ruby
dbasch has joined #ruby
tatsuya_o has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
Gooder` has joined #ruby
danijoo has joined #ruby
Gooder has quit [Ping timeout: 245 seconds]
keen____ has joined #ruby
tatsuya_o has quit [Read error: No route to host]
djbkd has quit [Quit: My people need me...]
tatsuya_o has joined #ruby
NukePuppy has joined #ruby
Kricir has quit [Ping timeout: 245 seconds]
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
root3d has joined #ruby
ziyadb has quit [Quit: Connection closed for inactivity]
jdj_dk has joined #ruby
whitedawg1 has quit [Quit: Leaving.]
mary5030 has joined #ruby
Aryasam has joined #ruby
Aryasam has quit [Client Quit]
decoponio has joined #ruby
rebelshrug has quit [Ping timeout: 255 seconds]
tatsuya_o has quit [Ping timeout: 250 seconds]
Fezzler has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
oo____ has joined #ruby
GriffinHeart has joined #ruby
mary5030 has quit [Ping timeout: 250 seconds]
jdj_dk has quit [Remote host closed the connection]
iamnot has joined #ruby
teddyp1cker has joined #ruby
Channel6 has quit [Quit: Leaving]
fgo has joined #ruby
oo____ has quit [Ping timeout: 260 seconds]
mikepack has joined #ruby
teddyp1cker has quit [Ping timeout: 260 seconds]
danshultz has quit [Ping timeout: 260 seconds]
Fezzler has quit [Quit: Leaving]
clamstar has quit [Ping timeout: 255 seconds]
FifthWall has quit [Ping timeout: 250 seconds]
verto has quit [Ping timeout: 272 seconds]
fgo has quit [Ping timeout: 260 seconds]
hypnosb has quit [Ping timeout: 250 seconds]
dvabr has quit [Ping timeout: 264 seconds]
heftig has joined #ruby
ra4king has quit [Ping timeout: 256 seconds]
hypnosb has joined #ruby
FifthWall has joined #ruby
verto has joined #ruby
dvabr has joined #ruby
danshultz has joined #ruby
davedev24_ has quit [Ping timeout: 250 seconds]
bridge has quit [Ping timeout: 240 seconds]
Lewix has joined #ruby
michaeldeol has joined #ruby
razum2um has joined #ruby
mikepack has quit [Ping timeout: 240 seconds]
IceDragon has quit [Quit: Space~~~]
lidaaa has joined #ruby
NinoScript has joined #ruby
ARCADIVS has joined #ruby
asmodlol has joined #ruby
clamstar has joined #ruby
sputnik13 has joined #ruby
Guest94374 has quit [Read error: Connection reset by peer]
EvanR has joined #ruby
EvanR is now known as Guest85513
dbasch has quit [Read error: Connection reset by peer]
benzrf is now known as benzrf|offline
dbasch has joined #ruby
CaptainJet has quit []
sigurding has joined #ruby
justinv has joined #ruby
robscormack has joined #ruby
thumpba_ has joined #ruby
axsuul has joined #ruby
yeticry has quit [Remote host closed the connection]
larsam has quit [Remote host closed the connection]
tfitts has joined #ruby
yeticry has joined #ruby
kevkev has joined #ruby
fgo has joined #ruby
thumpba_ has quit [Remote host closed the connection]
cobakobodob has quit [Ping timeout: 250 seconds]
binw has quit [Read error: Connection reset by peer]
tom_zhu_ has quit [Ping timeout: 272 seconds]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
heftig has quit [Ping timeout: 250 seconds]
qsun_ has quit [Ping timeout: 264 seconds]
_justin has joined #ruby
opus has joined #ruby
tom_zhu_ has joined #ruby
kevkev has quit [Ping timeout: 250 seconds]
bluOxigen has joined #ruby
ra4king has joined #ruby
NukePuppy has quit [Ping timeout: 250 seconds]
nateberkopec has joined #ruby
Ilyas has joined #ruby
relix has joined #ruby
teddyp1cker has joined #ruby
qsun has joined #ruby
binw has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
beneggett has joined #ruby
codeurge has quit [Quit: Sleep.]
yfeldblum has joined #ruby
codeFiend has quit [Read error: Connection reset by peer]
iamnot is now known as simple-user
Kabaka has quit [Ping timeout: 255 seconds]
yfeldblum has quit [Remote host closed the connection]
philcris_ has joined #ruby
asdasdasdasss has joined #ruby
Rylee has quit [Max SendQ exceeded]
yfeldblum has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
cherry_lin has quit [Ping timeout: 250 seconds]
oo____ has joined #ruby
cherry_lin has joined #ruby
Rylee has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
arup_r has joined #ruby
codeFiend has joined #ruby
dbasch has quit [Read error: Connection reset by peer]
codeFiend has quit [Client Quit]
AlexBlom has quit [Ping timeout: 240 seconds]
dbasch has joined #ruby
mehlah has quit [Quit: Leaving...]
larsam has joined #ruby
opus has quit [Ping timeout: 264 seconds]
Sauvin has joined #ruby
opus has joined #ruby
Kabaka has joined #ruby
asdasdasdasss has quit [Ping timeout: 240 seconds]
bluOxigen has quit [Read error: Connection reset by peer]
tectonic has quit []
cobakobodob has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
pontiki has joined #ruby
apeiros_ has joined #ruby
justinv has quit [Remote host closed the connection]
duncannz has joined #ruby
amclain has quit [Quit: Leaving]
bluOxigen has joined #ruby
pontiki has quit [Client Quit]
axsuul_ has joined #ruby
dseitz has joined #ruby
heftig has joined #ruby
charliesome has quit [Ping timeout: 260 seconds]
tatsuya_o has joined #ruby
theharshest has quit [Quit: This computer has gone to sleep]
larissa has quit [Quit: Leaving]
aantix has joined #ruby
axsuul has quit [Ping timeout: 240 seconds]
aganov has joined #ruby
charliesome has joined #ruby
saarinen has joined #ruby
hakunin has joined #ruby
tatsuya_o has quit [Read error: Connection reset by peer]
tatsuya_o has joined #ruby
toastynerd has joined #ruby
_justin has quit [Ping timeout: 256 seconds]
tatsuya_o has quit [Ping timeout: 255 seconds]
odigity2 has quit [Ping timeout: 264 seconds]
tectonic has joined #ruby
toastynerd has quit [Remote host closed the connection]
ItSANgo has quit [Quit: Leaving...]
<hakunin> i'm wonder if there's a way to reference an object in a Set…
fabrice31 has joined #ruby
Vivekananda_y510 has quit [Ping timeout: 255 seconds]
lw has quit [Quit: s]
sigurding has quit [Quit: sigurding]
alem0lars has joined #ruby
starkhalo has quit [Ping timeout: 255 seconds]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
<apeiros_> zenspider: heh, somehow nice to see that there's times when we agree :)
fabrice31 has quit [Ping timeout: 255 seconds]
<apeiros_> hakunin: reference it by what?
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros_> x = obj; set << x; # still have the object referenced using x
_tpavel has joined #ruby
<apeiros_> hakunin: please, if you cross post, say that you cross post in those channels.
<hakunin> apeiros_: i was looking for the exact object in the set, not its copy. as in - if you add object that eql x a second time, set won't add it, and i'd want the exact one in the set, so 2nd one could be GC'd
apeiros_ is now known as apeiros
<hakunin> apeiros_: btw hey there
aagdbl has joined #ruby
nanoyak has joined #ruby
<apeiros> use a hash with the key being its value
<apeiros> Hash is what Set uses underneath anyway
<hakunin> apeiros: that's pretty much what set is afaik,
tectonic has quit []
saltsa_ has quit [Ping timeout: 240 seconds]
AndChat| has joined #ruby
s2013 has joined #ruby
<hakunin> apeiros: but how do you reference a key of a hash, same issue
<s2013> can you use ruby to replace bash scripting?
<s2013> or atleast emulate it
<apeiros> hakunin: you don't. as I said, keep key == value
sinkensabe has joined #ruby
<apeiros> then you just do: canonical = hash[obj]
<hakunin> apeiros: ah i see what you mean, interesting
<aagdbl> s2013, depends on what functionality of bash you want to replace
<s2013> so i want to automate conversion and importing of something
<hakunin> apeiros: (i usually note the x-post but seemed so dead today)
<s2013> basically go through all the files in a directory.. convert it using a program.. and then import it
<apeiros> s2013: you can. but be aware that for a good bit, bash is quite good in its domain
lkba has quit [Ping timeout: 256 seconds]
odigity2 has joined #ruby
<s2013> yeah i always meant to do some bash scripting. figured might as weel
<s2013> well*
<s2013> is it hard to pick up?
root3d has quit [Ping timeout: 255 seconds]
eeezkil has quit [Quit: Leaving.]
Takle has joined #ruby
ItSANgo has joined #ruby
OffTheRails has joined #ruby
<apeiros> s2013: ruby? no. but I thought I had seen you in the channel for at least over a year?
<OffTheRails> hey I have a question about programming in general. I've only ever worked with dynamic languages (php, python, ruby) and wanted to expose myself to other languages (static, functional, etc)
bluOxigen has quit [Remote host closed the connection]
<s2013> not ruby man
<s2013> bashcripting
<OffTheRails> if I went back to C/C++ would it be worth learning one over the other?
<apeiros> oh
<s2013> and ive been here for couple of years atleast
<apeiros> probably not
gheegh has joined #ruby
<apeiros> I find it horrible, though, and never went too deep
bluOxigen has joined #ruby
<s2013> yeah i need to get better at devops stuff
<apeiros> I don't think that's true
<s2013> whats not true?
<apeiros> IMO lots of devops use bash scripts for the lack of knowing languages better suited for programming
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<robscormack> there is a book: "Ruby for System Administration"
<robscormack> it's the best thing you can give to a devops
LadyRainicorn has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
beneggett has joined #ruby
<apeiros> s2013: that you need bash scripting to be better at devops
gruz0[russia] has joined #ruby
<s2013> im not a devops i use ruby mainly for rails
<s2013> but i know chef/puppet uses ruby. we use that at work
gheegh has quit [Client Quit]
Takle has quit [Ping timeout: 272 seconds]
GlenK has joined #ruby
<hakunin> heh, maybe i shouldn't have tried building 100mil item set to test if lookup is O(1)… currently 5GB of RAM in ruby process
<s2013> look up for what
<apeiros> uh, set is O(1) lookup. could have told you that :-p
* apeiros off for commute
apeiros has quit [Remote host closed the connection]
roolo has joined #ruby
Rainicorn has quit [Ping timeout: 250 seconds]
<s2013> for a set?
<hakunin> i was almost sure of that :)
apeiros has joined #ruby
<s2013> set/hashes etc are all O(1)
<hakunin> apeiros: s2013: yeah that's the whole point of hash/set structure
<s2013> yeah
<hakunin> it's 2am here, my bases aren't fully saturated
<s2013> where are you?
<hakunin> new york
<s2013> ah a magical place
<s2013> city?
<hakunin> yes, well, i'm in brooklyn specifically
<s2013> omg. arent you like ever shot at?
<s2013> or robbed?
<hakunin> have you ever been here?
<s2013> no. im scared
jhass|off is now known as jhass
terryb has joined #ruby
<s2013> jk.. i am a native new yorker. but whenever i travel and people here im from nyc.. well back in the days anyways people would ask me if i ever got robbed or shot
<hakunin> you better be, it's scary here, the hipsters with their fancy cafes and farmer markets, i can't find a place to hide
terryb has left #ruby [#ruby]
robscormack has quit [Quit: Leaving]
<s2013> took my first steps in coney island.
<sevenseacat> i'd love to visit new york
<hakunin> s2013: heh, i'm living in coney island
<s2013> do it
sigurding has joined #ruby
<s2013> hakunin, hipsters havent gotten that far yet have they
<hakunin> ocean out of my window
<sevenseacat> i've read so much about the place
<hakunin> s2013: actually hoping they would
<s2013> i spent most of my life in queens though. brooklyn is where i lived until i learned to walk and talk
fold has quit [Ping timeout: 272 seconds]
<s2013> sevenseacat, its the greatest city in the world
<s2013> although my high school was in bk
<hakunin> s2013: which high school
apeiros has quit [Ping timeout: 255 seconds]
<sevenseacat> its gotta be better than perth, perth is just like a really big small town
<s2013> bklyn tech
root3d has joined #ruby
<hakunin> s2013: ah, i have a friend that went there, not myself
<s2013> perth is the most isolated city in the world
<sevenseacat> indeed
<hakunin> sevenseacat: i always wondered what Perth is like
<s2013> yeah it was a good school but our principal was a jack ass. we learned more about our school through NY Times than being there
<sevenseacat> in many ways, not just distance
<hakunin> looked on street view and stuff
<sevenseacat> hakunin: a really big small town where everyone knows everyone
<hakunin> looks different, in an interesting way
<s2013> next time I am in Aussieland im going to visit Perth
<sevenseacat> even though there's 2 million people here
<hakunin> sevenseacat: that sounds magical in some way
<s2013> melbourne is nice. i miss sydney though
michaeldeol has quit [Quit: Textual IRC Client: www.textualapp.com]
<sevenseacat> ive only been to sydney once, for rubyconf au this year
<hakunin> i've been to Champaign-Urbana recently (a town in Illinois) and became friends with everyone at programmer meetup on day one
mikesplain has quit [Ping timeout: 250 seconds]
mercwithamouth has joined #ruby
<hakunin> in New York almost 15 yrs, not a single friend from meetups
<s2013> UIUC is an amazing school for CS hakunin
<s2013> hakunin, which meetups are you part of?
<jeaye> NY, Perth, etc etc. I spent a large portion of my life in towns with ~2K population.
bal has joined #ruby
<sevenseacat> jeaye: i would have gone insane lol
<s2013> jeaye, part of me wishes i grew up in a small town
<s2013> it would be nice to actually know your neighbors
<jeaye> It can be. Not always.
<hakunin> s2013: i was going to random ones, etsy, digital ocean, the js ones, flatiron ones, some more i can't remember
<s2013> i think we spoke to our next door neighbors about 3 times in the past 15 years
<sevenseacat> i know my neighbours
<sevenseacat> they give us eggs and chase my cats over the fence when they go exploring
<s2013> yeah i wish i had that
kevkev has joined #ruby
<hakunin> i said hi to one neighbor while he was wearing a towel and saying bye to a woman, and "is everything ok" to another neighbor, who's a lady mother that yelled "help" because she was afraid of her drug-addict son
<hakunin> that's the extent of my interaction
<hakunin> both awkward
abuzze has joined #ruby
Ilyas has quit [Read error: Connection reset by peer]
<jeaye> Also, 95% Caucasian.
<jeaye> Rather, 96%
<s2013> mmm caucasians
dawkirst has joined #ruby
<s2013> im half caucasian..
<s2013> in the sense that im asian
<s2013> just not the cauc part
<jeaye> I'm one and a half Caucasian.
maestrojed has quit [Quit: Computer has gone to sleep.]
<jeaye> s2013 has no cauc.
<s2013> i love driving to and stopping in small towns though
tatsuya_o has joined #ruby
farn has quit [Ping timeout: 250 seconds]
<hakunin> there are probably 30 nationalities per block in coney island
<s2013> in the end we are all american!
<hakunin> my high school had 200
<s2013> wherd you go to hs
<hakunin> lincoln
kevkev has quit [Ping timeout: 240 seconds]
<s2013> cool
<hakunin> then poly uni
<s2013> no way
<s2013> what year
<hakunin> 2004-[redacted]
<s2013> oh snap me tooish
<s2013> well i was there for 3 semesters
<hakunin> oh i was for 2 years
<hakunin> 2.smth
<s2013> this was before NYU bought them and merged with them right
<hakunin> yes, i was leaving while they were merging
asmodlol has quit [Quit: Leaving]
<s2013> yeah with NYU's money.. they are much better now
<hakunin> i took a leave of absence, then just kinda wandered off
GriffinHeart has joined #ruby
Takle has joined #ruby
nateberkopec has joined #ruby
memph1s has joined #ruby
<s2013> yeah it happens.
tatsuya_o has quit [Ping timeout: 255 seconds]
opus has quit [Ping timeout: 250 seconds]
<zenspider> hell... I have friends from NYC meetups. maybe you should talk to people
<zenspider> (and I live in seattle)
<hakunin> zenspider: you have friends from everywhere
<zenspider> don't make assumptions
b00stfr3ak has joined #ruby
urotur has joined #ruby
<zenspider> UIUC is a fantastic school. I'd love to study under johnson
urotur has quit [Killed (idoru (Spam is off topic on freenode.))]
tylerkern has joined #ruby
terryb has joined #ruby
<s2013> yeah UIUC is at the top of their game
nairys has quit [Quit: nairys]
<s2013> as far as public school goes imo its UIUC/GT/UCB/UCLA/UT
asdasdasdasss has joined #ruby
<hakunin> perhaps one day i'll transfer, finish cs there…
<s2013> hows your gpa
<s2013> youd need atleast a 3.8 i reckon to get into any of those cs programs
<zenspider> NEU & indiana... but I'm biased towards the schemer schools atm
nateberkopec has quit [Ping timeout: 240 seconds]
<s2013> NEU has madea lot of strides though. im surprised
<Hanmac> Bolivia declares Israel as terrorist state ;P https://news.yahoo.com/bolivia-declares-israel-terrorist-state-184920411.html
<zenspider> UIUC & PSU for oo schools
<s2013> buddy goes to PSU
_justin has joined #ruby
<hakunin> s2013: probably not going to work with my left-over gpa from poly, wonder if it could still be possible after such a long time
terryb has quit [Ping timeout: 240 seconds]
relix has joined #ruby
<s2013> some places have a 10 year forgiveness thig
<s2013> i know UT does.. and we have an amazing cs program
asdasdasdasss has quit [Ping timeout: 245 seconds]
farn has joined #ruby
MartinCleaver has joined #ruby
rdark has joined #ruby
patric100e99 has joined #ruby
<zenspider> right. UT for schemer too... just... that U is a tough one
<zenspider> (the location, not the fact that it is a university)
<zenspider> I'd love to study under flatt... but not at that cost
Squeatus has joined #ruby
<s2013> what do you mean zenspider
<s2013> do you mean schneems zenspider ?
Macaveli has joined #ruby
<zenspider> sorry. I was referring to university of utah
<zenspider> matt flatt is one of the core contributors to racket scheme
Macaveli has quit [Client Quit]
MartinCleaver has quit [Ping timeout: 256 seconds]
root3d has quit [Ping timeout: 250 seconds]
patric100e99 has quit [Ping timeout: 245 seconds]
gheegh has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<s2013> oh ok
<hakunin> i love utah for nature, but long term, not so much…
<s2013> i was talking about University of Texas
sedeki has joined #ruby
<zenspider> then my point still stands, but s/U/T/
<zenspider> because... fuck texas. *shudder*
<s2013> ehhhhhhh
<sedeki> i get redirected to ##namespace when i try to join #rails why?
<zenspider> so many many things wrong with that state
<s2013> its #rubyonrails sedeki
<sedeki> thanks
<s2013> texas is awesome but thank you for staying away :)
<zenspider> no and you're welcome. :P
<s2013> way too many people (including me) moving in as it is
sedeki has left #ruby [#ruby]
<zenspider> maybe I can send you all the ppl from cali moving here. :)
<s2013> please no.
<hakunin> austin was great, but state politics is pretty sad
<zenspider> the only texas school I know anything about is rice, and they've lost several of their principal movers
<s2013> texas is being overrun by californians
<zenspider> so is washington... maybe we should send them to utah
<s2013> eh i dont wanna get into politics.
<s2013> i live between ny and texas.. i enjoy both.
<zenspider> heh. that's some culture shock
<s2013> it was but i got used to it
<jeaye> I've gone from small-town Maine, to Florida, to San Francisco, and now to Singapore.
<s2013> how you like singapore? i didnt enjoy it much there
<s2013> felt like a gigantic mall
<jeaye> So many malls.
<zenspider> tenderlove loved it
<s2013> but i stayed at marina bay sands so that was worth it
<zenspider> esp the food vendor bazaars
<jeaye> s2013: It's not so bad. I feel like I've lost many freedoms.
<zenspider> don't remember the name for them
<s2013> hawks?
blueOxigen has joined #ruby
<s2013> or whatever
<jeaye> But I'm only here for a couple of years, then I'll be back in the states.
<zenspider> yeah
<s2013> hawker centers
<jeaye> hawker centers
<s2013> jinx
bluOxigen has quit [Ping timeout: 240 seconds]
Xeago has joined #ruby
krz has quit [Quit: WeeChat 0.4.3]
<s2013> lol we paid $200 for steak for 2 .. worst steak ever
Morkel has joined #ruby
<s2013> of course that wasnt at the hawker center
<hakunin> speaking of freedoms, doing business in russia is really fun nowadays…
<s2013> us is the best place to do business and texas is the best place for business in the us
zoosjuice has joined #ruby
fabrice31 has joined #ruby
<jeaye> I really liked SF.
<s2013> sf is ok
<hakunin> on one hand in less developed country you get tons of chances to try something that already worked elsewhere, on the other hand oppressive government, abysmal infrastructure, smaller market…
<s2013> yup
ddv has joined #ruby
ddv has quit [Changing host]
arup_r has quit [Ping timeout: 264 seconds]
arup_r has joined #ruby
why_away has joined #ruby
banister has joined #ruby
whyy has quit [Ping timeout: 256 seconds]
EMoreth has joined #ruby
LadyRainicorn has quit [Read error: Connection reset by peer]
aagdbl has quit [Quit: This computer has gone to sleep]
Nahra has quit [Remote host closed the connection]
LadyRainicorn has joined #ruby
zoosjuice has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dumdedum has joined #ruby
Mon_Ouie has joined #ruby
heftig has quit [Ping timeout: 272 seconds]
anarang has joined #ruby
olivier_bK has quit [Ping timeout: 256 seconds]
root3d has joined #ruby
dik_dak has quit [Quit: Leaving]
aagdbl has joined #ruby
_justin has quit [Ping timeout: 256 seconds]
cmarques has joined #ruby
obs has joined #ruby
tatsuya_o has joined #ruby
krz has joined #ruby
sinkensabe has quit [Remote host closed the connection]
cmarques has quit [Ping timeout: 240 seconds]
dawkirst_ has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
Kricir has joined #ruby
OffTheRails has quit [Ping timeout: 272 seconds]
brianherman has joined #ruby
j_mcnall_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kachi8 has quit [Ping timeout: 240 seconds]
kdlv has joined #ruby
dawkirst has quit [Ping timeout: 250 seconds]
_justin has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
ptrrr has joined #ruby
heftig has joined #ruby
Kricir has quit [Ping timeout: 260 seconds]
GriffinHeart has joined #ruby
LadyRainicorn has quit [Read error: Connection reset by peer]
LadyRainicorn has joined #ruby
dawkirst_ has quit [Quit: Leaving...]
dawkirst has joined #ruby
jprovazn has joined #ruby
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kevkev_ has joined #ruby
aantix has quit [Quit: aantix]
jshultz has quit [Quit: Connection closed for inactivity]
mattmcclure has quit [Quit: Connection closed for inactivity]
dapz has joined #ruby
dc_ has quit [Remote host closed the connection]
dc_ has joined #ruby
bluOxigen has joined #ruby
roolo has quit [Quit: Leaving...]
ARCADIVS has quit [Quit: WeeChat 0.4.3]
blueOxigen has quit [Ping timeout: 245 seconds]
devyn has quit [Read error: Connection reset by peer]
devyn has joined #ruby
arup_r has quit [Ping timeout: 255 seconds]
sinkensabe has joined #ruby
arup_r has joined #ruby
tylerkern has joined #ruby
dc_ has quit [Ping timeout: 256 seconds]
root3d has quit [Ping timeout: 240 seconds]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Deele has joined #ruby
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
s2013 has quit [Ping timeout: 240 seconds]
alex88 has joined #ruby
saarinen has quit [Quit: saarinen]
brianherman has quit [Read error: Connection reset by peer]
nateberkopec has joined #ruby
philcris_ has quit [Remote host closed the connection]
Macaveli has joined #ruby
aagdbl has quit [Quit: Leaving]
asdasdasdasss has joined #ruby
Guest24182 has quit [Ping timeout: 260 seconds]
roodee has joined #ruby
roodee is now known as Guest80654
nateberkopec has quit [Ping timeout: 240 seconds]
mikepack has joined #ruby
apeiros has joined #ruby
mercwithamouth has quit [Ping timeout: 250 seconds]
asdasdasdasss has quit [Ping timeout: 245 seconds]
doev has joined #ruby
mostlybadfly has joined #ruby
ejnahc has quit [Ping timeout: 264 seconds]
LadyRainicorn has quit [Ping timeout: 250 seconds]
SegFaultAX has quit [Excess Flood]
mikepack has quit [Ping timeout: 250 seconds]
arup_r has quit [Remote host closed the connection]
ejnahc has joined #ruby
LadyRainicorn has joined #ruby
arup_r has joined #ruby
SegFaultAX has joined #ruby
dbasch has quit [Read error: Connection reset by peer]
dbasch has joined #ruby
LadyRainicorn has quit [Read error: Connection reset by peer]
echevemaster has quit [Remote host closed the connection]
LadyRainicorn has joined #ruby
LadyRainicorn has quit [Read error: Connection reset by peer]
dc_ has joined #ruby
LadyRainicorn has joined #ruby
codecop has joined #ruby
root3d has joined #ruby
arup_r has quit [Ping timeout: 255 seconds]
anarang has quit [Quit: Leaving]
dc_ has quit [Remote host closed the connection]
dc_ has joined #ruby
noop has joined #ruby
Akagi201 has quit [Read error: Connection reset by peer]
dc__ has joined #ruby
Akagi201 has joined #ruby
dc_ has quit [Read error: Connection reset by peer]
lidaaa has quit [Ping timeout: 264 seconds]
blackmesa has joined #ruby
dbasch has quit [Read error: Connection reset by peer]
dbasch has joined #ruby
jobewan has quit [Quit: Leaving]
krz has quit [Quit: WeeChat 0.4.3]
dc__ has quit [Remote host closed the connection]
dbasch has quit [Client Quit]
dc_ has joined #ruby
krz has joined #ruby
LiohAu has joined #ruby
why_away has quit [Remote host closed the connection]
Akagi201 has quit [Read error: Connection reset by peer]
Akagi201 has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kilo`byte has quit [Ping timeout: 256 seconds]
end_guy has quit [Ping timeout: 264 seconds]
Macaveli has quit [Ping timeout: 255 seconds]
dc_ has quit [Ping timeout: 272 seconds]
danijoo_ has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
dc_ has joined #ruby
Kilo`byte has joined #ruby
luckyruby has joined #ruby
gr33n7007h has quit [Remote host closed the connection]
<pepijndevos> I installed ruby using homebrew, but none of my native extensions work.
end_guy has joined #ruby
<zenspider> pepijndevos: you RE-installed?
<pepijndevos> ??
<zenspider> you make it sound like you already had native extensions. what are you referring to?
<pipework> pepijndevos: Did you try using `gem pristine --extensions`? http://guides.rubygems.org/command-reference/#gem-pristine
<pepijndevos> pipework, yes
timonv_ has joined #ruby
dc_ has quit [Remote host closed the connection]
<pepijndevos> and it's not one gem, but all of them can't locate libruby.
<pipework> pepijndevos: Then we'll likely need a better description of the issue.
dc_ has joined #ruby
sptq has joined #ruby
<pepijndevos> hold on... I just messed with brew a bit more, and at least jekyll works now. I hope nokogiri will too.
jottr has joined #ruby
oo____ has quit [Remote host closed the connection]
sputnik13 has joined #ruby
<pepijndevos> apparently brew link failed because of some exisiting file
roolo has joined #ruby
Darryl has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
blackmesa has quit [Ping timeout: 264 seconds]
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Hanmac> last time i did use macports and it worked better
oo____ has joined #ruby
<zenspider> I really should add you to /fools
dc_ has quit [Ping timeout: 245 seconds]
<ddv> macports sucks
<ddv> homebrew <3
teddyp1cker has quit []
<Hanmac> most of that time i did use rvm because otherwise it did make it more complicated with my tests ... i did test if my extension did work the same if ruby (and my ext) where both compiled with GCC or with CLANG
relix has joined #ruby
<zenspider> that's better
<zenspider> anyone have test order dependency bugs?
<Hanmac> because there where problems that my lib does work with GCC but not with CLANG ... (l mean newest clang from macports, shipped clang is way to old)
<apeiros> I still don't really trust homebrow. chowining /usr/local to a specific user --
Morkel has quit [Quit: Morkel]
simple-user has quit [Ping timeout: 255 seconds]
dc_ has joined #ruby
wallerdev has quit [Quit: wallerdev]
<zenspider> apeiros: eh. works fine as root
mikecmpbll has joined #ruby
<pipework> These days I just use ruby-install and chruby for my development.
arup_r has joined #ruby
arup_r has quit [Remote host closed the connection]
arup_r has joined #ruby
ephemerian has joined #ruby
dc_ has quit [Remote host closed the connection]
dc_ has joined #ruby
<apeiros> zenspider: hah
tylerkern has joined #ruby
<zenspider> really... I ignore their bs about opening it up.
<zenspider> every recipe I've used works fine with sudo brew
Scribblerockerz has joined #ruby
whyy has joined #ruby
arup_r_ has joined #ruby
<zenspider> Hanmac: shipped clang is newer than what clang has officially released. your fud is getting old
arup_r has quit [Read error: Connection reset by peer]
<pipework> I thought the caustic rubyist attitude fell out of fashion. Such retro.
<Hanmac> zenspider: the shipped clang was only compatible with gcc4.2 ... means no c11 features i did need ... thats why i needed an newer one
<zenspider> % clang --version
<zenspider> Apple LLVM version 6.0 (clang-600.0.34.4) (based on LLVM 3.5svn)
<sevenseacat> pipework: nah we're still elitist jerks.
<zenspider> 3.5 isn't even released yet. nice try
<zenspider> latest official release: 19 Jun 20143.4.2
obs has quit [Quit: Saliendo]
<pipework> sevenseacat: I was quite excited for it to be the style again. Now I can sport my pretentious PDX attitude as an accessory!
timonv_ has quit [Remote host closed the connection]
<sevenseacat> pipework: you hippie.
<zenspider> hipster... please
<pipework> My favorite PDX bumper sticker: "Keep Portland passive-aggressive"
timonv_ has joined #ruby
<zenspider> haha
<pipework> zenspider: +1 on the great response.
<zenspider> I'm gonna be in pdx shortly
dc_ has quit [Ping timeout: 255 seconds]
<pipework> zenspider: What for?
<pipework> We should be assholes to each other in the same space for a time. That sounds like fun.
<zenspider> aja is speaking at cascadia ruby. I'm not actually going to the conf
<zenspider> just hanging at powells and eating pastrami and the like
<zenspider> I may sit _outside_ the conf
dc_ has joined #ruby
<pipework> zenspider: Restraining order preventing your attendance?
diegoviola has joined #ruby
arup_r has joined #ruby
axsuul_ has quit [Read error: Connection reset by peer]
<zenspider> pipework: not wanting to spend 2 days in a faraday cage is one reason
<zenspider> it really is
<zenspider> ZERO cell reception
<zenspider> I bet doctors hate that place
<zenspider> and other first responders
dc_ has quit [Remote host closed the connection]
dc_ has joined #ruby
<pipework> zenspider: I'm excited for tenderlove to tell us all why we should work on making rails suck less, but with more puns than ever before.
arya_ has joined #ruby
olivier_bK has joined #ruby
<zenspider> heh... I'm done with the puns by the time I'm done with lunch.
GriffinHeart has quit [Remote host closed the connection]
arup_r_ has quit [Ping timeout: 260 seconds]
<pipework> zenspider: I hear you can't handle the twitter puns and consequently ignored him.
<zenspider> yup. I've also removed all retweets from everyone I follow, partially because of him
<zenspider> tho as a social experiment... it's totally made twitter much nicer
<pipework> that's pretty funny. I remember someone came up with a plan to get everyone you folllow to retweet his puns.
dc_ has quit [Read error: Connection reset by peer]
dc__ has joined #ruby
<zenspider> yeah...
<pipework> zenspider: I figure that twitter is just any other self-absorbed social network, so you're on the winning track with your current gameplan.
nateberkopec has joined #ruby
<zenspider> I hate it, but it's good for marketing/branding/hunting-down-passive-aggressive-douchebags-who-don't-file-issues
AndChat| has quit [Ping timeout: 250 seconds]
GriffinHeart has joined #ruby
kaspergrubbe_ has joined #ruby
txdv has quit [Read error: Connection reset by peer]
terryb has joined #ruby
<pipework> zenspider: It's also a great resource for the more pun inclined if you know who to follow.
dc__ has quit [Remote host closed the connection]
txdv has joined #ruby
dc_ has joined #ruby
elaptics`away is now known as elaptics
asdasdasdasss has joined #ruby
<pipework> I hate twitter because it's like any George R.R. Martin book, it says so very little with so many words. The one consolation is that the extent of the loquaciousness is dwarfed to sets of 140 characters at a time.
timonv_ has quit [Remote host closed the connection]
<sevenseacat> the first few books were good. the last few were horribly horribly long.
joonty has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
<pipework> sevenseacat: The first few books were horribly long too, even if they were more entertaining.
dc__ has joined #ruby
<sevenseacat> true, but i wasnt referring to actual physical length
timonv_ has joined #ruby
dc_ has quit [Read error: Connection reset by peer]
dc__ has quit [Remote host closed the connection]
asdasdasdasss has quit [Ping timeout: 255 seconds]
Atttwww has quit [Ping timeout: 240 seconds]
patric100e99 has joined #ruby
bluOxigen has quit [Read error: Connection reset by peer]
SegFaultAX has quit [Excess Flood]
Vivekananda_y510 has joined #ruby
calleerlandsson1 has joined #ruby
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<lolmaus> I need a hash-like object A so that when a value for a non-existent key is requested it returns not nil but instantiates a new object B, saves it with that key and returns it.
SegFaultAX has joined #ruby
<zenspider> so you need a hash
bluOxigen has joined #ruby
<zenspider> ri Hash.new
<lolmaus> zenspider: thx. ^_^
<sevenseacat> heh
<pipework> I believe this is the second time in two weeks that you've wanted something like a hash for some reason, and it turned out that you needed a hash.
codecop has quit [Remote host closed the connection]
Duckily has quit [Quit: Duckily]
dc_ has joined #ruby
<sevenseacat> well, hashes are indeed hash-like.
<pipework> I'm not mathematician, but proof by induction, right?
Spami has quit [Quit: This computer has gone to sleep]
<sevenseacat> though with ruby, it would be easy to make them so they're not
patric100e99 has quit [Ping timeout: 240 seconds]
dc_ has quit [Client Quit]
<lolmaus> zenspider: thx, the third form of Hash.new is exactly what i wanted.
danijoo_ has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
<pipework> I rather wish the PDX Ruby Brigade was more like Seattle's ruby group, but with different faces. I feel like starting another group would be fruitless and a waste of everyones time though. :(
<zenspider> I want to talk to some of the pdx folk
ixti has joined #ruby
<zenspider> I'd like to get some friendly games and competition going
<pipework> I'm sure you could find them.
<pipework> Though I'm not sure how many would subject themselves to that. Maybe Markus?
jottr has quit [Ping timeout: 250 seconds]
<zenspider> I'd like to do some cross group devious ping-pong pairing
<zenspider> and I'm (slowly) working on a new tank game thing that we could do live cross-group
<zenspider> I guess LA.rb is defunct
terryb has left #ruby [#ruby]
bricker`1A has quit [Ping timeout: 245 seconds]
<pipework> I'd be interested in observing the exchange and watching a mailing list thread devolve into the usual reddit-style critique of other poster's English while others try desperately to get back on topic.
asmodlol has joined #ruby
arup_r has quit [Remote host closed the connection]
arup_r has joined #ruby
gauravagarwalr has joined #ruby
vifino has joined #ruby
arup_r_ has joined #ruby
arup_r has quit [Ping timeout: 250 seconds]
chth0n has quit [Quit: Ex-Chat]
Ainieco has joined #ruby
<Ainieco> hello
chth0n has joined #ruby
<Ainieco> what's the difference between string.unpack("M*") and string.unpack("M")?
Zebroid has joined #ruby
calleerlandsson1 has left #ruby ["WeeChat 0.4.3"]
LadyRainicorn has quit [Ping timeout: 240 seconds]
crazydiamond has joined #ruby
Zebroid has quit [Remote host closed the connection]
Zebroid has joined #ruby
Takle has quit [Remote host closed the connection]
tvw has joined #ruby
gauravag_ has joined #ruby
jackneill has joined #ruby
LadyRainicorn has joined #ruby
sevenseacat has quit [Quit: Leaving.]
Lewix has quit [Remote host closed the connection]
marr has joined #ruby
calleerlandsson has joined #ruby
blueOxigen has joined #ruby
dawkirst is now known as emilesilvis
calleerlandsson has left #ruby [#ruby]
root3d has quit [Ping timeout: 240 seconds]
emilesilvis has quit []
mikesplain has joined #ruby
Rahul_Roy has joined #ruby
emilesilvis has joined #ruby
bluOxigen has quit [Ping timeout: 264 seconds]
byteoverfl0w has joined #ruby
calleerlandsson has joined #ruby
calleerlandsson has left #ruby [#ruby]
whyy has quit [Remote host closed the connection]
kaspergrubbe_ has quit [Read error: Connection reset by peer]
kaspergr_ has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
mikesplain has quit [Ping timeout: 255 seconds]
LadyRainicorn has quit [Quit: Bye]
shui_code has joined #ruby
shui_code has left #ruby ["WeeChat 0.4.2"]
<mikecmpbll> hmpf
<mikecmpbll> if I have a class which includes two modules
<mikecmpbll> B and C for example, and module C uses methods from module B, i don't have to include module B in module C if they're both included in class A
<mikecmpbll> that probably made no sense, reading it back.
<mikecmpbll> but it seems slightly wrong to have module C calling methods from B with no reference in the source file to it.
konflikt has joined #ruby
workmad3 has joined #ruby
jimeh has quit [Ping timeout: 260 seconds]
jimeh has joined #ruby
alexherbo2 has quit [Quit: WeeChat 0.4.3]
<shevy> wat
alexherbo2 has joined #ruby
root3d has joined #ruby
<shevy> well, if you include a module it will become part of the ancestor chain of a class
<shevy> module Foo; end; class Bar; include Foo; end
hololeap has quit [Ping timeout: 264 seconds]
<shevy> Bar.ancestors # => [Bar, Foo,
daharon has joined #ruby
Ainieco has quit [Quit: leaving]
<daharon> Hey guys, I'm trying to figure out the shortest method for extracting the hostname given an FQDN. I'm not really a Ruby expert and so far my searches are just returning regexes.
<workmad3> daharon: URI.parse(fqdn).host
<workmad3> >> require 'uri'; URI.parse("google.com").host
<Mon_Robot> workmad3: => nil (https://eval.in/173599)
<daharon> workmad3: I tried that one in irb.
<daharon> All I have is FQDN
<workmad3> >> require 'uri'; URI.parse("http://google.com").host
<Mon_Robot> workmad3: => "google.com" (https://eval.in/173600)
<workmad3> daharon: hmm... isn't the fqdn the hostname?
rmabbi has joined #ruby
<daharon> workmad3: including domain.
<workmad3> daharon: or do you mean the domain?
<daharon> fqdn = hostname.domain
hololeap has joined #ruby
joonty1 has joined #ruby
<workmad3> daharon: ah, ok
<txdv> >> URI.parse("http://www.google.com").host
<Mon_Robot> txdv: => NameError: uninitialized constant URI (https://eval.in/173601)
<txdv> >> require 'uri'; URI.parse("http://www.google.com").host
<Mon_Robot> txdv: => "www.google.com" (https://eval.in/173602)
<mikecmpbll> :D
<txdv> returns www.google.com
nateberkopec has joined #ruby
<workmad3> txdv: yeah... he just wants the www bit
<ruisantos> ?
bmn has quit [Ping timeout: 250 seconds]
sk87 has joined #ruby
Duckily has joined #ruby
<txdv> we.are.awesome.hostname.domain works too
<txdv> so which one does he want/
faulkner has quit [Ping timeout: 250 seconds]
<shevy> ruby.is.sexy
<daharon> txdv: in the above, it would be 'we'
Duckily has quit [Client Quit]
<workmad3> daharon: hmm, I'd have said in the above it should be 'we.are.awesome.hostname'
joonty has quit [Ping timeout: 250 seconds]
philcrissman has joined #ruby
<txdv> >> "www.google.com".split(".").first
<Mon_Robot> txdv: => "www" (https://eval.in/173603)
<daharon> txdv: yeah, that's probably best.
vifino has quit [Quit: Ze Cat now leaves...]
<daharon> txdv: yeah, I don't know what I was thinking. I'll just use that.
<txdv> >> require 'uri'; class URI; def bla; self.host.split(".").first; end; URI.parse("http://www.google.com").bla
<Mon_Robot> txdv: => SyntaxError: (eval):1: syntax error, unexpected end-of-input, expecting keyword_... (https://eval.in/173604)
<txdv> You wanted it to be in the library
<daharon> yeah
<txdv> but ruby libraries are created by hackers who dont think about every corner case
GlenK has quit []
<txdv> either you do a an issue/pull request or you just go with split
<workmad3> txdv: heh :) or in the case of URI, it was created to parse URIs which treat the domain as opaque ;)
joonty1 has quit [Client Quit]
asdasdasdasss has joined #ruby
joonty1 has joined #ruby
joonty1 is now known as joonty
Gonzih has joined #ruby
<workmad3> s/domain/host
<mikecmpbll> why do http libraries always cause me so much grief
<daharon> The split is easy enought to read.
<workmad3> mikecmpbll: because HTTP
<mikecmpbll> SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
mikepack has joined #ruby
<daharon> I'm just concerned about readability.
<mikecmpbll> works fine with curl -_-
nateberkopec has quit [Ping timeout: 240 seconds]
<shevy> :(
<shevy> ruby only solutions!
Zebroid has quit [Read error: Connection reset by peer]
<workmad3> mikecmpbll: your ruby and your curl are using different CA stores?
<shevy> california stores
<mikecmpbll> no clue. i know so little about SSL it's unbelievable.
<mikecmpbll> i did the oft-suggested RVM certifcate refresh thing
<mikecmpbll> to no avail.
<workmad3> mikecmpbll: certificate verify failed == the certificate couldn't be traced back to a trusted root certificate
<mikecmpbll> hmpf. k
philcrissman has quit [Ping timeout: 272 seconds]
<workmad3> mikecmpbll: if it worked with curl (and you didn't use the -k option for insecure) then the problem is that curl and ruby have different collections of trusted root certificates
faulkner has joined #ruby
<workmad3> mikecmpbll: at least, assuming you've left the SSL setup alone in your app anyway :) if you've messed around with it, then it could be something else
<mikecmpbll> not touched anything SSL related
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
bmn has joined #ruby
oo____ has quit [Remote host closed the connection]
<mikecmpbll> i'll debug on that basis, cheers!
asdasdasdasss has quit [Ping timeout: 250 seconds]
mikepack has quit [Ping timeout: 264 seconds]
klaut has joined #ruby
oo____ has joined #ruby
whyy has joined #ruby
arup_r_ has quit [Remote host closed the connection]
arup_r has joined #ruby
<workmad3> mikecmpbll: take a look at OpenSSL::X509::DEFAULT_CERT_FILE and OpenSSL::X509::DEFAULT_CERT_DIR in your ruby
<workmad3> mikecmpbll: also, http://mislav.uniqpath.com/2013/07/ruby-openssl/ has more info, and a doctor script at the end
<mikecmpbll> interestingly returns different cert paths from that which RVM updated, which explains why that didn't do anything, i guess.
lkba has joined #ruby
Skwallinux has joined #ruby
arup_r_ has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
Morkel has joined #ruby
spider-mario has joined #ruby
larsam has quit [Read error: Connection reset by peer]
Gonzih has quit [Ping timeout: 260 seconds]
Scribblerockerz has left #ruby [#ruby]
Hobogrammer has quit [Ping timeout: 240 seconds]
Morkel_ has joined #ruby
Morkel has quit [Ping timeout: 250 seconds]
Morkel_ is now known as Morkel
blackmesa has joined #ruby
jprovazn has quit [Quit: Leaving]
brianherman has joined #ruby
gauravag_ has quit [Remote host closed the connection]
gauravagarwalr has quit [Remote host closed the connection]
6A4AAMAL0 has joined #ruby
2JTAAA1BB has joined #ruby
phoo1234567 has joined #ruby
Zebroid has joined #ruby
bridge has joined #ruby
blackmesa has quit [Ping timeout: 264 seconds]
echooo has quit [Quit: echooo]
6A4AAMAL0 has quit [Ping timeout: 256 seconds]
2JTAAA1BB has quit [Ping timeout: 272 seconds]
Gonzih has joined #ruby
lkba has quit [Read error: Connection reset by peer]
konflikt has quit [Quit: konflikt]
Zebroid has quit [Read error: Connection reset by peer]
brianherman has quit [Read error: Connection reset by peer]
alem0lars has quit [Quit: Going AFK...]
stef_204 has joined #ruby
<mikecmpbll> eafegagearaew.
<mikecmpbll> it actually works fine with https://github.com
<mikecmpbll> just not the endpoint i was trying.
arup_r_ has quit [Remote host closed the connection]
<workmad3> mikecmpbll: did you try the ssl tools linked to in that mislav article?
arup_r has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
<mikecmpbll> not yet, i tried running the doctor script but that errored with EOFError which seemed like a red herring
<mikecmpbll> reading more now (y)
mikesplain has joined #ruby
duncannz has quit [Ping timeout: 250 seconds]
pandaant has joined #ruby
blackmesa has joined #ruby
lolmaus_ has joined #ruby
arup_r_ has joined #ruby
Macaveli has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
arup_r_ has quit [Remote host closed the connection]
davedev24_ has joined #ruby
arup_r has joined #ruby
lolmaus has quit [Ping timeout: 250 seconds]
mikesplain has quit [Ping timeout: 260 seconds]
gauravagarwalr has joined #ruby
gauravag_ has joined #ruby
blackmesa has quit [Ping timeout: 264 seconds]
sinkensabe has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
iteratorP has quit [Remote host closed the connection]
sinkensabe has quit [Read error: Connection reset by peer]
kyb3r_ has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
arup_r has quit [Ping timeout: 264 seconds]
davedev24_ has quit [Ping timeout: 255 seconds]
fabrice31 has quit [Remote host closed the connection]
arup_r has joined #ruby
dblessing has joined #ruby
jprovazn has joined #ruby
Rollabunna has joined #ruby
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
alem0lars has joined #ruby
bal has quit [Quit: bal]
<mikecmpbll> it's literally just this host, everthing else works -_-
<mikecmpbll> but i can use curl on it fine
bal has joined #ruby
b00stfr3ak has quit [Ping timeout: 256 seconds]
nateberkopec has joined #ruby
gruz0[russia] has quit [Quit: Leaving]
Pharaoh2 has joined #ruby
Mongey has quit [Read error: Connection reset by peer]
asdasdasdasss has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
<workmad3> mikecmpbll: care to gist a run of 'curl -v <host>'?
<workmad3> mikecmpbll: might be able to spot something
roolo has quit [Quit: Leaving...]
oo____ has quit [Remote host closed the connection]
Deele has quit [Ping timeout: 250 seconds]
tkuchiki_ has joined #ruby
asdasdasdasss has quit [Ping timeout: 256 seconds]
saltsa has joined #ruby
patric100e99 has joined #ruby
alem0lars has quit [Quit: Going AFK...]
SegFaultAX has quit [Excess Flood]
<workmad3> mikecmpbll: hmm... so using that doctor script with system ruby verifies it, but with my ruby-install 2.1, it fails...
PanPan has quit [Quit: ChatZilla 0.9.90.1 [Firefox 31.0/20140716183446]]
MartinCleaver has joined #ruby
tkuchiki has quit [Ping timeout: 255 seconds]
<workmad3> mikecmpbll: any idea if the cert on that server is older than the heartbeat bug? could be that the rapidssl root or intermediate cert was rolled
SegFaultAX has joined #ruby
tkuchiki_ has quit [Ping timeout: 240 seconds]
Deele has joined #ruby
edwardly has quit [Ping timeout: 272 seconds]
<mikecmpbll> not sure
patric100e99 has quit [Ping timeout: 245 seconds]
narcan has joined #ruby
lotherk_ has joined #ruby
robscormack has joined #ruby
fabrice31 has joined #ruby
lotherk_ has quit [Client Quit]
gheegh has quit [Ping timeout: 245 seconds]
workmad3 has quit [Quit: Lost terminal]
workmad3 has joined #ruby
<mikecmpbll> workmad3: i get "The server presented a certificate that could not be verified:" with the doctor script.
<mikecmpbll> error code 20: unable to get local issuer certificate
<workmad3> mikecmpbll: aha... your server isn't serving the intermediate RapidSSL certificate
<mikecmpbll>
<workmad3> mikecmpbll: so most likely, your ruby store only has the geotrust cert
<mikecmpbll> gotcha. wonder why it works for curl
<workmad3> mikecmpbll: the os x store has the intermediate store (I'm guessing you're on a mac? :) )
<mikecmpbll> yes i am
<workmad3> *intermediate cert
exgbld has joined #ruby
<workmad3> hence it works with stuff that uses the system SSL (system ruby, curl, etc) but something that uses a more modern openssl (e.g. ruby 2.1) with a ca bundle that doesn't include intermediate certs, you get a verification error
Vivekananda_y510 has quit [Quit: Leaving]
<mikecmpbll> ahh.. is that normal behaviour, not to send intermediate certs?
Vivekananda_y510 has joined #ruby
<workmad3> it's recommended to send intermediate certs but not the root cert
exgbld has quit [Remote host closed the connection]
<workmad3> but the 'normal behaviour' is to just send the cert file that's been given to nginx :)
electrical has joined #ruby
<workmad3> you just need to concat the intermediate cert to the end of the server cert though
<mikecmpbll> right. damn them. so I should use my system cert store?
<mikecmpbll> right okay
wpp has joined #ruby
Vivekananda_y510 has quit [Client Quit]
<workmad3> do you have the ability to change the server config? :)
<mikecmpbll> this is a third party api btw,
<mikecmpbll> nope.
<workmad3> ah, bugger
<workmad3> I'd suggest adding the intermediate cert to your cert store then
<mikecmpbll> but i'll certainly let them know :D not letting half a day of achieving nothing go without atleast a snarky email.
<workmad3> heh
<workmad3> point them to that ssl labs test ;)
vyvnar has joined #ruby
Vivekananda_y510 has joined #ruby
<mikecmpbll> will do! i appreciate the help as always ❤️
roolo has joined #ruby
emilesilvis has quit [Remote host closed the connection]
sigurding has quit [Quit: sigurding]
fly2web has joined #ruby
raul7821 has quit [Ping timeout: 256 seconds]
phinfonet has joined #ruby
_justin has quit [Quit: _justin]
tom_zhu_ has quit [Quit: Leaving]
pothibo has joined #ruby
mikesplain has joined #ruby
bridge has quit [Ping timeout: 240 seconds]
Shidash has quit [Ping timeout: 250 seconds]
mikesplain has quit [Read error: Connection reset by peer]
root3d has quit [Ping timeout: 256 seconds]
mikesplain has joined #ruby
<shevy> hmm
<shevy> Object.send :include, Exams
<shevy> I wonder why I have this
<shevy> is this what autoload() does?
<workmad3> not quite
tokik has quit [Ping timeout: 245 seconds]
rmabbi has quit [Quit: This computer has gone to sleep]
<workmad3> autoload will delay loading code until Exams is accessed
alem0lars has joined #ruby
<shevy> huh
DaniG2k has joined #ruby
chth0n has quit [Ping timeout: 245 seconds]
larissa has joined #ruby
mikesplain has quit [Ping timeout: 264 seconds]
whyy has quit [Remote host closed the connection]
rmabbi has joined #ruby
lkba has joined #ruby
brianherman has joined #ruby
davispuh has joined #ruby
yfeldblum has quit [Remote host closed the connection]
dangerousdave has joined #ruby
sixxy has joined #ruby
Takle has joined #ruby
byteoverfl0w has quit [Quit: Leaving... have a good one...]
alem0lars has quit [Quit: Going AFK...]
startupality has joined #ruby
root3d has joined #ruby
eka has joined #ruby
brianherman has quit [Read error: Connection reset by peer]
relix has quit [Ping timeout: 260 seconds]
relix has joined #ruby
Marizele has joined #ruby
electrical has left #ruby [#ruby]
Marizele has left #ruby [#ruby]
GriffinHeart has quit [Remote host closed the connection]
nateberkopec has joined #ruby
_justin has joined #ruby
philcrissman has joined #ruby
mehlah has joined #ruby
Skwallinux has quit [Quit: ChatZilla 0.9.90.1 [Firefox 31.0/20140716183446]]
nateberkope has joined #ruby
nateberkopec has quit [Read error: Connection reset by peer]
Spami has joined #ruby
mikepack has joined #ruby
Spami has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
asdasdasdasss has joined #ruby
ThirdSign has joined #ruby
philcrissman has quit [Ping timeout: 255 seconds]
gypsydave5 has joined #ruby
nateberkope has quit [Ping timeout: 240 seconds]
ldnunes has joined #ruby
mikepack has quit [Ping timeout: 260 seconds]
asdasdasdasss has quit [Ping timeout: 245 seconds]
jonr22 has joined #ruby
nuck has quit [Read error: Connection reset by peer]
Morkel has quit [Quit: Morkel]
_justin has quit [Quit: _justin]
nuck has joined #ruby
beef-wellington has joined #ruby
nateberkopec has joined #ruby
aagdbl has joined #ruby
whyy has joined #ruby
spastorino has joined #ruby
katlogic has quit [Read error: Connection reset by peer]
Takle has quit [Remote host closed the connection]
Scribblerockerz has joined #ruby
claymore has joined #ruby
yalue has joined #ruby
ixti has quit [Quit: WeeChat 0.4.3]
katlogic has joined #ruby
Scribblerockerz has left #ruby [#ruby]
arup_r has quit [Ping timeout: 240 seconds]
beef-wellington has quit [Ping timeout: 240 seconds]
derek has joined #ruby
<derek> Hi
Zebroid has joined #ruby
arup_r has joined #ruby
iamdoo2 has joined #ruby
<derek> I'm new in ruby and I have a problem with my code :<
binw has quit [Read error: Connection reset by peer]
<derek> I'm trying to not execute that, when It's already executed (when there is already the pid).
<derek> And I have no idea how I can do this :(
chth0n has joined #ruby
roolo has quit [Quit: Linkinus - http://linkinus.com]
<robscormack> derek, why not writing a pidfile if there is not one?
pzula has joined #ruby
godd2 has joined #ruby
<derek> robscormack: but writing where?
<robscormack> if the pidfile exists then your code is exec'ing. once you exit, you delete the pid file
<robscormack> r u on mac or linux?
<robscormack> or win?
<derek> you mean in the local drive?
<robscormack> yes sir
<robscormack> pidfiles are often found in /var/pid
jamto11 has joined #ruby
<derek> I thought that there is a "more" ruby way to do this than just create a file
<robscormack> or /var/run
binw has joined #ruby
<robscormack> Derek, even Apache does that
<robscormack> and MySQL
<apeiros> derek: that's a problem outside the domain of a programming language
<apeiros> that's an OS level issue
<apeiros> and sadly, todays OSes still suck in that regard. so pidfile it usually is.
<robscormack> since there is no reliable way to check if the program is being executed twice
<derek> hmm, ok :-)
arup_r has quit []
<derek> pidfile seems resonable and more easy I guess.
<derek> :)
arup_r has joined #ruby
<robscormack> it is
earthquake has quit [Quit: earthquake]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
emilesilvis has joined #ruby
roolo has joined #ruby
jonr22 has quit [Quit: Lost terminal]
sigurding has joined #ruby
jonr22 has joined #ruby
andrewlio has joined #ruby
arup_r has quit [Remote host closed the connection]
rmabbi has quit [Quit: This computer has gone to sleep]
emilesilvis has quit [Ping timeout: 255 seconds]
jonr22 has quit [Client Quit]
TorpedoSkyline has joined #ruby
startupality has quit [Quit: startupality]
arup_r has joined #ruby
rmabbi has joined #ruby
mattstratton has joined #ruby
Lokikol has joined #ruby
TorpedoSkyline has quit [Client Quit]
Lokikol has quit [Client Quit]
tjr9898 has quit [Remote host closed the connection]
tjr9898 has joined #ruby
mikesplain has joined #ruby
mostlybadfly has joined #ruby
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
tokik has joined #ruby
asmodlol has quit [Quit: Leaving]
amacou has joined #ruby
tjr9898 has quit [Ping timeout: 255 seconds]
mikesplain has quit [Ping timeout: 240 seconds]
jcromartie has joined #ruby
aagdbl has quit [Quit: This computer has gone to sleep]
TorpedoSkyline has joined #ruby
moat has joined #ruby
Sgeo has quit [Read error: Connection reset by peer]
ValicekB has quit [Ping timeout: 250 seconds]
pothibo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
relix_ has joined #ruby
heftig has quit [Ping timeout: 272 seconds]
krz has quit [Quit: WeeChat 0.4.3]
_justin has joined #ruby
relix has quit [Ping timeout: 260 seconds]
lw has joined #ruby
lw has quit [Max SendQ exceeded]
heftig has joined #ruby
lw has joined #ruby
Zebroid_ has joined #ruby
alem0lars has joined #ruby
ArchBeOS has joined #ruby
alem0lars has quit [Client Quit]
cocotton has joined #ruby
larissa has quit [Quit: Leaving]
diegoviola has quit [Read error: Connection reset by peer]
emilesilvis has joined #ruby
diegovio1 has joined #ruby
britneywright has joined #ruby
Zebroid has quit [Ping timeout: 255 seconds]
timfoo has quit [Quit: leaving]
ValicekB has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikepack has joined #ruby
pzula has quit [Ping timeout: 245 seconds]
asdasdasdasss has joined #ruby
QuintinAdam has joined #ruby
cocotton has quit [Remote host closed the connection]
jcromart_ has joined #ruby
lw has quit [Quit: s]
Wolland has joined #ruby
jcromartie has quit [Ping timeout: 245 seconds]
sk87 has joined #ruby
jamto11 has quit [Remote host closed the connection]
pskosinski has joined #ruby
mikepack has quit [Ping timeout: 255 seconds]
asdasdasdasss has quit [Ping timeout: 256 seconds]
_justin has quit [Quit: _justin]
diegovio1 is now known as diegoviola
Zebroid_ has quit [Read error: Connection reset by peer]
SegFaultAX has quit [Excess Flood]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
Zebroid has joined #ruby
SegFaultAX has joined #ruby
cocotton has joined #ruby
yfeldblum has joined #ruby
Zebroid has quit [Ping timeout: 272 seconds]
Takle has joined #ruby
nowthatsamatt has quit [Quit: nowthatsamatt]
yfeldblum has quit [Ping timeout: 245 seconds]
raul782 has joined #ruby
timfoo has joined #ruby
jottr has joined #ruby
timfoo has quit [Client Quit]
narcan has joined #ruby
binw has quit [Read error: Connection reset by peer]
jamto11 has joined #ruby
Zebroid has joined #ruby
amystephen has joined #ruby
tier has joined #ruby
Hanmac has quit [Ping timeout: 250 seconds]
pzula has joined #ruby
paulfm has joined #ruby
Zebroid has quit [Read error: No route to host]
Zebroid has joined #ruby
mehlah has quit [Quit: Leaving...]
wpp has quit []
binw has joined #ruby
jcromart_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cocotton has quit [Remote host closed the connection]
_justin has joined #ruby
anarang has joined #ruby
cocotton has joined #ruby
jcromartie has joined #ruby
tjr9898 has joined #ruby
cocotton_ has joined #ruby
pzula has quit [Ping timeout: 256 seconds]
cocotton has quit [Remote host closed the connection]
sambao21 has joined #ruby
doev has quit [Ping timeout: 260 seconds]
pskosinski has quit [Quit: Til rivido Idisti! | http://www.ido.li]
pasties has quit [Ping timeout: 250 seconds]
Takle has quit [Remote host closed the connection]
Hanmac has joined #ruby
jamto11 has quit [Remote host closed the connection]
Takle has joined #ruby
* mikecmpbll bangs head
pzula has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
Xeago_ has joined #ruby
pandaant has quit [Remote host closed the connection]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
DaniG2k has quit [Ping timeout: 250 seconds]
Xeago has quit [Ping timeout: 256 seconds]
<Hanmac> charliesome: did you fixed the problem with requireing C-compiled std stuff like "bigdecimal"?
<charliesome> Hanmac: yup
fly2web has quit [Quit: fly2web]
mikesplain has joined #ruby
<charliesome> Hanmac: also, I was meaning to bring this up with you
karupa is now known as zz_karupa
pzula has quit [Ping timeout: 256 seconds]
<charliesome> I have the official bot back up and running, do you mind if we switch over to that?
<Hanmac> i dont have control over bots ask Mon_Ouie
<apeiros> charliesome: I don't mind. coordinate it with Mon_Ouie? The bot is at least in #ruby, #ruby-lang and ##new2ruby
<charliesome> oh whoops
<charliesome> i got confused
jottr has joined #ruby
<apeiros> ^^
<charliesome> never mind me!
* apeiros never minds thee
fold has joined #ruby
whyy has quit [Ping timeout: 255 seconds]
<Hanmac> but it should also work with the unoffical bot too
<Hanmac> >> require "bigdecimal"; BigDecimal.new("10e5")
<Mon_Robot> Hanmac: => #<BigDecimal:40872cfc,'0.1E7',9(18)> (https://eval.in/173705)
davedev24_ has joined #ruby
dumdedum has quit [Quit: foo]
apeiros is now known as officialbot
bmurt has joined #ruby
officialbot is now known as apeiros
* apeiros just registered "officialbot" :D
<Hanmac> xD
<Mon_Ouie> charliesome: I can stop Mon_Robot whenever you can start yours
mikesplain has quit [Ping timeout: 272 seconds]
_tpavel has quit [Ping timeout: 250 seconds]
chth0n has quit [Ping timeout: 260 seconds]
joonty has quit [Quit: Leaving]
<apeiros> that will let me repurpose that DO instance to test server setup, deployment & maintenance :)
craigbowen3 has quit [Ping timeout: 272 seconds]
stef_204 has quit [Remote host closed the connection]
<charliesome> Mon_Ouie: cool, thanks for running it in the interim :)
workmad3_ has joined #ruby
Xiti` has joined #ruby
HammyJammy has joined #ruby
Squarepy has joined #ruby
pzula has joined #ruby
eval-in has joined #ruby
<charliesome> Mon_Ouie: ^
<charliesome> >> "te" + "st"
e4xit_ has joined #ruby
<eval-in> charliesome => "test" (https://eval.in/173709)
kevkev__ has joined #ruby
alex88_ has joined #ruby
oz` has joined #ruby
<apeiros> >> puts "da bomb!" while sleep(0.01)
<eval-in> apeiros => (https://eval.in/173710)
bbloom_ has joined #ruby
qwyeth has joined #ruby
LiohAu_ has joined #ruby
centrx has joined #ruby
dblessing_ has joined #ruby
cocotton_ has quit [Remote host closed the connection]
_justin has quit [Quit: _justin]
<charliesome> apeiros: that's weird
eval-in has quit [Remote host closed the connection]
Xeago_ has quit [Remote host closed the connection]
<txdv> >> sleep 1000
eval-in has joined #ruby
cocotton has joined #ruby
<txdv> >> puts 2
<apeiros> what did I do? now everybody will try :-(
<eval-in> txdv => 2 ... (https://eval.in/173711)
<txdv> >> sleep 1000
<eval-in> txdv => (https://eval.in/173712)
apeiros was kicked from #ruby by apeiros [use pry]
apeiros has joined #ruby
Xeago has joined #ruby
txdv was kicked from #ruby by apeiros [use pry]
n88 has joined #ruby
_KaszpiR__ has joined #ruby
deavidsedice has joined #ruby
<apeiros> so
weeb1e_ has joined #ruby
txdv has joined #ruby
shreknet has joined #ruby
<apeiros> justice :)
<txdv> was funny to watch kicking yourself
Mon_Robot_ has joined #ruby
Xeago has quit [Remote host closed the connection]
thejoecarroll has quit [Ping timeout: 245 seconds]
C0deMaver1ck has quit [Ping timeout: 245 seconds]
n88_ has quit [Ping timeout: 245 seconds]
everett has quit [Ping timeout: 245 seconds]
Soilent__ has quit [Ping timeout: 245 seconds]
nemesit|znc has quit [Ping timeout: 245 seconds]
machete has quit [Ping timeout: 245 seconds]
ptierno_ has quit [Ping timeout: 245 seconds]
jtz has quit [Ping timeout: 245 seconds]
Trynemjoel has quit [Ping timeout: 245 seconds]
Davedo has quit [Ping timeout: 245 seconds]
Mattias has quit [Ping timeout: 245 seconds]
Mon_Robot has quit [Ping timeout: 245 seconds]
jzigmund has quit [Ping timeout: 245 seconds]
iamayam has quit [Ping timeout: 245 seconds]
snapcase has quit [Ping timeout: 245 seconds]
snapcase has joined #ruby
Trynemjoel has joined #ruby
amundj has quit [Ping timeout: 240 seconds]
aledovsky has quit [Ping timeout: 240 seconds]
mr_rich101 has quit [Ping timeout: 240 seconds]
fumduq has quit [Ping timeout: 240 seconds]
Maitiu has quit [Ping timeout: 240 seconds]
aep has quit [Ping timeout: 240 seconds]
ValicekB has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
dblessing has quit [Ping timeout: 240 seconds]
LiohAu has quit [Ping timeout: 240 seconds]
gkra has quit [Ping timeout: 240 seconds]
bstrie_ has quit [Ping timeout: 240 seconds]
Kovensky has quit [Ping timeout: 240 seconds]
jpic has quit [Ping timeout: 240 seconds]
ccooke has quit [Ping timeout: 240 seconds]
Mon_Ouie has quit [Ping timeout: 240 seconds]
kevkev_ has quit [Ping timeout: 240 seconds]
weems|nix has quit [Ping timeout: 240 seconds]
wwalker has quit [Ping timeout: 240 seconds]
rcs has quit [Ping timeout: 240 seconds]
oz has quit [Ping timeout: 240 seconds]
kies has quit [Ping timeout: 240 seconds]
akosednar has quit [Ping timeout: 240 seconds]
RioS2 has quit [Ping timeout: 240 seconds]
mozzarella has quit [Ping timeout: 240 seconds]
mgorbach has quit [Ping timeout: 240 seconds]
e4xit has quit [Read error: Connection reset by peer]
LiohAu_ is now known as LiohAu
oz` is now known as oz
ccooke_ has joined #ruby
e4xit_ is now known as e4xit
dblessing_ is now known as dblessing
Rylee has quit [Ping timeout: 245 seconds]
sirene has quit [Ping timeout: 245 seconds]
Xiti has quit [Ping timeout: 245 seconds]
Ulrike_Rayne has quit [Ping timeout: 245 seconds]
nobodyzzz has quit [Ping timeout: 245 seconds]
lsmola has quit [Ping timeout: 245 seconds]
_KaszpiR_ has quit [Ping timeout: 245 seconds]
PaulePanter has quit [Ping timeout: 245 seconds]
Mikalv has quit [Ping timeout: 245 seconds]
bbloom has quit [Ping timeout: 245 seconds]
<txdv> you brought the wrath of zeus on this channel
ccooke_ is now known as ccooke
avalarion has quit [Read error: Connection reset by peer]
diegoviola has quit [Ping timeout: 240 seconds]
MartinCleaver has quit [Ping timeout: 240 seconds]
alex88 has quit [Ping timeout: 240 seconds]
JammyHammy has quit [Ping timeout: 240 seconds]
ctp has quit [Ping timeout: 240 seconds]
cid404 has quit [Ping timeout: 240 seconds]
deavid has quit [Ping timeout: 240 seconds]
aboudreault has quit [Ping timeout: 240 seconds]
jamooo has quit [Ping timeout: 240 seconds]
weeb1e has quit [Ping timeout: 240 seconds]
MissionCritical has quit [Ping timeout: 240 seconds]
<charliesome> o:
cocotton has quit [Remote host closed the connection]
PaulePanter has joined #ruby
Mikalv has joined #ruby
cocotton_ has joined #ruby
nemesit|- has joined #ruby
supermarkettoday has joined #ruby
Rylee has joined #ruby
bstrie has joined #ruby
Ulrike_Rayne has joined #ruby
supermarkettoday has quit [Remote host closed the connection]
Mattias has joined #ruby
MartinCleaver has joined #ruby
sirene has joined #ruby
akosednar has joined #ruby
aep has joined #ruby
jzigmund has joined #ruby
C0deMaver1ck has joined #ruby
cid404 has joined #ruby
mgorbach has joined #ruby
mr_rich101 has joined #ruby
machete has joined #ruby
iamayam has joined #ruby
kies has joined #ruby
fumduq has joined #ruby
weems|nix has joined #ruby
weems|nix has quit [Changing host]
weems|nix has joined #ruby
amundj has joined #ruby
aledovsky has joined #ruby
wwalker has joined #ruby
gkra has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
rcs has joined #ruby
mattstratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kovensky has joined #ruby
everett has joined #ruby
mozzarella has joined #ruby
chth0n has joined #ruby
jtz has joined #ruby
RioS2 has joined #ruby
Davedo has joined #ruby
GriffinHeart has quit [Write error: Broken pipe]
supermarkettoday has joined #ruby
marr has quit [Ping timeout: 256 seconds]
<apeiros> well, there's no other op to kick me :(
<apeiros> now I have to go into my pm and shout foul and how I'm a powertripping tyrant. brb.
<apeiros> shitsplit
jpic has joined #ruby
<apeiros> srsly, irc is such a b0rked protocoll…
lsmola has joined #ruby
Maitiu has joined #ruby
ptierno has joined #ruby
Soilent__ has joined #ruby
cocotton_ has quit [Remote host closed the connection]
<charliesome> irc makes a lot more sense when you consider geographically-focused channels
ctp has joined #ruby
thejoecarroll has joined #ruby
<charliesome> but otherwise not a whole lot of sense
supermarkettoday has quit [Remote host closed the connection]
Xeago has joined #ruby
cocotton has joined #ruby
<mikecmpbll> workmad3_: FYI got it working on my app server (ubuntu) by adding CA cert to cert dir. can't get it working on osx for the life of me. /shrugs
Xiti` has quit [Quit: Leaving]
<centrx> It's all on the same planet
Xiti has joined #ruby
lw has joined #ruby
Zenigor has joined #ruby
supermarkettoday has joined #ruby
Royalb15 has joined #ruby
<aedorn> IRC is allowed to be broken, since it's really the only thing around for mass groups of people to chat together in real(ish) time over the internet.
supermarkettoday has quit [Remote host closed the connection]
aboudreault has joined #ruby
nemesit|- has quit [Quit: ZNC - http://znc.in]
supermarkettoday has joined #ruby
_justin has joined #ruby
nemesit|znc has joined #ruby
jottr has quit [Ping timeout: 255 seconds]
jamooo has joined #ruby
philcrissman has joined #ruby
ValicekB_ has joined #ruby
_tpavel has joined #ruby
ValicekB_ is now known as ValicekB
philcris_ has joined #ruby
larsam has joined #ruby
philcrissman has quit [Read error: Connection reset by peer]
kevkev__ has quit [Quit: Computer has gone to sleep.]
apeiros_ has joined #ruby
MissionCritical has joined #ruby
rmabbi has quit [Quit: This computer has gone to sleep]
asdasdasdasss has joined #ruby
supermarkettoday has quit [Remote host closed the connection]
supermarkettoday has joined #ruby
supermarkettoday has quit [Remote host closed the connection]
Royalb15 has quit [Quit: Leaving]
_justin has quit [Ping timeout: 272 seconds]
chth0n has quit [Ping timeout: 250 seconds]
mark_locklear has joined #ruby
roolo has quit [Quit: Leaving...]
derek has quit [Read error: Connection reset by peer]
beef-wellington has joined #ruby
Channel6 has joined #ruby
sailias has joined #ruby
asdasdasdasss has quit [Ping timeout: 256 seconds]
bmurt has quit [Ping timeout: 260 seconds]
cocotton_ has joined #ruby
tokik has quit [Ping timeout: 245 seconds]
charliesome has quit [Ping timeout: 240 seconds]
MartinCleaver has quit [Quit: MartinCleaver]
cocotton_ has quit [Read error: Connection reset by peer]
cocotton_ has joined #ruby
SegFaultAX has quit [Excess Flood]
matrixdevuk has quit [Quit: Computer has gone to sleep.]
bmurt has joined #ruby
matrixdevuk has joined #ruby
cocotton has quit [Ping timeout: 272 seconds]
matrixdevuk has quit [Changing host]
matrixdevuk has joined #ruby
SegFaultAX has joined #ruby
robscormack has quit [Quit: Leaving]
gauravagarwalr has quit [Remote host closed the connection]
gauravag_ has quit [Remote host closed the connection]
SilverKey has joined #ruby
gauravagarwalr has joined #ruby
gauravag_ has joined #ruby
iamjarvo has joined #ruby
vyvnar has quit [Remote host closed the connection]
easier has joined #ruby
Tricon has joined #ruby
jespada has joined #ruby
aagdbl has joined #ruby
Spami has joined #ruby
ki0 has joined #ruby
MartinCleaver has joined #ruby
matrixdevuk has quit [Ping timeout: 255 seconds]
K3dare has joined #ruby
gauravagarwalr has quit [Ping timeout: 250 seconds]
gauravag_ has quit [Ping timeout: 272 seconds]
aagdbl has quit [Client Quit]
alem0lars has joined #ruby
djcp has joined #ruby
philcris_ has quit [Remote host closed the connection]
freerobby has joined #ruby
arup_r has quit [Remote host closed the connection]
justinv has joined #ruby
chth0n has joined #ruby
pzula has quit [Ping timeout: 255 seconds]
arup_r has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
robbyoconnor has quit [Ping timeout: 250 seconds]
starkhalo has joined #ruby
_justin has joined #ruby
SilverKey has quit [Quit: Cheerio!]
beef-wellington has quit [Ping timeout: 250 seconds]
jerius has joined #ruby
charliesome has joined #ruby
bluOxigen has joined #ruby
rmabbi has joined #ruby
rmabbi has quit [Changing host]
rmabbi has joined #ruby
mehlah has joined #ruby
blueOxigen has quit [Ping timeout: 250 seconds]
arup_r has quit [Ping timeout: 260 seconds]
mehlah has quit [Client Quit]
roolo has joined #ruby
gauravagarwalr has joined #ruby
gauravag_ has joined #ruby
mehlah has joined #ruby
cocotton_ has quit [Remote host closed the connection]
livingstn has joined #ruby
NukePuppy has joined #ruby
emilesilvis has quit [Remote host closed the connection]
cocotton has joined #ruby
cocotton has quit [Client Quit]
AlexBlom has joined #ruby
beef-wellington has joined #ruby
mikespla_ has joined #ruby
doev has joined #ruby
JohnFord has joined #ruby
fmcgeough has joined #ruby
apeiros_ has quit [Read error: Connection reset by peer]
tier has quit [Ping timeout: 245 seconds]
Ankhers has joined #ruby
kachi8 has joined #ruby
momomomomo has joined #ruby
vvvooh has joined #ruby
DaniG2k has joined #ruby
kith_ has joined #ruby
tier has joined #ruby
paulfm has quit [Read error: Connection reset by peer]
aganov has quit [Remote host closed the connection]
<fmcgeough> I’m using Ruby 1.9.2 as a scripting language to generate some reports where I have to interact with a few datasources. I would like to get date-time returned to me by one datasource into a different timezone. The data coming in is in Pacific Time. I’d like to convert it to EDT. It appears this is straightforward if the machine itself is in EDT. I just do : t = Time.parse("2014-07-30T23:40:06-0700”) and Time very nicely returns 2014-07-31 02:40:06 -04
<fmcgeough> But what do I do if the machine isn’t in EDT? What I want is to tell Time.parse to convert the data based on a particular timezone.
paulfm has joined #ruby
fabrice31 has quit [Remote host closed the connection]
paulfm has quit [Read error: Connection reset by peer]
xaxisx has joined #ruby
Deele has quit [Ping timeout: 255 seconds]
fabrice31 has joined #ruby
paulfm has joined #ruby
paulfm has quit [Read error: Connection reset by peer]
Channel6 has quit [Quit: Leaving]
paulfm has joined #ruby
blueOxigen has joined #ruby
kith has quit [Ping timeout: 250 seconds]
alekst has joined #ruby
xaxisx has quit [Client Quit]
robbyoconnor has joined #ruby
Zebroid has quit [Ping timeout: 264 seconds]
bluOxigen has quit [Ping timeout: 245 seconds]
relix has joined #ruby
djcp has left #ruby ["WeeChat 0.4.3"]
relix_ has quit [Ping timeout: 255 seconds]
fabrice31 has quit [Ping timeout: 264 seconds]
Deele has joined #ruby
easier has left #ruby [#ruby]
baweaver has joined #ruby
LiohAu has quit [Quit: LiohAu]
baweaver has quit [Read error: Connection reset by peer]
arya_ has quit [Ping timeout: 256 seconds]
LiohAu has joined #ruby
baweaver has joined #ruby
LeShadow has joined #ruby
<LeShadow> I’ve got a simple question, if I put a value with a symbol like this: set :baseline, "basestuff"
<LeShadow> how can I read that value from the symbol again?
<Mon_Ouie> There's no "set" method ruby in Ruby
fabrice31 has joined #ruby
* Hanmac smells some rails DSL stuff
joonty has joined #ruby
* momomomomo slowly backs away
flowerhack has joined #ruby
<ruisantos> LeShadow: perhaps it would be best to ask that over at rubyonrails
towbes has quit [Ping timeout: 255 seconds]
<mikecmpbll> ruisantos: why?
<ruisantos> mikecmpbll: maybe he's exactly where he should be, but probably asking the wrong question. LeShadow can you elaborate?
Kruppe has quit [Ping timeout: 255 seconds]
<mikecmpbll> :)
kith_ is now known as kith
* Hanmac "sorry my program is limited, you need to ask the right questions"
Kruppe has joined #ruby
diegoviola has joined #ruby
_tpavel has quit [Quit: Leaving]
tylerkern has joined #ruby
<LeShadow> ruisantos: it has to do with capistrano, the set function is from capistrano >.<
<LeShadow> so maybe I am in the wrong channel
<ruisantos> LeShadow: oh yes
Deele has quit [Ping timeout: 255 seconds]
W0rmDr1nk has joined #ruby
<W0rmDr1nk> hi
exgf has quit [Remote host closed the connection]
<W0rmDr1nk> In C/C++ I can make a macro SHOW( X ) that writes "X = value of X" to say stderr
exgf has joined #ruby
<W0rmDr1nk> can I do this in ruby ?
Tricon has quit [Quit: Leaving...]
nowthatsamatt has joined #ruby
<W0rmDr1nk> I have done a hack for this in python - but it was nasty (read source file that was running and got the line number and printed that)
exgf has quit [Remote host closed the connection]
exgf has joined #ruby
mikepack has joined #ruby
<W0rmDr1nk> hmm nvm - can
emilesilvis has joined #ruby
<ruisantos> LeShadow: try using it as a method, that is, baseline
<LeShadow> okay
<LeShadow> thanks for the tip
<Hanmac> W0rmDr1nk: for sample the #display method might be interesting, but how did you solv it?
jshultz has joined #ruby
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
segfalt has joined #ruby
mary5030 has joined #ruby
root3d has quit [Read error: Connection reset by peer]
<Hanmac> i-git eval ... imo it might be more save ways to do that
<canton7> heh, that's horrible
darkxploit has joined #ruby
agarie has joined #ruby
asdasdasdasss has joined #ruby
rmabbi has quit [Quit: This computer has gone to sleep]
pzula has joined #ruby
mikepack has quit [Ping timeout: 240 seconds]
<W0rmDr1nk> Hanmac, display only gets you the value - not the name
Zenigor has quit [Remote host closed the connection]
patric100e99 has joined #ruby
<Hanmac> >> def show(name,&block);"#{name} = #{block.binding.local_variable_get(name)}";end; y = 6; show(:y) {}
<eval-in> Hanmac => "y = 6" (https://eval.in/173731)
<Mon_Robot_> Hanmac: => "y = 6" (https://eval.in/173732)
tylerkern has quit [Quit: Textual IRC Client: www.textualapp.com]
kevkev__ has joined #ruby
towbes has joined #ruby
<Hanmac> Mon_Ouie: i think there is an echo
<W0rmDr1nk> Hanmac, cool
asdasdasdasss has quit [Ping timeout: 250 seconds]
pzula has quit [Ping timeout: 272 seconds]
tkuchiki has joined #ruby
<W0rmDr1nk> Hanmac, that is actually awesome
<momomomomo> there are lots of little methods that allow you to do things like that W0rmDr1nk
exgf has quit [Remote host closed the connection]
agrinb has joined #ruby
SegFaultAX has quit [Excess Flood]
Wolland has quit [Remote host closed the connection]
<Mon_Ouie> Ah,I see :p
Mon_Robot_ has quit [Remote host closed the connection]
patric100e99 has quit [Ping timeout: 260 seconds]
<Mon_Ouie> >> 3
<eval-in> Mon_Ouie => 3 (https://eval.in/173733)
SegFaultAX has joined #ruby
amargherio has joined #ruby
centipedefarmer has joined #ruby
pontiki has joined #ruby
Pharaoh2 has quit [Remote host closed the connection]
<Mon_Ouie> I'd just do it like binding.show(:x) to avoid the weird block
ffranz has joined #ruby
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rmabbi has joined #ruby
rmabbi has quit [Changing host]
rmabbi has joined #ruby
alex88 has joined #ruby
Photism has quit [Quit: Leaving]
Telmo has joined #ruby
doev has quit [Ping timeout: 240 seconds]
emilesilvis has quit [Remote host closed the connection]
<Telmo> morning, I am having a weird issue with rspec 3.0.3 I am sure it is something stupid in my part. but when I do "expect (JSON.safe_parse(@bad_json)).to be_nil" I get a "undefined method `to' for nil:NilClass" . I've asked in the #rspec channel but I am afraid they are all idle sessions
alex88_ has quit [Ping timeout: 255 seconds]
claymore has quit [Quit: Leaving]
krz has joined #ruby
kevkev__ has quit [Ping timeout: 255 seconds]
workmad3_ is now known as workmad3
definiv has joined #ruby
treehug88 has joined #ruby
jonr22 has joined #ruby
<LeShadow> is there anyone inhere with capistrano knowledge? because they don’t seem to answer in their channel >.<
kreisys has joined #ruby
<pontiki> Telmo: it's the space after expect
<pontiki> LeShadow: 2 or 3?
<Telmo> pontiki: excellent thanks!
<LeShadow> 2
robbyoconnor has quit [Ping timeout: 255 seconds]
kreisys has quit [Read error: Connection reset by peer]
<ruisantos> LeShadow: I've used it, but don't know much
<pontiki> ask away
jonr22_ has joined #ruby
<pontiki> (no promises, tho)
<mikecmpbll> go for it.
<ruisantos> LeShadow: didn't the baseline thing work?
jonr22_ has quit [Remote host closed the connection]
<LeShadow> pontiki well, let me first say i’m trying to edit a script that my collegue made. It’s an extension for capistrano, specifically for deploying drupal websites (didi)
krz has quit [Client Quit]
<LeShadow> ruisantos: I found out how to get the values but this is a different question
krz has joined #ruby
<LeShadow> now I want to read the configuration values from a deploy configuration file (not the Capfile but you know, the file(s) in the config directory)
<LeShadow> when do they get loaded?
daharon has quit [Quit: Leaving]
Takle has quit [Remote host closed the connection]
<LeShadow> that’s my actual question, because if I try to read them before the line “namespace “deploy” “ then they seem to be empty
jonr22 has quit [Read error: Connection reset by peer]
marr has joined #ruby
jonr22 has joined #ruby
<Hanmac> Mon_Ouie & W0rmDr1nk
<Hanmac> >> class Binding; def show(name); "#{name} = #{local_variable_get(name)}"; end;end; y = 6; binding.show(:y)
<eval-in> Hanmac => "y = 6" (https://eval.in/173741)
<W0rmDr1nk> Hanmac, ?
klotztest has joined #ruby
kreisys has joined #ruby
<W0rmDr1nk> I see cool
kreisys has quit [Max SendQ exceeded]
klotztest has quit [Remote host closed the connection]
crazydiamond has quit [Ping timeout: 240 seconds]
perrier has joined #ruby
snath has quit [Ping timeout: 245 seconds]
geggam has joined #ruby
kreisys has joined #ruby
perrier has quit [Remote host closed the connection]
perrier has joined #ruby
<ruisantos> LeShadow: are you using ext/multistage?
<LeShadow> yes ruisantos
codeurge has joined #ruby
JarJarBi1ks has quit [Ping timeout: 255 seconds]
kreisys has quit [Read error: Connection reset by peer]
<ruisantos> LeShadow: did you set the stages? (set :stages, [..])
<LeShadow> I did, only well, I can’t seem to read out those values for some reason
axl_ has joined #ruby
<momomomomo> argh I got interupted but
<momomomomo> >> class Testing; def initialize; @test_var = "hello world"; end; def print_vars; self.instance_variables.each { |v| puts "#{v} is #{self.instance_variable_get(v)}" }; end; end; x = Testing.new && x.print_vars
<eval-in> momomomomo => undefined method `print_vars' for nil:NilClass (NoMethodError) ... (https://eval.in/173743)
Zenigor has joined #ruby
<momomomomo> wack
xaxisx has joined #ruby
<pontiki> LeShadow: could you paste up the files?
Zebroid has joined #ruby
xaxisx has left #ruby [#ruby]
<ruisantos> LeShadow: are you setting your stage configuration in deploy/stage_name.rb ?
<ruisantos> yes, that would be easier
jonr22 has quit [Read error: Connection reset by peer]
s2013 has joined #ruby
Morkel has joined #ruby
Morkel has quit [Client Quit]
<LeShadow> yes ruisantos I did. the thing is, the extension I have to fix (redoing a little bit so it works on ruby 2.0) extends capistrano specifically for drupal. And I don’t know when it can read the values of capistrano configuraiton
tjr9898 has quit [Remote host closed the connection]
<LeShadow> *configuration
tylerkern has joined #ruby
doev has joined #ruby
tjr9898 has joined #ruby
retnuh has joined #ruby
bruno- has joined #ruby
pasties has joined #ruby
bruno- has quit [Remote host closed the connection]
failshell has joined #ruby
bal has quit [Quit: bal]
<ruisantos> LeShadow: capistrano uses method_missing to see if there's a key with the same name on its configuration hash. If there is, it fetches it
carraroj has joined #ruby
andrewlio has quit [Remote host closed the connection]
bal has joined #ruby
<ruisantos> you can't access the values you've set?
bal has quit [Client Quit]
sambao21 has quit [Quit: Computer has gone to sleep.]
noop has quit [Ping timeout: 240 seconds]
bruno- has joined #ruby
tier has quit [Remote host closed the connection]
mikepack has joined #ruby
FloLeBlanc has joined #ruby
<FloLeBlanc> hi all
qwyeth has quit [Quit: Leaving]
bhuey_ is now known as bhuey
sambao21 has joined #ruby
jlovick has joined #ruby
tier has joined #ruby
_justin has quit [Quit: _justin]
TheKruex has joined #ruby
Zebroid has quit [Read error: Network is unreachable]
Zebroid has joined #ruby
TorpedoSkyline has joined #ruby
Kricir has joined #ruby
blackmesa has joined #ruby
definiv has quit [Quit: leaving]
ixti has joined #ruby
DrShoggoth has joined #ruby
s2013 has quit [Remote host closed the connection]
_justin has joined #ruby
robbyoconnor has joined #ruby
LeShadow has quit [Quit: Aaaaaaaaand.... I'm gone]
lmickh has joined #ruby
jlovick has quit [Quit: No Ping reply in 180 seconds.]
TheKruex has quit []
arya_ has joined #ruby
geekbri has joined #ruby
FloLeBlanc has left #ruby [#ruby]
jlovick has joined #ruby
seamon has joined #ruby
startupality has joined #ruby
cburyta has joined #ruby
cburyta has quit [Write error: Broken pipe]
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jk5 has joined #ruby
kevind has joined #ruby
renderful has joined #ruby
TorpedoSkyline has joined #ruby
fabrice31 has quit []
jmbrown412 has joined #ruby
momomomomo_ has joined #ruby
emilesilvis has joined #ruby
goshakkk has joined #ruby
downtown has joined #ruby
maestrojed has joined #ruby
agjacome has joined #ruby
philcrissman has joined #ruby
momomomomo has quit [Ping timeout: 255 seconds]
momomomomo_ is now known as momomomomo
starkhalo has quit [Read error: Connection reset by peer]
MartinCleaver has quit [Quit: MartinCleaver]
starkhalo has joined #ruby
mikeg has joined #ruby
rebelshrug has joined #ruby
rebelshrug has quit [Client Quit]
endash has joined #ruby
acrussell has joined #ruby
Bira has joined #ruby
s2013 has joined #ruby
asdasdasdasss has joined #ruby
chrishough has joined #ruby
DanishMan has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
Gonzih has quit [Ping timeout: 250 seconds]
tier_ has joined #ruby
asdasdasdasss has quit [Ping timeout: 245 seconds]
apeiros has joined #ruby
jxf has joined #ruby
arya_ has quit [Ping timeout: 245 seconds]
SegFaultAX has quit [Excess Flood]
tier has quit [Ping timeout: 260 seconds]
SegFaultAX has joined #ruby
failshell has quit [Remote host closed the connection]
failshell has joined #ruby
gauravag_ has quit [Quit: Leaving...]
gauravagarwalr has quit []
kevkev__ has joined #ruby
arya_ has joined #ruby
failshell has quit [Read error: Connection reset by peer]
failshell has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.3]
FloLeBlanc has joined #ruby
Takle has joined #ruby
darkxploit has quit [Read error: Connection reset by peer]
<FloLeBlanc> hi all - anyone who could help me out with a ruby -> vagrant question by chance?
linojon has quit [Ping timeout: 240 seconds]
DaniG2k has quit [Quit: leaving]
kevkev__ has quit [Ping timeout: 240 seconds]
MartinCleaver has joined #ruby
K3dare has quit [Ping timeout: 250 seconds]
Rollabunna has quit [Remote host closed the connection]
hamakn has quit [Remote host closed the connection]
<apeiros> FloLeBlanc: not me. but chances are, you'll never know until you actually ask.
agjacome has quit [Quit: leaving]
sepp2k has joined #ruby
SBoolean has joined #ruby
paulfm has quit []
K3dare has joined #ruby
abuzze has quit [Ping timeout: 256 seconds]
tier_ has quit [Remote host closed the connection]
ThirdSign is now known as Cereal`
klaut has quit [Remote host closed the connection]
<FloLeBlanc> I'm trying to use vagrant on windows 8.1 and what seem to be quite similar systems (laptop and main machine) - on the main machine I get the error "cannot load such file -- ffi_c" when trying "vagrant up" - a search suggested to use an "older version of ffi" - but those don't install (error abort) and I have the same ffi version on the laptop where it does work
j_mcnall_ has joined #ruby
<FloLeBlanc> brb
FloLeBlanc has quit [Read error: Connection reset by peer]
sigurding has quit [Quit: sigurding]
ylluminate has joined #ruby
claymore has joined #ruby
yfeldblum has joined #ruby
jerius has quit [Ping timeout: 240 seconds]
teddyp1cker has joined #ruby
anaeem1 has joined #ruby
jay__ has joined #ruby
toastynerd has joined #ruby
beef-wellington has quit [Ping timeout: 255 seconds]
axsuul has joined #ruby
arya__ has joined #ruby
jaimef has quit [Excess Flood]
tylerker_ has joined #ruby
s2013 has quit [Ping timeout: 250 seconds]
dapz has joined #ruby
jaimef has joined #ruby
toastyne_ has joined #ruby
tylerkern has quit [Read error: Connection reset by peer]
dbasch has joined #ruby
arya_ has quit [Ping timeout: 245 seconds]
anaeem1 has quit [Remote host closed the connection]
alem0lars has quit [Quit: Going AFK...]
AlexBlom has quit [Ping timeout: 255 seconds]
ghostmoth has joined #ruby
axsuul has quit [Client Quit]
goshakkk has quit [Ping timeout: 264 seconds]
AlexBlom has joined #ruby
toastynerd has quit [Ping timeout: 245 seconds]
retnuh has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tjr9898 has quit [Remote host closed the connection]
tjr9898 has joined #ruby
Zebroid has quit [Read error: Network is unreachable]
Zebroid has joined #ruby
saarinen has joined #ruby
amargherio has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
vyorkin has joined #ruby
tjr9898 has quit [Ping timeout: 245 seconds]
vyorkin has quit [Client Quit]
aspires has joined #ruby
emilesilvis has quit [Quit: Leaving...]
mattstratton has joined #ruby
amacou has quit [Remote host closed the connection]
mattstratton has quit [Max SendQ exceeded]
dawkirst has joined #ruby
amacou has joined #ruby
theharshest has joined #ruby
mattstratton has joined #ruby
Tricon has joined #ruby
mattstratton has quit [Max SendQ exceeded]
mikepack has quit [Remote host closed the connection]
sambao21 has joined #ruby
anarang has quit [Quit: Leaving]
mikepack has joined #ruby
LiohAu has quit [Ping timeout: 255 seconds]
anarang has joined #ruby
Kricir has quit [Remote host closed the connection]
mattstratton has joined #ruby
snath has joined #ruby
Kricir has joined #ruby
saarinen has quit [Quit: saarinen]
toastyne_ has quit [Remote host closed the connection]
deric_skibotn has joined #ruby
tjr9898 has joined #ruby
joonty has quit [Quit: Leaving]
ylluminate has quit [Ping timeout: 240 seconds]
davispuh has quit [Ping timeout: 245 seconds]
amacou has quit [Ping timeout: 264 seconds]
ylluminate has joined #ruby
anarang has quit [Client Quit]
mikepack has quit [Ping timeout: 250 seconds]
phutchins has joined #ruby
alex88 has quit [Quit: Leaving...]
jaimef has quit [Excess Flood]
mattmcclure has joined #ruby
opus has joined #ruby
Kricir has quit [Ping timeout: 256 seconds]
ylluminate_ has joined #ruby
wallerdev has joined #ruby
jaimef has joined #ruby
hamakn has joined #ruby
amargherio has joined #ruby
W0rmDr1nk has quit [Ping timeout: 250 seconds]
patrick99e99 has joined #ruby
davispuh has joined #ruby
ylluminate has quit [Ping timeout: 256 seconds]
kachi8 has quit [Ping timeout: 256 seconds]
sixxy has quit [Remote host closed the connection]
beneggett has quit [Remote host closed the connection]
Kricir has joined #ruby
NinoScript has quit [Ping timeout: 240 seconds]
qwyeth has joined #ruby
endash has quit [Read error: Connection reset by peer]
_justin has quit [Quit: _justin]
jcromartie has joined #ruby
opus has quit [Ping timeout: 260 seconds]
NinoScript has joined #ruby
echevemaster has joined #ruby
tvw has quit [Ping timeout: 264 seconds]
opus has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NinoScript has quit [Read error: Connection reset by peer]
LiohAu has joined #ruby
tvw has joined #ruby
timonv_ has quit [Remote host closed the connection]
NinoScript has joined #ruby
Fire-Dragon-DoL has joined #ruby
chrishough has quit [Quit: chrishough]
the8thbit_ has joined #ruby
endash has joined #ruby
centrx has quit [Quit: Mead error: Connection reset by beer]
dbasch has quit [Read error: Connection reset by peer]
dbasch has joined #ruby
beef-wellington has joined #ruby
jay__ is now known as bobwon
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dumdedum has joined #ruby
NinoScript has quit [Ping timeout: 250 seconds]
NinoScript has joined #ruby
St_Marx has quit [Quit: Ex-Chat]
mary5030 has quit [Remote host closed the connection]
Tricon has quit [Quit: Leaving...]
mikepack has joined #ruby
ta_ has joined #ruby
JohnFord has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
apeiros has quit []
mikepack has quit [Remote host closed the connection]
dangerousdave has quit [Read error: Connection reset by peer]
dangerou_ has joined #ruby
mikepack has joined #ruby
ta has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby
rippa has joined #ruby
jackneill has quit [Ping timeout: 264 seconds]
flak has joined #ruby
maletor has joined #ruby
mikepack has quit [Remote host closed the connection]
seamon has quit [Quit: seamon]
startupality has quit [Read error: Connection reset by peer]
mikepack_ has joined #ruby
SegFaultAX has quit [Excess Flood]
St_Marx has joined #ruby
SegFaultAX has joined #ruby
momomomomo has quit [Quit: momomomomo]
mikepack_ has quit [Remote host closed the connection]
asdasdasdasss has joined #ruby
itspots has joined #ruby
itspots has joined #ruby
mikepack_ has joined #ruby
rmabbi has quit [Quit: This computer has gone to sleep]
mikepack_ has quit [Remote host closed the connection]
renderful has quit [Remote host closed the connection]
the8thbit_ has quit [Quit: Leaving]
mikepack has joined #ruby
renderful has joined #ruby
pskrz has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<pskrz> i can't find any docs on keyword arguments or named parameters in ruby 2.1, could someone please point me in the right direction
jonahR has joined #ruby
mary5030 has joined #ruby
jackneill has joined #ruby
mikesplain has joined #ruby
mikesplain has quit [Max SendQ exceeded]
mikesplain has joined #ruby
dbasch has quit [Read error: Connection reset by peer]
beef-wellington has quit [Ping timeout: 260 seconds]
dbasch has joined #ruby
Bira has quit [Remote host closed the connection]
asdasdasdasss has quit [Ping timeout: 250 seconds]
dangerou_ has quit [Read error: Connection reset by peer]
mikespla_ has quit [Ping timeout: 255 seconds]
failshell has quit [Remote host closed the connection]
Bira has joined #ruby
dangerousdave has joined #ruby
aantix has joined #ruby
renderful has quit [Ping timeout: 255 seconds]
failshell has joined #ruby
mikecmpbll has quit [Ping timeout: 250 seconds]
noop has joined #ruby
<ptrrr> is there an Enumerable#any? but which returns the value from the block?
Zebroid has quit [Ping timeout: 264 seconds]
<ptrrr> [1, 2, 3].XXX { |x| x * 2 } # => 2
chth0n has quit [Ping timeout: 250 seconds]
AlexRussia has quit [Ping timeout: 250 seconds]
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
M-Technic has joined #ruby
Bira has quit [Ping timeout: 240 seconds]
Vivekananda_y510 has quit [Read error: Connection reset by peer]
mjuszczak has joined #ruby
Zenigor has quit [Remote host closed the connection]
Zebroid has joined #ruby
timonv_ has joined #ruby
Panicky has joined #ruby
arup_r has joined #ruby
chrishough has joined #ruby
<ruisantos> ptrrr: you could try group_by
<Mon_Ouie> ptrrr: #find
ssvo has joined #ruby
<ptrrr> Mon_Ouie: find returns the element
<Mon_Ouie> Oh, wait, no, it returns the elemnt
<ptrrr> kye
<ruisantos> you'd get a hash. Each key would be the result
AlexRussia has joined #ruby
beef-wellington has joined #ruby
<Mon_Ouie> Right. Yeah, there isn't. Feel free to write it though.
Bira has joined #ruby
<ruisantos> why not group_by?
<Mon_Ouie> Using #lazy you can do lazy.map(&block).find { |x| x }
<ptrrr> it goes over all the elements
kevkev__ has joined #ruby
justinv has quit [Remote host closed the connection]
tier has joined #ruby
nairys has joined #ruby
timonv_ has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
<ptrrr> Mon_Ouie: oui, I need to check out #lazy
toastynerd has joined #ruby
Zebroid has quit [Ping timeout: 240 seconds]
<ptrrr> then I could just do map(…).compact.first
Deele has joined #ruby
<apeiros> that'd defeat the point of .lazy
aaronrl has joined #ruby
AlexBlom has quit [Ping timeout: 260 seconds]
<ptrrr> compact won’t work with lazy?
kevkev__ has quit [Ping timeout: 245 seconds]
<apeiros> I doubt it. you can check whether it's adapted
<Mon_Ouie> There's no Enumerable#compact, it would crash
<ptrrr> oh no
<ptrrr> oh well
olivier_bK has quit [Ping timeout: 264 seconds]
<Mon_Ouie> You'd have to write it in term of select
chth0n has joined #ruby
o0oo0o has quit [Remote host closed the connection]
<Mon_Ouie> But #find as I wrote above should work, shouldn't it?
<Mon_Ouie> >> [1, 2, 3].lazy.map { |x| x*2 }.find { |x| x }
<eval-in> Mon_Ouie => 2 (https://eval.in/173754)
<ptrrr> I think so
o0oo0o has joined #ruby
chth0n has quit [Read error: Connection reset by peer]
<apeiros> fuck flash. seriously :( stream in adobe flash gets stuck every couple of seconds requiring a reload. and in chrome it uses ~10x as much resources -> hot, loud, bad for battery
toastynerd has quit [Ping timeout: 256 seconds]
mleone has joined #ruby
LiohAu has quit [Quit: LiohAu]
jxf has quit [Ping timeout: 245 seconds]
<apeiros> module Enumerable; def blubber; each do |*args| result = yield(*args); return result if result end; nil; end; end
<jhass> apeiros: get the URL of the underlying .mp4 or .flv and vlc it ;P
<apeiros> no idea what you'd call blubber
mikesplain has quit [Ping timeout: 250 seconds]
razrunelord has joined #ruby
<Xeago> apeiros: what are you watching?
<shevy> blubber
<ptrrr> >> [1, 2, 3].lazy.map { |x| x > 1 && x*2 || nil }.find { |x| x }
<eval-in> ptrrr => 4 (https://eval.in/173755)
<apeiros> @ Xeago
<Mon_Ouie> Yeah, I always use youtube-dl for videos instead of watching them in my browser
<ptrrr> Mon_Ouie: yep. pretty sweet, thanks
<shevy> that's written in python!
<Xeago> apeiros: is it originating from twitch?
<apeiros> Xeago: yupp
<Xeago> try twitch.tv/broadcaster/hls
<Xeago> probably in safari
<apeiros> "This channel was not found"
peret has joined #ruby
<Xeago> fill in the broadcaster…
<Xeago> sec
patchwork has joined #ruby
<apeiros> ah, lol, ok
krz has quit [Quit: WeeChat 0.4.3]
zzak___ has quit []
<apeiros> didn't get that :)
<Xeago> http://usher.justin.tv/api/channel/hls/wcs_europe2.m3u8?token=%7B%22user_id%22:null,%22channel%22:%22wcs_europe2%22,%22expires%22:1406826564,%22chansub%22:%7B%22view_until%22:1924905600,%22restricted_bitrates%22:%5B%5D%7D,%22private%22:%7B%22allowed_to_view%22:true%7D,%22privileged%22:false%7D&sig=9b20b1e11f09da7e624e8f9135cf3e1d388555b9&allow_source=true
roolo has quit [Quit: Leaving...]
<apeiros> how did you get at that?
<Xeago> view source :)
retnuh has joined #ruby
the8thbit|work is now known as the8thbit
<patchwork> Hmm... trying to use perftools-profiler and getting this error: http://pastebin.com/4H3UJ5y1
<Xeago> cat /Users/apeiros/Downloads/wcs_europe2.m3u8 | grep chunked | tail -n 1
<Xeago> then open that in vlc for example
<patchwork> It seems it is happening inside the perftools ruby file
mikesplain has joined #ruby
<patchwork> Anyone seen this before?
<Xeago> or actually, you can just open the initial m3u8 somewhere and select the proper stream
<apeiros> Xeago: interesting. I'll try to keep that in mind. I'll probably just prod you again, though, as I'm rather tired atm :)
<patchwork> Why would utf8 be an "unknown encoding"?
<apeiros> Xeago: thanks!
r0bby_ has joined #ruby
<Xeago> this has been making my twitch streaming bearable!
<Xeago> and works on any platform basically
Tricon has joined #ruby
the8thbit is now known as the8thbit_
the8thbit_ is now known as the8thbit
sk87 has joined #ruby
the8thbit is now known as the8thbit_
<ptrrr> patchwork: shouldn’t it be “utf-8"?
anarang has joined #ruby
<ptrrr> >> IO.pipe(“utf8”)
<eval-in> ptrrr => undefined local variable or method `“utf8”' for main:Object (NameError) ... (https://eval.in/173756)
<Xeago> apeiros: basically I view the source on the /wcs_europ2/hls page, take the video src url, append &allow_source=true, and download that
<patchwork> ptrrr: potentially, I'm not sure where to change it though. I am not requesting an encoding, just following these instructions: https://github.com/bhb/rack-perftools_profiler
the8thbit_ is now known as the8thbit
gypsydave5 has quit [Ping timeout: 250 seconds]
Spami has joined #ruby
opus has quit [Ping timeout: 245 seconds]
the8thbit is now known as the8thbit_
Rahul_Roy has quit [Quit: Connection closed for inactivity]
ptrrr has quit [Quit: ptrrr]
sk87 has quit [Client Quit]
Spami has quit [Client Quit]
kaspergr_ has quit [Ping timeout: 245 seconds]
sputnik13 has joined #ruby
Hobogrammer has joined #ruby
pangur has joined #ruby
robbyoconnor has quit [Ping timeout: 264 seconds]
troyready has joined #ruby
<patrick99e99> hi ruby buddies... just curious, is there a fancy way to scope a method to a module? meaning, say I have class Foo; OMG='omg'; LOL='lol'; end; .... and then I have another class make use of those constants: class Bar; def rofl; Foo::OMG + Foo::LOL; end;
the8thbit_ is now known as the8thbit
wjimenez_5271 has joined #ruby
<patrick99e99> is there a way I could make the rofl method automagically scoped to Foo, so that I could just do OMG + LOL ?
the8thbit is now known as the8thbit_
bricker`work has joined #ruby
dbasch has quit [Quit: dbasch]
troyready has quit [Max SendQ exceeded]
the8thbit_ is now known as the8thbit|work
<patrick99e99> I suppose i could do Foo.class_eval right ?
EMoreth has quit [Read error: Connection reset by peer]
MatthewsFace has joined #ruby
troyready has joined #ruby
<Mon_Ouie> You could nest it inside Bar inside Foo and define it as class ::Bar (to still define it as a toplevel constant)
<pangur> I have a file that has classes at the top and the main body of the script at the bottom. It works. I tried copying and pasting the classes into a file of their own, called people.rb. However, when I say require 'people', it throws up its hands in horror. What am I doing wrong, please?
MrL0ngbowman has joined #ruby
MrL0ngbowman has quit [Client Quit]
<apeiros> patrick99e99: afaik there are no constant lookup altering evals available in ruby
<apeiros> patrick99e99: you could (ab)use const_missing and redirect the lookup
mikesplain has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Mon_Ouie> pangur: You haven't set up the LOAD_PATH properly
ianbrandt has joined #ruby
<AlexRussia> someone know how to generate random hash?
mattstratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> AlexRussia: look at SecureRandom
<Mon_Ouie> $LOAD_PATH needs to contain the directories you're requiring code from
<AlexRussia> apeiros: its part of standard library?
<apeiros> AlexRussia: as of 1.9, yes
* pangur asks Mon_Ouie where and how to do that?
* pangur is using LinuxMint
patchwork has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
<apeiros> pangur: `ruby -Ipath/to/add` for example. otherwise in the executable.
tjr9898 has quit [Remote host closed the connection]
<apeiros> note, that's an uppercase i, not a lowercase L (and if you can't see that, use a proper font :-p)
wallerdev has joined #ruby
<pangur> Thanks, apeiros :)
tjr9898 has joined #ruby
JohnFord has joined #ruby
echevemaster has quit [Read error: Connection reset by peer]
<Mon_Ouie> >> Α = 3; A = 4; [Α, A]
<eval-in> Mon_Ouie => [3, 4] (https://eval.in/173757)
<pangur> My "I"s have serifs at the top and bottom, apeiros :)
tjr9898 has quit [Read error: Connection reset by peer]
tjr9898_ has joined #ruby
mikesplain has joined #ruby
echevemaster has joined #ruby
<apeiros> Mon_Ouie: unpack "U*" reveals your dirty little secret :)
mikespla_ has joined #ruby
ffranz has quit [Quit: Leaving]
justinv has joined #ruby
nanoyak has joined #ruby
fgo has quit []
dawkirst has quit [Remote host closed the connection]
Zenigor has joined #ruby
renderful has joined #ruby
mikesplain has quit [Ping timeout: 250 seconds]
Mongey has joined #ruby
ffranz has joined #ruby
aspires has quit []
popo has joined #ruby
<popo> hi
<popo> whats the best forum software written in ruby
<popo> i just want something really simple
<popo> something i can theme easily
<popo> nothing fancy
Skipp_OSX has joined #ruby
xenomorph is now known as {xenomorph}
tier has quit [Remote host closed the connection]
<Skipp_OSX> hello, does anybody know of a ruby gem to parse .qbo (quickbooks) files?
macclearich__ has joined #ruby
ItSANgo has quit [Quit: Leaving...]
Cages has joined #ruby
<Cages> Hi
Arkaniad has quit [Ping timeout: 240 seconds]
<Cages> Anyone here in China?
<Skipp_OSX> isn't it like 1AM on the east coast of China right now?
aspires has joined #ruby
{xenomorph} is now known as xenomorph
Cages has quit [Client Quit]
retnuh has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pangur> I have opted for require_relative.
_justin has joined #ruby
dbasch has joined #ruby
<shevy> ack
<apeiros> by now I'm convinced that rubys require system is too complex.
<apeiros> people resort to bad solutions.
<shevy> require() works!
<shevy> I miss python import functionality to rename stuff that gets included
<shevy> import foo as bla
<apeiros> I find that far from the optimal solution too
djbkd has joined #ruby
Kricir has quit [Remote host closed the connection]
<apeiros> but I haven't used python much, so I might not properly understand how it works. i.e. ignore what I said :)
AlexBlom has joined #ruby
workmad3 has quit [Ping timeout: 255 seconds]
<pangur> Is require() better, shevy?
<shevy> pangur it's shorter
<pangur> :)
Kricir has joined #ruby
<shevy> and you don't need require_relative() if you write in a gem-like fashion
ItSANgo has joined #ruby
<shevy> so like: require 'name_of_your_gem'
<popo> anyone? can you hear me?
<apeiros> pangur: tell me, when require e.g. csv, do you use any of `require_relative 'csv'` or `require '/absolute/path/to/csv'`? if not, why not?
<shevy> this will go to the ruby site directory, find the file name_of_your_gem.rb and then load up the other files that should be part of your gem
<shevy> (defined inside that .rb file)
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Changing host]
b00stfr3ak has joined #ruby
yfeldblum has quit [Remote host closed the connection]
toastynerd has joined #ruby
yfeldblum has joined #ruby
<pangur> I tried writing require 'people', which file was in the same directory as my proggie. It protested. I tried require "./people": that was OK. I tried require_relative "people" because it seemed the least exacting thing to do.
ptrrr has joined #ruby
<shevy> hehe
banjara has joined #ruby
<apeiros> require './people' is even worse than require_relative.
<apeiros> do. not. ever. depend on the current working directory when requiring.
<Tricon> ^ Truth.
<apeiros> if you do it, and your app works when you run it as bin/foo.rb, it'll stop working when you do cd bin; ruby foo.rb
<pangur> Would it be better practice to have classes in a different directory from the current one?
<shevy> that is irrelevant really
<pangur> ok
<shevy> layout your stuff in a gem like fashion
<apeiros> pangur: best practice is to use gem project layout and set up $LOAD_PATH properly if you use it without installing it as a gem
<pontiki> maybe someone should write a tutorial about ruby's require subsystem...
<shevy> you can install via gem, or via setup.rb
Kricir has quit [Ping timeout: 272 seconds]
<apeiros> pontiki: I'm always torn between writing how to use ruby properly and just continuing work on my own language :)
segfalt has quit [Quit: Connection closed for inactivity]
renderfu_ has joined #ruby
<pangur> so, this $LOAD_PATH thing is found in setup.rb or by installing a gem. Which gem, please?
tylerker_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<wallerdev> hi
<pontiki> apeiros: write the tutorial, free up time to work on own language :)
flak has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
MartinCleaver has quit [Quit: MartinCleaver]
Spami has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
crazydiamond has joined #ruby
<shevy> you have too many things to work on apeiros
<shevy> didn't you also start with a game too
pzula has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
kaspergrubbe_ has joined #ruby
AlexBlom has quit [Ping timeout: 264 seconds]
<pontiki> i'd rather have too many projects going than not enough to keep me from being bored
renderful has quit [Ping timeout: 245 seconds]
dangerousdave has joined #ruby
timonv_ has joined #ruby
tier has joined #ruby
<apeiros> pangur: for an installed gem, rubygems will set up $LOAD_PATH
<apeiros> pangur: for everything else, the application is responsible for setting it up.
<Hanmac> i am still secure when i use require_relative for all internal stuff and require for external stuff
<apeiros> the application being the thing the user executes, which usually is in the bin dir
i_s has joined #ruby
ELFrederich has joined #ruby
<apeiros> Hanmac: it's still bad coupling
<ELFrederich> hey guys... trying to get email working in GitLab. Don't know what all the options are for config.action_mailer.smtp_settings
JohnFord has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ELFrederich> I have the name of a host inside my network that runs on port 25 that will mail things... no authentication. Do I don't know what to put for the authentication method
<apeiros> Hanmac: consider the question I asked pangur before: tell me, when you require e.g. csv, do you use any of `require_relative 'csv'` or `require '/absolute/path/to/csv'`? if not, why not?
asdasdasdasss has joined #ruby
<shevy> I use require 'csv'
_justin has quit [Quit: _justin]
terrellt has joined #ruby
<Hanmac> apeiros: depending if i want to require one of my files, then i use require_relative 'csv', if i use a gem or the stdlib stuff i use require 'csv' like shevy
deric_skibotn has quit [Ping timeout: 250 seconds]
<apeiros> shevy: which would lead to "why not?"
JohnFord has joined #ruby
merqlove has joined #ruby
<Hanmac> shevy beware!! i am doing driving lessons ;P
<apeiros> Hanmac: so then answer the question why you don't require_relative or require absolute_path that
Skipp_OSX has left #ruby ["Leaving"]
toastynerd has quit [Ping timeout: 245 seconds]
<Hanmac> oO but i DO require_relative that ...
<shevy> apeiros why not require_relatve? because it is too long. and why not require '/'? because I don't need to leading '/'
<apeiros> Hanmac: no, you said "if i use a gem or the stdlib stuff i use require 'csv'"
<shevy> I even typoed - that is another reason not to use require_reltavie
popo has quit [Ping timeout: 272 seconds]
Ilyas has joined #ruby
cmarques has joined #ruby
<shevy> actually, the worst type is this:
<shevy> def intialize
<shevy> *typo
<shevy> :(
dbasch has quit [Quit: dbasch]
merqlove has quit [Quit: Lingo - http://www.lingoirc.com]
<shevy> today I can't write correctly
<shevy> right apieros?
asdasdasdasss has quit [Ping timeout: 240 seconds]
anarang has quit [Ping timeout: 245 seconds]
treehug88 has quit [Ping timeout: 250 seconds]
Hobogrammer has quit [Ping timeout: 240 seconds]
asmodlol has joined #ruby
merqlove has joined #ruby
OffTheRails has joined #ruby
<Hanmac> i also do it for possible parser ... if using your schemata how can it detect if a require does use external and not internal stuff? your system is far more complicated ...
drusepth has quit [Ping timeout: 250 seconds]
perrier has quit [Remote host closed the connection]
<apeiros> parser cares literally not at all about that
amacou has joined #ruby
<pontiki> i was just thumbing through the tut section in PR 1.9-2.0 and it is littered with require_relative
<shevy> what is PR?
<apeiros> and I'd argue that a single system is less complicated than using 3 different systems for different use-cases, including the one claimed to be "more complicated".
<pontiki> Programming Ruby
<shevy> we need a new require way
<shevy> to solve the older ways
<pontiki> i don't think so
<shevy> pontiki is serious cat
jxf has joined #ruby
merqlove has quit [Client Quit]
jimms has joined #ruby
<pontiki> even though the language supplies several, i think that the gem way actually unifies thing pretty well
perrier has joined #ruby
<pontiki> it gives a nice framework to start out organizing your work
FDj_ is now known as FDj
MartinCleaver has joined #ruby
perrier has quit [Remote host closed the connection]
merqlove has joined #ruby
dawkirst has joined #ruby
pzula has quit [Ping timeout: 245 seconds]
perrier has joined #ruby
merqlove has quit [Client Quit]
atmosx has quit [Remote host closed the connection]
amacou has quit [Ping timeout: 255 seconds]
merqlove has joined #ruby
atmosx has joined #ruby
merqlove has quit [Client Quit]
merqlove has joined #ruby
kevkev__ has joined #ruby
vvvooh has quit [Remote host closed the connection]
deric_skibotn has joined #ruby
devdazed has quit [Ping timeout: 250 seconds]
QuintinAdam has quit [Remote host closed the connection]
dawkirst has quit [Ping timeout: 255 seconds]
QuintinAdam has joined #ruby
justinv has quit [Remote host closed the connection]
kevkev__ has quit [Ping timeout: 240 seconds]
doev has quit [Quit: Verlassend]
Rollabunna has joined #ruby
<shevy> how about bundler pontiki
<apeiros> pontiki: agreed
<apeiros> pontiki: btw., this one? http://en.wikipedia.org/wiki/The_Princess_Bride
mikespla_ is now known as mikesplain
EMoreth has joined #ruby
iamjarvo has joined #ruby
QuintinAdam has quit [Ping timeout: 240 seconds]
<Xeago> apeiros: can you explain >> Α = 3; A = 4; [Α, A] to me ?
<apeiros> Xeago: similar looking, but different characters
Hobogrammer has joined #ruby
justinv has joined #ruby
drusepth has joined #ruby
<apeiros> probably an A character from a different script.
<apeiros> >> "\u0391"
<eval-in> apeiros => "Α" (https://eval.in/173788)
pzula has joined #ruby
ssvo has quit [Ping timeout: 255 seconds]
Arkaniad has joined #ruby
geekbri has quit []
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
timonv_ has quit [Remote host closed the connection]
moat has quit [Ping timeout: 240 seconds]
Rollabunna has quit [Ping timeout: 256 seconds]
<apeiros> >> "\u0391 != \u0041"
<eval-in> apeiros => "Α != A" (https://eval.in/173793)
<pontiki> apeiros: yes, that one :>
tylerkern has joined #ruby
ssvo has joined #ruby
ki0 has quit [Ping timeout: 264 seconds]
devdazed has joined #ruby
mikecmpbll has joined #ruby
<pontiki> shevy: what about bundler?
RichardLitt has joined #ruby
Morkel has joined #ruby
anarang has joined #ruby
banjara has quit [Quit: Leaving.]
<RichardLitt> Got a small performance question
danijoo has quit [Read error: Connection reset by peer]
<RichardLitt> is it wrong to have two queries in one line, like here? https://gist.github.com/RichardLitt/0866a8cc6f4d9bc7fc33
danijoo has joined #ruby
pzula has quit [Ping timeout: 245 seconds]
<apeiros> RichardLitt: it's not "wrong". but not optimal.
<apeiros> a) it's hard to read and b) you could probably do it in a single query
<apeiros> and you don't have two queries. you have N+1
<RichardLitt> hmm
<RichardLitt> Do you have any suggestions? New to Ruby, not sure about this
djbkd has quit [Remote host closed the connection]
<apeiros> since this is active record, I'd ask over in #rubyonrails
<RichardLitt> Ok, cool
djbkd has joined #ruby
<RichardLitt> thanks
<RichardLitt> whoa, how do I identify with servies on here?
<pontiki> RichardLitt: /msg nickserv help
icarus has joined #ruby
jprovazn has quit [Quit: Odcházím]
mikesplain has quit [Ping timeout: 250 seconds]
mikepack has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
mikepack has joined #ruby
yfeldblum has joined #ruby
anarang has quit [Ping timeout: 240 seconds]
merqlove has quit [Quit: Lingo - http://www.lingoirc.com]
merqlove has joined #ruby
<RichardLitt> pontiki: thanks
merqlove has quit [Client Quit]
sambao21 has quit [Quit: Computer has gone to sleep.]
seamon has joined #ruby
merqlove has joined #ruby
xiphias has joined #ruby
britneywright has joined #ruby
OffTheRails has quit [Quit: Leaving]
relix has joined #ruby
mikepack has quit [Ping timeout: 260 seconds]
j_mcnall_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sambao21 has joined #ruby
ephemerian has left #ruby [#ruby]
mary5030 has joined #ruby
Aryasam has joined #ruby
geekbri has joined #ruby
<Mon_Ouie> Xeago: For the record, the first one is a capital alpha, the second one is a regular A ;)
r0bby_ has quit [Ping timeout: 240 seconds]
kaspertidemann has joined #ruby
razrunelord has quit [Remote host closed the connection]
kachi8 has joined #ruby
Will_ has joined #ruby
ylluminate_ has quit [Quit: Lingo - http://www.lingoirc.com]
Will_ has quit [Client Quit]
<RichardLitt> apeiros: doesn’t seem as active a channel :(
echevemaster has quit [Remote host closed the connection]
ylluminate has joined #ruby
<apeiros> I guess everybody is busy preparing for the swiss national day ;-)
RandyT has quit [Ping timeout: 255 seconds]
Zebroid has joined #ruby
Arkaniad has quit [Ping timeout: 240 seconds]
opus has joined #ruby
Bira has quit [Ping timeout: 240 seconds]
sjouke has joined #ruby
yetanotherdave has joined #ruby
<sjouke> does it make sense to write a test to verify that a model has certain attributes when it's generated?
RandyT has joined #ruby
<sjouke> s/generated/instantiated
top4o has joined #ruby
OffTheRails has joined #ruby
arya__ has quit [Ping timeout: 255 seconds]
<RichardLitt> swiss holiday?
<RichardLitt> Oh yeah! I heard about that. … is ruby based in Switzerland? What? lol
dik_dak has joined #ruby
banjara has joined #ruby
<apeiros> no, but swiss national day is so important, it causes people to lay down work world wide in preparation of it
banjara has quit [Client Quit]
mehlah has quit [Quit: Leaving...]
<RichardLitt> true.
momomomomo has joined #ruby
djbkd has quit [Quit: My people need me...]
momomomomo has quit [Client Quit]
hamakn has quit [Remote host closed the connection]
saarinen has joined #ruby
paulfm has joined #ruby
banjara has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<certainty> evening folks
Rahul_Roy has joined #ruby
<certainty> apeiros: i saw you tweeting about .netrc yesterday. Is it the same .netrc that ftp used to use? And if yes, what is it good for these days?
phinfone_ has joined #ruby
<apeiros> certainty: keychain replacement for non-osx users
phinfonet has quit [Ping timeout: 264 seconds]
JohnFord has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
roolo has joined #ruby
<apeiros> I only came into contact with it because a coworker uses windows and it was the only way we found he didn't have to type username/pw all the time for github
fuzzyhorns has joined #ruby
fuzzyhorns has left #ruby [#ruby]
djbkd has joined #ruby
p0sixpscl has joined #ruby
djbkd has quit [Remote host closed the connection]
<certainty> apeiros: i see. nothing too useful for me then :) doesn't windows support ssh via public key?
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
b00stfr3ak has quit [Ping timeout: 272 seconds]
ssvo has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
the8thbit|work has quit [Read error: No route to host]
_KaszpiR__ is now known as _KaszpiR_
b00stfr3ak has joined #ruby
agarie has quit [Remote host closed the connection]
sjouke has quit [Quit: leaving]
sixxy has joined #ruby
<apeiros> certainty: either it doesn't or we didn't get it to work. I try not to touch windows.
tylerker_ has joined #ruby
tylerkern has quit [Read error: Connection reset by peer]
treehug88 has joined #ruby
britneywright has joined #ruby
Zebroid has quit [Ping timeout: 250 seconds]
ssvo has joined #ruby
speakingcode has quit [Quit: Lost terminal]
e^0 has joined #ruby
Bira has joined #ruby
speakingcode has joined #ruby
Bira_ has joined #ruby
<certainty> apeiros: smart move
b00stfr3ak has quit [Ping timeout: 240 seconds]
<apeiros> certainty: I value my sanity. I'm just not sure I still have any :)
Sauvin has quit [Read error: Connection reset by peer]
b00stfr3ak has joined #ruby
<shevy> pontiki you said that gem gives a nice framework to start out
tjr9898_ has quit [Remote host closed the connection]
<shevy> pontiki do you use bundler?
<certainty> apeiros: i'm sure you do xD
<pontiki> i do, she
tjr9898 has joined #ruby
<pontiki> shevy*
<pontiki> bundle gem NAME is how i start off most things
<pontiki> non-rails anyway
Bira has quit [Ping timeout: 264 seconds]
mikesplain has joined #ruby
jespada has quit [Ping timeout: 256 seconds]
anarang has joined #ruby
<certainty> btw. does anybody in here have some deeper experiences with a microservice architecture? We're facing considerable operations overhead and only started out with a few services. The idea is appealing but the development/testing/qa effort seems to be higher than we anticipated. We did expect some overhead, but not that much.
asdasdasdasss has joined #ruby
Zenigor has quit [Remote host closed the connection]
<ELFrederich> I need help testing ruby/rails ActionMailer. I know almost nothing about Ruby. I'm trying to run GitLab inside of Docker and I can't seem to get the configuration of SMTP correct. I'd like to test with a simple script, something I can run over and over again while I change the settings
Zenigor has joined #ruby
rmabbi has joined #ruby
b00stfr3ak has quit [Ping timeout: 240 seconds]
tvw has quit []
tjr9898 has quit [Ping timeout: 245 seconds]
razum2um has quit [Ping timeout: 255 seconds]
androidbruce has joined #ruby
andrewjanssen has joined #ruby
sputnik13 has quit [Quit: Textual IRC Client: www.textualapp.com]
b00stfr3ak has joined #ruby
Bira_ has quit []
tjr9898 has joined #ruby
kirun has joined #ruby
dbasch has joined #ruby
asdasdasdasss has quit [Ping timeout: 255 seconds]
Zenigor has quit [Ping timeout: 250 seconds]
Zenigor_ has joined #ruby
j_mcnall_ has joined #ruby
Tricon has quit [Quit: Leaving...]
b00stfr3ak has quit [Read error: Connection reset by peer]
timonv_ has joined #ruby
hololeap has quit [Remote host closed the connection]
sputnik13 has joined #ruby
IceDragon has joined #ruby
anarang has quit [Ping timeout: 272 seconds]
echevemaster has joined #ruby
tjr9898 has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
jespada has joined #ruby
jespada has quit [Read error: Connection reset by peer]
momomomomo has joined #ruby
b00stfr3ak has joined #ruby
anarang has joined #ruby
ki0 has joined #ruby
kevkev__ has joined #ruby
chrishough has quit [Ping timeout: 240 seconds]
anarang has quit [Max SendQ exceeded]
centiped_ has joined #ruby
anarang has joined #ruby
<dukedave> Can anyone think of a case where a class wouldn't inherit its super class's initialize?
<ELFrederich> how can I run this? http://hastebin.com/oraqiholig.coffee
<ELFrederich> /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- action_mailer (LoadError)
centiped_ has quit [Remote host closed the connection]
<dukedave> (I have this, and it's manifesting itself as a "wrong number of arguments(1 for 0)" when .new'ing the sub class)
centiped_ has joined #ruby
<dukedave> ELFrederich: well, you probably want .rb as the extension :)
baweaver has joined #ruby
CodeLicker has quit [Read error: Connection reset by peer]
<ELFrederich> dukedave, I have it... it is ~/test.rb
baweaver has quit [Read error: Connection reset by peer]
<shevy> does one of you happen to know
<shevy> if I display something in a ruby .cgi script
<shevy> and then use sleep 5
<shevy> and then want to display something else
<shevy> will it wait those 5 seconds?
baweaver has joined #ruby
kevkev__ has quit [Ping timeout: 250 seconds]
<dukedave> ELFrederich: can you require other gems?
centipedefarmer has quit [Ping timeout: 256 seconds]
bluOxigen has joined #ruby
mikepack has joined #ruby
<pontiki> it should, shevy
<shevy> \o/
Ankhers has quit [Ping timeout: 264 seconds]
chrishough has joined #ruby
<ELFrederich> dukedave, I've never ran something like this from the command line. I don't know ruby at all... I'm trying to debug an smtp problem I'm having with a GitLab Docker container. I want to see if I can simply send an email from Ruby
blueOxigen has quit [Ping timeout: 260 seconds]
JohnFord has joined #ruby
jdj_dk has joined #ruby
AlexBlom has joined #ruby
Wolland has joined #ruby
<dukedave> ELFrederich: ah, okay, erm, can you try: '$ gem list actionmailer', in the dir where the .rb file lives (and as the same user)
EMoreth has quit [Quit: Lingo - http://www.lingoirc.com]
<ELFrederich> dukedave, doesn't seem to report anything back
<pontiki> can you send an email from the command line? (no ruby)
<ELFrederich> just "\n*** LOCAL GEMS ***\n\n\n"
<ELFrederich> pontiki, yes... using "telnet my-server smtp"
mikepack has quit [Ping timeout: 264 seconds]
tylerker_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ELFrederich> pontiki, I have successfully sent email from the Docker container using telnet. I just can't seem to get it to work in GitLab. So now I want to try a minimalist Ruby script
hololeap has joined #ruby
<dukedave> ELFrederich: okay, so there's you problem, there *should* be a file called 'Gemfile', you'll need to 'bundle install actionmailer'
<pontiki> don't use actionmailer -- that gets invovled with rails and so on
<pontiki> try just the mail gem
mikepack has joined #ruby
<dukedave> Erk, sorry, 'gem install actionmailer'
jdj_dk has quit [Remote host closed the connection]
<ELFrederich> pontiki, well.. I'd like to use actionmailer since that is what GitLab is supposidly using
tylerkern has joined #ruby
<pontiki> you can get there, but it seems like you'd want to go in stages, no?
<pontiki> maybe not
<ELFrederich> there is this directory .... /home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/actionmailer-4.1.1/lib/action_mailer
razrunelord has joined #ruby
hololeap has quit [Client Quit]
<ELFrederich> can I just set some kind of path to get this working?
<certainty> also actionmailer uses mail internally afair, so going with pontiki's advice sounds about right
<pontiki> is the problem that you haven't got gitlab set up and configured correctly?
havenwood has joined #ruby
* dukedave hasn't used gitlab
<pontiki> neither have i
Wolland has quit [Remote host closed the connection]
mikepack_ has joined #ruby
anarang has quit [Ping timeout: 245 seconds]
_justin has joined #ruby
absolutezeroff has joined #ruby
<ELFrederich> Ultimately I need to use actionmailer because I'm not going to re-write GitLab to use something else... I just need a scrip that I can quickly experiment with different settings
jprovazn has joined #ruby
tjr9898 has joined #ruby
j416_ has joined #ruby
mikepack has quit [Ping timeout: 260 seconds]
momomomomo has quit [Quit: momomomomo]
j416 has quit [Ping timeout: 256 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Zebroid has joined #ruby
toretore has quit [Ping timeout: 255 seconds]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Xeago has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
qwyeth has quit [Ping timeout: 250 seconds]
mikepack_ has quit [Ping timeout: 260 seconds]
anarang has joined #ruby
dumdedum has quit [Quit: foo]
momomomomo has joined #ruby
dbasch has quit [Quit: dbasch]
Nahra has joined #ruby
ssvo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sambao21 has joined #ruby
centiped_ is now known as centipedefarmer
r0bby_ has joined #ruby
seitensei has joined #ruby
seitensei has joined #ruby
alekst has quit [Quit: Computer has gone to sleep.]
aspires has quit []
alekst has joined #ruby
baweaver has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
justinv_ has joined #ruby
Pharaoh2 has joined #ruby
qwyeth has joined #ruby
cobakobodob has quit [Ping timeout: 260 seconds]
johnmolina has joined #ruby
aspires has joined #ruby
baweaver has joined #ruby
toordog has joined #ruby
justinv has quit [Ping timeout: 260 seconds]
beneggett has joined #ruby
TorpedoSkyline has joined #ruby
toordog has quit [Client Quit]
nanoyak has quit [Quit: Computer has gone to sleep.]
<shevy> this guy wrote his PhD about php
toordog has joined #ruby
rezzack has joined #ruby
baweaver has quit [Remote host closed the connection]
dangerousdave has quit [Read error: Connection reset by peer]
dangerou_ has joined #ruby
<ptrrr> a php-phd?!
cmarques has quit [Remote host closed the connection]
RandyT has quit [Ping timeout: 245 seconds]
cmarques has joined #ruby
momomomomo has joined #ruby
ki0 has quit [Remote host closed the connection]
baweaver has joined #ruby
cmarques has quit [Read error: Connection reset by peer]
chrishough has quit [Quit: chrishough]
<shevy> yes
cmarques has joined #ruby
ki0 has joined #ruby
flagg0204 has quit [Quit: Cya..]
<arup_r> Hoa can I change :integer to Integer ?
<pontiki> php phd pfft
<ptrrr> arup_r: eval((:integer).to_s.capitalize)
<ptrrr> :D
<arup_r> No.. Don't kill me Please
<arup_r> ;)
<pontiki> with .constantize
<havenwood> >> Module.const_get(:integer.capitalize)
<eval-in> havenwood => Integer (https://eval.in/173932)
<havenwood> arup_r: ^
RandyT has joined #ruby
ki0 has quit [Ping timeout: 245 seconds]
mechanicalduck_ has joined #ruby
<mechanicalduck_> Can I also ask ruby-windows related questions here?
<havenwood> mechanicalduck_: yup
hamakn has joined #ruby
ki0 has joined #ruby
top4o has quit [Ping timeout: 256 seconds]
mikepack has joined #ruby
ascarter has joined #ruby
ascarter has quit [Client Quit]
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ascarter has joined #ruby
mikepack has quit [Read error: Connection reset by peer]
<arup_r> Any idea how can I clean this 1.is_a? User.columns_hash["id"].type
<arup_r> this is not working
NinoScript has quit [Ping timeout: 245 seconds]
mikepack has joined #ruby
ascarter has quit [Read error: No route to host]
<arup_r> as #type is giving :integer
<arup_r> I want Integer
rmabbi has quit [Quit: This computer has gone to sleep]
opus has quit []
ascarter has joined #ruby
<havenwood> >> 1.class
<eval-in> havenwood => Fixnum (https://eval.in/173933)
<havenwood> deja vu
NinoScript has joined #ruby
<arup_r> I am using is_a?
Kricir has joined #ruby
<arup_r> I know that too
<havenwood> arup_r: 1.is_a? Module.const_get(User.columns_hash["id"].type.capitalize)
jimms has quit [Remote host closed the connection]
<havenwood> arup_r: i just said above :P
<arup_r> But the think is how can I elegantly do this
Kricir has quit [Client Quit]
<arup_r> That's too much code ;)
jamesaanderson has joined #ruby
TorpedoSkyline has joined #ruby
<havenwood> arup_r: Well, I can't account for the: User.columns_hash["id"].type
<havenwood> arup_r: why 1.class?
<havenwood> arup_r: Why not just use `Integer`?
momomomomo has quit [Quit: momomomomo]
<havenwood> arup_r: you can drop `capitalize` if you have the symbol be capitalized to start with: Module.const_get :Integer #=> Integer
hamakn has quit [Ping timeout: 250 seconds]
<arup_r> Humm
<havenwood> arup_r: But extract method rather than complaining about code size. :P
Zebroid has quit [Ping timeout: 240 seconds]
<havenwood> arup_r: Or simplify your design.
r0bby_ is now known as robbyoconnor
TorpedoSkyline has quit [Client Quit]
axl_ has quit [Quit: axl_]
tcstar has joined #ruby
<arup_r> My design is worst you know .. better ;)
e^0 has quit [Quit: WeeChat 0.4.3]
<arup_r> Where is shevy ? Why did he leave this channel ? :(
IceDragon has quit [Ping timeout: 260 seconds]
IceDragon has joined #ruby
asdasdasdasss has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Vivekananda_y510 has joined #ruby
axl_ has joined #ruby
<havenwood> arup_r: Integer == Module.const_get(:Integer)
<havenwood> arup_r: Why are you type checking?
<arup_r> I will use case when Damn I forgot it..
<arup_r> thanks
<arup_r> I forgot I am in *duck* language
seamon has quit [Quit: Zzzzzzz]
absolutezeroff has quit [Ping timeout: 250 seconds]
<ptrrr> quack quack
wallerdev has quit [Quit: wallerdev]
djbkd has quit [Remote host closed the connection]
yfeldblu_ has joined #ruby
flagg0204 has joined #ruby
<arup_r> ptrrr: Meow Mewo... also come in Ruby
<arup_r> :)
yfeldblu_ has quit [Read error: Connection reset by peer]
toretore has joined #ruby
Cereal` has quit [Ping timeout: 255 seconds]
yfeldblu_ has joined #ruby
asdasdasdasss has quit [Ping timeout: 272 seconds]
beneggett has joined #ruby
johnmolina has quit [Remote host closed the connection]
amacou has joined #ruby
nanoyak has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
cobakobodob has joined #ruby
Shidash has joined #ruby
cmarques has quit [Remote host closed the connection]
abuzze has joined #ruby
abuzze has quit [Remote host closed the connection]
abuzze has joined #ruby
cmarques has joined #ruby
abuzze has quit [Remote host closed the connection]
Takle has quit [Read error: Connection reset by peer]
abuzze has joined #ruby
chrishough has joined #ruby
Takle has joined #ruby
renderfu_ has quit [Remote host closed the connection]
dawkirst has joined #ruby
renderful has joined #ruby
amacou has quit [Ping timeout: 272 seconds]
kevkev__ has joined #ruby
top4o has joined #ruby
Tricon has joined #ruby
reisl has joined #ruby
flowerhack has quit [Quit: Connection closed for inactivity]
cmarques has quit [Ping timeout: 256 seconds]
maletor has quit [Read error: Connection reset by peer]
postmodern has joined #ruby
reisl is now known as larissa
maletor has joined #ruby
tier has quit [Remote host closed the connection]
<ELFrederich> is there a rails channel here on freenode?
tier has joined #ruby
<havenwood> ELFrederich: #rubyonrails
<havenwood> ELFrederich: Nick reg req.
renderful has quit [Ping timeout: 255 seconds]
pangur has quit [Quit: Ex-Chat]
<ELFrederich> thanks
Rollabunna has joined #ruby
n_blownapart has joined #ruby
kevkev__ has quit [Ping timeout: 260 seconds]
alvaro_o has joined #ruby
razrunelord has quit [Remote host closed the connection]
bricker`work has quit [Ping timeout: 240 seconds]
anarang_ has joined #ruby
dbasch has joined #ruby
arup_r has quit [Quit: Leaving.]
baweaver has quit [Read error: Connection reset by peer]
Zebroid has joined #ruby
ghostmoth has quit [Quit: ghostmoth]
baweaver has joined #ruby
end_guy has quit [Remote host closed the connection]
end_guy has joined #ruby
dawkirst has quit [Ping timeout: 272 seconds]
jimms has joined #ruby
ki0 has quit [Remote host closed the connection]
jackjackdrpr has joined #ruby
<ELFrederich> still can't find a way to execute that script. It might just need the environment set up correctly. The rails app runs fine from the web server, just need to figure out how to run that script from command line
ki0 has joined #ruby
Rollabunna has quit [Ping timeout: 245 seconds]
maletor has quit [Ping timeout: 250 seconds]
dbasch has quit [Read error: Connection reset by peer]
anarang has quit [Ping timeout: 255 seconds]
Zebroid has quit [Read error: Connection reset by peer]
TorpedoSkyline has joined #ruby
Zebroid has joined #ruby
baweaver has quit [Read error: Connection reset by peer]
keystonelemur has joined #ruby
keystonelemur has quit [Read error: Connection reset by peer]
b00stfr3ak has quit [Ping timeout: 240 seconds]
maletor has joined #ruby
djbkd has joined #ruby
anarang_ has quit [Quit: Leaving]
baweaver has joined #ruby
coldkey21 has joined #ruby
b00stfr3ak has joined #ruby
ki0 has quit [Ping timeout: 260 seconds]
ghostmoth has joined #ruby
<Hanmac> ELFrederich: #rubyonrails
benzrf|offline is now known as benzrf
johnmolina has joined #ruby
b00stfr3ak has quit [Read error: Connection reset by peer]
alem0lars has joined #ruby
centipedefarmer has quit [Ping timeout: 272 seconds]
opus has joined #ruby
beef-wellington has quit [Ping timeout: 255 seconds]
alem0lars has quit [Client Quit]
blackmesa has quit [Ping timeout: 264 seconds]
alem0lars has joined #ruby
reset has joined #ruby
txdv has quit [Read error: Connection reset by peer]
toretore has quit [Ping timeout: 255 seconds]
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Read error: Connection reset by peer]
txdv has joined #ruby
aspires has quit []
opus has quit [Client Quit]
cmarques has joined #ruby
cmarques has quit [Remote host closed the connection]
britneywright has quit [Read error: Connection reset by peer]
TorpedoSkyline has quit [Read error: Connection reset by peer]
britneywright has joined #ruby
cmarques has joined #ruby
aspires has joined #ruby
AlexBlom has quit [Ping timeout: 240 seconds]
centipedefarmer has joined #ruby
britneywright has quit [Read error: Connection reset by peer]
treehug88 has quit [Ping timeout: 260 seconds]
centipedefarmer has quit [Remote host closed the connection]
britneywright has joined #ruby
centipedefarmer has joined #ruby
momomomomo has joined #ruby
jamesaanderson has quit [Quit: Textual IRC Client: www.textualapp.com]
sambao21 has quit [Quit: Computer has gone to sleep.]
sheepman has quit [Ping timeout: 250 seconds]
b00stfr3ak has joined #ruby
cmarques has quit [Ping timeout: 256 seconds]
TorpedoSkyline has joined #ruby
n_blownapart has quit []
ssvo has joined #ruby
rmabbi has joined #ruby
philcrissman has quit [Remote host closed the connection]
seamon has joined #ruby
opus has joined #ruby
sheepman has joined #ruby
andrewjanssen has quit [Ping timeout: 245 seconds]
centrx has joined #ruby
tylerkern has quit [Read error: Connection reset by peer]
tylerkern has joined #ruby
beef-wellington has joined #ruby
tier has quit [Remote host closed the connection]
Pharaoh2 has quit [Remote host closed the connection]
wallerdev has joined #ruby
MartinCleaver has quit [Quit: MartinCleaver]
centipedefarmer has quit [Read error: Connection reset by peer]
AlexBlom has joined #ruby
sweeper is now known as AleksClark
ki0 has joined #ruby
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_justin has quit [Quit: _justin]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
jprovazn has quit [Quit: Odcházím]
ELFrederich_ has joined #ruby
b00stfr3ak has quit [Quit: leaving]
AleksClark is now known as sweeper
sdwrage has joined #ruby
jimms has quit [Read error: Connection reset by peer]
jimms has joined #ruby
testcore has joined #ruby
sputnik13 has joined #ruby
britneywright has joined #ruby
ELFrederich has quit [Ping timeout: 272 seconds]
agarie has joined #ruby
x1337807x has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
jerius has joined #ruby
j_mcnall_ is now known as j_mcnally
havenwood has quit [Remote host closed the connection]
testcore has quit [Write error: Connection reset by peer]
testcore has joined #ruby
geekbri has quit []
Hobogrammer has quit [Quit: WeeChat 0.4.3]
ELFrederich_ is now known as ELFrederich
agarie has quit [Ping timeout: 240 seconds]
kyb3r_ has joined #ruby
sambao21 has joined #ruby
anaeem1 has joined #ruby
blackmesa has joined #ruby
top4o has quit [Read error: Connection reset by peer]
top4o has joined #ruby
thumpba has quit [Remote host closed the connection]
Atttwww has joined #ruby
tjr9898 has quit [Remote host closed the connection]
tjr9898 has joined #ruby
asdasdasdasss has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jimms has quit [Read error: Connection reset by peer]
jimms has joined #ruby
tjr9898_ has joined #ruby
tjr9898 has quit [Read error: Connection reset by peer]
wald0 has joined #ruby
tjr9898_ has quit [Remote host closed the connection]
mikepack has quit [Read error: Connection reset by peer]
momomomomo_ has joined #ruby
mikepack has joined #ruby
tjr9898 has joined #ruby
ylluminate has quit [Remote host closed the connection]
momomomomo has quit [Ping timeout: 255 seconds]
momomomomo_ is now known as momomomomo
ylluminate has joined #ruby
ValicekB has quit [Read error: Connection reset by peer]
michaelchum has joined #ruby
decoponio has quit [Quit: Leaving...]
binaryhat has quit [Quit: Leaving]
asdasdasdasss has quit [Ping timeout: 260 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
jackneill has quit [Read error: Connection reset by peer]
DrCode has quit [Ping timeout: 264 seconds]
sambao21 has joined #ruby
olivier_bK has joined #ruby
Akuma has quit [Ping timeout: 255 seconds]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jdj_dk has joined #ruby
cmarques has joined #ruby
wald0 has quit [Ping timeout: 245 seconds]
timonv_ has quit [Remote host closed the connection]
macclearich__ has quit [Read error: Network is unreachable]
macclearich__ has joined #ruby
<lolmaus_> I would like to ping a host and retrieve round trip time. How do i do that?
tvw has joined #ruby
opus has quit []
<eam> lolmaus_: you need to shell out to `ping` and parse the output (or use a gem that does that for you)
<eam> it generally can't be done from ruby, unless you're willing to run ruby as root
britneywright has quit [Read error: Connection reset by peer]
mr_snowf1ake has joined #ruby
beneggett has joined #ruby
ValicekB has joined #ruby
britneywright has joined #ruby
jimms has quit [Ping timeout: 245 seconds]
tier has joined #ruby
kevkev__ has joined #ruby
cmarques has quit [Read error: No route to host]
cmarques has joined #ruby
claymore has quit [Quit: Leaving]
DrCode has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jimms has joined #ruby
<lolmaus_> eam: i tried net/ping with root, but it does not return lag time. :(
Hobogrammer has joined #ruby
britneywright has quit [Client Quit]
kevkev__ has quit [Ping timeout: 240 seconds]
ssvo has quit [Ping timeout: 240 seconds]
djbkd has quit [Remote host closed the connection]
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tier has quit [Ping timeout: 240 seconds]
<theharshest> an unrelated question, is there is way to get mapping of schema.org fields to opengraph fields?
teddyp1cker has quit [Remote host closed the connection]
top4o has quit [Ping timeout: 250 seconds]
djbkd has joined #ruby
NinoScript has quit [Ping timeout: 240 seconds]
mary5030 has quit [Remote host closed the connection]
bmurt has quit [Ping timeout: 272 seconds]
justinv_ has quit [Remote host closed the connection]
chrishough has quit [Ping timeout: 256 seconds]
tier has joined #ruby
jimms has quit [Read error: Connection reset by peer]
jimms_ has joined #ruby
NinoScript has joined #ruby
jimms_ has quit [Read error: Connection reset by peer]
ssvo has joined #ruby
jimms has joined #ruby
paulfm has quit []
tier has quit [Client Quit]
rmabbi has quit [Quit: This computer has gone to sleep]
mikespla_ has joined #ruby
tylerkern has joined #ruby
Kilo`byte has quit [Ping timeout: 255 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jimms_ has joined #ruby
jimms has quit [Read error: Connection reset by peer]
dbasch has joined #ruby
p0sixpscl has quit [Quit: went to sleep. ZZzz.]
MatthewsFace has quit [Ping timeout: 272 seconds]
mikesplain has quit [Ping timeout: 260 seconds]
mark_locklear has quit [Ping timeout: 260 seconds]
<lolmaus_> theharshest: the amount of microformats is too damn high. :(
rmabbi has joined #ruby
rmabbi has joined #ruby
rmabbi has quit [Changing host]
mark06 has joined #ruby
<theharshest> lolmaus_: yes, but micro formats is different from schema.org (which is microdata) or opengraph
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djbkd has quit [Remote host closed the connection]
Zenigor_ has quit [Remote host closed the connection]
mikespla_ has quit [Read error: Connection reset by peer]
Kilo`byte has joined #ruby
<mark06> how can I compile ruby code native to windows/linux?
mikesplain has joined #ruby
Zenigor has joined #ruby
mikesplain has quit [Max SendQ exceeded]
<mark06> or maybe compile to c... web search didn't show anything useful
Doppp has quit [Ping timeout: 260 seconds]
<theharshest> lolmaus_: I'm trying to parse every site metadata in Ruby, started with "Mida" to parse schema.org which worked pretty well. Now moving onto OG, and others and planning to convert all of them to schema.org through some kind of mapping. Any suggestions for this?
mikesplain has joined #ruby
tylerkern has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
NinoScript has quit [Ping timeout: 240 seconds]
<Hanmac> mark06: you dont want to do that
tylerkern has joined #ruby
<mark06> Hanmac: I do
abuzze has quit [Remote host closed the connection]
<Hanmac> why?
mikesplain has quit [Read error: Connection reset by peer]
Morkel has quit [Quit: Morkel]
opus has joined #ruby
mikesplain has joined #ruby
jimms_ has quit []
abuzze has joined #ruby
<Hanmac> mark06: let me quess ... you want do turn your ruby code into one exe file and to protect your code right?
<Hanmac> for exe file look at orca ..., for the other forget it because each protection can be broken
thumpba has joined #ruby
<mark06> Hanmac: I'm sorry it has nothing to do with that
<mark06> orca doesn't compile, it just embeds
mikesplain has quit [Read error: Connection reset by peer]
<onewheelskyward> There used to be something for perl like that.
mikespla_ has joined #ruby
<mark06> it's still ruby
<hoelzro> onewheelskyward: still is
Zenigor has quit [Ping timeout: 245 seconds]
<mark06> onewheelskyward: that's not compiling
<Hanmac> mark06: there are API functions where you can embed ruby into your C app
<mark06> onewheelskyward: that's creating a self-extracting exe
<Hanmac> but thats totally different
<mark06> onewheelskyward: it's still ruby
<lolmaus_> theharshest: no idea, sorry. :(
<hoelzro> mark06: could you tell us what it is that you need compilation for?
<Hanmac> mark06: compiling ruby litterally does not make much sense, if you want compilied stuff, use java
<onewheelskyward> what the heck are you attempting to do? Interpret to a compiled language that works on multiple platforms?
Rahul_Roy has quit [Quit: Connection closed for inactivity]
<theharshest> lolmaus_ oh ok, np :)
NinoScript has joined #ruby
<mark06> Hanmac: as I said very clearly, I don't want to embed, integrate or whatever, I want to compile ruby code to native windows/linux binary.... or some intermediate static language such as C would be good already
djbkd has quit [Remote host closed the connection]
rmabbi has quit [Quit: This computer has gone to sleep]
<mark06> Hanmac: then feel very free to /ignore me please, not much into chitchatting thanks
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Hanmac> rubinius and jruby can make byte-code, thats the farest you can go with ruby
jerius has quit []
<hoelzro> mark06: there may be different solutions based on *why* you need this
sambao21 has quit [Quit: Computer has gone to sleep.]
SBoolean has quit [Remote host closed the connection]
dangerou_ has quit []
noop has quit [Ping timeout: 250 seconds]
* mark06 ignores some
thumpba has quit [Ping timeout: 250 seconds]
<onewheelskyward> I may be ignored for this, but by ignoring people who are trying to help, you're really limiting your options.
<Hanmac> and about native binary, you mean too different for windows and linux right because one does not work
nanoyak has quit [Quit: Computer has gone to sleep.]
mijicd has joined #ruby
<mark06> hoelzro: I'm lazy to rewrite it all in c?
tylerkern has joined #ruby
<mark06> hoelzro: what you do in ruby with 5min/10 lines you do in c with 2 days / 300 lines :P
MatthewsFace has joined #ruby
<hoelzro> what's the incentive, though? because you need the speed, you don't want to mess with dependencies, you want the "security" of machine code?
nanoyak has joined #ruby
<Hanmac> mark06: then why does embeding not work, you can run ruby code from your C side?
<Mon_Ouie> Yes, and it still works without compiling it into C. Why is that a requirement?
nanoyak has quit [Client Quit]
amargherio has quit [Remote host closed the connection]
dbasch has quit [Quit: dbasch]
sambao21 has joined #ruby
mikespla_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
callenb has left #ruby [#ruby]
<apeiros> just for the record, mark06 cross posts this.
<mark06> onewheelskyward: not you man... I just can't take chitchatting for a so much simple question.... but that's how irc works... when you have nothing to say, you still say lots of stuff because you're really smart and amazing.... but don't worry it's not you, and I'm just being practical
nanoyak has joined #ruby
tjr9898 has quit [Remote host closed the connection]
<mark06> apeiros: what should I do now
chrishough has joined #ruby
tjr9898 has joined #ruby
uxp has quit [Remote host closed the connection]
<mark06> hoelzro: using it in bash is a one-lines, but it's ugly
FenixFyreX has joined #ruby
failshell has quit []
lidaaa has joined #ruby
<mark06> hoelzro: except for requiring ruby.... so I realize it's just better to remove the bash version which is slow and replace 'ruby in bash' with a native program....
pietr0 has joined #ruby
<mark06> Mon_Ouie: hmm what do you mean?
sepp2k has quit [Quit: Konversation terminated!]
<mark06> *one-liner
uxp has joined #ruby
<apeiros> mark06: not now. before you ask your question. state/say that you are cross-posting.
<Mon_Ouie> Why is it a requirement to compile to C vs. just using a regular ruby implementation?
<mark06> s/except/not to mention
mijicd has quit [Remote host closed the connection]
uxp has quit [Remote host closed the connection]
ldnunes has quit [Quit: Leaving]
seamon has quit [Quit: Zzzzzzz]
tjr9898 has quit [Ping timeout: 272 seconds]
<FenixFyreX> Hi, I've a problem wit a C extension I've written recently; it seems that when I alias my initialize method of my custom class and set the input filename to another string via #=, the variable isn't updated by the time the variable is sent to the C world and I am reading the old string? Not sure how to explain this...
<mark06> Mon_Ouie: as I said above... because it will be good if ruby is not required at all.... and because the usage could maybe be simpler than that ugly eval "$(from=....
timonv_ has joined #ruby
<FenixFyreX> How ever if I use String#replace, everything works...
TorpedoSkyline has joined #ruby
tjr9898 has joined #ruby
<mark06> Mon_Ouie: and because I want to eliminate the bash version, that's the main reason
crazydiamond has quit [Ping timeout: 256 seconds]
<Mon_Ouie> So why would the tools that produce a standalone executable that we mentioned before not work?
ki0 has quit [Remote host closed the connection]
carraroj has quit [Quit: Konversation terminated!]
<Mon_Ouie> The runtime gets statically linked so there's no extra dependency
mikepack_ has joined #ruby
ki0 has joined #ruby
NinoScript has quit [Ping timeout: 245 seconds]
ki0 has quit [Read error: No route to host]
Doppp has joined #ruby
ki0 has joined #ruby
rdark has quit [Quit: leaving]
justinv has joined #ruby
<mark06> Mon_Ouie: because it's not native code, it's still ruby
benzrf is now known as benzrf|offline
mijicd has joined #ruby
mattstratton has joined #ruby
<mark06> Mon_Ouie: and the executable will be fat, since it wil contain the ruby vm
<Mon_Ouie> and why would that matter? No one's going to open the binary and check…
agrinb has quit [Remote host closed the connection]
mikepack has quit [Read error: Connection reset by peer]
<mark06> because native code is faster
<mark06> and option aprsing should be fast
Bumptious has quit [Remote host closed the connection]
NinoScript has joined #ruby
<Mon_Ouie> Ruby gets compiled to bytecode, some implementation (e.g. Rubinius and JRuby through the JVM) have a JIT that eventually generates machine code
<mark06> what's the size of the final executable, Mon_Ouie?
<Mon_Ouie> Ruby is a managed language, you can't just compile away the need for a GC, etc.
djbkd has joined #ruby
<mark06> so what, I require these vms to be installed in order to run bytecode?
<mark06> jit for option parsing?
<mark06> hmm no!
<Mon_Ouie> As I said you can link them statically…
<mark06> how fat will that be?
<Mon_Ouie> Just write a compiler that generates native code from Ruby and doesn't need a GC or any of the features the Ruby runtime provides then
<apeiros> I think he wants others to perform the magic, so he can only use it
<mark06> don't you know how fat will that be?
zz_jrhorn424 is now known as jrhorn424
centipedefarmer has joined #ruby
<shevy> I like magic
<mark06> Mon_Ouie: it's easier to say "no we don't know anything like that"
pandaant has joined #ruby
<shevy> I describe my code as magical
<mark06> but let's just chitchat!
<magic> shevy: Aw, thanks :)
endash has quit [Ping timeout: 264 seconds]
<shevy> if it works, it is true magic
<shevy> damn man
<shevy> you shocked me...
<apeiros> mark06: dude, you've been told *just that* at the very beginning
<shevy> I did not know there was someone with a nick called magic here :(
<apeiros> mark06: don't blame others for your fault to listen.
<apeiros> or rather your unwillingness to accept the answer.
<magic> Lol, it definitely says something that I get highlights a lot from the Ruby channel ;)
<magic> :p
<shevy> ruby is like magic after all
agarie has joined #ruby
<shevy> well actually
<shevy> ruby is more like poetry
<shevy> only magic when you use method_missing combined with eval()s
<eam> in that poetry is ambiguous and without fixed rules?
<shevy> use method_missing, magically define new methods, and pass them to other classes
<Hanmac> shevy wrong ... http://en.wikipedia.org/wiki/Shakespeare_%28programming_language%29 that is like poetry ;D
<shevy> the poetry is quite limited compared to real written poem grammar rules
johnmolina has quit []
<shevy> that also follows rules
alvaro_o has quit [Read error: Connection reset by peer]
TheMoonMaster has quit [Excess Flood]
<shevy> [Exeunt Romeo and Juliet]
<shevy> looks like crap
<shevy> is that like
<shevy> def foo
<shevy> endif foo
<shevy> nope sorry
<shevy> that should have been an if in the beginning
<FenixFyreX> it reminds me of lolcode, but with old english instead of leetspeak :/
<zenspider> just to cause some extra trouble... I have a ruby to c compiler.
<eam> a program which exclusively uses functions with pentamic arity
<zenspider> both a generic one and one specifically for ruby C
<shevy> lolcode had some moments of fun
<mark06> zenspider: ruby2c?
<apeiros> zenspider: does that cost $3k too? or only the obfuscator?
<zenspider> that's the generic one.
<zenspider> the ruby C one is zenobfuscator
<zenspider> used for protecting your IP!
<zenspider> and yes, it costs
qwyeth has quit [Read error: Connection reset by peer]
jhass is now known as jhass|off
thumpba has joined #ruby
abuzze has quit [Remote host closed the connection]
<mark06> tried ruby2c but it failed... it's BETA BETA BETA BETA anyway :)
abuzze has joined #ruby
NinoScript has quit [Ping timeout: 240 seconds]
<FenixFyreX> mark06, do you know any languages other than Ruby?
renderful has joined #ruby
<mark06> zenspider: what's 'ruby c'? like converting ruby modules to native extensions?
testcore has quit [Ping timeout: 264 seconds]
<mark06> FenixFyreX: c, python, java....
beef-wellington has quit [Ping timeout: 245 seconds]
TheMoonMaster has joined #ruby
agarie has quit [Remote host closed the connection]
cmarques has quit [Remote host closed the connection]
<FenixFyreX> mark06: then why not just convert the ruby code over to c? If Ruby is that slow / bothersome?
<FenixFyreX> How many options and rules are you parsing that performance might be an issue?
cmarques has joined #ruby
<zenspider> yup. it converts the ruby code to the equivalent ruby C extension
asdasdasdasss has joined #ruby
momomomomo_ has joined #ruby
<zenspider> but I used ruby2c + a call counting profiler + RubyInline to do automatic algorithmic optimization.
momomomomo has quit [Ping timeout: 240 seconds]
momomomomo_ is now known as momomomomo
alvaro_o has joined #ruby
<eam> is there a good tool for self-contained executables comprised of a ruby interpreter + gem bundle in one file?
NinoScript has joined #ruby
kevind has quit [Quit: kevind]
thumpba has quit [Ping timeout: 245 seconds]
alem0lars has quit [Quit: Going AFK...]
<FenixFyreX> Is ther anyone here that can help me with my issue above?
deepy has quit [Ping timeout: 255 seconds]
<zenspider> made my demo run 5x faster w/ no human intervention
Zebroid has quit [Remote host closed the connection]
<Mon_Ouie> FenixFyreX: You said #= like it's a method, it's not, it sets a local variable.
Tricon has quit [Quit: Linkinus - http://linkinus.com]
alekst has quit [Quit: Computer has gone to sleep.]
Tricon has joined #ruby
<Mon_Ouie> or any kind of variable actually
<FenixFyreX> right, and then I pass that local variable to the previous definition of the method
<FenixFyreX> which calls the c function I defined in the extension
<Mon_Ouie> #replaces changes the content of the string, = will change the object reference by the variable
<Mon_Ouie> Can you show some code to make that clearer?
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<FenixFyreX> Yes, let me pastebin it
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
towbes has quit [Ping timeout: 240 seconds]
nateberkopec has quit [Quit: Leaving...]
mehlah has joined #ruby
cmarques has quit [Ping timeout: 245 seconds]
asdasdasdasss has quit [Ping timeout: 240 seconds]
tcstar has quit [Read error: Connection reset by peer]
choke has quit [Read error: Connection reset by peer]
klaut has joined #ruby
<zenspider> eam: I thought there was a fairly popular one that's mostly used on windows
<zenspider> I forget the name tho... ruby-toolbox prolly has it
tcstar has joined #ruby
choke has joined #ruby
tcstar has left #ruby [#ruby]
timonv_ has quit [Ping timeout: 250 seconds]
razrunelord has joined #ruby
<FenixFyreX> Mon_Ouie: http://pastebin.com/6gZVxGtf
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<eam> I haven't the slightest idea how to find it
x1337807x has joined #ruby
<zenspider> boom
rebelshrug has joined #ruby
<eam> amazing thx!
djbkd has quit [Remote host closed the connection]
<FenixFyreX> ocra still results in a relatively large executable
<Mon_Ouie> Hm, so with name.replace it prints the right result?
<FenixFyreX> Yes!
<FenixFyreX> It's like the variable doesn't get updated by the time it hits the c stack
<eam> I imagine all solutions would be pretty big - not too concerned
<FenixFyreX> I't puzzling...
rmabbi has joined #ruby
nateberkopec has joined #ruby
<eam> the real problem is avoiding approaches that unpack
usinganalias has joined #ruby
<usinganalias> Hello!
ffranz has quit [Quit: Leaving]
djbkd has joined #ruby
<Mon_Ouie> Well I can tell you that's not how it works — changing a variable is never delayed :p
uxp has joined #ruby
<FenixFyreX> This is why I'm so confused, haha
<Mon_Ouie> What if you puts name after both assignment and right before your method call?
<FenixFyreX> I'll try that
baweaver has quit [Read error: Connection reset by peer]
<usinganalias> Quick question: here's the first line of a method I've written, def calculate(*numbers, options = {}) - and ruby complains that the '=' was unexpected (in lieu of a ')' ) - can't I have a default value for an argument after an argument with a splat operator?
baweaver has joined #ruby
<usinganalias> Never mind - figured it out. Thanks!
kirun has quit [Quit: Client exiting]
baweaver has quit [Client Quit]
kevkev__ has joined #ruby
_djbkd has joined #ruby
djbkd has quit [Remote host closed the connection]
GlenK has joined #ruby
<FenixFyreX> Mon_Ouie, that doesn't seem to help
<Mon_Ouie> What gets printed though?
TorpedoSkyline has joined #ruby
ki0 has quit []
rezzack has quit [Ping timeout: 255 seconds]
_djbkd has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 245 seconds]
axsuul has joined #ruby
Rollabunna has joined #ruby
djbkd has joined #ruby
<FenixFyreX> Mon_Ouie: Hmm, , when I attempt a RSTRING_LEN(fname), it's correct. fputs(RSTRING_PTR(fname), stdout) is correct as well
dawkirst has joined #ruby
<mark06> FenixFyreX: ruby is not so slow.... bash version is
<FenixFyreX> however when I pass the variable to the creation of the class in C, it's like the variable reverts back
usinganalias has quit [Ping timeout: 246 seconds]
<FenixFyreX> mark06: so it's a trade-off, speed or size?
<atmosx> anyoen worked with oauth2?
<Mon_Ouie> In what way?
sepp2k has joined #ruby
<mark06> FenixFyreX: I need something to replace bash impl with... if it could be a native binary right off the ruby version, then awesome but no.... looks like I'll need to replace bash impl with C one
kevkev__ has quit [Ping timeout: 245 seconds]
<FenixFyreX> Mon_Ouie: As in, the string reverts back from being <resolved_path>/filename
TorpedoSkyline has quit [Client Quit]
<FenixFyreX> Mon_Ouie: to just filename
<mark06> FenixFyreX: we can use ruby impl in bash... but it requires ruby, native binary doesn't
<eam> mark06: are you saying you want to write a bourne shell in ruby?
<FenixFyreX> But I don't edit the var in ruby at all anymore
<Mon_Ouie> But where do you see that happening? How do you know it is happening?
<mark06> FenixFyreX: I also suspect I could make the one-liner prettier than it is with ruby: eval "$(from...
<mark06> eam: no! haha
<FenixFyreX> From the C side of things, I pass the C struct that talks to the audio device the filename of the file that is to be played, and it errors on a <No such file: basefilename>
beneggett has joined #ruby
testcore has joined #ruby
TorpedoSkyline has joined #ruby
Rollabunna has quit [Ping timeout: 264 seconds]
<Mon_Ouie> Also I think you're supposed to use StringValueCStr to get a proper cstring, but I don't think it should impact your program
AlexBlom has quit [Ping timeout: 250 seconds]
bridge has joined #ruby
lw has quit [Quit: s]
dawkirst has quit [Ping timeout: 256 seconds]
Bumptious has joined #ruby
<FenixFyreX> Mon_Ouie: Alright, I'll try that and see how things turn out. It seems that in my C extension function, the filepath is corretly altered, but down the road in C world, only the basename is captured. Perhaps I'll check the source to see if it only errors with the basename being printed? That could be what is happening...and in that case the file -should- exist but apparently doesn't.
<FenixFyreX> Mon_Ouie: Thanks for your help, I appreciate it.
MatthewsFace has quit [Ping timeout: 255 seconds]
centiped_ has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jlovick has quit [Ping timeout: 240 seconds]
<mark06> maybe I could make bash version into a very simple wrapper around ruby impl....
<mark06> so instead of : eval "$(from="$0" easyoptions.rb "$@" || echo exit 1)"
<mark06> we could do: source easyoptions "$@" || exit 1 --> more readable
centipedefarmer has quit [Ping timeout: 272 seconds]
mark06 is now known as mark06_away
MartinCleaver has joined #ruby
DanishMan has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
yfeldblu_ has quit [Remote host closed the connection]
x1337807x has joined #ruby
yfeldblum has joined #ruby
centrx has quit [Quit: Mead error: Connection reset by beer]
iamjarvo has joined #ruby
x1337807x has quit [Client Quit]
atmosx has quit [Quit: WeeChat 0.4.4-dev]
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sailias has quit [Quit: Leaving.]
mijicd has quit [Quit: leaving]
mary5030 has joined #ruby
centipedefarmer has joined #ruby
x1337807x has joined #ruby
OffTheRails has quit [Ping timeout: 250 seconds]
dbasch has joined #ruby
mark06_away is now known as mark06
tylerkern has joined #ruby
jottr has joined #ruby
centiped_ has quit [Ping timeout: 255 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
spider-mario has quit [Read error: Connection reset by peer]
top4o has joined #ruby
mary5030 has quit [Ping timeout: 255 seconds]
<zenspider> FenixFyreX: you want name to be changed in what way?
ascarter has joined #ruby
dblessing has quit [Quit: dblessing]
<FenixFyreX> zenspider: All I'm doing is resolving the path to the audio file by aliasing the method in ruby and setting the local variable name passed in as the filename, to be prepended with a directory should the file passed in not exist
mark06 is now known as mark06_away
<FenixFyreX> zenspider: however, it seems that my alias is ineffective down the road in C world
mechanicalduck has joined #ruby
apeiros has quit [Remote host closed the connection]
<zenspider> does that answer my question?
<zenspider> I honestly can't tell if it is supposed to
mechanicalduck_ has quit [Ping timeout: 256 seconds]
apeiros has joined #ruby
MatthewsFace has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bobwon has quit [Remote host closed the connection]
<FenixFyreX> zenspider: I'm setting the name variable to another string should the file not exist
<zenspider> "# When this ^^^^ is called, it seems that name is not changed at all?"
geggam has quit [Ping timeout: 245 seconds]
<FenixFyreX> zenspider: it doesn't work unless I call replace on string, instead of just setting the variable to a different string
djbkd has quit [Remote host closed the connection]
Zebroid has joined #ruby
charliesome has joined #ruby
kaspergrubbe_ has quit [Remote host closed the connection]
foobarbaz_ has joined #ruby
chrishough has quit [Read error: Connection reset by peer]
roolo has quit [Quit: Leaving...]
mechanicalduck has quit [Client Quit]
kaspergrubbe_ has joined #ruby
<Eiam> hmm.. sanity check here
<Eiam> I have some configuration files that I need the author to be able to specify logic, in ruby, that will evaluate based on instance values I pass into it. Basically, they define a function that I promise will be given access to certain data, then ill run the function and it has to return true or false
<Eiam> is instance_eval what I want there?
<Eiam> (the code doesn't come from the outside)
abuzze has quit [Ping timeout: 272 seconds]
mleone has quit [Ping timeout: 264 seconds]
<zenspider> why not 'def'?
<Eiam> well, the conf is XML so
<Eiam> it would be just a string
<foobarbaz_> what was the RoR chaannel again?
<Eiam> foobarbaz_: #rubyonrails
acrussell has quit [Quit: Leaving.]
<zenspider> Eiam: but... it "doesn't come from the outside"?
<foobarbaz_> registered folk only? :(
pzula has joined #ruby
<zenspider> so register
<zenspider> it isn't hard, and it saves your nick from campers
<Eiam> zenspider: the file is committed to an internal repotory and loaded at runtime
Squarepy has quit [Remote host closed the connection]
<merqlove> yeah
foobarbaz_ is now known as foobar_
<merqlove> 1 mail, 2 commands
foobar_ is now known as foobar__
foobar__ is now known as foobar___
<shevy> foobarbaz_ yeah - we here on #ruby do not force you to register
kaspergrubbe_ has quit [Ping timeout: 240 seconds]
<shevy> man
<foobar___> which i like :)
mallu has joined #ruby
<shevy> changing your nick as I type :<
<Eiam> hmm
<foobar___> was trying to find an unregistered name haha
<shevy> can't you pick something more descriptive :P
<foobar___> silly RoR channel :(
mechanicalduck has joined #ruby
sambao21 has joined #ruby
<foobar___> i'm sure 'needlehaystack' would've been taken too shevy ;)
<zenspider> Eiam: this seems like a bad idea... but regular eval or instance_eval should be ok...depending on what the code is supposed to do
FenixFyreX has left #ruby [#ruby]
<Eiam> zenspider: the idea is "I will call whatever code you write here, and you can write it with the assumption that variable's "a" "b" "c" will exist when you are run
sdwrage has quit [Quit: Leaving]
<mechanicalduck> So I want to test a simple ruby script (rb) file.
chrishough has joined #ruby
<zenspider> you can do that with a binding
<Eiam> zenspider: it would literally be myself or my co-workers sabotaging themselves if they did something malicious so
<mechanicalduck> How can I let it require a gem from vendor directory by bundler?
<zenspider> Eiam: I was referring to the XML
<zenspider> you already know eval is bad
<shevy> foobar___ learn ruby before you learn RoR anyway :P
<Eiam> zenspider: well, the xml is already there and heavily used so
<Eiam> zenspider: that certainly won't change =)
earthquake has joined #ruby
<zenspider> great
djbkd has joined #ruby
<foobar___> shevy: I'm a ruby pro
yfeldblum has quit [Remote host closed the connection]
<foobar___> Only jokes, i'm hopeless
atmosx has joined #ruby
atmosx has quit [Client Quit]
<godd2> "A king does not have to declare he is king"
<shevy> hey I would not have doubted you
yfeldblum has joined #ruby
atmosx has joined #ruby
<shevy> ruby pro but unsure how to join #RoR :P
<shevy> godd2 the king wears no clothes!
nowthatsamatt has quit [Quit: nowthatsamatt]
narcan has joined #ruby
matrixdevuk has joined #ruby
<godd2> Those royals are always so eccentric. Guess I'll never be one.
Sgeo has joined #ruby
matrixdevuk has quit [Client Quit]
<mechanicalduck> anyone?
<mechanicalduck> So I want to test a simple ruby script (rb) file.
matrixdevuk has joined #ruby
<mechanicalduck> How can I let it require a gem from vendor directory by bundler?
memph1s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ptrrr has quit [Quit: ptrrr]
matrixdevuk has quit [Read error: Connection reset by peer]
matrixdevuk has joined #ruby
d4nk has quit [Read error: Connection reset by peer]
Fezzler has joined #ruby
d4nk has joined #ruby
centipedefarmer has quit [Remote host closed the connection]
sixxy has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 272 seconds]
<Eiam> zenspider: wouldn't I have to make a class then to use bindings?
mark06_away is now known as mark06
mark06 has left #ruby [#ruby]
<Eiam> I was mentally thinking "I define a function with some parameters, and it executes the code you provided as the "body" "
<Eiam> but bindings don't seem to be quite for that
dbasch has quit [Quit: dbasch]
tylerkern has quit [Read error: Connection reset by peer]
TorpedoSkyline has joined #ruby
<merqlove> )))
tylerkern has joined #ruby
RichardLitt has quit [Quit: RichardLitt]
<mallu> newbie question.. I'm assigning some values I got from a shell script to a varibale. but when I do variable.each do I'm getting "NoMethodError: undefined method `each' for "value":String"
saarinen has quit [Quit: saarinen]
<Eiam> mallu: cause String doesn't define "each"
livingstn has quit []
<Eiam> >>[
<eval-in> Eiam => /tmp/execpad-f929877886c1/source-f929877886c1:3: syntax error, unexpected keyword_rescue, expecting ']' ... (https://eval.in/174237)
<Eiam> >> ["string"].each{|x| puts x}
<eval-in> Eiam => string ... (https://eval.in/174238)
Fezzler has quit [Client Quit]
<Eiam> mallu: note each is missing from http://www.ruby-doc.org/core-2.1.2/String.html
<merqlove> or %w(string).each
bobwon has joined #ruby
<Eiam> merqlove: we said the same thing here ;p
<merqlove> yeah :)))
<mechanicalduck> Is it possible to require a ruby gem by specifying an absolute path?
renderfu_ has joined #ruby
<merqlove> via load?
<merqlove> try
mattstratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
britneywright has joined #ruby
mehlah has quit [Quit: Leaving...]
yfeldblum has quit [Remote host closed the connection]
ianbrandt has left #ruby [#ruby]
bobwon has quit [Client Quit]
yfeldblum has joined #ruby
binaryhat has joined #ruby
renderful has quit [Ping timeout: 250 seconds]
asdasdasdasss has joined #ruby
<mallu> sorry to be a ignorant .. how to do go through each value if the values you are getting is a string?
dbasch has joined #ruby
<Eiam> mallu: split on something
<Eiam> mallu: you want to enumerate each character in a string?
chrishough has quit [Read error: Connection reset by peer]
<Eiam> >>"string".split().each{|x| puts x}
<eval-in> Eiam => string ... (https://eval.in/174240)
<wallerdev> lol
<Eiam> =p
<wallerdev> >> "string".chars.to_a
<eval-in> wallerdev => ["s", "t", "r", "i", "n", "g"] (https://eval.in/174241)
opus has quit []
<Eiam> ^
<Eiam> i was being mean
chrishough has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
<Eiam> mallu: why don't you gist your input
top4o has quit [Ping timeout: 250 seconds]
<Eiam> and your expected output and the code you are trying to use? =)
j_mcnally has quit [Quit: さよなら]
top4o_ has joined #ruby
beneggett has quit [Quit: Textual IRC Client: www.textualapp.com]
kaspergrubbe_ has joined #ruby
jdj_dk has quit [Remote host closed the connection]
momomomomo has quit [Ping timeout: 250 seconds]
asdasdasdasss has quit [Ping timeout: 255 seconds]
jrhorn424 is now known as zz_jrhorn424
Zebroid has quit [Read error: Network is unreachable]
foobar___ is now known as foobarbaz__
foobarbaz__ is now known as foobarbaz_
<godd2> >> "string".split ""
<eval-in> godd2 => ["s", "t", "r", "i", "n", "g"] (https://eval.in/174242)
OffTheRails has joined #ruby
djcp has joined #ruby
amacou has joined #ruby
momomomomo has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
<mallu> thank you guys.. that split fixed my issue
nateberkopec has quit [Quit: Leaving...]
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
kaspergrubbe_ has quit [Remote host closed the connection]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
merqlove_ has joined #ruby
kaspergrubbe_ has joined #ruby
amacou has quit [Ping timeout: 240 seconds]
axsuul has quit [Ping timeout: 240 seconds]
kevkev__ has joined #ruby
sinkensabe has quit [Ping timeout: 250 seconds]
AlexBlom has joined #ruby
awc737 has joined #ruby
awc737 has joined #ruby
DarthGandalf has quit [Quit: Bye]
kaspergrubbe_ has quit [Ping timeout: 240 seconds]
tjr9898 has quit [Remote host closed the connection]
NukePuppy has quit [Ping timeout: 256 seconds]
<godd2> mallu if you want an enumerator use each_char and you can send it a block directly
opus has joined #ruby
rebelshrug has quit [Read error: Connection reset by peer]
razrunelord has quit [Remote host closed the connection]
kevkev__ has quit [Ping timeout: 245 seconds]
teddyp1cker has joined #ruby
merqlove has quit [Quit: Lingo - http://www.lingoirc.com]
merqlove_ is now known as merqlove
<macclearich__> anyone have an idea where I can find an analogue for the python 'networkx' library?
arya_ has joined #ruby
jonr22 has joined #ruby
testcore has quit [Quit: Killed (einride (Requested by panasync))]
freerobby has quit [Quit: Leaving.]
JohnFord has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
teddyp1cker has quit [Ping timeout: 255 seconds]
kaspergrubbe_ has joined #ruby
dh64 has quit [Quit: Konversation terminated!]
<shevy> anyone can explain to me a simple way how I can remember what Array#pack really does
<shevy> quote from the docu
<shevy> "packs the contents of enum into a binary sequence according to the directives "
<shevy> so what does that even mean?
yfeldblum has joined #ruby
<godd2> It means "hey, if the number 37 was a string, what string would it be?"
<shevy> hmm
<godd2> everything is bits after all
<shevy> "37"
<shevy> but I don't see bits with my eyes here! :(
<godd2> to be more precise, if the binary bits representing 37 were interpreted as a string instead, what would that string be?
rmabbi has quit [Quit: Leaving]
<godd2> >> [37].pack "C"
<eval-in> godd2 => "%" (https://eval.in/174243)
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> hmm so "%" is 37
<pontiki> >> 37.chr
<eval-in> pontiki => "%" (https://eval.in/174244)
<godd2> in a manner of speaking
<pontiki> ?
<shevy> but why is % 37?
<shevy> why not 93
<pontiki> >> 93.chr
<shevy> or 6890368
<eval-in> pontiki => "]" (https://eval.in/174245)
mr_snowf1ake has quit [Ping timeout: 250 seconds]
<pontiki> ASCII codes
<shevy> aha
<shevy> ok
<shevy> hmm
<shevy> what if I wanna pack unicode stuff
<shevy> who remembers that snowman...
<godd2> >> 37.to_s(2).rjust(8, "0")
<shevy> 'SNOWMAN' (U+2603)
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> >> 37.to_s(2).rjust(8, "0")
<eval-in> shevy => "00100101" (https://eval.in/174246)
axl_ has quit [Quit: axl_]
<shevy> ohh cool
<godd2> okay so the literal bits 00100101 when interpreted as a string is "%"
<shevy> I did not use the second argument to rjust before
justinv has quit [Remote host closed the connection]
x1337807x has joined #ruby
<shevy> how to go back from 00100101?
<godd2> [0b00100101].pack "C"
<shevy> hmm
<godd2> >> 0b00100101
<eval-in> godd2 => 37 (https://eval.in/174247)
<shevy> cool
sinkensabe has joined #ruby
<shevy> now I just need to memorize this
saarinen has joined #ruby
<shevy> I think I can remember .rjust, the second argument would just be the fill token
<shevy> >> 'abcdef'.rjust(15,'_')
<eval-in> shevy => "_________abcdef" (https://eval.in/174248)
<shevy> \o/
<shevy> as to ... to_s(2) ... and .pack 'c' ... and leading 0b .... hmm
<godd2> lower case c and upper case C are two different directives
<shevy> I understand that the 'c' to .pack means bytes
<shevy> how did these directives derive?
<shevy> why is it not ... 'a' ... or 'b' ... for bytes
<godd2> yes and lower case is signed, upper case is unsigned
<banister> Mon_Ouie 'alut
AlexBlom has quit [Read error: No route to host]
<godd2> oh, historical reasons
<shevy> hmm ok
<godd2> L is 32-bit because of the "long" integer
<godd2> Q is 64 because Quad
<godd2> etc
itspots has quit [Quit: Lingo - http://www.lingoirc.com]
20WAAU07R has quit [Ping timeout: 245 seconds]
sixxy has joined #ruby
justinv has joined #ruby
<shevy> hmm
<shevy> I'm gonna find out those historical reasons
yfeldblum has quit [Remote host closed the connection]
<godd2> If it makes you feel any better, I don't have them memorized
Takle has quit [Remote host closed the connection]
<godd2> I have the chart open right now, and any other time I'm doing pack/unpack
yfeldblum has joined #ruby
<shevy> well the biggest problem is trying to understand why this means that in that chart
RealMarc has joined #ruby
arya_ has quit [Ping timeout: 245 seconds]
<shevy> I'm gonna tap into the human resources
<godd2> c == char, s == short, l == long, q == quad, i == int
<shevy> eam, does perl have something like Array#pack ?
<shevy> hmm that sounds like a C table
TorpedoSkyline has joined #ruby
<shevy> did C have something like Array#pack?
<godd2> well ruby is written in C.
bricker`LA has joined #ruby
<wallerdev> i only use C*
<wallerdev> only useful one
<shevy> wallerdev what the heck is that * there
renderfu_ has quit [Remote host closed the connection]
DarthGandalf has joined #ruby
OffTheRails has quit [Ping timeout: 250 seconds]
<wallerdev> >> "lol".unpack('C*')
<eval-in> wallerdev => [108, 111, 108] (https://eval.in/174249)
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nateberkopec has joined #ruby
<shevy> ah well
<shevy> I'm gonna remember for today only that .rjust has more than one argument
chipotle has quit [Ping timeout: 250 seconds]
<pontiki> perl has pack and unpack
<shevy> cool
<Squeatus> in 365 days that's a lot of str methods down :)
<Squeatus> probably at least 25% of them
yfeldblum has quit [Ping timeout: 240 seconds]
edwardly_ has joined #ruby
<eam> shevy: yes pack and unpack are directly lifted from Perl
<godd2> >> String.instance_methods.count # yes I know this includes inherited ones
<eval-in> godd2 => 164 (https://eval.in/174250)
edwardly_ has quit [Changing host]
edwardly_ has joined #ruby
<mallu> is it possible to pass a ruby variable into bash command?
<eam> but they're methods on perl strings -- and it's suuuuper weird that ruby has Array#pack
<shevy> hmm
<shevy> mallu you could use `` in bash too right?
<wallerdev> why is it weird
<shevy> perhaps because it is on an Array
<mallu> shevy, yes I can use `` but how does it interpret the variable?
chipotle has joined #ruby
<eam> wallerdev: hang on I forget why lemmie find what I ran into
axsuul has joined #ruby
<eam> IIRC it only operates on arrays with one string element?
edwardly_ is now known as edwardly
<shevy> mallu what do you mean with interpret? it can return it right? so it would add it at that spot in the script
sambao21 has quit [Quit: Computer has gone to sleep.]
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<godd2> `` gets interpolated. `#{some_var}` would work
<mallu> volume_id.split(' ').each do |volume| `aws ec2 create-snapshot volume
<shevy> just as you could combine cat | awk | sed in bash
tylerkern has joined #ruby
<shevy> ah so you try to invoke something from ruby
<mallu> how does it know what is the value for volume?
<shevy> nono
AlexRussia has quit [Ping timeout: 245 seconds]
<eam> >> ["FF00FF"].pack('H*')
<eval-in> eam => "\xFF\x00\xFF" (https://eval.in/174251)
<eam> ^^ that is weird
<shevy> cmd = 'aws ec2 create-snapshot '+volume; result `#{cmd}'
<shevy> sorry
<godd2> volume gets set every time the loop loops and it gets set to the next element.
<shevy> mallu: cmd = 'aws ec2 create-snapshot '+volume; result = `#{cmd}'
<eam> >> ["FF00FF", "FF00FF"].pack('H*')
<eval-in> eam => "\xFF\x00\xFF" (https://eval.in/174252)
<shevy> damn it
<shevy> result = `#{cmd}`
benzrf|offline is now known as benzrf
<shevy> finally ...
<mallu> ok
<eam> Strings are a type of array, and pack() works only on array.first as a String
<eam> as best I can tell
<eam> I don't see the point of the enclosing Array
blackmesa has quit [Ping timeout: 264 seconds]
<eam> I guess I should rtfs
<benzrf> rtfS?
<benzrf> eam: strings are not a type of array
<benzrf> theyre a separate class
dik_dak has quit [Quit: Leaving]
razrunelord has joined #ruby
renderful has joined #ruby
<eam> benzrf: Strings are a type of array, they're just not a type of Array
<godd2> eam you can affect more than one element of an array with a longer directive
<benzrf> eam: ah
<godd2> >> ["A", "B"].pack("cc")
<eval-in> godd2 => no implicit conversion of String into Integer (TypeError) ... (https://eval.in/174253)
sethen has joined #ruby
<shevy> hehe
AlexRussia has joined #ruby
<godd2> >> [65, 66].pack("cc")
<eval-in> godd2 => "AB" (https://eval.in/174254)
<eam> ok so there are some cases where a pattern reads multiple array elements
<eam> but others where it doesn't
<eam> I don't understand why :)
<shevy> today is big learning day on #ruby
<shevy> even benzrf has joined the party
<godd2> the directive can be as long as you want
<eam> godd2: yeah but see H* above
<shevy> >> [65, 66].pack("ccc")
<eval-in> shevy => too few arguments (ArgumentError) ... (https://eval.in/174255)
<godd2> >> [*65..75].pack("c"*11)
<eval-in> godd2 => "ABCDEFGHIJK" (https://eval.in/174256)
<godd2> >> ["FF00FF", "FF00FF"].pack('H*H*')
<eval-in> godd2 => "\xFF\x00\xFF\xFF\x00\xFF" (https://eval.in/174257)
Beoran_ has joined #ruby
<eam> I guess that's consistent
<eam> * only works on the first list element
<godd2> I don't know what * means though
<eam> perldoc -f pack # best docs on ruby/perl pack
<eam> it's repeat count, but it only repeats within the list element
<shevy> :(
<shevy> you use perldoc for ruby stuff?
<pontiki> the * is "repeat indefinitely"
<eam> >> ["FF00FF", "FF00FF"].pack('H*H*')
<eval-in> eam => "\xFF\x00\xFF\xFF\x00\xFF" (https://eval.in/174260)
<eam> shevy: constantly
<eam> it's far better than ruby docs and I'm not even kidding
razrunelord has quit []
<eam> especially for anything ruby lifted from perl
<shevy> ruby docs never were great
<shevy> you should have been here in 2004
<eam> perldoc perlrun => best docs on ruby flags
<shevy> only pipework likes the ruby docs
<eam> shevy: I was
<shevy> ack
<shevy> with ruby?
Deele has quit [Ping timeout: 255 seconds]
<eam> 2003 iirc was when I started using it
<shevy> I thought you are a new guy
<shevy> damn that's before I started with ruby
<shevy> I had a book about perl regexes back in 2003, it was quite nice
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> I guess we can not deny it
<godd2> I only started with ruby in 2011
<shevy> matz liked perl
<eam> I wrote it off 'cuz nonblocking i/o was busted, I couldn't instantiate Socket without blocking on connect()
<shevy> godd2 really? so late?
anaeem1 has quit [Remote host closed the connection]
Beoran has quit [Ping timeout: 272 seconds]
<eam> and I was caremad about String#concat
<shevy> you must be young then
<godd2> I'm 28
charliesome has joined #ruby
<shevy> what is String#concat
yfeldblum has joined #ruby
<shevy> is that "abc" + "def" ?
<eam> shevy: it's not concat!
<shevy> phew
anaeem1 has joined #ruby
foobarbaz_ has quit [Ping timeout: 246 seconds]
<eam> >> a = "foo"; a.concat "bar"; a
<eval-in> eam => "foobar" (https://eval.in/174262)
<shevy> godd2 that's young still, not yet at the 30 mark
<eam> should be concat!
lmickh has quit [Remote host closed the connection]
<shevy> ah
<shevy> as apeiros always says
<shevy> not even ruby stdlib or core is consistent
OffTheRails has joined #ruby
<shevy> require 'optparse'; OptionParser.new
<godd2> >> a = "foo"; a << "bar"; a # this makes sense. <<! would look silly
<eval-in> godd2 => "foobar" (https://eval.in/174263)
<shevy> I like <<
<eam> shevy: I didn't really use ruby from 04 - 12 though :)
<shevy> first time I saw it was in C++
opus has quit []
sinkensabe has quit [Remote host closed the connection]
<godd2> I figure if someone is using #concat instead of #+ they "know what theyre doing"
jaimef has quit [Excess Flood]
<shevy> hehehe
<shevy> I've never seen it before
<eam> I was just exploring this cool new language I heard about
<shevy> eam must come from the dark corner of ruby land
DrCode has quit [Ping timeout: 264 seconds]
<eam> never used rails
earthquake has quit [Quit: earthquake]
<godd2> Ruby core is big enough, stdlib is enough to study for years
anaeem1 has quit [Ping timeout: 250 seconds]
<eam> I just looked up a bug report from 2004 ... for cgi.rb
mallu has quit [Ping timeout: 246 seconds]
yfeldblum has quit [Ping timeout: 264 seconds]
snath has quit [Ping timeout: 250 seconds]
banister has quit [Ping timeout: 245 seconds]
<shevy> hehe
<shevy> good old 2004
<shevy> the day before web apps
<eam> can't find the concat complaining
banister_ has joined #ruby
banister_ has quit [Max SendQ exceeded]
klaut has quit [Remote host closed the connection]
klaut has joined #ruby
asdasdasdasss has joined #ruby
Cork has quit [Ping timeout: 272 seconds]
djcp has quit [Ping timeout: 256 seconds]
pzula has quit [Ping timeout: 255 seconds]
Ilyas has quit [Write error: Connection reset by peer]
BBBThunda has joined #ruby
<eam> anyway, I wish pack() was a method on both String and Array
jaimef has joined #ruby
patric100e99 has joined #ruby
OffTheRails has quit [Ping timeout: 250 seconds]
banister has joined #ruby
DrCode has joined #ruby
banister has quit [Max SendQ exceeded]
<pontiki> that doesn't make any sense to me
awc737 has quit [Quit: Textual IRC Client: www.textualapp.com]
awc737 has joined #ruby
<pontiki> Array.pack and String.unpack are bascially inverse operations
opus has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
patrick99e99 has quit [Ping timeout: 245 seconds]
<eam> I'm just grumpy that I have to stick "foo" into ["foo"] to call pack() on it
nateberkopec has quit [Quit: Leaving...]
klaut has quit [Ping timeout: 245 seconds]
<shevy> you are indeed very grumpy
saarinen has quit [Quit: saarinen]
opus has quit [Client Quit]
tokik has joined #ruby
<shevy> "ruby should have this, perl has that, why doesn't ruby have thot"
snath has joined #ruby
asdasdasdasss has quit [Ping timeout: 250 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<onewheelskyward> 'cause
<eam> shevy: I'm critical of everything though
<eam> including perl
top4o_ has quit [Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140605174243]]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<shevy> yeah
MartinCleaver has quit [Quit: MartinCleaver]
<shevy> age makes folks grumpier
<eam> :(
<shevy> don't worry
<shevy> in two years godd2 is old
kaspertidemann has quit []
icarus has quit [Remote host closed the connection]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<godd2> ohh maaaaaan
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
nateberkopec has joined #ruby
wallerdev has quit [Quit: wallerdev]
<godd2> >> class String; def pack(directives); [self].pack(directives); end; end; "foo".pack("H*")
<eval-in> godd2 => "\xF8\x80" (https://eval.in/174266)
<godd2> there you go eam
<eam> godd2: thank you <3
<pontiki> lol
chrishough has quit [Quit: chrishough]
freerobby has joined #ruby
renderful has quit [Remote host closed the connection]
danijoo has quit [Read error: Connection reset by peer]
<eam> ruby should finish implementing the rest of the perl stdlib. Like, where's String#vec ?
renderful has joined #ruby
<shevy> what does vec mean
danijoo has joined #ruby
<eam> shevy: perldoc -f vec
wallerdev has joined #ruby
kevkev__ has joined #ruby
<shevy> vec($foo, 2, 16) = 0x5065;
<eam> dealing with bits in ruby is kind of a PITA
banister has quit [Ping timeout: 272 seconds]
<godd2> eam: I'm working on a gem to show floating point multiplication in Ruby: https://gist.github.com/nicklink483/89bbc83a5636617f4020
opus has joined #ruby
<godd2> and yes, I agree that dealing with bits in Ruby is a pain
<eam> that is rad
<eam> godd2: you reminded me, I need to find out why this happens and send a patch
<eam> >> 0 % Float::NAN
<eval-in> eam => 0.0 (https://eval.in/174267)
Rollabunna has joined #ruby
opus has quit [Client Quit]
<pontiki> O.O
<pontiki> it'd be funnier if it returns that
renderful has quit [Ping timeout: 240 seconds]
NinoScript has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
kevkev__ has quit [Ping timeout: 250 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
ascarter has joined #ruby
<godd2> According to ruby docs, it looks like it depends on what RFLOAT_VALUE does with Float::NAN as an argument
saarinen has joined #ruby
<eam> any math involving NAN needs to be NAN
dawkirst has joined #ruby
Guest35507 has quit []
<eam> it's kinda weird that % is a method on Float anyway
parduse has joined #ruby
<eam> >> 5.6 % 7.8
<eval-in> eam => 5.6 (https://eval.in/174268)
<eam> >> 5.6 % 4.5
robscormack has joined #ruby
<eval-in> eam => 1.0999999999999996 (https://eval.in/174269)
banister has joined #ruby
<eam> w t f
<theharshest> anyone having experience parsing webpage metadata (microdata, microformats, RDFa, etc) in Ruby?
Rollabunna has quit [Ping timeout: 255 seconds]
pietr0 has quit [Quit: pietr0]
opus has joined #ruby
banister has quit [Client Quit]
codeurge has quit [Quit: Sleep.]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dawkirst has quit [Ping timeout: 264 seconds]
bruno- has quit [Ping timeout: 255 seconds]
chrishough has joined #ruby
choke has quit [Quit: Leaving]
terrellt has quit [Quit: Leaving...]