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]
<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
<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
<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]
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
<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.
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
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
<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]
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]
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?
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)
<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]
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?
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
<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]
<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
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]
<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
<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)
<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]
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]
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.
<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>
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
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]
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]
<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"