maletor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Channel6 has quit [*.net *.split]
shellox has quit [*.net *.split]
jenrzzz has quit [*.net *.split]
tvon has quit [*.net *.split]
Megtastique has quit [*.net *.split]
resno has quit [*.net *.split]
gccostabr has quit [*.net *.split]
bw_ has quit [*.net *.split]
dmoe has quit [*.net *.split]
Guest85414______ has quit [*.net *.split]
pusewicz has quit [*.net *.split]
keksike has quit [*.net *.split]
Xiti has quit [*.net *.split]
marens has quit [*.net *.split]
ReinH has quit [*.net *.split]
maxmanders has quit [*.net *.split]
Trynemjoel has quit [*.net *.split]
ruisanto1 has quit [*.net *.split]
ChoiKyuSang has quit [*.net *.split]
Evan_ has quit [*.net *.split]
Doc_X has quit [*.net *.split]
ducklobster has quit [*.net *.split]
kaspergrubbe has quit [*.net *.split]
peteyg has quit [*.net *.split]
timmmaaaayyy_ has quit [*.net *.split]
Fraeon has quit [*.net *.split]
theRoUS has quit [*.net *.split]
willgorman|away has quit [*.net *.split]
godemperor has quit [*.net *.split]
livcd has quit [*.net *.split]
emdub has quit [*.net *.split]
Esya has quit [*.net *.split]
ozzloy has quit [*.net *.split]
az7ar_away has quit [*.net *.split]
sevenseacat has quit [*.net *.split]
lanemeyer has quit [*.net *.split]
pierre1_ has quit [*.net *.split]
hiyosi has quit [*.net *.split]
PaulCapestany has quit [*.net *.split]
jaequery has quit [*.net *.split]
ixti has quit [*.net *.split]
nateberkopec has quit [*.net *.split]
bluOxigen has quit [*.net *.split]
bricker has quit [*.net *.split]
psy_ has quit [*.net *.split]
michael_mbp has quit [*.net *.split]
jwang has quit [*.net *.split]
_maes_ has quit [*.net *.split]
qhartman has quit [*.net *.split]
SirFunk has quit [*.net *.split]
renier has quit [*.net *.split]
thejoecarroll has quit [*.net *.split]
kappy has quit [*.net *.split]
niko has quit [*.net *.split]
bier has quit [*.net *.split]
phreakocious has quit [*.net *.split]
jsaak has quit [*.net *.split]
madhatter has quit [*.net *.split]
gf3 has quit [*.net *.split]
blenny has quit [*.net *.split]
eshy has quit [*.net *.split]
C0deMaver1ck has quit [*.net *.split]
erichmenge has quit [*.net *.split]
krisleech has quit [*.net *.split]
javawizard has quit [*.net *.split]
RowdyChildren has quit [*.net *.split]
moshee has quit [*.net *.split]
kith has quit [*.net *.split]
Blue_Ice has quit [*.net *.split]
aep has quit [*.net *.split]
urtokk has quit [*.net *.split]
vifino has quit [*.net *.split]
androidbruce has quit [*.net *.split]
Sou|cutter has quit [*.net *.split]
bashusr has quit [*.net *.split]
nisstyre has quit [*.net *.split]
guardian has quit [*.net *.split]
hfp_work has quit [*.net *.split]
kennym has quit [*.net *.split]
rgs has quit [*.net *.split]
Meeh has quit [*.net *.split]
kevr has quit [*.net *.split]
smooth_penguin has quit [*.net *.split]
suy has quit [*.net *.split]
_jasonmit has quit [*.net *.split]
nitrix has quit [*.net *.split]
xsdg has quit [*.net *.split]
ejnahc has quit [*.net *.split]
hellome has quit [*.net *.split]
jerrett has quit [*.net *.split]
max96at|off has quit [*.net *.split]
uber has quit [*.net *.split]
AlHafoudh has quit [*.net *.split]
Pro|_ has quit [*.net *.split]
kloeri has quit [*.net *.split]
Nowaker has quit [*.net *.split]
sarlalian has quit [*.net *.split]
blackgoat has quit [*.net *.split]
mnemon has quit [*.net *.split]
_5moufl has quit [*.net *.split]
railis has quit [*.net *.split]
napcae has quit [*.net *.split]
adamholt has quit [*.net *.split]
Killerkeksdose_ has quit [*.net *.split]
kiki_lamb has quit [*.net *.split]
Tarential has quit [*.net *.split]
ZYPP has quit [*.net *.split]
Cope has quit [*.net *.split]
bkutil has quit [*.net *.split]
dfoolz has quit [*.net *.split]
retornam has quit [*.net *.split]
cescalante_ has quit [*.net *.split]
Exlee_ has quit [*.net *.split]
Muz has quit [*.net *.split]
deavid has quit [*.net *.split]
Mekkis has quit [*.net *.split]
Senjai has quit [Ping timeout: 240 seconds]
Xiti has joined #ruby
codeurge has joined #ruby
juanpaucar has joined #ruby
ghostpl_ has quit [Remote host closed the connection]
Sawbones has joined #ruby
djbkd_ has joined #ruby
az7ar_away has joined #ruby
Channel6 has joined #ruby
pusewicz has joined #ruby
shellox has joined #ruby
tvon has joined #ruby
madhatter has joined #ruby
bier has joined #ruby
keksike has joined #ruby
dmoe has joined #ruby
psy_ has joined #ruby
ReinH has joined #ruby
ducklobster has joined #ruby
ruisanto1 has joined #ruby
Guest85414______ has joined #ruby
Trynemjoel has joined #ruby
ChoiKyuSang has joined #ruby
thejoecarroll has joined #ruby
michael_mbp has joined #ruby
pierre1_ has joined #ruby
timmmaaaayyy_ has joined #ruby
phreakocious has joined #ruby
javawizard has joined #ruby
krisleech has joined #ruby
RowdyChildren has joined #ruby
bluOxigen has joined #ruby
resno has joined #ruby
PaulCapestany has joined #ruby
Fraeon has joined #ruby
_maes_ has joined #ruby
jwang has joined #ruby
bashusr has joined #ruby
ejnahc has joined #ruby
Doc_X has joined #ruby
Sou|cutter has joined #ruby
moshee has joined #ruby
nitrix has joined #ruby
kennym has joined #ruby
Pro|_ has joined #ruby
xsdg has joined #ruby
peteyg has joined #ruby
blackgoat has joined #ruby
livcd has joined #ruby
androidbruce has joined #ruby
_jasonmit has joined #ruby
jaequery has joined #ruby
Muz has joined #ruby
hfp_work has joined #ruby
hellome has joined #ruby
deavid has joined #ruby
vifino has joined #ruby
ixti has joined #ruby
bricker has joined #ruby
cescalante_ has joined #ruby
kevr has joined #ruby
ZYPP has joined #ruby
renier has joined #ruby
lanemeyer has joined #ruby
emdub has joined #ruby
niko has joined #ruby
hiyosi has joined #ruby
jsaak has joined #ruby
_5moufl has joined #ruby
sarlalian has joined #ruby
mnemon has joined #ruby
adamholt has joined #ruby
kloeri has joined #ruby
Blue_Ice has joined #ruby
kaspergrubbe has joined #ruby
erichmenge has joined #ruby
gf3 has joined #ruby
Meeh has joined #ruby
willgorman|away has joined #ruby
blenny has joined #ruby
Megtastique has joined #ruby
qhartman has joined #ruby
eshy has joined #ruby
maxmanders has joined #ruby
kappy has joined #ruby
dfoolz has joined #ruby
kith has joined #ruby
Killerkeksdose_ has joined #ruby
bkutil has joined #ruby
railis has joined #ruby
Exlee_ has joined #ruby
godemperor has joined #ruby
Nowaker has joined #ruby
Cope has joined #ruby
jenrzzz has joined #ruby
theRoUS has joined #ruby
urtokk has joined #ruby
rgs has joined #ruby
guardian has joined #ruby
max96at|off has joined #ruby
AlHafoudh has joined #ruby
Esya has joined #ruby
uber has joined #ruby
Mekkis has joined #ruby
C0deMaver1ck has joined #ruby
aep has joined #ruby
suy has joined #ruby
Evan_ has joined #ruby
retornam has joined #ruby
napcae has joined #ruby
smooth_penguin has joined #ruby
marens has joined #ruby
SirFunk has joined #ruby
sevenseacat has joined #ruby
kiki_lamb has joined #ruby
jerrett has joined #ruby
Tarential has joined #ruby
ozzloy has joined #ruby
Channel6 has quit [Quit: Leaving]
blizzy is now known as _blizzy_
AlphaTech has quit []
triple_b has joined #ruby
Channel6 has joined #ruby
shellox has quit [*.net *.split]
jenrzzz has quit [*.net *.split]
tvon has quit [*.net *.split]
Megtastique has quit [*.net *.split]
resno has quit [*.net *.split]
dmoe has quit [*.net *.split]
Guest85414______ has quit [*.net *.split]
pusewicz has quit [*.net *.split]
keksike has quit [*.net *.split]
marens has quit [*.net *.split]
ReinH has quit [*.net *.split]
maxmanders has quit [*.net *.split]
Trynemjoel has quit [*.net *.split]
ruisanto1 has quit [*.net *.split]
ChoiKyuSang has quit [*.net *.split]
Evan_ has quit [*.net *.split]
Doc_X has quit [*.net *.split]
ducklobster has quit [*.net *.split]
kaspergrubbe has quit [*.net *.split]
peteyg has quit [*.net *.split]
timmmaaaayyy_ has quit [*.net *.split]
Fraeon has quit [*.net *.split]
theRoUS has quit [*.net *.split]
willgorman|away has quit [*.net *.split]
godemperor has quit [*.net *.split]
livcd has quit [*.net *.split]
emdub has quit [*.net *.split]
Esya has quit [*.net *.split]
ozzloy has quit [*.net *.split]
Sawbones has quit [*.net *.split]
djbkd_ has quit [*.net *.split]
az7ar_away has quit [*.net *.split]
sevenseacat has quit [*.net *.split]
lanemeyer has quit [*.net *.split]
pierre1_ has quit [*.net *.split]
hiyosi has quit [*.net *.split]
PaulCapestany has quit [*.net *.split]
jaequery has quit [*.net *.split]
ixti has quit [*.net *.split]
bluOxigen has quit [*.net *.split]
bricker has quit [*.net *.split]
psy_ has quit [*.net *.split]
michael_mbp has quit [*.net *.split]
jwang has quit [*.net *.split]
_maes_ has quit [*.net *.split]
qhartman has quit [*.net *.split]
SirFunk has quit [*.net *.split]
renier has quit [*.net *.split]
thejoecarroll has quit [*.net *.split]
kappy has quit [*.net *.split]
niko has quit [*.net *.split]
bier has quit [*.net *.split]
phreakocious has quit [*.net *.split]
jsaak has quit [*.net *.split]
madhatter has quit [*.net *.split]
gf3 has quit [*.net *.split]
blenny has quit [*.net *.split]
eshy has quit [*.net *.split]
C0deMaver1ck has quit [*.net *.split]
erichmenge has quit [*.net *.split]
krisleech has quit [*.net *.split]
javawizard has quit [*.net *.split]
RowdyChildren has quit [*.net *.split]
moshee has quit [*.net *.split]
kith has quit [*.net *.split]
Blue_Ice has quit [*.net *.split]
aep has quit [*.net *.split]
urtokk has quit [*.net *.split]
vifino has quit [*.net *.split]
androidbruce has quit [*.net *.split]
Sou|cutter has quit [*.net *.split]
bashusr has quit [*.net *.split]
guardian has quit [*.net *.split]
hfp_work has quit [*.net *.split]
kennym has quit [*.net *.split]
rgs has quit [*.net *.split]
Meeh has quit [*.net *.split]
kevr has quit [*.net *.split]
smooth_penguin has quit [*.net *.split]
suy has quit [*.net *.split]
_jasonmit has quit [*.net *.split]
nitrix has quit [*.net *.split]
xsdg has quit [*.net *.split]
ejnahc has quit [*.net *.split]
hellome has quit [*.net *.split]
jerrett has quit [*.net *.split]
max96at|off has quit [*.net *.split]
uber has quit [*.net *.split]
AlHafoudh has quit [*.net *.split]
Pro|_ has quit [*.net *.split]
kloeri has quit [*.net *.split]
Nowaker has quit [*.net *.split]
sarlalian has quit [*.net *.split]
blackgoat has quit [*.net *.split]
mnemon has quit [*.net *.split]
_5moufl has quit [*.net *.split]
railis has quit [*.net *.split]
adamholt has quit [*.net *.split]
napcae has quit [*.net *.split]
Killerkeksdose_ has quit [*.net *.split]
kiki_lamb has quit [*.net *.split]
Tarential has quit [*.net *.split]
ZYPP has quit [*.net *.split]
Cope has quit [*.net *.split]
bkutil has quit [*.net *.split]
dfoolz has quit [*.net *.split]
retornam has quit [*.net *.split]
cescalante_ has quit [*.net *.split]
Exlee_ has quit [*.net *.split]
Muz has quit [*.net *.split]
deavid has quit [*.net *.split]
Mekkis has quit [*.net *.split]
32NABEVRL has quit [*.net *.split]
n0zz has quit [*.net *.split]
gregf has quit [*.net *.split]
pdoherty has quit [*.net *.split]
atomi has quit [*.net *.split]
swgillespie has quit [*.net *.split]
ninjazach has quit [*.net *.split]
bhaak has quit [*.net *.split]
surs has quit [*.net *.split]
MyMind has quit [*.net *.split]
genpaku has quit [*.net *.split]
gilmour has quit [*.net *.split]
djbkd has quit [*.net *.split]
lifenoodles has quit [*.net *.split]
Riking has quit [*.net *.split]
daed has quit [*.net *.split]
ixx has quit [*.net *.split]
eam has quit [*.net *.split]
Junaos has quit [*.net *.split]
matrixfox has quit [*.net *.split]
brandon__ has quit [*.net *.split]
NightMonkey has quit [*.net *.split]
* baweaver
*crickets*
Sawbones has joined #ruby
djbkd_ has joined #ruby
az7ar_away has joined #ruby
jenrzzz has joined #ruby
shellox has joined #ruby
lanemeyer has joined #ruby
sevenseacat has joined #ruby
PaulCapestany has joined #ruby
pierre1_ has joined #ruby
psy_ has joined #ruby
thejoecarroll has joined #ruby
kappy has joined #ruby
jaequery has joined #ruby
pusewicz has joined #ruby
marens has joined #ruby
bricker has joined #ruby
michael_mbp has joined #ruby
Guest85414______ has joined #ruby
renier has joined #ruby
_maes_ has joined #ruby
ReinH has joined #ruby
dmoe has joined #ruby
Megtastique has joined #ruby
ixti has joined #ruby
keksike has joined #ruby
maxmanders has joined #ruby
bluOxigen has joined #ruby
tvon has joined #ruby
qhartman has joined #ruby
jwang has joined #ruby
resno has joined #ruby
hiyosi has joined #ruby
SirFunk has joined #ruby
Trynemjoel has joined #ruby
niko has joined #ruby
ruisanto1 has joined #ruby
bier has joined #ruby
phreakocious has joined #ruby
jsaak has joined #ruby
madhatter has joined #ruby
gf3 has joined #ruby
blenny has joined #ruby
ChoiKyuSang has joined #ruby
Evan_ has joined #ruby
Doc_X has joined #ruby
ducklobster has joined #ruby
eshy has joined #ruby
kaspergrubbe has joined #ruby
C0deMaver1ck has joined #ruby
peteyg has joined #ruby
erichmenge has joined #ruby
krisleech has joined #ruby
timmmaaaayyy_ has joined #ruby
javawizard has joined #ruby
RowdyChildren has joined #ruby
Fraeon has joined #ruby
moshee has joined #ruby
kith has joined #ruby
theRoUS has joined #ruby
Blue_Ice has joined #ruby
guardian has joined #ruby
aep has joined #ruby
willgorman|away has joined #ruby
godemperor has joined #ruby
urtokk has joined #ruby
vifino has joined #ruby
androidbruce has joined #ruby
Sou|cutter has joined #ruby
bashusr has joined #ruby
livcd has joined #ruby
emdub has joined #ruby
hfp_work has joined #ruby
kennym has joined #ruby
rgs has joined #ruby
Meeh has joined #ruby
Esya has joined #ruby
dfoolz has joined #ruby
kevr has joined #ruby
ozzloy has joined #ruby
smooth_penguin has joined #ruby
_jasonmit has joined #ruby
suy has joined #ruby
nitrix has joined #ruby
xsdg has joined #ruby
ejnahc has joined #ruby
hellome has joined #ruby
jerrett has joined #ruby
max96at|off has joined #ruby
uber has joined #ruby
AlHafoudh has joined #ruby
Pro|_ has joined #ruby
kloeri has joined #ruby
Nowaker has joined #ruby
sarlalian has joined #ruby
blackgoat has joined #ruby
mnemon has joined #ruby
_5moufl has joined #ruby
adamholt has joined #ruby
railis has joined #ruby
napcae has joined #ruby
Killerkeksdose_ has joined #ruby
kiki_lamb has joined #ruby
Tarential has joined #ruby
ZYPP has joined #ruby
Cope has joined #ruby
bkutil has joined #ruby
retornam has joined #ruby
cescalante_ has joined #ruby
Exlee_ has joined #ruby
Muz has joined #ruby
deavid has joined #ruby
Mekkis has joined #ruby
plashchynski has quit [Quit: plashchynski]
juanpaucar has quit [Ping timeout: 245 seconds]
<zenspider>
bricker: they got all the talks they wanted accepted and agreed to, then closed out the rest
ValicekB has quit [Ping timeout: 245 seconds]
<zenspider>
it was mostly a matter of making sure the speakers whose talks were accepted agreed to talk. once all the slots were full, the rest were sent rejections
skj3gg has joined #ruby
Crazy_Atheist has quit [Ping timeout: 264 seconds]
roolo has joined #ruby
jbzt has joined #ruby
crodas has quit [Quit: Disconnecting from stoned server.]
monsieurp has quit [Read error: Connection reset by peer]
crodas has joined #ruby
shortdudey123 has quit [Excess Flood]
monsieurp has joined #ruby
Spooner has quit [Remote host closed the connection]
serivich has quit [Ping timeout: 244 seconds]
shortdudey123 has joined #ruby
gkra has joined #ruby
reinaldo_ has quit [Remote host closed the connection]
tekk has quit [Ping timeout: 245 seconds]
roolo has quit [Read error: Connection reset by peer]
fryguy9 has quit [Quit: Leaving.]
reinaldob has joined #ruby
<jbzt>
I have a module called “Auditable” and a class that includes it called “ClientAPI”. I’d like to write a method on ClientAPI called ‘audit :some_method’ so when that method gets invoked, the auditable class will do something. I have this written so far, but I’m not sure how to tell Audiable to watch for method invokations. Can someone point me in the right direction? https://gist.github.com/jcblitz/bbf13db7809ebd630df
SouL has quit [Read error: Connection reset by peer]
roolo has joined #ruby
crueber has quit [Quit: Leaving.]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vt102 has quit [Remote host closed the connection]
Senjai has joined #ruby
Sawbones has quit [Remote host closed the connection]
djbkd_ has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
Hobogrammer has joined #ruby
reinaldob has quit [Ping timeout: 245 seconds]
ChoiKyuSang has quit [Max SendQ exceeded]
ReinH has quit [Max SendQ exceeded]
roolo has quit [Ping timeout: 244 seconds]
sarlalia1 has joined #ruby
Sawbones has joined #ruby
nii236_ has joined #ruby
yfeldblum has joined #ruby
ChoiKyuSang has joined #ruby
mistermocha has quit [Ping timeout: 246 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #ruby
djbkd has joined #ruby
x1337807x has quit [Max SendQ exceeded]
robustus has quit [Ping timeout: 264 seconds]
sarlalian has quit [Max SendQ exceeded]
hellome has quit [Max SendQ exceeded]
jenrzzz has quit [Ping timeout: 252 seconds]
serivich has joined #ruby
pontiki has joined #ruby
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #ruby
Tinfoilhat_ has quit [Read error: Connection reset by peer]
x1337807x has quit [Max SendQ exceeded]
ValicekB has joined #ruby
MatthewsFace has joined #ruby
x1337807x has joined #ruby
nettoweb has joined #ruby
robustus has joined #ruby
Sawbones has quit [Remote host closed the connection]
djbkd is now known as 17SABWPJL
ReinH has joined #ruby
n0zz has joined #ruby
bhaak has joined #ruby
32NABEVRL has joined #ruby
uokesita has joined #ruby
lifenoodles has joined #ruby
djbkd has joined #ruby
Junaos has joined #ruby
eam has joined #ruby
ixx has joined #ruby
brandon__ has joined #ruby
gregf has joined #ruby
genpaku has joined #ruby
ninjazach has joined #ruby
daed has joined #ruby
NightMonkey has joined #ruby
Riking has joined #ruby
swgillespie has joined #ruby
MyMind has joined #ruby
gilmour has joined #ruby
tekk has joined #ruby
matrixfox has joined #ruby
pdoherty has joined #ruby
surs has joined #ruby
deric_skibotn has quit [Ping timeout: 252 seconds]
hsps_ has joined #ruby
MatthewsFace has quit [Remote host closed the connection]
jonr2219 has quit [Remote host closed the connection]
fmendez has quit [Quit: Leaving...]
einarj has joined #ruby
Crazy_Atheist has joined #ruby
fryguy9 has joined #ruby
nii236_ has quit [Quit: leaving]
baweaver has quit [Remote host closed the connection]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hsps__ has quit [Ping timeout: 240 seconds]
bricker has quit [Ping timeout: 246 seconds]
jbzt has quit [Quit: jbzt]
einarj has quit [Ping timeout: 272 seconds]
skj3gg has quit [Quit: ZZZzzz…]
ReinH has quit [*.net *.split]
tekk has quit [*.net *.split]
uokesita has quit [*.net *.split]
32NABEVRL has quit [*.net *.split]
n0zz has quit [*.net *.split]
gregf has quit [*.net *.split]
pdoherty has quit [*.net *.split]
swgillespie has quit [*.net *.split]
ninjazach has quit [*.net *.split]
bhaak has quit [*.net *.split]
surs has quit [*.net *.split]
MyMind has quit [*.net *.split]
genpaku has quit [*.net *.split]
gilmour has quit [*.net *.split]
djbkd has quit [*.net *.split]
lifenoodles has quit [*.net *.split]
Riking has quit [*.net *.split]
daed has quit [*.net *.split]
ixx has quit [*.net *.split]
eam has quit [*.net *.split]
Junaos has quit [*.net *.split]
matrixfox has quit [*.net *.split]
brandon__ has quit [*.net *.split]
NightMonkey has quit [*.net *.split]
rhg135 has quit [Quit: changing name]
yfeldblum has quit [Remote host closed the connection]
ravenzz has quit [Quit: Connection closed for inactivity]
jottr has quit [Read error: Connection reset by peer]
rhg135 has joined #ruby
jottr_ has joined #ruby
riotjones has joined #ruby
yfeldblum has joined #ruby
roolo has joined #ruby
crueber has joined #ruby
kham has joined #ruby
mudtose has quit [Ping timeout: 255 seconds]
agrinb has joined #ruby
sivsushruth has quit []
sivsushruth has joined #ruby
maximski has quit []
pontiki has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
jottr__ has joined #ruby
jottr_ has quit [Ping timeout: 252 seconds]
riotjones has quit [Ping timeout: 245 seconds]
ReinH has joined #ruby
uokesita has joined #ruby
tekk has joined #ruby
32NABEVRL has joined #ruby
n0zz has joined #ruby
gregf has joined #ruby
pdoherty has joined #ruby
swgillespie has joined #ruby
djbkd has joined #ruby
Riking has joined #ruby
MyMind has joined #ruby
Junaos has joined #ruby
genpaku has joined #ruby
matrixfox has joined #ruby
ninjazach has joined #ruby
surs has joined #ruby
gilmour has joined #ruby
daed has joined #ruby
brandon__ has joined #ruby
lifenoodles has joined #ruby
eam has joined #ruby
ixx has joined #ruby
NightMonkey has joined #ruby
bhaak has joined #ruby
ReinH has quit [Max SendQ exceeded]
NightMonkey has quit [Max SendQ exceeded]
genpaku has quit [Max SendQ exceeded]
roolo has quit [Ping timeout: 265 seconds]
genpaku has joined #ruby
ReinH has joined #ruby
MyMind has quit [Max SendQ exceeded]
kham has quit [Ping timeout: 252 seconds]
NightMonkey has joined #ruby
MyMind has joined #ruby
brb3 has quit [Quit: ZZZzzz…]
jbeeze has joined #ruby
wldcordeiro has quit [Ping timeout: 256 seconds]
oleo has joined #ruby
AlexRussia has quit [Ping timeout: 252 seconds]
sent1nel has joined #ruby
oleo__ has quit [Ping timeout: 245 seconds]
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<coetry>
creating it and giving a value, so how come it doesn't exist?
<ddv>
coetry: doesn't matter, if you try to write within a directoy that doesn't exist
<coetry>
present directory?
kalusn has joined #ruby
<coetry>
its part of a block and other files seem to have written perfectly..
jonr22 has quit [Ping timeout: 256 seconds]
Sawbones has quit [Remote host closed the connection]
<ddv>
coetry: debug it
roolo has joined #ruby
<ddv>
coetry: puts some stuff, or sue pry
ghr has joined #ruby
<ddv>
use*
ptrrr has joined #ruby
jenrzzz has joined #ruby
duncannz has joined #ruby
SirCmpwn has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
lemur has quit [Remote host closed the connection]
roolo_ has joined #ruby
roolo has quit [Read error: Connection reset by peer]
lemur has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
ghr has quit [Ping timeout: 272 seconds]
sinkensabe has joined #ruby
Darryl___ has joined #ruby
roolo has joined #ruby
roolo_ has quit [Read error: Connection reset by peer]
atomi has quit [Read error: Connection reset by peer]
iamninja has quit [Read error: Connection reset by peer]
atomi has joined #ruby
iamninja has joined #ruby
lemur has quit [Ping timeout: 265 seconds]
ta has joined #ruby
oetjenj has joined #ruby
roolo has quit [Ping timeout: 256 seconds]
oetjenj has quit [Client Quit]
ponga has joined #ruby
ta has quit [Ping timeout: 252 seconds]
allenn has joined #ruby
AlecTaylor has quit [Ping timeout: 250 seconds]
charliesome has joined #ruby
resno has quit [Ping timeout: 256 seconds]
Aerosonic has left #ruby [#ruby]
Zimsky- has quit [Quit: Lost terminal]
robbyoconnor has joined #ruby
agrinb_ has quit [Remote host closed the connection]
robbyoconnor has quit [Client Quit]
r0bby_ has joined #ruby
blueOxigen has joined #ruby
Number2 has joined #ruby
coetry has quit [Quit: Lost terminal]
Baprath has joined #ruby
r0bby_ has quit [Client Quit]
bluOxigen has quit [Ping timeout: 246 seconds]
Sawbones has joined #ruby
Nnel has joined #ruby
w4pm has quit [Quit: leaving]
plutonic has joined #ruby
duncannz has quit [Remote host closed the connection]
Lorn3r has joined #ruby
duncannz has joined #ruby
roolo has joined #ruby
Baprath has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0.1/20150125221831]]
duncannz has quit [Remote host closed the connection]
Nnel has quit [Ping timeout: 245 seconds]
rkgudboy has joined #ruby
duncannz has joined #ruby
roolo has quit [Ping timeout: 240 seconds]
jobewan has quit [Ping timeout: 265 seconds]
krzkrz has quit [Ping timeout: 240 seconds]
ghostpl_ has joined #ruby
_Andres has joined #ruby
tagrudev has joined #ruby
ajaiswal has quit [Remote host closed the connection]
ajaiswal has joined #ruby
kalusn has quit [Remote host closed the connection]
<arup_r_>
ddv: o/
rkgudboy has quit [Ping timeout: 244 seconds]
nini1294 has quit [Read error: Connection reset by peer]
avelldiroll has quit [Quit: WeeChat 0.3.8]
EEEDDD has joined #ruby
nini1294 has joined #ruby
ghostpl_ has quit [Ping timeout: 265 seconds]
duncannz has quit [Ping timeout: 256 seconds]
<EEEDDD>
Hi, I just installed ruby gems + some gems but get an error that it can't find those gems, even after I added the right GEM_PATH to .bashrc. What is wrong ?
<arup_r_>
EEEDDD: Please use RVM to manage these stuffs
<arup_r_>
and you concentrate on your dollars
nini1294 has quit [Read error: Connection reset by peer]
<arup_r_>
remember if you don't buy your own ship.. you have no value in this world
nini1294 has joined #ruby
msgodf has joined #ruby
kupusc has joined #ruby
<sevenseacat>
without knowing what youre doing, or what error you're getting, or how you installed ruby and those gems, we cant help
roolo has joined #ruby
avelldiroll has joined #ruby
* arup_r_
offering a cup of coffee to sevenseacat
<sevenseacat>
woo ty
terlar has joined #ruby
<EEEDDD>
arup_r_, ? concentrate on my dollars, ship ?
n008f4g_ has joined #ruby
<arup_r_>
Ohh!.. well.. I meant to concentrate on your business logic and those installation and adding path and remove those shits.. you can delegate to Rvm..
wicope has joined #ruby
hs366 has joined #ruby
<EEEDDD>
sevenseacat, I installed ruby in MAnjaro (Arch derivate) and installed the gems as root.
kalusn has joined #ruby
<EEEDDD>
arup_r_, Thanks, I'll look into RVM
<arup_r_>
EEEDDD: No.. You must look into those first.. First set up your environment.
nini1294 has quit [Remote host closed the connection]
<arup_r_>
'Then start working on it
justin_pdx has quit [Quit: justin_pdx]
nini1294 has joined #ruby
roolo has quit [Ping timeout: 256 seconds]
thsig has joined #ruby
Guest123 has joined #ruby
ixti has quit [Ping timeout: 264 seconds]
<EEEDDD>
Where can I find good documentation about this ? http://ruby-doc.org/ is not that helpfull
piotrj_ has joined #ruby
agrinb has joined #ruby
nini1294 has quit [Read error: Connection reset by peer]
piotrj has quit [Ping timeout: 245 seconds]
nish1294 has joined #ruby
roolo has joined #ruby
alex88 has joined #ruby
rdark has joined #ruby
<nish1294>
a
Morkel has joined #ruby
tesuji has joined #ruby
nish1294 has quit [Remote host closed the connection]
nini1294 has joined #ruby
Beoran_ has joined #ruby
agrinb has quit [Ping timeout: 256 seconds]
roolo_ has joined #ruby
roolo has quit [Read error: Connection reset by peer]
StoneCypher has quit [Ping timeout: 252 seconds]
jheg has joined #ruby
lessless has joined #ruby
oo__ has quit [Remote host closed the connection]
einarj has joined #ruby
Beoran__ has quit [Ping timeout: 255 seconds]
oo_ has joined #ruby
roolo_ has quit [Ping timeout: 245 seconds]
ghr has joined #ruby
ki0 has joined #ruby
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
oo_ has quit [Remote host closed the connection]
EEEDDD has left #ruby ["Leaving"]
SOLDIERz has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
bayed has joined #ruby
vtunka has joined #ruby
<SOLDIERz>
hey everybody got a weird problem with ruby. I'm using ruby with chruby
The_Phoenix has joined #ruby
<SOLDIERz>
after changing to version 2.1.2 (selfbuild rpm) under /opt/rubies
ghr has joined #ruby
<SOLDIERz>
it says that it could not find bundler after a little digging i found out that the gem path variables are not set correctly
alien_ has joined #ruby
krzkrz has joined #ruby
<SOLDIERz>
gems are originally locate under /opt/rubies/ruby-2.1.2/usr/lib64/ruby/gems/2.1.2 but the path is set to the follwoing /opt/rubies/ruby-2.1.2/usr/lib64/ruby/gems/2.1.0
<SOLDIERz>
and I don't know why.... I deployed the same rpm with a newer ruby version everything works perfectly
<SOLDIERz>
any ideas?
<sevenseacat>
you built something wrong?
anarang has quit [Quit: Leaving]
<SOLDIERz>
sevenseacat just pleas read the text above carefully
Sawbones has quit [Remote host closed the connection]
<sevenseacat>
i did. you didnt say what you'd done
<sevenseacat>
other than you self-built something
<SOLDIERz>
09:43 (SOLDIERz) and I don't know why.... I deployed the same rpm with a newer ruby version everything works perfectly
<SOLDIERz>
last sentence
* sevenseacat
gives up and goes back to work
martianixor has quit [Quit: Leaving]
<sevenseacat>
what you've written is the equivalent of 'my code doesnt work. without me showing it to you, tell me whats wrong with it'
nini1294 has quit [Ping timeout: 264 seconds]
<sevenseacat>
sorry, my crystal ball is broken today/
<sevenseacat>
better luck next time.
crdpink has joined #ruby
lidaaa has quit [Ping timeout: 264 seconds]
<SOLDIERz>
if I knew whats wrong with it I would not ask for help... I build ruby with an prefix so that ruby is installed basically under /opt/rubies
crdpink2 has quit [Ping timeout: 250 seconds]
<wasamasa>
hmm, so if I understand it correctly, chruby could be replaced by a `ruby` symlink in a directory at the front of your PATH?
arup_r_ has quit [Remote host closed the connection]
Hijiri has quit [Ping timeout: 250 seconds]
<SOLDIERz>
and with version 2.2.0 of ruby everything works fine but building version 2.1.2 I got the problem that there are wrong paths setted to 2.1.0 at the build time
antgel has joined #ruby
Nnel has joined #ruby
<SOLDIERz>
normally all gems are installed under /opt/rubies/ruby-<version>/usr/lib64/ruby/gems/<version> but for ruby 2.1.2 it already does something wrong at buildtime
<sevenseacat>
but you wont tell us how you built ruby?
<sevenseacat>
like seriously?
<SOLDIERz>
so the gema path is not /opt/rubies/ruby-<version>/usr/lib64/ruby/gems/<version> it is /opt/rubies/ruby-<version>/usr/lib64/ruby/gems/2.1.0. Why this is happening I have really no idea
bruno- has joined #ruby
n008f4g_ has quit [Ping timeout: 250 seconds]
davedev2_ has quit [Read error: Connection reset by peer]
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
Spami has joined #ruby
rocknrollmarc has quit [Ping timeout: 252 seconds]
joonty has quit [Quit: joonty]
kham has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
elaptics_away is now known as elaptics
tedstriker has quit [Quit: I have grown tired of your feeble excuses]
olivier_bK has joined #ruby
ta has quit [Remote host closed the connection]
Number2 has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 256 seconds]
roshanavand has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
joonty has joined #ruby
monod has joined #ruby
roolo has joined #ruby
Darryl___ has quit [Quit: Connection closed for inactivity]
ta has joined #ruby
michael_mbp has quit [Excess Flood]
sandstrom has joined #ruby
michael_mbp has joined #ruby
<sandstrom>
Is `/[^ @]+/` and `/[^@]+/` the same thing? I.e. does the space carry any meaning?
piotrj_ has quit [Remote host closed the connection]
sinkensabe has quit [Remote host closed the connection]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
agrinb has quit [Remote host closed the connection]
roolo has quit [Ping timeout: 272 seconds]
agrinb has joined #ruby
<rekky>
sandstrom, http://rubular.com/ says the space means, and the expressions are different
yfeldblum has joined #ruby
<sandstrom>
rekky: I don't understand
jheg has joined #ruby
Waheedi has joined #ruby
<gregf__>
sandstrom: theres clearly a space in the first one?
SOLDIERz has quit [Quit: Be back later ...]
agrinb has quit [Ping timeout: 245 seconds]
<gregf__>
do you know what [^ ] means?
matcouto has joined #ruby
sinkensabe has joined #ruby
<Waheedi>
hey guys, ok i have a module P with methods r and f when i try to call P::f the method works well but when i try to call P::r it says undefined method?
<Waheedi>
Any idea
oo_ has joined #ruby
<sandstrom>
gregf__: I think ^ is sort of 'not', but I don't understand if spaces carry any meaning
<gregf__>
sandstrom: if this helps: data = ["foo @", "foo@", " @foo", " @ foo bar " ]; p data.map { |str| str =~ /([^@]+)/;print $1 }, data.map { |str| str =~ /([^ @]+)/;print $1 }
<sandstrom>
(inside [])
<gregf__>
sandstrom: your understanding is correct then :)
<sandstrom>
gregf__: so literal whitespace in patterns are ignored (meaningless)
<sandstrom>
?
roolo has joined #ruby
<gregf__>
er, i never said that o_O
wldcordeiro has quit [Ping timeout: 250 seconds]
<sandstrom>
gregf__: Sorry for my confusion, but I still don't understand if literal whitespace inside a regexp pattern carry meaning or not, and if they do what meaning they have.
<Waheedi>
Anyone out there?
<sandstrom>
E.g. difference between `/[^ @]+/` and `/[^@]+/`
<gregf__>
[^ @]+ <== what this means is , get me everything that does not contain a space or an '@' like so:
mskaesz has quit [Remote host closed the connection]
<gregf__>
the former removes the space, the latter includes them?
<sandstrom>
gregf__: okay, so ` ` and `\s` are the same? (mostly, since \s matches a few whitespace-related chars)
DaniG2k has joined #ruby
<gregf__>
yep, same
<DaniG2k>
morning all
<DaniG2k>
have you guys ever extended ruby with C code?
<gregf__>
\s includes , \t, \n, \r, space
selu has joined #ruby
<sandstrom>
gregf__: got it, thanks for clarifying, sorry for grasping this so slowly.
<gregf__>
heh, dont worry. its easy ;)
<Waheedi>
hey guys, ok i have a module P with methods r and f when i try to call P::f the method works well but when i try to call P::r it says undefined method?
<gregf__>
Waheedi: any code?
<Waheedi>
hey DaniG2k i think you should check Swig
anaeem1__ has quit [Remote host closed the connection]
AlecTaylor has quit [Quit: Leaving]
anaeem1 has joined #ruby
* gr33n7007h
is booooooorrreeeedddddddd!
anaeem1_ has quit [Read error: Connection reset by peer]
RegulationD has quit [Ping timeout: 250 seconds]
vvivv has joined #ruby
Regulati_ has joined #ruby
tunaCanBruh has joined #ruby
Pupeno has joined #ruby
hanmac has quit [Ping timeout: 256 seconds]
lxsameer_ has joined #ruby
reinaldob has joined #ruby
roolo has joined #ruby
oki has joined #ruby
mengu has quit [Ping timeout: 244 seconds]
sameerynho has quit [Ping timeout: 256 seconds]
kl has joined #ruby
<kl>
Does 'raise' inside a 'rescue' do anything special?
Regulati_ has quit [Ping timeout: 250 seconds]
roolo_ has joined #ruby
Nnel has quit [Read error: Connection reset by peer]
<workmad3>
kl: it re-raises the original exception, if you have just 'raise' not 'raise some_exception'
roolo has quit [Read error: Connection reset by peer]
tunaCanBruh has quit [Ping timeout: 272 seconds]
<kl>
workmad3: I have no idea how I did not know this :)
michael_mbp has quit [Excess Flood]
<workmad3>
kl: it's pretty useful, right? :)
<workmad3>
kl: could be the first time you've encountered a situation where you wanted to intercept an exception without interfering with the rest of it though ;)
jonr22 has joined #ruby
RegulationD has joined #ruby
reinaldob has quit [Ping timeout: 264 seconds]
tkuchiki has quit [Ping timeout: 246 seconds]
michael_mbp has joined #ruby
roolo_ has quit [Ping timeout: 246 seconds]
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takle has joined #ruby
RegulationD has quit [Ping timeout: 252 seconds]
jonr22 has quit [Ping timeout: 265 seconds]
oki has quit [Ping timeout: 252 seconds]
<kl>
workmad3: yeah. Ordinarily I like to re-raise another exception of a higher abstraction level. In this case, it's "dump it"
olekenneth has quit [Ping timeout: 250 seconds]
oki has joined #ruby
fabrice31 has quit [Remote host closed the connection]
gfawcettpq has joined #ruby
hanmac has joined #ruby
j0n3 has joined #ruby
krzkrz has joined #ruby
anaeem___ has joined #ruby
gfawcettpq has quit [Client Quit]
anaeem___ has quit [Remote host closed the connection]
anaeem1__ has joined #ruby
anaeem1 has quit [Read error: Connection reset by peer]
gfawcettpq has joined #ruby
roolo has joined #ruby
bluOxigen has quit [Ping timeout: 250 seconds]
arup_r has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
bluOxigen has joined #ruby
shredding has quit [Ping timeout: 264 seconds]
oo_ has quit [Remote host closed the connection]
doodlehaus has joined #ruby
xploshioon has joined #ruby
arup_r has joined #ruby
ta has joined #ruby
pontiki has joined #ruby
sigurding has quit [Quit: sigurding]
razieliyo has joined #ruby
pandaant has joined #ruby
sigurding has joined #ruby
olekenneth has joined #ruby
<DaniG2k>
it's a bit frustrating that there's no native full-text search tool for Ruby (besides Ferret which was made like eons ago)
ajaiswal has quit [Quit: Leaving]
rkgudboy has quit [Quit: Leaving]
<DaniG2k>
then again it would probably suck
linoj has joined #ruby
<DaniG2k>
and be awfully slow
paradoja has joined #ruby
davedev24_ has quit []
iMadper has joined #ruby
<iMadper>
hi. If I have a very large string `context` is about 40MB, will `context[0..15] = ''` re-create a new veriable? I found this opteration will cost a long time.
rdark has quit [Quit: leaving]
<wasamasa>
DaniG2k: ferret is mostly C, no
<DaniG2k>
yeah
<DaniG2k>
:\
rdark has joined #ruby
<wasamasa>
so I doubt it's slow
<iMadper>
DanKnox: And is there a good way to drop first N chars? I need do it in a loop and it takes too much time.
rdark has quit [Client Quit]
<DaniG2k>
wasamasa: i know I wasn't saying ferret is slow. But a full Ruby one would be
<wasamasa>
DaniG2k: well, it depends on what it's doing
<iMadper>
oops, seems I lost the context...
fabrice31 has joined #ruby
<wasamasa>
iMadper: modifying a string?
<wasamasa>
iMadper: I'd try creating a new one instead
<iMadper>
wasamasa: yes.
<iMadper>
wasamasa: but it's a very large string... about 40MB.
<pontiki>
i wouldn't
<pontiki>
i'd treat it as a buffer and index into it, not make copies
<iMadper>
pontiki: thanks. I'll using a current-pointer to record which part is useless. thanks!
hs366 has quit [Quit: Leaving]
<wasamasa>
pontiki: so, if you replace parts of a string with a shorter part, that binds a new string to the variable?
<pontiki>
yes
<wasamasa>
oh well
jenrzzz has joined #ruby
rorra has quit [Quit: rorra]
az7ar_away has quit [Ping timeout: 246 seconds]
mengu has joined #ruby
lidaaa has joined #ruby
Sawbones has joined #ruby
<iMadper>
pontiki: one more thing. will `context[cur..-1]` trigger a copy?
jenrzzz has quit [Ping timeout: 246 seconds]
<pontiki>
yes
<iMadper>
ohhhh no!
* iMadper
feels sadly.
<pontiki>
is this data you're reading from a file?
<iMadper>
pontiki: yes. from /var/lib/mlocate/mlocate.db
<pontiki>
do you always throw away the first 16 bytes?
lidaaa has quit [Ping timeout: 264 seconds]
<iMadper>
pontiki: Yes.
<pontiki>
then seek to there, and read the rest in
<pontiki>
i don't know the format of the mlocate.db file
Sawbones has quit [Ping timeout: 245 seconds]
<pontiki>
but you should probably assume it's binary
<pontiki>
and not a string
Guest123 has joined #ruby
<iMadper>
pontiki: not only the first 16 bytes. I need to parse the file. And drop the parts which has been parsed.
_Andres has joined #ruby
<iMadper>
pontiki: yes, it's a binary. (string which mixing some binary metadata..)
Jetchisel has joined #ruby
jottr has joined #ruby
<iMadper>
pontiki: if I do not drop the parsed part, the `index` method won't find next flag.
Takle has quit [Remote host closed the connection]
<pontiki>
it isn't in some already well-known db type that will process it for you?
cmckee has joined #ruby
<iMadper>
pontiki: I searched but without any lucky. No exist gem will parse it.
Takle has joined #ruby
<pontiki>
that's not the same thing
rkmylo has joined #ruby
freerobby has joined #ruby
rocknrollmarc has joined #ruby
ta has quit [Remote host closed the connection]
sivsushruth has quit [Ping timeout: 256 seconds]
<iMadper>
pontiki: so you mean some datebase software like mysql will process it?
neanderslob has quit [Ping timeout: 252 seconds]
<pontiki>
barring that, writing a C extension using the mlocate code library
<iMadper>
pontiki: I see. thanks.
ta has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
ldnunes has joined #ruby
livathin_ has joined #ruby
roshanavand has quit [Remote host closed the connection]
roshanavand has joined #ruby
_honning_ has joined #ruby
vpereira has quit [Ping timeout: 252 seconds]
livathinos has quit [Ping timeout: 246 seconds]
sigurding has quit [Quit: sigurding]
vtunka has quit [Quit: Leaving]
vtunka has joined #ruby
wicope has quit [Remote host closed the connection]
iamjarvo has joined #ruby
livathin_ has quit [Remote host closed the connection]
amacou has joined #ruby
nfk has joined #ruby
arup_r has quit [Remote host closed the connection]
<nfk>
what's the most ruby friendly GUI out there? Tcl? Preferably should look at least acceptably good.
send has joined #ruby
<nfk>
*GUI toolkit
lordkryss has joined #ruby
<nfk>
erp, I meant' Tk
last_staff has joined #ruby
vpereira_ has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
dereck has joined #ruby
SouL has quit [Ping timeout: 252 seconds]
paulfm has joined #ruby
n1lo has joined #ruby
leafybasil has quit [Remote host closed the connection]
ponga has quit [Remote host closed the connection]
iamninja has quit [Quit: #RizonRPG]
iamninja has joined #ruby
dereck is now known as jefus
dtraveler has left #ruby [#ruby]
asuka has joined #ruby
reinaldob has joined #ruby
ta has quit [Remote host closed the connection]
strixd has quit [Quit: 500]
mun has joined #ruby
<mun>
hi
<mun>
suppose an app needs to be ensured that it stays online for 12hrs a day. would it be a good idea to let it ping its central server every N minutes?
<mun>
but even through HTTPS, technically a user could imitate the pings via a fake scripts, right?
ta has joined #ruby
<nfk>
if the server admins allow it, i think it's perfectly legit
kobain has joined #ruby
<nfk>
mun, if you need security, ICMP or any other protocol without authentication is a no-go
<mun>
nfk: was your other msg for me?
Mon_Ouie has quit [Ping timeout: 250 seconds]
<mun>
nfk: but even HTTPS, the user would have access to the session key (in memory)
<nfk>
and that's only when you worry about spoofing, if you actually expect the device where the app will be running user will be actively being evil, even authentication won't be enough
<nfk>
mun, honestly, is it that important?
AlecTaylor has joined #ruby
AlecTaylor has joined #ruby
<AlecTaylor>
hi
mroach has joined #ruby
SOLDIERz_ has joined #ruby
livathinos has joined #ruby
lanemeyer has quit [Ping timeout: 246 seconds]
<nfk>
mun, yes, it was for you, if you just need to notify that the app is okay, sending ICMP echo request is perfectly fine it's just that to catch it you'll need some firewall rule on the server
<nfk>
and userland code
ponga has joined #ruby
<nfk>
and you'll probably want to send some extra data to identify the device which i suspect ICMP has some junk area for
<nfk>
but if you actually need to do it securely you'll want something more at least a tunnel or something
bkulbida has quit [Ping timeout: 256 seconds]
<AlecTaylor>
:`/foo/lib/hello.rb has module Hello; class Hello; end; end;`. In /foo/lib/cli.rb I am running require `'hello'; h = Hello::Hello.new;`. Why do I get a "LoadError"?
<mun>
nfk: right
maximski has joined #ruby
<mun>
nfk: a tunnel? the user could still spoof the tunnel, right?
<nfk>
mun, anyway, notifying server and keeping lusers out of your process memory are two different things
livathinos has quit [Remote host closed the connection]
<nfk>
mun, is it real concern?
Takle has quit [Remote host closed the connection]
<nfk>
heck, i could saw my leg off but why would i?
<nfk>
or i could go find you and hit your head with a brick but why would i?
<nfk>
+a
<mun>
nfk: well, yeah it is fairly important
<nfk>
tough luck, superuser can do anything
<mun>
nfk: it needs to make sure the device is online
<mun>
genuinely online
<nfk>
the only way you can pull it of is DRM or an outright hypervisor
<nfk>
but that requires you to have more permissions than the user of the device and likely more than the owner even
strixd has joined #ruby
<mun>
nfk: could the server send the app a challenge, and let the app solve it?
juanpaucar has joined #ruby
<nfk>
mun, and whoever has the device can't be trusted not to be evil?
<nfk>
for real?
<nfk>
mun, i'm not that well versed in that, go find some encryption channel
kham has quit [Ping timeout: 250 seconds]
arup_r has joined #ruby
<mun>
nfk: well, the thing is, if it's not genuine, it could cause quite a rippling effect
<nfk>
mun, i guess you can always figure something out but you haven't answered why the user of the device is so untrustable
b4rbz has quit [Quit: WeeChat 0.4.1]
<nfk>
anyway, more info or i'm out
<mun>
nfk: it's not really that the user is so untrustable, but that any evil user could ultimate cause quite an impact
<nfk>
in fact, i'll be out in 5 minutes anyway
<mun>
nfk: i'll look more into encryption
AlecTaylor has quit [Ping timeout: 244 seconds]
bruno- has joined #ruby
<mun>
thanks a lot
<nfk>
mun, no, you either do your encryption 101 course or find someone who has
DadoCe has joined #ruby
<nfk>
if you think encryption is the answer, then you won't be able to solve the problem
<nfk>
and what i meant was for you to find some IRC channel where encryption is discussed
<mun>
nfk: yeah
shum has joined #ruby
juanpaucar has quit [Ping timeout: 256 seconds]
<nfk>
under the same maths and techniques there's compression, authentification, cypher construction, cypher attcks, security protocols and more
<nfk>
*authentication
<nfk>
*cipher
AugustoC has joined #ruby
<mun>
nfk: my hunch is that message signing could help, but i'll check with crypto
DadoCe has quit [Ping timeout: 255 seconds]
<nfk>
that's also part of what's under encryption even though what's understood with encryption is different
<nfk>
same maths, same techniques
<pontiki>
remember the stuxnet
gluten_hell has joined #ruby
<mun>
nfk: yeah, i'm familiar with them
<nfk>
mun, also, instead of ICMP echo request you might want to send TCP packets instead since then you don't need to have firewall intercepting and sending ICMP echo requests to userland
<nfk>
mun, didn't seem so 5 minutes ago
<nfk>
also why are you even here then?
<nfk>
waste of time
leafybasil has joined #ruby
<mun>
nfk: i just wonder if there're established patterns already
<mun>
since i don't think it's a new problem
jenrzzz has joined #ruby
m8 has quit [Quit: Sto andando via]
joonty has quit [Quit: joonty]
cpt_yossarian has quit [Ping timeout: 250 seconds]
doodlehaus has quit [Remote host closed the connection]
skj3gg has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
xploshioon has quit [Quit: Leaving]
commmmodo has quit [Quit: commmmodo]
tunaCanBruh has joined #ruby
grn has joined #ruby
piotrj has joined #ruby
blueOxigen has joined #ruby
bluOxigen has quit [Ping timeout: 240 seconds]
fgo_ has joined #ruby
fgo has quit [Ping timeout: 240 seconds]
tunaCanBruh has quit [Ping timeout: 256 seconds]
jonr22 has joined #ruby
hollywood has joined #ruby
<workmad3>
mun: the signing key would need to be on the device making the requests... if you're worried about an HTTPS session key being sniffed from memory, exactly the same concern is involved with a request signing key
RegulationD has joined #ruby
<mun>
workmad3: i was thinking if the key could be hardcoded
<workmad3>
mun: unless you're meaning specialised hardware, then the answer is pretty much 'no'
<workmad3>
mun: and if you're talking specialised hardware, you're also into the realms where you restrict access to everything so that stuff like memory sniffing stops being as much of a concern
<mun>
true.. the key for signing will eventually be in the process memory
<workmad3>
mun: basically, if this is something you're wondering about, take a look at the systems in the wild that need that sort of level of paranoia, and what they do
<workmad3>
mun: e.g. credit card payment terminals, ATMs
ismaelga has joined #ruby
jonr22 has quit [Ping timeout: 256 seconds]
max96at|off is now known as max96at
<mun>
workmad3: the hardware in question is a typical PC...
<workmad3>
mun: specialised hardware with tamper-detection that, when it goes off, destroys the internals
<mun>
so not much hardware restrictions there i'm afraid..
RegulationD has quit [Remote host closed the connection]
RegulationD has joined #ruby
paolooo has joined #ruby
iamjarvo has joined #ruby
<workmad3>
mun: if you can't control the hardware, you've always got a massive security hole
iamjarvo has quit [Max SendQ exceeded]
<workmad3>
mun: at least, at the level of paranoia you're talking about ;)
aclearman037 has joined #ruby
<nfk>
mun, wtf are you enen making there
iamjarvo has joined #ruby
<nfk>
*even
krzkrz has quit [Quit: WeeChat 1.0.1]
blueOxigen has quit [Ping timeout: 264 seconds]
bluOxigen has joined #ruby
Takle has joined #ruby
WillAmes has quit [Remote host closed the connection]
Tomasso_ has joined #ruby
WillAmes has joined #ruby
ferr has joined #ruby
anaeem1__ has quit [Remote host closed the connection]
claptor has quit [Quit: this channel is bakas]
RegulationD has quit [Ping timeout: 264 seconds]
DaniG2k has quit [Quit: leaving]
<workmad3>
mun: you may be able to make some progress with something like https://www.yubico.com/products/yubihsm/ depending on whether sending out pre-prepared, expensive hardware is an option
psy_ has quit [Remote host closed the connection]
<workmad3>
hmm, lunch time
<workmad3>
bbl
workmad3 is now known as wm3|away
RegulationD has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
Takle has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 250 seconds]
Takle has joined #ruby
jaequery has joined #ruby
SouL has joined #ruby
grn has quit [Remote host closed the connection]
az7ar_away has joined #ruby
grn has joined #ruby
jcromartie has joined #ruby
atom3_ has joined #ruby
atom3_ has quit [Client Quit]
atom3_ has joined #ruby
kham has joined #ruby
atom3_ is now known as stom3
stom3 has quit [Client Quit]
kl has quit [Ping timeout: 252 seconds]
jaequery has quit [Ping timeout: 252 seconds]
jheg has quit [Quit: jheg]
it0a has quit [Ping timeout: 244 seconds]
ismaelga has quit [Remote host closed the connection]
FooMunki_ has quit [Ping timeout: 265 seconds]
amacou has quit [Remote host closed the connection]
brb3 has joined #ruby
lolmaus has quit [Read error: Connection reset by peer]
grn has quit []
lolmaus has joined #ruby
Pawky has joined #ruby
MasterPiece has quit [Quit: Leaving]
hiyosi has joined #ruby
spyderman4g63 has joined #ruby
<Pawky>
toretore: thank you for telling me to re-read the nordnet API... i did, and did and did and.... finally cracked it.... ;-)
centrx has joined #ruby
piotrj has quit [Remote host closed the connection]
<mun>
wm3|away: yeah, untrusted hardware just won't do...
lessless has joined #ruby
spyderma_ has joined #ruby
kalusn has quit [Remote host closed the connection]
kalusn has joined #ruby
joonty has joined #ruby
ych4k3r has joined #ruby
spyderman4g63 has quit [Ping timeout: 246 seconds]
spyderma_ has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
adriancb has joined #ruby
nettoweb_ has joined #ruby
n008f4g_ has joined #ruby
nettoweb_ has quit [Client Quit]
sivsushruth has joined #ruby
spyderman4g63 has quit [Client Quit]
triple_b has joined #ruby
nettoweb has quit [Ping timeout: 245 seconds]
nusz has joined #ruby
yfeldblu_ has quit [Ping timeout: 265 seconds]
piotrj has joined #ruby
nusz has left #ruby [#ruby]
pwh has quit []
ta has quit [Remote host closed the connection]
djellemah has joined #ruby
Rapier- has joined #ruby
lanemeyer has joined #ruby
olekenneth has quit [Ping timeout: 264 seconds]
shredding has joined #ruby
lxsameer_ has quit [Quit: Leaving]
freerobby has quit [Quit: Leaving.]
dstarh has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ismaelga has joined #ruby
willywos has joined #ruby
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skj3gg has joined #ruby
nateberkopec has joined #ruby
tier has joined #ruby
silkfox has joined #ruby
kalusn has quit [Remote host closed the connection]
tunaCanBruh has joined #ruby
huddy has joined #ruby
codecop has quit [Remote host closed the connection]
amacou has joined #ruby
codeurge has joined #ruby
FooMunki_ has joined #ruby
shay- has joined #ruby
danjordan_ has joined #ruby
sankaber has joined #ruby
adriancb has quit [Remote host closed the connection]
rkmylo has quit []
danjordan has quit [Ping timeout: 244 seconds]
danjordan_ is now known as danjordan
<shay->
hi, is there a easy way to generate a apr1 md5 hash like it is used by apache?
dmr8 has joined #ruby
SouL_ has joined #ruby
piotrj has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 256 seconds]
SouL has quit [Ping timeout: 264 seconds]
JDiPierro has joined #ruby
krz has joined #ruby
Dmr has quit [Ping timeout: 244 seconds]
thsig has quit [Remote host closed the connection]
chinmay_dd has joined #ruby
grn has joined #ruby
mostlybadfly has joined #ruby
thsig_ has joined #ruby
roshanavand has quit [Remote host closed the connection]
FooMunki_ has quit [Quit: FooMunki_]
hsps__ has joined #ruby
bkulbida has joined #ruby
crueber has joined #ruby
FooMunki has joined #ruby
cmckee has quit [Quit: cmckee]
kalusn has joined #ruby
piotrj has joined #ruby
bMalum has joined #ruby
olekenneth has joined #ruby
hsps_ has quit [Ping timeout: 245 seconds]
Spami has joined #ruby
dumdedum has quit [Ping timeout: 245 seconds]
iamjarvo has joined #ruby
thsig_ has quit [Remote host closed the connection]
kl has joined #ruby
<yxejamir>
shay-, you mean in Ruby or in general?
<yxejamir>
In general, try openssl passwd -apr1
juanpablo__ has joined #ruby
RegulationD has joined #ruby
grn has quit []
triple_b_ has joined #ruby
<bMalum>
Example: If a API is secured with an HMAC and the Project is OpenSource and the Key is Hardcoded - this is useless isn’t it?
Parker0 has joined #ruby
arup_r has quit [Remote host closed the connection]
withnale_ has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
FooMunki has quit [Quit: FooMunki]
paolooo has quit [Quit: Page closed]
Parker0 has quit [Client Quit]
juanpablo__ has quit [Ping timeout: 255 seconds]
RegulationD has quit [Ping timeout: 252 seconds]
triple_b has quit [Ping timeout: 252 seconds]
livathinos has joined #ruby
_blizzy_ has quit [Ping timeout: 252 seconds]
rubytor has joined #ruby
juanpablo__ has joined #ruby
thsig has joined #ruby
doodlehaus has joined #ruby
spider-mario has joined #ruby
jerius has joined #ruby
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
thsig has quit [Client Quit]
yojimmbo has quit [Quit: Leaving]
Akuma has quit [Ping timeout: 255 seconds]
juanpaucar has joined #ruby
DEA7TH has joined #ruby
crueber has quit [Quit: Leaving.]
kp666 has quit [Ping timeout: 256 seconds]
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
anaeem1_ has joined #ruby
drawingthesun has joined #ruby
sent1nel has joined #ruby
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
BackEndCoder has quit [Excess Flood]
juanpaucar has quit [Ping timeout: 255 seconds]
gfawcettpq has quit [Ping timeout: 250 seconds]
commmmodo has joined #ruby
piotrj has quit [Remote host closed the connection]
freerobby has joined #ruby
BackEndCoder has joined #ruby
bMalum has quit [Quit: bMalum]
RitterJack has joined #ruby
Channel6 has joined #ruby
tier_ has joined #ruby
rocknrollmarc has quit [Read error: No route to host]
adriancb has quit [Remote host closed the connection]
adriancb has joined #ruby
agarie has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tier has quit [Ping timeout: 240 seconds]
iamjarvo has joined #ruby
adriancb has quit [Remote host closed the connection]
juanpaucar has joined #ruby
adriancb has joined #ruby
slawrence00 has joined #ruby
gfawcettpq has joined #ruby
ton31337 has joined #ruby
iamjarvo has quit [Client Quit]
<ton31337>
how to know name of function if I have only mid?
<ton31337>
actually (rb_call_info_t)ci->mid
paolooo has joined #ruby
sambao21 has joined #ruby
enebo has joined #ruby
blizzy is now known as _blizzy_
amacou has quit [Remote host closed the connection]
oleo is now known as Guest26242
oleo__ has joined #ruby
B1n4r10 has joined #ruby
JDiPierro has quit [Remote host closed the connection]
n80 has joined #ruby
blueOxigen has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
Tinfoilhat_ has joined #ruby
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bluOxigen has quit [Ping timeout: 256 seconds]
Tinfoilhat_ has quit [Read error: Connection reset by peer]
wicope has joined #ruby
Guest26242 has quit [Ping timeout: 250 seconds]
B1n4r10 has quit [Client Quit]
vdamewood has joined #ruby
Morkel has quit [Quit: Morkel]
piotrj has quit [Remote host closed the connection]
Lewix has joined #ruby
Lewix has joined #ruby
livingstn has joined #ruby
theberlin has joined #ruby
jonr22 has joined #ruby
Zai00 has joined #ruby
theberlin has quit [Client Quit]
hs366 has joined #ruby
apeiros_ has joined #ruby
benlieb has joined #ruby
B1n4r10 has joined #ruby
fearan has joined #ruby
fearan has left #ruby [#ruby]
uptownhr has joined #ruby
jonr22 has quit [Ping timeout: 252 seconds]
vt102 has joined #ruby
centrx has quit [Quit: Shutting down, Please wait...]
Channel6 has quit [Quit: Leaving]
JDiPierro has joined #ruby
zenith_ has joined #ruby
wm3|away is now known as workmad3
bluOxigen has joined #ruby
blueOxigen has quit [Ping timeout: 246 seconds]
jottr has quit [Ping timeout: 264 seconds]
blueOxigen has joined #ruby
neonalpine has joined #ruby
bkulbida_ has joined #ruby
<Tomasso_>
I have a hash with a couple of object methods, I pick that hash from converting a file to a string and running eval, I got many errors because of that and I figure out that there could be something that cannot be serialized.. is there some way I can pass that object method, at list as a string and then pass it?
fryguy9 has joined #ruby
benlieb has quit [Quit: benlieb]
<shevy>
Tomasso_ not sure what you mean; have you tried to use .send() yet?
<Tomasso_>
shevy: my problem is that I pass that Proc object to a .get sinatra method, and then the method executes without problem, and at the end i get things like "no _dump_data is defined for class Mutex" .. seems that sinatra is serializing something it should. ? or Im serializing by importing as a string a running eval on the code
MissionCritical has quit [Ping timeout: 252 seconds]
RegulationD has joined #ruby
|\|370 has joined #ruby
SOLDIERz_ has quit [Quit: Be back later ...]
agarie has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 252 seconds]
sent1nel_ has joined #ruby
antgel has joined #ruby
davedev24_ has joined #ruby
agarie has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
havenwood has joined #ruby
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
davedev2_ has joined #ruby
davedev24_ has quit [Read error: Connection reset by peer]
spyderman4g63 has joined #ruby
sent1nel has quit [Ping timeout: 256 seconds]
n1lo has quit [Ping timeout: 256 seconds]
Pharaoh2 has joined #ruby
michael_mbp has quit [Excess Flood]
RegulationD has joined #ruby
michael_mbp has joined #ruby
Pharaoh2 has quit [Max SendQ exceeded]
psy_ has joined #ruby
Pharaoh2 has joined #ruby
Lorn3r has quit [Quit: Leaving]
sent1nel has joined #ruby
Mission-Critical has joined #ruby
Lewix has quit []
shellfu_afk has joined #ruby
oki has quit [Ping timeout: 245 seconds]
RegulationD has quit [Ping timeout: 265 seconds]
andikr has quit [Remote host closed the connection]
sent1nel_ has quit [Ping timeout: 264 seconds]
riotjones has quit [Remote host closed the connection]
riotjones has joined #ruby
scripore has joined #ruby
adriancb has quit [Remote host closed the connection]
rorra has joined #ruby
adriancb has joined #ruby
agarie has quit [Remote host closed the connection]
iamjarvo has joined #ruby
yekta has joined #ruby
<scripore>
is there a way to eliminate the flicker when the terminal refreshes? I have a CLI touch typing app that outputs to the console with every key stroke.
crueber has joined #ruby
Spooner has joined #ruby
jlast has joined #ruby
codecop has joined #ruby
n80 has quit [Quit: n80]
riotjones has quit [Ping timeout: 244 seconds]
n80 has joined #ruby
justin_pdx has joined #ruby
n1lo has joined #ruby
<ferr>
If I try to run a script %x(ruby /home/ferr/myscript.rb) it comes with no such file exists
jaequery has joined #ruby
Mission-Critical is now known as MissionCritical
tus has joined #ruby
adriancb has quit [Ping timeout: 252 seconds]
adriancb has joined #ruby
mun has left #ruby ["My Mac has gone to sleep. ZZZzzz…"]
dblessing has joined #ruby
dfinninger has joined #ruby
giuseppesolinas has joined #ruby
centrx has joined #ruby
rippa has joined #ruby
_honning_ has quit [Remote host closed the connection]
sent1nel_ has joined #ruby
sent1nel_ has quit [Remote host closed the connection]
<PierreRambaud>
ferr, Are you sure this file exists? I just try the same code and it's works :/
yekta has quit [Quit: yekta]
mitchellhenke has quit [Ping timeout: 264 seconds]
mitchell_ has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
sent1nel has quit [Ping timeout: 265 seconds]
codeurge has joined #ruby
paolooo has quit [Ping timeout: 246 seconds]
<gregf__>
ferr: can you run it from the command line?
mkaesz has quit [Remote host closed the connection]
mkaesz has joined #ruby
scripore has joined #ruby
rbennacer has joined #ruby
bluOxigen has joined #ruby
nettoweb has joined #ruby
rbennacer has quit [Remote host closed the connection]
bMalum has joined #ruby
rbennacer has joined #ruby
Takle has quit [Remote host closed the connection]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jaequery has joined #ruby
jaequery has quit [Client Quit]
ta has joined #ruby
<bMalum>
tanj - centrx Open3 is the best way for you i think - i don’t know a better way to make systemcalls in ruby
<jhass>
tanj: sounds a bit like you do shell scripting in ruby. Why do you need to pipe?
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass>
that is, what are your actual commands?
attamusc has joined #ruby
aclearman037 has joined #ruby
werelivinginthef has quit [Remote host closed the connection]
benlieb has quit [Quit: benlieb]
Akuma has joined #ruby
maximski has quit []
flughafen_ has quit [Ping timeout: 246 seconds]
tvon has quit [Quit: Lost terminal]
benlieb has joined #ruby
wald0 has joined #ruby
agarie has quit [Remote host closed the connection]
maletor has joined #ruby
rhllor has joined #ruby
scripore has joined #ruby
DrShoggoth has joined #ruby
paulfm has joined #ruby
uptownhr has quit [Quit: uptownhr]
<tanj>
jhass: that's exactly what I do
<jhass>
why not code it in ruby?
<tanj>
jhass: I am piping output from a database to gzip. Maybe I'm doing it wrong
<tanj>
maybe i can do the gzip part in ruby
<jhass>
if that's all your ruby script does, write a shell script instead
sinkensabe has joined #ruby
<rhllor>
does anyone know any good books for in depth language learning in ruby, like eloquent ruby for 2.0+. Not a tutorial but something that looks at the specifics of the language
<jhass>
else I'd look into at least doing the gzip part in ruby, possibly the polling from the DB too
<tanj>
no, it does other things, like sending messages. that's why i'm using ruby in the first place
<centrx>
rhllor, Metaprogramming Ruby?
<rhllor>
thanks
<tanj>
well I am not for sure going to rewrite mysqldump in ruby :)
<havenn>
That'll be the last of the patch levels, yeah?
<apeiros_>
yes
<apeiros_>
well, not really, but now p levels are connected to versions
nolic has quit [Ping timeout: 252 seconds]
<havenn>
nice clean version
fgo_ has quit [Ping timeout: 244 seconds]
havenn is now known as havenwood
StoneCyp1er has joined #ruby
fgo has quit [Client Quit]
AugustoC has joined #ruby
blackmesa has quit [Client Quit]
tagrudev has quit [Remote host closed the connection]
blackmesa has joined #ruby
chrishough has joined #ruby
adriancb_ has joined #ruby
adriancb has quit [Read error: Connection reset by peer]
axl_ has joined #ruby
Rollabunna has quit [Remote host closed the connection]
kate_r has joined #ruby
<kate_r>
hi
<dru>
hi
tvon has joined #ruby
dfinninger has quit [Remote host closed the connection]
<kate_r>
suppose my desktop app stores the authentication details in a sqlite db. for security and the db should be better encrypted. but once it's encrypted, how should it be decrypted for authentication with the central server?
Rollabunna has joined #ruby
<kate_r>
how should the key be stored?
yekta has quit [Quit: yekta]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roolo has quit [Remote host closed the connection]
uptownhr has quit [Quit: uptownhr]
zorak8 has quit [Ping timeout: 264 seconds]
momomomomo has joined #ruby
blackmesa has quit [Ping timeout: 256 seconds]
arup_r has joined #ruby
<workmad3>
kate_r: welcome to why it's probably a crazy idea to do that ;)
<kate_r>
workmad3: how come?
pdoherty has joined #ruby
<workmad3>
kate_r: because you need the decryption key on the desktop in order to decrypt the database
<workmad3>
kate_r: meaning that any attacker than can grab the db can also grab the decryption key, rendering the encryption pointless
<kate_r>
workmad3: yeah
<workmad3>
*that can
nolic has joined #ruby
<kate_r>
workmad3: but, i believe apps like dropbox used to store the auth key in plain text
<kate_r>
workmad3: but now encrypt the db
mikepack has joined #ruby
StoneCyp1er has quit [Ping timeout: 272 seconds]
<yxejamir>
kate_r, have you thought to encrypt only the sensitive fields in stead of the whole DB?
livathinos has quit []
<workmad3>
kate_r: that doesn't mean they've achieved better security by doing so
<workmad3>
kate_r: they've just given warm fuzzy feelings to people who haven't thought it through
pengin has joined #ruby
Tomasso_ has quit [Quit: Page closed]
<dru>
yay for warm fuzzy feelings of security
<kate_r>
yxejamir: sure, like the auth key. but how should the key for decrypting it be stored?
<shevy>
hanmac what's up with you
iamjarvo has joined #ruby
<jhass>
kate_r: what actually would improve security is encrypting the DBs encryption key with a password and not storing that password, but asking the user it each time the app starts
<kate_r>
workmad3: perhaps their solution isn't 100% secure, but i'm guessing they aren't storing the decrypt key in plain text...
<workmad3>
kate_r: you could potentially generate a key, lock the key with a password and require that password to be put in... what jhass said
benlieb has quit [Quit: benlieb]
<kate_r>
jhass: right. but, dropbox automatically authenticates the user...
<workmad3>
that would only then be vulnerable while the app is running and has the decrypted key in memory
<jhass>
kate_r: beyond that, figure out if the API you're using uses authentication tokens and whether you can limit the access those tokens have as much as possible
<kate_r>
workmad3: sure, i get that
<yxejamir>
kate_r, that can be derived from a user-provided password, for example, or stored in a system like GNOME-keyring.
<workmad3>
kate_r: basically though, if you're looking for a completely transparent solution that's even vaguely secure and keeps everything on a single machine... you're out of luck
DaniG2k has quit [Quit: leaving]
<kate_r>
oh, keyring..
Nick_ZWG has joined #ruby
<kate_r>
perhaps that's what they're depending on..
<workmad3>
if there's a keyring handy, that can work (but bear in mind that it probably comes down to warm fuzzies for most people, as they don't tend to lock their keyring when they're not using it)
jobewan has joined #ruby
<Nick_ZWG>
I'm having a devil of a time getting Ruby to trust a self-signed certificate on OS X. I've got a Chef server with a self signed cert, and I've copied over the trusted cert into the System Keychain - but still Ruby complains when I try to make an SSL connection to that server.
<Nick_ZWG>
What am I missing?
<shevy>
yum... warm fuzzies ...
pengin_ has joined #ruby
pengin has quit [Ping timeout: 264 seconds]
<workmad3>
Nick_ZWG: your ruby is probably not using the system CA store
<Nick_ZWG>
Google searches suggest I need to add the cert to OpenSSL's trusted store, but I didn't have any success putting the .crt file in /System/Library/OpenSSL/certs/
<yxejamir>
workmad3, at least it’s locked when the computer is off, and if they don’t lock their desktop while they’re away, that’s their problem.
bricker has joined #ruby
<workmad3>
yxejamir: yeah, it's probably the best you can achieve with a single node :)
<kate_r>
can't seem to find dropbox in my keyring though
<workmad3>
kate_r: don't assume that dropbox are competent :P
dmr8 has quit [Quit: Leaving]
<catsoup>
Nick_ZWG: you will need to add it to OpenSSL/s trusted store
Cust0sL1men has quit [Ping timeout: 246 seconds]
pipework has quit [Ping timeout: 250 seconds]
<catsoup>
also, what exactly is Ruby complaining about - are you sure your cert and your key actually match?
alex88 has quit []
<kate_r>
workmad3: heh.. well, they asserted that they had fixed the auth issue that was criticised in 2011
<kate_r>
i just wonder what a sensible solution might be
<kate_r>
and whether there's an established solution
<workmad3>
Nick_ZWG: the OSX system openssl isn't usable by ruby 2.0+, so you tend to find that ruby-install or ruby-build use the homebrew version
agrinb has joined #ruby
<workmad3>
Nick_ZWG: which has a different trusted store ;)
ixti has joined #ruby
<Nick_ZWG>
workmad3: Argh.
pipework has joined #ruby
mistermo_ has quit [Remote host closed the connection]
<workmad3>
kate_r: the best solution is to give the client a revokable authentication token and not store sensitive information directly on untrustable client machines ;)
gfawcettpq has quit [Quit: Leaving.]
shay- has quit [Ping timeout: 265 seconds]
bkulbida1 has joined #ruby
olivier_bK has quit [Ping timeout: 250 seconds]
<workmad3>
kate_r: a weaker form would be to encrypt locally using a password-protected key, and require the user to enter their key each time
<kate_r>
workmad3: indeed
bkulbida_ has quit [Quit: leaving]
<workmad3>
kate_r: keychain integration there would then be possible, as you could give the user the option of storing the password in the keyring
amacou has joined #ruby
<workmad3>
kate_r: similarly, if a keychain is available, storing the authentication token in it (with that setup) would also be sensible, as it gives at least some measure of protection by encrypting at rest
<kate_r>
workmad3: you mean use a password-protected key and require the user to enter their password each time, right?
<kate_r>
rather than entering the key
<workmad3>
kate_r: yeah, sorry :)
<kate_r>
workmad3: ah :)
<workmad3>
kate_r: although if your users can remember four kilobyte of random bits and are willing to enter it each time... go for it ;)
<workmad3>
*kilobytes
jottr has joined #ruby
roolo has joined #ruby
leafybas_ has quit []
<kate_r>
heh
leafybasil has joined #ruby
rocknrolmarc has joined #ruby
<kate_r>
ok, i get the idea
kham has quit [Ping timeout: 246 seconds]
zorak8 has joined #ruby
<kate_r>
maybe dropbox did pull some clever magic..
<workmad3>
kate_r: basic principle is: you always need at least one unknown bit of data held away from your node
<kate_r>
yeah
<kate_r>
that's what i thought
<workmad3>
kate_r: more likely they've got an insecure setup, going by their history
amacou has quit [Ping timeout: 245 seconds]
<kate_r>
:)
rubytor has quit [Quit: No Ping reply in 180 seconds.]
RegulationD has joined #ruby
gfawcettpq has joined #ruby
<workmad3>
kate_r: or they're operating on the idea that your computer security is your concern, they'll operate on the principle that it's secure and rely on that assumption to secure your account ;)
zorak8 has quit [Read error: Connection reset by peer]
agrinb has quit [Read error: Connection reset by peer]
zorak8 has joined #ruby
jottr has quit [Ping timeout: 264 seconds]
agrinb has joined #ruby
connor_goodwolf has quit [Ping timeout: 252 seconds]
roolo has quit [Ping timeout: 250 seconds]
<workmad3>
kate_r: which, given the number of users, does mean that a complete compromise of all (or even a lot) of accounts is very unlikely from attacking clients :)
Macaveli has quit [Ping timeout: 250 seconds]
rocknrolmarc has quit [Client Quit]
rocknrollmarc has joined #ruby
<kate_r>
workmad3: it is/was a 'minimal viable product'!
ninedragon has quit [Ping timeout: 252 seconds]
juanpaucar has quit [Remote host closed the connection]
<centrx>
0 * 0 = 0
SouL has joined #ruby
RegulationD has quit [Remote host closed the connection]
RegulationD has joined #ruby
mistermocha has joined #ruby
agrinb has quit [Remote host closed the connection]
jheg has joined #ruby
<workmad3>
kate_r: annoyingly, cryptography is something you tend to need to think about up-front... it's hard to layer into a system afterwards, and it's not something you can do piecemeal
lkba has quit [Ping timeout: 256 seconds]
agrinb has joined #ruby
troyreadyy has quit [Quit: Leaving]
<workmad3>
kate_r: however, once you've figured out that you to do something like shove your db into an encrypted file that you unlock with a password on program startup (and move keychain integration out of your MVP), you can use something like https://github.com/cryptosphere/rbnacl for a lockbox implementation ;)
zorak8 has quit [Read error: Connection reset by peer]
<dru>
workmad3: yep :P
<workmad3>
dru: next try quines ;)
lemur has joined #ruby
rubytor has joined #ruby
<dru>
was brainstorming interview questions with coworker and asked how he'd write hello world as a palindrome and was curious how I'd do it :P
scripore has quit [Quit: This computer has gone to sleep]
agrinb has quit [Ping timeout: 256 seconds]
<dru>
minus whitespace, comments, etc, of course
<pontiki>
oh that's an interesting one!
zorak8 has joined #ruby
<pontiki>
did he figure it out?
Dopagod has joined #ruby
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dru>
he's still pondering :P
<workmad3>
dru: oh crap... now I'm wondering if you can write a palindromic quine...
pengin_ has quit [Remote host closed the connection]
einarj has quit [Remote host closed the connection]
Lildirt has quit [Read error: Connection reset by peer]
pengin has joined #ruby
Guest64 has quit [Ping timeout: 244 seconds]
Hijiri has quit [Quit: WeeChat 1.0.1]
kham has joined #ruby
<dru>
workmad3: well, there goes the rest of my day
<workmad3>
dru: :D
RegulationD has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<workmad3>
dru: if you manage it, move onto a radiation hardened palindromic quine (that retains its palindromic properties with 'radiation')
_Andres has joined #ruby
<dru>
oh dear
freerobby has quit [Quit: Leaving.]
Dopagod has quit [Client Quit]
<ton31337>
who is palindrome?
<workmad3>
dru: if you achieve it, you gain a few million geek points ;)
stunder has joined #ruby
<workmad3>
ton31337: you mean 'what is a palindrome'?
Lildirt has joined #ruby
FooMunki_ has joined #ruby
Zesty has joined #ruby
rdark has joined #ruby
<ton31337>
hello world as a palindrome
jamiejackson has joined #ruby
<pontiki>
that should be worth some actual bucks
pengin has quit [Ping timeout: 246 seconds]
freerobby has joined #ruby
<pontiki>
a radiation harded palindromic quine???
<dru>
I'm not familiar with radiation hardening
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tunaCanBruh has quit [Ping timeout: 250 seconds]
zorak8 has quit [Ping timeout: 252 seconds]
<jamiejackson>
hi folks, i just installed ruby dltk in eclipse luna, but i get [Plug-in "org.eclipse.dltk.ruby.ui" was unable to instantiate class "org.eclipse.dltk.ruby.internal.ui.editor.RubyEditor".] when i try to open a rb file with it. any idea what's going on?
rocknrollmarc has quit [Quit: User abort with 5 Ctrl-C's]
Ankhers has quit [Read error: Connection reset by peer]
rocknrollmarc has joined #ruby
jaequery has joined #ruby
<jhass>
jamiejackson: maybe a good chance to try living without eclipse for a while :P
blackmesa has joined #ruby
adriancb_ is now known as adriancb
Crisix has joined #ruby
<jamiejackson>
jhass: :P
Ankhers has joined #ruby
strixd has quit [Quit: 500]
allenn has quit [Remote host closed the connection]
Crisix has quit [Max SendQ exceeded]
DouweM has joined #ruby
Ulrike has left #ruby ["[18:55:57] <blerk> For me, an amplifier is a condom with ostriches sauce"]
panzi has joined #ruby
msgodf has quit [Remote host closed the connection]
jottr has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Dopagod has joined #ruby
<shevy>
eclipse is hardcoded into the brain
<shevy>
just as vim
<shevy>
long live notpad \o/
<shevy>
erm
<shevy>
*notepad
ninedragon has joined #ruby
justin_pdx has quit [Quit: justin_pdx]
Dopagod has quit [Client Quit]
<miah>
*insert editor holy war here*
Dopagod has joined #ruby
jenrzzz has joined #ruby
roolo has joined #ruby
<rhllor>
nothing beats mac's textedit yo
<rom1504>
vim is the holy one
<rom1504>
:p
<miah>
there we go
<jhass>
miah: eclipse counts as editor? :P
<miah>
you never fail me
gluten_hell has quit [Quit: Computer has gone to sleep.]
wallerdev has joined #ruby
anaeem1 has joined #ruby
<ponga>
what? eclipse is an editor?
zorak8 has joined #ruby
<rom1504>
eclipse has an editor
<ponga>
ah i see what's going on here
<ponga>
sublime ftw
<panzi>
can anyone help me with capistrano deployment errors here?
<rhllor>
ponga: I use sublime for everythingXD
<rom1504>
depends if you are using vim or emacs
DouweM_ has joined #ruby
<rom1504>
panzi: only knowing that can we help you
<rom1504>
:p
lolmaus has quit [Quit: Konversation terminated!]
<ponga>
rhllor: me too, even for simple txt file
DouweM has quit [Read error: Connection reset by peer]
<panzi>
rom1504: I tried to upgrade our staging system to ruby 2.2.0. I did setup rvm default to 2.2.0, reinstalled passenger+nginx, updated gems etc. but now when I try to deploy I get this: http://pastie.org/9981735 I don't understand what is happening. Gemfile.lock wants rake 10.4.2. where is rake-10.3.2 coming from?
allenn has joined #ruby
Takle has quit [Remote host closed the connection]
zenith_ has quit [Ping timeout: 272 seconds]
phansch has quit [Ping timeout: 272 seconds]
<rhllor>
sublime is fast startup time, and good syntax highlighting, everything you need for a quick fix
<pontiki>
wait wait, am i too late for the editor war???
allenn has quit [Remote host closed the connection]
<catsoup>
geany :-P
<rhllor>
pontiki: i belive sublime won
<catsoup>
(ok, vim really, of course)
vtunka has quit [Quit: Leaving]
<pontiki>
there will never be a winner
Trynemjoel has quit [Ping timeout: 256 seconds]
<rom1504>
the winner is intellij idea
<pontiki>
nooooooooo
<pontiki>
well, for java, okay
<rom1504>
sure ^^
dreinull75 has quit [Remote host closed the connection]
<rhllor>
catsoup: lol I remember geany when I was using ubuntu. pretty decent, but could use a lot of improvement
<ponga>
is emacs editor?
<pontiki>
i'd rather use idea than eclipse
<pontiki>
no, ponga, go back to sleep
gfawcettpq has quit [Remote host closed the connection]
<ponga>
i support rhllor's opinion, sublime wins
The_Phoenix has quit [Quit: Leaving.]
<ponga>
pontiki: how did you know its late night here?!
<pontiki>
i do like sublime
<pontiki>
i don't care what time it is
agrinb has joined #ruby
benlieb has joined #ruby
<pontiki>
WE ARE CODERS!! WE DON'T LOOK AT THE CLOCK
<dru>
sublime++
<dru>
er, sublime += 1, sorry
<pontiki>
lol
Trynemjoel has joined #ruby
<rhllor>
most of the time, all I want are programs 1 - 3 file programs, there's no point waiting for eclipse or xcode to start up then make a new project and whatever for simple programs. That's where sublime wins
<pontiki>
srsly, tho, best editor is the one that makes you most productive
klmlfl has joined #ruby
<dru>
in other words, nano
* dru
moonwalks out
<pontiki>
lol
blackmesa has quit [Quit: WeeChat 1.1.1]
<ponga>
lol dru
sambao21 has quit [Quit: Computer has gone to sleep.]
<rhllor>
dru: nano is a vim wannabe
<rom1504>
what about cat !
<pontiki>
if startup speed was the only consideration, then sed
danjordan has quit [Quit: danjordan]
<dru>
rhllor: I bet my nanorc is longer than your vimrc
blackmesa has joined #ruby
<pontiki>
cat isn't an editor!!
agrinb has quit [Remote host closed the connection]
<rom1504>
hmm then bash+cat
<rhllor>
nothing beats notepad++ on windows
ki0 has quit [Ping timeout: 250 seconds]
danjordan has joined #ruby
<rhllor>
notepad++++ :)
<Fraeon>
I code on my paper notepad
agrinb has joined #ruby
<pontiki>
emacs+++++++++++
allcentury has joined #ruby
<rom1504>
hmm yeah not cat, echo
<pontiki>
it goes up to eleven
<pontiki>
:D
<Fraeon>
I like emacs
<rom1504>
echo "your code here" >> file.rb
<Fraeon>
It's one of the better operating systems I've used
<pontiki>
oneofus oneofus
<pontiki>
indeed!
<rhllor>
rom1504: holy shit I'm dying
<pontiki>
and windowing systems
<jhass>
you all are disappointing for not mentioning ed yet
<pontiki>
and mail/newsreader
<pontiki>
jhass: i mentioned sed
<pontiki>
beats ed all the way :D
sambao21 has joined #ruby
<jhass>
it's not unix though, does more than one thing
rdark has quit [Ping timeout: 250 seconds]
<catsoup>
ed *is* the standard text editor
zenith_ has joined #ruby
anaeem1__ has joined #ruby
<shevy>
you noobs
<shevy>
I *think* and my thoughts become code!
chinmay_dd|away is now known as chinmay_dd
<pontiki>
ed does more than one thing
<pontiki>
it has to run a REPL
<shevy>
ed, order me a pizza!
roolo has joined #ruby
<shevy>
ed: I'm gonna shell out to joe
<pontiki>
emacs has a mode for that
<rhllor>
emacs is a relic though. no matter what text editor I use I always find myself doing C^X C^S
<shevy>
emacs has a mode for everything
benlieb has quit [Quit: benlieb]
<dru>
pico~
<shevy>
nano!
<pontiki>
too late, been mentioned
mikecmpbll has quit [Ping timeout: 250 seconds]
zenith_ has quit [Client Quit]
<dru>
tbh I'm as fast in nano as I am in vim
scripore has joined #ruby
zenith_ has joined #ruby
<dru>
but only for that delicious trollability
<rhllor>
I miss the good old days of punch cards :'(
<pontiki>
hahahaha
<catsoup>
dru: have you factored in the inevitable swearing when you do :wq and it doesn't work?
<pontiki>
oh yeah
<catsoup>
see alos: emacs
RDash has quit [Ping timeout: 276 seconds]
<pontiki>
when you have a deck of 1000 blank cards and you drop the box
<dru>
catsoup: ctrl+o+enter+ctrl+k beats esc+:wq any day
agrinb has quit [Ping timeout: 265 seconds]
benlieb has joined #ruby
<dru>
I don't use emacs because I only have 10 fingers
anaeem1 has quit [Ping timeout: 250 seconds]
<rhllor>
my stepdad used to use punchcards to write fortran programs
pengin has joined #ruby
<rhllor>
dru: lol
<pontiki>
when i was doing help desk at uni, some poor sod did that. the look on his face, i wanted to cry, too.
<catsoup>
what, use emacs?
lemur has quit [Remote host closed the connection]
DouweM_ has quit [Quit: Leaving...]
<pontiki>
no, a deck of 1000 punched cards
<catsoup>
:-(
<rhllor>
it's pretty fucking ghetto, writing down your program, fedding it to a compiler to punch holes in your card then feeding that to a computer
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
<catsoup>
it's been rebranded 'steampunk'
lemur has joined #ruby
<miah>
too bad computers aren't powered by steam
<rhllor>
pontiki: lololol, I would have died
<catsoup>
miah: you mean yours isn't?
<pontiki>
humm... i haven't seen any steampunkers carrying around punchcard decks. that would be the awesomest accessory
roolo has quit [Ping timeout: 246 seconds]
<rhllor>
pontiki: I carry around floppy discs and I only have one punchcard that I keep in a frame
lkba has joined #ruby
<miah>
mine is powered by the tears of humanity
<pontiki>
oh, well said, miah
shredding has quit [Ping timeout: 240 seconds]
<rhllor>
you think errors are frustrating now? imagine writing down a whole program, finding out you mispelled something
<catsoup>
this is a mac, the same is probably true
<pontiki>
p.much all computers
RDash has joined #ruby
<pontiki>
factory worker in china
<catsoup>
actually *this* is some kind of linux image. but i'm typing on a mac.
<miah>
which is totally overkill and insane for most things. unless you really want a standalone ruby packaged with your app
gfawcettpq has joined #ruby
<pontiki>
there's at least 4 different ways to interpret scripore's original request that i can think of off the top of my head. which question are you saying is different?
lrocknrolmarc has quit [Ping timeout: 256 seconds]
<miah>
distributing to places that dont have a ruby ecosystem
claw has quit [Ping timeout: 245 seconds]
<pontiki>
that's only one of the possibilities
<miah>
right
<miah>
only at work do i package things in a way where i know what the ecosystem will be
<miah>
outside of that, if you cant figure out how to download/install my package. tough shit.
<pontiki>
so don't say "different question" when the question hasn't actually been decided :)
<shevy>
cool... node.js "Note: Python 2.6 or 2.7 is required to build from source tarballs."
<shevy>
no python3 :)
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tvw has quit [Remote host closed the connection]
Nick_ZWG has joined #ruby
<pontiki>
i will say this for atom -- the people doing their web graphics are pretty creative
<shevy>
hehehe
tunaCanBruh has quit [Ping timeout: 256 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
MasterPiece has quit [Read error: Connection timed out]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
maximski has joined #ruby
ptrrr has joined #ruby
zorak8 has quit [Ping timeout: 255 seconds]
maximski has quit [Max SendQ exceeded]
DissonantGuil3 has joined #ruby
maximski has joined #ruby
MasterPiece has joined #ruby
DissonantGuile has quit [Ping timeout: 240 seconds]
maximski has quit [Max SendQ exceeded]
<pontiki>
later
<rhllor>
pontiki: you talking about the editor?
maximski has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mkaesz has quit [Remote host closed the connection]
B1n4r10 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Takle has joined #ruby
pontiki has quit [Quit: painting class!!]
OrbitalKitten has joined #ruby
n80 has quit [Quit: n80]
fryguy9 has quit [Quit: Leaving.]
flughafen_ has quit [Ping timeout: 256 seconds]
nobitanobi has joined #ruby
sent1nel has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
AugustoC has quit [Quit: Connection closed for inactivity]
d10n-work has quit [Quit: Connection closed for inactivity]
alien_ has joined #ruby
deric_skibotn has joined #ruby
jerius has quit [Quit: /quit]
xiq has joined #ruby
jenrzzz has joined #ruby
jottr has quit [Ping timeout: 264 seconds]
mloveless has joined #ruby
jerius has joined #ruby
last_staff has joined #ruby
vtunka has joined #ruby
lolmaus has joined #ruby
<peteyg>
When given a UTC timestamp (e.g. "2015-02-25T18:00:00Z") and also a Timezone offset (e.g. "-0800"), what a method in Ruby to get the time in the TZ provided (I'd like "2015-02-25T10:00:00-0800" as the output)?
<arup_r>
I want to get a list of future 8 dates from current date. So.. I can do Date.today..Date.today + 8.days ..Easy. But the problem is I don't want to include weekends (sat and sun).. Only weekdays.. What is the best way to implement it ?
<peteyg>
I'm using the standard Time class and no ActiveSupport, I should add.
<arup_r>
So.. If in my list say one weekend is present.. My list wouldn't include it.. rather another possible weekday will be included
baweaver has joined #ruby
_lazarevsky has joined #ruby
<_lazarevsky>
hey guys
<_lazarevsky>
lets say I have a hash with the keys 1, 2 and 3
<ponga>
hey
FooMunki_ has quit [Quit: FooMunki_]
<_lazarevsky>
I wanna remove the element with value 1
<_lazarevsky>
with key 1*
roolo has joined #ruby
<_lazarevsky>
so I wanna end up with a hash which contains two elements, keys 2 and 3
<peteyg>
@arup_r Do you care about holidays? Or just weekdays proper?
<ponga>
_lazarevsky: and you want to know how to that?
<arup_r>
just weekdays
<_lazarevsky>
ponga: yes
<_lazarevsky>
ponga: I just checked the api for hash, there's no remove method
casadei has quit [Remote host closed the connection]
casadei has joined #ruby
baweaver has quit [Remote host closed the connection]
<ponga>
im dumb i need to start up irb for that
<ponga>
wait
<arup_r>
ponga: i forgot the password of my IRB
decoponio has quit [Quit: Leaving...]
<ponga>
arup_r: you can have password for irb?
<ponga>
isn't it something you just type in on terminal
<arup_r>
:)
<arup_r>
kidding
roolo has quit [Ping timeout: 272 seconds]
drkush has quit [Remote host closed the connection]
mikepack has quit [Remote host closed the connection]
monod has quit [Quit: Sto andando via]
drkush has joined #ruby
monod has joined #ruby
werelivinginthef has joined #ruby
<peteyg>
arup_r: Your solution will only work if you wrap past ONE weekend.
<peteyg>
arup_r: Unless that's all you care about, then I guess it's fine.
doodlehaus has joined #ruby
<arup_r>
past ONE weekend means ?
afex has joined #ruby
matcouto has joined #ruby
jespada has quit [Quit: Leaving]
OrbitalKitten has joined #ruby
drkush has quit [Read error: Connection reset by peer]
max96at is now known as max96at|off
panzi has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0.1/20150209172659]]
drkush has joined #ruby
drkush has quit [Read error: Connection reset by peer]
drkush has joined #ruby
OrbitalKitten has quit [Client Quit]
roolo has joined #ruby
<peteyg>
arup_r: Think about it. What if you put in start as "Time.now" and n as 21?
nettoweb has joined #ruby
flughafen_ has joined #ruby
<ponga>
simple math
<peteyg>
arup_r: If you have n as anything bigger than 14, you're going to miss out on extra days because you hard coded the constant "3" day lookahead.
<peteyg>
arup_r: Instead you should be doing something like "(n % 7) * 3"
<peteyg>
That way you'll lookahead 3 days for every weekend you encounter
<peteyg>
"(n / 7) * 3" <- sorry, typo. Not mod (%), should be divide (/)
tjohnson has joined #ruby
iceden has joined #ruby
silkfox has quit [Ping timeout: 265 seconds]
<arup_r>
well... nice idea.. But my math system seems not working..
<arup_r>
:(
<arup_r>
Not able to catch you
shellfu_afk has quit [Remote host closed the connection]
horsecowdog has joined #ruby
<peteyg>
arup_r: That was incorrect, use this for the correct result: "(3/7.0).ceil * 3"
diego1 has joined #ruby
roolo has quit [Ping timeout: 240 seconds]
<arup_r>
ok.. why that adjustment needed still not getting
Guest13442 has joined #ruby
Dopagod has quit [Ping timeout: 245 seconds]
momomomomo has quit [Ping timeout: 255 seconds]
lanemeyer has quit [Ping timeout: 245 seconds]
SouL_ has joined #ruby
paulfm has quit [Quit: Goodbye]
Limix has joined #ruby
<arup_r>
got the issue
<arup_r>
peteyg: your point I got
huddy has quit [Quit: Connection closed for inactivity]
mskaesz has joined #ruby
momomomomo has joined #ruby
sevvie has quit [Ping timeout: 250 seconds]
mskaesz has quit [Remote host closed the connection]
baweaver has joined #ruby
SouL has quit [Ping timeout: 250 seconds]
OrbitalKitten has joined #ruby
<arup_r>
peteyg: why you used "(3/7.0).ceil * 3" all 3 here?
<arup_r>
because I used ?
mskaesz has joined #ruby
aswen has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
otisZart has joined #ruby
monod has quit [Ping timeout: 264 seconds]
_maes_ has joined #ruby
gfawcettpq has quit [Ping timeout: 264 seconds]
Dopagod has joined #ruby
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
art-solopov has joined #ruby
sent1nel has quit [Read error: Connection reset by peer]
scripore has joined #ruby
aamador has joined #ruby
oki has joined #ruby
roolo has joined #ruby
sevvie has joined #ruby
iamjarvo has joined #ruby
serivich has quit [Ping timeout: 246 seconds]
ravenzz has joined #ruby
Parker0 has joined #ruby
ndrei has joined #ruby
ndrei_ has joined #ruby
mjuszczak has joined #ruby
silkfox has joined #ruby
roolo has quit [Ping timeout: 245 seconds]
kirun has joined #ruby
_Andres has joined #ruby
debajit has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
Dmr has joined #ruby
Nahra has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
razieliyo has quit [Ping timeout: 246 seconds]
kham has quit [Ping timeout: 256 seconds]
ninedragon has joined #ruby
redjack1964 has joined #ruby
giuseppesolinas has left #ruby ["Leaving"]
yekta has joined #ruby
jenrzzz has joined #ruby
horsecowdog has quit [Remote host closed the connection]
horsecowdog has joined #ruby
<flughafen_>
miah: just fyi, i wanted to post how i got it to install... gem install nokogiri -- --use-system-libraries
sivsushruth has quit [Remote host closed the connection]
<flughafen_>
miah: it installed fine and now i'm running bundle again
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fuhgeddaboudit has quit [Client Quit]
fuhgeddaboudit has joined #ruby
<Limix>
Hi, posted this same question in the rails channe: Hi, has anyone integrated azure AD with rails? If so any feedback? Really trying to use an exsiting user managment service, also looking at stormpath
dru has quit [Quit: Leaving]
OrbitalKitten has joined #ruby
terlar has quit [Ping timeout: 246 seconds]
roolo has quit [Ping timeout: 272 seconds]
<shadoi>
arup_r: Chronic::Span.new(Time.now, Chronic.parse("3 weekdays from today"))
pengin has quit [Remote host closed the connection]
MatthewsFace has joined #ruby
<arup_r>
shadoi: ^^
last_staff has quit [Read error: Connection reset by peer]
sambao21 has quit [Quit: Computer has gone to sleep.]
ghostpl_ has joined #ruby
jonr22 has joined #ruby
werelivinginthef has quit [Remote host closed the connection]
brownfaux has quit [Quit: leaving]
<arup_r>
ponga: Please review
<shadoi>
arup_r: I prefer to not maintain my own brittle math. ;)
afex has quit [Ping timeout: 250 seconds]
<arup_r>
you liked mine one ?
<arup_r>
:D
ghostpl_ has quit [Remote host closed the connection]
brownfaux has joined #ruby
aswen has quit [Ping timeout: 245 seconds]
cjim has joined #ruby
<ponga>
arup_r: so you are okay with only 1 week?
_djbkd has quit [Remote host closed the connection]
nerium has left #ruby [#ruby]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<arup_r>
See... I just want to take any n number of weekdays from the current date except weekends
<ponga>
k then
<ponga>
it looks ok to me
<arup_r>
I think my current implementation wouldn't betray with me
<arup_r>
humm
leat has quit [Remote host closed the connection]
<ponga>
arup_r: it wouldn't, until you wanted to go beyond 1 week
<ponga>
lol
rekky has quit []
monod has joined #ruby
bMalum has quit [Quit: bMalum]
_djbkd has joined #ruby
<arup_r>
1 week means?
<arup_r>
ok 1 week == more than 7 days ?
<arup_r>
hehehe
mjuszcza_ has joined #ruby
jonr22 has quit [Ping timeout: 264 seconds]
<ponga>
yop
<ponga>
haha
Pupeno has quit [Read error: Connection reset by peer]
<ponga>
arup_r:
<arup_r>
that never gonna happem
yfeldblum has joined #ruby
roolo has joined #ruby
<ponga>
im thinking of ordering mcdonald in the morning now, does it make me filthy?
despai has joined #ruby
baweaver has quit [Remote host closed the connection]
<ponga>
guilty treat
<arup_r>
I want 5 days week with 1 day off
Pupeno has joined #ruby
<arup_r>
Yes.. that's cool idea
leat has joined #ruby
mjuszczak has quit [Ping timeout: 245 seconds]
<ponga>
arup_r: you see, i live in a place where they deliver mcdonald without extra charge
<ponga>
sweet thing isnt it
<ponga>
24/7
<arup_r>
here also not
scripore has quit [Quit: This computer has gone to sleep]
GPH|work has quit [Quit: Leaving]
<ponga>
cool
<ponga>
so me saying, why not?
<arup_r>
If they break their legs or bike.. then we charge them here
<arup_r>
ponga: May be competing with KFC
<arup_r>
lol
<ponga>
lol
<arup_r>
and PiZZa
<ponga>
but wait.. they don't deliver KFC here yet..
<ponga>
do they? in your area?
<arup_r>
Mo idea
<arup_r>
No idea
<arup_r>
I never ordered
momomomomo has quit [Ping timeout: 272 seconds]
<ponga>
ah ha
Cust0sL1men has joined #ruby
momomomomo has joined #ruby
<ponga>
btw arup_r im very dumb coding, you probably shouldn't seek my advice
<arup_r>
I had in the KFC shop only
sambao21 has joined #ruby
roolo has quit [Ping timeout: 250 seconds]
<ponga>
you could seek my advice about cooking some asian food
<ponga>
but not coding in ruby
<arup_r>
me too... that's why jhass left the IRC
<ponga>
did he? he is still here?
<arup_r>
ooo
<ponga>
/who jhass
<ponga>
/whois jhass
<ponga>
what the
<ponga>
why isn't command working
pdoherty has quit [Quit: Leaving]
<arup_r>
No sound.. that's why
<ponga>
hm
<arup_r>
Ok.. Bye
<arup_r>
time to sleep
<arup_r>
I write 5 LOC per day
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
c355E3B has joined #ruby
hollywood has quit [Quit: Leaving]
<wasamasa>
you inserted a ^H before
<wasamasa>
clean your terminal
<ponga>
arup_r: what is loc btw
<wasamasa>
I like how jhass' homepage tells me that I'm just an idiot
<arup_r>
lines of code
<shevy>
hey
<ponga>
oh ok
n80 has joined #ruby
<shevy>
jhass has a great homepage
<ponga>
arup_r: i write like 3 loc per day
nobitanobi has quit [Remote host closed the connection]
<wasamasa>
or rather, the machine he's using to enter IRC
Lewix has joined #ruby
<shevy>
ponga in Go?
<ponga>
shevy: do you just love mocking me
<shevy>
hey
<shevy>
if I were to mock you
<shevy>
I'd ask you this:
<shevy>
ponga in java?
jenrzzz has joined #ruby
<ponga>
oh
<ponga>
i see
<ponga>
i saw that coming!!
<shevy>
:D
fuhgeddaboudit has quit [Quit: Ex-Chat]
claw_ has quit [Ping timeout: 240 seconds]
<ponga>
i saw that coming when you said 'if i were to...'
<ponga>
but no, i don't like Go
<ponga>
maybe because for go you had to code like java?
<ponga>
like you put main(arg) and that shit
dreinull75 has joined #ruby
<ponga>
shevy: in ruby
<ponga>
im faithful
fuhgeddaboudit has joined #ruby
commmmodo has quit [Quit: commmmodo]
claw__ has joined #ruby
<dreinull75>
I find rdoc clutters my code because there is not much to explain but I still want an api for people if they want some overview. Any options?
mloveless has quit [Remote host closed the connection]
freerobby has quit [Read error: Connection reset by peer]
fuhgeddaboudit has quit [Client Quit]
freerobby has joined #ruby
fuhgeddaboudit has joined #ruby
jottr_ has joined #ruby
<arup_r>
Bye all
bMalum has joined #ruby
danman_ has joined #ruby
baweaver has joined #ruby
rocknrollmarc has quit [Read error: Connection reset by peer]
fuhgeddaboudit has quit [Client Quit]
timonv has joined #ruby
Sakens has quit [Ping timeout: 264 seconds]
monod has quit [Read error: Connection reset by peer]
danman_ has quit [Client Quit]
wldcordeiro has quit [Ping timeout: 256 seconds]
Lewix has quit []
danman has quit [Ping timeout: 272 seconds]
scripore has joined #ruby
<ponga>
shevy: i code only because i enjoy doing it, and frankly, i only enjoy it when im using ruby
commmmodo has joined #ruby
iamjarvo has joined #ruby
<shevy>
yeah
havenwood has quit [Remote host closed the connection]
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0/2015010900]]
Sakens has joined #ruby
kl has joined #ruby
ninedragon has quit [Ping timeout: 245 seconds]
SOLDIERz_ has joined #ruby
ghostpl_ has joined #ruby
lordkryss has quit [Quit: Connection closed for inactivity]
amacou has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
scripore has quit [Client Quit]
Dmr has quit [Quit: Leaving]
decoponio has joined #ruby
naftilos76 has quit [Remote host closed the connection]
cpt_yossarian has joined #ruby
graydot has joined #ruby
casadei has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mjuszcza_ has quit []
mikepack has joined #ruby
Nahra has joined #ruby
amacou has quit [Ping timeout: 245 seconds]
scripore has joined #ruby
scripore has quit [Client Quit]
diego1 is now known as diegoviola
n1lo has quit [Quit: Leaving]
nrsk has joined #ruby
ghostpl_ has quit [Remote host closed the connection]
matcouto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jottr_ has quit [Ping timeout: 265 seconds]
tonybird has joined #ruby
tonybird has quit [Client Quit]
fuhgeddaboudit has joined #ruby
roolo has joined #ruby
sinkensabe has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 256 seconds]
nobitanobi has joined #ruby
OrbitalKitten has joined #ruby
gfawcettpq has quit [Ping timeout: 264 seconds]
mikepack has quit [Read error: Connection reset by peer]
mikepack_ has joined #ruby
roolo_ has joined #ruby
roolo has quit [Read error: Connection reset by peer]
rekky has joined #ruby
hgl has quit [Max SendQ exceeded]
flughafen_ has quit [Ping timeout: 255 seconds]
hgl has joined #ruby
ghostpl_ has joined #ruby
leafybasil has quit [Remote host closed the connection]
terlar has joined #ruby
momomomomo_ has joined #ruby
quazimodo has quit [Ping timeout: 246 seconds]
roolo_ has quit [Ping timeout: 264 seconds]
leafybasil has joined #ruby
monod has joined #ruby
momomomomo has quit [Ping timeout: 246 seconds]
momomomomo_ is now known as momomomomo
terlar has quit [Client Quit]
otisZart has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
terlar has joined #ruby
maximski has quit [Remote host closed the connection]
kham has joined #ruby
maximski has joined #ruby
_djbkd has quit [Remote host closed the connection]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
terlar has quit [Client Quit]
despai has quit [Quit: This computer has gone to sleep]
ghostpl_ has quit [Remote host closed the connection]
roolo has joined #ruby
diegoviola has quit [Ping timeout: 245 seconds]
tunaCanBruh has quit [Ping timeout: 250 seconds]
RegulationD has joined #ruby
leafybasil has quit [Remote host closed the connection]
MasterPiece has quit [Ping timeout: 256 seconds]
ninedragon has joined #ruby
Dopagod has quit [Ping timeout: 250 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
ghostpl_ has joined #ruby
havenwood has joined #ruby
ferr has quit [Ping timeout: 256 seconds]
rodfersou has quit [Quit: leaving]
MasterPiece has joined #ruby
Fluent has quit [Quit: 2 Fluent]
aamador has quit [Quit: Leaving]
Fluent has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
RegulationD has quit [Ping timeout: 246 seconds]
roolo has quit [Ping timeout: 255 seconds]
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
diego1 has quit [Changing host]
diego1 has joined #ruby
rkeene has joined #ruby
diego1 is now known as diegoviola
fuhgeddaboudit has quit [Ping timeout: 256 seconds]
despai has joined #ruby
RegulationD has joined #ruby
timonv has quit [Ping timeout: 272 seconds]
_djbkd has joined #ruby
sambao21 has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shum has joined #ruby
<rkeene>
I'm creating some OS package for some Ruby Gems. Is there any documentation on doing so ? Also, all my builds are cross-compiled (native OS is irrelevant, but I do build a native-ruby package before building any gems so a Ruby is available for the native platform, target is always Linux/x86_64)
afex has joined #ruby
Pupeno_ has joined #ruby
tvw has quit [Remote host closed the connection]
Pupeno_ has quit [Remote host closed the connection]
Pupeno has quit [Read error: Connection reset by peer]
jcromartie has joined #ruby
despai has quit [Client Quit]
OrbitalKitten has joined #ruby
kalusn has quit [Remote host closed the connection]
<rkeene>
Also, how do I ensure that "gem" never talks to the network ?
WhereIsMySpoon_ is now known as WhereIsMySpoon
WhereIsMySpoon has quit [Changing host]
WhereIsMySpoon has joined #ruby
xiq has quit [Ping timeout: 244 seconds]
<Hijiri>
unplug ethernet
rocknrollmarc has joined #ruby
roolo_ has quit [Ping timeout: 252 seconds]
<rkeene>
That's not convienent for a build system
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
werelivinginthef has quit [Ping timeout: 252 seconds]
kalusn has joined #ruby
<c355E3B>
rkeene, you can do it at the system level
<wasamasa>
use the network condom
wottam has joined #ruby
shadoi has quit [Ping timeout: 240 seconds]
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<c355E3B>
EG use a vm
<wasamasa>
or more seriously, just turn down all network devices
<rkeene>
That's also not convienent for a build system, which may be building hundreds of other things simultaneously
<c355E3B>
chroot + tcp wrappers?
<wasamasa>
lol
<rkeene>
I just want to ensure that "gem" doesn't go fetch things that I haven't fetched and verified the SHA256 of
<c355E3B>
or something cgroup based
ZoanthusR has joined #ruby
tunaCanBruh has joined #ruby
<rkeene>
TCP wrappers would not help here, chroot if I there's no way to make "gem" respect the idea of only doing what I want so that no matter how far into the future I run this code it always produces the same output
jaequery has joined #ruby
<wasamasa>
rkeene: good luck with that
<rkeene>
But that would be a big headache since none of my builds has root access, so I'd have to write a wrapper that handles it appropriately
<eam>
rkeene: you can use iptables
shadoi has joined #ruby
<rkeene>
So nobody else creates packages from Gem files ?
<wasamasa>
rkeene: nobody creates packages under these silly requirements
<c355E3B>
rkeene, most people use Bundler to deal with gem dependencies for production
<rkeene>
wasamasa, Of wanting to verify the packages before making them ?
<eam>
rkeene: you run your build as a particular user?
<wasamasa>
rkeene: no, of forbidding them network access
<eam>
rkeene: on linux?
<eam>
wasamasa: that's not true
<eam>
it's a common requirement
<eam>
and it's totally doable
<rkeene>
eam, The build runs as a regular user on Mac OS X, Windows, FreeBSD, etc -- the target is always Linux/x86_64
<rkeene>
It really *SHOULD* be a common requirement, otherwise it's hard to get reproducible builds
<eam>
rkeene: well on linux in particular you can use cgroups to disable network access on a per-process-group basis
<wasamasa>
you tell the build tool to use something local instead
<eam>
or you can use the iptables user module to match packets based on user ID
<wasamasa>
it's not that hard
<eam>
(and drop them)
<eam>
wasamasa: at scale it's a pretty common issue to need to track and limit network accesses in builds
pandaant has quit [Remote host closed the connection]
neanderslob has joined #ruby
mikepack_ has quit [Ping timeout: 245 seconds]
<rkeene>
Hmm, building these ruby gems is failing because it's compiling something and expecting to be able to run it, even though it's for a different platform
silkfox has joined #ruby
terlar has quit [Remote host closed the connection]
<shevy>
rkeene you could download the .gem files, and repackage; you can install local gems too when you have them local
terlar has quit [Remote host closed the connection]
<shevy>
I am unfamiliar with these gem names rkeene
<shevy>
rubygem-rack
<shevy>
that sounds as if you use a distribution?
<rkeene>
shevy, I'm downloading the gem file, and creating a native OS package from them, I just want to make sure "gem" won't go out to the Internet and fetch anything
Hijiri has quit [Quit: WeeChat 1.0.1]
terlar has joined #ruby
<shevy>
that's the default for gem ;)
<shevy>
to go and fetch remote gems!
<rkeene>
Right, I want to inhibit that
riotjones has joined #ruby
<rkeene>
I already have the gem, I just want to put it on disk
<rhllor>
in irb for ruby 2.2 i was looking through [].methods to see the methods of an array, and I didn't find a :second, or :third method, wasn't there methods like that before?
<baweaver>
nope
<baweaver>
rails
wald0 has quit [Ping timeout: 252 seconds]
<baweaver>
go to a rails console
<baweaver>
it's there
<rhllor>
i swear there was in like 2.0 or 1.9 or something
<shevy>
we try to figure things out by sheer intelligence (try-and-error)
<GaryOak_>
error and try
<shevy>
good point
<havenwood>
error, trial
DouweM has joined #ruby
redjack1964 has quit [Remote host closed the connection]
<rkeene>
weaksauce, I saw that but assumed it was about building a Gem and not installing it (to an alternate location, without attempting to access any network resources so that builds are reliably rebuildable)
towski_ has joined #ruby
commmmodo has joined #ruby
babykosh has joined #ruby
codeurge has joined #ruby
<rkeene>
Right now everything else I get builds bit-for-bit identical binaries no matter how far into the future things go
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
jonr22 has joined #ruby
roolo has quit [Ping timeout: 264 seconds]
iamjarvo has joined #ruby
<GaryOak_>
red-green-swear-refactor
babykosh has quit [Read error: Connection reset by peer]
babykosh has joined #ruby
<GaryOak_>
is there a set theory based programming language?
Dopagod has quit [Read error: Connection reset by peer]
<rhllor>
why must you all be so hasty?
_djbkd has joined #ruby
<Fluent>
And this is why Ruby is awesome
Dopagod has joined #ruby
echevemaster has joined #ruby
AlecTaylor has joined #ruby
AlecTaylor has joined #ruby
Dopagod is now known as BukLau
<AlecTaylor>
hi
brownfaux has quit [Quit: leaving]
<AlecTaylor>
:`/foo/lib/hello.rb has module Hello; class Hello; end; end;`. In /foo/lib/cli.rb I am running require `'hello'; h = Hello::Hello.new;`. Why do I get a "LoadError"?
juanpaucar has quit [Read error: Connection reset by peer]
vpereira_ has quit [Ping timeout: 245 seconds]
jerius has quit [Ping timeout: 246 seconds]
juanpaucar has joined #ruby
vpereira_ has joined #ruby
scripore has joined #ruby
<havenwood>
greedo: OpenURI is in the stdlib but doesn't take you much past GET requests. HTTP has a slick API but requires a bit of ext compiling. HTTPClient is pure Ruby and featureful. Faraday supports a bunch of adapters and yeah the Rack-like middleware stuff.
<havenwood>
greedo: Typhoeus is nice as well when speed matters. Or Curb for that matter, a libcurl wrapper.
juanpaucar has quit [Remote host closed the connection]
<havenwood>
greedo: There're a number of Net::HTTP wrappers, like Mechanize, RestClient, HTTParty, etc.
juanpaucar has joined #ruby
uptownhr has joined #ruby
<greedo>
yeah, I think Faraday might be what I am looking for
<havenwood>
greedo: It lets you use nice stuff like Typhoeus or HTTPClient, whatever's appropriate. I actually don't tend to use it for simple stuff but as things get more complex it can offer pluggable choices.
sega05 has joined #ruby
<havenwood>
greedo: I HTTP or HTTPClient for simple stuff.
<havenwood>
I like*
roolo has joined #ruby
<greedo>
yeah, you can hook into the request/response cycle
<sega05>
hi! i am trying to set a variable and throw an exception if the function setting the variable fails. basically, like this: var=function_hiera(["var"]) || raise exception
ptrrr has quit [Quit: ptrrr]
<sega05>
i can't find syntax for that which works quite right. do you have any ideas?
nini1294 has quit [Read error: Connection reset by peer]
<eam>
havenwood: brings a new meaning to "makefiles"
<havenwood>
workmad3: I can't speak to Quenyan.
<Butch128>
"Tabs are 8 characters, and thus indentations are also 8 characters. There are heretic movements that try to make indentations 4 (or even 2!) characters deep, and that is akin to trying to define the value of PI to be 3."
<workmad3>
havenwood: sure, klingon on its own is fine with 2-space soft tabs
<workmad3>
havenwood: but that mix of elvish into it... that screws things up ;)
<havenwood>
workmad3: hmm
<GaryOak_>
2 spaces is just 2 spaces 2 shallow
mikecmpbll has quit [Quit: i've nodded off.]
<eam>
seriously though, commit hook to reject \t in source files
uptownhr has quit [Quit: uptownhr]
<Butch128>
onto another topic... can anyone think of a good way of breaking out of that file tail immediately?
<workmad3>
eam: I need to allow it in some of mine
afex has joined #ruby
charliesome has quit [Quit: zzz]
axl_ has quit [Quit: axl_]
<workmad3>
eam: specifically the code that's checking whether I have a CSV or a TSV so I'm using \t as a separator ;)
<eam>
for the test data?
<eam>
cuz '\t' is fine :D
baweaver has joined #ruby
roolo has joined #ruby
<workmad3>
eam: if you want more crazy... that same code is gsubbing the UTF16-LE BOM out of the header line, because for some screwed up reason it's staying in the bytestream :(
<workmad3>
eam: that was a fun debug session... seeing as that fecker is a 0-width character!
pengin has quit [Remote host closed the connection]
maximski has quit []
<eam>
filter out the 8th bit, problem solved
pengin has joined #ruby
tunaCanBruh has quit [Ping timeout: 256 seconds]
rekky has quit [Remote host closed the connection]
danzilio has quit [Quit: My computer has fallen asleep!]
<shevy>
any of you ever needed to grab all .rb files in a given directory and merge them into a new file?
<bradland>
are you trying to handle the signals, or do you just want execution tos top?
<Butch128>
bradland: I just want execution to stop
<Butch128>
bradland: current code stops - but only after the next line is read from the file
shum has quit [Quit: WeeChat 1.1.1]
<bradland>
pull the traps altogether and try killing the script
<Butch128>
bradland: so - if nothing new is being logged... it doesn't stop execution
<bradland>
i'd try to avoid threading if you can
Hijiri has quit [Ping timeout: 256 seconds]
<Butch128>
bradland: that's what I was thinking of doing... looping and doing the tail in a separate thread
<bradland>
have you tried not trapping signals at all?
<Butch128>
bradland: no, i can try that
<bradland>
give that a shot
<Butch128>
bradland: I'm going to use this with the Daemon gem as well though, so that might not be a good long-term solution (will need to send signals)
roolo has joined #ruby
<bradland>
the other thing i'd try is wrapping the log.tail block in a begin rescue end block
<bradland>
and rescue the signals rather than trappingt them globally
<bradland>
which is, especially true if you're going to integrate this as a library
<bradland>
i try to avoid Kernel::trap, because it can trample over other signal traps defined elsewhere