havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.0, 2.7.2, 2.6.6: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.org | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | BLM <3
envex has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
ur5us has quit [Ping timeout: 264 seconds]
seed0 has quit [Ping timeout: 256 seconds]
JoL1hAHN has quit [Ping timeout: 260 seconds]
dfucci has joined #ruby
dfucci has quit [Ping timeout: 265 seconds]
iNs_ has quit [*.net *.split]
_aeris_ has quit [*.net *.split]
seed0 has joined #ruby
JoL1hAHN has joined #ruby
rzjian has joined #ruby
ur5us has joined #ruby
_aeris_ has joined #ruby
coniptor has quit [Ping timeout: 264 seconds]
iNs has joined #ruby
_aeris has joined #ruby
coniptor has joined #ruby
_aeris_ has quit [Remote host closed the connection]
_aeris is now known as _aeris_
TCZ has joined #ruby
mwlang has quit [Ping timeout: 264 seconds]
mwlang has joined #ruby
baojg has joined #ruby
moldorcoder7 has quit [Read error: Connection reset by peer]
moldorcoder7 has joined #ruby
Technodrome has joined #ruby
baojg has quit [Remote host closed the connection]
TCZ has quit [Quit: Eurydyko, nie czekaj na mnie]
baojg has joined #ruby
cer0 has quit [Quit: leaving]
jenrzzz has joined #ruby
dnadev2 has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
twitch has quit [Quit: Leaving]
chouhoulis has quit [Remote host closed the connection]
elcuervo has joined #ruby
cuerbot has quit [Ping timeout: 272 seconds]
baojg has quit [Remote host closed the connection]
linoge has joined #ruby
dfucci has joined #ruby
baojg has joined #ruby
venmx has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
linoge has quit [Ping timeout: 264 seconds]
dfucci has quit [Ping timeout: 272 seconds]
nertzy has quit [Ping timeout: 240 seconds]
fippy has quit [Quit: Leaving]
ChmEarl has quit [Quit: Leaving]
fippy has joined #ruby
linoge has joined #ruby
Emmanuel_Chanel has quit [Remote host closed the connection]
linoge has quit [Ping timeout: 246 seconds]
al2o3-cr has quit [Quit: WeeChat 3.0]
TorpedoSkyline has quit [Quit: Textual IRC Client: www.textualapp.com]
al2o3-cr has joined #ruby
darris has quit [Quit: Bye bye!]
Rudd0 has quit [Ping timeout: 256 seconds]
cd has quit [Quit: cd]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Emmanuel_Chanel has joined #ruby
Rudd0 has joined #ruby
cowgomoo has joined #ruby
rzjian has quit [Ping timeout: 240 seconds]
alextee has quit [Ping timeout: 256 seconds]
alextee has joined #ruby
venmx has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
venmx has quit [Ping timeout: 264 seconds]
coniptor has quit [Ping timeout: 265 seconds]
dfucci has joined #ruby
gix- has joined #ruby
gix has quit [Disconnected by services]
alextee has quit [Ping timeout: 260 seconds]
dfucci has quit [Ping timeout: 256 seconds]
coniptor has joined #ruby
alextee has joined #ruby
m27frogy has quit [Ping timeout: 265 seconds]
coniptor has quit [Read error: Connection reset by peer]
akem has joined #ruby
dfucci has joined #ruby
coniptor has joined #ruby
ur5us has joined #ruby
coniptor has quit [Ping timeout: 240 seconds]
dfucci has quit [Ping timeout: 265 seconds]
jl4 has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
coniptor has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
schaerli__ has joined #ruby
jerome___ has quit [Remote host closed the connection]
ur5us has quit [Ping timeout: 264 seconds]
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
venmx has joined #ruby
venmx has quit [Ping timeout: 240 seconds]
venmx has joined #ruby
Rudd0 has quit [Ping timeout: 265 seconds]
venmx has quit [Ping timeout: 256 seconds]
venmx has joined #ruby
yokel has quit [Ping timeout: 256 seconds]
yokel has joined #ruby
dfucci has joined #ruby
fercell has joined #ruby
trautwein has joined #ruby
Rounin has joined #ruby
gix- has quit [Ping timeout: 265 seconds]
TomyWork has joined #ruby
jl4 has quit [Ping timeout: 256 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
dfucci has quit [Ping timeout: 240 seconds]
venmx has quit [Ping timeout: 260 seconds]
dfucci has joined #ruby
schne1der has joined #ruby
cliluw has quit [Ping timeout: 240 seconds]
vondruch_ has quit [Quit: vondruch_]
cliluw has joined #ruby
vondruch_ has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
vondruch_ is now known as vondruch
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
venmx has joined #ruby
jenrzzz has joined #ruby
venmx has quit [Ping timeout: 265 seconds]
Mia has joined #ruby
Mia has joined #ruby
Axy has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
al2o3-cr has quit [Ping timeout: 256 seconds]
TheAthlete has joined #ruby
jenrzzz has joined #ruby
DanielCarlsson[m has quit [*.net *.split]
serge[m] has quit [*.net *.split]
jo-so has quit [*.net *.split]
DerekNonGeneric has quit [*.net *.split]
klaas_ has quit [*.net *.split]
TheBrayn has quit [*.net *.split]
iamgr00t has quit [*.net *.split]
astronavt has quit [*.net *.split]
Fusl has quit [*.net *.split]
nemesit|znc has quit [*.net *.split]
jo-so has joined #ruby
DanielCarlsson[m has joined #ruby
serge[m] has joined #ruby
Fusl has joined #ruby
iamgr00t has joined #ruby
nemesit|znc has joined #ruby
DerekNonGeneric has joined #ruby
TheBrayn has joined #ruby
klaas_ has joined #ruby
astronavt has joined #ruby
MeVegantheythem[ has quit [Ping timeout: 246 seconds]
DanielCarlsson[m has quit [Ping timeout: 242 seconds]
serge[m] has quit [Ping timeout: 242 seconds]
jo-so has quit [Ping timeout: 242 seconds]
swann11[m] has quit [Ping timeout: 260 seconds]
PaulB[m] has quit [Ping timeout: 240 seconds]
JanHebler[m] has quit [Ping timeout: 244 seconds]
tfreedman has quit [Ping timeout: 244 seconds]
jcp has quit [Ping timeout: 240 seconds]
hsiktas[m] has quit [Ping timeout: 240 seconds]
jordanh has quit [Ping timeout: 240 seconds]
Cubixusin[m] has quit [Ping timeout: 240 seconds]
turt2live has quit [Ping timeout: 240 seconds]
bthompson90 has quit [Ping timeout: 240 seconds]
electragician has quit [Ping timeout: 246 seconds]
kinduff[m] has quit [Ping timeout: 260 seconds]
kateskips has quit [Ping timeout: 268 seconds]
Hanma[m] has quit [Ping timeout: 260 seconds]
angusrobot has joined #ruby
ruurd has joined #ruby
shenghi1 has quit [Quit: WeeChat 2.9]
shenghi has joined #ruby
marz has joined #ruby
<marz> Is there an existing utility that will allow me to like map my database tables to spreadsheet so that I can easily populate the spreadsheet and apply it to my db?
TheAthlete has quit [Quit: Ping timeout (120 seconds)]
ruurd has quit [Quit: bye folks]
angusrobot has quit [Quit: angusrobot]
trautwein has quit [Quit: WeeChat 3.0]
<Sellow> Should I add a uniqueness validation on top of having a unique index for the table in my db?
Rudd0 has joined #ruby
swann11[m] has joined #ruby
mr_rich101 has quit [Ping timeout: 246 seconds]
blackmesa has joined #ruby
blackmesa has quit [Client Quit]
fercell has quit [Quit: WeeChat 3.0]
jl4 has joined #ruby
jidar has quit [Ping timeout: 265 seconds]
jidar has joined #ruby
mr_rich101 has joined #ruby
Emmanuel_Chanel has quit [Remote host closed the connection]
fercell has joined #ruby
coniptor has quit [Read error: Connection reset by peer]
angusrobot has joined #ruby
Emmanuel_Chanel has joined #ruby
fercell has quit [Ping timeout: 260 seconds]
dinfuehr has quit [Ping timeout: 256 seconds]
dinfuehr has joined #ruby
klaas_ is now known as klaas
fercell has joined #ruby
baojg has quit [Ping timeout: 264 seconds]
coniptor has joined #ruby
baojg has joined #ruby
angusrobot is now known as angus
jenrzzz has quit [Ping timeout: 265 seconds]
PaulB[m] has joined #ruby
hsiktas[m] has joined #ruby
MeVegantheythem[ has joined #ruby
serge[m] has joined #ruby
kateskips has joined #ruby
turt2live has joined #ruby
Cubixusin[m] has joined #ruby
bthompson90 has joined #ruby
jcp has joined #ruby
DanielCarlsson[m has joined #ruby
jordanh has joined #ruby
JanHebler[m] has joined #ruby
electragician has joined #ruby
Hanma[m] has joined #ruby
jo-so has joined #ruby
tfreedman has joined #ruby
baojg has quit [Remote host closed the connection]
kinduff[m] has joined #ruby
baojg has joined #ruby
ruurd has joined #ruby
jenrzzz has joined #ruby
marz has quit [Quit: Lost terminal]
pwnd_sfw has joined #ruby
venmx has joined #ruby
jl4 has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
baojg has quit [Ping timeout: 260 seconds]
baojg_ has joined #ruby
linoge has joined #ruby
chouhoulis has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
dionysus69 has joined #ruby
coniptor has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jl4 has joined #ruby
al2o3-cr has joined #ruby
coniptor has joined #ruby
dionysus69_ has joined #ruby
dionysus69 has quit [Quit: dionysus69]
dionysus69_ has quit [Client Quit]
dionysus69 has joined #ruby
dionysus69 has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
FizzyTidus has joined #ruby
akem has quit [Read error: Connection reset by peer]
somazero has joined #ruby
olspookishmagus has quit [Quit: All for nothing]
olspookishmagus has joined #ruby
m27frogy has joined #ruby
powerhouse has quit [Quit: Leaving]
mbrndtgn has quit [Quit: The Lounge - https://thelounge.chat]
mbrndtgn has joined #ruby
powerhouse has joined #ruby
baojg_ has quit [Remote host closed the connection]
baojg has joined #ruby
trautwein has joined #ruby
akem has joined #ruby
venmx has quit [Ping timeout: 256 seconds]
chouhoulis has joined #ruby
baojg has quit [Ping timeout: 264 seconds]
baojg has joined #ruby
jl4 has quit [Ping timeout: 256 seconds]
<dostoyevsky> I have a def in a module that I can list with module.instance_methods(false) but not call via module.method_name ? It's saying: NoMethodError ...
<adam12> dostoyevsky: module.method_name is actually a "class" method call, since module has no instance (but when mixed in to a class, it can have an instance).
<adam12> dostoyevsky: If you never mixin the module, you can always just def self.method_name. If you mixin the module and want to call it both ways, module_function :method_name
<dostoyevsky> adam12: `m.instance_methods(false).each {|s| m.send(s) }' <- throws a NoMethodError ... so maybe I need to instantiate the module first?
<dostoyevsky> Yeah, it's probably meant as a mixin and will be used in a class somewhere
xco has joined #ruby
<xco> i wrote about method_missing. i'll appreciate some peer review before sharing :D https://emmanuelhayford.com/3-practical-uses-of-ruby-method-missing/
baojg has quit [Remote host closed the connection]
coniptor has quit [Ping timeout: 240 seconds]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
vondruch has quit [Client Quit]
vondruch_ has joined #ruby
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
vondruch_ has left #ruby [#ruby]
coniptor has joined #ruby
vondruch has joined #ruby
al2o3-cr has quit [Quit: WeeChat 3.0]
gavlee has quit [Ping timeout: 265 seconds]
al2o3-cr has joined #ruby
schaerli__ has quit [Ping timeout: 260 seconds]
gavlee has joined #ruby
rigid has joined #ruby
<rigid> hi, i'm completely new to ruby and actually come from #jekyll
<rigid> i'm having trouble finding documentation about ruby behaviour that converts timestamps like "HH:MM:SS.mmm" to float
<rigid> Does anyone know? I'm not sure but I think it's not jekyll specific
<rigid> in jekyll, I define (in yaml) "time: 00:00:05.500" (without quotes, so no string). That gets converted to float "5.5" somewhere, and my best guess is that it's ruby
<rigid> i actually want to define it as string (like "time: '00:00:05.500'") and do the conversion manually, but can't find a way to do that. I always end up converting to integer (so "0" in this case)
<phaul> xco: nice writeup.
somazero has quit [Quit: Leaving]
<phaul> one point that was slightly neboulus is that when the method lookup fails, the process is re-started from the bottom of the ancestor chain this time looking for method_missing. You basically said method_missing can be overriden, but how that overriding works can be confusing as we already reached the top of the class hierarchy with the original method name
<adam12> rigid: That's likely Psych or YAML doing the conversion, not Ruby... but I'm guessing.
<adam12> rigid: YAML is an alias for Psych, the default YAML parsing library
dnadev2 has joined #ruby
<rigid> ah, thank you. yep, just tried with irb ... ruby throws errros on "foo = 00:00:05.000"
* rigid is going further down the rabbit hole
<dostoyevsky> xco: Maybe also mention that the delegation pattern implements the proxy pattern... which is what I mostly use method_missing for
<adam12> &>> require "yaml"; YAML.load("time: '00:00:05.500'")
<rubydoc> # => {"time"=>"00:00:05.500"} (https://carc.in/#/r/aaft)
<adam12> Maybe it's not YAML/Psych, but actually Jekyll?
<phaul> xco: Also it's really nitpick, and I don't think it's important there, but when you state "when an object calls a method, starting from the object’s class " you neglect prepended modules and singleton classes
<rigid> adam12: nope, try without quotes
<rigid> &>> require "yaml"; YAML.load("time: 00:00:05.500")
<rubydoc> # => {"time"=>5.5} (https://carc.in/#/r/aafw)
<rigid> awesome bot
<rigid> so it _is_ yaml/psych... awesome
<xco> phaul "the process is re-started from the bottom of the ancestor chain this time looking for method_missing." thanks. i thought of this but wasn't entirely sure. but it makes sense to think that once it reaches method_missing, the process restarts to find if method_missing is over written, if not, call the default behaviour of method missing correct?
<rigid> well, not so awesome actually since there probably is no way to convert it manually from a string to float
<xco> phaul "you neglect prepended modules and singleton classes" yeah i stated that i'm omitting that for brevity in the 3rd paragraph
<phaul> xco, I missed that, I see it now. Good writeup, /me likes
<xco> dostoyevsky oh. so how i delegated method is called the proxy pattern? i didn't know it had a name :D
<xco> phaul thanks! :D
<xco> phaul i publicly stated that i'll be wrting 52 blogs posts before the end of 2021 so i'll be posting more articles for reviews :D only when you have time you can look.. would appreciate it
<xco> btw. Ruby 3 added Hash#except and Rails's ActiveSupport also has Hash#except. i wonder if it'd make sense to benchmark both methods in a way that'll be fair for Rail's Hash#except
Technodrome has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
moldorcoder7 has quit [Ping timeout: 264 seconds]
<mwlang> rigid: do you have control of how that timestamp is written to the yaml file? If so, I’d change the formatting on output so it’s correctly parsed when loaded.
<mwlang> &>> require 'yaml'; t = Time.now; [t, t.inspect, YAML.load({time: t}.to_yaml)]
<rubydoc> # => [2021-01-22 13:49:34.255209259 +0000, "2021-01-22 13:49:34.255209259 +0000", {:time=>2021-01-22 13:49:34.255209259 +0000}] (https://carc.in/#/r/aag8)
<rigid> mwlang: yeah i have some control (it's liquid syntax in jekyll), but parsing is not actually the problem. The problem is, that I need the string and the float. But I just get the float. I thought about using the string and converting it to float manually, but that is impossible afais.
<rigid> i currently plan to just add the string manually, like 'time: 00:00:05.500' and 'time_string: "00:00:05.500"' as a workaround
<rigid> not pretty but should work
cd has joined #ruby
<mwlang> rigid: The problem at the moment is YAML is not parsing it as a time or timestamp of any sort as-is. But if you write it out to file correctly, then it’ll be loaded as a Time object, from which you can then get both String and Float representations.
<mwlang> The yaml parser is discarding the “00:00:0” part and then turning “05.500” into 5.5 Float, which is definitely not what you wanted.
<rigid> hm, i think that's not possible without writing a jekyll plugin
<rigid> mwlang: oh no, it seems like it's doing it right as "00:28:16.600" correctly gets converted to 1696.6
<rigid> &>> require "yaml"; YAML.load("time: 00:28:16.600")
<rubydoc> # => {"time"=>1696.6} (https://carc.in/#/r/aage)
prestorium has quit [Ping timeout: 265 seconds]
<mwlang> &>> require "time"; Time.parse("00:28:16.600").to_f
<rubydoc> # => 1611275296.6 (https://carc.in/#/r/aagf)
stryek has joined #ruby
<rigid> &>> require "time"; Time.parse("002816.600").to_f
<rubydoc> # => 1611275296.6 (https://carc.in/#/r/aagg)
<rigid> it's discarding the :
<rigid> i was wrong saying "conversion to float" it's actually "conversion to seconds, represented as float"
<mwlang> personally, I like to write Time objects out to YAML as UNIX Epoch values (seconds elapsed since Epoch)…similar to what this blogger writes: https://prathamesh.tech/2020/03/02/converting-timestamps-to-ruby-objects/
<rigid> well, i got video timestamps as source and need to pass that to javascript as seconds. i don't think converting to unix timestamps would help
<mwlang> &>> Time.at(1696.6).to_s
<rubydoc> # => "1970-01-01 00:28:16 +0000" (https://carc.in/#/r/aagh)
schne1der has quit [Quit: schne1der]
<mwlang> I hear you. I think I’d favor just storing a float then and not try to deal with Time objects…or if you need it, doint Time.at on that float and just using the hours, minutes, seconds of the resulting Time.
<mwlang> c/doint/using
<mwlang> rigid: this may help you out as far as docs go: https://www.rubyguides.com/2015/12/ruby-time/
cowgomoo has quit [Quit: No Ping reply in 180 seconds.]
cowgomoo has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
schaerli has joined #ruby
moldorcoder7 has joined #ruby
venmx has joined #ruby
schaerli has quit [Remote host closed the connection]
FizzyTidus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
venmx has quit [Ping timeout: 264 seconds]
akem_ has joined #ruby
TheAthlete has joined #ruby
elcuervo has quit [Read error: Connection reset by peer]
akem has quit [Ping timeout: 240 seconds]
elcuervo has joined #ruby
fercell has quit [Ping timeout: 260 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fercell has joined #ruby
FrankyCyborg has joined #ruby
chouhoulis has quit [Remote host closed the connection]
TCZ has joined #ruby
linoge has quit [Remote host closed the connection]
linoge has joined #ruby
Technodrome has joined #ruby
linoge has quit [Ping timeout: 260 seconds]
chouhoulis has joined #ruby
lucasb has joined #ruby
dfucci has quit [Ping timeout: 246 seconds]
fercell has quit [Ping timeout: 240 seconds]
cer0 has joined #ruby
fercell has joined #ruby
GodFather has joined #ruby
ousmane has joined #ruby
ousmane has quit [Client Quit]
ousmane has joined #ruby
ousmane has quit []
coniptor has quit [Ping timeout: 246 seconds]
angus has quit [Quit: angus]
trautwein has quit [Ping timeout: 264 seconds]
coniptor has joined #ruby
linoge has joined #ruby
linoge has quit [Remote host closed the connection]
snapcase has quit [Quit: leaving]
GodFather has quit [Remote host closed the connection]
GodFather has joined #ruby
GodFather_ has joined #ruby
venmx has joined #ruby
GodFather_ has quit [Remote host closed the connection]
GodFather has quit [Remote host closed the connection]
GodFather has joined #ruby
snapcase has joined #ruby
GodFather_ has joined #ruby
venmx has quit [Ping timeout: 240 seconds]
TCZ has quit [Remote host closed the connection]
linoge has joined #ruby
jenrzzz has joined #ruby
linoge has quit [Remote host closed the connection]
TCZ has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
GodFather has quit [Remote host closed the connection]
GodFather_ has quit [Remote host closed the connection]
linoge has joined #ruby
linoge has quit [Remote host closed the connection]
linoge has joined #ruby
GodFather has joined #ruby
GodFather has quit [Remote host closed the connection]
GodFather has joined #ruby
TCZ has quit [Remote host closed the connection]
GodFather_ has joined #ruby
jl4 has joined #ruby
linoge has quit [Remote host closed the connection]
linoge has joined #ruby
linoge has quit [Remote host closed the connection]
dinfuehr has quit [Ping timeout: 240 seconds]
dinfuehr has joined #ruby
linoge has joined #ruby
linoge has quit [Remote host closed the connection]
dinfuehr has quit [Ping timeout: 256 seconds]
dinfuehr has joined #ruby
TheAthlete has quit [Quit: Ping timeout (120 seconds)]
orbyt_ has joined #ruby
linoge has joined #ruby
linoge has quit [Remote host closed the connection]
cer0 has quit [Ping timeout: 264 seconds]
hiroaki has quit [Ping timeout: 272 seconds]
fercell has quit [Ping timeout: 264 seconds]
vondruch_ has joined #ruby
vondruch_ has left #ruby [#ruby]
cer0 has joined #ruby
dionysus69 has quit [Quit: Konversation terminated!]
vondruch has quit [Ping timeout: 246 seconds]
dionysus69 has joined #ruby
dionysus69 has quit [Changing host]
dionysus69 has joined #ruby
dionysus69 has quit [Client Quit]
dionysus69 has joined #ruby
dionysus69 has quit [Changing host]
dionysus69 has joined #ruby
weaksauce has quit [Ping timeout: 265 seconds]
viporli has joined #ruby
akem_ has quit [Ping timeout: 265 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TomyWork has quit [Remote host closed the connection]
mongrelion_ has joined #ruby
mongrelion_ has quit [Client Quit]
viporli has quit [Read error: Connection reset by peer]
venmx has joined #ruby
BSaboia has joined #ruby
jl4 has quit [Ping timeout: 272 seconds]
venmx has quit [Ping timeout: 264 seconds]
gdonald has quit [Quit: leaving]
weaksauce has joined #ruby
orbyt_ has joined #ruby
dnadev2 has quit [Quit: Leaving]
stryek has quit [Quit: Connection closed for inactivity]
howdoi has joined #ruby
sdrew has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ua has quit [Ping timeout: 260 seconds]
GodFather has quit [Ping timeout: 265 seconds]
GodFather_ has quit [Ping timeout: 272 seconds]
al2o3-cr has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
ua has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
gix has joined #ruby
nertzy has joined #ruby
Technodrome has joined #ruby
riceandbeans has joined #ruby
<riceandbeans> What's wrong with 5..10 do |h| puts h end ?
<adam12> riceandbeans: Possibly ambiguous range.
<adam12> Plus no iterator.
<adam12> (5..10).each
<adam12> or 5.upto(10)
<riceandbeans> ah, had to add .each
<riceandbeans> Sorry, Ruby specifics of implementations slip my mind sometimes, I largely do other languages at the moment
<havenwood> riceandbeans: Now I'm curious what you're doing from 5 to 10!
coniptor has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
<riceandbeans> You don't even want to know
coniptor has joined #ruby
sdrew has quit [Ping timeout: 264 seconds]
bkuhlmann has joined #ruby
bkuhlmann has quit []
TCZ has joined #ruby
al2o3-cr has joined #ruby
kinduff has joined #ruby
kinduff has quit [Quit: Leaving.]
<phaul> do .. end is syyntax for the block argument of a _method_. 5..10 is not a method, it's a constant literal for a range.
<phaul> 5.upto(10) do .. end. here upto is the method called on 5 taking 10 as a positional argument, and the block as the block argument
<phaul> (5..10) each do .. end; here each is called on the range 5..10, taking no positional arguments and taking the do end as the block argument
shokohsc has quit [Ping timeout: 240 seconds]
<phaul> it's all just methods, and objects that are receivers for methods.
gigetoo has quit [Ping timeout: 265 seconds]
venmx has joined #ruby
hiroaki has joined #ruby
ur5us has joined #ruby
gigetoo has joined #ruby
summerisle has quit [Quit: In my vision, I was on the veranda of a vast estate, a palazzo of some fantastic proportion.]
venmx has quit [Ping timeout: 265 seconds]
summerisle has joined #ruby
mwlang_ has joined #ruby
mwlang has quit [Ping timeout: 264 seconds]
mwlang_ is now known as mwlang
summerisle has quit [Client Quit]
summerisle has joined #ruby
xco has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
mwlang has quit [Quit: mwlang]
mwlang has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
<mwlang> Where is the best place(s) for a company to advertise job openings to attract the best Ruby applicants?
BSaboia has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
brunosaboia_ has joined #ruby
BSaboia has quit [Ping timeout: 256 seconds]
<havenwood> Feel free to post here. The Ruby Discourse and Rails Slack also have jobs channels.
<havenwood> mwlang: Is it a remote or geo-specific position?
<mwlang> It’s open to remote as well as geo-specific if the candidate is interested in that. https://g.co/kgs/XXdmWA
<havenwood> Open source and remote? Awesome.
<mwlang> yes! :-)
jenrzzz has joined #ruby
<adam12> mwlang: Interesting that it's PST but with a NC headquarters. I would of expected EST.
<mwlang> adam12: I’m EST, and it hasn’t been an issue at all to the mostly Portland-based team members. HQ is in San Francisco, but has little bearing on our team.
brunosaboia_ has quit [Quit: This computer has gone to sleep]
chouhoulis has quit [Remote host closed the connection]
<adam12> mwlang: Nice.
xco has joined #ruby
<apotheon> I found the catch for working at New Relic on Ruby stuff: being on call.
<mwlang> apotheon: not true for Agent teams
<mwlang> That’s all on infrastructure (DevOps) these days.
xco has quit [Client Quit]
GodFather_ has joined #ruby
GodFather has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has joined #ruby
coniptor has quit [Ping timeout: 264 seconds]
gdonald has joined #ruby
schne1der has joined #ruby
GodFather_ has quit [Remote host closed the connection]
GodFather has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 264 seconds]
coniptor has joined #ruby
venmx has joined #ruby
<c355e3b> I'm getting flashbacks to some really unfun times in my life
venmx has quit [Ping timeout: 264 seconds]
brunosaboia_ has joined #ruby
dionysus69 has quit [Ping timeout: 264 seconds]
mazacon[m] has joined #ruby
envex has quit []
TCZ has quit [Remote host closed the connection]
chouhoulis has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
ur5us has quit [Quit: Leaving]
mazacon[m] has left #ruby ["User left"]
schne1der has quit [Remote host closed the connection]
Caerus has quit [Ping timeout: 256 seconds]
nicolas_ has quit [Ping timeout: 264 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Caerus has joined #ruby
<mwlang> c355e3b: why’s that?
nicolas_ has joined #ruby
<c355e3b> I had to use NewRelic as a customer on some really stressful outages
jenrzzz has joined #ruby
<mwlang> c355e3b: Ah. I gather it didn’t make the root cause of the outages obvious?
<c355e3b> Correct.
ChmEarl has joined #ruby
<mwlang> If there was one thing the New Relic integration could’ve/should’ve done back then that would’ve made your life better during those outages, what would it have been?
coniptor has quit [Read error: Connection reset by peer]
mwlang has quit [Read error: Connection reset by peer]
mwlang_ has joined #ruby
coniptor has joined #ruby
envex has joined #ruby
Caerus has quit [Ping timeout: 265 seconds]
nicolas_ has quit [Ping timeout: 265 seconds]
orbyt_ has joined #ruby
Caerus has joined #ruby
nicolas_ has joined #ruby
brunosaboia_ has quit [Quit: This computer has gone to sleep]