baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.1, 2.4.4, 2.3.7, 2.6.0-preview1: https://www.ruby-lang.org | Paste 4+ lines of text to https://gist.github.com | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby
cagomez has joined #ruby
ged has quit [Quit: WeeChat 2.0.1]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
samort7 has quit []
jcarl43 has quit [Quit: WeeChat 2.1]
safetypin has joined #ruby
nadir has joined #ruby
cagomez has quit [Ping timeout: 246 seconds]
ged has joined #ruby
GodFather has joined #ruby
tomphp has joined #ruby
rdavila has joined #ruby
TomyLobo has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 250 seconds]
WebDawg has quit [Ping timeout: 260 seconds]
Caius has quit [Ping timeout: 260 seconds]
jnollette has quit [Ping timeout: 255 seconds]
redlegion has quit [Ping timeout: 255 seconds]
yadnesh_ has quit [Ping timeout: 260 seconds]
_aeris_ has quit [Ping timeout: 255 seconds]
mahlon has joined #ruby
WebDawg has joined #ruby
p0p0pr37_ has joined #ruby
p0p0pr37_ has joined #ruby
p0p0pr37_ has quit [Changing host]
redlegion has joined #ruby
_aeris_ has joined #ruby
Caius has joined #ruby
Caius has joined #ruby
Caius has quit [Changing host]
jnollette has joined #ruby
_aeris_ has quit [Remote host closed the connection]
yadnesh has joined #ruby
n0m4d1c has joined #ruby
p0p0pr37 has quit [Ping timeout: 240 seconds]
_aeris_ has joined #ruby
p0p0pr37_ is now known as p0p0pr37
mahlon has quit [Client Quit]
pharma_joe has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
safetypin has quit [Quit: Textual IRC Client: www.textualapp.com]
c0ncealed1 has quit [Remote host closed the connection]
jenrzzz has joined #ruby
c0ncealed1 has joined #ruby
AJA4350 has quit [Quit: AJA4350]
safetypin has joined #ruby
marr has quit [Ping timeout: 256 seconds]
mahlon has joined #ruby
psychicist__ has quit [Ping timeout: 260 seconds]
tdy has quit [Ping timeout: 250 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
jenrzzz has quit [Ping timeout: 246 seconds]
ramfjord has quit [Ping timeout: 255 seconds]
alfiemax has joined #ruby
cagomez has joined #ruby
ramfjord has joined #ruby
alfiemax has quit [Ping timeout: 246 seconds]
cagomez has quit [Remote host closed the connection]
roamingdog has joined #ruby
pharma_joe has quit [Ping timeout: 250 seconds]
duderonomy has joined #ruby
alfiemax has joined #ruby
pharma_joe has joined #ruby
knight33_ has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
Dimik has joined #ruby
dinfuehr_ has joined #ruby
ramfjord has quit [Ping timeout: 255 seconds]
GodFather has quit [Ping timeout: 250 seconds]
dinfuehr has quit [Ping timeout: 255 seconds]
GodFather has joined #ruby
chris349 has quit [Read error: Connection reset by peer]
mostlybadfly has joined #ruby
chris349 has joined #ruby
herbmillerjr has quit [Quit: Konversation terminated!]
anjen has quit [Quit: anjen]
gizmore|2 has joined #ruby
gizmore has quit [Ping timeout: 264 seconds]
Sonar has joined #ruby
bmurt has joined #ruby
chouhoul_ has joined #ruby
klaas has quit [Read error: Connection reset by peer]
alfiemax_ has joined #ruby
\void has joined #ruby
klaas has joined #ruby
Immune has quit [Ping timeout: 240 seconds]
chouhoulis has quit [Ping timeout: 240 seconds]
dipnlik has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
MzrE has joined #ruby
n0m4d1c has quit [Read error: Connection reset by peer]
n0m4d1c has joined #ruby
safetypin has quit [Quit: ZZZzzz…]
n0m4d1c has quit [Ping timeout: 260 seconds]
Yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
Yxhuvud has joined #ruby
mrBen2k2k2k_ has quit [Ping timeout: 256 seconds]
j416 has quit [Ping timeout: 264 seconds]
alfiemax_ has quit [Ping timeout: 256 seconds]
j416 has joined #ruby
RougeR has quit [Ping timeout: 260 seconds]
cadillac_ has quit [Quit: I quit]
cadillac_ has joined #ruby
kiki_lam1 is now known as kiki_lamb
orbyt_ has joined #ruby
vee_ has joined #ruby
c0ncealed1 has quit [Remote host closed the connection]
c0ncealed1 has joined #ruby
kurko_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Yzguy has joined #ruby
pilne has quit [Quit: Leaving]
knight33_ has quit [Ping timeout: 255 seconds]
Dimik has quit [Ping timeout: 246 seconds]
sylario has quit [Quit: Connection closed for inactivity]
cschneid_ has joined #ruby
cschneid_ has quit [Ping timeout: 256 seconds]
rdavila has quit [Quit: Textual IRC Client: www.textualapp.com]
gix- has joined #ruby
gix has quit [Disconnected by services]
vee_ has quit [Ping timeout: 250 seconds]
dogweather has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Yzguy has quit [Quit: Zzz...]
safetypin has joined #ruby
cadillac_ has quit [Read error: Connection reset by peer]
kapil___ has quit [Quit: Connection closed for inactivity]
cadillac_ has joined #ruby
\void has quit [Quit: So long, and thanks for all the fish.]
donofrio has quit [Remote host closed the connection]
cout has quit [Remote host closed the connection]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vee_ has joined #ruby
bmurt has joined #ruby
rippa has joined #ruby
p0p0pr37_ has joined #ruby
p0p0pr37 has quit [Ping timeout: 256 seconds]
p0p0pr37_ is now known as p0p0pr37
alfiemax has joined #ruby
alfiemax has quit [Remote host closed the connection]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
scott4000 has joined #ruby
ryzokuken has joined #ruby
Yzguy has joined #ruby
alfiemax has joined #ruby
oleo has quit [Quit: Leaving]
MzrE has quit [Read error: Connection reset by peer]
arescorpio has joined #ruby
rwb has quit [Ping timeout: 240 seconds]
anisha_ has joined #ruby
arooni has quit [Quit: ZNC - http://znc.in]
Yzguy has quit [Quit: Zzz...]
Yzguy has joined #ruby
schleppel has joined #ruby
Yzguy has quit [Client Quit]
conta has joined #ruby
arooni has joined #ruby
CrazyEddy has quit [Remote host closed the connection]
conta has quit [Ping timeout: 264 seconds]
alfiemax has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
dipnlik has quit [Quit: Connection closed for inactivity]
mostlybadfly has quit [Quit: Connection closed for inactivity]
chris349 has quit [Ping timeout: 255 seconds]
ur5us has quit [Remote host closed the connection]
shaman42 has quit [Ping timeout: 250 seconds]
konsolebox has quit [Ping timeout: 248 seconds]
halbbalda has quit [Quit: ZNC - http://znc.in]
aufi has joined #ruby
konsolebox has joined #ruby
dionysus69 has joined #ruby
halbbalda has joined #ruby
ta_ has quit [Remote host closed the connection]
Sembei has joined #ruby
reber has joined #ruby
alfiemax has joined #ruby
apeiros has joined #ruby
tvw has joined #ruby
Sonar has quit [Ping timeout: 256 seconds]
Lemn has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
p0p0pr37_ has joined #ruby
arescorpio has quit [Quit: Leaving.]
apeiros__ has joined #ruby
alex`` has joined #ruby
p0p0pr37 has quit [Read error: Connection reset by peer]
klaas_ has joined #ruby
amar has joined #ruby
klaas has quit [Read error: Connection reset by peer]
p0p0pr37_ is now known as p0p0pr37
eckhardt has joined #ruby
apeiros has quit [Ping timeout: 240 seconds]
Sauvin has joined #ruby
biberu has joined #ruby
Defenestrate has joined #ruby
conta has joined #ruby
Sonar has joined #ruby
phaul has joined #ruby
KeyJoo has joined #ruby
KeyJoo has quit [Max SendQ exceeded]
KeyJoo has joined #ruby
putolov has joined #ruby
ramfjord has joined #ruby
<putolov> Hi there I have problem to install Ruby on MacOS Sierra High over Terminal.
jsrn has quit [Ping timeout: 255 seconds]
jsrn has joined #ruby
ramfjord has quit [Ping timeout: 260 seconds]
Defenestrate has quit [Quit: Leaving]
<apeiros__> putolov: you'll usually get better results by asking a concrete question
apeiros__ is now known as apeiros
amelliaa has joined #ruby
<putolov> Thx, apeiros__, I use this tutorial http://railsapps.github.io/installrubyonrails-mac.html
<dminuoso> Sigh.
<putolov> After I tipe rvm install ruby-2.5.1
<dminuoso> Why do so many shitty tutorials recommend rvm.
<putolov> I don't know, I am beginner on Ruby
<dminuoso> putolov: Do you have brew?
<lupine> it's all-in-one which helps some people
<putolov> Yes, I have a brew
<lupine> I've never liked it. slooooowly migrating to asdf
<dminuoso> lupine: It's an all-in-one big honking magic package that breaks and newbies are completely lost.
<lupine> ja
<lupine> but *until it breaks*, they're on the rails, and that's all that matters, right?
<putolov> Yes, I am completely lost
<dminuoso> putolov: Ditch your entire rvm stack. Then type `brew install ruby-install; ruby-install ruby-2.5.1`
<dminuoso> profit.
<dminuoso> putolov: ruby-install can also simply be installed with the instructions from: https://github.com/postmodern/ruby-install
<dminuoso> putolov: It's a minimal script that does nothing but prepare a raw ruby for you. No magic involved.
meinside has joined #ruby
<dminuoso> putolov: Or actually its `ruby-install ruby 2.5.1` sorry =)
<putolov> I will try it. Please dminuoso please how to answer to particular nick on IRC I was out long time ?
<dminuoso> putolov: Most clients support tab completion just like bash does.
<putolov> dminuoso: OK, it works. Thx.
<putolov> Error running '__rvm_make -j4',
<putolov> please read /Users/putolov/.rvm/log/1525848854_ruby-2.5.1/make.log
<putolov> There has been an error while running make. Halting the installation.
<putolov> Error running '__rvm_make -j4', please read /Users/putolov/.rvm/log/1525848854_ruby-2.5.1/make.log There has been an error while running make. Halting the installation.
<putolov> This "Error running '__rvm_make -j4'. - makes me crazy.
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
klaas_ is now known as klaas
<putolov> dminuoso: 'ruby-install ruby 2.5.1' -> don't work
devpolish has joined #ruby
<konsolebox> putolov: did that rvm error come from running ruby-install?
<devpolish> infor
<devpolish> sec
<dminuoso> putolov: Oh its possible you can only install up to 2.5.0 with ruby-install currently maybe.
<dminuoso> putolov: If you just type `ruby-install` do you see a list of available rubies and versions?
<putolov> dminuoso: I have tried many versions
<konsolebox> putolov: maybe you have to completely remove rvm stuff first
<devpolish> I'm using 2.5.1 right now on production
<putolov> dminuoso: when I type 'ruby-install' - I got - ruby: No such file or directory -- install (LoadError)
<dminuoso> putolov: Yeah you need to completely get rid of that rvm that infested your machine
<putolov> dminuoso: OK, do I need to uninstall rvm ?
suukim has joined #ruby
<putolov> konsolebox: Yes.
ahegyi has joined #ruby
emilford has joined #ruby
devpolish has quit [Remote host closed the connection]
conta has quit [Ping timeout: 246 seconds]
clemens3_ has joined #ruby
Doow has joined #ruby
conta has joined #ruby
dogweather has quit [Remote host closed the connection]
emilford_ has joined #ruby
emilford has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
dogweather has joined #ruby
jsrn has quit [Ping timeout: 255 seconds]
ryzokuken has quit [Remote host closed the connection]
Burgestrand has joined #ruby
amar has quit [Remote host closed the connection]
jsrn has joined #ruby
conta has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 250 seconds]
conta has joined #ruby
andikr has joined #ruby
lunarkitty7 has quit [Quit: WeeChat 1.9.1]
jeffreylevesque has quit [Read error: Connection reset by peer]
lunarkitty7 has joined #ruby
lunarkitty7 has quit [Client Quit]
variable has joined #ruby
<variable> how does one get gem to print its bindir ?
ta_ has joined #ruby
KeyJoo has quit [Remote host closed the connection]
emilford_ has quit [Ping timeout: 255 seconds]
suukim has quit [Quit: Konversation terminated!]
KeyJoo has joined #ruby
lunarkitty7 has joined #ruby
suukim has joined #ruby
emilford has joined #ruby
dogweather has quit [Ping timeout: 260 seconds]
<konsolebox> PATH=$(ruby -e 'puts Gem.bindir'):$PATH
dogweather has joined #ruby
tvw has quit [Remote host closed the connection]
cschneid_ has joined #ruby
dogweather has quit [Ping timeout: 246 seconds]
yohji has joined #ruby
cschneid_ has quit [Ping timeout: 255 seconds]
dogweather has joined #ruby
<putolov> konsolebox: Thx, I have somehow installed and it works to compile from terminal some code.
putolov has quit []
KeyJoo has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
dogweather has quit [Ping timeout: 255 seconds]
dogweather has joined #ruby
KeyJoo has joined #ruby
KeyJoo has quit [Remote host closed the connection]
KeyJoo has joined #ruby
KeyJoo has quit [Max SendQ exceeded]
KeyJoo has joined #ruby
dogweather has quit [Ping timeout: 250 seconds]
xt233 has joined #ruby
guille-moe has joined #ruby
tomphp has joined #ruby
zen__ has joined #ruby
dogweather has joined #ruby
zen__ has quit [Client Quit]
xt233 has quit [Quit: Leaving]
aupadhye has joined #ruby
phaul has quit [Ping timeout: 255 seconds]
marr has joined #ruby
za1b1tsu_ has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Janky has quit []
nima_m has quit [Quit: Connection closed for inactivity]
tomphp has joined #ruby
Guest9989 has quit [Ping timeout: 250 seconds]
aupadhye is now known as aupadhye|food
amar has joined #ruby
amar has quit [Remote host closed the connection]
amar has joined #ruby
inerthia has joined #ruby
ineb has joined #ruby
dogweather has quit [Ping timeout: 264 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has joined #ruby
Tempesta has quit [Read error: Connection reset by peer]
dogweather has joined #ruby
phaul has joined #ruby
tomphp has joined #ruby
ramfjord has quit [Ping timeout: 250 seconds]
tomphp has quit [Client Quit]
jenrzzz has quit [Ping timeout: 240 seconds]
nima_m has joined #ruby
ur5us has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
ciscam has quit [Ping timeout: 255 seconds]
ciscam has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
tomphp has joined #ruby
dogweather has quit [Ping timeout: 260 seconds]
tomphp has quit [Client Quit]
weaksauce has quit [Ping timeout: 265 seconds]
dogweather has joined #ruby
<kke> any trick to find out source location when subclassing? (somethin in self.iherited maybe)
dogweather has quit [Ping timeout: 246 seconds]
phaul has quit [Ping timeout: 255 seconds]
postmodern has quit [Quit: Leaving]
shaman42 has joined #ruby
<kke> well caller.first and split(/(?<=\.rb):/) maybe
<apeiros> what use-case?
<apeiros> Method#owner and Method#source_location work with inherited methods too
dogweather has joined #ruby
Guest9989 has joined #ruby
mikecmpbll has joined #ruby
<kke> the source_location of the known methods is the parent_class.rb
phaul has joined #ruby
<apeiros> that's not an answer to my question, additionally I don't know what you're trying to tell me by that
<kke> use case is some sort of "addon system", something like "$DIR/addons/xyz-xyz/addon.rb" that goes like "class FooAddon < Addon" but the superclass needs to know the source location so that it can do something like "def resource_files { Dir.glob(File.join(__dir__, 'resources', '*.yml')) }"
dogweather has quit [Ping timeout: 240 seconds]
<kke> i couldn't figure out a way to use Method.source_location unless there is a method that has to be defined in the child class
<apeiros> a class does not have a source location, it's as simple as that
<apeiros> for the reason that classes can be reopened and thus have multiple files opening them
GodFather has quit [Ping timeout: 255 seconds]
<apeiros> you may be able to abuse caller in the self.inherited hook
<kke> yep, that's why i thought it could be determined when the inheriting happens
<apeiros> but I'm not sure that that's a good idea, even if it should work.
<kke> yep, seems dirty.
<kke> better ideas?
dogweather has joined #ruby
<apeiros> basically `def self.inherited(subclass); defined_in = caller_locations(0,1).first.absolute_path; …`
<apeiros> better ideas would be to use the loading mechanism
<apeiros> at some point you have to tell your plugin system to "load plugins in XY"
<kke> yes
<apeiros> reuse that information
<kke> at that point it could inject the location
* apeiros afk for lunch
jsrn has quit [Ping timeout: 255 seconds]
jsrn has joined #ruby
amar has quit [Ping timeout: 255 seconds]
<kke> but then it would also have to know the class name
schneider1 has joined #ruby
jsrn has quit [Ping timeout: 255 seconds]
jsrn has joined #ruby
jottr has joined #ruby
dionysus69 has quit [Ping timeout: 246 seconds]
Tempesta has joined #ruby
jamesaxl has joined #ruby
ur5us has quit [Remote host closed the connection]
ciscam has quit [Ping timeout: 256 seconds]
tomphp has joined #ruby
inerthia has quit [Quit: Textual IRC Client: www.textualapp.com]
ciscam has joined #ruby
tomphp has quit [Client Quit]
dogweather has quit [Ping timeout: 255 seconds]
mostlybadfly has joined #ruby
schneider1 has quit [Ping timeout: 250 seconds]
pharma_joe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
dogweather has joined #ruby
conta has quit [Ping timeout: 264 seconds]
schneider1 has joined #ruby
tomphp has quit [Ping timeout: 246 seconds]
Mike11 has joined #ruby
Burgestrand has quit [Quit: Closing time!]
emilford has quit [Ping timeout: 246 seconds]
fyrril has quit [Read error: Connection reset by peer]
hramrach has quit [Quit: WeeChat 1.8]
kapil___ has joined #ruby
schneider1 has quit [Ping timeout: 240 seconds]
dogweather has quit [Ping timeout: 250 seconds]
Cyrus has quit [Ping timeout: 264 seconds]
Cyrus has joined #ruby
alex`` has quit [Ping timeout: 256 seconds]
dogweather has joined #ruby
schneider1 has joined #ruby
<apeiros> kke: class name you can either use convention (foo_bar.rb -> FooBar constant), or combine loading + self.inherit, i.e. you store "I'm currently loading foo_bar.rb" and use that info in the inherited hook.
phaul has quit [Ping timeout: 250 seconds]
Terminus has joined #ruby
schneider1 has quit [Ping timeout: 250 seconds]
<Terminus> hello. i'm using OptionParser. how do i raise MissingArgument if no options are given and how do i raise AmbiguousOption if two mutually exclusive options are given at the same time?
<Terminus> or do i just have to do my error handling after option parsing?
GodFather has joined #ruby
ur5us has joined #ruby
twe4ked has quit [Ping timeout: 276 seconds]
tvw has joined #ruby
Guest27 has joined #ruby
conta has joined #ruby
twe4ked has joined #ruby
schneider1 has joined #ruby
dogweather has quit [Ping timeout: 250 seconds]
hfp__work has quit [Quit: bye]
InfinityFye has joined #ruby
hfp_work has joined #ruby
schneider1 has quit [Ping timeout: 246 seconds]
dogweather has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
jinie has quit [Quit: ZNC 1.6.1 - http://znc.in]
InfinityFye has left #ruby [#ruby]
GodFather has quit [Read error: Connection reset by peer]
jinie has joined #ruby
GodFather_ has joined #ruby
schneider1 has joined #ruby
Guest27 has quit [Ping timeout: 250 seconds]
<Terminus> actually, that was wrong. i'd rather display help if no options are given.
Guest27 has joined #ruby
AJA4350 has joined #ruby
GodFather_ has quit [Ping timeout: 255 seconds]
dogweather has quit [Ping timeout: 240 seconds]
schneider1 has quit [Ping timeout: 255 seconds]
dogweather has joined #ruby
schneider1 has joined #ruby
GodFather has joined #ruby
megamosaren has joined #ruby
jottr has quit [Ping timeout: 264 seconds]
GodFather has quit [Ping timeout: 246 seconds]
schneider1 has quit [Ping timeout: 246 seconds]
saTchymoto has joined #ruby
emilford has joined #ruby
duderonomy has joined #ruby
schneider1 has joined #ruby
jsrn has quit [Ping timeout: 255 seconds]
<Terminus> got everything sorted out. nevermind my question. just took some thinking.
jsrn has joined #ruby
dogweather has quit [Ping timeout: 246 seconds]
duderonomy has quit [Ping timeout: 255 seconds]
schneider1 has quit [Ping timeout: 260 seconds]
dogweather has joined #ruby
Sonar1 has joined #ruby
klaas has quit [Read error: Connection reset by peer]
conta has quit [Ping timeout: 240 seconds]
klaas has joined #ruby
Burgestrand has joined #ruby
kurko_ has joined #ruby
Sonar has quit [Ping timeout: 240 seconds]
Guest27 has quit [Ping timeout: 250 seconds]
Burgestr_ has joined #ruby
Burgestrand has quit [Ping timeout: 240 seconds]
conta has joined #ruby
schneider1 has joined #ruby
houhoulis has joined #ruby
alfiemax has quit [Remote host closed the connection]
sylario has joined #ruby
schneider1 has quit [Ping timeout: 250 seconds]
emilford has quit [Ping timeout: 256 seconds]
schneider1 has joined #ruby
Guest27 has joined #ruby
RougeR has joined #ruby
schneider1 has quit [Ping timeout: 260 seconds]
Cavallari has joined #ruby
apparition has joined #ruby
schneider1 has joined #ruby
Nussi has quit [Remote host closed the connection]
megamosaren has quit [Ping timeout: 255 seconds]
schneider1 has quit [Ping timeout: 250 seconds]
GodFather has joined #ruby
megamosaren has joined #ruby
ur5us has quit [Remote host closed the connection]
roamingdog has quit [Remote host closed the connection]
schneider1 has joined #ruby
phaul has joined #ruby
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
VladGh has quit [Quit: Lost terminal]
dogweather has quit [Ping timeout: 264 seconds]
schneider1 has quit [Ping timeout: 260 seconds]
VladGh has joined #ruby
dogweather has joined #ruby
ldnunes has joined #ruby
Mike11 has quit [Quit: Leaving.]
schneider1 has joined #ruby
Cavallari1 has joined #ruby
jsrn has quit [Ping timeout: 255 seconds]
jsrn has joined #ruby
Guest27 has quit [Remote host closed the connection]
Cavallari has quit [Ping timeout: 250 seconds]
nima_m has quit [Quit: Connection closed for inactivity]
Cavallari1 has quit [Ping timeout: 260 seconds]
schneider1 has quit [Ping timeout: 260 seconds]
Cavallari has joined #ruby
schneider1 has joined #ruby
vondruch has quit [Ping timeout: 255 seconds]
dogweather has quit [Ping timeout: 255 seconds]
vondruch has joined #ruby
schneider1 has quit [Ping timeout: 260 seconds]
phaul has quit [Ping timeout: 260 seconds]
Terminus has left #ruby [#ruby]
dogweather has joined #ruby
schneider1 has joined #ruby
SegFaultAX has quit [Quit: ZNC - http://znc.in]
BTRE has quit [Quit: Leaving]
schneider1 has quit [Ping timeout: 246 seconds]
marr has quit [Ping timeout: 246 seconds]
Silthias has joined #ruby
Silthias has left #ruby [#ruby]
synthroid has joined #ruby
jsrn has quit [Ping timeout: 255 seconds]
BTRE has joined #ruby
schneider1 has joined #ruby
duderonomy has joined #ruby
dionysus69 has joined #ruby
jsrn has joined #ruby
schneider1 has quit [Ping timeout: 240 seconds]
houhoulis has quit [Remote host closed the connection]
houhoulis has joined #ruby
dogweather has quit [Ping timeout: 240 seconds]
schneider1 has joined #ruby
houhoulis has quit [Ping timeout: 260 seconds]
dogweather has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
schneider1 has quit [Ping timeout: 240 seconds]
dogweather has quit [Ping timeout: 255 seconds]
jamesaxl has quit [Ping timeout: 260 seconds]
jamesaxl has joined #ruby
schneider1 has joined #ruby
ellcs has joined #ruby
nima_m has joined #ruby
dogweather has joined #ruby
schneider1 has quit [Ping timeout: 260 seconds]
ryzokuken has joined #ruby
schneider1 has joined #ruby
marr has joined #ruby
ramfjord has joined #ruby
Cavallari has quit [Read error: Connection reset by peer]
dionysus69 has quit [Quit: dionysus69]
ldnunes has quit [Ping timeout: 246 seconds]
Cavallari has joined #ruby
donofrio has joined #ruby
schneider1 has quit [Ping timeout: 250 seconds]
fullstack_ has quit [Ping timeout: 240 seconds]
dionysus69 has joined #ruby
aceruser has joined #ruby
ramfjord has quit [Ping timeout: 260 seconds]
schneider1 has joined #ruby
fullstack_ has joined #ruby
macduck has joined #ruby
amar has joined #ruby
<hays> TIL exceptions don't really work well across thread boundaries
n0m4d1c has joined #ruby
<hays> i had a catch outside a bunch of threads that joined back together, idea being that it would accumulate error messages and then pass it up the chain. of course the solution was to just have a bit of shared memory and accumulate to that INSIDE the thread. doh
vondruch has quit [Quit: vondruch]
za1b1tsu_ has quit [Ping timeout: 256 seconds]
chmurifree is now known as chmuriu
chmuriu is now known as chmuri
vondruch has joined #ruby
za1b1tsu_ has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
dogweather has quit [Ping timeout: 256 seconds]
<dminuoso> hays: Checkout ::abort_on_exception
schneider1 has quit [Ping timeout: 264 seconds]
<dminuoso> hays: also why use shared memory? use stm! :D
safetypin has quit [Quit: ZZZzzz…]
n0m4d1c_ has joined #ruby
_whitelogger has joined #ruby
dogweather has joined #ruby
n0m4d1c has quit [Ping timeout: 250 seconds]
aceruser has quit [Quit: aceruser]
Asher has quit [Ping timeout: 255 seconds]
jamesaxl has quit [Read error: Connection reset by peer]
sleetdrop has joined #ruby
jamesaxl has joined #ruby
andikr has quit [Remote host closed the connection]
<apeiros> abort_on_exception really should default to true and I'm not sure whether it should even be globally configurable
<apeiros> i.e. I'd rather have `Thread.new die_silently: true do …`
jamesaxl has quit [Read error: Connection reset by peer]
<apeiros> also I'd still love to have a way to start a stopped thread. creating one, stopping it and waking it up *after* it was stopped is unreasonably complex :-/
jamesaxl has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
<dminuoso> apeiros: Just like TCO should be enabled by default.
sleetdrop has quit [Remote host closed the connection]
<dminuoso> There's very little value in having it disabled.
<apeiros> yeah, why isn't it? afaik it has been added since 1.9?
<dminuoso> apeiros: because it... "messes up" stack traces.
<apeiros> all I remember was "some optical issues with backtraces"
<dminuoso> which I think is utterly silly
<apeiros> yepp
dogweather has quit [Ping timeout: 246 seconds]
<dminuoso> I've come so accustomed to recursive algorithms that I regularly blow up the ruby stack...
<dminuoso> :D
<apeiros> yeah, ruby is terrible with recursion
tomphp has joined #ruby
Burgestr_ has quit [Quit: Closing time!]
tomphp has quit [Client Quit]
dogweather has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
jsrn has quit [Ping timeout: 255 seconds]
jsrn has joined #ruby
chmuri has quit [Excess Flood]
ciscam has quit [Ping timeout: 255 seconds]
ciscam has joined #ruby
chmurifree has joined #ruby
nadir has joined #ruby
tomphp has joined #ruby
jsrn has quit [Ping timeout: 255 seconds]
dionysus70 has joined #ruby
jsrn has joined #ruby
minimalism has quit [Quit: minimalism]
dionysus69 has quit [Ping timeout: 255 seconds]
dionysus70 is now known as dionysus69
nima_m has quit []
nima_m has joined #ruby
arooni has quit [Quit: ZNC - http://znc.in]
k0mpa has joined #ruby
tomphp has quit [Client Quit]
megamosaren has quit [Ping timeout: 246 seconds]
megamosaren has joined #ruby
n0m4d1c_ has quit [Ping timeout: 250 seconds]
dogweather has quit [Ping timeout: 260 seconds]
arooni has joined #ruby
apparition has quit [Quit: Bye]
tomphp has joined #ruby
tomphp has quit [Client Quit]
duderonomy has joined #ruby
dogweather has joined #ruby
tomphp has joined #ruby
samosaphile has joined #ruby
aruns has joined #ruby
<aruns> Hi, I am using Ruby 2.3.3 on Windows, I am trying to install Jekyll but it lists DevKit as a requirement.
<aruns> What is the best course of action to take if I need to install a version of DevKit that is compatible with 2.3.3?
<aruns> From what I have read on the rubyinstaller site, DevKit does not support 2.4* and greater
<aruns> But I am not sure if DevKit supports any of the minor releases of Ruby 2.3.*
n0m4d1c has joined #ruby
tomphp has quit [Client Quit]
duderonomy has quit [Client Quit]
psychicist__ has joined #ruby
roamingdog has joined #ruby
duderonomy has joined #ruby
oleo has joined #ruby
tomphp has joined #ruby
roamingdog has quit [Ping timeout: 260 seconds]
ta_ has quit [Remote host closed the connection]
dogweather has quit [Ping timeout: 240 seconds]
tomphp has quit [Client Quit]
ahegyi has quit [Ping timeout: 250 seconds]
orbyt_ has joined #ruby
dogweather has joined #ruby
ahegyi has joined #ruby
Asher has joined #ruby
chouhoulis has joined #ruby
<konsolebox> aruns: try asking the devkit devs if you're unsure about what the documentation says
megamosaren has quit [Ping timeout: 250 seconds]
emilford has joined #ruby
dionysus69 has quit [Ping timeout: 248 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chouhoul_ has quit [Ping timeout: 256 seconds]
tdy has joined #ruby
n0m4d1c has quit [Remote host closed the connection]
synthroid has quit [Remote host closed the connection]
dogweather has quit [Ping timeout: 255 seconds]
aupadhye|food has quit [Ping timeout: 255 seconds]
Rapture has joined #ruby
eiko has joined #ruby
eiko is now known as Guest95185
theRoUS has joined #ruby
dogweather has joined #ruby
synthroid has joined #ruby
iMadper has joined #ruby
Guest95185 has quit [Client Quit]
gnufied has joined #ruby
saTchymoto has quit []
variable has quit [Quit: Found 1 in /dev/zero]
eiko_ has joined #ruby
eiko_ is now known as Guest3362
Guest3362 is now known as eikobear
theRoUS has quit [Changing host]
theRoUS has joined #ruby
phaul has joined #ruby
suukim has quit [Quit: Konversation terminated!]
tomphp has joined #ruby
dogweather has quit [Ping timeout: 240 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dogweather has joined #ruby
ldnunes has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jcalla has quit [Quit: Leaving]
biberu has quit []
jamiejackson81 has joined #ruby
jamiejackson81 has quit [Remote host closed the connection]
jamiejackson has joined #ruby
alfiemax has joined #ruby
tomphp has joined #ruby
orbyt_ has joined #ruby
tomphp has quit [Client Quit]
dogweather has quit [Ping timeout: 255 seconds]
jamiejackson has quit [Ping timeout: 255 seconds]
ahegyi has quit [Quit: Lost terminal]
samosaphile has quit [Quit: Page closed]
vee_ has quit [Ping timeout: 256 seconds]
dogweather has joined #ruby
tomphp has joined #ruby
zautomata has quit [Ping timeout: 240 seconds]
tomphp has quit [Client Quit]
alfiemax has quit [Remote host closed the connection]
cschneid_ has joined #ruby
schneider1 has joined #ruby
bmurt has joined #ruby
clemens3_ has quit [Quit: WeeChat 2.1]
schneider1 has quit [Ping timeout: 250 seconds]
ellcs has quit [Ping timeout: 240 seconds]
dogweather has quit [Ping timeout: 248 seconds]
dogweather has joined #ruby
vee_ has joined #ruby
aruns has quit [Quit: leaving]
Cavallari has quit [Quit: Cavallari]
apeiros has quit [Read error: Connection reset by peer]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
bga57 has quit [Remote host closed the connection]
TomyLobo has joined #ruby
dogweather has quit [Ping timeout: 264 seconds]
ldnunes has quit [Quit: Leaving]
tomphp has joined #ruby
emilford has quit [Ping timeout: 250 seconds]
tomphp has quit [Client Quit]
dogweather has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
aufi has quit [Ping timeout: 256 seconds]
dogweather has quit [Ping timeout: 246 seconds]
synthroid has quit [Remote host closed the connection]
venmx has joined #ruby
Guest9989 has quit [Ping timeout: 246 seconds]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
tomphp has joined #ruby
apeiros has joined #ruby
tomphp has quit [Client Quit]
jcarl43 has joined #ruby
jcalla has joined #ruby
cadillac_ has quit [Ping timeout: 256 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cadillac_ has joined #ruby
dogweather has joined #ruby
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
conta has quit [Ping timeout: 260 seconds]
dcunit3d has joined #ruby
cagomez has joined #ruby
emilford has joined #ruby
<leah2> oO didnt date.rb compute easter?
cagomez has quit [Read error: Connection reset by peer]
dogweather has quit [Ping timeout: 250 seconds]
cagomez has joined #ruby
<havenwood> leah2: The Holiday, Easter?
<leah2> yes
<leah2> apparently not
dogweather has joined #ruby
RougeR has quit [Ping timeout: 240 seconds]
<havenwood> leah2: We need a Moon class first. ;-P
<havenwood> The first Sunday following the Paschal full moon.
<leah2> i googled the computus function
RougeR has joined #ruby
<havenwood> require 'moon'
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
synthroid has joined #ruby
phaul has quit [Ping timeout: 246 seconds]
kurko_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dogweather has quit [Ping timeout: 264 seconds]
[Butch] has joined #ruby
dogweather has joined #ruby
bga57 has joined #ruby
eckhardt has joined #ruby
marr has quit [Remote host closed the connection]
banisterfiend has joined #ruby
schneider1 has joined #ruby
dipnlik has joined #ruby
schneider1 has quit [Ping timeout: 256 seconds]
dogweather has quit [Ping timeout: 240 seconds]
amar has quit [Remote host closed the connection]
marr has joined #ruby
plexigras has joined #ruby
dogweather has joined #ruby
amar has joined #ruby
eckhardt_ has joined #ruby
eckhardt has quit [Ping timeout: 256 seconds]
n0m4d1c has joined #ruby
amar has quit [Ping timeout: 255 seconds]
raynold has quit [Quit: Connection closed for inactivity]
chris349 has joined #ruby
jrm has quit [Quit: ciao]
jrm has joined #ruby
Asher1 has joined #ruby
yohji has quit [Remote host closed the connection]
Asher has quit [Disconnected by services]
Asher1 is now known as Asher
suukim has joined #ruby
nima_m has quit [Quit: Connection closed for inactivity]
dcunit3d has quit [Ping timeout: 246 seconds]
regedit has joined #ruby
mikecmpbll has quit [Ping timeout: 250 seconds]
orbyt_ has joined #ruby
netherwolfe has joined #ruby
guille-moe has quit [Ping timeout: 260 seconds]
agent_white has joined #ruby
dogweather has quit [Ping timeout: 264 seconds]
dr3w_ has joined #ruby
dr3w_ has quit [Client Quit]
dogweather has joined #ruby
shoogz has quit [Ping timeout: 240 seconds]
quobo has joined #ruby
pilne has joined #ruby
shoogz has joined #ruby
phaul has joined #ruby
dogweather has quit [Ping timeout: 240 seconds]
tvw has quit [Remote host closed the connection]
dogweather has joined #ruby
Mondongo has joined #ruby
\void has joined #ruby
netherwolfe has quit [Read error: Connection reset by peer]
<havenwood> Wow, easter 1 realllly wins in TruffleRuby...
<havenwood> easter_1 2.867B (± 8.8%)
<havenwood> That's a "B"...
<havenwood> 2.8 billions Easters per second is impressive! That's some real folding...
<mozzarella> uh
<mozzarella> Easter?
<mozzarella> the kind of Easter I'm thinking of?
clemens3 has joined #ruby
<havenwood> yup
Mondongo has quit [Quit: Textual IRC Client: www.textualapp.com]
<havenwood> if you're thinking the moon-based, religious Easter in the Roman tradition
Guest9989 has joined #ruby
dogweather has quit [Ping timeout: 255 seconds]
<havenwood> mozzarella: leah2 was asking earlier if Date in stdlib knew about Easter
<dminuoso> havenwood: Of course its slower.
<dminuoso> havenwood: It has one line more code.
<dminuoso> Silly you.
<havenwood> 188x slower for one line! (TruffleRuby really cares about that line.)
<havenwood> dminuoso: Why bench when you have wc?
<dminuoso> Exactly.
<havenwood> I stand by the Moon class as part of the appropriate solution. ;-P
<havenwood> Or maybe an Ishtar class.
<havenwood> dminuoso: you're right - i'll make the line count the same
<dminuoso> havenwood: Wheres the comparison with MRI?
dogweather has joined #ruby
<havenwood> dminuoso: I'll update line count and post TruffleRuby numbers. ;-P
<dminuoso> Ah cool :)
<mozzarella> what is truffleruby?
<dminuoso> mozzarella: Ever heard of GraalVM?
<mozzarella> no
howdoi has joined #ruby
<dminuoso> mozzarella: https://github.com/oracle/graal
netherwolfe has joined #ruby
<dminuoso> mozzarella: For graal there is a framework called truffle: https://github.com/oracle/graal/tree/master/truffle
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dminuoso> mozzarella: For further information refer to http://chrisseaton.com/truffleruby/
netherwolfe has quit [Read error: Connection reset by peer]
<mozzarella> I've got some reading to do it seems
<mozzarella> how old is this graal thing, have I been living under a rock?
RedNifre has joined #ruby
venmx has quit [Ping timeout: 250 seconds]
mikecmpbll has joined #ruby
<dminuoso> mozzarella: If you check out chris' site, he's got tons of really good papers and talks about most of it. Graal is at least 6 years old, but I dont know for how long Oracle has been doing research/work on that.
<havenwood> mozzarella: http://chrisseaton.com/truffleruby/
<dminuoso> havenwood: I'd say file a bug report?
<havenwood> dminuoso: with who?
dogweather has quit [Ping timeout: 255 seconds]
<dminuoso> havenwood: truffleruby
<dminuoso> Or do they have some channel here or on slack maybe?
<dminuoso> Sadly chris' has been absent for a while now
<dminuoso> *chris
duderonomy has joined #ruby
<dminuoso> Ah that then
<havenwood> dminuoso: What bug though?
<dminuoso> havenwood: Perhaps a missed optimization?
_whitelogger has joined #ruby
<dminuoso> I mean it's reasonable that different code might lead to different optimized forms, but who knows.
<mozzarella> jee
<havenwood> dminuoso: Ah, yeah - I'm really not sure why the first is so crazy fast.
<dminuoso> havenwood: Well shouldn't that constant fold completely?
<havenwood> dminuoso: mmmm
<dminuoso> havenwood: I mean there's no IO happening. So you constantly recompute the same thing, so at some point it could constant fold easter_1 _completely_
<dminuoso> with some deopt trap should you ever pass something other than 2018
banisterfiend has joined #ruby
<havenwood> easter_1 is insanely fast on TruffleRuby
<dminuoso> havenwood: Im just genuinely surprised it doesn't do that for easter_2, which at first glance seems like a missed optimization
<havenwood> I do wonder what the issue is on easter_2, I really don't have a theory
cschneid_ has quit [Remote host closed the connection]
synthroi_ has joined #ruby
emilford has quit [Ping timeout: 264 seconds]
dogweather has joined #ruby
<dminuoso> havenwood: That profiling doesnt say much though.
synthroid has quit [Read error: Connection reset by peer]
synthroid has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dminuoso> 19:36 havenwood | easter_1 is insanely fast on TruffleRuby
<havenwood> dminuoso: I wonder how it compares to a C implementation?
<dminuoso> havenwood: Like I said. If you constantly call the same method with the same year 2018, eventually it will constant fold into some `def easter_1 year; if year == 2018; blah; else; deopt; end; end
amar has joined #ruby
dr3w_ has joined #ruby
<dminuoso> (Pseudocode of course)
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
synthroi_ has quit [Ping timeout: 256 seconds]
emilford has joined #ruby
<havenwood> dminuoso: Chris suggested it was divmod, and to open an Issue. Without divmod it goes to just 2.4x slower.
<dminuoso> havenwood: Do you know how graal works roughly?
ellcs has joined #ruby
<havenwood> dminuoso: yeah, sea of nodes!
<dminuoso> Heh
amar has quit [Ping timeout: 256 seconds]
<dminuoso> havenwood: I really had to smile about how Chris bought into enterprisey OOP
<dminuoso> havenwood: In this one talk he say that Java was a great language for Graal because nodes can be thought of objects and thus can be modelled in OOP
phaul has quit [Ping timeout: 250 seconds]
<dminuoso> Such a red herring!
banisterfiend has joined #ruby
dogweather has quit [Ping timeout: 240 seconds]
GodFather has quit [Ping timeout: 260 seconds]
nitric has joined #ruby
dogweather has joined #ruby
Asher1 has joined #ruby
Asher has quit [Disconnected by services]
Asher1 is now known as Asher
RedNifre has quit [Ping timeout: 260 seconds]
sameerynho has joined #ruby
quobo has quit []
quobo has joined #ruby
dionysus69 has joined #ruby
ramfjord has joined #ruby
amar has joined #ruby
ramfjord_ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
bmurt has joined #ruby
RedNifre has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has quit [Ping timeout: 250 seconds]
banisterfiend has joined #ruby
raynold has joined #ruby
Haradani has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
suukim has quit [Quit: Konversation terminated!]
bmurt has joined #ruby
KeyJoo has quit [Remote host closed the connection]
zautomata has joined #ruby
gnufied has quit [Read error: Connection reset by peer]
gnufied has joined #ruby
sauvin has quit [Read error: Connection reset by peer]
kapil___ has quit [Quit: Connection closed for inactivity]
zautomata has quit [Ping timeout: 240 seconds]
dipnlik has quit [Quit: Connection closed for inactivity]
emilford has quit [Ping timeout: 246 seconds]
dogweather has quit [Ping timeout: 268 seconds]
dogweather has joined #ruby
kurko_ has joined #ruby
anisha_ has quit [Quit: This computer has gone to sleep]
weaksauce has joined #ruby
zautomata has joined #ruby
ellcs has quit [Ping timeout: 250 seconds]
nadir has quit [Quit: Connection closed for inactivity]
dogweather has quit [Ping timeout: 264 seconds]
RedNifre has quit [Ping timeout: 255 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dogweather has joined #ruby
zautomata has quit [Ping timeout: 250 seconds]
_whitelogger has joined #ruby
RedNifre has joined #ruby
tipyn has joined #ruby
dogweather has quit [Ping timeout: 260 seconds]
za1b1tsu_ has quit [Ping timeout: 255 seconds]
tipyn has quit [Remote host closed the connection]
zautomata has joined #ruby
dogweather has joined #ruby
Haradani has quit []
sagax has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eckhardt has joined #ruby
banisterfiend has joined #ruby
eckhardt_ has quit [Ping timeout: 264 seconds]
RedNifre has quit [Ping timeout: 250 seconds]
phaul has joined #ruby
ldepandis has joined #ruby
tipyn has joined #ruby
GodFather has joined #ruby
cschneid_ has joined #ruby
Mondongo has joined #ruby
dogweather has quit [Ping timeout: 246 seconds]
kliq has joined #ruby
emilford has joined #ruby
cschneid_ has quit [Ping timeout: 248 seconds]
dogweather has joined #ruby
cschneid_ has joined #ruby
schneider1 has joined #ruby
ramfjord_ has quit [Ping timeout: 268 seconds]
kurko__ has joined #ruby
dionysus69 has quit [Ping timeout: 255 seconds]
dogweather has quit [Ping timeout: 246 seconds]
phaul has quit [Ping timeout: 240 seconds]
kurko_ has quit [Ping timeout: 256 seconds]
dogweather has joined #ruby
dionysus69 has joined #ruby
ta_ has joined #ruby
tipyn_ has joined #ruby
emilford has quit [Ping timeout: 255 seconds]
orbyt_ has joined #ruby
duderonomy has joined #ruby
GodFather has quit [Ping timeout: 260 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
tipyn has quit [Ping timeout: 246 seconds]
schneider1 has quit [Quit: WeeChat 2.0.1]
alex`` has joined #ruby
emilford has joined #ruby
[Butch] has quit [Quit: Textual IRC Client: www.textualapp.com]
postmodern has joined #ruby
tipyn has joined #ruby
dogweather has quit [Ping timeout: 255 seconds]
tipyn__ has joined #ruby
kapil___ has joined #ruby
tipyn_ has quit [Ping timeout: 255 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
tipyn has quit [Ping timeout: 255 seconds]
dogweather has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
duderonomy has quit [Client Quit]
zautomata has quit [Ping timeout: 256 seconds]
GodFather has joined #ruby
Lemn has quit [Ping timeout: 246 seconds]
ta_ has quit [Remote host closed the connection]
dogweather has quit [Ping timeout: 250 seconds]
dcunit3d has joined #ruby
ta_ has joined #ruby
sanscoeur has joined #ruby
dogweather has joined #ruby
gizmore has joined #ruby
n0m4d1c has quit [Ping timeout: 255 seconds]
SeepingN has joined #ruby
gizmore|2 has quit [Ping timeout: 260 seconds]
ARCADIVS has joined #ruby
zautomata has joined #ruby
dviola has joined #ruby
dviola has quit [Quit: WeeChat 2.1]
ta_ has quit [Remote host closed the connection]
ramfjord has joined #ruby
dogweather has quit [Ping timeout: 246 seconds]
roamingdog has joined #ruby
dogweather has joined #ruby
dviola has joined #ruby
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
roamingdog has quit [Ping timeout: 260 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord_ has joined #ruby
ramfjord has quit [Ping timeout: 246 seconds]
ta_ has joined #ruby
dr3w_ has joined #ruby
dogweather has quit [Ping timeout: 250 seconds]
RougeR has quit [Ping timeout: 250 seconds]
dogweather has joined #ruby
ta_ has quit [Remote host closed the connection]
Omnilord has joined #ruby
alfiemax has joined #ruby
Guest9989 has quit [Remote host closed the connection]
Guest9989 has joined #ruby
dogweather has quit [Ping timeout: 246 seconds]
dionysus69 has quit [Ping timeout: 260 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dogweather has joined #ruby
ur5us has joined #ruby
plexigras has quit [Ping timeout: 264 seconds]
reber has quit [Remote host closed the connection]
amar has quit [Remote host closed the connection]
synthroid has quit []
amar has joined #ruby
ciscam has quit [Ping timeout: 260 seconds]
ciscam has joined #ruby
tomphp has joined #ruby
ur5us has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
amar has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
dogweather has quit [Ping timeout: 246 seconds]
roamingdog has joined #ruby
Haradani has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kurko_ has joined #ruby
orbyt_ has joined #ruby
gizmore|2 has joined #ruby
dogweather has joined #ruby
kurko__ has quit [Ping timeout: 250 seconds]
banisterfiend has joined #ruby
gizmore has quit [Ping timeout: 264 seconds]
kmurphy4 has joined #ruby
eikobear has quit [Ping timeout: 240 seconds]
dogweather has quit [Remote host closed the connection]
dogweather has joined #ruby
CrazyEddy has joined #ruby
jcalla has quit [Quit: Leaving]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
emilford has quit [Ping timeout: 250 seconds]
tipyn__ has quit [Remote host closed the connection]
<havenwood> dminuoso: All three now completely folded away: https://github.com/oracle/truffleruby/issues/1371
alfiemax has quit [Remote host closed the connection]
<apeiros> I guess that's one of the issues with good optimizers - your benchmark gets optimized away…
boontdustie has joined #ruby
bmurt has joined #ruby
bmurt has quit [Client Quit]
alfiemax has joined #ruby
x0f_ has joined #ruby
x0f has quit [Ping timeout: 256 seconds]
alfiemax has quit [Remote host closed the connection]
tipyn has joined #ruby
boontdustie has quit [Quit: ERC (IRC client for Emacs 26.0.90)]
tipyn has quit [Client Quit]
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
kurko_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
emilford has joined #ruby
jenrzzz_ has joined #ruby
tdy has quit [Quit: WeeChat 1.9.1]
boontdustie has joined #ruby
bmurt has joined #ruby
boontdustie has quit [Client Quit]
alfiemax has joined #ruby
ramfjord_ has quit [Ping timeout: 268 seconds]
ta_ has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
tdy has joined #ruby
RougeR has joined #ruby
TomyLobo has quit [Ping timeout: 250 seconds]
alfiemax has quit [Ping timeout: 255 seconds]
<havenwood> apeiros: No kidding - billions of iterations per second.
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood> It made me double check that it was actually doing anything.
dogweather has quit [Remote host closed the connection]
emilford has quit [Ping timeout: 264 seconds]
banisterfiend has joined #ruby
dviola has quit [Quit: WeeChat 2.1]
amar has joined #ruby
chouhoul_ has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
chouhoul_ has joined #ruby
amar has quit [Ping timeout: 255 seconds]
chouhoulis has quit [Ping timeout: 264 seconds]
clemens3 has quit [Ping timeout: 246 seconds]
chouhoul_ has quit [Ping timeout: 246 seconds]
amelliaa has quit [Quit: -]
aruns has joined #ruby
minimalism has joined #ruby
<aruns> Hi, I am reviewing the source code for a Ruby gem, in its initialize method some of the argument names begin with an underscore.
<aruns> What is the significance of this?
<aruns> I take it this is for URIs?
<apeiros> aruns: usually underscores as first char means "unused variable"
<apeiros> but with arguments, that doesn't seem to make sense
<sagax> hi all!
<sagax> what do your think about this? http://fnproject.io/
<apeiros> (just click on the linenumber and the url changes)
<aruns> Ah cool, thanks apeiros
<apeiros> and yes, that's actually "this variable is unused"
<aruns> Ah I see.
<apeiros> it is used indirectly via `super` (super without parens will pass on all arguments)
<havenwood> aruns: You could use just two underscores. The name following the underscore just gives a hint of what it is that you're not using.
<apeiros> I wouldn't use underscore here since they are used. but I guess this is to appease rubocop or a similar tool which won't pick up on the `super` subtlety.
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros> (it'll complain about unused variables, and those tools shut up if you use underscores as first char)
<havenwood> aruns: If it's always called with all three params, you might consider just explicitly doing: super(name, params, tokens)
<havenwood> i think apeiros' spotted the real reason ;-)
<havenwood> since they aren't explicitly used, i don't really mind the underscores
<havenwood> super is an odd case
<havenwood> fancy
* apeiros would also not write `def initialize(*_args); end`, but instead use `def initialize(*); end`
<apeiros> (line 60)
Asher has quit [Read error: No route to host]
Asher has joined #ruby
venmx has joined #ruby
* apeiros off, cya kiddos!
<aruns> Thanks for the help, guys.
alfiemax has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schleppel has quit [Quit: Konversation terminated!]
dogweather has joined #ruby
\void has quit [Ping timeout: 255 seconds]
alfiemax has quit [Ping timeout: 246 seconds]
saltsa has joined #ruby
dogweather has quit [Ping timeout: 246 seconds]
govg has quit [Ping timeout: 240 seconds]
dviola has joined #ruby
k0mpa has quit [Remote host closed the connection]
govg has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
govg has quit [Ping timeout: 246 seconds]
alex`` has quit [Quit: WeeChat 2.1]
gizmore has joined #ruby
dogweather has joined #ruby
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
psmolen has quit [Read error: Connection reset by peer]
gizmore|2 has quit [Ping timeout: 255 seconds]
cthu| has quit [Quit: Leaving]
cthulchu has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
Mondongo has quit [Quit: Textual IRC Client: www.textualapp.com]
Haradani has quit [Remote host closed the connection]
Haradani has joined #ruby
aruns has quit [Quit: leaving]
Haradani has quit [Client Quit]
Haradani has joined #ruby
alfiemax has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
weaksauce has quit [Ping timeout: 256 seconds]
sanscoeu_ has joined #ruby
Haradani has quit [Remote host closed the connection]
Haradani has joined #ruby
sanscoeur has quit [Ping timeout: 264 seconds]
alfiemax has quit [Ping timeout: 255 seconds]
\void has joined #ruby
weaksauce has joined #ruby
sanscoeu_ has quit [Remote host closed the connection]
voker57_ is now known as Voker57
Voker57 has quit [Changing host]
Voker57 has joined #ruby
ramfjord has joined #ruby
ta_ has quit [Ping timeout: 264 seconds]
GodFather has quit [Ping timeout: 250 seconds]
alfiemax has joined #ruby
duderonomy has joined #ruby
duderonomy has quit [Client Quit]
tfitts has joined #ruby
dcunit3d has quit [Ping timeout: 246 seconds]
alfiemax has quit [Ping timeout: 260 seconds]
GodFather has joined #ruby
roamingdog has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 246 seconds]
sanscoeur has joined #ruby
ciscam has quit [Ping timeout: 264 seconds]
ciscam has joined #ruby
alfiemax has joined #ruby
venmx has quit [Ping timeout: 260 seconds]
banisterfiend has joined #ruby
alfiemax has quit [Ping timeout: 246 seconds]
pharma_joe has joined #ruby
kliq has quit [Ping timeout: 248 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nitric has quit [Ping timeout: 255 seconds]
SuperL4g has joined #ruby
duderonomy has joined #ruby
SuperLag has quit [Ping timeout: 260 seconds]
roamingdog has joined #ruby
ramfjord has joined #ruby
orbyt_ has joined #ruby
paradisaeidae has joined #ruby
paradisaeidae_ has joined #ruby