apeiros_ changed the topic of #ruby to: Ruby 2.2.0; 2.1.5; 2.0.0-p598: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
Limix has quit [Client Quit]
adriancb has quit [Remote host closed the connection]
pandaant has quit [Remote host closed the connection]
reinaldob has joined #ruby
Spami has joined #ruby
adriancb has joined #ruby
fryguy9 has quit [Quit: Leaving.]
beneggett has joined #ruby
mikepack has quit [Remote host closed the connection]
n0zz has quit [Ping timeout: 252 seconds]
juanpablo__ has joined #ruby
n0zz has joined #ruby
Sawbones_ has joined #ruby
neonalpine has joined #ruby
adriancb has quit [Ping timeout: 272 seconds]
maximski has joined #ruby
crueber1 has quit [Quit: Leaving.]
doodlehaus has joined #ruby
oki has quit [Ping timeout: 250 seconds]
juanpablo__ has quit [Ping timeout: 245 seconds]
oetjenj has joined #ruby
neonalpine has quit [Ping timeout: 265 seconds]
baweaver has quit [Remote host closed the connection]
vdamewood has joined #ruby
it0a has joined #ruby
wallerdev has quit [Quit: wallerdev]
alvadorn has joined #ruby
_djbkd has quit [Remote host closed the connection]
scripore has joined #ruby
dfinninger has joined #ruby
ta has quit [Remote host closed the connection]
n008f4g_ has quit [Ping timeout: 272 seconds]
<shevy> Senjai!
<shevy> you sound so japanese
Sawbones_ has quit [Remote host closed the connection]
atomical has joined #ruby
blizzy is now known as tone
tone is now known as blizzy
n008f4g_ has joined #ruby
_djbkd has joined #ruby
Sawbones_ has joined #ruby
riotjones has joined #ruby
gut has left #ruby ["WeeChat 1.1"]
BoogieMan has left #ruby ["Leaving"]
freerobby has joined #ruby
leat has quit [Ping timeout: 264 seconds]
baweaver has joined #ruby
marr has quit [Ping timeout: 265 seconds]
mikepack has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
multi_io has joined #ruby
apeiros has joined #ruby
mikepack has quit [Remote host closed the connection]
<Senjai> shevy: But I'm not :P
olivier_bK has quit [Ping timeout: 272 seconds]
nb_bez___ has joined #ruby
riotjones has quit [Ping timeout: 264 seconds]
n008f4g_ has quit [Ping timeout: 256 seconds]
dfinninger has quit [Remote host closed the connection]
multi_io_ has quit [Ping timeout: 246 seconds]
ghr has joined #ruby
owen1 has left #ruby ["WeeChat 1.1-dev"]
gkra has quit [Remote host closed the connection]
lkba_ has quit [Ping timeout: 245 seconds]
Tinfoilhat_ has joined #ruby
ghr has quit [Ping timeout: 256 seconds]
skj3gg has joined #ruby
<baweaver> tempted to screw with ruby and make a tautological hash generator
<baweaver> ex: taut_hash(a,b,c,d) #=> {a: a, b: b, c: c, d: d}
Sawbones_ has quit [Remote host closed the connection]
<baweaver> even with reflection black magic it's still looking impossible
<baweaver> and no, no practical reason
<baweaver> I just want to see if I can
<apeiros_> o0
<apeiros_> >> def taut_hash(*args); args.zip(args).to_h; end; taut_hash(:a, :b, :c, :d)
<eval-in> apeiros_ => {:a=>:a, :b=>:b, :c=>:c, :d=>:d} (https://eval.in/292838)
<baweaver> except those are variables
ZoanthusR has joined #ruby
<baweaver> you'd have to get their names
pwh has joined #ruby
triple_b has joined #ruby
<apeiros_> 0o
<baweaver> and I've yet to find anything other than some eval hackery that does it
<baweaver> pesky
<baweaver> this coming from the same person who managed to parse HTML with flipflop operators
<baweaver> some men just want to watch Ruby burn
scripore has quit [Quit: This computer has gone to sleep]
Spami has quit [Quit: This computer has gone to sleep]
xploshioon has quit [Quit: Leaving]
sevvie has joined #ruby
fryguy9 has joined #ruby
b4rbz has quit [Ping timeout: 252 seconds]
sevvie has quit [Client Quit]
scripore has joined #ruby
nettoweb has joined #ruby
pengin has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 246 seconds]
<bricker> baweaver: Maybe rbx has some hints in its implementation of kwargs, although I guess that's the reverse of what you're trying
pengin has joined #ruby
<baweaver> Maybe. This is more of screwing around anyways honestly.
oo_ has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
<apeiros_> baweaver: I guess you'd want the variable names as passed, not as defined in the taut_hash method
wallerdev has joined #ruby
<baweaver> https://gist.github.com/baweaver/d02ffd9c24219ae89600 - that was the flipflop as an aside.
<baweaver> Couldn't help it
pengin has quit [Ping timeout: 240 seconds]
_honning_ has quit [Ping timeout: 250 seconds]
<wallerdev> flipflop so dumbbbb
<zenspider> flipflop is awesome
skj3gg has quit [Quit: ZZZzzz…]
<Senjai> Parsing html with regex.. lolzzz
fmcgeough has joined #ruby
<bricker> baweaver: that's the only time I've ever seen flip flop used for-reals in the the wild
<bricker> (in ruby I mean)
<baweaver> I keep it far away from prod
<zenspider> I've used it on occasion, but apparently only in throwaway code
<baweaver> but it still amuses me
<zenspider> I don't have any on disk
<baweaver> dang, double instant rejection on Railsconf
<baweaver> that stings
<baweaver> ah well
GaryOak_ has quit [Remote host closed the connection]
Cadillactica has quit [Quit: Cadillactica]
tunaCanBruh has joined #ruby
<bricker> to attend or speak?
<zenspider> baweaver: hah. do they really need to send a rejection PER proposal? talk about salt in the wounds
<zenspider> I just got 4. :)
<baweaver> speak
<baweaver> yep, that they do
<baweaver> both at the same time
robbyoconnor has joined #ruby
<baweaver> I thought maybe the other one would make, but no, double email in under a second
<baweaver> c'est la vie
Joufflu has joined #ruby
b4rbz has joined #ruby
roolo has quit [Remote host closed the connection]
samsquanch has quit [Quit: Textual IRC Client: www.textualapp.com]
dorei has quit []
tunaCanBruh has quit [Ping timeout: 246 seconds]
jonr2219 has joined #ruby
sevenseacat has joined #ruby
stunder has quit [Quit: Leaving]
jenrzzz has joined #ruby
attamusc has quit [Quit: Connection closed for inactivity]
roolo has joined #ruby
<bricker> Does it really auto-reject? Or was it just fast?
mudtose has joined #ruby
<baweaver> that fast I guess.
<bricker> oh
<baweaver> both at once
<bricker> I was gonna say, what kind of algorithm could possibly tell if your proposal sucked :)
<baweaver> they'd probably marked a lot and bulk sent
<baweaver> proposal.contains?(anything_dhh_disagrees_with)
<bricker> if it contains the word "TDD" auto-reject
<bricker> lol
<baweaver> ha
jonr22 has quit [Ping timeout: 265 seconds]
<bricker> Hm, I would like to speak
charliesome has quit [Quit: zzz]
tedstriker has joined #ruby
<baweaver> Well now to turn that talk into a blog post to get some hits on it.
<bricker> Maybe I'll give a talk on "Short-sighted DRYness", "over-zealous refactoring", something in that line
<pipework> baweaver: You should record the talk as a 'remote talk'.
<shevy> beaver!
<shevy> there you are
<baweaver> alo
roolo has quit [Ping timeout: 246 seconds]
<pipework> With slide changing and everything. Then transcriptify it. Then also blogform.
<baweaver> The talk was on eliminating glue code in SOA
<baweaver> clients that generate themselves from your APIs
oetjenj has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<baweaver> Think AngularJS services for free from just your routes
<pipework> baweaver: Sounds pretty neat.
oetjenj has joined #ruby
<pipework> We've got a hypermedia client.
<baweaver> It'll be a long one for sure, but it'll go up on baweaver.com when it's done
<baweaver> reddit, hn, and twitter shortly afterwards
<baweaver> Might make for a fun weekend project.
_honning_ has joined #ruby
<baweaver> admittedly my last post was mad rambling for the sake of it, because fun on occasion.
oo_ has quit [Remote host closed the connection]
bloudermilk has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oki has joined #ruby
nii236 has joined #ruby
crueber has joined #ruby
mikecmpbll has quit [Read error: Connection reset by peer]
gigetoo has quit [Ping timeout: 250 seconds]
reinaldo_ has joined #ruby
reinaldob has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
theberlin has quit [Remote host closed the connection]
shellox has quit [Ping timeout: 252 seconds]
TinkerTyper has quit [Ping timeout: 255 seconds]
theberlin has joined #ruby
az7ar_away has quit [Ping timeout: 256 seconds]
charliesome has joined #ruby
lsmola has quit [Ping timeout: 256 seconds]
jblancett has quit [Ping timeout: 256 seconds]
shellox has joined #ruby
Channel6 has joined #ruby
kham has quit [Ping timeout: 264 seconds]
jblancett has joined #ruby
oki has quit [Ping timeout: 255 seconds]
Kilo`byte has quit [Ping timeout: 264 seconds]
Mon_Ouie has quit [Ping timeout: 256 seconds]
peterhu has quit [Ping timeout: 256 seconds]
pipework has quit [Ping timeout: 256 seconds]
lsmola has joined #ruby
peterhu has joined #ruby
serivich has joined #ruby
Kilo`byte has joined #ruby
pipework has joined #ruby
pipework has joined #ruby
pipework has quit [Changing host]
gigetoo has joined #ruby
narph has quit [Quit: Connection closed for inactivity]
fmendez has joined #ruby
Olipro_ has joined #ruby
troyreadyy has joined #ruby
RandyT has quit [Quit: ZNC - http://znc.in]
nini1294 has quit [Ping timeout: 256 seconds]
soulcake has quit [*.net *.split]
RDash has quit [*.net *.split]
RealMarc has quit [*.net *.split]
Caius has quit [*.net *.split]
ghostpl has quit [*.net *.split]
cnj has quit [*.net *.split]
catsoup has quit [*.net *.split]
orionstein has quit [*.net *.split]
eythoriu1 has quit [*.net *.split]
FDj has quit [*.net *.split]
miah has quit [*.net *.split]
Platini has quit [*.net *.split]
ericwood has quit [*.net *.split]
certainty has quit [*.net *.split]
qpls has quit [*.net *.split]
ips|malc has quit [*.net *.split]
tekacs has quit [*.net *.split]
drPoggs has quit [*.net *.split]
stonecolddevin has quit [*.net *.split]
hackeron has quit [*.net *.split]
nevans has quit [*.net *.split]
Olipro has quit [*.net *.split]
krasnus has quit [*.net *.split]
x3cion has quit [*.net *.split]
JStoker has quit [*.net *.split]
haasn has quit [*.net *.split]
Alives has quit [*.net *.split]
borkdude has quit [*.net *.split]
kalleth has quit [*.net *.split]
Thubo has quit [*.net *.split]
atmosx has quit [*.net *.split]
pjaspers has quit [*.net *.split]
kevinfagan_ has quit [*.net *.split]
DefV has quit [*.net *.split]
philtr has quit [*.net *.split]
atom3 has quit [*.net *.split]
elektronaut has quit [*.net *.split]
stylus has quit [*.net *.split]
mosez has quit [*.net *.split]
superspring has quit [*.net *.split]
QKO has quit [*.net *.split]
elaptics_away has quit [*.net *.split]
sjohnsen has quit [*.net *.split]
peckermanzzz has quit [*.net *.split]
preller_ has quit [Ping timeout: 256 seconds]
Olipro_ is now known as Olipro
zerolith_zzz has quit [Ping timeout: 264 seconds]
troyready has quit [Ping timeout: 264 seconds]
dangerousbeans has quit [Quit: dangerousbeans]
Rollabunna has joined #ruby
zerolith_zzz has joined #ruby
az7ar_away has joined #ruby
mroach has joined #ruby
JustSomeone has joined #ruby
JustSomeone has quit [Max SendQ exceeded]
lordkryss has quit [Quit: Connection closed for inactivity]
roolo has joined #ruby
preller_ has joined #ruby
tkuchiki has joined #ruby
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Mon_Ouie has joined #ruby
soulcake has joined #ruby
RDash has joined #ruby
Caius has joined #ruby
RealMarc has joined #ruby
superspring has joined #ruby
Thubo has joined #ruby
ghostpl has joined #ruby
cnj has joined #ruby
Alives has joined #ruby
catsoup has joined #ruby
ericwood has joined #ruby
qpls has joined #ruby
ips|malc has joined #ruby
FDj has joined #ruby
drPoggs has joined #ruby
krasnus has joined #ruby
Platini has joined #ruby
nevans has joined #ruby
atmosx has joined #ruby
DefV has joined #ruby
borkdude has joined #ruby
QKO has joined #ruby
elektronaut has joined #ruby
haasn has joined #ruby
tekacs has joined #ruby
atom3 has joined #ruby
hackeron has joined #ruby
philtr has joined #ruby
stylus has joined #ruby
JStoker has joined #ruby
pjaspers has joined #ruby
peckermanzzz has joined #ruby
mosez has joined #ruby
elaptics_away has joined #ruby
eythoriu1 has joined #ruby
orionstein has joined #ruby
x3cion has joined #ruby
sjohnsen has joined #ruby
certainty has joined #ruby
kevinfagan_ has joined #ruby
kalleth has joined #ruby
stonecolddevin has joined #ruby
miah has joined #ruby
hackeron has quit [Max SendQ exceeded]
kevinfagan_ has quit [Max SendQ exceeded]
Platini has quit [Max SendQ exceeded]
JStoker has quit [Max SendQ exceeded]
cnj has quit [Max SendQ exceeded]
ghostpl has quit [Max SendQ exceeded]
cnj has joined #ruby
kevinfagan has joined #ruby
hackeron has joined #ruby
MatthewsFace has quit [Remote host closed the connection]
ghostpl has joined #ruby
RegulationD has joined #ruby
Crazy_Atheist has quit [Ping timeout: 244 seconds]
doodlehaus has quit [Remote host closed the connection]
Platini has joined #ruby
roolo has quit [Ping timeout: 246 seconds]
RandyT has joined #ruby
bw___ has joined #ruby
gregf__ has joined #ruby
bayed has quit [Quit: Connection closed for inactivity]
JStoker has joined #ruby
JStoker has quit [Changing host]
JStoker has joined #ruby
gregf_ has quit [Ping timeout: 264 seconds]
JStoker is now known as 32NABEVRL
ZoanthusR has quit [Quit: Linkinus - http://linkinus.com]
gr33n7007h has quit [Quit: WeeChat 0.3.8]
pipework has quit [Quit: pipeworkin' it]
_djbkd has quit [Remote host closed the connection]
scripore has quit [Quit: This computer has gone to sleep]
pipework has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
Crazy_Atheist has joined #ruby
_djbkd has joined #ruby
_djbkd has quit [Remote host closed the connection]
scripore has joined #ruby
gr33n7007h has joined #ruby
devbug has quit [Remote host closed the connection]
agrinb has quit [Remote host closed the connection]
theberlin has quit [Remote host closed the connection]
agrinb has joined #ruby
alvadorn has quit [Quit: Leaving]
DEA7TH has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
agrinb has quit [Ping timeout: 246 seconds]
scripore has quit [Quit: Leaving]
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…]
bruno- has joined #ruby
jenrzzz has joined #ruby
dstarh has joined #ruby
Rapier- has quit [Quit: (null)]
livingstn has quit []
codeurge has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
braincra- has joined #ruby
krz has joined #ruby
sent1nel has quit [Ping timeout: 256 seconds]
bruno- has quit [Ping timeout: 245 seconds]
roolo has joined #ruby
bloudermilk has quit [Quit: Textual IRC Client: www.textualapp.com]
ghr has joined #ruby
braincrash has quit [Ping timeout: 245 seconds]
nii236 has quit [Remote host closed the connection]
ixti has quit [Ping timeout: 246 seconds]
ixti has joined #ruby
roolo has quit [Ping timeout: 246 seconds]
greenbagels has joined #ruby
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
oo_ has quit [Remote host closed the connection]
crueber has quit [Quit: Leaving.]
ghr has quit [Ping timeout: 264 seconds]
nii236 has joined #ruby
dixie__ has quit [Remote host closed the connection]
crueber has joined #ruby
cpt_yossarian has quit [Quit: And then he took off.]
roolo has joined #ruby
tunaCanBruh has joined #ruby
cpt_yossarian has joined #ruby
slawrence00 has joined #ruby
crueber has quit [Client Quit]
Sawbones has joined #ruby
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
sent1nel has joined #ruby
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #ruby
crueber has joined #ruby
roolo has quit [Ping timeout: 240 seconds]
Jetchisel has quit [Quit: "Unfortunately time is always against us" -- *Morpheus*]
Tinfoilhat_ has joined #ruby
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tunaCanBruh has quit [Ping timeout: 256 seconds]
kapil___ has joined #ruby
roolo has joined #ruby
adriancb has joined #ruby
oo_ has joined #ruby
wallerdev has quit [Quit: wallerdev]
AlexRussia has joined #ruby
roolo has quit [Ping timeout: 250 seconds]
mary5030 has quit [Remote host closed the connection]
roolo has joined #ruby
lys has joined #ruby
oki has joined #ruby
jbeeze has quit []
lidaaa has quit [Ping timeout: 272 seconds]
roolo has quit [Ping timeout: 255 seconds]
oki has quit [Ping timeout: 246 seconds]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jefus has quit [Ping timeout: 265 seconds]
nb_bez___ has quit [Quit: Connection closed for inactivity]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tedstriker has quit [Quit: Anti-Fraping status set.]
Jetchisel has joined #ruby
kp666 has joined #ruby
Sawbones has quit [Remote host closed the connection]
agrinb has quit [Remote host closed the connection]
roolo has joined #ruby
triple_b has joined #ruby
claptor has joined #ruby
StoneCypher has quit [Ping timeout: 265 seconds]
agrinb has joined #ruby
Nnel has quit [Ping timeout: 256 seconds]
atmosx has quit [Read error: Connection reset by peer]
atmosx has joined #ruby
Takumo has quit [Ping timeout: 245 seconds]
tekacs has quit [Ping timeout: 276 seconds]
RegulationD has joined #ruby
uptownhr has joined #ruby
piotrj has joined #ruby
roolo has quit [Ping timeout: 264 seconds]
Takumo has joined #ruby
Takumo has quit [Changing host]
Takumo has joined #ruby
tekacs has joined #ruby
jenrzzz_ has joined #ruby
roolo has joined #ruby
jefus has joined #ruby
luriv_ has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
piotrj has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 255 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
turtil has quit [Quit: WeeChat 1.1.1]
piotrj has joined #ruby
jshultz has quit [Quit: Connection closed for inactivity]
luriv has quit [Ping timeout: 252 seconds]
jenrzzz_ has quit [Ping timeout: 240 seconds]
roolo_ has joined #ruby
roolo has quit [Ping timeout: 252 seconds]
ta has joined #ruby
atomi has joined #ruby
piotrj has quit [Ping timeout: 256 seconds]
tjohnson has quit [Quit: Connection closed for inactivity]
roolo_ has quit [Read error: Connection reset by peer]
roolo has joined #ruby
rbennacer has joined #ruby
ta has quit [Ping timeout: 245 seconds]
justin_pdx has quit [Quit: justin_pdx]
Lewix has joined #ruby
swgillespie has joined #ruby
bruno- has joined #ruby
jottr has joined #ruby
Hijiri has joined #ruby
skj3gg has joined #ruby
Pharaoh2 has joined #ruby
jottr__ has quit [Ping timeout: 255 seconds]
roolo has quit [Ping timeout: 264 seconds]
ajaiswal has joined #ruby
adriancb has quit [Remote host closed the connection]
juanpaucar has joined #ruby
adriancb has joined #ruby
ghostpl_ has joined #ruby
Tinfoilhat_ has quit [Read error: Connection reset by peer]
towski_ has joined #ruby
havenwood has joined #ruby
bruno- has quit [Ping timeout: 272 seconds]
linoj has joined #ruby
ghr has joined #ruby
ghostpl_ has quit [Ping timeout: 246 seconds]
juanpaucar has quit [Ping timeout: 245 seconds]
oo__ has joined #ruby
jobewan has quit [Ping timeout: 240 seconds]
Pharaoh2 has quit [Ping timeout: 246 seconds]
BTRE has quit [Quit: Leaving]
duncannz has joined #ruby
chrishough has joined #ruby
FooMunki_ has joined #ruby
chrishough has quit [Client Quit]
jenrzzz has joined #ruby
oo_ has quit [Ping timeout: 256 seconds]
ghr has quit [Ping timeout: 255 seconds]
17SABWPJL has quit [Ping timeout: 244 seconds]
skj3gg has quit [Quit: ZZZzzz…]
sent1nel_ has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sent1nel has quit [Ping timeout: 250 seconds]
chrishough has joined #ruby
swgillespie has joined #ruby
oo__ has quit [Ping timeout: 240 seconds]
oo_ has joined #ruby
rbennacer has quit [Remote host closed the connection]
FooMunki_ has quit [Quit: FooMunki_]
jenrzzz has quit [Ping timeout: 240 seconds]
fryguy9 has quit [Quit: Leaving.]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sent1nel has joined #ruby
adriancb has quit [Ping timeout: 265 seconds]
tunaCanBruh has joined #ruby
adriancb has joined #ruby
towski_ has quit [Quit: Leaving...]
sevvie has joined #ruby
sent1nel_ has quit [Ping timeout: 250 seconds]
mikepack has joined #ruby
sent1nel_ has joined #ruby
Nnel has joined #ruby
Zai00_ has joined #ruby
jonr22 has joined #ruby
tunaCanBruh has quit [Ping timeout: 246 seconds]
Zai00 has quit [Ping timeout: 265 seconds]
Zai00_ is now known as Zai00
tcrypt has quit [Ping timeout: 240 seconds]
sent1nel has quit [Ping timeout: 265 seconds]
x1337807x has joined #ruby
xploshioon has joined #ruby
oki has joined #ruby
sevvie has quit [Quit: leaving]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sent1nel has joined #ruby
Nnel has quit [Ping timeout: 252 seconds]
sent1nel_ has quit [Ping timeout: 252 seconds]
jonr22 has quit [Ping timeout: 246 seconds]
swgillespie has joined #ruby
kp666 has quit [Read error: Connection reset by peer]
oki has quit [Ping timeout: 272 seconds]
goshdarnyou has joined #ruby
roolo has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
riotjones has joined #ruby
justin_pdx has joined #ruby
lemur has joined #ruby
freerobby has quit [Quit: Leaving.]
pdoherty has quit [Quit: Leaving]
roolo has quit [Ping timeout: 245 seconds]
riotjones has quit [Ping timeout: 250 seconds]
jobewan has joined #ruby
oo_ has quit [Remote host closed the connection]
braincra- has quit [Quit: bye bye]
piotrj has joined #ruby
lys has quit [Quit: lys]
sent1nel has quit [Read error: Connection reset by peer]
roolo has joined #ruby
Senjai has joined #ruby
Senjai has quit [Changing host]
duncannz has quit [Ping timeout: 252 seconds]
sent1nel has joined #ruby
uptownhr has quit [Quit: uptownhr]
jottr has quit [Quit: WeeChat 1.1.1]
braincrash has joined #ruby
chipotle has joined #ruby
roolo_ has joined #ruby
piotrj has quit [Remote host closed the connection]
sent1nel has quit [Remote host closed the connection]
roolo has quit [Ping timeout: 272 seconds]
jenrzzz has joined #ruby
roolo_ has quit [Ping timeout: 264 seconds]
duncannz has joined #ruby
anaeem1_ has joined #ruby
oo_ has joined #ruby
Sawbones has joined #ruby
Nnel has joined #ruby
roolo has joined #ruby
Tinfoilhat_ has joined #ruby
tomeara has quit [Quit: (null)]
tus has quit []
krzkrz has joined #ruby
krz has quit [Ping timeout: 244 seconds]
Nnel has quit [Ping timeout: 252 seconds]
roolo has quit [Ping timeout: 252 seconds]
adriancb has quit [Remote host closed the connection]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kyb3r_ has joined #ruby
ozialien has joined #ruby
thomas has quit [Quit: Restart.]
kp666 has joined #ruby
Guest35255 has joined #ruby
Guest35255 has quit [Read error: Connection reset by peer]
oo_ has quit [Remote host closed the connection]
roolo has joined #ruby
oo_ has joined #ruby
ghr has joined #ruby
thomas has joined #ruby
lkba has joined #ruby
dennyd_ has joined #ruby
dennyd_ has quit [Read error: Connection reset by peer]
roolo_ has joined #ruby
roolo has quit [Ping timeout: 250 seconds]
Mon_Ouie has quit [Ping timeout: 264 seconds]
ghr has quit [Ping timeout: 250 seconds]
mikepack has quit [Remote host closed the connection]
dys has quit [Ping timeout: 272 seconds]
jaequery has joined #ruby
Mon_Ouie has joined #ruby
dennyd_ has joined #ruby
dennyd_ has quit [Read error: Connection reset by peer]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
roolo_ has quit [Ping timeout: 240 seconds]
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
oo_ has quit [Remote host closed the connection]
ismaelga has quit [Remote host closed the connection]
mikepack has joined #ruby
triple_b has joined #ruby
FooMunki_ has joined #ruby
serivich has quit [Ping timeout: 252 seconds]
mikepack_ has joined #ruby
slawrence00 has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikepack_ has quit [Remote host closed the connection]
duncannz has quit [Ping timeout: 245 seconds]
oo_ has joined #ruby
mikepack has quit [Ping timeout: 246 seconds]
mikepack has joined #ruby
jobewan has quit [Ping timeout: 246 seconds]
mikepack has quit [Remote host closed the connection]
Pharaoh2 has joined #ruby
mikepack has joined #ruby
lessless has joined #ruby
postmodern has quit [Quit: Leaving]
Lewix has quit [Remote host closed the connection]
Channel6 has quit [Remote host closed the connection]
stacks_ has joined #ruby
Pharaoh2 has quit [Client Quit]
Lewix has joined #ruby
Lewix has joined #ruby
mikepack has quit [Remote host closed the connection]
mikepack has joined #ruby
_honning_ has quit [Ping timeout: 240 seconds]
stacks_ has quit [Killed (idoru (Spam is off topic on freenode.))]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Lewix has quit [Ping timeout: 244 seconds]
Pharaoh2 has joined #ruby
wldcordeiro has joined #ruby
nii236 has quit [Quit: leaving]
RegulationD has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
roolo has joined #ruby
serivich has joined #ruby
duncannz has joined #ruby
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
arescorpio has quit [Excess Flood]
sevvie has joined #ruby
triple_b has joined #ruby
oo_ has quit [Remote host closed the connection]
Regulati_ has joined #ruby
RegulationD has quit [Remote host closed the connection]
The_Phoenix has joined #ruby
The_Phoenix has quit [Changing host]
The_Phoenix has joined #ruby
The_Phoenix has quit [Read error: Connection reset by peer]
roolo has quit [Ping timeout: 264 seconds]
robbyoconnor has quit [Ping timeout: 252 seconds]
roolo has joined #ruby
Regulati_ has quit [Ping timeout: 244 seconds]
lidaaa has joined #ruby
ozialien has quit [Read error: Connection reset by peer]
krzkrz has quit [Read error: Connection reset by peer]
renier_ has joined #ruby
RegulationD has joined #ruby
nini1294 has joined #ruby
roolo has quit [Ping timeout: 245 seconds]
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Nnel has joined #ruby
renier has quit [Ping timeout: 246 seconds]
tcrypt has joined #ruby
bruno- has joined #ruby
RegulationD has quit [Ping timeout: 245 seconds]
beneggett has quit [Remote host closed the connection]
juanpaucar has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Tinfoilhat_ has quit [Read error: Connection reset by peer]
ghostpl_ has joined #ruby
serivich has quit [Ping timeout: 244 seconds]
Nnel has quit [Ping timeout: 250 seconds]
bruno- has quit [Ping timeout: 272 seconds]
juanpaucar has quit [Ping timeout: 272 seconds]
nii236 has joined #ruby
crueber has quit [Quit: Leaving.]
ghostpl_ has quit [Ping timeout: 265 seconds]
Zai00 has quit [Quit: Zai00]
Azure has quit [Max SendQ exceeded]
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
serivich has joined #ruby
krzkrz has joined #ruby
jobewan has joined #ruby
roolo has joined #ruby
mikepack has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
Joufflu has quit [Read error: Connection reset by peer]
roolo has quit [Ping timeout: 264 seconds]
zyxelthrone has quit [Remote host closed the connection]
piotrj has joined #ruby
mikepack has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
tkuchiki_ has joined #ruby
Azure has joined #ruby
ghr has joined #ruby
tkuchiki has quit [Ping timeout: 255 seconds]
tunaCanBruh has joined #ruby
serivich has quit [Ping timeout: 250 seconds]
tcrypt has quit [Remote host closed the connection]
tcrypt has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
leat has joined #ruby
tunaCanBruh has quit [Ping timeout: 246 seconds]
jonr22 has joined #ruby
jbw_ has joined #ruby
tcrypt has quit [Ping timeout: 246 seconds]
roolo has joined #ruby
oki has joined #ruby
plutonic has quit [Quit: plutonic]
jbw__ has quit [Ping timeout: 250 seconds]
serivich has joined #ruby
jonr22 has quit [Ping timeout: 250 seconds]
Dopagod has quit [Ping timeout: 240 seconds]
Sawbones has quit [Remote host closed the connection]
piotrj has quit []
roolo has quit [Ping timeout: 250 seconds]
oki has quit [Ping timeout: 246 seconds]
tkuchiki_ has quit [Read error: Connection reset by peer]
Joufflu has joined #ruby
sevvie has quit [Quit: leaving]
tkuchiki has joined #ruby
roolo has joined #ruby
roolo has quit [Ping timeout: 244 seconds]
jefus has quit [Ping timeout: 252 seconds]
razieliyo has quit [Ping timeout: 244 seconds]
lxsameer has joined #ruby
swgillespie has joined #ruby
apeiros_ has quit [Read error: Connection reset by peer]
taiansu has joined #ruby
taiansu has quit [Client Quit]
agrinb_ has joined #ruby
apeiros_ has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
apeiros__ has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
anarang has joined #ruby
djbkd_ has joined #ruby
apeiros has quit [Ping timeout: 256 seconds]
Nnel has joined #ruby
uokesita has quit [Remote host closed the connection]
greenbagels has quit [Read error: Connection reset by peer]
apeiros_ has quit [Read error: Connection reset by peer]
Morkel has joined #ruby
jaequery has quit [Ping timeout: 252 seconds]
oo_ has joined #ruby
atomical has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
apeiros has joined #ruby
w4pm has joined #ruby
piotrj has joined #ruby
jaequery has joined #ruby
linoj has quit [Quit: linoj]
Rollabunna has quit [Read error: No route to host]
Rollabunna has joined #ruby
rhg135 is now known as rhg135|zzz
apeiros_ has joined #ruby
Nnel has quit [Ping timeout: 265 seconds]
apeiros_ has quit [Client Quit]
sivsushruth has quit [Ping timeout: 246 seconds]
sivsushruth has joined #ruby
apeiros__ has quit [Ping timeout: 256 seconds]
apeiros_ has joined #ruby
Rollabunna has quit [Read error: Connection reset by peer]
sandGorgon_ has joined #ruby
roolo has joined #ruby
lessless has quit [Quit: Textual IRC Client: www.textualapp.com]
Rollabunna has joined #ruby
sandGorgon_ has quit [Quit: Leaving]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sandGorgon_ has joined #ruby
Xiti has quit [Ping timeout: 256 seconds]
sandGorgon_ has quit [Read error: Connection reset by peer]
Xiti has joined #ruby
x1337807x has quit [Ping timeout: 250 seconds]
Rollabunna has quit [Read error: No route to host]
Rollabunna has joined #ruby
chrishough has joined #ruby
Rollabunna has quit [Read error: Connection reset by peer]
roolo has quit [Ping timeout: 272 seconds]
serivich has quit [Ping timeout: 272 seconds]
Rollabunna has joined #ruby
Sawbones has joined #ruby
avahey has joined #ruby
apeiros__ has joined #ruby
apeiros__ has quit [Read error: Connection reset by peer]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rollabunna has quit [Read error: Connection reset by peer]
Morkel has quit [Quit: Morkel]
oki has joined #ruby
djbkd_ has quit []
Morkel has joined #ruby
reinaldob has joined #ruby
Deele has joined #ruby
apeiros_ has quit [Ping timeout: 256 seconds]
dtraveler has joined #ruby
<dtraveler> Hi,
<dtraveler> Hi, I am trying to read xml files from a directory:
<dtraveler> Dir.glob("/test-reports/*.xml") do |my_text_file|
<dtraveler> xml = File.read '#{my_text_file}'
Rollabunna has joined #ruby
serivich has joined #ruby
<dtraveler> how to make File.read take the file from my_text_file variable.
<dtraveler> Can someone help? Thanks in advance
Xeago has joined #ruby
<dtraveler> This is the error: parse_xml.rb:11:in `read': No such file or directory @ rb_sysopen - #{my_text_file} (Errno::ENOENT)
arup_r has joined #ruby
Rollabunna has quit [Read error: Connection reset by peer]
pierre1_ has quit [Remote host closed the connection]
Rollabunna has joined #ruby
apeiros has quit [Remote host closed the connection]
reinaldob has quit [Ping timeout: 252 seconds]
<sevenseacat> double quotes, not single - or no quotes or interpolation at all in this case because its not necessary
mikepack has quit [Remote host closed the connection]
shadoi1 has quit [Quit: Leaving.]
elaptics_away is now known as elaptics
sigurding has joined #ruby
Rollabunna has quit [Read error: No route to host]
ghr has joined #ruby
Rollabunna has joined #ruby
speakingcode has joined #ruby
red_horned_rihno has joined #ruby
speaking2ode has quit [Ping timeout: 252 seconds]
claw has joined #ruby
charliesome has quit [Quit: zzz]
Rollabunna has quit [Read error: Connection reset by peer]
timonv has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rollabunna has joined #ruby
coetry has joined #ruby
martianixor has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
martianixor has quit [Changing host]
martianixor has joined #ruby
<coetry> If I wanted to convert a hash to a json via Hash.to_json and then have that data saved as a "file.json" on disk, what should I do?
<sevenseacat> convert it and then write it to disk
<coetry> I know that File.new "file.ext", "w+" creates a new file
<pipework> ^
Rollabunna has quit [Read error: No route to host]
<coetry> but how do I store that data and save as
<dtraveler> sevenseacat: thanks. I am using just my_text_file and it is working.
<pipework> When you have json as a string, write it to a file with ruby.
Rollabunna has joined #ruby
lampd1 has joined #ruby
SirCmpwn has quit [Quit: bouncer maintenance]
apeiros has joined #ruby
martianixor has quit [Quit: Leaving]
martianixor has joined #ruby
leat has quit [Ping timeout: 246 seconds]
<coetry> ?
StoneCypher has joined #ruby
roolo has joined #ruby
hvxgr has quit [Ping timeout: 245 seconds]
sinkensabe has joined #ruby
Rollabunna has quit [Ping timeout: 246 seconds]
Rollabunna has joined #ruby
<gr33n7007h> coetry: File.write('foo.json', whatever.to_hash)
Rollabunna has quit [Read error: Connection reset by peer]
Rollabunna has joined #ruby
tcrypt has joined #ruby
roolo has quit [Ping timeout: 252 seconds]
<coetry> gr33n7007h, hmm, how simple. thank
<coetry> s
red_horned_rihno has quit [Quit: Leaving]
ajaiswal has quit [Quit: Leaving]
<gr33n7007h> coetry: np :)
ajaiswal has joined #ruby
<gr33n7007h> to_hash supposed to be to_json, sorry about that
Xeago has quit [Remote host closed the connection]
<coetry> nah, i got it, no problem
tcrypt has quit [Ping timeout: 264 seconds]
SirCmpwn has joined #ruby
icarus has joined #ruby
leat has joined #ruby
Joufflu has quit [Quit: Peace]
Rollabunna has quit [Read error: Connection reset by peer]
lkba has quit [Read error: Connection reset by peer]
chrishough has joined #ruby
elaptics is now known as elaptics_away
Rollabunna has joined #ruby
lkba has joined #ruby
ta has joined #ruby
sinkensabe has quit [Remote host closed the connection]
rekky has joined #ruby
zcm has joined #ruby
zcm has quit [Client Quit]
kham has joined #ruby
mkaesz has joined #ruby
xploshioon has quit [Quit: Leaving]
timonv has quit [Ping timeout: 245 seconds]
Rollabunna has quit [Read error: Connection reset by peer]
icarus has left #ruby [#ruby]
oetjenj has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
psy_ has quit [Ping timeout: 246 seconds]
RegulationD has joined #ruby
nini1294 has quit [Ping timeout: 246 seconds]
zorak8 has quit [Read error: Connection reset by peer]
RegulationD has quit [Remote host closed the connection]
RegulationD has joined #ruby
<coetry> how do i stop ruby from blocking or stopping execution when it runs into an error?
arup_r_ has joined #ruby
<coetry> such as if it hits a nil class, can't i have it continue and just skip that error?
Pharaoh2 has joined #ruby
Nnel has joined #ruby
nicolastarzia has joined #ruby
<coetry> im doing some webscraping and sometimes the structure is not consistent ...
martianixor has quit [Quit: Leaving]
nicolast_ has quit [Ping timeout: 250 seconds]
martianixor has joined #ruby
ta has quit [Remote host closed the connection]
zorak8 has joined #ruby
juanpaucar has joined #ruby
Morkel has quit [Quit: Morkel]
<coetry> begin and rescue?
arup_r has quit [Ping timeout: 264 seconds]
RegulationD has quit [Ping timeout: 240 seconds]
ghostpl_ has joined #ruby
roolo has joined #ruby
nini1294 has joined #ruby
AlecTaylor has joined #ruby
<AlecTaylor> hi
<AlecTaylor> How do I generate a package layout? - Is this recommended?: https://github.com/technicalpickles/jeweler
Nnel has quit [Ping timeout: 240 seconds]
nini1294 has quit [Read error: Connection reset by peer]
Morkel has joined #ruby
Mon_Ouie has quit [Ping timeout: 255 seconds]
krzkrz has quit [Ping timeout: 245 seconds]
RegulationD has joined #ruby
Macaveli has joined #ruby
mskaesz has joined #ruby
Macaveli has quit [Max SendQ exceeded]
roolo_ has joined #ruby
Macaveli has joined #ruby
mkaesz has quit [Ping timeout: 240 seconds]
juanpaucar has quit [Ping timeout: 264 seconds]
roolo has quit [Ping timeout: 250 seconds]
ghostpl_ has quit [Ping timeout: 272 seconds]
nini1294 has joined #ruby
RegulationD has quit [Ping timeout: 264 seconds]
Morkel has quit [Quit: Morkel]
hvxgr has joined #ruby
roolo_ has quit [Ping timeout: 264 seconds]
sent1nel has joined #ruby
<certainty> moin
aerth has joined #ruby
<aerth> what do i put capistrano on
matcouto has joined #ruby
<sevenseacat> your computer.
<sevenseacat> i dont imagine it would be very useful on your toaster.
sent1nel has quit [Ping timeout: 256 seconds]
<aerth> thanks
<gr33n7007h> sevenseacat: I read that and I nearly spat my coffee on my screen :)
<sevenseacat> :D
<aerth> it sounds like it would be good on a sandwich
aswen has joined #ruby
<aerth> does it go on a VPS or a cloud instance or what
<pipework> It goes wherever the hell you want it to.
<sevenseacat> i'll have a capistrano on rye, hold the mayo
<pipework> That thing it does go onto is the machine you deploy from or cause deploys to happen from.
krzkrz has joined #ruby
mroach has quit [Ping timeout: 272 seconds]
bal has joined #ruby
<aerth> so , on my laptop?
nahtnam has quit [Quit: Connection closed for inactivity]
<pipework> Sure.
<aerth> what about on a server?
<pipework> Sure.
<aerth> what about on a shared hosting account
<sevenseacat> it goes on the machine you make your deployment from. thats it.
<pipework> Sure.
<sevenseacat> typically that would be your own computer.
<pipework> It can go on your fridge, I don't care.
<sevenseacat> it may not be. we dont know what your setup is.
andikr has joined #ruby
<aerth> well it doesn't have capistrano yet that is for sure
tunaCanBruh has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
fabrice31 has joined #ruby
<pipework> Usually things tend not to have things until they do, that's true.
<pipework> Can confirm, your grasp of reality is within reason.
postmodern has joined #ruby
duncannz has quit [Ping timeout: 255 seconds]
oo__ has joined #ruby
adriancb has joined #ruby
davedev2_ has joined #ruby
davedev24_ has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
SirCmpwn has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 272 seconds]
oo_ has quit [Ping timeout: 245 seconds]
jonr22 has joined #ruby
riotjones has joined #ruby
adriancb has quit [Ping timeout: 264 seconds]
aganov has joined #ruby
shellfu_afk has quit [Ping timeout: 244 seconds]
<coetry> I keep getting this error and I simply don't understand why..its not happening to other files
<coetry> spider.rb:36:in `write': No such file or directory @ rb_sysopen - ISLAMIC BANKS – After 9/11.json (Errno::ENOENT)
<ddv> coetry: the error is pretty simple
<ddv> read it
<coetry> yeah, but im writing a new file
<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]
Hijiri has joined #ruby
<sevenseacat> this is a fun game.
davedev24_ has joined #ruby
roolo has joined #ruby
<SOLDIERz> here is my spec file
livathinos has joined #ruby
rmoriz has quit [Quit: ZNC - http://znc.in]
<SOLDIERz> so the interesting part is the configure
<SOLDIERz> ./configure \
<SOLDIERz> --prefix=/opt/rubies/ruby-%{rubyver} \
<SOLDIERz> --enable-shared \
<SOLDIERz> --disable-rpath \
<SOLDIERz> --without-X11 \
<SOLDIERz> --without-tk \
<SOLDIERz> --includedir=/opt/rubies/ruby-%{rubyver}%{_includedir}/ruby \
<SOLDIERz> --libdir=/opt/rubies/ruby-%{rubyver}%{_libdir}
juanpaucar has joined #ruby
<SOLDIERz> I use the same spec file for ruby 2.2.0 and there everything is fine
<sevenseacat> yay finally, some code :D
Nnel has quit [Ping timeout: 245 seconds]
psy_ has joined #ruby
jacky has joined #ruby
keen__________73 has joined #ruby
yxejamir has joined #ruby
vtunka has quit [Quit: Leaving]
<sevenseacat> now someone who knows stuff about installing ruby can help you.
dcarmich has joined #ruby
keen__________72 has quit [Ping timeout: 256 seconds]
bruno- has quit [Ping timeout: 264 seconds]
ptrrr has quit [Quit: ptrrr]
RegulationD has joined #ruby
jacky has quit [Client Quit]
jalcine has joined #ruby
roolo has quit [Ping timeout: 250 seconds]
jbw_ has quit [Ping timeout: 250 seconds]
phansch has joined #ruby
bluOxigen has joined #ruby
juanpaucar has quit [Ping timeout: 265 seconds]
terlar has quit [Ping timeout: 245 seconds]
yfeldblu_ has joined #ruby
terlar has joined #ruby
RegulationD has quit [Remote host closed the connection]
RegulationD has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
mikecmpbll has joined #ruby
blueOxigen has quit [Ping timeout: 256 seconds]
avril14th has joined #ruby
marr has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
yfeldblu_ has quit [Ping timeout: 255 seconds]
kham has quit [Ping timeout: 256 seconds]
Takle has joined #ruby
sevenseacat has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 244 seconds]
rkmylo has joined #ruby
ghostpl_ has joined #ruby
nini1294 has joined #ruby
joonty has joined #ruby
RegulationD has joined #ruby
krzkrz has quit [Read error: Connection reset by peer]
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jbw_ has joined #ruby
agrinb has joined #ruby
ghostpl_ has quit [Ping timeout: 244 seconds]
krzkrz has joined #ruby
jalcine is now known as jacky
matcouto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RegulationD has quit [Ping timeout: 264 seconds]
tunaCanBruh has joined #ruby
atom3 has quit [Quit: leaving]
<ddv> hmm how do you prevent httparty from turning xml response automatically in a hash
atom3 has joined #ruby
Cust0sL1men has joined #ruby
krzkrz has quit [Read error: Connection reset by peer]
shredding has joined #ruby
<avril14th> ddv: unplug the computer after the response arrived and before the method to turn into a hash is called
zewelor has quit [Ping timeout: 255 seconds]
jheg has quit [Quit: jheg]
arup_r has joined #ruby
tunaCanBruh has quit [Ping timeout: 250 seconds]
roolo has joined #ruby
avahey has quit [Quit: Connection closed for inactivity]
lolmaus has quit [Quit: Konversation terminated!]
tvw has joined #ruby
<ddv> annoying
jonr22 has joined #ruby
strixd has joined #ruby
Soda has joined #ruby
doritostains has joined #ruby
Dmr has joined #ruby
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby
Hobogrammer has quit [Ping timeout: 245 seconds]
<ddv> oh my fault
roolo has quit [Ping timeout: 252 seconds]
Nnel has joined #ruby
thsig has quit [Remote host closed the connection]
jonr22 has quit [Ping timeout: 256 seconds]
thsig has joined #ruby
krzkrz has joined #ruby
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
rocknrollmarc has joined #ruby
tedstriker has joined #ruby
StoneCypher has joined #ruby
ta has joined #ruby
codecop has joined #ruby
terlar has quit [Quit: WeeChat 1.1.1]
terlar has joined #ruby
StoneCypher has quit [Ping timeout: 272 seconds]
ta has quit [Remote host closed the connection]
ta has joined #ruby
nii236 has quit [Ping timeout: 246 seconds]
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:
<gregf__> >> " foo @bar " =~ /([^ @]+)/; print $1;
<eval-in> gregf__ => foonil (https://eval.in/293074)
<gregf__> >> " foo @bar " =~ /([^@]+)/; print $1;
<eval-in> gregf__ => foo nil (https://eval.in/293075)
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
<Waheedi> DaniG2k SWIG
yojimmbo has joined #ruby
<sandstrom> DaniG2k: perhaps you'll find this interesting (not C though): http://blog.skylight.io/bending-the-curve-writing-safe-fast-native-gems-with-rust/
<DaniG2k> Waheedi: what's swig?
roolo has quit [Ping timeout: 245 seconds]
yfeldblu_ has joined #ruby
<Waheedi> DaniG2k: google
timonv has joined #ruby
<gregf__> Waheedi: module P; def r; puts "Arrgh!";end; def s;puts "Shh";end;end;c = Class.new.extend(P); %w{r s}.map{ |meth| c.send(meth.to_sym) }
<Waheedi> gregf__: i don't think what i described need that. module P def f r end def r f end
<Waheedi> end
oo_ has quit [Remote host closed the connection]
<gregf__> Waheedi: i would expect a module to be mixed into a class? dont you think so?
nettoweb has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
Guest123 has joined #ruby
vtunka has joined #ruby
<Waheedi> gregf__: its already mixed in a class.
<gregf__> Waheedi: you never told that o_O
<Waheedi> inside the module there is a help method that send_notification_messages
ghostpl_ has joined #ruby
<Waheedi> that gets called from inside the module itself
Pharaoh2 has joined #ruby
<Waheedi> did i need to tell you that I'm mixing it with class?
Pharaoh2 has quit [Max SendQ exceeded]
<gregf__> Waheedi: if you could paste some sample code quickly ;). gg
<gregf__> s/gg/gtg/
Pharaoh2 has joined #ruby
<Waheedi> i think this what i needed module_function
monod has quit [Ping timeout: 245 seconds]
<Waheedi> thx gregf__ tyt
Rollabunna has joined #ruby
oo_ has joined #ruby
krzkrz has quit [Ping timeout: 250 seconds]
<Waheedi> I can confirm that was my problem. thanks for the help again
roolo has joined #ruby
SOLDIERz has joined #ruby
<Waheedi> its really legacy stuff though :)
thsig_ has joined #ruby
selu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mikecmpb_ has joined #ruby
roolo has quit [Ping timeout: 252 seconds]
thsig has quit [Ping timeout: 252 seconds]
workmad3 has joined #ruby
mikecmpbll has quit [Ping timeout: 245 seconds]
mikecmpb_ has quit [Read error: Connection reset by peer]
krzkrz has joined #ruby
mikecmpbll has joined #ruby
Jetchisel has quit [Quit: "Unfortunately time is always against us" -- *Morpheus*]
jespada has joined #ruby
Takle has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
AlecTaylor has joined #ruby
Takle_ has joined #ruby
mkaesz has joined #ruby
SouL has joined #ruby
mikecmpbll has quit [Quit: ciao.]
mengu has quit [Remote host closed the connection]
roolo has joined #ruby
monod has joined #ruby
n008f4g_ has joined #ruby
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sigurding has quit [Quit: sigurding]
mikecmpbll has joined #ruby
matcouto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sigurding has joined #ruby
roolo has quit [Ping timeout: 264 seconds]
mikepack has joined #ruby
MasterPiece has joined #ruby
n008f4g_ has quit [Ping timeout: 240 seconds]
devyn has quit [Read error: Connection reset by peer]
lolmaus has joined #ruby
mikepack has quit [Ping timeout: 255 seconds]
danjordan has joined #ruby
<Macaveli> Is it possible to do something like this ? telephone[2..end]
<Macaveli> select the string from the second to the last char?
bw___ is now known as bw_
roolo has joined #ruby
plutonic has quit [Quit: plutonic]
<Waheedi> telephone[2..telephone.length]
<Waheedi> never tried it though
monod has quit [Ping timeout: 264 seconds]
rkgudboy has joined #ruby
<Waheedi> Macaveli:
<Macaveli> telephone[2..-1]
<Macaveli> I think that works Waheedi
devyn has joined #ruby
<Waheedi> -1
<Waheedi> never seen that
BTRE has joined #ruby
<Macaveli> that works :)
SOLDIERz_ has joined #ruby
SOLDIERz has quit [Read error: Connection reset by peer]
<avril14th> yes, -1, -2, starting from the end
<Macaveli> the -1
<avril14th> work
vtunka has quit [Quit: Leaving]
<avril14th> >> ('a'..'z').to_a[0..-2]
<eval-in> avril14th => ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y"] (https://eval.in/293084)
juanpaucar has joined #ruby
sameerynho has joined #ruby
vtunka has joined #ruby
<gregf__> Macaveli: "telephone"[2..-1] ?
roolo has quit [Ping timeout: 246 seconds]
krzkrz has quit [Ping timeout: 250 seconds]
<Macaveli> also said it gregf__
ta has quit [Remote host closed the connection]
<gregf__> ah, man. yeah. my bad
jenrzzz has quit [Ping timeout: 256 seconds]
gccostabr has joined #ruby
rodfersou has joined #ruby
sandstrom has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 264 seconds]
thsig_ has quit [Remote host closed the connection]
juanpaucar has quit [Ping timeout: 240 seconds]
SOLDIERz_ has quit [Quit: Be back later ...]
rkmylo has quit []
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
m8 has joined #ruby
ta has joined #ruby
nisstyre has joined #ruby
govg has quit [Read error: Connection reset by peer]
Takle_ has quit [Remote host closed the connection]
govg has joined #ruby
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
oki has quit [Ping timeout: 252 seconds]
mengu has joined #ruby
mengu has joined #ruby
RegulationD has joined #ruby
ta has quit [Remote host closed the connection]
thsig has joined #ruby
jusmyth has joined #ruby
jusmyth has quit [Client Quit]
klaas has quit [Quit: ZNC - http://znc.sourceforge.net]
anaeem1__ has joined #ruby
<gr33n7007h> >> ([*?a..?z].values_at(17,20,1,24,8,18,5,20,13)*'').unpack('a4a2a3')*' '
<eval-in> gr33n7007h => "ruby is fun" (https://eval.in/293085)
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
<wasamasa> >>text='foobar';text[0..2]='';text
<eval-in> wasamasa => "bar" (https://eval.in/293096)
<pontiki> which makes a *copy*, wasamasa
<wasamasa> damnit
<pontiki> of a 40 MegaByte string
<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]
sambao21 has joined #ruby
sambao21 has quit [Client Quit]
anaeem1__ has joined #ruby
piotrj has joined #ruby
decoponio has joined #ruby
drawingthesun has quit [Quit: Leaving]
anaeem1_ has quit [Ping timeout: 264 seconds]
AirNest has joined #ruby
adriancb has joined #ruby
willywos has quit [Quit: Textual IRC Client: www.textualapp.com]
blizzy has joined #ruby
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?
jottr has joined #ruby
allcentury has joined #ruby
<shevy> there is also UnboundMethod http://ruby-doc.org/core-2.1.5/UnboundMethod.html
charliesome has quit [Quit: zzz]
DaniG2k has joined #ruby
bluOxigen has quit [Ping timeout: 264 seconds]
<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
mitchellhenke has joined #ruby
<Tomasso_> shevy: let me checkl
werelivinginthef has joined #ruby
zenith_ has quit [Ping timeout: 255 seconds]
<shevy> class Mutex?
TinkerTyper has joined #ruby
wottam has joined #ruby
<shevy> you are using it?
<Tomasso_> shevy: not me.. sinatra seems using it :S
benlieb has joined #ruby
Tinfoilhat_ has joined #ruby
<Tomasso_> here is more or less what I tried to do https://github.com/sinatra/sinatra/issues/976
tunaCanBruh has joined #ruby
last_staff has quit [Quit: last_staff]
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]
blueOxigen has quit [Ping timeout: 272 seconds]
avahey has joined #ruby
mkaesz has quit [Ping timeout: 272 seconds]
amacou has joined #ruby
vtunka has quit [Ping timeout: 265 seconds]
mistermocha has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
PierreRambaud has quit [Ping timeout: 240 seconds]
AugustoC has quit [Quit: Connection closed for inactivity]
yekta has joined #ruby
jonr22 has joined #ruby
n008f4g_ has quit [Ping timeout: 246 seconds]
sevvie has joined #ruby
d10n-work has joined #ruby
amacou has quit [Ping timeout: 252 seconds]
dorei has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Takle has joined #ruby
ta has joined #ruby
Ankhers has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
it0a has joined #ruby
PierreRambaud has joined #ruby
olivierrr has joined #ruby
<olivierrr> Hi there, is there a newbie-friendly ruby channel on freenode?
jshultz has joined #ruby
<centrx> olivierrr, here or #ruby-lang
dcarmich has quit [Quit: Textual IRC Client: www.textualapp.com]
<havenwood> olivierrr: There's a smaller channel, ##new2ruby. Are we not friendly here? :P
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zenith_ has joined #ruby
vtunka has joined #ruby
<olivierrr> havenwood: lang channels are scary places for newbies
<havenwood> olivierrr: aye, that can be true
jaequery has joined #ruby
tesuji has quit [Ping timeout: 250 seconds]
leafybas_ has joined #ruby
leafybasil has quit [Read error: Connection reset by peer]
GaryOak_ has joined #ruby
zenith_ has quit [Ping timeout: 264 seconds]
GPH|work has joined #ruby
SouL_ has quit [Ping timeout: 250 seconds]
MasterPiece has joined #ruby
freerobby has quit [Quit: Leaving.]
scripore has quit [Quit: This computer has gone to sleep]
jottr has quit [Ping timeout: 272 seconds]
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rodfersou has quit [Quit: leaving]
mengu has quit [Remote host closed the connection]
agarie has joined #ruby
sinkensabe has quit [Remote host closed the connection]
freerobby has joined #ruby
flughafen_ has joined #ruby
bal has quit [Quit: bal]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tanj has joined #ruby
DrShoggoth has quit [Ping timeout: 252 seconds]
hs366 has quit [Quit: Leaving]
<tanj> when calling system(), is it possible to get more than one error status if using pipes?
ta has quit [Remote host closed the connection]
mistermo_ has joined #ruby
paulfm has quit [Quit: Goodbye]
aganov has quit [Remote host closed the connection]
<centrx> tanj, I think exit status is a message to the parent process, not part of the pipe I/O
iamjarvo has joined #ruby
<tanj> centrx: to be precise, my issue is when doing system("command1 | command2"), if command1 fails, system returns true
<centrx> tanj, See also http://ruby-doc.org/stdlib-2.1.0/libdoc/open3/rdoc/Open3.html for finer control over
<centrx> tanj, that's what | means right?
mistermocha has quit [Ping timeout: 256 seconds]
<tanj> centrx: correct. thanks for the pointer
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 :)
rodfersou has joined #ruby
naftilos76 has joined #ruby
uptownhr has joined #ruby
<tanj> bMalum: Open3 does not seem to return error statuses though.
<tanj> jhass: thanks. looks like something which could fit
sinkensabe has quit [Remote host closed the connection]
DrShoggoth has quit [Client Quit]
dru has joined #ruby
<bMalum> tanj - sure ( i think so ) i use this: puts "stdout is:" + stdout.read
<bMalum> puts "stderr is:" + stderr.read
uptownhr has quit [Client Quit]
havenn has joined #ruby
<rhllor> centrx: looks like exactly what I was looking for, thanks
jenrzzz has joined #ruby
agarie has joined #ruby
DrShoggoth has joined #ruby
Guest64 has joined #ruby
werelivinginthef has joined #ruby
<dru> is there a way to define method_missing without any definition parameters? (e.g. def method_missing instead of def method_missing(m, *a, &b) ?
lkba has joined #ruby
<avril14th> dru: why would you want that?
zenith_ has joined #ruby
<apeiros_> dru: def method_missing(*)
<dru> having * and & in my source code makes it much harder to make into a palindrome avril14th
<apeiros_> not sure why you'd want to do that either
fabrice31 has quit [Remote host closed the connection]
<dru> apeiros_: thanks, I'll see what I can do with that
<centrx> serious business
havenwood has quit [Ping timeout: 265 seconds]
chinmay_dd is now known as chinmay_dd|away
rodfersou has quit [Quit: leaving]
rodfersou has joined #ruby
uptownhr has joined #ruby
<jhass> apeiros_: 2.0.0-p643 ;)
bluOxigen has quit [Ping timeout: 250 seconds]
bluOxigen has joined #ruby
<apeiros_> thx
jenrzzz has quit [Ping timeout: 256 seconds]
<jhass> and we got a EOL date for Ruby 2.0 \o/
Fluent has joined #ruby
jonr22 has quit [Remote host closed the connection]
fgo has joined #ruby
sankaber has quit [Read error: Connection reset by peer]
apeiros_ changed the topic of #ruby to: Ruby 2.2.0; 2.1.5; 2.0.0-p643: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
<havenn> 2.0 EoL 2/24/16, *soon*.
sankaber has joined #ruby
blackmesa has joined #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.
allcentury has quit [Ping timeout: 246 seconds]
<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
<Nick_ZWG> catsoup: Was using this to test the connection: https://github.com/mislav/ssl-tools/blob/master/doctor.rb
jaequery has joined #ruby
<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 ;)
tanj has left #ruby [#ruby]
<dru> def method_missing x; "Hello World"; end; puts stup; dne; "dlroW olleH"; x gnissim_dohtem fed
<dru> that wasn't too bad :3
troyready has joined #ruby
anaeem1__ has quit [Ping timeout: 252 seconds]
<workmad3> dru: palindromic coding?
RegulationD has quit [Ping timeout: 245 seconds]
timonv has quit [Ping timeout: 245 seconds]
linoj has left #ruby [#ruby]
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?
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
RegulationD has quit [Ping timeout: 264 seconds]
joonty has quit [Quit: joonty]
yxejamir has quit [Ping timeout: 250 seconds]
<dru> cheers
tunaCanBruh has joined #ruby
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???
Zesty has quit [Quit: Linkinus - http://linkinus.com]
roolo has quit [Ping timeout: 250 seconds]
<jhass> is one ever?
<pontiki> EMACS FORE'ER AND ALWAYS!!
jenrzzz has quit [Ping timeout: 245 seconds]
codeurge has joined #ruby
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.
RDash has quit [Changing host]
RDash has joined #ruby
Hobogrammer has joined #ruby
Nick_ZWG has left #ruby ["Textual IRC Client: www.textualapp.com"]
<miah> nextstep forever y0
wallerdev has quit [Quit: wallerdev]
lemur has quit [Ping timeout: 265 seconds]
<pontiki> i used to have to write out my code on paper, even when there were terminals, because there were like 40 of us and only like 8 terminals
agrinb has joined #ruby
<pontiki> and this was working for a Big Computer Company
<miah> cray?
<pontiki> close. Control Data
<miah> nice
<pontiki> not really :D
<miah> probably better than the admin job i had at a plastics injection company
tomharrison has joined #ruby
<pontiki> i mean, yeah, at the time, i thought it was cool
<Senjai> o/ pontiki
<miah> =)
tomharrison has left #ruby [#ruby]
<pontiki> Senjai: !! \o
<helpa> Senjai: !!!!!
<pontiki> oh stop
<Senjai> hahahaha
<Senjai> You're here late/early
<pontiki> actually, it's my day off, and it's nearly noon
<Senjai> Ah, congrats. It totally isn't mine T_T
<miah> whats a day off?
alien_ has quit [Ping timeout: 264 seconds]
Soda has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 256 seconds]
iamjarvo has joined #ruby
lrocknrolmarc has joined #ruby
<scripore> is there anyway to easily deploy a CLI app to the web so that others can use it without having to build it on their local machine?
<Fluent> .tar.gz
zenith_ has quit [Ping timeout: 246 seconds]
<Fluent> Just kidding. Why not roll it into a gem?
<Fluent> Oh wait damnit
roolo has joined #ruby
paulfm has quit [Ping timeout: 245 seconds]
<Fluent> I see, you want to convert something from a CLI to a web service
<Fluent> Not that I know of.
allen_ has joined #ruby
mitchell_ has quit [Quit: Computer has gone to sleep.]
<allen_> How may I convert a string in the json format to a ruby hash?
<allen_> or how do i get that string to be a legit json object without being a string
<pontiki> JSON.parse(string)
<allen_> i get an illegal token error
ninedragon has quit [Ping timeout: 244 seconds]
<pontiki> then you're string isn't proper json
shadoi has joined #ruby
<scripore> @Fluent okay, thanks. just thought there might be a way to easily do that.
MatheusOl has joined #ruby
<allen_> pontiki: hmm but i remember converting a ruby hash.to_json and storing it on my file system, im just re-reading that
StoneCyp1er has joined #ruby
MatheusOl has left #ruby ["WeeChat 0.3.7"]
<pontiki> i don't know what you did, or what happened to it
lessless has joined #ruby
govg has quit [Ping timeout: 272 seconds]
roolo has quit [Ping timeout: 240 seconds]
<miah> bundle vendor && tar =)
oetjenj has joined #ruby
x1337807x has joined #ruby
<miah> we package 'slugs' of all our apps this way. no builds required on deployment.
<shevy> slugs and snails
roolo has joined #ruby
<miah> our tar contains a 'bin/run' and 'run' is just a shell script or whatever that calls the 'app' we've installed.
<pontiki> miah: i heard a different request; they want to take a CLI app and turn it into a web app
<miah> ah
<miah> "so that others can use it without having to build it on their local machine"
tcrypt has joined #ruby
<pontiki> yeah, i heard that as "download and install, then run"
<miah> i think 'to the web' just means 'how can i publish this so that others may use it'
<pontiki> yeah, i don't know
<ton31337> what is here? 26402 15:59:36 tgkill(26400, 26405, SIGVTALRM) = 0
<miah> so, bundle package/vendor; bundle install. tar.
<ton31337> I've got redis timeout after this
Dopagod has quit [Ping timeout: 252 seconds]
<pontiki> that's how you'd *distribute* it
<pontiki> not *deploy* it
<miah> nothing required for deploy at that point. download extract tar. execute bins
aswen has quit [Ping timeout: 245 seconds]
<pontiki> see, there's so much that's not clear in the request
<miah> you'd still have to use 'bundle exec <foo>' or what4ever
KnownSyntax has quit [Quit: Connection closed for inactivity]
x1337807x has quit [Client Quit]
<miah> but like i said, we package a 'bin/run' to make it simpler
agarie has quit []
nobitanobi has joined #ruby
leafybasil has quit [Remote host closed the connection]
klmlfl has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
<scripore> yeah, my bad, guys. that was a poorly phrased question. I think I'll just have to research Sinatra to make it into a web app.
<pontiki> which is totally legit
mikecmpbll has joined #ruby
roolo has quit [Ping timeout: 256 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
jerius has quit [Ping timeout: 256 seconds]
<pontiki> then there's question about distributing it to places that don't have a ruby ecosystem...
<miah> thats a different question though
<miah> in which case you want something like omnibus
jerius has joined #ruby
Dopagod has joined #ruby
flughafen_ has joined #ruby
<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 :)
<havenwood> scripore: You can distribute a Traveling Ruby binary: https://phusion.github.io/traveling-ruby/
turtil has joined #ruby
<miah> traveling ruby is cool too
claw_ has joined #ruby
<havenwood> scripore: Or there's always mruby. \o/
<miah> havent used it personally though
<miah> mruby can't require external stuff though iirc
sambao21 has joined #ruby
wallerdev has joined #ruby
<havenwood> miah: I did a Hello Worldy type traveling ruby app and it was painless.
<miah> nice
riotjones has joined #ruby
MissionCritical has quit [Ping timeout: 256 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jaequery has joined #ruby
<flughafen_> question: nokogiri is failing due to not finding libxml2, though, it's version 1.6.6 which has libxml2 source included?
<scripore> ah, okay, thanks! I'm gonna check out those links right now.
<havenwood> miah: Saw a little gem wrapper to automate what they have as a Rake task, but haven't checked it out yet: https://github.com/sleewoo/traveler#traveler
<miah> havenwood: nice
<miah> nokogiri is always :/
wallerdev has quit [Client Quit]
<havenwood> is Oga our hope for the future?: https://github.com/YorickPeterse/oga#readme
<miah> i tend to do stuff like this to deal with nokogiri; https://gist.github.com/miah/380208004a39febf8389#file-makefile-L14-L19
<havenwood> mmm
<miah> oga could be great
<miah> the amount of workarounds i have to deal with nokogiri is more than i should have
wallerdev has joined #ruby
<flughafen_> i eve nhave the libxml2 and libxslt devel packages installed too
brownfaux has joined #ruby
centrx has quit [Quit: Shutting down, Please wait...]
<miah> are you on osx?
jaequery has quit [Ping timeout: 244 seconds]
Waheedi has quit [Quit: Waheedi]
riotjones has quit [Ping timeout: 250 seconds]
RegulationD has joined #ruby
tjbiddle has joined #ruby
Spooner has quit [Read error: Connection reset by peer]
<rhllor> any know of any good tk tutorials besides tkdocs?
danman has joined #ruby
agrinb has quit [Remote host closed the connection]
JBreit has joined #ruby
ninedragon has joined #ruby
agrinb has joined #ruby
Zai00 has quit [Quit: Zai00]
MissionCritical has joined #ruby
Soda has joined #ruby
iamninja has quit [Ping timeout: 250 seconds]
iamjarvo has joined #ruby
Dopagod has quit [Ping timeout: 240 seconds]
RegulationD has quit [Ping timeout: 272 seconds]
jonr22 has joined #ruby
roolo has joined #ruby
_ixti_ has joined #ruby
mkaesz has joined #ruby
_djbkd has joined #ruby
agrinb has quit [Ping timeout: 250 seconds]
ixti has quit [Ping timeout: 256 seconds]
n008f4g_ has joined #ruby
paradoja has quit [Ping timeout: 250 seconds]
<flughafen_> miah: no, not osl
<flughafen_> linux
<miah> flughafen_: interesting
nobitanobi has quit [Remote host closed the connection]
justin_pdx has joined #ruby
<miah> i think 90% of my nokogiri problems happen in osx
roolo_ has joined #ruby
benlieb has quit [Quit: benlieb]
jonr22 has quit [Ping timeout: 252 seconds]
<rhllor> mac osx always gives problems for developers
<rhllor> I couldn't install 2.1.3+ on mac bc it would stall on linking miniruby
<flughafen_> rhllor: when i searched for errors all the results are for osx
<rhllor> 2.2 works fine though
roolo has quit [Ping timeout: 272 seconds]
<shevy> :(
<shevy> syck did not work for me on 2.2.0
ItSANgo has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
sinkensabe has quit [Remote host closed the connection]
<havenwood> shevy: psych
<shevy> yeah
<flughafen_> it's for rails, i'm not sure why it's required by default for rails
<shevy> I have invalid yaml files though
roolo_ has quit [Ping timeout: 240 seconds]
JBreit has left #ruby ["Leaving"]
<jhass> make them valid then?
<shevy> not possible
<jhass> because?
<shevy> because they must remain how they are
<havenwood> shevy: how are they invalid?
<shevy> havenwood some ISO encoding
<havenwood> shevy: not an encoding, ah
<shevy> ISO-8859-1 right now
<jhass> why must they?
<havenwood> shevy: UTF-8 ALL THE THINGS! \o/
aspiringflaneur has joined #ruby
ych4k3r has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> havenwood yeah
aspiringflaneur has quit [Max SendQ exceeded]
<shevy> jhass it is not possible to switch
<jhass> because?
<shevy> jhass because it is not possible
<jhass> if you offer no explanation to your problem, then maybe stop whining about it
* arup_r thinking what to ask related to Ruby .....
<shevy> jhass I would have to switch my editor as well
<pontiki> oh c'mon, whining is the national sport!
thevisitor has joined #ruby
thevisitor has left #ruby [#ruby]
<jhass> your editor can't handle UTF-8? that' seriously stupid then
<shevy> yeah
<shevy> and now what?
OrbitalKitten has joined #ruby
<arup_r> use Emac
<jhass> well, for me that would be more pain than any other editor could be
mengu has joined #ruby
mengu has joined #ruby
send has quit [Remote host closed the connection]
mengu has quit [Remote host closed the connection]
<shevy> I find most editors quite painful
anaee____ has joined #ruby
<ponga> no utf8?
<ponga> no way
<shevy> ponga why would I need utf8?
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<havenwood> shevy: you need to find a more capable editor, like pico or nano. >.>
ghostpl_ has quit [Remote host closed the connection]
<havenwood> shevy: ever tried Atom?
<miah> ed forever.
<shevy> nano is ok-ish but kinda trivial
leafybasil has joined #ruby
<shevy> nope, never tried Atom so far
zenith_ has joined #ruby
<havenwood> shevy: do eet
<shevy> ok
<miah> just make sure you disable the google analytics
<shevy> ack
<miah> because every key press generates some
<pontiki> for reals??
<pontiki> ugh
<miah> last item on faq
workmad3 has quit [Ping timeout: 252 seconds]
<miah> aka i like lag
anaeem1__ has quit [Ping timeout: 265 seconds]
<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
<arup_r> _lazarevsky: Hash#delete
<peteyg> arup_r: then something like this will solve your problem: http://stackoverflow.com/a/10979698
<_lazarevsky> agh
<_lazarevsky> I searched for "remove"
mitchellhenke has joined #ruby
zorak8 has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wallerdev has quit [Quit: wallerdev]
<baweaver> >> {1: 1, 2: 2, 3: 3}.reject { |k, _| k == 1 }
<eval-in> baweaver => /tmp/execpad-7aadec967b0c/source-7aadec967b0c:2: syntax error, unexpected ':', expecting => ... (https://eval.in/293303)
<arup_r> peteyg: I searched and found http://stackoverflow.com/a/16423919/2767755 But that's OK.. No idea how to add next weekday,,, when ignoring weekend
tunaCanBruh has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
<baweaver> >> {'1' => 1, '2' => 2, '3' => 3}.reject { |k, _| k == '1' }
<eval-in> baweaver => {"2"=>2, "3"=>3} (https://eval.in/293304)
<arup_r> baweaver: Tha's too much
<jhass> baweaver: yeah, what's wrong with Hash#delete
giuseppesolinas has joined #ruby
<arup_r> >> {'1' => 1, '2' => 2, '3' => 3}.delete('1')
<eval-in> arup_r => 1 (https://eval.in/293305)
sinkensabe has joined #ruby
<baweaver> mutation
juanpaucar has joined #ruby
<baweaver> unnecessary
<baweaver> makes a mess
<arup_r> well
* arup_r exit from IRB
wallerdev has joined #ruby
roolo has quit [Ping timeout: 272 seconds]
Tinfoilhat_ has quit [Read error: Connection reset by peer]
<jhass> I see no problem with that if you own the object
<baweaver> still a bad idea
<jhass> if you want a mutation free language ruby is not the right choice in the first place
meatherly has joined #ruby
<baweaver> you want to minimize state where possible
<baweaver> in all languages
allen_ is now known as coetry
agrinb has joined #ruby
<coetry> Excuse my ignorance of the regex arts and string wizardry, but how many I get only the file name portion from this string?
<coetry> "/media/175550/565.pdf"
<baweaver> It doesn't need to be pure, but at the same time you shouldn't mutate state unless necessary
<coetry> everything after the last "/", how can I make that into a regex condition
<arup_r> easy
<jhass> coetry: File.basename
<apeiros_> coetry: File.basename(path)
<coetry> oooooh nice
<arup_r> >> File.basename("/media/175550/565.pdf")
<eval-in> arup_r => "565.pdf" (https://eval.in/293309)
<coetry> sweet!
Spami has joined #ruby
<ponga> _lazarevsky: are you good now? did it work?
<arup_r> apeiros_ : so fast
<coetry> :)
doodlehaus has quit [Remote host closed the connection]
zorak8 has quit [Ping timeout: 252 seconds]
<baweaver> regex is another thing not to jump too quickly to. There are normally other ways about the same problem
qhartman has quit [Quit: Ex-Chat]
<_lazarevsky> ponga: it sure did
<_lazarevsky> thanks mate
jlast has left #ruby ["Leaving..."]
<baweaver> such as base path, split, and other such methods.
<panzi> anyone know an alternative to capistrano that actually works?
<coetry> baweaver cool
<arup_r> >> require 'pathname' ; Pathname.new("/media/175550/565.pdf").basename
<eval-in> arup_r => #<Pathname:565.pdf> (https://eval.in/293310)
<baweaver> chef, saltstack, ansible, etc
<arup_r> >> require 'pathname' ; Pathname.new("/media/175550/565.pdf").basename.to_s
<eval-in> arup_r => "565.pdf" (https://eval.in/293311)
casadei has joined #ruby
<arup_r> coetry: ^^
* arup_r showing of his Ruby skills
<arup_r> :p
kl has quit [Ping timeout: 252 seconds]
zenith_ has quit [Ping timeout: 250 seconds]
<arup_r> >> File.split("/media/175550/565.pdf").last
<eval-in> arup_r => "565.pdf" (https://eval.in/293314)
<apeiros_> it's a good idea to spend a bit of time to learn regex proper
<arup_r> Nothing..Left coetry :
<baweaver> It is (rubular.com)
<baweaver> but some times when you have a hammer....
meatherly has quit []
zorak8 has joined #ruby
Nick_ZWG has left #ruby ["Textual IRC Client: www.textualapp.com"]
atomi has quit [Ping timeout: 264 seconds]
elaptics is now known as elaptics_away
wldcordeiro_ has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
B1n4r10 has joined #ruby
<arup_r> peteyg: I thought something like https://gist.github.com/aruprakshit/c9d7484e52c0aa2d0a04 ... Is it ugly or error prone ?
cajone has quit [Remote host closed the connection]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
Bounga has quit [Quit: Bounga]
B1n4r10 has quit [Max SendQ exceeded]
RegulationD has joined #ruby
paulfm has joined #ruby
<coetry> arup_r, yeah bro you just ate the whole plate and taught us how to cook
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
<coetry> well you taught me atleast :), maybe others are already seasoned chefs
<arup_r> lol
timonv has joined #ruby
ponga has quit [Read error: Connection reset by peer]
dfinninger has joined #ruby
The_Phoenix has joined #ruby
<Fluent> food
The_Phoenix has quit [Max SendQ exceeded]
<arup_r> water
dfinninger has quit [Read error: Connection reset by peer]
cajone has joined #ruby
<arup_r> please click on my gist anyone...
m8 has joined #ruby
dfinninger has joined #ruby
<Fluent> I don't know what a my gist anyone is
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
patrick99e99 has joined #ruby
sambao21 has joined #ruby
tvw has joined #ruby
The_Phoenix has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
The_Phoenix has quit [Max SendQ exceeded]
RegulationD has quit [Ping timeout: 250 seconds]
The_Phoenix has joined #ruby
patrick99e99 has quit [Client Quit]
fryguy9 has joined #ruby
withnale_ has quit [Ping timeout: 240 seconds]
giuseppesolinas has joined #ruby
nerium has joined #ruby
werelivinginthef has quit [Remote host closed the connection]
<nerium> Is there a way to force DNS lookups in Ruby to use resolv-replace instead of Socket?
avahey has quit [Quit: Connection closed for inactivity]
OrbitalKitten has joined #ruby
rdark has joined #ruby
ninedragon has quit [Ping timeout: 244 seconds]
spider-mario has quit [Ping timeout: 264 seconds]
monod has joined #ruby
zorak8 has quit [Ping timeout: 252 seconds]
zorak8 has joined #ruby
RegulationD has joined #ruby
ismaelga has quit [Remote host closed the connection]
iceden has quit [Read error: Connection reset by peer]
rdark has quit [Client Quit]
cajone has quit [Remote host closed the connection]
RitterJack has quit [Quit: Quitte]
cajone has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
ponga has joined #ruby
OrbitalKitten has quit [Client Quit]
Sakens has joined #ruby
Hijiri has joined #ruby
timonv has quit [Ping timeout: 264 seconds]
<arup_r> :(
scripore has joined #ruby
momomomomo has joined #ruby
roolo has joined #ruby
The_Phoenix has quit [Read error: Connection reset by peer]
cajone has quit [Remote host closed the connection]
<ponga> whats up arup_r
Dopagod has joined #ruby
cajone has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
<arup_r> Or you have some better idea too ?
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
sivsushruth has joined #ruby
fuhgeddaboudit has joined #ruby
wldcordeiro has joined #ruby
oetjenj has quit [Quit: Textual IRC Client: www.textualapp.com]
jheg has quit [Quit: jheg]
gfawcettpq has joined #ruby
roolo has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
debajit has quit [Ping timeout: 246 seconds]
fuhgeddaboudit has quit [Client Quit]
fuhgeddaboudit has joined #ruby
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"))
<arup_r> peteyg: There?
turtil has left #ruby ["WeeChat 1.1.1"]
<arup_r> Here is the correct implementation https://gist.github.com/aruprakshit/c9d7484e52c0aa2d0a04
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]
bMalum has quit [Quit: bMalum]
terlar has joined #ruby
ItSANgo has joined #ruby
terlar has quit [Client Quit]
OrbitalKitten has joined #ruby
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
dru has joined #ruby
terlar has joined #ruby
rmoriz has joined #ruby
diego1 has joined #ruby
pietr0 has joined #ruby
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]
roolo has joined #ruby
RegulationD has quit [Ping timeout: 256 seconds]
bkulbida has quit [Ping timeout: 244 seconds]
nrsk has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
bkulbida1 has quit [Ping timeout: 245 seconds]
scripore has joined #ruby
afex has quit [Ping timeout: 240 seconds]
commmmodo has quit [Quit: commmmodo]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> you must compile something rkeene?
<shevy> usually C code goes into ext/
RegulationD has joined #ruby
afex has joined #ruby
Dopagod has joined #ruby
roolo has quit [Ping timeout: 264 seconds]
pierre1_ has joined #ruby
iamjarvo has joined #ruby
roolo has joined #ruby
maximski has quit []
RegulationD has quit [Ping timeout: 252 seconds]
roolo_ has joined #ruby
ldnunes has quit [Quit: Leaving]
<rkeene> shevy, I'm just trying to use "gem install" to install the gems, and they require some compilation apparently
werelivinginthef has joined #ruby
<c355E3B> Which gems?
roolo has quit [Ping timeout: 245 seconds]
WhereIsMySpoon_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<rkeene> rubygem-kgio, rubygem-rack, rubygem-raindrops, rubygem-unicorn rightnow
WhereIsMySpoon_ has joined #ruby
<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
<rkeene> wasamasa, That's what I'm doing now: gem build rack.gemspec; gem install "rack-${version}.gem" --no-document --build-root "${destdir}" --install-dir "${prefix}/lib/ruby/gems/${ruby_version}" --platform "x86_64-linux"
<eam> like if you want to repackage every gem into something like rpm
rocknrollmarc has quit [Ping timeout: 245 seconds]
uptownhr has joined #ruby
sinkensabe has joined #ruby
horsecowdog has quit [Remote host closed the connection]
<eam> rkeene: something like an LD_PRELOAD shim might work too
<eam> that'd also work on bsd/osx
<rkeene> I just want to ensure that it doesn't try to do anything except build and install rack
<rkeene> (or kgio, or raindrops, or unicorn)
Lewix has joined #ruby
Lewix has quit [Changing host]
Lewix has joined #ruby
ych4k3r has joined #ruby
terlar has quit [Quit: WeeChat 1.1.1]
scripore has quit [Quit: This computer has gone to sleep]
terlar has joined #ruby
marienz has quit [Remote host closed the connection]
cpt_yossarian has quit [Quit: And then he took off.]
ninedragon has quit [Ping timeout: 244 seconds]
baroquebobcat has joined #ruby
cpt_yossarian has joined #ruby
cmckee has joined #ruby
SOLDIERz_ has quit [Quit: Be back later ...]
leafybasil has joined #ruby
timanema has joined #ruby
otisZart has joined #ruby
elaptics_away is now known as elaptics
govg has joined #ruby
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
leafybasil has quit [Remote host closed the connection]
roolo has joined #ruby
triple_b_ has quit [Ping timeout: 246 seconds]
rrichardsr3 has joined #ruby
alien_ has quit [Ping timeout: 256 seconds]
pengin has joined #ruby
silkfox has quit [Ping timeout: 250 seconds]
terlar has quit [Quit: WeeChat 1.1.1]
terlar has joined #ruby
bMalum has joined #ruby
roolo has quit [Ping timeout: 246 seconds]
|\|370 has quit []
goshdarnyou is now known as framingplace
timanema has quit [Ping timeout: 252 seconds]
framingplace is now known as goshdarnyou
rrichardsr3 has quit [Quit: Textual IRC Client: www.textualapp.com]
rh1n0 has joined #ruby
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]
<rkeene> check_sizeof() -> try_constant() -> xpopen()
terlar has joined #ruby
<rkeene> What sets CROSS_COMPILING ?
<brownfaux> #xubuntu
<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
<shevy> yes you can do that
<shevy> gem install --ignore-dependencies -no-ri -no-rdoc ./foobar-1.0.0.gem
nettoweb has joined #ruby
sevvie has quit [Ping timeout: 252 seconds]
<rkeene> Okay, thanks
<baweaver> just take out the source and make a localhost repo
<baweaver> done
<shevy> oh true - you can also have your own local gemserver
<baweaver> source 'https://rubygems.org'
<baweaver> that line
<shevy> and install the beaver gem!
<baweaver> is what does it
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<rkeene> I don't want to have a gemserver, just convert the .gem file into an OS package
momomomomo_ has joined #ruby
<baweaver> that actually looks mildly handy
<baweaver> huh
klaas has joined #ruby
sevvie has joined #ruby
<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
<baweaver> go to a ruby console outside
<baweaver> it's not
<baweaver> nope
<rhllor> the was even like a :forty_two method
brb3 has quit [Quit: <.<]
<baweaver> Rails
momomomomo has quit [Ping timeout: 252 seconds]
momomomomo_ is now known as momomomomo
roolo has joined #ruby
<havenwood> rhllor: You can cherry pick it from ActiveSupport: require 'active_support/core_ext/array/access'
<shevy> baweaver the beaver gem is a really awesome gem to intrude into enemy systems (aka "break-the-dam")
riotjones has quit [Ping timeout: 255 seconds]
terlar has quit [Quit: WeeChat 1.1.1]
art-solopov has quit [Quit: Konversation terminated!]
<weaksauce> rkeene there is a guy that made an ebook about it
<weaksauce> no idea if it's any good though.
reinaldob has quit [Remote host closed the connection]
Dreamer3 has quit [Quit: Leaving...]
sinkensabe has quit [Remote host closed the connection]
<shevy> we ruby guys do not read documentation
postmodern has joined #ruby
<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?
<shevy> red-green-swear-turn_into_Jack_Nicholson_in_shining-refactor
DouweM has quit [Read error: Connection reset by peer]
<tobiasvl> GaryOak_: probably not, as sets are unordered and doesn't contain duplicates :P but lisp is a list-based programming language
Rapier- has quit [Quit: (null)]
<GaryOak_> the basis of the operations could be set functions
Hijiri has joined #ruby
otisZart has quit [Remote host closed the connection]
<tobiasvl> sure, but why
chinmay_dd has quit [Quit: Connection closed for inactivity]
<GaryOak_> i don't know, why not
rkeene has left #ruby [#ruby]
<GaryOak_> I guess you could just write a lib or something
<tobiasvl> basis of lisp operations are list operations (cons, car and cddr)
<rhllor> havenwood: that must of been it, I don't remember whether it was on windows or ubuntu
quazimodo has joined #ruby
<weaksauce> ah. you are right I didn't fully read the second part of your question
<GaryOak_> tobiasvl: yeah, I was thinking lisp was probably the closest thing
sambao21 has quit [Quit: Computer has gone to sleep.]
anaee____ has quit [Remote host closed the connection]
<havenwood> rhllor: The OS is irrelevant. ;)
<shevy> always lisp
jonr22 has quit [Ping timeout: 265 seconds]
mloveless has joined #ruby
<shevy> if ruby were just like lisp
<shevy> (but(these(things(here(are(usually(optional
<rhllor> havenwood: well I don't run activestate on ubuntu, so it is, in this case
blackmesa has quit [Ping timeout: 264 seconds]
roolo has joined #ruby
<rhllor> I build it from source
plutonic has joined #ruby
<GaryOak_> puts "hello, world!"))))))))))
Hijiri has quit [Client Quit]
<havenwood> rhllor: But on either, Array#second is just a require away, or define it yourself: class Array; def second; self[1] end end
Hijiri has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<rhllor> i know, but in irb, the last time, I didn't require anything
JDiPierro has quit [Remote host closed the connection]
blackmesa has joined #ruby
<weaksauce> rhllor were you in a rails console?
martianixor has joined #ruby
<rhllor> i never used rails, so no
martianixor has quit [Max SendQ exceeded]
<havenwood> rhllor: elves been messing with your .irbrc file?
<havenwood> Gah, Rails elves, get the Raid!
roolo has quit [Read error: Connection reset by peer]
martianixor has joined #ruby
piotrj has joined #ruby
roolo has joined #ruby
diegoviola has quit [Read error: No route to host]
* havenwood mutters about elves.
decoponio has quit [Read error: Connection reset by peer]
freerobby has quit [Quit: Leaving.]
<rhllor> probably, oh well, that was a long time ago, and I didn't know what I was doing back then. Who knows what I did
scripore has joined #ruby
<shevy> GaryOak_ you used 3 ) too many :)
<havenwood> rhllor: You somehow required active_support.
tier_ has quit [Ping timeout: 250 seconds]
<rhllor> by accident because I sure tdidn't do it on purpose
<rhllor> whatever. it doesn't really matter
decoponio has joined #ruby
despai has joined #ruby
sambao21 has joined #ruby
ych4k3r has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
FooMunki_ has joined #ruby
diegoviola has joined #ruby
Rollabunna has quit [Remote host closed the connection]
aclearman037 has quit [Quit: I'm out!]
zcm has joined #ruby
Rollabunna has joined #ruby
zcm has quit [Read error: Connection reset by peer]
Limix has quit [Quit: Limix]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
roolo has quit [Ping timeout: 246 seconds]
scripore has quit [Client Quit]
duncannz has joined #ruby
<baweaver> GaryOak_: Haskell
babykosh has quit [Quit: babykosh]
<GaryOak_> I've never looked at it, just heard it in programming jokes
<baweaver> Combines Category Theory, Discrete, Set, and a few others. Really you're looking for a functional language
havenwood has quit [Remote host closed the connection]
<baweaver> Monads are category theory
cpt_yossarian has quit [Remote host closed the connection]
sevvie has quit [Ping timeout: 252 seconds]
<baweaver> Python also has a lot of set operations
ponga has quit [Remote host closed the connection]
<baweaver> Lisp is literally just groups of linked lists everywhere
brownfaux has quit [Quit: leaving]
DrShoggoth has quit [Quit: Leaving]
<rhllor> baweaver: lisp is made up of cons cells, which is no different at all, but lispers get all bitchy if you call the linked lists
martianixor has quit [Ping timeout: 264 seconds]
despai has quit [Quit: This computer has gone to sleep]
brownfaux has joined #ruby
cpt_yossarian has joined #ruby
<GaryOak_> hahaha
<baweaver> I really could care less about pedantics
<GaryOak_> it's all math anyways
RegulationD has joined #ruby
<GaryOak_> I've looked at Julia, and it's pretty cool
<baweaver> Haskell is about as close as you'll get to a pure math language.
<baweaver> just look up learn you a haskell.
keen__________74 has joined #ruby
<rhllor> haskell is a great language, it's verbosity is astounding and it's easy to do things with
<baweaver> when compared to Java though, anything else is succinct.
<rhllor> a haskell program reads like english
n80 has quit [Quit: n80]
ezra_ is now known as ezra
<rhllor> well, so does applescript
ezra has quit [Changing host]
ezra has joined #ruby
<rhllor> but haskell is definitely better
keen__________73 has quit [Ping timeout: 252 seconds]
<roger_rabbit> oh man, not the haskell trolls again
_djbkd has quit [Remote host closed the connection]
<rhllor> roger_rabbit: you wanna hear people talking about haskell? go to #lua
<rhllor> i swear they talk about everything but lua
<Fluent> lol
* baweaver readies blacklist button
Jetchisel has quit [Ping timeout: 264 seconds]
momomomomo has quit [Quit: momomomomo]
<roger_rabbit> if I want to hear people talk about haskell I can just go to my local social services/unemployment center
pengin has quit [Remote host closed the connection]
<roger_rabbit> there are plenty of neckbeards there willing to espout endless diatribes about functional programming and magic the gathering
<GaryOak_> whoa!!! shots fired!
<Fluent> unemployment centers talking about Haskell? Eh, doubtful...
pengin has joined #ruby
freerobby has joined #ruby
<rhllor> lol
RegulationD has quit [Ping timeout: 246 seconds]
freerobby has quit [Client Quit]
<rhllor> I nearly pissed myself when I read that
pengin has quit [Read error: Connection reset by peer]
<roger_rabbit> I am totally just kidding around, please don't take me seriously
<ezra> i have no idea what the people at my local ss/unemp center discuss. willing to bet that it's not fucking haskell or type theory
pengin has joined #ruby
reinaldob has joined #ruby
scripore has joined #ruby
<baweaver> oi, this neckbeard is plenty well off.
coetry has quit [Ping timeout: 265 seconds]
<ezra> that's generally at the top of the developer's maslovian hierarchy
<rhllor> I wonder if any of them do Cock Magic?
<Fluent> Man, I can't even grow a beard. It's sad. I wish I could be a neckbeard, but I just can't...
vt102 has quit [Remote host closed the connection]
havenwood has joined #ruby
mikepack has joined #ruby
<baweaver> I'm working on Gandalf beard
tunaCanBruh has quit [Ping timeout: 265 seconds]
ismaelga has joined #ruby
<Fluent> That's like a legacy.
<Fluent> Goin over the top
Limix has joined #ruby
Dopagod is now known as BukLau
horsecowdog has joined #ruby
BukLau has quit [Quit: WeeChat 0.4.1]
uptownhr has quit [Quit: uptownhr]
<rhllor> gandalf beard? wwwwwhhhhhhhhyyyyy nnnnnnoooooottttttt tttttrrrreeeeeeeebbbeeeaaarrddd
<rhllor> ?
scripore has quit [Client Quit]
doodlehaus has quit [Remote host closed the connection]
Dopagod has joined #ruby
<havenwood> >> "wwwwwhhhhhhhhyyyyy nnnnnnoooooottttttt tttttrrrreeeeeeeebbbeeeaaarrddd".squeeze
<eval-in> havenwood => "why not trebeard" (https://eval.in/293353)
<GaryOak_> hahaha
<rhllor> actually treebeard
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"?
<havenwood> >> "wwwwwhhhhhhhhyyyyy nnnnnnoooooottttttt tttttrrrreeeeeeeebbbeeeaaarrddd".squeeze '^e'
<eval-in> havenwood => "why not treeeeeeeebeeeard" (https://eval.in/293354)
despai has joined #ruby
<havenwood> rhllor: ^ better?
BukLau has quit [Read error: Connection reset by peer]
<rhllor> lol yeah, I didn't even know about the .squeeze method, will come in handy next time
<rhllor> havenwood: not really, I rather trebeard
scripore has joined #ruby
<havenwood> three beards is better than one
<shevy> lol
<shevy> one for the head, one for the belly and one for the ass
<havenwood> AlecTaylor: Because the local directory is not in your $LOAD_PATH.
<havenwood> AlecTaylor: Try: require_relative
<AlecTaylor> havenwood: Tried that, same error
Dopagod has joined #ruby
<AlecTaylor> havenwood: Generated the project with "bundle gem projectname"
roolo has joined #ruby
<Fluent> require_relative 'hello.rb'
Dopagod has left #ruby [#ruby]
<AlecTaylor> Oh, with the extension?
<Fluent> Try it
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<AlecTaylor> Thanks, that worked
<Fluent> Yep
roolo has quit [Read error: Connection reset by peer]
roolo has joined #ruby
AlecTaylor has quit [Client Quit]
pdoherty has joined #ruby
<havenwood> AlecT, oh was going to say that Bundler-created gems default to `gem.files` only counting what's been checked into git.
<havenwood> `git ls-files`.split($\)
kyle__ has joined #ruby
coetry has joined #ruby
<kyle__> Why don't named captures with with .scan()?
tunaCanBruh has joined #ruby
GnuYawk has joined #ruby
baweaver has quit [Remote host closed the connection]
<havenwood> kyle__: Have an example of what you mean?
yekta has quit [Quit: yekta]
mroach has quit [Quit: mroach]
<kyle__> havenwood: Take a simple regexp with named groups like acl=/^acl[ ]{1,}(?<aclname>[^ ]+)[ ]{1,}dstdomain[ ]{1,}(?<targets>[^\n]+)$/
roolo_ has joined #ruby
roolo has quit [Read error: Connection reset by peer]
<kyle__> File.read("squid.conf").scan(acl)
jamiejackson has quit [Ping timeout: 246 seconds]
sevvie has joined #ruby
<kyle__> havenwood: With named groups what you would expect, would be an array of hashes, but instead you just get an array of arrays of matches.
juanpaucar has quit [Remote host closed the connection]
32NABEVRL is now known as JStoker
juanpaucar has joined #ruby
<kyle__> havenwood: if you did File.read("squid.conf").match(acl), you get a matchdata object back, which you can access like a hash.
<kyle__> But it's only the first match of course
codecop has quit [Remote host closed the connection]
n008f4g_ has quit [Ping timeout: 256 seconds]
nfk has quit [Quit: yawn]
Pumukel has joined #ruby
allcentury has quit [Ping timeout: 264 seconds]
scripore has quit [Quit: This computer has gone to sleep]
it0a has quit [Quit: WeeChat 1.1.1]
<havenwood> kyle__: It's compatibility-breaking so no chance in 2.3 but you could propose it for Ruby 3.0: https://bugs.ruby-lang.org/projects/ruby-trunk/issues
greedo has joined #ruby
roolo_ has quit [Ping timeout: 246 seconds]
<kyle__> havenwood: Ahh ok.
<greedo> what is the premier ruby http library?
<kyle__> Compatiblity breaking is a pretty good argument for why something doesn't do what you'd expect, I admit.
<c355E3B> greedo, for making requests?
<havenwood> greedo: There isn't a single winner but there're multiple good options. A nice pure Ruby one is HTTPClient.
<greedo> yes
<c355E3B> Faraday is also nice
<greedo> I was used to Requests in Python
<c355E3B> The middleware feature is verry cool
Spooner has joined #ruby
juanpaucar has quit [Ping timeout: 256 seconds]
OrbitalKitten has quit [Quit: Textual IRC Client: www.textualapp.com]
juanpaucar has joined #ruby
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]
nini1294 has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
juanpaucar has quit [Ping timeout: 255 seconds]
rbennacer has quit [Remote host closed the connection]
<greedo> thanks havenwood
<havenwood> greedo: np
<havenwood> wheee: HTTP.basic_auth(:user => 'user', :pass => 'pass').with('Cookie' => '9wq3w').get('https://example.com')
sinkensabe has joined #ruby
scripore has joined #ruby
<havenwood> ahem, i mean: (user: 'user', pass: 'pass')
<havenwood> sega05: If the method setting the variable fails what does it return?
ismaelga has quit [Remote host closed the connection]
<rhllor> what's the difference between a symbol and a string? in which cases would I prefer a symbol over a string?
<sega05> i think the output is just blank, but i may be mistaken
ismaelga has joined #ruby
roolo has quit [Ping timeout: 256 seconds]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<sega05> it's function_hiera() in puppet
sinkensabe has quit [Remote host closed the connection]
Tinfoilhat_ has joined #ruby
vdamewood has quit [Quit: Computer has gone to sleep.]
<sega05> actually, i think it sets :undefined
momomomomo has joined #ruby
<havenwood> rhllor: I'd suggest looking at the difference between a String, a frozen String, a dynamic Symbol and a static Symbol.
Guest13442 has quit [Ping timeout: 272 seconds]
olivier_bK has joined #ruby
<havenwood> rhllor: Static symbols are hardcoded in C. The languages internals use them or you can create them in C-exts. They are immortal.
<havenwood> rhllor: The garbage collector can't touch them.
<rhllor> okay, so like immutable string?
chrishough has joined #ruby
blandflakes has quit [Quit: Page closed]
jottr_ has joined #ruby
<rhllor> or they just stay in the memory space?
<havenwood> rhllor: They stay in memory and are immutable.
<rhllor> okay
<havenwood> rhllor: A dynamic Symbol is created in user space and can be GCed.
<rhllor> i see
<havenwood> Unless promoted to immortality by C code.
Hijiri has quit [Ping timeout: 240 seconds]
Lewix has quit [Ping timeout: 240 seconds]
<havenwood> A frozen String is immutable. An unfrozen String is mutable.
mjuszczak has joined #ruby
<havenwood> rhllor: There's a frozen String literal syntax: 'elsa'.freeze
mskaesz has quit [Remote host closed the connection]
<rhllor> lol
<rhllor> i get it though, tahnks for explaining
Ankhers has quit [Ping timeout: 245 seconds]
jottr_ has quit [Ping timeout: 250 seconds]
asteros has joined #ruby
<havenwood> rhllor: frozen String literals didn't exist until something like 2.1 and dynamic Symbols were introduced in 2.2.
Parker0 has quit [Ping timeout: 244 seconds]
roolo has joined #ruby
coetry has quit [Ping timeout: 240 seconds]
<havenwood> it used to be the string would be created then a frozen string would also be created
<havenwood> and it used to be that all symbols were never gced
duncannz has quit [Ping timeout: 256 seconds]
rhllor has quit [Quit: rhllor]
DissonantGuil3 is now known as DissonantGuile
<havenwood> now we have good times, where everything is peachy
<weaksauce> havenwood what's the purpose of frozen strings?
<weaksauce> just avoiding << ?
coetry has joined #ruby
mkaesz has joined #ruby
momomomomo has quit [Quit: momomomomo]
<havenwood> weaksauce: and stuff like not having a dup when you use it as a Hash key
scripore has quit [Quit: This computer has gone to sleep]
baweaver has joined #ruby
graydot has quit [Quit: graydot]
RegulationD has joined #ruby
<weaksauce> interesting
<shevy> so complicated!
roolo_ has joined #ruby
Rapier- has joined #ruby
roolo has quit [Ping timeout: 252 seconds]
graydot has joined #ruby
<havenwood> weaksauce: you can check how much stuff a framework like Roda freezes stuff to keep memory use low: https://github.com/luislavena/bench-micro#memory-allocationrequest
mkaesz has quit [Ping timeout: 244 seconds]
<havenwood> I've really been enjoying Roda.
vpereira_ has quit [Ping timeout: 255 seconds]
<havenwood> It doesn't stomp all over your namespace, is simple, you add what you need via an elegant plugin system. Good stuff.
<havenwood> #roda
tunaCanBruh has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby
tunaCanBruh has joined #ruby
vpereira_ has joined #ruby
Sakens has quit [Ping timeout: 255 seconds]
coetry has quit [Ping timeout: 244 seconds]
enebo has quit [Quit: enebo]
RegulationD has quit [Ping timeout: 252 seconds]
<havenwood> not that freezing is the whole story, but it's a part
despai has quit [Quit: This computer has gone to sleep]
cjim has quit [Quit: (null)]
<weaksauce> not bad
dfinninger has quit [Remote host closed the connection]
wicope has quit [Remote host closed the connection]
bkulbida has joined #ruby
silkfox has quit [Ping timeout: 265 seconds]
asteros has quit [Quit: asteros]
sivsushruth has quit [Ping timeout: 252 seconds]
StoneCyp1er is now known as StoneCypherAW
roolo_ has quit [Ping timeout: 264 seconds]
chrisja has joined #ruby
nobitanobi has quit []
jonr22 has joined #ruby
timanema has joined #ruby
rocknrollmarc has joined #ruby
RegulationD has joined #ruby
mjuszczak has quit []
rubytor has quit [Ping timeout: 252 seconds]
j0n3 has quit [Read error: Connection reset by peer]
Jetchisel has joined #ruby
crueber has quit [Quit: Leaving.]
commmmodo has quit [Quit: commmmodo]
bkulbida_ has joined #ruby
despai has joined #ruby
commmmodo has joined #ruby
<weaksauce> >> x = [1,2,3]; x << x; x.each do |y| puts(y); end
horsecowdog has quit [Remote host closed the connection]
<eval-in> weaksauce => 1 ... (https://eval.in/293369)
serivich has joined #ruby
otisZart has joined #ruby
rocknrollmarc has quit [Ping timeout: 245 seconds]
c355E3B has quit [Quit: Leaving]
<weaksauce> why does it do the [...] at the end?
RegulationD has quit [Ping timeout: 264 seconds]
<havenwood> >> a = []; a << a
<eval-in> havenwood => [[...]] (https://eval.in/293370)
<weaksauce> I get the printing of the list twice. but why the [...]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<weaksauce> I mean in the puts output havenwood
<havenwood> >> a = []; a << a; puts a
<eval-in> havenwood => [...] ... (https://eval.in/293371)
<weaksauce> but it prints 123123[...]
roolo has joined #ruby
<weaksauce> I would have expected either 123[...] or 123123
<havenwood> >> puts [].tap { |a| a << a }
<eval-in> havenwood => [...] ... (https://eval.in/293372)
Asher has quit [Quit: Leaving.]
<bradland> is [...] a literal for recursion or something?
maximski has joined #ruby
fryguy9 has quit [Ping timeout: 246 seconds]
kalusn has quit [Remote host closed the connection]
maximski has quit [Max SendQ exceeded]
bkulbida has quit [Ping timeout: 264 seconds]
juanpablo__ has quit [Quit: (null)]
juanpablo_ has joined #ruby
maximski has joined #ruby
<havenwood> bradland: a self reference thing, yeah. i don't really understand it.
afex has quit [Ping timeout: 256 seconds]
bkulbida_ has quit [Ping timeout: 252 seconds]
<havenwood> >> x = [1,2,3]; x << x; x.each do |y| p(y); end
<eval-in> havenwood => 1 ... (https://eval.in/293373)
<havenwood> weaksauce: ^
<bradland> the output from eval-in is different than what i get in pry, in that specific case
Hijiri has joined #ruby
<weaksauce> ah that's why
<havenwood> 1, then 2, then 3, then [1, 2, 3, [...]]
roolo has quit [Ping timeout: 265 seconds]
<weaksauce> puts an array will expand the array
<havenwood> weaksauce: yup!
vvivv has quit [Quit: Leaving]
<dru> >> def method_missing x; "Hello World"; end; puts stup; dne; "dlroW olleH"; x gnissim_dohtem fed
<eval-in> dru => Hello World ... (https://eval.in/293374)
<dru> huehuehue
<weaksauce> interesting that it didn't recurse forever and just printed out [...]
<weaksauce> neat
maletor_ has joined #ruby
pottsy has joined #ruby
arescorpio has joined #ruby
maletor has quit [Ping timeout: 264 seconds]
<gr33n7007h> >> require 'set'; s = Set.new; s << s
<eval-in> gr33n7007h => #<Set: {#<Set: {...}>}> (https://eval.in/293377)
baweaver has quit [Remote host closed the connection]
mroach has joined #ruby
reinaldob has quit [Remote host closed the connection]
<bradland> sadist!
reinaldob has joined #ruby
olivier_bK has quit [Ping timeout: 272 seconds]
<gr33n7007h> >> require 'set'; s = Set.new; s << s << s << s
<eval-in> gr33n7007h => #<Set: {#<Set: {...}>, #<Set: {...}>, #<Set: {...}>}> (https://eval.in/293381)
<gr33n7007h> hehe
roolo has joined #ruby
oleo__ has quit [Quit: Verlassend]
jottr_ has joined #ruby
oleo has joined #ruby
<gr33n7007h> >> [] << []
<eval-in> gr33n7007h => [[]] (https://eval.in/293382)
jobewan has quit [Quit: Leaving]
charliesome has joined #ruby
roolo has quit [Ping timeout: 245 seconds]
commmmodo has quit [Quit: commmmodo]
serivichi has joined #ruby
despai has quit [Quit: This computer has gone to sleep]
Butch128 has joined #ruby
danzilio has joined #ruby
<GaryOak_> what is going on in here!
<Butch128> I'm attempting to break out of a blocking function (log.tail) here - https://gist.github.com/anonymous/39756cc857506e303118 - how I do it immediately without having to wait for the next line to be read?
SouL_ has quit [Ping timeout: 250 seconds]
serivich has quit [Ping timeout: 272 seconds]
<havenwood> Butch128: If you name your file with a .rb extension it'll have pretty colors and two space indention is the way to go
oki has quit [Ping timeout: 255 seconds]
scripore has joined #ruby
<havenwood> Two-space soft tabs ftw.
* havenwood tries to see past the whitespace...
dru has quit [Ping timeout: 255 seconds]
<GaryOak_> hahaha
<GaryOak_> I use four spaces personally, I like the distinctness
<weaksauce> :( that's just crazy
<havenwood> GaryOak_: No. Noooooooooooo.
<eam> two spaces and two tabs, interleaved
<GaryOak_> hahaha
<Butch128> havenwood: yep, I used 4-spaced tabs
<havenwood> Butch128: ha, i see that
<Butch128> anything else seems to... condensed
<workmad3> eam: I'm a traditionalist... 8-space hard tabs forever!!!
<havenwood> Butch128: Condense it!
<havenwood> workmad3: oh jesus
<GaryOak_> like unix intended!
shellfu_afk has joined #ruby
<havenwood> please people, think how this looks in Japanese from top to bottom
neonalpine has quit [Remote host closed the connection]
<eam> I render all my tabs into
<havenwood> eam: as tabs should be!
<workmad3> havenwood: I write all my code in a mix of klingon and quenyan... 8 space hard tabs are the only thing that makes it look reasonable ;)
<havenwood> workmad3: having written Ruby in Klingon, I disagree.
<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?
Lewix has joined #ruby
vtunka has quit [Quit: Leaving]
<workmad3> shevy: can't say I have
<mroach> no. that sounds like an odd one
<shevy> hmm
Radar has quit [Quit: ZNC - http://znc.in]
<mroach> you could do it with bash if you wanted to
Radar has joined #ruby
roolo has quit [Ping timeout: 255 seconds]
Spooner has quit [Ping timeout: 246 seconds]
<workmad3> shevy: any constraints on ordering?
<workmad3> shevy: or is file-system ordering fine?
pengin_ has joined #ruby
chrisja has quit [Quit: leaving]
pengin has quit [Read error: Connection reset by peer]
<mroach> ls app/controllers/*.rb | sort | while read f; do echo "# SOURCE: $f" >> newfile.rb; cat $f >> newfile.rb; done
<mroach> There ya go
danzilio has joined #ruby
<bradland> Butch128: why the threads within the signal traps?
danzilio has quit [Client Quit]
Takle has quit [Remote host closed the connection]
<Butch128> bradland: no reason, just copied the code from somewhere else
vdamewood has joined #ruby
<baweaver> Dir.glob('**/*.rb').map { |f| IO.readlines(f) }.join
<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
shum has joined #ruby
<Butch128> bradland: k - thanks!
<bradland> Butch128: np, have a look at this gist: https://gist.github.com/bradland/08a0ffa3d92674556a13
<bradland> it seems odd to me that the File::Tail library would block and ignore signals
graydot has quit [Quit: graydot]
<bradland> it's entirely possible that when you called trap, you clobered the library's internal signal handling
workmad3 has quit [Ping timeout: 252 seconds]
<bradland> the same may apply for rescuing Interrupt in this case
roolo_ has joined #ruby
<bradland> a file tail library that blocks like that is kind of useless
<Butch128> bradland: you are 100% correct - i just stopped calling trap, and the File::Tail library exits correctly
roolo has quit [Ping timeout: 264 seconds]