havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.2, 2.3.5 & 2.2.8: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby || Books: https://goo.gl/wpGhoQ
jrabe has quit []
jrabe has joined #ruby
alveric2 has joined #ruby
milardovich has quit [Remote host closed the connection]
alveric1 has quit [Ping timeout: 255 seconds]
dstrunk has joined #ruby
bkxd_ has quit [Ping timeout: 255 seconds]
aspiers has quit [Ping timeout: 255 seconds]
lupine has quit [Read error: Connection reset by peer]
bkxd has joined #ruby
lupine has joined #ruby
aspiers has joined #ruby
oetjenj has joined #ruby
rainbowz has quit [Ping timeout: 248 seconds]
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
guacamole has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
milardovich has joined #ruby
bkxd_ has joined #ruby
dviola has quit [Quit: WeeChat 1.9.1]
bkxd has quit [Ping timeout: 248 seconds]
bkxd has joined #ruby
bkxd_ has quit [Ping timeout: 248 seconds]
ahurst has joined #ruby
ahurst has left #ruby [#ruby]
hndk has joined #ruby
guacamole has quit [Quit: My face has gone to sleep. ZZZzzz…]
x77686d has joined #ruby
bambanx has joined #ruby
<havenwood> al2o3-cr: it looks like christopheraue has a few gems: https://github.com/christopheraue
<bambanx> hello ladies and gentlemen
<havenwood> bambanx: hi
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<al2o3-cr> havenwood: thanks, i'll take a look now
oetjenj has joined #ruby
<bambanx> havenwood, hey howdy :)
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
<al2o3-cr> cheers havenwood he has :)
theRealGent has joined #ruby
<al2o3-cr> ...just what i was looking for
jenrzzz has quit [Ping timeout: 255 seconds]
leitz has quit [Quit: Nappy time]
armando has quit [Quit: ZNC 1.7.x-nightly-20171031-82d32429 - https://znc.in]
armando has joined #ruby
dshimy has joined #ruby
guacamole has joined #ruby
houhoulis has quit [Remote host closed the connection]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alveric3 has joined #ruby
alveric2 has quit [Ping timeout: 268 seconds]
mjolnird has joined #ruby
armando has quit [Ping timeout: 248 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
TomyLobo has quit [Ping timeout: 264 seconds]
Technodrome has joined #ruby
dshimy has quit [Quit: leaving]
milardovich has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 255 seconds]
bkxd_ has joined #ruby
bkxd has quit [Read error: Connection reset by peer]
hndk has quit [Quit: Leaving]
marr has quit [Ping timeout: 258 seconds]
sepp2k has quit [Read error: Connection reset by peer]
bkxd_ has quit [Ping timeout: 260 seconds]
milardovich has joined #ruby
TinkerTyper has quit [Ping timeout: 268 seconds]
milardovich has quit [Remote host closed the connection]
bkxd has joined #ruby
milardovich has joined #ruby
minimalism has quit [Quit: minimalism]
milardovich has quit [Ping timeout: 248 seconds]
konsolebox has quit [Ping timeout: 248 seconds]
konsolebox has joined #ruby
TinkerTyper has joined #ruby
bkxd has quit [Ping timeout: 248 seconds]
yabbes has quit [Ping timeout: 268 seconds]
bkxd has joined #ruby
Azure has joined #ruby
milardovich has joined #ruby
nofxx has joined #ruby
iceden has quit [Ping timeout: 240 seconds]
Cohedrin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iceden has joined #ruby
kitsunenokenja has quit [Ping timeout: 246 seconds]
x77686d has quit [Quit: x77686d]
lexruee has quit [Ping timeout: 255 seconds]
lexruee has joined #ruby
theRealGent has quit [Quit: Leaving]
DTZUZO has quit [Ping timeout: 248 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
bkxd has quit [Read error: Connection reset by peer]
bkxd has joined #ruby
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
bkxd has quit []
kitsunenokenja has joined #ruby
devchild has joined #ruby
<baweaver> To be fair I have a good deal of content already written
<baweaver> that said, Well Grounded Rubyist is getting a new version next year it sounds like
PixeLInc has quit [Quit: EliteBNC 1.6.3-git-6ef6013 - http://elitebnc.org]
mtkd has quit [Ping timeout: 240 seconds]
<baweaver> that, and I've only been writing for ~3 weeks now :P
oleo has quit [Ping timeout: 255 seconds]
devchild has quit [Ping timeout: 240 seconds]
PixeLInc has joined #ruby
oleo has joined #ruby
enterprisey has joined #ruby
guacamole has quit [Quit: My face has gone to sleep. ZZZzzz…]
x77686d has joined #ruby
iceden has quit [Ping timeout: 240 seconds]
guacamole has joined #ruby
kitsunenokenja has quit [Ping timeout: 255 seconds]
astronav_ has joined #ruby
mjolnird has quit [Remote host closed the connection]
safetypin has quit [Quit: ZZZzzz…]
iceden has joined #ruby
duckpuppy has quit [Read error: No route to host]
quobo has quit [Quit: Connection closed for inactivity]
exhiled has joined #ruby
cadillac_ has quit [Quit: I quit]
cadillac_ has joined #ruby
d^sh has quit [Ping timeout: 240 seconds]
d^sh has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
apeiros_ has joined #ruby
psychicist__ has quit [Ping timeout: 240 seconds]
armando has joined #ruby
jeffreylevesque has joined #ruby
<jeffreylevesque> what's the minimum needed to be installed to run the `gem` command
psychicist__ has joined #ruby
<jeffreylevesque> install `rubygems`?
<elomatreb> Depends on the way you installed Ruby. Normally the ruby package of your distribution includes gem, or there is a separate one
John__ has quit [Read error: Connection reset by peer]
<jeffreylevesque> is it possible to install just the ruby package manager on ubuntu 14
<jeffreylevesque> trying to keep things light, when isntalling various linters
hutch34 has quit [Ping timeout: 258 seconds]
<jeffreylevesque> gem allows me to install a bunch of linters apparently
<elomatreb> Gem is written in Ruby and only installs ruby scripts, so you need a ruby interpreter to use it
<jeffreylevesque> or do i have to install the entire ruby?
psychicist__ has quit [Ping timeout: 240 seconds]
<jeffreylevesque> ok
devchild has joined #ruby
milardovich has quit [Remote host closed the connection]
ResidentBiscuit has joined #ruby
hutch34 has joined #ruby
devchild has quit [Ping timeout: 240 seconds]
harfangk has joined #ruby
s3nd1v0g1us has joined #ruby
hutch34 has quit [Ping timeout: 255 seconds]
hyperreal has left #ruby ["http://quassel-irc.org - Chat comfortably. Anywhere."]
bkxd has joined #ruby
_whitelogger has quit [Ping timeout: 250 seconds]
_whitelogger has joined #ruby
Liothen has quit [Ping timeout: 240 seconds]
hutch34 has joined #ruby
psychicist__ has joined #ruby
Liothen has joined #ruby
hutch34 has quit [Ping timeout: 264 seconds]
smlx has quit [Ping timeout: 255 seconds]
milardovich has joined #ruby
<darix> jeffreylevesque: the gems you want to install probably want the stdlib and stuff. so yes. you need one ruby package
bkxd_ has joined #ruby
bkxd has quit [Ping timeout: 248 seconds]
Dimik has joined #ruby
guacamole has quit [Quit: My face has gone to sleep. ZZZzzz…]
hutch34 has joined #ruby
charliesome has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
koz_ has joined #ruby
<koz_> I'm trying to install this gem: https://rubygems.org/gems/asciidoctor-pdf. However, 'gem install asciidoctor-pdf' says that it couldn't find any valid gem called 'asciidoctor-pdf' in any repository. What did I miss?
hutch34 has quit [Ping timeout: 255 seconds]
pokmo has left #ruby ["Textual IRC Client: www.textualapp.com"]
<elomatreb> koz_: There is no stable version published, use --pre to get it to also consider non-stable versions
hutch34 has joined #ruby
bkxd_ has quit [Ping timeout: 268 seconds]
knight33 has joined #ruby
alan_w has quit [Quit: WeeChat 1.9.1]
bkxd has joined #ruby
hutch34 has quit [Ping timeout: 250 seconds]
konsolebox has quit [Ping timeout: 240 seconds]
konsolebox has joined #ruby
hutch34 has joined #ruby
konsolebox has quit [Ping timeout: 260 seconds]
milardovich has joined #ruby
konsolebox has joined #ruby
hutch34 has quit [Ping timeout: 250 seconds]
guacamole has joined #ruby
hutch34 has joined #ruby
kinbiko has quit [Ping timeout: 248 seconds]
mfb2 has joined #ruby
hutch34 has quit [Ping timeout: 250 seconds]
kinbiko has joined #ruby
x77686d has quit [Quit: x77686d]
uZiel has joined #ruby
mfb2_ has joined #ruby
mfb2 has quit [Read error: Connection reset by peer]
ResidentBiscuit has quit [Remote host closed the connection]
astronav_ has quit [Remote host closed the connection]
bkxd_ has joined #ruby
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zanoni has quit [Ping timeout: 260 seconds]
hutch34 has joined #ruby
kinbiko has quit [Ping timeout: 248 seconds]
bkxd has quit [Ping timeout: 248 seconds]
mfb2_ has quit [Ping timeout: 240 seconds]
kinbiko has joined #ruby
hutch34 has quit [Ping timeout: 250 seconds]
cdg has joined #ruby
kinbiko has quit [Ping timeout: 248 seconds]
bkxd has joined #ruby
hutch34 has joined #ruby
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has quit [Ping timeout: 250 seconds]
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bkxd_ has quit [Ping timeout: 240 seconds]
hutch34 has quit [Ping timeout: 250 seconds]
Azure has joined #ruby
cdg has joined #ruby
knight33 has joined #ruby
houhoulis has joined #ruby
hutch34 has joined #ruby
kinbiko has joined #ruby
cdg has quit [Ping timeout: 255 seconds]
shinnya has joined #ruby
hutch34 has quit [Ping timeout: 250 seconds]
<koz_> elomatreb: Thank you!
kinbiko has quit [Ping timeout: 260 seconds]
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kinbiko has joined #ruby
gix has joined #ruby
eckhardt has joined #ruby
koz_ has left #ruby ["WeeChat 1.9.1"]
hutch34 has joined #ruby
gix- has quit [Ping timeout: 240 seconds]
x77686d has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eightlimbed has joined #ruby
kinbiko has quit [Ping timeout: 255 seconds]
hutch34 has quit [Ping timeout: 255 seconds]
bambanx has quit [Quit: Leaving]
weaksauce has quit [Max SendQ exceeded]
knight33 has joined #ruby
knight33 has quit [Max SendQ exceeded]
hutch34 has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
kinbiko has joined #ruby
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
hutch34 has quit [Ping timeout: 258 seconds]
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
govg has joined #ruby
christiandsg has joined #ruby
kinbiko has quit [Ping timeout: 240 seconds]
christiandsg has quit [Client Quit]
hutch34 has joined #ruby
synstack_ is now known as synstack
kinbiko has joined #ruby
Barrt has quit [Ping timeout: 250 seconds]
bkxd has quit [Ping timeout: 260 seconds]
hutch34 has quit [Ping timeout: 250 seconds]
bkxd has joined #ruby
kinbiko has quit [Ping timeout: 260 seconds]
christiandsg has joined #ruby
hutch34 has joined #ruby
Technodrome has joined #ruby
hutch34 has quit [Ping timeout: 255 seconds]
ahurst has joined #ruby
kinbiko has joined #ruby
hutch34 has joined #ruby
kinbiko has quit [Ping timeout: 248 seconds]
hutch34 has quit [Ping timeout: 258 seconds]
bkxd has quit [Ping timeout: 248 seconds]
kinbiko has joined #ruby
ahurst has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hutch34 has joined #ruby
kinbiko has quit [Ping timeout: 240 seconds]
bkxd has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ahurst has joined #ruby
konsolebox has quit [Ping timeout: 268 seconds]
hutch34 has quit [Ping timeout: 258 seconds]
konsolebox has joined #ruby
bkxd has quit [Ping timeout: 248 seconds]
hutch34 has joined #ruby
kinbiko has joined #ruby
bkxd has joined #ruby
hutch34 has quit [Ping timeout: 258 seconds]
uZiel has quit [Ping timeout: 248 seconds]
kinbiko has quit [Ping timeout: 240 seconds]
guacamole has quit [Quit: My face has gone to sleep. ZZZzzz…]
eckhardt has joined #ruby
devchild has joined #ruby
nowhere_man has joined #ruby
hutch34 has joined #ruby
dineshitr has joined #ruby
dineshitr has left #ruby [#ruby]
kinbiko has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
devchild has quit [Ping timeout: 255 seconds]
hutch34 has quit [Ping timeout: 240 seconds]
lexruee has quit [Ping timeout: 260 seconds]
konsolebox has quit [Ping timeout: 248 seconds]
lexruee has joined #ruby
kinbiko has quit [Ping timeout: 248 seconds]
silvermine has joined #ruby
konsolebox has joined #ruby
bkxd has joined #ruby
hutch34 has joined #ruby
xlegoman has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mfb2 has joined #ruby
hutch34 has quit [Ping timeout: 255 seconds]
kinbiko has joined #ruby
hutch34 has joined #ruby
kinbiko has quit [Ping timeout: 255 seconds]
hutch34 has quit [Ping timeout: 255 seconds]
ahurst has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hutch34 has joined #ruby
kinbiko has joined #ruby
hutch34 has quit [Ping timeout: 250 seconds]
kinbiko has quit [Ping timeout: 240 seconds]
mfb2 has quit [Remote host closed the connection]
hutch34 has joined #ruby
kinbiko has joined #ruby
nchambers has left #ruby [#ruby]
bkxd has quit [Ping timeout: 268 seconds]
mfb2_ has joined #ruby
bkxd has joined #ruby
hutch34 has quit [Ping timeout: 258 seconds]
kinbiko has quit [Ping timeout: 260 seconds]
s3nd1v0g1us has quit [Ping timeout: 248 seconds]
nchambers has joined #ruby
mfb2_ has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
kinbiko has joined #ruby
hutch34 has joined #ruby
yabbes has joined #ruby
cdg has quit [Ping timeout: 250 seconds]
hutch34 has quit [Ping timeout: 255 seconds]
kinbiko has quit [Ping timeout: 268 seconds]
kinbiko has joined #ruby
hutch34 has joined #ruby
kinbiko has quit [Ping timeout: 248 seconds]
rippa has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
Cra2yZer0 has joined #ruby
aiguuu has joined #ruby
minimalism has joined #ruby
hutch34 has joined #ruby
kinbiko has joined #ruby
hutch34 has quit [Ping timeout: 258 seconds]
kinbiko has quit [Ping timeout: 240 seconds]
hutch34 has joined #ruby
Dimik has quit [Ping timeout: 268 seconds]
x77686d has quit [Quit: x77686d]
hutch34 has quit [Ping timeout: 255 seconds]
kinbiko has joined #ruby
bkxd has quit [Ping timeout: 248 seconds]
hutch34 has joined #ruby
kinbiko has quit [Ping timeout: 268 seconds]
exhiled has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
bkxd has joined #ruby
hutch34 has joined #ruby
eightlimbed has quit [Quit: Ex-Chat]
christiandsg has quit [Remote host closed the connection]
kinbiko has joined #ruby
hutch34 has quit [Ping timeout: 258 seconds]
kinbiko has quit [Ping timeout: 250 seconds]
hutch34 has joined #ruby
hutch34 has quit [Ping timeout: 250 seconds]
mjolnird has joined #ruby
uZiel has joined #ruby
kinbiko has joined #ruby
hutch34 has joined #ruby
enterprisey has quit [Remote host closed the connection]
kinbiko has quit [Ping timeout: 268 seconds]
hutch34 has quit [Ping timeout: 240 seconds]
marr has joined #ruby
kapil___ has joined #ruby
flori_ has quit [Ping timeout: 268 seconds]
kinbiko has joined #ruby
hutch34 has joined #ruby
bkxd_ has joined #ruby
alex`` has joined #ruby
alex`` is now known as alexherbo2
bkxd has quit [Ping timeout: 248 seconds]
alexherbo2 is now known as alex``
hutch34 has quit [Ping timeout: 240 seconds]
zautomata1 has quit [Quit: WeeChat 1.7]
kinbiko has quit [Ping timeout: 248 seconds]
mtkd has joined #ruby
apparition has joined #ruby
hutch34 has joined #ruby
silvermine has quit [Ping timeout: 240 seconds]
hutch34 has quit [Ping timeout: 240 seconds]
oetjenj has joined #ruby
kinbiko has joined #ruby
hutch34 has joined #ruby
kinbiko has quit [Ping timeout: 268 seconds]
hutch34 has quit [Ping timeout: 250 seconds]
claudiuinberlin has joined #ruby
konsolebox has quit [Ping timeout: 268 seconds]
pb122 has quit [Quit: Leaving]
InfinityFye has joined #ruby
konsolebox has joined #ruby
hutch34 has joined #ruby
plexigras has quit [Ping timeout: 248 seconds]
hutch34 has quit [Ping timeout: 250 seconds]
zautomata has joined #ruby
miskatonic has joined #ruby
hutch34 has joined #ruby
yabbes has quit [Ping timeout: 240 seconds]
apparition has quit [Read error: Connection reset by peer]
conta has joined #ruby
hutch34 has quit [Ping timeout: 250 seconds]
bkxd has joined #ruby
bkxd_ has quit [Ping timeout: 240 seconds]
Cra2yZer0 has quit [Ping timeout: 240 seconds]
kinbiko has joined #ruby
Cra2yZer0 has joined #ruby
hutch34 has joined #ruby
milardovich has joined #ruby
yabbes has joined #ruby
harfangk has quit [Ping timeout: 248 seconds]
hutch34 has quit [Ping timeout: 255 seconds]
mochiyoda has quit [Ping timeout: 248 seconds]
mochiyoda has joined #ruby
hutch34 has joined #ruby
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hutch34 has quit [Ping timeout: 250 seconds]
hutch34 has joined #ruby
InfinityFye has quit [Ping timeout: 240 seconds]
hutch34 has quit [Ping timeout: 255 seconds]
shoogz has quit [Ping timeout: 240 seconds]
Cra2yZer0 has quit []
hutch34 has joined #ruby
devchild has joined #ruby
mikecmpbll has joined #ruby
hutch34 has quit [Ping timeout: 252 seconds]
devchild has quit [Ping timeout: 240 seconds]
bkxd_ has joined #ruby
bkxd has quit [Read error: Connection reset by peer]
ta__ has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
hutch34 has joined #ruby
TomyLobo has joined #ruby
bkxd has joined #ruby
pwnd_nsfw has quit [Ping timeout: 258 seconds]
InfinityFye has joined #ruby
bkxd_ has quit [Ping timeout: 248 seconds]
hutch34 has quit [Ping timeout: 252 seconds]
hutch34 has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pwnd_nsfw has joined #ruby
yqt has joined #ruby
hutch34 has quit [Ping timeout: 255 seconds]
Ltem has joined #ruby
bkxd has quit []
hutch34 has joined #ruby
ur5us has joined #ruby
hutch34 has quit [Ping timeout: 255 seconds]
ur5us has quit [Remote host closed the connection]
kapil___ has quit [Quit: Connection closed for inactivity]
ShekharReddy has joined #ruby
raatiniemi has joined #ruby
hutch34 has joined #ruby
lexruee has quit [Ping timeout: 248 seconds]
lexruee has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
hutch34 has joined #ruby
hutch34 has quit [Ping timeout: 258 seconds]
tomphp has joined #ruby
hutch34 has joined #ruby
quobo has joined #ruby
troulouliou_div2 has joined #ruby
apeiros_ is now known as apeiros
hutch34 has quit [Ping timeout: 246 seconds]
cdg has joined #ruby
troulouliou_div2 has quit [Read error: Connection reset by peer]
troulouliou_div2 has joined #ruby
dinfuehr_ has quit [Ping timeout: 255 seconds]
cdg has quit [Ping timeout: 250 seconds]
dinfuehr has joined #ruby
hutch34 has joined #ruby
konsolebox has quit [Ping timeout: 255 seconds]
raul782 has joined #ruby
troulouliou_div2 has quit [Ping timeout: 240 seconds]
konsolebox has joined #ruby
hutch34 has quit [Ping timeout: 250 seconds]
MrBusiness has quit [Quit: https://www.youtube.com/watch?v=xIIqYqtR1lY -- Suicide is Painless - Johnny Mandel]
MrBusiness has joined #ruby
houhoulis has quit [Remote host closed the connection]
hutch34 has joined #ruby
konsolebox has quit [Ping timeout: 240 seconds]
konsolebox has joined #ruby
hutch34 has quit [Ping timeout: 252 seconds]
zautomata has quit [Ping timeout: 260 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yeticry_ has joined #ruby
marr has quit [Ping timeout: 268 seconds]
hutch34 has joined #ruby
yeticry has quit [Ping timeout: 240 seconds]
tomphp has joined #ruby
raatiniemi has quit [Remote host closed the connection]
apeiros has quit []
raatiniemi has joined #ruby
hutch34 has quit [Ping timeout: 264 seconds]
konsolebox has quit [Ping timeout: 255 seconds]
hutch34 has joined #ruby
konsolebox has joined #ruby
hutch34 has quit [Ping timeout: 252 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
tomphp has quit [Client Quit]
konsolebox has quit [Ping timeout: 240 seconds]
hutch34 has joined #ruby
konsolebox has joined #ruby
leitz has joined #ruby
d^sh has quit [Ping timeout: 268 seconds]
uZiel has quit [Remote host closed the connection]
uZiel has joined #ruby
d^sh has joined #ruby
Ltem has quit [Quit: Leaving]
hutch34 has quit [Ping timeout: 250 seconds]
raul782 has quit [Remote host closed the connection]
c0ncealed has quit [Remote host closed the connection]
tomphp has joined #ruby
c0ncealed has joined #ruby
psychicist__ has quit [Ping timeout: 260 seconds]
psychicist__ has joined #ruby
hutch34 has joined #ruby
raul782 has joined #ruby
tomphp has quit [Client Quit]
uZiel has quit [Ping timeout: 248 seconds]
konsolebox has quit [Ping timeout: 240 seconds]
muelleme has joined #ruby
konsolebox has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
despai has joined #ruby
zautomata has joined #ruby
PhoenixMage has left #ruby [#ruby]
hutch34 has joined #ruby
konsolebox has quit [Ping timeout: 260 seconds]
raul782 has quit [Remote host closed the connection]
raul782 has joined #ruby
konsolebox has joined #ruby
goyox86 has joined #ruby
hutch34 has quit [Ping timeout: 255 seconds]
konsolebox has quit [Ping timeout: 260 seconds]
konsolebox has joined #ruby
uZiel has joined #ruby
uZiel has quit [Remote host closed the connection]
hutch34 has joined #ruby
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
Emmanuel_Chanel has joined #ruby
marr has joined #ruby
konsolebox has quit [Ping timeout: 250 seconds]
konsolebox has joined #ruby
uZiel has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
goyox86 has quit [Quit: goyox86]
ramfjord has quit [Ping timeout: 268 seconds]
hutch34 has joined #ruby
shinnya has quit [Ping timeout: 248 seconds]
konsolebox has quit [Ping timeout: 248 seconds]
konsolebox has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
janko_s_ has joined #ruby
konsolebox has quit [Ping timeout: 240 seconds]
konsolebox has joined #ruby
David_H_Smith has joined #ruby
hutch34 has joined #ruby
David_H__ has quit [Ping timeout: 248 seconds]
silvermine has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
nowhereman_ has joined #ruby
muelleme has quit [Ping timeout: 240 seconds]
konsolebox has quit [Ping timeout: 240 seconds]
konsolebox has joined #ruby
nowhere_man has quit [Ping timeout: 268 seconds]
muelleme has joined #ruby
hutch34 has joined #ruby
dionysus69 has joined #ruby
kinbiko has quit [Quit: WeeChat 1.9.1]
hutch34 has quit [Ping timeout: 264 seconds]
miskaton` has joined #ruby
silvermine has quit [Ping timeout: 248 seconds]
miskatonic has quit [Ping timeout: 248 seconds]
hutch34 has joined #ruby
hutch34 has quit [Ping timeout: 255 seconds]
nopolitica has quit [Ping timeout: 240 seconds]
quobo has quit [Quit: Connection closed for inactivity]
kitsunenokenja has joined #ruby
hutch34 has joined #ruby
marr has quit [Ping timeout: 250 seconds]
hutch34 has quit [Ping timeout: 240 seconds]
cadillac_ has quit [Read error: Connection reset by peer]
hutch34 has joined #ruby
cadillac_ has joined #ruby
<jeffreylevesque> is there a recommended way to install ruby 2.x on ubuntu 14.04?
yabbes has quit [Ping timeout: 240 seconds]
hutch34 has quit [Ping timeout: 240 seconds]
eb0t_ has quit [Read error: Connection reset by peer]
eb0t has quit [Read error: Connection reset by peer]
Ltem has joined #ruby
eb0t has joined #ruby
eb0t_ has joined #ruby
hutch34 has joined #ruby
miskaton` has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
gheegh has joined #ruby
nopolitica has joined #ruby
dionysus69 has quit [Quit: dionysus69]
agent_white has joined #ruby
ShekharReddy has quit [Quit: Connection closed for inactivity]
hutch34 has quit [Ping timeout: 250 seconds]
pwnd_nsfw has quit [Ping timeout: 264 seconds]
pwnd_nsfw has joined #ruby
silvermine has joined #ruby
dionysus69 has joined #ruby
hutch34 has joined #ruby
gizmore has joined #ruby
<janko_s_> Install rvm first and ruby then
<janko_s_> https://rvm.io
hutch34 has quit [Ping timeout: 264 seconds]
x77686d has joined #ruby
miskatonic has joined #ruby
raul782 has quit [Remote host closed the connection]
tomphp has joined #ruby
hutch34 has joined #ruby
x77686d has quit [Quit: x77686d]
raul782 has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
raul782 has quit [Remote host closed the connection]
raul782 has joined #ruby
sepp2k has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hutch34 has joined #ruby
astronav_ has joined #ruby
hays has joined #ruby
hays has quit [Changing host]
hays has joined #ruby
nopolitica has quit [Ping timeout: 248 seconds]
hutch34 has quit [Ping timeout: 250 seconds]
profetes has quit [Remote host closed the connection]
profetes has joined #ruby
x77686d has joined #ruby
nopoliti1 has joined #ruby
astronav_ is now known as astronavt_
hutch34 has joined #ruby
<TomyLobo> there is chruby, too
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jhass> too bad it doesn't actually install ruby
muelleme has quit [Ping timeout: 268 seconds]
hutch34 has quit [Ping timeout: 250 seconds]
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
<TomyLobo> hmm, then that's probably not what i use at work ^^
oetjenj has joined #ruby
<TomyLobo> cant look it up right now
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
<jhass> chruby is for switching between ruby installations you obtained via other means, for example your package manager, RVM, ruby-build or ruby-install
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
<TomyLobo> btw, I'm looking for a parser that takes up less memory than parslet. Reason being that I'm trying to parse a large text file (stellaris save game, 38 MB) with parslet and it aborts with "[FATAL] failed to allocate memory"
oetjenj has quit [Client Quit]
silvermine has quit [Quit: WeeChat 2.0-dev]
<TomyLobo> I'm on babun, which is a cygwin installer for, i think, the 32 bit variant. I have plenty of RAM, but I think it hits the memory limit for 32 bit processes
hutch34 has joined #ruby
hays has quit [Ping timeout: 248 seconds]
John__ has joined #ruby
hutch34 has quit [Ping timeout: 252 seconds]
<TomyLobo> i might just be doing it wrong, but the design goals for parslet dont really look like they care a lot about resource usage but more about simplicity
GodFather has quit [Quit: Ex-Chat]
GodFather_ has joined #ruby
hutch34 has joined #ruby
Jicemo has joined #ruby
ShalokShalom has joined #ruby
safetypin has joined #ruby
char_var[buffer] has quit [Remote host closed the connection]
hutch34 has quit [Ping timeout: 250 seconds]
char_var[buffer] has joined #ruby
char_var[buffer] has quit [Read error: Connection reset by peer]
hutch34 has joined #ruby
gheegh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
astronavt_ is now known as astronavt
hutch34 has quit [Ping timeout: 246 seconds]
dionysus69 has quit [Ping timeout: 264 seconds]
hutch34 has joined #ruby
dionysus69 has joined #ruby
my123 has quit [Ping timeout: 248 seconds]
oetjenj has joined #ruby
nowhereman_ has quit [Ping timeout: 240 seconds]
<TomyLobo> https://ideone.com/zyOChb here's the grammar with some representative example input, all contained in one file
my123 has joined #ruby
my123 has joined #ruby
conta1 has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
gheegh has joined #ruby
<TomyLobo> the actual input is 38 MB
psychicist__ has quit [Read error: Connection reset by peer]
psychicist__ has joined #ruby
conta1 has quit [Ping timeout: 260 seconds]
despai has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jhass> well, 38M of that in simple ruby hashes already probably takes up half a gig
hutch34 has joined #ruby
<jhass> personally I probably would just hack up a hand written pull parser
safetypin has quit [Quit: ZZZzzz…]
hutch34 has quit [Ping timeout: 240 seconds]
<TomyLobo> i can cut it down to 24 MB
x77686d has quit [Quit: x77686d]
<TomyLobo> and i can probably filter down the attributes even more, since i only need a fraction of them
<jhass> fraction as in like a dozen? unique names? if both yes I'd just go for .scan(//) tbh
konsolebox has quit [Ping timeout: 248 seconds]
<TomyLobo> well i'd still need the overarching structure
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
miskatonic has quit [Ping timeout: 248 seconds]
alex`` has quit [Quit: WeeChat 1.9.1]
miskatonic has joined #ruby
<TomyLobo> and no, not a dozen, but like 1/5 to 1/3 of each larger structure's attributes
<TomyLobo> but having the entire save in memory to do fancy mappings and such on it would be nice too
nopoliti1 has quit [Ping timeout: 248 seconds]
hutch34 has joined #ruby
yabbes has joined #ruby
nopoliti1 has joined #ruby
<TomyLobo> jhass, btw scanning is what i did before, basically :)
<TomyLobo> but now i want to fill a google spreadsheet with the pop counts per species for each planet of my empire
<TomyLobo> so i need to go through the planets and cross-reference the species list and the country list
konsolebox has joined #ruby
agent_white has quit [Ping timeout: 240 seconds]
agent_white has joined #ruby
hays has joined #ruby
hays has quit [Changing host]
hays has joined #ruby
hutch34 has quit [Ping timeout: 264 seconds]
DLSteve has joined #ruby
nopoliti1 has quit [Ping timeout: 248 seconds]
oetjenj has quit [Ping timeout: 260 seconds]
konsolebox has quit [Ping timeout: 248 seconds]
konsolebox has joined #ruby
hutch34 has joined #ruby
despai has joined #ruby
Vile` has joined #ruby
hutch34 has quit [Ping timeout: 258 seconds]
ahurst has joined #ruby
oetjenj has joined #ruby
mim1k has joined #ruby
hutch34 has joined #ruby
hutch34 has quit [Ping timeout: 246 seconds]
sid__ is now known as TagNotFound
mson has quit [Quit: Connection closed for inactivity]
hutch34 has joined #ruby
astronavt has quit [Remote host closed the connection]
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
apeiros_ has joined #ruby
hutch34 has quit [Ping timeout: 264 seconds]
mim1k has quit [Ping timeout: 240 seconds]
dionysus69 has quit [Ping timeout: 248 seconds]
hutch34 has joined #ruby
ahurst has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hutch34 has quit [Ping timeout: 252 seconds]
dviola has joined #ruby
hutch34 has joined #ruby
malice` has joined #ruby
flori has joined #ruby
<malice`> Hi! I want to make it available for user(of the interface) to provide a class to instantiate, and I
<malice`> damn it, my enter
xlegoman has joined #ruby
<malice`> and I'd like it to implement some interface
ahurst has joined #ruby
<malice`> Can I somehow do that in Ruby?
<malice`> I know I could pass class by its name, so I could do something like my_fun(Hash)
<malice`> should I make if with kind_of? in there?
<Papierkorb> You can also just pass in a Class as object
<Papierkorb> no string magic required
<TomyLobo> malice`, user interface or interface for a user of your library? :D
<jhass> define interfaces through .respond_to? or just calling some methods, not through inheritance
hutch34 has quit [Ping timeout: 250 seconds]
<malice`> Papierkorb: I wasn't talking about strings anywhere
<malice`> TomyLobo: the second choice :p
<Papierkorb> > I know I could pass class by its name,
flori has quit [Ping timeout: 240 seconds]
astronavt has joined #ruby
<malice`> Papierkorb: well, what I meant is that when you've got class, its bound to some name, i.e. class Hash
<malice`> jhass: why?
<TomyLobo> malice`, but yeahm as jhass said, before you determine that, you need to figure out which strategy you want: inheritance or duck typing
darkod has joined #ruby
<darkod> hi
<jhass> because that gives your users a lot more flexibility (and also because it's the more common approach in the ruby community)
<Papierkorb> I usually have a module the user includes, which then has the to-be implemented methods as stubs raising NotImplementedError
<Papierkorb> So the user can simply read a module, and doesn't have to guess what's expected
<jhass> Papierkorb: do you enforce they include it though?
<Papierkorb> jhass: Sometimes. Ruby doesn't offer these facilities that would be very much appreciated
<darkod> I read about GIL in Ruby. Does that mean running infinite loop blocks other web requests from doing job in my RoR app?
<malice`> jhass: What kind of flexibility? I don't see anything wrong with the inheritance approach. I know it couples tightly, but also makes it easy to know what you're working with
<jhass> darkod: quite likely, if the loop body never does IO or similar
<darkod> jhass: interesting, that sounds like node.js
<jhass> malice`: well, first you would need to accept that you can't possibly anticipate all usecases :P But think about mock generation for example
<malice`> jhass: couldn't just mock inherit from the same interface?
<jhass> darkod: similar problem yeah, I think node.js solves it with coroutines rather than threads though?
hndk has joined #ruby
<malice`> all I want to do is specify an interface. I know it's kind of futile in Ruby, but I don't want to try to enforce it, but rather show what you need to do.
hutch34 has joined #ruby
<jhass> malice`: that's not always convenient or even possible if you use some library to generate your mock
<malice`> and with mock, you'd just inherit from the same interface and create SomeMockClass
<jhass> so write good documentation and examples
<jhass> that gets you far further IMO
<Papierkorb> malice`: That's why I use the documenting-module
<Papierkorb> People know how to read code. They can do that quite fast. Reading custom docs is simply slower
<Papierkorb> and more error prone
<jhass> hence the examples :P
<Papierkorb> Also lets you add docs to the expected methods/behaviour
<TomyLobo> jhass, i'll take your advice and hand-code the parser. I've written parsers before... what is a pull parser (google only points me to some java api called XML pull parser) and why should i use that, over, say, recursive-descent?
hutch34 has quit [Ping timeout: 240 seconds]
kitsunenokenja has quit [Ping timeout: 240 seconds]
<jhass> it's mainly about the way the parser is used, it allows for parsing a stream and not keeping the entire parsed structure in memory
<jhass> also it keeps the flow control on the caller's side
duderonomy has joined #ruby
bmurt has joined #ruby
<TomyLobo> well i want basically a tree in the end, so...
<TomyLobo> it cant be that bad :)
<TomyLobo> and if it is, i'll devise a structured filtering mechanism
kitsunenokenja has joined #ruby
<jhass> sure, let's hope the saves never get 1G big :D
<TomyLobo> ^^
<TomyLobo> probably not
<TomyLobo> this one is already pretty excessive
hutch34 has joined #ruby
<jhass> yet the memory usage with a streaming parser (and writer I guess) still probably would be way below a tenth :D
<jhass> but I agree that's just optimizing for the fun of it
Barrt has joined #ruby
oetjenj has quit [Ping timeout: 255 seconds]
hutch34 has quit [Ping timeout: 252 seconds]
apeiros_ has quit [Remote host closed the connection]
chmurifree has quit [Ping timeout: 272 seconds]
ahurst has quit [Quit: Textual IRC Client: www.textualapp.com]
hutch34 has joined #ruby
chmurifree has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
<TomyLobo> streaming... maybe
<TomyLobo> but that'll only save me 38M at most :)
spectra_ has quit [*.net *.split]
Olipro has quit [*.net *.split]
perry has quit [*.net *.split]
utkarsh_ has quit [*.net *.split]
AKPWD has quit [*.net *.split]
silverdust has quit [*.net *.split]
AKPWD has joined #ruby
Olipro has joined #ruby
perry has joined #ruby
perry has quit [Changing host]
perry has joined #ruby
utkarsh has joined #ruby
hutch34 has joined #ruby
goyox86 has joined #ruby
selim has quit [Ping timeout: 240 seconds]
Xeago has quit [Ping timeout: 240 seconds]
bokayio has quit [Ping timeout: 240 seconds]
bokayio has joined #ruby
z3uS has quit [Ping timeout: 260 seconds]
mtkd has quit [Ping timeout: 260 seconds]
z3uS has joined #ruby
selim has joined #ruby
Xeago has joined #ruby
mtkd has joined #ruby
spectra has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
govg has quit [Ping timeout: 248 seconds]
bmurt has joined #ruby
hutch34 has quit [Ping timeout: 246 seconds]
apeiros_ has joined #ruby
<jhass> well, you quickly end up with 3-4 copies of that in regular approaches, plus more housekeeping and organization structures (more hashes and arrays)
rainbowz has joined #ruby
christiandsg has joined #ruby
mim1k has joined #ruby
hutch34 has joined #ruby
apeiros_ has quit [Ping timeout: 260 seconds]
thinkpad has quit [Ping timeout: 248 seconds]
hutch34 has quit [Ping timeout: 240 seconds]
drowze has joined #ruby
marr has joined #ruby
selim has quit [Ping timeout: 248 seconds]
eightlimbed has joined #ruby
eightlimbed has quit [Client Quit]
foxxx0 has quit [Quit: WeeChat 1.9.1]
hutch34 has joined #ruby
zautomata1 has joined #ruby
selim has joined #ruby
zautomata has quit [Ping timeout: 248 seconds]
dionysus69 has joined #ruby
<TomyLobo> well i'll make sure to only scan on the original string
foxxx0 has joined #ruby
<TomyLobo> problem is, the format isn't quite context-free
apeiros_ has joined #ruby
<TomyLobo> array and dictionary overlap slightly
ahrs has quit [Remote host closed the connection]
hutch34 has quit [Ping timeout: 264 seconds]
ahrs has joined #ruby
<TomyLobo> i can probably disambiguate that by checking if the first token is an identifier or something else
gheegh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hutch34 has joined #ruby
uZiel has quit [Remote host closed the connection]
hutch34 has quit [Ping timeout: 250 seconds]
tomphp has joined #ruby
xlegoman has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has joined #ruby
darkod has quit [Ping timeout: 260 seconds]
hutch34 has joined #ruby
tomphp has quit [Max SendQ exceeded]
ramfjord has quit [Ping timeout: 268 seconds]
hutch34 has quit [Ping timeout: 250 seconds]
tomphp has joined #ruby
<TomyLobo> for some reason, the "multimap" gem needs ffi and for some reason that doesnt work on babun.
<TomyLobo> is anyone aware of another gem that implements a multimap (hash with duplicate keys, basically)
<TomyLobo> https://github.com/doxavore/multimap basically this, but without C parts ^^
<TomyLobo> h = Hash.new { |h,k| h[k] = [] } # or i'll just do that. thanks, michael kohl from stackoverflow :)
hutch34 has joined #ruby
hutch34 has quit [Ping timeout: 255 seconds]
guacamole has joined #ruby
Barrt has quit [Ping timeout: 268 seconds]
alex`` has joined #ruby
Barrt has joined #ruby
xlegoman has joined #ruby
hutch34 has joined #ruby
roshanavand has joined #ruby
Technodrome has joined #ruby
derek-away has quit [Quit: ZNC 1.6.5+deb1~bpo8+1 - http://znc.in]
miskatonic has quit [Read error: Connection reset by peer]
miskaton` has joined #ruby
jamesaxl has joined #ruby
quobo has joined #ruby
daemonwrangler has joined #ruby
astronavt has quit [Remote host closed the connection]
daemonwrangler has quit [Client Quit]
christiandsg has quit [Remote host closed the connection]
daemonwrangler has joined #ruby
ramfjord has joined #ruby
safetypin has joined #ruby
InfinityFye has quit [Quit: Leaving]
daemonwrangler has quit [Ping timeout: 248 seconds]
janko_s has joined #ruby
Barrt has quit [Ping timeout: 240 seconds]
daemonwrangler has joined #ruby
hays has quit [Ping timeout: 248 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ledestin has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mn3m has joined #ruby
hahuang65 has quit [Ping timeout: 248 seconds]
daemonwrangler has quit [Ping timeout: 248 seconds]
gheegh has joined #ruby
exhiled has joined #ruby
Barrt has joined #ruby
daemonwrangler has joined #ruby
Vile` has quit [Remote host closed the connection]
bmurt has joined #ruby
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
exhiled has joined #ruby
Barrt has quit [Ping timeout: 255 seconds]
Barrt has joined #ruby
miskaton` has quit [Remote host closed the connection]
miskaton` has joined #ruby
miskaton` is now known as miskatonic
safetypin has quit [Quit: ZZZzzz…]
miskatonic has quit [Client Quit]
miskatonic has joined #ruby
gheegh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Barrt has quit [Ping timeout: 248 seconds]
ur5us has joined #ruby
devchild has joined #ruby
devchild_ has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
zanoni has joined #ruby
devchild has quit [Ping timeout: 240 seconds]
eckhardt has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
im0nde has joined #ruby
Barrt has joined #ruby
milardovich has quit [Read error: Connection reset by peer]
milardovich has joined #ruby
uZiel has joined #ruby
hfp_work has quit [Ping timeout: 268 seconds]
hfp_work has joined #ruby
astronavt has joined #ruby
Barrt has quit [Ping timeout: 248 seconds]
silverdust has joined #ruby
silverdust is now known as Guest83850
Dimik has joined #ruby
ur5us has joined #ruby
ta_ has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
hutch34 has quit [Quit: WeeChat 1.5]
uZiel has quit [Ping timeout: 248 seconds]
Barrt has joined #ruby
Alchemical has joined #ruby
moei has quit [Read error: Connection reset by peer]
moei has joined #ruby
hutch34 has joined #ruby
gheegh has joined #ruby
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jackjackdripper has joined #ruby
alex`` has quit [Quit: WeeChat 1.9.1]
Barrt has quit [Ping timeout: 268 seconds]
conta has quit [Remote host closed the connection]
agent_white has quit [Read error: Connection reset by peer]
Barrt has joined #ruby
hays has joined #ruby
hays has quit [Changing host]
hays has joined #ruby
mjolnird has quit [Remote host closed the connection]
mim1k has quit [Ping timeout: 248 seconds]
mjolnird has joined #ruby
hays has quit [Ping timeout: 276 seconds]
gheegh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mim1k has joined #ruby
mjolnird has quit [Remote host closed the connection]
drowze has quit [Ping timeout: 240 seconds]
guacamole has quit [Quit: My face has gone to sleep. ZZZzzz…]
tomphp has quit [Ping timeout: 248 seconds]
milardovich has quit [Read error: Connection reset by peer]
milardovich has joined #ruby
tomphp has joined #ruby
Barrt has quit [Ping timeout: 248 seconds]
Barrt has joined #ruby
guacamole has joined #ruby
dionysus69 has quit [Ping timeout: 246 seconds]
dionysus69 has joined #ruby
moei has quit [Read error: Connection reset by peer]
JaccoP has joined #ruby
kapil___ has joined #ruby
goyox86 has quit [Ping timeout: 240 seconds]
christiandsg has joined #ruby
marens has quit [Quit: No Ping reply in 180 seconds.]
milardovich has quit [Remote host closed the connection]
janko_s has quit [Quit: BitchX: the new hardcore, psycho, nitro client -- in a can]
janko_s_ is now known as janko_s
marens has joined #ruby
marens has quit [Changing host]
marens has joined #ruby
christiandsg has quit [Ping timeout: 248 seconds]
plexigras has joined #ruby
dionysus69 has quit [Ping timeout: 248 seconds]
<JaccoP> is this really all that goes on here
ferr has joined #ruby
marens has quit [Client Quit]
<JaccoP> well apparently
<ferr> how do I get the path where my gem is executed? For e.g. if I run gem run in my /home/ferr I need that path in the ruby code, how do I get it?
bmurt has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
Barrt has quit [Remote host closed the connection]
guille-moe has joined #ruby
marens has joined #ruby
marens has quit [Changing host]
marens has joined #ruby
hays has joined #ruby
hays has quit [Changing host]
hays has joined #ruby
<TomyLobo> jhass, ok my parser is done. it freezes.
vondruch has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
SCHAPiE has quit [Read error: Connection reset by peer]
quobo has quit [Quit: Connection closed for inactivity]
AlexRussia has quit [Ping timeout: 240 seconds]
mson has joined #ruby
flori has joined #ruby
miskatonic has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
AlexRussia has joined #ruby
AlexRussia has quit [Client Quit]
guille-moe has quit [Ping timeout: 240 seconds]
kitsunenokenja has quit [Ping timeout: 252 seconds]
guille-moe has joined #ruby
jokester has quit [Ping timeout: 258 seconds]
guacamole has quit [Quit: My face has gone to sleep. ZZZzzz…]
iceden has quit [Ping timeout: 248 seconds]
iceden has joined #ruby
jokester has joined #ruby
Senecea has joined #ruby
SCHAPiE has joined #ruby
elcontrastador has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
totigno82 has joined #ruby
<totigno82> ciao
totigno82 has left #ruby [#ruby]
lexruee has quit [Ping timeout: 268 seconds]
solocshaw1 has joined #ruby
lexruee has joined #ruby
JaccoP has quit [Quit: Leaving]
JaccoP has joined #ruby
guille-moe has quit [Ping timeout: 240 seconds]
JaccoP has quit [Client Quit]
JaccoP has joined #ruby
JaccoP has quit [Client Quit]
JaccoP has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jackjackdripper has quit [Quit: Leaving.]
JaccoP has quit [Quit: Leaving]
JaccoP has joined #ruby
JaccoP has quit [Client Quit]
JaccoP has joined #ruby
JaccoP has quit [Client Quit]
flori has quit [Ping timeout: 248 seconds]
muelleme has joined #ruby
bmurt has joined #ruby
flori has joined #ruby
daemonwrangler has quit [Quit: ZNC 1.6.5 - http://znc.in]
daemonwrangler has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
daemonwrangler has quit [Client Quit]
daemonwrangler has joined #ruby
Technodrome has joined #ruby
iceden has quit [Ping timeout: 240 seconds]
iceden has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
daemonwrangler has quit [Quit: ZNC 1.6.5 - http://znc.in]
daemonwrangler has joined #ruby
hays has quit [Ping timeout: 268 seconds]
flori has quit [Ping timeout: 276 seconds]
Guest90 has joined #ruby
yosafbridge has quit [Quit: Leaving]
sepp2k1 has joined #ruby
quobo has joined #ruby
despai has quit [Quit: Textual IRC Client: www.textualapp.com]
sepp2k has quit [Ping timeout: 240 seconds]
despai has joined #ruby
daemonwrangler has quit [Ping timeout: 268 seconds]
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
yosafbridge has joined #ruby
ap4y has joined #ruby
yosafbridge has quit [Remote host closed the connection]
im0nde has quit [Quit: im0nde]
d^sh has quit [Ping timeout: 248 seconds]
flori has joined #ruby
yosafbridge has joined #ruby
d^sh has joined #ruby
<leitz> Okay, need some help clearing up my confusion. Class Character requires and includes Module CharacterTools. https://github.com/LeamHall/CT_Character_Generator/blob/upp_to_struct/lib/character.rb
<leitz> There's a method to return a character's title if the person is noble. The method needs the character UPP and gender.
<leitz> PresenterDefault calls character.title and should print a title if the character has one.
<leitz> However, putting in some "puts" statements shows presenter_default#L6 isn't called at all. Tests fail as well.
<leitz> Besides a brain, a clue, and a life, what am I missing?
yqt has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
claudiuinberlin has joined #ruby
daemonwrangler has joined #ruby
<zanoni> If I insert the the same string into an array as a hash, the hash seems to be adding in backslashes, while the strings in the array remain as inserted. This make sense?
bmurt has joined #ruby
Senecea has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
miskatonic has joined #ruby
bmurt has quit [Client Quit]
daemonwrangler has quit [Quit: ZNC 1.6.5 - http://znc.in]
Cohedrin has joined #ruby
JaccoP has joined #ruby
JaccoP has quit [Client Quit]
daemonwrangler has joined #ruby
_sfiguser has joined #ruby
<zanoni> maybe my question doesn't make sense
iceden has quit [Ping timeout: 276 seconds]
<leitz> zanoni, sometimes showing the code in a gist helps. I'm not an expert, so not sure I can help.
<miskatonic> zanoni has been brought to you by Eddy Bulwer-Lytton
<leitz> miskatonic?
<miskatonic> There is a novel named Zanoni
<leitz> Ah. There's a college named Miskatonic. :)
guacamole has joined #ruby
mn3m_ has joined #ruby
<miskatonic> that college hads been brought to you by Howard Philip Lovecraft
<baweaver> hrm hrm
<leitz> Reminds me of my first marraige...
<baweaver> zanoni: Mind throwing up an example? gist.github.com/
<miskatonic> what is this gist thing? Something like pastebin?
<baweaver> leitz: Seen keyword arguments yet?
<baweaver> Pretty much
<baweaver> except on github, no ads, and a lot faster.
mn3m has quit [Ping timeout: 240 seconds]
<leitz> baweaver, not yet. URL to read?
<baweaver> >> def add(a: 1, b: 1) a + b end; [add(a: 2), add(b: 2), add, add(a: 2, b: 3)]
<ruby[bot]> baweaver: # => [3, 3, 2, 5] (https://eval.in/907921)
<leitz> Actually, seeing something and understanding it are totally different things. :)
jackjackdripper has joined #ruby
<baweaver> It'd help on the first class
<leitz> Character?
<baweaver> Yeah, just started reading
moei has joined #ruby
<leitz> Part of it may be using "title" in an included module. This is one of the places I tend to get lost.
<baweaver> though I need to expand on it
<leitz> Let me know if my explination needs explination.
* leitz goes to read.
<zanoni> miskatonic, yep, name taken from same, but it's been years since I read it
<baweaver> Hrm. Some of what I've written so far may be of use overall
<baweaver> notably around the use of english `and` which behaves very differently from `&&` in certain annoying cases.
<zanoni> I think I"m going to play around with the code some more and if nothing resolves i'll do a gist, thanks
<baweaver> I haven't written a lick on modules or class inheritance yet
<baweaver> so I still need to get to those sections
iceden has joined #ruby
<leitz> baweaver, part of the use case for Character is that it is an empty shell. Can't use named argumets as they may not be included in the character creation step.
<baweaver> leitz: There's also a few methods to look into: `foo.is_a?(Class)`, `foo.nil?`
<baweaver> If it has a value it's optional
<baweaver> if not it's required
<baweaver> so `def foo(a:, b: 1)` means that `a` is required and `b` is not
<leitz> Yeah, character.class should be nil if the character doesn't have a title. However, even runs where the character does have a title, character.title doesn't get called.
<baweaver> Think of it as having a more explicit contract with the outside world
jackjackdripper has quit [Quit: Leaving.]
<leitz> Yup, except that none of it is required. That's why it defaults to an empty hash.
<baweaver> Except you have a generate method afterwards as well
<leitz> The UPP struct does use named arguments. RickHull gave me some code that explained that.
<leitz> Yup, generate is used to "fill in" where a character is missing stuff.
<baweaver> Implied rescue is another thing you may like
<leitz> I'm trying to figure out the title stuff, why it isn't being called at all, and if character or title should be the reciever.
<baweaver> >> def imp_rescue; raise 'nope'; rescue 'return value' end; imp_rescue
<ruby[bot]> baweaver: # => /tmp/execpad-c1c3ac6672bf/source-c1c3ac6672bf:2: syntax error, unexpected keyword_end, expecting key ...check link for more (https://eval.in/907922)
<baweaver> >> def imp_rescue; raise 'nope'; rescue 'return value' ;end; imp_rescue
<ruby[bot]> baweaver: # => class or module required for rescue clause (TypeError) ...check link for more (https://eval.in/907923)
<baweaver> ok ok, so it doesn't like that in inline
<baweaver> one sec
yabbes has quit [Quit: lu]
<baweaver> leitz: https://eval.in/907925
<baweaver> Also as everything in Ruby is an expression you can get away with some fun things
muelleme has quit [Ping timeout: 276 seconds]
<baweaver> >> var = if true then 1 else 2 end; var # I know, ternary, but not the point
<ruby[bot]> baweaver: # => 1 (https://eval.in/907926)
Barrt has joined #ruby
ShekharReddy has joined #ruby
banisterfiend has joined #ruby
agent_white has joined #ruby
Barrt has quit [Ping timeout: 240 seconds]
Barrt has joined #ruby
<baweaver> define sort of works
<leitz> However, I'm still confused on Class, module, and self interactions. :(
<baweaver> How so?
mn3m__ has joined #ruby
<leitz> Character requires and includes CharacterTools. A character instance is passed to PresenterDefault. So why doesn't character.title return a title?
jackjackdripper has joined #ruby
<leitz> A character is an instance of Character.
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
mn3m__ has quit [Client Quit]
<leitz> When I ran it as "self.title" it didn't work.
mn3m_ has quit [Ping timeout: 240 seconds]
<baweaver> Ever used pry?
<baweaver> Might be useful to stick a few breakpoints in and look at the values as they come in
<leitz> I'm old school: puts "You are here." :)
<leitz> That's how I knew character.title was never being called at all.
x77686d has joined #ruby
christiandsg has joined #ruby
<baweaver> Yeah, it'd take me a bit to understand what all this code is doing
<baweaver> Honestly the PresenterDefault should be a `to_s` method on character
<leitz> No worries. I figure it will take me a while too. :)
<baweaver> and I think CharacterTools conflated a lot of concepts which are solely relevant to a character.
<leitz> PresenterDefault was a to_s method. Pulled it out when I realized there were a lot of non-default needs.
<baweaver> Like?
<baweaver> Also, avoid side effects where possible
<leitz> In general, Character should store data. CharacterTools adds methods with checks to change data.
<baweaver> The unintuitive bit of that is that means using puts in utility functions
<baweaver> not for debugging, but for implied returns
<baweaver> like line 24 of presenter there
<baweaver> If you returned a string it'd be a lot more flexible later.
<baweaver> That said I still think it should be a to_s method
daemonwrangler has quit [Quit: ZNC 1.6.5 - http://znc.in]
daemonwrangler has joined #ruby
<leitz> So, on to_s. There's a version that's just the name, upp, age, gender, stuff, and skills.
<leitz> There will be a json and sql output, as well as an extending presentation with mental traits and backstory.
<baweaver> Hrm. Ah. One sec, let me find a tutorial for this one
<baweaver> they'd explain it better than me
<baweaver> to_json, to_sql
<leitz> Presenter's role was to call the right presenter. Remember, I'm still learning OOP. :)
christiandsg has quit [Ping timeout: 248 seconds]
<baweaver> That's a decent one
<leitz> Not seeing a "puts" in line 24 of presenter. Are you looking at the "upp_to_struct" branch?
<baweaver> remember though include / extend should be called inside a class: class Foo; include Barable; end
<baweaver> that was the one you'd linked to, so yeah
EdwardIII has joined #ruby
EdwardIII has quit [Changing host]
EdwardIII has joined #ruby
<leitz> Ah, still working on that. In the first version all the methods of CharacterTools was in Character. Made for a long and complex class.
<baweaver> Keep them there for now
<baweaver> The one thing I would highly advise is to avoid abstractions for now
<leitz> They are already pulled out.
<baweaver> A lot of people will say you need to have the code be DRY (Don't repeat yourself) but that's a very bad idea early on
<TomyLobo> jhass, ok so this just takes 300 MB of RAM now
<baweaver> Too Dry and the code becomes BRITTLE (Badly Refactored into Tiny Things Lacking Expressiveness)
<TomyLobo> which is a slight improvement over the gigabytes it took before :)
<leitz> So, line 34 or presenter_default puts each constructed line out. Isn't that what you meant, baweaver?
<baweaver> So instead we leave early code WET (Will extract tentatively) until we can think of a good way to DRY it
<baweaver> so many acronyms :D
<baweaver> yeah
<TomyLobo> i had to pre-process the whole thing a bit since there was a constructs in there i wasnt aware of earlier. strings as dictionary keys.
charliesome has joined #ruby
ta_ has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
<TomyLobo> you try to tell '{"foo=bar"}' from {"foo"="bar" efficiently without a lexer :)
<TomyLobo> you try to tell '{"foo=bar"}' from '{"foo"="bar"}' efficiently without a lexer :)
<leitz> Here's the short version. An instance of Character is created. The Character class includes CharacterTools, the methods to modify character data. Just moved the "include CharacterTools" into class Character and it blew up more stuff. Cool.
sepp2k1 has quit [Read error: Connection reset by peer]
<leitz> baweaver, if "include CharacterTools" is under the "class Character" line, the CharacterTools methods use "def self.XXX", right?
kapil___ has quit [Quit: Connection closed for inactivity]
Senecea has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 250 seconds]
* leitz is still reading.
Emmanuel_Chanel has joined #ruby
daemonwrangler has quit [Quit: ZNC 1.6.5 - http://znc.in]
nowhereman_ has joined #ruby
daemonwrangler has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
PixeLInc has quit [Quit: EliteBNC - http://elitebnc.org (Auto-Removal: idle account/not being used)]
rainbowz has quit [Ping timeout: 248 seconds]
<zanoni> here is what I"m doing, array.each_slice(10).with_index do |x| hash[key]=value ,yet when I do hash.class it says string? To me it looks like a hash of arrays, but it says string, first time I've run into this.
<leitz> baweaver, so I should use "include CharacterTools" after class Character. That makes them instance methods. In this use case they don't need to be Class methods, they are operating on an instance.
bmurt has joined #ruby
nowhereman_ has quit [Ping timeout: 268 seconds]
thinkpad has joined #ruby
QualityAddict has quit [Ping timeout: 268 seconds]
* leitz notes tests do better if you can spell...
<TomyLobo> zanoni, what is "hash"?
<TomyLobo> it isnt mentioned in your code
<zanoni> oh sorry, hash is a hash ;). I have it defined prior to the call with a variable name
QualityAddict has joined #ruby
<zanoni> i think the hash insertion has some kind of conflict with slice
<baweaver> zanoni: It won't. You should gist all of your code on that one
<zanoni> okay
daemonwrangler has quit [Quit: ZNC 1.6.5 - http://znc.in]
<baweaver> leitz: give it a try
daemonwrangler has joined #ruby
<leitz> baweaver, next sprint. I've spent 3 days working on converting upp to a struct.. Brain needs a break. Will note an issue and do that next refactoring.
guacamole has quit [Quit: My face has gone to sleep. ZZZzzz…]
kapil___ has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ltem has quit [Quit: Leaving]
daemonwrangler has quit [Quit: ZNC 1.6.5 - http://znc.in]
<zanoni> and I probably will clean up my code, as well as find better places for it, but just trying to get it to work at this point
<leitz> baweaver, moving "include CharacterTools" is Issue #51. About to blow away upp_to_struct branch as it has been merged.
elcontrastador has quit [Ping timeout: 276 seconds]
guacamole has joined #ruby
jnyw has joined #ruby
Barrt has quit [Ping timeout: 276 seconds]
jnyw has quit [Client Quit]
bmurt has joined #ruby
jnyw has joined #ruby
guacamole has quit [Quit: My face has gone to sleep. ZZZzzz…]
<zanoni> think i fixed it, it now says its a hash
miskatonic has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
<zanoni> so what is going on , is i said it was a hash of arrays,, the key and then multiple values to each key. if I print it to the console the values are wrapped in brackets, but it says it's a string. I thought i'd be able to iterate through each key for it's values, but no :)
banisterfiend has quit [Changing host]
banisterfiend has joined #ruby
<TomyLobo> zanoni, could you change the extension to .rb in that gist maybe? :)
<TomyLobo> so it gets highlighted properly
<al2o3-cr> >> "#{[1,2,3]}"
<ruby[bot]> al2o3-cr: # => "[1, 2, 3]" (https://eval.in/907960)
_sfiguser has quit [Quit: Leaving]
x77686d has quit [Quit: x77686d]
Mia has quit [Read error: Connection reset by peer]
<al2o3-cr> "#{x}" in @pages.store("page #{i+1 }", "#{x}") is making this a string.
<TomyLobo> >> "#{[{}]}"
<ruby[bot]> TomyLobo: # => "[{}]" (https://eval.in/907962)
Barrt has joined #ruby
<zanoni> there's more backslashes in these strings then in all the freddy kruger movies put together ;)
<TomyLobo> al2o3-cr, might as well use to_s, no?
<al2o3-cr> no just x
<al2o3-cr> if they want to iterate
<TomyLobo> well i have no context. you didnt highlight anyone :)
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<leitz> Night all! Enjoy.
<al2o3-cr> was meant for zanoni :(
<al2o3-cr> leitz: nite o/
leitz has quit [Quit: Nappy time]
<al2o3-cr> zanoni: with_index also takes an optional starting index
nowhereman_ has joined #ruby
<al2o3-cr> well offset anyway.
<TomyLobo> zanoni, btw, if you keep your code in order, you'll find your mistakes more quickly
<TomyLobo> at a very basic level, always keep your indentation accurate
<TomyLobo> otherwise you're going to confuse yourself
<TomyLobo> anyway, i'm out too
<zanoni> ty!, yeah i am trying with the indents, but need to review the guide
TomyLobo has quit [Ping timeout: 240 seconds]
EdwardIII has quit [Ping timeout: 260 seconds]
Cohedrin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
devchild_ has quit [Remote host closed the connection]
devchild has joined #ruby
devchild has quit [Ping timeout: 255 seconds]