baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.10: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ https://irclog.whitequark.org/ruby/
solocshaw has joined #ruby
<matthewd> j`ey: If it's giving you an error message, I imagine that would be instructive
ramfjord has quit [Ping timeout: 240 seconds]
<j`ey> matthewd: it's not
<j`ey> I just want to silence the output
<matthewd> So does "not working" mean it's running the command but not silencing the output?
<jhass> &> may be a bashism and your linux shell may be a ksh csh or whatever debians thingy was called
<matthewd> I understand what you want to do, I'm not clear on the manner in which your current attempt is failing to meet that need
ddffg has quit [Quit: Leaving]
<matthewd> dash
solocshaw has quit [Remote host closed the connection]
ramfjord has joined #ruby
kyleolivo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
solocshaw has joined #ruby
<j`ey> jhass: my shell is bash
<j`ey> matthewd: and yes, it's still producing output
<jhass> but is your /bin/sh
CloCkWeRX has joined #ruby
doublemalt__ has joined #ruby
<j`ey> jhass: aha
<j`ey> I really should switch to net:http instead of system(curl..
<jhass> curl has a quiet switch too
Pumukel has quit [Ping timeout: 260 seconds]
Ebok has joined #ruby
davidw has quit [Ping timeout: 252 seconds]
Derperperd_ has joined #ruby
davedev24 has quit []
<jhass> but yeah
agent_white has quit [Quit: leaving]
<jhass> open-uri might be good enough for you
Derperperd has quit [Read error: Connection reset by peer]
Derperperd_ is now known as Derperperd
Pumukel has joined #ruby
<j`ey> the silent flag still produces the output from the reply
marr has quit [Ping timeout: 260 seconds]
<jhass> -o /dev/null
ramfjord has quit [Ping timeout: 264 seconds]
ghr has quit [Ping timeout: 240 seconds]
<j`ey> jhass: excellent work around for now
<jhass> 2>&1 > /dev/null is portable too
pulsar__ has joined #ruby
stamina has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
<j`ey> but OpenURI is built in, so I should switch to that
pulsar__ has left #ruby [#ruby]
SCHAAP137 has quit [Quit: Leaving]
tlaxkit has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
jackjackdripper has quit [Quit: Leaving.]
Pumukel has joined #ruby
shock_one has quit [Ping timeout: 250 seconds]
cd-rum_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
solocshaw has quit [Remote host closed the connection]
replay has quit []
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
rgiscard has quit [Quit: Cheers]
hutch34 has quit [Quit: WeeChat 1.5]
johnny56 has quit [Ping timeout: 264 seconds]
snguyen has quit [Quit: Textual IRC Client: www.textualapp.com]
hahuang61 has joined #ruby
johnny56 has joined #ruby
tdw has joined #ruby
rkazak has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
cpruitt has quit [Quit: cpruitt]
toretore has quit [Ping timeout: 240 seconds]
axsuul has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
the_rhizo3 has joined #ruby
tdw has quit [Ping timeout: 250 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
RedNifre_ has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
RedNifre_ has joined #ruby
kavanagh_ has quit [Quit: That's all folks!]
davedev24 has joined #ruby
the_rhizo3 has quit [Ping timeout: 260 seconds]
ecksit has quit [Quit: Textual IRC Client: www.textualapp.com]
paradisaeidae has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
jgt1 has quit [Ping timeout: 244 seconds]
Guest38 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
the_rhizo3 has joined #ruby
cpruitt has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
cdg has joined #ruby
Pumukel has joined #ruby
nitric has quit [Ping timeout: 264 seconds]
the_rhizo3 has quit [Ping timeout: 264 seconds]
Spami has quit [Quit: This computer has gone to sleep]
Elvin has joined #ruby
Elvin has quit [Client Quit]
davedev24 has quit []
ramfjord has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Elvin has joined #ruby
Pumukel has joined #ruby
Spami has joined #ruby
blackmesa has joined #ruby
Amaterasu has quit [Quit: Leaving]
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
ramfjord has quit [Ping timeout: 252 seconds]
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
flashpoint9 has joined #ruby
<soahccc> Is there anything beyond STDOUT.sync and socket.flush that my prints won't arrive until there is a newline?
TomyLobo has quit [Disconnected by services]
lrgtesbyozacmgot has joined #ruby
lrgtesbyozacmgot is now known as udggrwoklziymxzx
udggrwoklziymxzx is now known as TomyLobo
Pumukel has quit [Ping timeout: 264 seconds]
cpruitt has quit [Ping timeout: 265 seconds]
Guest16777 is now known as saneax_AFK
Pumukel has joined #ruby
soLucien has quit [Ping timeout: 250 seconds]
<eam> soahccc: maybe. Are you printing to a file?
skade has joined #ruby
flashpoint9 has quit [Ping timeout: 250 seconds]
the_rhizo3 has joined #ruby
<eam> you mention a socket?
pandaant has joined #ruby
wolves_cs has joined #ruby
Rodya_ has quit [Remote host closed the connection]
<sqljunkey> I have an array ["1","2","3"] is there a command to push the number "4" in the array and simulatanously pop the number "1" out of the array so I'm left with ["2","3","4"] I tried with push and pop but push and pop take elements out from the same side.
cpruitt has joined #ruby
ramfjord has quit [Ping timeout: 244 seconds]
<eam> sqljunkey: shift and unshift are the opposing versions of push and pop
<sqljunkey> ok
ebbflowgo has quit [Quit: ebbflowgo]
<sqljunkey> so push and then shift
<sqljunkey> sounds like a dance thing
Pumukel has quit [Ping timeout: 264 seconds]
crdpink has joined #ruby
Pumukel has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
crystal77 has quit [Ping timeout: 250 seconds]
cdg has quit [Remote host closed the connection]
nankyokusei has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
cdg has joined #ruby
airdisa has quit []
symm- has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
ebbflowgo has joined #ruby
ebbflowgo has left #ruby [#ruby]
rgiscard has joined #ruby
Ropeney has joined #ruby
dling has joined #ruby
tdw has joined #ruby
Fly77 has joined #ruby
cdg has quit [Remote host closed the connection]
minimalism has quit [Quit: minimalism]
nankyokusei has quit [Ping timeout: 276 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
Rodya_ has joined #ruby
<matthewd> sqljunkey: There's also Queue, though that's primarily intended as a tool for working with threads
Pumukel has joined #ruby
rgiscard has quit [Quit: Gone fishing]
flashpoint9 has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
A_Drone has joined #ruby
Pumukel has joined #ruby
craigp has quit [Ping timeout: 276 seconds]
pieperloy_ has quit [Quit: Page closed]
flashpoint9 has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
beilabs has joined #ruby
Pumukel has joined #ruby
quakephil has quit [Ping timeout: 244 seconds]
Akuma has quit [Quit: So long sukkas!]
Spami has quit [Quit: This computer has gone to sleep]
flashpoint9 has quit [Ping timeout: 250 seconds]
wolves_cs has quit [Quit: Textual IRC Client: www.textualapp.com]
shinnya has joined #ruby
crystal77 has joined #ruby
Unicorn| has joined #ruby
Snowy has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 260 seconds]
the_rhizo3 has quit [Ping timeout: 250 seconds]
Pumukel has joined #ruby
beilabs_ has joined #ruby
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Vingador has joined #ruby
agent_white has joined #ruby
Unicorn| has quit []
jenrzzz_ has quit [Ping timeout: 240 seconds]
kobain has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
GodFather has quit [Ping timeout: 252 seconds]
beilabs has quit [Ping timeout: 240 seconds]
kyleolivo has joined #ruby
Pumukel has joined #ruby
hahuang61 has joined #ruby
Dimik has quit [Ping timeout: 276 seconds]
TPug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Nahra has quit [Read error: Connection reset by peer]
Nahra has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
Pumukel has quit [Ping timeout: 264 seconds]
blackmesa has joined #ruby
Pumukel has joined #ruby
GodFather has joined #ruby
Moblin has joined #ruby
Ebok has quit [Read error: Connection reset by peer]
flashpoint9 has joined #ruby
Silthias has quit [Ping timeout: 258 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
hahuang61 has quit [Ping timeout: 258 seconds]
c355e3b has quit [Quit: Connection closed for inactivity]
blackmesa has quit [Ping timeout: 258 seconds]
Pumukel has joined #ruby
saneax_AFK is now known as saneax
saneax is now known as Guest58735
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
boshhead has joined #ruby
al2o3-cr has quit [Quit: WeeChat 1.5]
hutch34 has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
<boshhead> If I have a class with an "each" method that yields each element of an array, is there a simple way to get the entire array? (Without doing myobj.each { |obj| push... } ?
<boshhead> Or just a sexy one-line i guess is what I'm asking for
<jgnagy_> hmmm, that depends on what you mean by "the entire array"
<jgnagy_> if it is an Array class, then call the #to_a or #dup methods
<matthewd> boshhead: If it implements #each, it "should" include Enumerable, which has a #to_a
Pumukel has quit [Ping timeout: 264 seconds]
<boshhead> matthewd, jgnagy_: thanks ill try that
Pumukel has joined #ruby
al2o3-cr has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
<boshhead> matthewd, jgnagy_: that works. now what if i had another each method on the class, like "each_foo", can I do something similar? to_a wouldnt work cuz it would use the default each
etehtsea has joined #ruby
<matthewd> my_obj.to_enum(:each_foo).to_a
<boshhead> matthewd: perfect! thank you
<matthewd> (or, if each_foo is being nice, my_obj.each_foo.to_a)
Guest58735 is now known as saneax_AFK
qguv has quit [Ping timeout: 252 seconds]
flashpoint9 has quit [Remote host closed the connection]
<boshhead> matthewd: thanks the first one worked, i guess my class is not implementing 'each_foo' as well as it could be
flashpoint9 has joined #ruby
<boshhead> second one didnt work
Pumukel has quit [Ping timeout: 260 seconds]
<jgnagy_> what is the output of object.each_foo.class
qguv has joined #ruby
<boshhead> jgnagy_: an error: `block in each_commander': no block given (yield) (LocalJumpError)
Pumukel has joined #ruby
nando293921 has joined #ruby
<jgnagy_> ah, so your method requires a block
<sqljunkey> I'm running my ruby script with irb. but it doesn't find syntax errors or undefined variables until it's running, is there a way to run my script to that it will find these errors before my application runs?
<boshhead> def each; @members.each { |_, member| } yield member }; end and def each_commander; each { |member| yield member if member.commander }
<boshhead> those are my methods
<matthewd> Yeah, so it could start with: return to_enum(__method__, any, method, arguments, go, here) unless block_given?
<boshhead> matthewd: interesting, thank you!
flashpoi_ has joined #ruby
<jgnagy_> sqljunkey: it sounds like you're looking for rubocop maybe?
<boshhead> jgnagy_: with that trick, it now says "Enumerator"
mixtli has quit [Ping timeout: 244 seconds]
<matthewd> boshhead: So you can now treat that result as an enumerable, acting on each_commander instead of each
flashpoint9 has quit [Ping timeout: 250 seconds]
<matthewd> == you get to_a, but also map, select, etc.
<jgnagy_> so now matthewd's second option will work
tlaxkit has quit [Quit: ¡Adiós!]
<sqljunkey> rubocop? just do rubocop sample.rb
<sqljunkey> ?
<boshhead> jgnagy_, matthewd: yup, thanks a bunch! :)
<jgnagy_> rubocop isn't the only lint tool for ruby, but it is the best I've used
craigp has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
anuxivm has left #ruby [#ruby]
GodFather has quit [Ping timeout: 252 seconds]
Pumukel has joined #ruby
tmtwd has joined #ruby
nando293921 has quit [Ping timeout: 244 seconds]
beilabs_ has quit [Remote host closed the connection]
nando293921 has joined #ruby
nando293921 has quit [Read error: Connection reset by peer]
craigp has quit [Ping timeout: 260 seconds]
Fly77 has quit [Ping timeout: 244 seconds]
kyleolivo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pumukel has quit [Ping timeout: 260 seconds]
kyleolivo has joined #ruby
require_1ll_the_ has joined #ruby
Pumukel has joined #ruby
ec0 has quit [Ping timeout: 258 seconds]
<require_1ll_the_> Hi all, have a nice Ruby coding day :)
zacts has joined #ruby
kyleolivo has quit [Ping timeout: 260 seconds]
mixtli has joined #ruby
<boshhead> thanks require_1ll_the_!
Pumukel has quit [Ping timeout: 264 seconds]
<require_1ll_the_> quit
Rodya_ has quit [Remote host closed the connection]
<require_1ll_the_> exit
require_1ll_the_ has quit [Quit: leaving]
Pumukel has joined #ruby
Rodya_ has joined #ruby
Rodya_ has quit [Remote host closed the connection]
Elvin has quit [Quit: Textual IRC Client: www.textualapp.com]
mixtli has quit [Ping timeout: 252 seconds]
hxegon_afk is now known as hxegon
govg has quit [Ping timeout: 264 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
Moblin has quit [Read error: Connection reset by peer]
govg has joined #ruby
Pumukel has joined #ruby
Ebok has joined #ruby
swills has quit [Read error: Connection reset by peer]
swills has joined #ruby
swills has quit [Max SendQ exceeded]
Pumukel has quit [Ping timeout: 260 seconds]
roflmyeggo has joined #ruby
swills has joined #ruby
Silthias has joined #ruby
Ebok has quit [Read error: Connection reset by peer]
qguv has quit [Ping timeout: 244 seconds]
roflmyeggo has quit [Ping timeout: 250 seconds]
Ebok has joined #ruby
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
tjohnson has quit [Quit: Connection closed for inactivity]
roflmyeggo has joined #ruby
Pumukel has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
qguv has joined #ruby
rajdesai has joined #ruby
blackmesa has joined #ruby
skweek has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
banisterfiend has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
qguv has quit [Client Quit]
blackmesa has quit [Ping timeout: 260 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
qguv has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
A_Drone has quit [Remote host closed the connection]
flashpoi_ has quit [Remote host closed the connection]
blackwind_123 has quit [Ping timeout: 250 seconds]
MrBusiness3 has joined #ruby
A_Drone has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
roflmyeggo has quit [Ping timeout: 264 seconds]
banisterfiend has joined #ruby
roflmyeggo has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
craigp has joined #ruby
shock_one has joined #ruby
Emmanuel_Chanel has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
malconis has joined #ruby
Pumukel has joined #ruby
craigp has quit [Ping timeout: 244 seconds]
auzty has joined #ruby
shock_one has quit [Ping timeout: 260 seconds]
hutch34 has quit [Quit: WeeChat 1.5]
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Pumukel has quit [Ping timeout: 260 seconds]
TomyLobo has quit [Ping timeout: 264 seconds]
beilabs has joined #ruby
Pumukel has joined #ruby
gix has quit [Ping timeout: 276 seconds]
etehtsea has quit [Ping timeout: 240 seconds]
arescorpio has quit [Quit: Leaving.]
gnufied has quit [Quit: Leaving]
cmoneylulz has joined #ruby
gix has joined #ruby
mixtli has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
howdoi has joined #ruby
tmtwd has quit [Ping timeout: 250 seconds]
Pumukel has joined #ruby
qguv has quit [Ping timeout: 244 seconds]
Contigi has quit [Quit: Leaving]
A_Drone has quit [Remote host closed the connection]
hk238 has joined #ruby
saneax_AFK is now known as saneax
Pumukel has quit [Ping timeout: 264 seconds]
A_Drone has joined #ruby
A_Drone has quit [Remote host closed the connection]
tubuliferous_ has quit [Ping timeout: 252 seconds]
saneax is now known as Guest82939
A_Drone has joined #ruby
Pumukel has joined #ruby
A_Drone has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 264 seconds]
blackmesa has joined #ruby
Pumukel has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
paradisaeidae has left #ruby [#ruby]
qguv has joined #ruby
rgiscard has joined #ruby
conta has joined #ruby
doublemalt__ has quit [Ping timeout: 250 seconds]
wuyin has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Spami has joined #ruby
Pumukel has joined #ruby
wuyin has quit [Client Quit]
Guest82939 is now known as saneax_AFK
kp666 has joined #ruby
tdw has quit [Ping timeout: 250 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
tjohnson has joined #ruby
cmoneylulz has quit []
lxsameer has joined #ruby
astrobun_ has joined #ruby
wuyin has joined #ruby
Z3N1T has quit [Ping timeout: 240 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
dhollinger has joined #ruby
Pumukel has joined #ruby
doublemalt__ has joined #ruby
craigp has joined #ruby
pandaant has quit [Remote host closed the connection]
dezull has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pumukel has joined #ruby
roflmyeggo has quit [Ping timeout: 244 seconds]
craigp has quit [Ping timeout: 258 seconds]
the_rhizo3 has joined #ruby
etehtsea has joined #ruby
jack123k has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jack123k has left #ruby [#ruby]
Rickmasta has joined #ruby
solocshaw has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
flashpoint9 has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Vingador has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
malconis has joined #ruby
Yxhvd has quit [Ping timeout: 258 seconds]
malconis has quit [Remote host closed the connection]
malconis has joined #ruby
shock_one has joined #ruby
moei has quit [Quit: Leaving...]
unforgiven512 has joined #ruby
unforgiven512 has quit [Max SendQ exceeded]
unforgiven512 has joined #ruby
unforgiven512 has quit [Max SendQ exceeded]
moei has joined #ruby
unforgiven512 has joined #ruby
unforgiven512 has quit [Max SendQ exceeded]
Pumukel has quit [Ping timeout: 264 seconds]
unforgiven512 has joined #ruby
unforgiven512 has quit [Max SendQ exceeded]
raeoks has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
Pumukel has joined #ruby
unforgiven512 has joined #ruby
unforgiven512 has quit [Max SendQ exceeded]
unforgiven512 has joined #ruby
unforgiven512 has quit [Max SendQ exceeded]
unforgiven512 has joined #ruby
unforgiven512 has quit [Max SendQ exceeded]
unforgiven512 has joined #ruby
unforgiven512 has quit [Max SendQ exceeded]
s2013 has joined #ruby
s2013 has quit [Read error: Connection reset by peer]
unforgiven512 has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
banisterfiend has quit [Read error: Connection reset by peer]
tubuliferous_ has joined #ruby
diegoviola has quit [Quit: WeeChat 1.5]
pawnbox has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
A_Drone has joined #ruby
solocshaw has quit [Remote host closed the connection]
A_Drone has quit [Remote host closed the connection]
Pumukel has joined #ruby
ericsupreme has joined #ruby
solocshaw has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
A_Drone has joined #ruby
alfiemax has joined #ruby
solocshaw has quit [Remote host closed the connection]
tmtwd has joined #ruby
pawnbox has quit [Ping timeout: 265 seconds]
pawnbox has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
blackmesa has joined #ruby
Pumukel has joined #ruby
mixtli has quit [Ping timeout: 265 seconds]
solocshaw has joined #ruby
beilabs has quit [Read error: Connection reset by peer]
beilabs has joined #ruby
danman has quit [Read error: Connection reset by peer]
danman has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
blackmesa has quit [Ping timeout: 258 seconds]
Azure|dc has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Pumukel has joined #ruby
harfangk has joined #ruby
sam___ has joined #ruby
Azure has quit [Ping timeout: 240 seconds]
kavanagh has joined #ruby
solocshaw has quit [Remote host closed the connection]
kavanagh is now known as kavanagh_
mitt3ns has joined #ruby
agent_white has quit [Disconnected by services]
mitt3ns is now known as agent_white
nankyokusei has joined #ruby
conta has quit [Remote host closed the connection]
sujith has joined #ruby
conta has joined #ruby
Cohedrin has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
Z3N1T has joined #ruby
cpruitt has quit [Quit: cpruitt]
teclator has quit [Quit: No Ping reply in 180 seconds.]
sam___ has quit []
teclator has joined #ruby
solocshaw has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
conta has quit [Ping timeout: 260 seconds]
etehtsea has quit [Ping timeout: 265 seconds]
conta has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
shock_one has quit [Remote host closed the connection]
Pumukel has joined #ruby
jackjackdripper has joined #ruby
rkazak has joined #ruby
craigp has joined #ruby
solocshaw has quit [Remote host closed the connection]
conta has quit [Ping timeout: 260 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
solocshaw has joined #ruby
Pumukel has joined #ruby
craigp has quit [Ping timeout: 240 seconds]
ericsupreme has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
lightheaded has quit [Remote host closed the connection]
the_drow has joined #ruby
solocshaw has quit [Remote host closed the connection]
lightheaded has joined #ruby
lightheaded has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 260 seconds]
Dimik-- has joined #ruby
lightheaded has joined #ruby
M-mistake has quit [Read error: Connection reset by peer]
TheGillies has quit [Read error: Connection reset by peer]
M-shine has quit [Read error: Connection reset by peer]
M-manveru has quit [Write error: Connection reset by peer]
Pumukel has joined #ruby
solocshaw has joined #ruby
malconis has joined #ruby
lightheaded has quit [Ping timeout: 258 seconds]
malconis has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 264 seconds]
A_Drone has quit [Remote host closed the connection]
A_Drone has joined #ruby
yeticry_ has quit [Quit: leaving]
l4v2 has quit [Quit: l4v2]
yeticry has quit [Remote host closed the connection]
M-shine has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
yeticry has joined #ruby
nando293921 has joined #ruby
malconis has joined #ruby
last_staff has joined #ruby
solocshaw has quit [Ping timeout: 250 seconds]
Pumukel has joined #ruby
mikecmpbll has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
solars has joined #ruby
Pumukel has joined #ruby
rajdesai has quit [Remote host closed the connection]
danman has quit [Quit: danman]
dhollinger has quit [Quit: WeeChat 1.5]
the_drow has quit [Quit: This computer has gone to sleep]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lightheaded has joined #ruby
theRoUS has quit [Ping timeout: 240 seconds]
theRoUS has joined #ruby
rajdesai has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
aganov has joined #ruby
blackmesa has joined #ruby
tvw has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
jeanlinux has joined #ruby
tdy has quit [Quit: tdy]
blackmesa has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
saneax_AFK is now known as saneax
saneax is now known as Guest16036
jgnagy_ has quit []
yeticry has quit [Ping timeout: 244 seconds]
jgnagy has joined #ruby
jgnagy has quit [Client Quit]
yeticry has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
mrx88 has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
Pumukel has joined #ruby
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
firstdayonthejob has joined #ruby
yardenbar has joined #ruby
conta has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Hyuk has joined #ruby
rajdesai has quit [Remote host closed the connection]
craigp has joined #ruby
Pumukel has joined #ruby
Hyuk has quit [Client Quit]
A_Drone has quit [Remote host closed the connection]
A_Drone has joined #ruby
craigp has quit [Ping timeout: 240 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
rgiscard has quit [Ping timeout: 240 seconds]
quakephil has joined #ruby
weemsledeux has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
dezull has quit [Ping timeout: 258 seconds]
AlexRussia has quit [Ping timeout: 250 seconds]
Pumukel has joined #ruby
blaxter has joined #ruby
submitnine has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
Hyuk has joined #ruby
firstdayonthejob has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby
tmtwd has quit [Ping timeout: 260 seconds]
Silthias1 has joined #ruby
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Silthias has quit [Ping timeout: 260 seconds]
lightheaded has quit [Remote host closed the connection]
andikr has joined #ruby
Pumukel has joined #ruby
tjohnson has quit [Quit: Connection closed for inactivity]
minimalism has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Silthias has joined #ruby
TomyWork has joined #ruby
A_Drone has quit [Remote host closed the connection]
Pumukel has joined #ruby
Yxhuvud has joined #ruby
Yxhuvud has quit [Client Quit]
Yxhuvud has joined #ruby
Silthias1 has quit [Ping timeout: 252 seconds]
moredhel has joined #ruby
minimalism has quit [Client Quit]
lightheaded has joined #ruby
jgt1 has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
A_Drone has joined #ruby
Pumukel has joined #ruby
symm- has joined #ruby
ta_ has joined #ruby
the_drow has joined #ruby
the_rhizo3 has quit [Ping timeout: 250 seconds]
minimalism has joined #ruby
the_drow has quit [Client Quit]
jackjackdripper has quit [Quit: Leaving.]
rajdesai has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
TheWhip has joined #ruby
jaiks1 has quit [Remote host closed the connection]
Pumukel has joined #ruby
the_drow has joined #ruby
blackmesa has joined #ruby
shock_one has joined #ruby
nando293921 has quit [Ping timeout: 258 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
blackgoat has quit [Ping timeout: 264 seconds]
rsampaio_ has quit [Ping timeout: 258 seconds]
Pumukel has joined #ruby
selu has joined #ruby
blackgoat has joined #ruby
nankyokusei has joined #ruby
edwinvdgraaf has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
yeticry has quit [Read error: Connection reset by peer]
lightheaded has quit [Remote host closed the connection]
edwinvdg_ has joined #ruby
A_Drone has quit [Remote host closed the connection]
jenrzzz has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
amclain has quit [Quit: Leaving]
nankyokusei has quit [Ping timeout: 240 seconds]
blackgoat has quit [Ping timeout: 244 seconds]
bougyman has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
A_Drone has joined #ruby
edwinvdgraaf has quit [Ping timeout: 250 seconds]
mrx88 has quit [Ping timeout: 252 seconds]
bougyman has joined #ruby
bougyman has joined #ruby
bougyman has quit [Changing host]
yeticry has joined #ruby
lightheaded has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tvw has quit []
Pumukel has quit [Ping timeout: 260 seconds]
aufi has joined #ruby
auzty has quit [Quit: Leaving]
Pumukel has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
postmodern has quit [Quit: Leaving]
craigp has joined #ruby
jaruga___ has joined #ruby
Silthias1 has joined #ruby
jaruga___ has quit [Client Quit]
jaruga___ has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Silthias has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
edwinvdg_ has quit [Ping timeout: 250 seconds]
craigp has quit [Ping timeout: 276 seconds]
yeticry has quit [Ping timeout: 244 seconds]
tdy has joined #ruby
mtotheg has joined #ruby
elifoster has quit [Quit: sleep]
yeticry has joined #ruby
Immune has joined #ruby
<mtotheg> h
Immune has quit [Read error: Connection reset by peer]
jaruga___ has quit [Quit: jaruga___]
Pumukel has quit [Ping timeout: 264 seconds]
Spami has quit [Quit: This computer has gone to sleep]
<jhass> hi
the_drow has quit [Quit: This computer has gone to sleep]
shock_one has quit [Remote host closed the connection]
craigp has joined #ruby
skade has joined #ruby
lightheaded has quit [Remote host closed the connection]
lightheaded has joined #ruby
ta_ has quit [Remote host closed the connection]
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
Immune has joined #ruby
Pumukel has joined #ruby
ponga has joined #ruby
lightheaded has quit [Ping timeout: 244 seconds]
Burgestrand has joined #ruby
the_drow has joined #ruby
etehtsea has joined #ruby
wuyin has quit [Ping timeout: 276 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
edwinvdg_ has joined #ruby
dezull has joined #ruby
Pumukel has joined #ruby
rajdesai has quit [Remote host closed the connection]
yfeldblum has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
blackmesa has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lightheaded has joined #ruby
loechel has joined #ruby
<mtotheg> quit
<mtotheg> exit
mtotheg has quit [Quit: leaving]
Pumukel has quit [Ping timeout: 260 seconds]
symm- has quit [Ping timeout: 276 seconds]
mixtli has joined #ruby
Nahra has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
Nahra has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
raeoks has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
wuyin has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
Hyuk has quit [Quit: Textual IRC Client: www.textualapp.com]
loechel has joined #ruby
mikecmpbll has joined #ruby
Snowy has joined #ruby
Pumukel_ has joined #ruby
ta_ has joined #ruby
mixtli has quit [Ping timeout: 264 seconds]
tubuliferous_ has quit [Ping timeout: 265 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
Dimik-- has quit [Ping timeout: 265 seconds]
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
araujo has quit [Max SendQ exceeded]
the_drow has quit [Quit: This computer has gone to sleep]
toretore has joined #ruby
Pumukel has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
marr has joined #ruby
loechel has joined #ruby
Pumukel_ has quit [Ping timeout: 264 seconds]
M-manveru has joined #ruby
M-mistake has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Silthias1 has left #ruby [#ruby]
loechel has quit [Ping timeout: 260 seconds]
Silthias has joined #ruby
the_drow has joined #ruby
teclator has quit [Ping timeout: 244 seconds]
antgel has joined #ruby
Snowy is now known as Ballk
Ballk is now known as Snowy
mim1k has joined #ruby
rajdesai has joined #ruby
dezull has quit [Quit: Leaving]
edwinvdg_ has quit [Ping timeout: 264 seconds]
claudiuinberlin has joined #ruby
indistylo has joined #ruby
tomphp has joined #ruby
edwinvdgraaf has joined #ruby
dvinciguerra has joined #ruby
ICantCook has quit [Ping timeout: 258 seconds]
mja has joined #ruby
nocco has joined #ruby
nocco has quit [Client Quit]
A_Drone has quit [Remote host closed the connection]
teclator has joined #ruby
anisha has joined #ruby
Guest93616 has quit [Ping timeout: 240 seconds]
schwad has joined #ruby
Guest93616 has joined #ruby
blackmesa has quit [Ping timeout: 258 seconds]
vuoto has joined #ruby
mrgrieves has joined #ruby
vuoto_ has joined #ruby
edwinvdg_ has joined #ruby
edwinvdgraaf has quit [Read error: Connection reset by peer]
<indistylo> In this file, https://github.com/kzk/unicorn-worker-killer , in this line http://pastebin.com/ttKQ9S3T what are the numbers 192 and 256?
rajdesai has quit [Remote host closed the connection]
<ruby[bot]> indistylo: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/ddfad103cebfee4cb6a045dea20a7998
<ruby[bot]> indistylo: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
schwad has quit [Quit: Page closed]
unforgiven512 has quit [Quit: ZNC - http://znc.in]
jenrzzz has quit [Ping timeout: 240 seconds]
<jhass> indistylo: did you read the readme of the repo you linked?
ta__ has joined #ruby
<indistylo> jhass: Yes, but unable to understand, can you make me understand? kindly please elaborate
<jhass> it chooses a random value between the two and kills the unicorn worker if it consumes more memory (RSS to be precise) than that randomly chosen value
LebedevRI has joined #ruby
<jhass> so in your example a random value between 192M and 256M of RSS memory used
Diabolik has quit [Excess Flood]
<indistylo> jhass: Ok I understood, thanks for putting in very simplified words
A_Drone_ has joined #ruby
<LebedevRI> hi. is there any recommended formatting for ruby scripts, is there something like python's pep8?
A_Drone_ has quit [Remote host closed the connection]
<jhass> ?styleguides
<ruby[bot]> here are three popular styleguides, you should read and follow at least one: https://github.com/styleguide/ruby https://github.com/bbatsov/ruby-style-guide https://github.com/thoughtbot/guides/tree/master/style/ruby
A_Drone has joined #ruby
Diabolik has joined #ruby
<jhass> the second one is the most popular having a tool (called rubocop) to enforce it
<jhass> though many people deviate from some defaults
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<LebedevRI> oh, why did my google search failed to find that?
ta__ has quit [Ping timeout: 250 seconds]
<jhass> oh
<jhass> ?crosspost indistylo
<ruby[bot]> indistylo: Please do not crosspost without at least telling so and mentioning provided suggestions and their outcome in all channels. Experience shows that people don't do either, and not doing so is considered rude.
<LebedevRI> jhass: thanks, that mostly answered it for me
<jhass> yw
alxgsv has joined #ruby
unforgiven512 has joined #ruby
marr has quit [Ping timeout: 260 seconds]
<LebedevRI> and one more question: is there something like http://cast.rubyforge.org, but more alive, maybe?
<jhass> mh, my first intuition would be too look out for a libclang binding
<LebedevRI> that is what i thought too, but is there one?
<jhass> https://github.com/ioquatix/ffi-clang seems to be the github
vuoto_ has quit [Remote host closed the connection]
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
TheWhip has quit [Remote host closed the connection]
tubuliferous_ has joined #ruby
TheWhip has joined #ruby
nikivi has joined #ruby
wuyin has quit [Ping timeout: 260 seconds]
tubuliferous_ has quit [Ping timeout: 265 seconds]
TheWhip has quit [Ping timeout: 276 seconds]
workmad3 has joined #ruby
tubuliferous_ has joined #ruby
lightheaded has quit [Read error: Connection reset by peer]
lightheaded has joined #ruby
wuyin has joined #ruby
jespada has joined #ruby
c355e3b has joined #ruby
Ropeney has joined #ruby
tubuliferous_ has quit [Ping timeout: 244 seconds]
Ropeney has quit [Client Quit]
moredhel has left #ruby [#ruby]
TheWhip has joined #ruby
mark_66 has joined #ruby
tubuliferous_ has joined #ruby
Coldblackice has quit [Ping timeout: 265 seconds]
nankyokusei has joined #ruby
Immune has quit [Ping timeout: 244 seconds]
tubuliferous_ has quit [Client Quit]
infra-red has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
selu has quit [Quit: Textual IRC Client: www.textualapp.com]
<LebedevRI> jhass: hm, seems to at least output something, so i guess i can make it to work, thank you
<jhass> cool, hf
jeanlinux has quit [Remote host closed the connection]
craigp has quit [Ping timeout: 240 seconds]
mooru has joined #ruby
craigp has joined #ruby
blackmesa has joined #ruby
jaruga___ has joined #ruby
blackmesa has quit [Ping timeout: 258 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
bl4ckdu5t has joined #ruby
johnny56 has quit [Remote host closed the connection]
lightheaded has quit [Remote host closed the connection]
jaruga____ has joined #ruby
jaruga___ has quit [Ping timeout: 250 seconds]
jaruga____ is now known as jaruga___
moeabdol has joined #ruby
johnny56 has joined #ruby
vuoto_ has joined #ruby
Hyuk has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
edwinvdg_ has quit [Ping timeout: 250 seconds]
vuoto_ has quit [Remote host closed the connection]
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
stamina has joined #ruby
Snowy has quit [Read error: Connection reset by peer]
lightheaded has joined #ruby
Snowy has joined #ruby
johnmilton has joined #ruby
vuoto has quit [Remote host closed the connection]
edwinvdg_ has joined #ruby
vuoto has joined #ruby
vuoto_ has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto_ has quit [Remote host closed the connection]
vuoto has joined #ruby
bkxd has quit [Ping timeout: 258 seconds]
mixtli has joined #ruby
johnmilton has quit [Ping timeout: 240 seconds]
jeanlinux has joined #ruby
mixtli has quit [Ping timeout: 264 seconds]
edwinvdg_ has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
vuoto has quit [Remote host closed the connection]
mooru has quit [Ping timeout: 264 seconds]
vuoto has joined #ruby
Pumukel has joined #ruby
tvw has joined #ruby
DaniG2k has joined #ruby
<DaniG2k> hello folks
loechel has joined #ruby
anisha has quit [Quit: Leaving]
[huypn12] has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
A_Drone has quit [Remote host closed the connection]
Pumukel has joined #ruby
marr has joined #ruby
Pumukel_ has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
anisha has joined #ruby
giz|work has joined #ruby
loechel has joined #ruby
mooru has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
<hanmac> jhass: hey what was the command to say to a user to check their internet connection (because of Ping Timeout ?)
Pumukel_ has quit [Ping timeout: 260 seconds]
pandaant has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
Pumukel_ has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
stan has quit [Ping timeout: 244 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
ICantCook has joined #ruby
Pumukel_ has quit [Ping timeout: 260 seconds]
<jhass> mtr?
loechel has joined #ruby
vuoto_ has joined #ruby
etehtsea has quit [Quit: Computer has gone to sleep.]
vuoto has quit [Remote host closed the connection]
vuoto_ has quit [Remote host closed the connection]
vuoto has joined #ruby
Pumukel_ has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
ta__ has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
blackmesa has joined #ruby
Pumukel has joined #ruby
Pumukel_ has quit [Ping timeout: 260 seconds]
ta__ has quit [Ping timeout: 276 seconds]
loechel has joined #ruby
blackgoat has joined #ruby
PalaHO has joined #ruby
Pumukel_ has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
astrobun_ has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 265 seconds]
Pumukel has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
the_drow has joined #ruby
elaptics has joined #ruby
loechel has joined #ruby
Pumukel_ has quit [Ping timeout: 260 seconds]
Pumukel_ has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
loechel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
Pumukel_ has quit [Ping timeout: 264 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
jeanlinux has quit [Ping timeout: 265 seconds]
GodFather has joined #ruby
Pumukel has joined #ruby
okrasi1 has joined #ruby
<PalaHO> clea
loechel has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
Pumukel_ has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
DaniG2k has quit [Quit: leaving]
Pumukel has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
rodfersou has joined #ruby
pawnbox has quit [Ping timeout: 250 seconds]
okrasi1 is now known as okrasi
okrasi is now known as okrasi1
okrasi1 has quit [Quit: Konversation terminated!]
loechel has joined #ruby
Pumukel_ has quit [Ping timeout: 260 seconds]
pawnbox has joined #ruby
colegatron has joined #ruby
Pumukel_ has joined #ruby
last_staff has quit [Ping timeout: 258 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
<LebedevRI> hmm, after fiddling with ffi-clang, i wonder if there is some simpler way to interpret c structure into some ruby datatype other than manually parsing AST...
EdwardIII has quit [Ping timeout: 258 seconds]
Pumukel has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
okrasi has joined #ruby
Pumukel_ has quit [Ping timeout: 264 seconds]
loechel has joined #ruby
okrasi has quit [Client Quit]
<jhass> can't ffi itself not do it actually?
Pumukel has quit [Ping timeout: 260 seconds]
edwinvdgraaf has quit [Ping timeout: 250 seconds]
giz|work has quit [Ping timeout: 252 seconds]
<LebedevRI> i don't know yet, first time working with ffi
Pumukel has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
hanmac has quit [Ping timeout: 258 seconds]
sdothum has joined #ruby
loechel has joined #ruby
nankyokusei has joined #ruby
Pumukel_ has joined #ruby
okrasi has joined #ruby
<jhass> your goal is to do a ruby binding to something?
okrasi is now known as okrasi1
Pumukel has quit [Ping timeout: 264 seconds]
ItSANgo has quit [Quit: Leaving...]
edwinvdg_ has joined #ruby
okrasi1 is now known as okrasi
hopsoft has joined #ruby
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pumukel has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
nankyokusei has quit [Ping timeout: 250 seconds]
<LebedevRI> absolutely not. i have this struct: https://github.com/darktable-org/darktable/blob/master/src/external/adobe_coeff.c i would like to just be able to "read" it in ruby script, i.e. to have it as hash of string => matrix
<LebedevRI> i guess i'll try to manually parse it using split, might be simpler, but may fail
Pumukel_ has quit [Ping timeout: 264 seconds]
loechel has joined #ruby
loechel has quit [Remote host closed the connection]
Rodya_ has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
loechel has joined #ruby
okrasi is now known as okrasi_
okrasi_ is now known as okrasi
redasus has joined #ruby
redasus has quit [Max SendQ exceeded]
rodfersou has quit [Ping timeout: 265 seconds]
Pumukel has joined #ruby
redasus has joined #ruby
redasus has quit [Max SendQ exceeded]
redasus has joined #ruby
redasus has quit [Max SendQ exceeded]
lel has quit [Read error: Connection reset by peer]
EdwardIII has joined #ruby
hanmac has joined #ruby
Pumukel_ has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
rodfersou has joined #ruby
okrasi_ has joined #ruby
Rodya_ has quit [Ping timeout: 250 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
banisterfiend has joined #ruby
loechel has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
TheWhip has quit [Remote host closed the connection]
last_staff has joined #ruby
TheWhip has joined #ruby
lel has joined #ruby
Pumukel_ has quit [Ping timeout: 264 seconds]
patricknegri has joined #ruby
blackmesa has joined #ruby
okrasi has quit [Quit: Konversation terminated!]
Pumukel has joined #ruby
okrasi_ is now known as okrasi
<apeiros> LebedevRI: in a good editor you can simply block-edit the whole thing and have what you want in probably less than a minute converted in ruby code.
<patricknegri> Hey guys. Any1 can help me with this? How do I find which Gem/file is causing a specific output in a big project? I have an app that is printing "Type text/plain already registered as a variant of text/plain." before each execution.
conta has quit [Read error: Connection reset by peer]
loechel has quit [Ping timeout: 264 seconds]
<apeiros> that sounds like mime-type gem
the_drow has joined #ruby
quiqua has joined #ruby
loechel has joined #ruby
conta has joined #ruby
lightheaded has quit [Remote host closed the connection]
lightheaded has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel_ has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
edwinvdg_ has quit [Ping timeout: 258 seconds]
GodFather has quit [Ping timeout: 258 seconds]
loechel has quit [Ping timeout: 260 seconds]
Pumukel_ has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
lightheaded has quit [Ping timeout: 265 seconds]
lheaded has joined #ruby
PalaHO has quit [Ping timeout: 264 seconds]
PalaHO has joined #ruby
mooru has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
craigp has quit [Ping timeout: 250 seconds]
loechel has joined #ruby
mooru has joined #ruby
blackmesa has joined #ruby
fmcgeough has joined #ruby
ItSANgo has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
Pumukel_ has joined #ruby
sepp2k has joined #ruby
edwinvdgraaf has joined #ruby
etehtsea has joined #ruby
Pumukel has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
edwinvdg_ has joined #ruby
PalaHO has quit [Ping timeout: 276 seconds]
mim1k has quit [Ping timeout: 250 seconds]
loechel has joined #ruby
lheaded has quit [Remote host closed the connection]
Pumukel_ has quit [Ping timeout: 264 seconds]
lightheaded has joined #ruby
jeanlinux has joined #ruby
lightheaded has quit [Remote host closed the connection]
lightheaded has joined #ruby
Pumukel_ has joined #ruby
edwinvdgraaf has quit [Ping timeout: 276 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
airdisa has joined #ruby
ldnunes has joined #ruby
Pumukel has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
etehtsea has quit [Ping timeout: 244 seconds]
snguyen has joined #ruby
loechel has joined #ruby
cek has left #ruby [#ruby]
Pumukel_ has quit [Ping timeout: 260 seconds]
jrafanie has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
johnmilton has joined #ruby
Pumukel has joined #ruby
mim1k has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
loechel has joined #ruby
Guest93616 has quit [Ping timeout: 240 seconds]
synthroid has joined #ruby
quiqua_ has joined #ruby
Guest93616 has joined #ruby
snguyen is now known as sevens
sevens is now known as scotticorn
Pumukel has quit [Ping timeout: 264 seconds]
A_Drone has joined #ruby
symm- has joined #ruby
johnmilton has quit [Ping timeout: 264 seconds]
loechel has quit [Read error: Connection reset by peer]
quiqua has quit [Ping timeout: 276 seconds]
johnmilton has joined #ruby
Pumukel has joined #ruby
Burgestrand has joined #ruby
ferr has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
A_Drone has quit [Ping timeout: 250 seconds]
vdamewood has joined #ruby
ta__ has joined #ruby
loechel has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
c0mrad3 has joined #ruby
GinoManWorks has joined #ruby
ta_ has quit [Remote host closed the connection]
stan has joined #ruby
scotticorn has quit [Quit: Textual IRC Client: www.textualapp.com]
anuxivm has joined #ruby
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
snguyen has joined #ruby
snguyen has quit [Max SendQ exceeded]
Pumukel has joined #ruby
ta__ has quit [Ping timeout: 265 seconds]
etehtsea has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
moeabdol has quit [Ping timeout: 250 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
loechel has joined #ruby
Ebok has joined #ruby
gnufied has joined #ruby
Hyuk has quit [Quit: Textual IRC Client: www.textualapp.com]
Hyuk has joined #ruby
swills has quit [Ping timeout: 260 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
Hyuk has quit [Client Quit]
reednj has joined #ruby
Pumukel has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
loechel has joined #ruby
Pumukel_ has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
bmurt has joined #ruby
Vingador has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
Nahra` has joined #ruby
Pumukel has joined #ruby
loechel has joined #ruby
Pumukel_ has quit [Ping timeout: 260 seconds]
pokalyis has joined #ruby
jeanlinux has quit [Ping timeout: 265 seconds]
Nahra has quit [Ping timeout: 258 seconds]
flashpoint9 has joined #ruby
Pumukel_ has joined #ruby
Guest93616 has quit [Ping timeout: 244 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
dvinciguerra has quit [Ping timeout: 258 seconds]
Guest93616 has joined #ruby
Pumukel has joined #ruby
tlaxkit has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
Derperperd has quit [Quit: Derperperd]
loechel has joined #ruby
Pumukel_ has quit [Ping timeout: 264 seconds]
Ebok has quit [Quit: This computer has gone to sleep]
pawnbox has quit [Remote host closed the connection]
sameerynho has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
lupine has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
Pumukel_ has joined #ruby
lxsameer has quit [Ping timeout: 258 seconds]
loechel has quit [Ping timeout: 264 seconds]
byteflame has joined #ruby
edwinvdg_ has quit [Ping timeout: 276 seconds]
loechel has joined #ruby
Nahra` has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
Pumukel has quit [Ping timeout: 264 seconds]
mooru has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
symm- has quit [Ping timeout: 276 seconds]
tfitts has quit [Quit: Connection closed for inactivity]
mooru has joined #ruby
mooru has quit [Client Quit]
Pumukel has joined #ruby
byteflame has quit [Remote host closed the connection]
Nahra has joined #ruby
edwinvdgraaf has joined #ruby
Pumukel_ has quit [Ping timeout: 264 seconds]
lightheaded has quit [Remote host closed the connection]
Pumukel_ has joined #ruby
sujith has quit [Remote host closed the connection]
lightheaded has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
flashpoint9 has quit [Remote host closed the connection]
Guest93616 has quit [Ping timeout: 250 seconds]
Guest93616 has joined #ruby
flashpoint9 has joined #ruby
Guest16036 is now known as saneax_AFK
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
jrafanie has joined #ruby
Pumukel has quit [Remote host closed the connection]
ramortegui has joined #ruby
ChiefAlexander has joined #ruby
Pumukel has joined #ruby
Pumukel_ has quit [Ping timeout: 260 seconds]
mim1k has quit [Ping timeout: 260 seconds]
loechel has joined #ruby
tulak has joined #ruby
Pumukel_ has joined #ruby
alfiemax has quit [Ping timeout: 250 seconds]
the_drow has joined #ruby
Pumukel__ has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
lxsameer_ has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
GodFather has joined #ruby
blackgoat has quit [Quit: WeeChat 1.5]
quiqua has joined #ruby
moeabdol has joined #ruby
Pumukel_ has quit [Ping timeout: 260 seconds]
Guest93616 has quit [Ping timeout: 260 seconds]
loechel has joined #ruby
Guest93616 has joined #ruby
kp666 has quit [Ping timeout: 244 seconds]
okrasi has quit [Quit: Konversation terminated!]
Pumukel__ has quit [Ping timeout: 260 seconds]
anuxivm has left #ruby [#ruby]
quiqua_ has quit [Ping timeout: 244 seconds]
tlaxkit has quit [Quit: tlaxkit]
sameerynho has quit [Ping timeout: 244 seconds]
Pumukel_ has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
Guest93616 has quit [Ping timeout: 240 seconds]
mim1k has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
Guest93616 has joined #ruby
symm- has joined #ruby
bl4ckdu51 has joined #ruby
loechel has joined #ruby
Derperperd has joined #ruby
bl4ckdu5t has quit [Ping timeout: 260 seconds]
cdg has joined #ruby
threedee has joined #ruby
Rodya_ has joined #ruby
lxsameer__ has joined #ruby
swills has joined #ruby
Pumukel_ has quit [Ping timeout: 264 seconds]
Pumukel__ has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
banisterfiend has quit [Ping timeout: 240 seconds]
lxsameer_ has quit [Ping timeout: 244 seconds]
tulak has quit []
aupadhye has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
bl4ckdu51 has quit [Ping timeout: 260 seconds]
nankyokusei has joined #ruby
pmyjavec has joined #ruby
Rodya_ has quit [Ping timeout: 250 seconds]
Snowy has quit [Remote host closed the connection]
loechel has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
Pumukel__ has quit [Ping timeout: 260 seconds]
the_drow has joined #ruby
Guest93616 has quit [Ping timeout: 244 seconds]
bl4ckdu5t has joined #ruby
bl4ckdu5t is now known as Guest22619
Macaveli has joined #ruby
Guest93616 has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
last_staff has quit [Quit: last_staff]
nankyokusei has quit [Ping timeout: 250 seconds]
loechel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
vdamewood has quit [Quit: Life beckons.]
loechel has joined #ruby
beilabs has quit [Read error: Connection reset by peer]
Pumukel_ has joined #ruby
TheWhip has quit [Remote host closed the connection]
beilabs has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Guest38 has joined #ruby
malconis has joined #ruby
Pumukel has joined #ruby
tyang has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
loechel has joined #ruby
jespada has quit [Ping timeout: 276 seconds]
Pumukel__ has joined #ruby
Pumukel_ has quit [Ping timeout: 264 seconds]
Pumukel_ has joined #ruby
nettoweb has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
bweston92 has quit [Read error: Connection reset by peer]
lightheaded has quit [Remote host closed the connection]
loechel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
airdisa_ has joined #ruby
Pumukel__ has quit [Ping timeout: 264 seconds]
reednj has left #ruby ["WeeChat 1.5"]
tvw has quit [Remote host closed the connection]
Pumukel_ has quit [Ping timeout: 264 seconds]
loechel has joined #ruby
Guest93616 has quit [Ping timeout: 244 seconds]
airdisa has quit [Ping timeout: 244 seconds]
jespada has joined #ruby
synthroid has quit [Remote host closed the connection]
blandflakes has joined #ruby
Guest93616 has joined #ruby
kp666 has joined #ruby
Pumukel_ has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
lightheaded has joined #ruby
azor has quit [Quit: Connection closed for inactivity]
loechel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
Nahra has quit [Ping timeout: 244 seconds]
loechel has joined #ruby
Pumukel_ has quit [Ping timeout: 260 seconds]
acovrig has joined #ruby
jhodge521 has joined #ruby
Pumukel_ has joined #ruby
crankharder has quit [Quit: leaving]
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
GinoManWorks has quit [Ping timeout: 250 seconds]
loechel has quit [Ping timeout: 260 seconds]
loechel has joined #ruby
craigp has joined #ruby
GinoManWorks has joined #ruby
infra-red has quit [Read error: Connection reset by peer]
Torrone has joined #ruby
the_rhizo3 has joined #ruby
infra-red has joined #ruby
lightheaded has quit [Remote host closed the connection]
Pumukel_ has quit [Ping timeout: 260 seconds]
Pumukel_ has joined #ruby
GinoManWorks has quit [Read error: Connection reset by peer]
<acovrig> I’m creating a multi-dimention array in a loop: answers[quiz][question]; I have to have answers[quiz] ||= [] or I get nil errors, however then I get answers[quiz][question][0] = nil, how can I create the array w/out the nil value?
Spami has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
<Burgestrand> acovrig can you show a small example of your code?
<Burgestrand> acovrig e.g. on eval.in
Rodya_ has joined #ruby
Torrone has quit [Client Quit]
<Burgestrand> acovrig what you've described should not create arrays with nil-values, so it's somewhere in your code
banisterfiend has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
johnny56 has quit [Ping timeout: 264 seconds]
symm- has quit [Ping timeout: 265 seconds]
jaruga___ has quit [Quit: jaruga___]
loechel has joined #ruby
OTORelic4 has joined #ruby
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pumukel_ has quit [Ping timeout: 260 seconds]
etehtsea has quit [Quit: Computer has gone to sleep.]
crystal77 has joined #ruby
l4v2 has joined #ruby
johnny56 has joined #ruby
Pumukel_ has joined #ruby
beilabs has quit [Remote host closed the connection]
mixtli has joined #ruby
AlexJakeGreen has joined #ruby
beilabs has joined #ruby
Pumukel__ has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
<acovrig> https://eval.in/623422 is my code
j`ey has left #ruby [#ruby]
youch has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
karmatr0n has joined #ruby
loechel has joined #ruby
<apeiros> acovrig: arrays are zero-indexed
<apeiros> that is the first item is at index 0, not at index 1
<apeiros> your quiz seems to be one-indexed (first question is question nr. 1)
Pumukel_ has quit [Ping timeout: 264 seconds]
saneax_AFK is now known as saneax
beilabs has quit [Ping timeout: 250 seconds]
saneax is now known as Guest86709
mixtli has quit [Ping timeout: 265 seconds]
dhollinger has joined #ruby
Pumukel_ has joined #ruby
Pumukel__ has quit [Ping timeout: 260 seconds]
ponga has quit []
<gregf_> apeiros: the matchdata will contain the matches from 1 ;)
<apeiros> gregf_: you missed the point
ta_ has joined #ruby
<apeiros> their access of matchdata (line 4-6) is fine
Pumukel__ has joined #ruby
arthurl has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Guest22619 has quit [Ping timeout: 260 seconds]
<apeiros> i.e. that's not what I wrote about.
<gregf_> apeiros: yeah, sure. what you said is perfect :) *wasnt arguing over it*
<gregf_> > l="1=1=D".sub(/\n/,"").match(/(\d+)=(\d+)=([A..D]+)/); p l[1..3]
<gregf_> >> l="1=1=D".sub(/\n/,"").match(/(\d+)=(\d+)=([A..D]+)/); p l[1..3]
<ruby[bot]> gregf_: # => ["1", "1", "D"] ...check link for more (https://eval.in/623431)
loechel has quit [Ping timeout: 260 seconds]
Neoo has joined #ruby
GinoManWorks has joined #ruby
<apeiros> gregf_: what are you getting at? I feel like this is adding noise instead of clarification.
<gregf_> apeiros: right, you got that right. l[1] will always be 1 :|
Neobenedict has quit [Ping timeout: 244 seconds]
etehtsea has joined #ruby
Pumukel_ has quit [Ping timeout: 260 seconds]
<apeiros> gregf_: their problem is that ranswers[0] is nil
<gregf_> apeiros: yes. you were right :p
ta_ has quit [Ping timeout: 258 seconds]
hutch34 has joined #ruby
Pumukel__ has quit [Ping timeout: 264 seconds]
<apeiros> (and also that ranswers[quiz][0] is nil too)
the_drow has quit [Quit: This computer has gone to sleep]
<acovrig> I’m thinking the ||= [] is assigning nil to [0]
<apeiros> acovrig: no it does not
TheWhip has joined #ruby
Pumukel has joined #ruby
<apeiros> assigning a value to an array at a higher index nils all previous indices if the array was shorter.
nando293921 has joined #ruby
<apeiros> observe:
ishahnaz has joined #ruby
<apeiros> >> x = [1,2]; x[5] = 3; x
<ruby[bot]> apeiros: # => [1, 2, nil, nil, nil, 3] (https://eval.in/623440)
banisterfiend has quit [Read error: Connection reset by peer]
the_drow has joined #ruby
<apeiros> as said, an array has indexing starting at zero. if you set a value for index N, then 0 to N-1 will start to exist with a default of nil.
<apeiros> and since your quizes & questions start at 1 and not at 0, you get a nil element for both the quiz "dimension" and the question "dimension"
pmyjavec has quit [Read error: Connection reset by peer]
loechel has joined #ruby
<acovrig> wooowww just clicked… for some reason I was thinking loop must start at 0 but just realized I’m manually assigning indecies…
pmyjavec has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
<apeiros> you can either transform number to index (-1/+1) or you skip the first item when iterating. personally I prefer the offset calculation.
aganov has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 260 seconds]
nando293921 has quit [Ping timeout: 264 seconds]
lxsameer__ has quit [Quit: WeeChat 1.5]
edwinvdg_ has joined #ruby
Snowy has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
PalaHO has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
edwinvd__ has joined #ruby
Pumukel has joined #ruby
edwinvdgraaf has quit [Read error: Connection reset by peer]
tjohnson has joined #ruby
loechel has joined #ruby
flying has joined #ruby
Snowy has quit [Ping timeout: 240 seconds]
edwinvdg_ has quit [Ping timeout: 250 seconds]
Akuma has joined #ruby
mim1k_ has joined #ruby
Pumukel_ has joined #ruby
mim1k has quit [Ping timeout: 250 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
Guest93616 has quit [Ping timeout: 265 seconds]
Pumukel_ has quit [Read error: Connection reset by peer]
mitt3ns has joined #ruby
Guest93616 has joined #ruby
Pumukel has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
nettoweb has quit [Quit: Textual IRC Client: www.textualapp.com]
tyang has quit [Ping timeout: 265 seconds]
yardenbar has quit [Ping timeout: 250 seconds]
taylorrf has quit [Remote host closed the connection]
taylorrf has joined #ruby
loechel has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
agit0 has joined #ruby
Pumukel has joined #ruby
nettoweb has joined #ruby
rodfersou is now known as rodfersou|lunch
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
mtkd has quit [Ping timeout: 276 seconds]
jeanlinux has joined #ruby
Pumukel_ has joined #ruby
acovrig has quit [Quit: acovrig]
loechel has quit [Ping timeout: 264 seconds]
mtkd has joined #ruby
beilabs has joined #ruby
weemsledeux has joined #ruby
etehtsea has quit [Quit: Computer has gone to sleep.]
Pumukel has quit [Ping timeout: 264 seconds]
etehtsea has joined #ruby
Rodya_ has quit [Remote host closed the connection]
craigp has quit [Ping timeout: 244 seconds]
aufi has quit [Ping timeout: 240 seconds]
Pumukel has joined #ruby
ferr has quit [Quit: WeeChat 1.5]
pmyjavec has quit [Ping timeout: 250 seconds]
Pumukel_ has quit [Ping timeout: 264 seconds]
jeanlinux has quit [Ping timeout: 264 seconds]
PalaHO has quit [Ping timeout: 244 seconds]
submitnine has quit []
marr has quit [Read error: Connection reset by peer]
loechel has joined #ruby
vuoto has quit [Remote host closed the connection]
bweston92 has joined #ruby
vuoto has joined #ruby
LurkAshFlake has joined #ruby
Pumukel_ has joined #ruby
Guest86709 is now known as saneax_AFK
PalaHO has joined #ruby
tyang has joined #ruby
alfiemax has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Torrone has joined #ruby
synthroid has joined #ruby
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rodya_ has joined #ruby
Pumukel has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
loechel has joined #ruby
Ishido has quit [Ping timeout: 258 seconds]
ChiefAlexander has joined #ruby
Pumukel_ has quit [Ping timeout: 264 seconds]
Nahra has joined #ruby
rippa has joined #ruby
Pumukel_ has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
EdwardIII has quit [Ping timeout: 250 seconds]
agent_white has quit [Disconnected by services]
mitt3ns is now known as agent_white
tomorrow has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
<agent_white> Mornin' folks.
mitt3ns has joined #ruby
Pumukel has joined #ruby
cdg has quit [Remote host closed the connection]
jeanlinux has joined #ruby
jeanlinux has quit [Remote host closed the connection]
GodFather has quit [Ping timeout: 265 seconds]
<tomorrow> Hi. Is it a right place to ask about capybara and phantomjs?
patricknegri has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
edwinvd__ has quit [Read error: Connection reset by peer]
loechel has joined #ruby
Pumukel_ has quit [Ping timeout: 260 seconds]
Guest93616 has quit [Ping timeout: 260 seconds]
edwinvdg_ has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
Guest93616 has joined #ruby
lightheaded has joined #ruby
beilabs has quit [Remote host closed the connection]
beilabs has joined #ruby
banisterfiend has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
TheHodge has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
edwinvdg_ has quit [Ping timeout: 250 seconds]
etetz has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
<mikecmpbll> tomorrow : #rubyonrails could be more appropriate if that's what you're using
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
beilabs has quit [Ping timeout: 258 seconds]
<tomorrow> mikecmpbll, yep, using RoR mostly, but for this task its not the case.
<mikecmpbll> ask away.
Ishido has joined #ruby
bad_ip has joined #ruby
VladGh has quit [Remote host closed the connection]
VladGh has joined #ruby
loechel has joined #ruby
johnmilton has quit [Ping timeout: 276 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
VladGh has quit [Remote host closed the connection]
<tomorrow> Well.. Im trying to get info from remote website with phantomjs and poltergeist, but keep getting empty html in response after button click.
<mikecmpbll> tomorrow : code
Pumukel has joined #ruby
cschneid_ has joined #ruby
VladGh has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kossae has joined #ruby
aryaching has joined #ruby
tdy has quit [Ping timeout: 260 seconds]
Pumukel_ has joined #ruby
jeanlinux has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
johnmilton has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
<Papierkorb> >> 'ehol'.chars.map(&('a'..'z').zip(('a'..'z').to_a.rotate 13).to_h)
<ruby[bot]> Papierkorb: # => ["r", "u", "b", "y"] (https://eval.in/623492)
Pumukel has joined #ruby
<Papierkorb> >> 'ehol'.chars.map(&('a'..'z').zip(('a'..'z').to_a.rotate 13).to_h).join
<ruby[bot]> Papierkorb: # => "ruby" (https://eval.in/623493)
beilabs has joined #ruby
conta has quit [Ping timeout: 276 seconds]
Torrone has quit [Quit: This computer has gone to sleep]
mim1k_ has quit [Ping timeout: 240 seconds]
eciohc has joined #ruby
<apeiros> Hash#to_proc is nice
loechel has joined #ruby
brent__ has joined #ruby
<apeiros> >> 'ehol'.tr('a-z', 'n-za-m') # but tr is shorter :o)
<ruby[bot]> apeiros: # => "ruby" (https://eval.in/623498)
Pumukel_ has quit [Ping timeout: 260 seconds]
beilabs has quit [Remote host closed the connection]
<Papierkorb> >> `tr a-z n-za-m <<< ehol`
<ruby[bot]> Papierkorb: # => (https://eval.in/623499)
beilabs has joined #ruby
Pumukel_ has joined #ruby
<Papierkorb> you're right, tr is shorter :P
johnmilton has quit [Ping timeout: 276 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
nettoweb has joined #ruby
<apeiros> haha
kossae has quit [Quit: WeeChat 1.5]
<gregf_> >> RUBY_VERSION
<ruby[bot]> gregf_: # => "2.3.0" (https://eval.in/623500)
<apeiros> but eval-in won't let you ;-)
Pumukel has joined #ruby
lightstalker has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
Snowy has joined #ruby
<harfangk> apeiros so how does 'za' in the second argument work?
<harfangk> i guess it means to start over from a again
<apeiros> harfangk: it's two parts: n-z and a-m
beilabs has quit [Ping timeout: 265 seconds]
<apeiros> and tr expands stuff with - in it. e.g. a-d --> abcd
pwnd_nsfw` is now known as pwnd_nsfw
loechel has joined #ruby
nankyokusei has joined #ruby
<PalaHO> there is an aquivalence of python getpass lib in ruby ?
<jhass> PalaHO: $stdin.noecho(&:gets)
<bougyman> PalaHO: see highline
<jhass> require "io/console" before
<bougyman> or that.
Pumukel_ has quit [Ping timeout: 264 seconds]
<jhass> keep in mind that gets returns the trailing \n
<bougyman> highline has more than just a getpass, though. if you're doing interactive console apps you'd probably be happy with what highline provides.
<Papierkorb> the tty-prompt gem also comes with a password input function
flashpoint9 has joined #ruby
synthroid has quit [Remote host closed the connection]
<harfangk> apeiros so when ruby sees two character ranges put together like that, it understands to merge the ranges?
<jhass> well, String#tr does
giz|work has joined #ruby
<jhass> it's not done by the interpreter
<PalaHO> ok and what are the differences btwn io/console and highline ?
Pumukel_ has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
<jhass> the latter has a shitload more features, io/console comes with ruby
<jhass> they aren't excluding each other either
hjhlkds has joined #ruby
<PalaHO> ok so it's more conventional to use stdin.noecho
nankyokusei has quit [Ping timeout: 244 seconds]
EdwardIII has joined #ruby
<apeiros> harfangk: no, not ruby. the String#tr method.
Pumukel has joined #ruby
<hjhlkds> how can i print a value like "\x06" with puts?
<harfangk> jhass apeiros String#tr calls tr_trans method. I guess it's a C extension? where do i find the docs for that?
<apeiros> hjhlkds: it's a non-printable character, so you can't
loechel has quit [Ping timeout: 260 seconds]
<apeiros> hjhlkds: but puts "\x06" will emit it (you just won't see anything)
<apeiros> well, except for the newline which puts appends to all strings.
<hjhlkds> apeiros: ah, good to know
Torrone has joined #ruby
<apeiros> harfangk: String#tr docs should do. well possible that it internally delegates to C.
[huypn12] has quit [Ping timeout: 265 seconds]
<jhass> hjhlkds: it's just an implementation detail to it, https://github.com/ruby/ruby/blob/trunk/string.c#L6281
Pumukel_ has quit [Ping timeout: 260 seconds]
johnmilton has joined #ruby
<jhass> eh harfangk ^, sorry
Guest93616 has quit [Ping timeout: 264 seconds]
hjhlkds has quit [Client Quit]
Guest93616 has joined #ruby
dminuoso has joined #ruby
loechel has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
<harfangk> jhass ah thank you. i don't usually dig into rabbit hole this much, but i feel unusually courageous today lol
[huypn12] has joined #ruby
moeabdol has quit [Ping timeout: 244 seconds]
Nahra has quit [Remote host closed the connection]
beilabs has joined #ruby
Pumukel has joined #ruby
beilabs has quit [Remote host closed the connection]
beilabs has joined #ruby
Pumukel_ has joined #ruby
codeman777 has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
beilabs has quit [Read error: Connection reset by peer]
beilabs has joined #ruby
loechel has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
tdw has joined #ruby
tomorrow has left #ruby ["Leaving"]
synthroid has joined #ruby
LuckyABA has joined #ruby
Pumukel has joined #ruby
craigp has joined #ruby
Pumukel_ has quit [Ping timeout: 260 seconds]
urbanmonk has joined #ruby
jespada_ has joined #ruby
beilabs has quit [Ping timeout: 244 seconds]
loechel has quit [Ping timeout: 260 seconds]
jespada has quit [Ping timeout: 264 seconds]
banisterfiend has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby
loechel has joined #ruby
stamina has quit [Ping timeout: 276 seconds]
mja has quit [Ping timeout: 258 seconds]
[Butch] has joined #ruby
jespada__ has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel_ has joined #ruby
Pumukel_ has quit [Read error: Connection reset by peer]
jespada_ has quit [Ping timeout: 258 seconds]
craigp has quit [Ping timeout: 258 seconds]
Pumukel has joined #ruby
sepp2k has quit [Quit: Leaving.]
Pumukel_ has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
PalaHO has quit [Ping timeout: 240 seconds]
yardenbar has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
vuoto has quit [Remote host closed the connection]
amclain has joined #ruby
vuoto has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
Pumukel_ has quit [Ping timeout: 260 seconds]
bl4ckdu5t has joined #ruby
etehtsea has quit [Quit: Computer has gone to sleep.]
vuoto has quit [Remote host closed the connection]
zacstewa1t has joined #ruby
vuoto has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
zacstewart has quit [Ping timeout: 252 seconds]
loechel has joined #ruby
jschoolcraft has quit [Quit: peace]
tdy has joined #ruby
mim1k has joined #ruby
Azure|dc has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 258 seconds]
yardenbar has quit [Ping timeout: 240 seconds]
jaruga___ has joined #ruby
ta_ has joined #ruby
Derperperd has quit [Quit: Derperperd]
dhollinger has quit [Ping timeout: 276 seconds]
Guest93616 has quit [Ping timeout: 240 seconds]
mrgrieves has quit [Ping timeout: 244 seconds]
Guest93616 has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
Neoo has quit [Ping timeout: 250 seconds]
Neobenedict has joined #ruby
Neobenedict has quit [Changing host]
Neobenedict has joined #ruby
Pumukel has joined #ruby
mark_66 has quit [Quit: Leaving.]
rodfersou|lunch is now known as rodfersou
ta_ has quit [Ping timeout: 244 seconds]
quiqua has quit [Quit: Textual IRC Client: www.textualapp.com]
tvw has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
loechel has joined #ruby
PalaHO has joined #ruby
mixtli has joined #ruby
moeabdol has joined #ruby
pawnbox has quit [Remote host closed the connection]
zacts has quit [Quit: WeeChat 1.4]
SilverKey has joined #ruby
Macaveli has joined #ruby
bl4ckdu5t has quit [Quit: leaving]
AlexJakeGreen has quit [Quit: Leaving]
zacts has joined #ruby
etehtsea has joined #ruby
infra-red has quit [Remote host closed the connection]
zacts is now known as Guest42865
Pumukel has joined #ruby
andikr has quit [Remote host closed the connection]
Guest42865 has quit [Client Quit]
mixtli has quit [Ping timeout: 252 seconds]
loechel has quit [Ping timeout: 264 seconds]
Yxhuvud has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Yxhuvud has joined #ruby
loechel has joined #ruby
Macaveli has quit [Client Quit]
danman has joined #ruby
jespada__ has quit [Quit: WeeChat 1.5-dev]
davidw has joined #ruby
SCHAAP137 has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
loechel has quit [Ping timeout: 260 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
tyang has quit [Ping timeout: 252 seconds]
dhollinger has joined #ruby
wrkrcoop has joined #ruby
Pumukel has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
hopsoft has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
blackwind_123 has joined #ruby
vuoto_ has joined #ruby
dipnlik has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
pawnbox has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
moeabdol has quit [Ping timeout: 252 seconds]
blackwind_123 has quit [Read error: Connection reset by peer]
Guest93616 has quit []
cdg has joined #ruby
vuoto has quit [Remote host closed the connection]
vuoto_ has quit [Remote host closed the connection]
vuoto has joined #ruby
Wolland has joined #ruby
Pumukel has joined #ruby
justinweiss has joined #ruby
The_Phoenix has joined #ruby
agit0 has quit [Quit: zzzZZZ….]
blackwind_123 has joined #ruby
loechel has joined #ruby
beilabs has joined #ruby
PalaHO has quit [Ping timeout: 244 seconds]
Pumukel has quit [Ping timeout: 250 seconds]
threedee has quit [Ping timeout: 260 seconds]
Pumukel_ has joined #ruby
mixtli has joined #ruby
crystal77 has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
phoo1234567 has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
RegulationD has joined #ruby
Amaterasu has joined #ruby
bad_ip has quit [Ping timeout: 276 seconds]
Pumukel has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
claudiuinberlin has quit []
Guest93616 has joined #ruby
jeremyhall has joined #ruby
flying has quit []
Prominent has joined #ruby
Pumukel_ has quit [Ping timeout: 260 seconds]
mikecmpbll has joined #ruby
bad_ip has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
Prominent has quit [Remote host closed the connection]
Pumukel has joined #ruby
Rodya_ has quit [Remote host closed the connection]
craigp has joined #ruby
Rodya_ has joined #ruby
pandaant has quit [Remote host closed the connection]
loechel has joined #ruby
PalaHO has joined #ruby
threedee has joined #ruby
Cohedrin has joined #ruby
teclator has quit [Ping timeout: 265 seconds]
flashpoint9 has quit [Remote host closed the connection]
jackjackdripper has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
jeanlinux has quit [Ping timeout: 276 seconds]
jackjackdripper1 has joined #ruby
Rodya_ has quit [Remote host closed the connection]
[huypn12] has quit [Remote host closed the connection]
Pumukel_ has joined #ruby
flashpoint9 has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
craigp has quit [Ping timeout: 264 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
loechel has quit [Ping timeout: 264 seconds]
jeremyhall has quit [Remote host closed the connection]
AzureStigma has joined #ruby
hahuang61 has joined #ruby
Pumukel has joined #ruby
whathappens has joined #ruby
replay has joined #ruby
Pumukel_ has quit [Ping timeout: 264 seconds]
<PalaHO> i don't found an getpass.getuser() python function equivalent in python what do you use ?
<PalaHO> in ruby
<PalaHO> sorry
hopsoft has joined #ruby
hopsoft has quit [Client Quit]
Vingador has quit [Ping timeout: 244 seconds]
whathappens has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
agit0 has joined #ruby
loechel has joined #ruby
<dminuoso> PalaHO: What does getpass.getuser() do?
azor has joined #ruby
Prominent has joined #ruby
<dminuoso> PalaHO: Oh! No we do not have this as far as I know. But it should be very trivial to reimplement this, reading the Python documentation.
infra-red has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
<ljarvis> Etc.getlogin
polishdub has joined #ruby
Pumukel has joined #ruby
<ljarvis> pretty sure the ENV["username"] etc will do the same too
lightheaded has quit [Remote host closed the connection]
Prominent_ has joined #ruby
Prominent_ has quit [Client Quit]
loechel has quit [Ping timeout: 260 seconds]
tomphp has quit [Ping timeout: 244 seconds]
<dminuoso> module ETC
<dminuoso> TIL.
infra-red has quit [Remote host closed the connection]
infra-red has joined #ruby
<ljarvis> tbh if you want the exact same thing as getpass, just use: %w(LOGNAME USER LNAME USERNAME).find { |n| ENV[n] }
<PalaHO> Ok thanks
<PalaHO> :)
loechel has joined #ruby
<dminuoso> PalaHO: Just be aware that modifying environment variables can be an easy thing to do, so don't use this for security relevant things.
cdg has quit [Remote host closed the connection]
zacts_pi has joined #ruby
<PalaHO> i don't want to modify them just get them for a request
<PalaHO> :)
Jayson_Virissimo has joined #ruby
<Papierkorb> >> %w[LOGNAME USER LNAME USERNAME].map{|n| ENV[n]}.find(&:itself) # FTFY
<ruby[bot]> Papierkorb: # => nil (https://eval.in/623515)
davedev24 has joined #ruby
<ljarvis> oops, yeah, ta
Pumukel has quit [Ping timeout: 258 seconds]
banisterfiend has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
<dminuoso> Okay! Most elegant way to find first truthy in an array, other than .compact.first?
<havenwood> ENV.values_at(*%w[LOGNAME USER LNAME USERNAME]).compact.first
eciohc has quit [Remote host closed the connection]
mixtli has quit [Ping timeout: 258 seconds]
* dminuoso slaps havenwood
<dminuoso> No cookie for you.
<PalaHO> thanks for the gist
sepp2k has joined #ruby
<ljarvis> .compact[0]
<ljarvis> :trollface:
<havenwood> dminuoso: finding itself probably, like Papierkorb did
conta has joined #ruby
<dminuoso> >> class Proc; def !; proc{ |o,*a| !self[o,*a] }; end; end; [nil, 1].find(&!(:nil?.to_proc))
<ruby[bot]> dminuoso: # => 1 (https://eval.in/623516)
pawnbox has quit [Ping timeout: 265 seconds]
<dminuoso> I call that elegant!
loechel has quit [Ping timeout: 264 seconds]
<Papierkorb> dminuoso: find(&:itself), it also does not create a temporary array
<Papierkorb> >> [nil, 1].find(&:itself) # This might be the start of a journey
<ruby[bot]> Papierkorb: # => 1 (https://eval.in/623517)
<dminuoso> Papierkorb: Oh.
<dminuoso> Papierkorb: Fair enough, I get the price for an overly weird way of finding first non-nil then.
<dminuoso> [nil, 1].find(&!(:nil?.to_proc))
<dminuoso> Reads really amazing, doesn't it.
<Papierkorb> Hate to break it to you, but
<dminuoso> :(
<Papierkorb> [19:01] <Papierkorb> >> %w[LOGNAME USER LNAME USERNAME].map{|n| ENV[n]}.find(&:itself) # FTFY
mim1k has quit [Ping timeout: 250 seconds]
<dminuoso> >> [false, 1].find(&:itself)
<ruby[bot]> dminuoso: # => 1 (https://eval.in/623518)
<dminuoso> >> class Proc; def !; proc{ |o,*a| !self[o,*a] }; end; end; [false, 1].find(&!(:nil?.to_proc))
<ruby[bot]> dminuoso: # => false (https://eval.in/623519)
<dminuoso> Papierkorb: But yeah, I asked for truthy, my bad.
postmodern has joined #ruby
bad_ip has quit [Ping timeout: 276 seconds]
Lord_of_Life has quit [Excess Flood]
indistylo has quit [Remote host closed the connection]
mrx88 has joined #ruby
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pumukel has quit [Read error: Connection reset by peer]
loechel has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
infra-red has quit []
Pumukel has joined #ruby
kossae has joined #ruby
Lord_of_Life has joined #ruby
l4v2 has quit [Quit: l4v2]
Snowy has quit [Quit: ragequit]
marr has joined #ruby
Pumukel_ has joined #ruby
dhollinger has quit [Ping timeout: 264 seconds]
loechel has quit [Ping timeout: 260 seconds]
Vingador has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
loechel has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Dimik has joined #ruby
firstdayonthejob has joined #ruby
lightheaded has joined #ruby
mostlybadfly has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
Pumukel_ has quit [Ping timeout: 260 seconds]
whathappens has joined #ruby
AzureStigma is now known as AzureStigma|Away
symm- has joined #ruby
AzureStigma|Away is now known as AzureStigma
Pumukel_ has joined #ruby
AzureStigma is now known as AzureStigma|Away
loechel has quit [Ping timeout: 260 seconds]
TomyWork has quit [Ping timeout: 276 seconds]
Coldblackice has joined #ruby
AciD` has joined #ruby
mtkd has quit [Ping timeout: 260 seconds]
loechel has joined #ruby
taylorrf has quit []
Pumukel has quit [Ping timeout: 260 seconds]
whathappens has quit [Read error: Connection reset by peer]
nankyokusei has joined #ruby
tyang has joined #ruby
bluOxigen has joined #ruby
whathappens has joined #ruby
bluOxigen has left #ruby [#ruby]
etehtsea has quit [Quit: Textual IRC Client: www.textualapp.com]
Rodya_ has joined #ruby
quiller has quit [Max SendQ exceeded]
kossae has quit [Read error: Connection reset by peer]
quiller has joined #ruby
dhollinger has joined #ruby
Pumukel_ has quit [Ping timeout: 260 seconds]
mrx88 has quit [Quit: Leaving]
AzureStigma|Away is now known as AzureStigma
Pumukel has joined #ruby
nankyokusei has quit [Ping timeout: 264 seconds]
loechel has quit [Ping timeout: 264 seconds]
colegatron has left #ruby ["Leaving"]
AzureStigma has quit [Quit: Textual IRC Client: www.textualapp.com]
nitric has joined #ruby
loechel has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
Pumukel_ has joined #ruby
brent__ has quit [Quit: Connection closed for inactivity]
loechel has quit [Ping timeout: 264 seconds]
blaxter has quit [Quit: foo]
loechel has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
theRoUS has quit [Quit: Coyote finally caught me]
zacts_pi has quit [Quit: WeeChat 1.5]
Pumukel_ has quit [Ping timeout: 264 seconds]
crystal77 has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
Ishido has quit [Remote host closed the connection]
zarubin has quit [Quit: leaving]
Pumukel has joined #ruby
whathappens has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
craigp has joined #ruby
pmyjavec has joined #ruby
crystal77 has quit [Client Quit]
Wolland has quit [Ping timeout: 250 seconds]
loechel has joined #ruby
Wolland has joined #ruby
Ishido has joined #ruby
jblack has joined #ruby
ta_ has joined #ruby
Spami has joined #ruby
Pumukel_ has joined #ruby
claudiuinberlin has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
conta has quit [Ping timeout: 260 seconds]
Spami has quit [Client Quit]
Pumukel has joined #ruby
craigp has quit [Ping timeout: 276 seconds]
loechel has quit [Ping timeout: 264 seconds]
Wolland has quit [Ping timeout: 258 seconds]
ta_ has quit [Ping timeout: 244 seconds]
Wolland has joined #ruby
Pumukel_ has quit [Ping timeout: 264 seconds]
loechel has joined #ruby
zacts has joined #ruby
Torrone has quit [Quit: This computer has gone to sleep]
ytw has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
<ytw> anyone know how to store pub key in PKCS8 format?
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
tyang has quit [Ping timeout: 264 seconds]
TomyLobo has joined #ruby
Pumukel has joined #ruby
djbkd has joined #ruby
Pumukel_ has joined #ruby
pawnbox has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
ishahnaz has quit []
loechel has joined #ruby
nettoweb has quit [Ping timeout: 276 seconds]
antgel has quit [Ping timeout: 258 seconds]
miqlas-H has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel_ has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
camilasan has quit [Remote host closed the connection]
loechel has quit [Ping timeout: 260 seconds]
Wolland has quit [Remote host closed the connection]
tectonic has joined #ruby
tectonic has quit [Client Quit]
loechel has joined #ruby
tectonic has joined #ruby
pmyjavec has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cdg has joined #ruby
camilasan has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
<jhass> ytw: there doesn't seem to be a direct PKCS8 binding in Ruby's OpenSSL binding, so you would need to use OpenSSL::Engine to load a PKCS8 implementation
rippa has joined #ruby
Pumukel has joined #ruby
whathappens has quit [Remote host closed the connection]
<jhass> (I only see direct bindings for PKCS5, 7 and 12)
tummy has joined #ruby
whathappens has joined #ruby
whathappens has quit [Remote host closed the connection]
whathappens has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
loechel has joined #ruby
<jhass> ytw: or you can try if https://github.com/twg/openssl_pkcs8 still works
Pumukel has quit [Ping timeout: 260 seconds]
meatchicken has joined #ruby
amclain_ has joined #ruby
ramfjord has joined #ruby
<meatchicken> anyone ever get this strange behaviour? Upon loading up a VM - ruby -v isn't readily available
<meatchicken> could it be because it is still running the rbenv code in bash_profile?
seejohnrun has joined #ruby
<havenwood> meatchicken: As a chruby user I don't ever have that happen. :P
Immune has joined #ruby
Pumukel has joined #ruby
<meatchicken> havenwood, :(
jenrzzz has quit [Ping timeout: 264 seconds]
<havenwood> meatchicken: That's odd though. Does your $PATH change between it not working and it working?
<meatchicken> just noting the observance
workmad3 has quit [Ping timeout: 250 seconds]
aeruder has joined #ruby
<meatchicken> no it doesnt
amclain has quit [Ping timeout: 244 seconds]
<meatchicken> ruby -v just hangs until I wait a few minutes
<meatchicken> maybe a shoddy VM
amclain_ has quit [Client Quit]
loechel has quit [Ping timeout: 260 seconds]
<meatchicken> I'll try it
amclain has joined #ruby
pmyjavec has joined #ruby
angiebadillo has quit [Quit: Connection closed for inactivity]
jaruga___ has quit [Quit: jaruga___]
zeroDi has joined #ruby
blackmes1 has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
pmyjavec has quit [Client Quit]
Pumukel has joined #ruby
hutch34 has joined #ruby
wrkrcoop has quit [Quit: wrkrcoop]
blackmesa has quit [Ping timeout: 265 seconds]
dmr8 has joined #ruby
zacts has quit [Ping timeout: 250 seconds]
kavanagh_ has quit [Quit: That's all folks!]
LurkAshFlake has quit [Ping timeout: 258 seconds]
TPug has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
dmr8 has quit [Client Quit]
dmr8 has joined #ruby
Spami has joined #ruby
jeanlinu_ has joined #ruby
weckl has joined #ruby
bocaneri has quit [Read error: Connection reset by peer]
weckl has quit [Client Quit]
weckl_ has joined #ruby
weckl_ has quit [Remote host closed the connection]
weckl has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
nando293921 has joined #ruby
Pumukel has joined #ruby
jeanlinu_ has quit [Ping timeout: 240 seconds]
dmr8 has quit [Quit: Leaving]
bad_ip has joined #ruby
bungoman has joined #ruby
loechel has joined #ruby
jeanlinux has joined #ruby
dmr8 has joined #ruby
Derperperd has joined #ruby
diegoviola has joined #ruby
Pumukel_ has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
cdg has quit [Remote host closed the connection]
Prominent has quit [Quit: Leaving]
jeanlinu_ has joined #ruby
Pumukel has joined #ruby
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Immune has quit [Read error: Connection reset by peer]
jeanlin__ has joined #ruby
jeanlinux has quit [Ping timeout: 258 seconds]
loechel has quit [Ping timeout: 260 seconds]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
crystal77 has joined #ruby
craigp has joined #ruby
TheHodge has quit [Quit: Connection closed for inactivity]
loechel has joined #ruby
wreet has joined #ruby
wreet has left #ruby [#ruby]
hutch34 has quit [Ping timeout: 240 seconds]
jeanlinux has joined #ruby
Pumukel_ has quit [Ping timeout: 260 seconds]
Pumukel_ has joined #ruby
jeanlinu_ has quit [Ping timeout: 252 seconds]
mikecmpbll has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
jeanlin__ has quit [Ping timeout: 244 seconds]
elifoster has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
zacts has joined #ruby
jeanlinux has quit [Ping timeout: 258 seconds]
jeanlinux has joined #ruby
hutch34 has joined #ruby
The_Phoenix has quit [Read error: Connection reset by peer]
Pumukel_ has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
jeanlinu_ has joined #ruby
loechel has joined #ruby
ytw has quit []
LuckyABA has joined #ruby
jeanlinux has quit [Ping timeout: 276 seconds]
LurkAshFlake has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
bjh13 has joined #ruby
jeanlinux has joined #ruby
Pumukel has joined #ruby
nando293921 has quit [Quit: Lost terminal]
nando293921 has joined #ruby
jeanlinu_ has quit [Ping timeout: 244 seconds]
Pumukel_ has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
jeanlinu_ has joined #ruby
jackjackdripper has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
jackjackdripper1 has quit [Read error: Connection reset by peer]
loechel has joined #ruby
jeanlinux has quit [Ping timeout: 276 seconds]
jackjackdripper has quit [Client Quit]
Pumukel has quit [Ping timeout: 264 seconds]
jackjackdripper has joined #ruby
Pumukel has joined #ruby
jeanlinux has joined #ruby
Pumukel_ has quit [Ping timeout: 264 seconds]
jeanlinu_ has quit [Ping timeout: 240 seconds]
Pumukel_ has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
jeanlinux has quit [Ping timeout: 244 seconds]
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jeanlinux has joined #ruby
openstruct has joined #ruby
elaptics has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
giz|work has quit [Ping timeout: 252 seconds]
giz|work|2 has joined #ruby
Pumukel_ has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
lightheaded has quit [Remote host closed the connection]
Guest93616 has quit [Ping timeout: 244 seconds]
Guest93616 has joined #ruby
jeanlinux has quit [Ping timeout: 250 seconds]
loechel has joined #ruby
Dimik has quit []
Dimik has joined #ruby
jeanlinux has joined #ruby
cyphase has quit [Ping timeout: 276 seconds]
flashpoint9 has quit [Remote host closed the connection]
Pumukel_ has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
miqlas-H has quit [Ping timeout: 258 seconds]
Torrone has joined #ruby
Pumukel has joined #ruby
last_staff has joined #ruby
Dry_Lips has quit [Ping timeout: 244 seconds]
miqlas-H has joined #ruby
LurkAshFlake has quit [Ping timeout: 265 seconds]
tummy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
loechel has quit [Ping timeout: 260 seconds]
jeanlinu_ has joined #ruby
vuoto has quit [Remote host closed the connection]
edwardly has quit [Ping timeout: 244 seconds]
vuoto has joined #ruby
jeanlinux has quit [Ping timeout: 265 seconds]
symm- has quit [Quit: Leaving...]
Xiti has quit [Quit: Xiti]
cyphase has joined #ruby
Dry_Lips has joined #ruby
Dry_Lips has quit [Changing host]
Dry_Lips has joined #ruby
loechel has joined #ruby
pawnbox has quit [Remote host closed the connection]
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
Pumukel_ has quit [Ping timeout: 260 seconds]
jeanlinux has joined #ruby
pmyjavec has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
sluukkonen has quit [Ping timeout: 258 seconds]
urbanmonk has quit [Quit: urbanmonk]
symm- has joined #ruby
jeanlinu_ has quit [Ping timeout: 260 seconds]
johnny56 has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
loechel has quit [Read error: Connection reset by peer]
johnny56 has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
c0mrad3 has quit [Quit: Connection closed for inactivity]
EdwardIII has quit [Ping timeout: 252 seconds]
jeanlinux has quit [Ping timeout: 264 seconds]
loechel has joined #ruby
johnny56 has quit [Excess Flood]
byteflame has joined #ruby
Pumukel_ has joined #ruby
nettoweb has joined #ruby
RegulationD has quit [Remote host closed the connection]
tomphp has joined #ruby
Lord_of_Life has quit [Changing host]
Lord_of_Life has joined #ruby
Lord_of_Life has joined #ruby
Jayson_Virissimo has quit []
RegulationD has joined #ruby
mikecmpbll has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
johnny56 has joined #ruby
nankyokusei has joined #ruby
claudiuinberlin has joined #ruby
Pumukel has joined #ruby
loechel has quit [Ping timeout: 260 seconds]
LurkAshFlake has joined #ruby
flashpoint9 has joined #ruby
whathappens has quit [Remote host closed the connection]
nikivi has quit [Quit: zzz]
bungoman has quit []
Pumukel_ has quit [Ping timeout: 260 seconds]
loechel has joined #ruby
whathappens has joined #ruby
okrasi has joined #ruby
workmad3 has joined #ruby
sluukkonen has joined #ruby
tyang has joined #ruby
Pumukel_ has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
EdwardIII has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
cyphase has quit [Ping timeout: 258 seconds]
Pumukel has joined #ruby
whathapp_ has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
loechel has quit [Ping timeout: 260 seconds]
Akuma has quit [Quit: So long sukkas!]
pmyjavec has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pumukel_ has quit [Ping timeout: 260 seconds]
loechel has joined #ruby
ta_ has joined #ruby
pmyjavec has joined #ruby
Guest93616 has quit [Ping timeout: 250 seconds]
cyphase has joined #ruby
Guest93616 has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
roflmyeggo has joined #ruby
ta_ has quit [Ping timeout: 240 seconds]
dennisvennink has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has quit [Ping timeout: 244 seconds]
loechel has quit [Ping timeout: 264 seconds]
fmcgeough has quit [Quit: fmcgeough]
Pumukel has joined #ruby
openstruct has quit []
stamina has joined #ruby
dennisvennink has joined #ruby
loechel has joined #ruby
siovene has joined #ruby
zacts has quit [Quit: WeeChat 1.5]
tummy has joined #ruby
tummy has quit [Client Quit]
vuoto has quit [Remote host closed the connection]
johnmilton has quit [Remote host closed the connection]
ebbflowgo has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
PalaHO has quit [Ping timeout: 258 seconds]
loechel has quit [Ping timeout: 264 seconds]
zacts has joined #ruby
tvw has quit []
loechel has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
lightheaded has joined #ruby
arashb has joined #ruby
hutch34 has quit [Ping timeout: 244 seconds]
Pumukel has joined #ruby
ebbflowgo has quit [Read error: Connection reset by peer]
daffy_duck_2 has quit [Ping timeout: 264 seconds]
seejohnrun has left #ruby [#ruby]
Pumukel_ has joined #ruby
ebbflowgo has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
weemsledeux has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
blackmes1 has quit [Ping timeout: 258 seconds]
claudiuinberlin has joined #ruby
loechel has joined #ruby
Immune has joined #ruby
d5sx43 has joined #ruby
Pumukel__ has joined #ruby
Guest43 has joined #ruby
Guest43 has quit [Changing host]
Guest43 has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
urbanmonk has joined #ruby
Pumukel_ has quit [Ping timeout: 264 seconds]
johnmilton has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
tyang has quit [Ping timeout: 264 seconds]
xall has joined #ruby
RegulationD has quit [Remote host closed the connection]
ta_ has joined #ruby
RegulationD has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
zacts has quit [Quit: WeeChat 1.5]
mitt3ns has quit [Ping timeout: 250 seconds]
Pumukel__ has quit [Ping timeout: 264 seconds]
loechel has joined #ruby
whathapp_ has quit [Read error: Connection reset by peer]
Vingador has quit [Ping timeout: 244 seconds]
Xiti has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
yfeldblum has joined #ruby
whathappens has joined #ruby
blackmes1 has joined #ruby
rippa has quit [Read error: Connection reset by peer]
johnmilton has quit [Ping timeout: 260 seconds]
blackgoat has joined #ruby
Pumukel has joined #ruby
qguv has quit [Quit: bye]
johnmilton has joined #ruby
cyphase has quit [Ping timeout: 258 seconds]
Pumukel_ has joined #ruby
qguv has joined #ruby
thejoecarroll has quit [Quit: ZNC - http://znc.in]
Pumukel__ has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
mostlybadfly has quit [Quit: Connection closed for inactivity]
thejoecarroll has joined #ruby
pmyjavec has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pumukel has quit [Ping timeout: 260 seconds]
TPug has quit [Ping timeout: 244 seconds]
cyphase has joined #ruby
axisys has quit [Ping timeout: 258 seconds]
Pumukel_ has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
Guest43 is now known as Rufus
jackjackdripper has joined #ruby
Pumukel__ has quit [Ping timeout: 260 seconds]
loechel has joined #ruby
doublemalt__ has quit [Ping timeout: 260 seconds]
Prominent has joined #ruby
<postmodern> did the community figure out a way to specify external dependencies in a gemspec?
Pumukel has quit [Ping timeout: 260 seconds]
pmyjavec has joined #ruby
Torrone has quit [Quit: This computer has gone to sleep]
qguv has quit [Quit: bye]
jenrzzz has joined #ruby
der-landgraf has quit [Quit: WeeChat 1.5]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
loechel has quit [Ping timeout: 260 seconds]
qguv has joined #ruby
<jhass> like pkg-config or so/dylib/dll names? that would be awesome, wouldn't it
<jhass> haven't noticed anything though
Pumukel has joined #ruby
sluukkonen has quit [Ping timeout: 260 seconds]
skade has joined #ruby
fckyoufreenode has joined #ruby
d5sx43 has quit [Quit: Leaving...]
Xiti has quit [Quit: Xiti]
sluukkonen has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
tomphp has joined #ruby
nikivi has joined #ruby
axisys has joined #ruby
whathappens has quit [Remote host closed the connection]
<postmodern> jhass, external CLI utilities, libraries, etc?
<postmodern> Gem::Specification does have a #requirements field
<postmodern> or i could use post_install_message
tyang has joined #ruby
whathappens has joined #ruby
<jhass> I'd love something one could build gem install_os_packages_for foo from
Dimik has quit [Ping timeout: 276 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
<xpt> seems like someone wants chef's package module :)
Pumukel has joined #ruby
cdg has joined #ruby
cdg has quit [Remote host closed the connection]
tyang has quit [Client Quit]
cdg has joined #ruby
whathappens has quit [Ping timeout: 240 seconds]
loechel has joined #ruby
EdwardIII has quit [Ping timeout: 265 seconds]
nando293921 has quit [Ping timeout: 276 seconds]
swills has quit [Ping timeout: 265 seconds]
claudiuinberlin has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
daffy_duck has joined #ruby
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
AciD` has left #ruby ["Oh look, a shiny object !"]
sluukkonen has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
Mrgoose2 has quit [Ping timeout: 276 seconds]
loechel has quit [Ping timeout: 260 seconds]
sluukkonen has joined #ruby
roflmyeg1o has joined #ruby
zacts has joined #ruby
hakunin has joined #ruby
EdwardIII has joined #ruby
qguv has quit [Ping timeout: 250 seconds]
roflmyeg1o has quit [Client Quit]
roflmyeggo has quit [Quit: Lost terminal]
roflmyeggo has joined #ruby
loechel has joined #ruby
zacts has quit [Client Quit]
Pumukel has quit [Ping timeout: 264 seconds]
zacts has joined #ruby
Pumukel has joined #ruby
qguv has joined #ruby
Pumukel_ has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
dagda1 has joined #ruby
loechel has joined #ruby
stamina has quit [Ping timeout: 258 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
cpruitt has joined #ruby
Pumukel has joined #ruby
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
leea has joined #ruby
Pumukel_ has quit [Ping timeout: 264 seconds]
flashpoint9 has quit [Remote host closed the connection]
blandflakes has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
Pumukel_ has joined #ruby
blandflakes has quit [Client Quit]
synthroid has quit []
Mrgoose2 has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
moeabdol has joined #ruby
qguv has quit [Quit: bye]
urbanmonk has quit [Quit: urbanmonk]
Pumukel has joined #ruby
ta_ has quit [Remote host closed the connection]
der-landgraf has joined #ruby
loechel has joined #ruby
qguv has joined #ruby
Pumukel_ has quit [Ping timeout: 264 seconds]
dagda1 has quit [Quit: Textual IRC Client: www.textualapp.com]
urbanmonk has joined #ruby
tfitts has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
jhodge521 has quit [Remote host closed the connection]
moon_ has joined #ruby
loechel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
<moon_> How do i run a file from a specific path, like ~/workspace/other/rbfile.rb, using the ruby command?
dmr8 has quit [Quit: Leaving]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dminuoso> moon_: Use Dir.chdir(path) {} ## block form
<dminuoso> moon_: Inside the block the cwd is changed to your path, and then it's changed back again outside.
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
<moon_> Eh, solved it, i used the direct path so i could run the ruby file.
eljimmy has quit [Read error: Connection reset by peer]
qguv has quit [Quit: bye]
jeanlinu_ has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pmyjavec has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pumukel has joined #ruby
tomphp has joined #ruby
elsms93 has joined #ruby
jeanlinu_ has quit [Ping timeout: 244 seconds]
jeanlinux has joined #ruby
dfinninger has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
elsms93 has quit [Quit: WeeChat 1.2]
Pumukel has joined #ruby
<moon_> i need some advice for setting up the ruby sandbox on my bot
<moon_> what functionalitys should i give the users?
TheWhip has quit [Remote host closed the connection]
jeanlinux has quit [Ping timeout: 240 seconds]
TheWhip has joined #ruby
claudiuinberlin has quit []
Madplatypus has joined #ruby
jeanlinux has joined #ruby
rodfersou has quit [Quit: leaving]
airdisa_ has quit []
<dminuoso> moon_: You should have a talk with apeiros, he is mainly responsible for the development of ruby[bot]
<dminuoso> He should have some useful insights on the topic.
<SegFaultAX> Probably starting with "don't try to sandbox Ruby"
<apeiros> moon_, dminuoso: we simply use eval.in for the sandboxed eval.
Pumukel has quit [Ping timeout: 264 seconds]
<apeiros> i.e. "not even on the bot's machine"
Rodya_ has quit [Remote host closed the connection]
dipnlik has quit [Quit: dipnlik]
<moon_> im not a huge ruby programmer, i do best in node.js, so i went for https://github.com/tario/shikashi as the assistant library
zenguy_pc has quit [Ping timeout: 265 seconds]
TheWhip has quit [Ping timeout: 276 seconds]
Pumukel has joined #ruby
Vingador has joined #ruby
jeanlinu_ has joined #ruby
jeanlinux has quit [Ping timeout: 250 seconds]
Guest38 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<SegFaultAX> moon_: The point is, it is notoriously hard (read: impossible) to fully sandbox a language runtime. It almost doesn't matter what language you happen to be talking about, although some languages (like Java) have built in infrastructure for controlling VM security.
<moon_> Ik
<SegFaultAX> So if you intend to give eval-like semantics at all, you have to be willing to accept that someone can and probably will eventually escape your sandbox to do something naughty.
<moon_> im trying to keep the amount of stuff i give them at minimal
Vingador has quit [Read error: Connection reset by peer]
<SegFaultAX> moon_: Then don't give them an eval-like interface at all. :)
<moon_> lol.
dfinning_ has joined #ruby
_pastel has joined #ruby
dfinninger has quit [Read error: Connection reset by peer]
<SegFaultAX> Seriously though. Just make it easy for them to build plugins for the bot to extend its command set.
_pastel has quit [Client Quit]
<dminuoso> apeiros: That is quite funny. I actually expected you to contribute useful insights such as "make sure he doesn't get to make syscalls or that".
Vingador has joined #ruby
<moon_> SegFaultAX thats already easy.
_pastel has joined #ruby
<apeiros> dminuoso: that's what eval.in already does for us :D
nankyokusei has joined #ruby
<apeiros> there have been a bunch of ruby sandbox libraries, but I'm not sure whether any of those actually was finished, and/or is still maintained :-/
jeanlinu_ has quit [Ping timeout: 252 seconds]
<dminuoso> moon_: In a nutshell you want to go through Kernel and then make sure that anything that's in there cannot be abused.
xall has quit [Ping timeout: 240 seconds]
<SegFaultAX> moon_: Then if they want to have eval-like functionality in their bot via a plugin, fine. But bots you operate should avoid eval like the plague..
Pumukel has quit [Ping timeout: 264 seconds]
jeanlinux has joined #ruby
GinoManWorks has quit [Quit: Leaving]
<dminuoso> apeiros: Though come to think of it, I see that eval.in link every day.. seems like I did not even spend a single second of thought on this when I uttered your name.
Vingador has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
subutai has joined #ruby
<apeiros> eval.in is by charliesome (hope I spelled his nick right)
klautcomputing has quit [Ping timeout: 276 seconds]
kappy has quit [Quit: Lost terminal]
Vingador has joined #ruby
moon_ has quit [Ping timeout: 240 seconds]
dfinning_ has quit [Read error: Connection reset by peer]
jenrzzz_ has joined #ruby
dfinninger has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
postmodern has quit [Ping timeout: 250 seconds]
jeanlinux has quit [Ping timeout: 258 seconds]
byteflame has quit [Ping timeout: 240 seconds]
jeanlinux has joined #ruby
dfinninger has quit [Read error: Connection reset by peer]
qguv has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
qguv has quit [Client Quit]
jenrzzz has quit [Ping timeout: 252 seconds]
Pumukel has joined #ruby
moon_ has joined #ruby
okrasi has quit [Ping timeout: 260 seconds]
kobain has joined #ruby
aupadhye has quit [Remote host closed the connection]
subutai has quit []
dfinninger has joined #ruby
SCHAAP137 has quit [Quit: Leaving]
jeanlinux has quit [Ping timeout: 260 seconds]
SCHAAP137 has joined #ruby
SCHAAP137 has quit [Max SendQ exceeded]
jeanlinux has joined #ruby
Vingador has quit [Read error: Connection reset by peer]
Pumukel has quit [Ping timeout: 264 seconds]
edwinvdgraaf has joined #ruby
Vingador has joined #ruby
zacts has quit [Ping timeout: 258 seconds]
qguv has joined #ruby
Pumukel has joined #ruby
swills has joined #ruby
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jenrzzz_ has quit [Ping timeout: 276 seconds]
jeanlinux has quit [Ping timeout: 276 seconds]
ChiefAlexander has quit [Quit: Leaving...]
ebbflowgo has quit [Quit: ebbflowgo]
blandflakes has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
cd-rum has joined #ruby
urbanmonk has quit [Quit: urbanmonk]
postmodern has joined #ruby
blandflakes has quit [Client Quit]
fckyoufreenode has quit []
Dimik has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
banisterfiend has joined #ruby
ldnunes has quit [Quit: Leaving]
Pumukel has joined #ruby
jeanlinux has joined #ruby
whathappens has joined #ruby
cd-rum has quit [Ping timeout: 265 seconds]
cd-rum has joined #ruby
Xiti has joined #ruby
dfinninger has quit [Read error: Connection reset by peer]
dfinninger has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<meatchicken> How do I find out if someone is one years old given their date of birth?
<meatchicken> this is such a simple problem but I can't wrap my head around it
<SegFaultAX> Like, exactly to the day 1 year old?
Pumukel has quit [Ping timeout: 260 seconds]
OTORelic4 has quit [Ping timeout: 260 seconds]
<SegFaultAX> Or at least one year old? Or at most one year old?
<meatchicken> *how to determine if someone is x years old
<meatchicken> Like..given someone's dob
<meatchicken> determine if someone is 5..or 6
jeanlinux has quit [Ping timeout: 276 seconds]
<SegFaultAX> The way humans say that, they typically mean 1 <= age < 2
<meatchicken> Mm
Pumukel has joined #ruby
<meatchicken> equal to or over 1 years old
<meatchicken> under 2
<meatchicken> Now from a date perspective
<SegFaultAX> Take the difference of the current date and their birthday.
<dminuoso> meatchicken: It's fairly messy since you have to consider leap years.
<meatchicken> I need to determine if a person's date of birth falls between the dates which make someone x years old
<toretore> to be accurate, you have to count the number of birthdays between dob and now
<SegFaultAX> Assuming "take the difference" has a built in notion of calendar math
dfinninger has quit [Read error: Connection reset by peer]
<meatchicken> Oh jesus
spudowiar has joined #ruby
<meatchicken> Okay what I am trying to do is write a query to determine if someone is x-age
<SegFaultAX> meatchicken: The problem is time isn't simple. So if you're asking a room full of software engineers how to calculate someones age, you're going to have to be really specific what you mean.
nikivi has quit [Quit: irc]
<SegFaultAX> But if you asked a full room of... I don't know... not software engineers or people who have used a time library, they'll give you the simple answer.
<SegFaultAX> No normal person would say "to calculate someone's age you have to consider leapseconds"
<SegFaultAX> :)
dfinninger has joined #ruby
<meatchicken> ahaha
banisterfiend has quit [Quit: Textual IRC Client: www.textualapp.com]
ta_ has joined #ruby
<SegFaultAX> meatchicken: You also could consider, for example, what time zone you're asking in.
<SegFaultAX> meatchicken: I might be 1 year old if you're asking in EST but not PST. :)
Prominent has quit [Quit: Leaving]
<meatchicken> SegFaultAX, this is trying to fix a broken test - so timezone does matter
Pumukel has quit [Ping timeout: 264 seconds]
<meatchicken> Here's what I'm working with
jeanlinux has joined #ruby
Pumukel has joined #ruby
dfinninger has quit [Read error: Connection reset by peer]
mikecmpbll has quit [Quit: inabit. zz.]
mikecmpbll has joined #ruby
dfinninger has joined #ruby
tectonic has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ta_ has quit [Ping timeout: 276 seconds]
Torrone has joined #ruby
dhollinger has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 244 seconds]
rajdesai has joined #ruby
TomyLobo has quit [Ping timeout: 264 seconds]
jeanlinux has quit [Ping timeout: 244 seconds]
<SegFaultAX> meatchicken: Well I think we've covered what you need to do to calculate someones age
TPug has joined #ruby
youch has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 264 seconds]
<SegFaultAX> meatchicken: Although I will say that, depending on the database, you can do this in SQL
<meatchicken> SegFaultAX, this is actually being converted to sql
<meatchicken> I think the sql is faulty though
jeanlinux has joined #ruby
<meatchicken> the between operator in sql is inclusive on both sides
tdw has quit [Ping timeout: 276 seconds]
<meatchicken> between 10 and 20 would give all values 10 -> 20
Pumukel has joined #ruby
<SegFaultAX> Something like `select * from people where age(date_of_birth) > interval '18 years'`
<meatchicken> but in a birthday calc - when want to exclude the 20 as that means they would have gone on
<SegFaultAX> ^ in postgresql
ixti has joined #ruby
snguyen has joined #ruby
jenrzzz has joined #ruby
<matthewd> meatchicken: Consider what your method does given a target age of 0 or 1, to work out whether it's right
Ebok has joined #ruby
dfinninger has quit []
whathappens has quit [Read error: Connection reset by peer]
jeanlinu_ has joined #ruby
OTORelic4 has joined #ruby
jeanlinux has quit [Ping timeout: 265 seconds]
whathappens has joined #ruby
dminuoso has quit [Ping timeout: 276 seconds]
last_staff has quit [Quit: g'night y'all]
Pumukel has quit [Ping timeout: 260 seconds]
Pumukel has joined #ruby
Azure has joined #ruby
roflmyeggo has quit [Ping timeout: 276 seconds]
rkazak has joined #ruby
<meatchicken> that feel when time is hard in programming
PalaHO has joined #ruby
<SegFaultAX> meatchicken: http://sqlfiddle.com/#!15/d2c29/2
jeanlinu_ has quit [Ping timeout: 264 seconds]
Immune has quit [Ping timeout: 244 seconds]
skade has quit [Quit: Computer has gone to sleep.]
gnufied has quit [Quit: Leaving]
skade has joined #ruby
skade has quit [Client Quit]
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
flashpoint9 has joined #ruby
cpruitt has quit [Quit: cpruitt]
jeanlinux has joined #ruby
LebedevRI has quit [Quit: LebedevRI]
jeanlinu_ has joined #ruby
PalaHO has quit [Quit: leaving]
Immune has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
Azure has quit [Remote host closed the connection]
Pumukel has joined #ruby
jeanlinux has quit [Ping timeout: 265 seconds]
jeanlinu_ has quit [Ping timeout: 240 seconds]
beilabs has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 264 seconds]
Pumukel has joined #ruby
zenguy_pc has joined #ruby
jeanlinux has joined #ruby
hutch34 has joined #ruby
Rodya_ has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
GodFather has joined #ruby
jeanlinu_ has joined #ruby
Rodya_ has quit [Remote host closed the connection]
GodFather has quit [Remote host closed the connection]
Wolland_ has joined #ruby
Pumukel has joined #ruby
OTORelic4 has quit [Ping timeout: 264 seconds]
jeanlinux has quit [Ping timeout: 258 seconds]
ramortegui has quit [Quit: Ex-Chat]
Azure has joined #ruby
GodFather has joined #ruby
jeanlinu_ has quit [Ping timeout: 244 seconds]
jeanlinux has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Ebok has quit [Quit: This computer has gone to sleep]
Pumukel has joined #ruby
_pastel has quit [Ping timeout: 260 seconds]
pandaant has joined #ruby
polishdub has quit [Quit: Leaving]
weemsledeux has joined #ruby
jeanlinux has quit [Ping timeout: 265 seconds]
solars has quit [Ping timeout: 250 seconds]
Pumukel has quit [Ping timeout: 244 seconds]
jackjackdripper has quit [Quit: Leaving.]
Pumukel has joined #ruby
Vingador has quit [Ping timeout: 240 seconds]
firstdayonthejob has quit [Ping timeout: 276 seconds]
elifoster has quit [Quit: out]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jeanlinux has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
Pumukel has quit [Ping timeout: 260 seconds]
dipnlik has joined #ruby
Pumukel has joined #ruby
xall has joined #ruby
hutch34 has quit [Quit: WeeChat 1.5]
arthurl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ebok has joined #ruby
jeanlinu_ has joined #ruby
moonythedwarf_ has joined #ruby
jeanlinux has quit [Ping timeout: 265 seconds]
moon_ has quit [Ping timeout: 244 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
jeanlinux has joined #ruby
dipnlik has quit [Quit: dipnlik]
Zenit has joined #ruby
Pumukel has joined #ruby
Z3N1T has quit [Ping timeout: 252 seconds]
jeanlinu_ has quit [Ping timeout: 265 seconds]
whathappens has quit [Read error: Connection reset by peer]
d0nn1e has joined #ruby
whathappens has joined #ruby
jeanlinu_ has joined #ruby
Azure has quit [Ping timeout: 260 seconds]
Azure has joined #ruby
Dimik has quit [Ping timeout: 276 seconds]
jeanlinux has quit [Ping timeout: 265 seconds]
davedev2_ has joined #ruby
xall has quit [Ping timeout: 250 seconds]
davedev24 has quit [Ping timeout: 258 seconds]
qguv has quit [Quit: bye]
Pumukel has quit [Ping timeout: 264 seconds]
ixti has quit [Quit: WeeChat 1.5]
Wolland_ has quit [Remote host closed the connection]
Pumukel has joined #ruby
qguv has joined #ruby
jeanlinux has joined #ruby
jeanlinu_ has quit [Ping timeout: 265 seconds]
dminuoso has joined #ruby
solocshaw has joined #ruby
cschneid_ has quit [Remote host closed the connection]
lel has quit [Changing host]
lel has joined #ruby
jeanlinu_ has joined #ruby
Pumukel has quit [Ping timeout: 264 seconds]
Wolland has joined #ruby
jeanlinux has quit [Ping timeout: 265 seconds]
Pumukel has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
whathappens has joined #ruby
mostlybadfly has joined #ruby
jeanlinux has joined #ruby
dminuoso has quit [Ping timeout: 244 seconds]
bjh13 has quit [Remote host closed the connection]
whathappens has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
jeanlinu_ has quit [Ping timeout: 265 seconds]
jeanlinu_ has joined #ruby
etetz has quit [Remote host closed the connection]
RegulationD has quit [Remote host closed the connection]
etetz has joined #ruby
Pumukel has quit [Ping timeout: 260 seconds]
xall has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
jeanlinux has quit [Ping timeout: 265 seconds]
flashpoint9 has joined #ruby
Pumukel has joined #ruby
jeanlinux has joined #ruby
giz|work|2 has quit [Read error: Connection reset by peer]
jeanlinu_ has quit [Ping timeout: 265 seconds]
Wolland has quit [Remote host closed the connection]
agent_white has quit [Quit: baiabi]
etetz has quit [Ping timeout: 250 seconds]
d0nn1e has quit [Quit: ZNC - http://znc.in]
giz|work|2 has joined #ruby
jeanlinu_ has joined #ruby
qguv has quit [Quit: bye]
leea has joined #ruby
rkazak has quit [Ping timeout: 260 seconds]
flashpoint9 has quit [Ping timeout: 250 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
jeanlinux has quit [Ping timeout: 265 seconds]
jeanlinux has joined #ruby
whathappens has quit [Remote host closed the connection]
d0nn1e has joined #ruby
qguv has joined #ruby
Pumukel has joined #ruby
jeanlinu_ has quit [Ping timeout: 265 seconds]
jeanlinu_ has joined #ruby
GodFather has quit [Ping timeout: 252 seconds]
nettoweb has joined #ruby
jeanlinux has quit [Ping timeout: 265 seconds]
Pumukel has quit [Ping timeout: 264 seconds]
jeanlinux has joined #ruby
Pumukel has joined #ruby
jeanlinu_ has quit [Ping timeout: 265 seconds]
nankyokusei has joined #ruby
jeanlinu_ has joined #ruby
jeanlinux has quit [Ping timeout: 265 seconds]
Derperperd has quit [Quit: Derperperd]
Pumukel has quit [Ping timeout: 264 seconds]
moeabdol has quit [Ping timeout: 276 seconds]
jeanlinux has joined #ruby
nankyokusei has quit [Ping timeout: 250 seconds]
flashpoint9 has joined #ruby
GodFather has joined #ruby
jeanlinu_ has quit [Ping timeout: 265 seconds]
Miron has quit [Remote host closed the connection]
Derperperd has joined #ruby
jeanlinu_ has joined #ruby
Miron has joined #ruby
jeanlinux has quit [Ping timeout: 265 seconds]
Torrone has quit [Quit: This computer has gone to sleep]
mikecmpbll has quit [Quit: inabit. zz.]
Rufus has quit [Quit: Textual IRC Client: www.textualapp.com]
moeabdol has joined #ruby
jeanlinux has joined #ruby
Pumukel has joined #ruby
arashb has quit [Ping timeout: 252 seconds]
jeanlinu_ has quit [Ping timeout: 265 seconds]
jeanlinu_ has joined #ruby
moeabdol has quit [Ping timeout: 240 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
jeanlinux has quit [Ping timeout: 265 seconds]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
workmad3 has quit [Ping timeout: 265 seconds]
jeanlinux has joined #ruby
Pumukel has joined #ruby
ta_ has joined #ruby
jeanlinu_ has quit [Ping timeout: 265 seconds]
flashpoint9 has quit [Remote host closed the connection]
jeanlinu_ has joined #ruby
ebbflowgo has joined #ruby
flashpoint9 has joined #ruby
jeanlinux has quit [Ping timeout: 265 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
ta_ has quit [Ping timeout: 265 seconds]
Pumukel has joined #ruby
jeanlinux has joined #ruby
jeanlinu_ has quit [Ping timeout: 265 seconds]
flashpoint9 has quit [Ping timeout: 250 seconds]
jeanlinu_ has joined #ruby
SilverKey has quit [Ping timeout: 252 seconds]
jeanlinux has quit [Ping timeout: 265 seconds]
Pumukel has quit [Ping timeout: 260 seconds]
Ebok has quit [Quit: This computer has gone to sleep]
Guest38 has joined #ruby
jeanlinux has joined #ruby
weemsledeux has joined #ruby
saneax_AFK is now known as saneax
saneax is now known as Guest67611
zel has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jeanlinu_ has quit [Ping timeout: 265 seconds]
zel is now known as Guest29670
Renich has joined #ruby
jeanlinu_ has joined #ruby
jeanlinux has quit [Ping timeout: 265 seconds]
Pumukel has joined #ruby