havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.0, 2.5.3, 2.4.5: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
sanscoeur has quit [Ping timeout: 246 seconds]
chouhoulis has quit [Ping timeout: 268 seconds]
chouhoulis has joined #ruby
hutch has quit [Ping timeout: 250 seconds]
chouhoulis has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 268 seconds]
<mikecmpbll> might just be because it's late and i'm tired but how can this line result in TypeError: no implicit conversion from nil to integer https://github.com/clbustos/minimization/blob/master/lib/multidim/nelder_mead.rb#L95
chouhoulis has joined #ruby
<baweaver> mikecmpbll: Can you shoot us the full error?
<baweaver> also super rare to see nested methods like that
<baweaver> L96 may do bad things too, but probably not the point
<mikecmpbll> yeah it is indeed odd. they're funny folks those maths rubyists.
<cthulchu> I'm now switching to a few different projects none of which is Ruby. One is JS and one is Py. I never realized how much I would miss the black magic of ===
<cthulchu> hell it was insanely comfy
<cthulchu> inline regex is very comfy too
<baweaver> Hrm. I'd probably just drop a binding.pry in there and see why it's screwy.
<cthulchu> it would be awesome if Ruby had Python's white space syntax.
hutch has joined #ruby
<mikecmpbll> oh crap, i'm monkey patching the class. that'll probably mess with the line numbering or no?
<baweaver> Possibly.
<mikecmpbll> going to be extremely difficult to reproduce the error too, unfortunately. happens deep in a long running task with randomised input data :D
<mikecmpbll> o well.
<baweaver> you could also put a rescue in there to try and catch it and reraise
<mikecmpbll> 👍🏼
chouhoulis has quit [Ping timeout: 272 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Read error: Connection reset by peer]
chouhoulis has joined #ruby
grvgr_ has joined #ruby
chouhoulis has quit [Ping timeout: 244 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Read error: Connection reset by peer]
chouhoulis has joined #ruby
sylario has quit [Quit: Connection closed for inactivity]
<phaul> that code has a lot of things that don't make sense ruby wise. Im not talking algorithm wise, but just pure language wise
con3 has joined #ruby
<mikecmpbll> :)
<con3> hey everyone, I'm trying to run basic programs in ruby. using puts with hello world works great, but trying to get a method with return value going always bombs out
chouhoulis has quit [Ping timeout: 245 seconds]
<con3> I'm following appacademy - open rn and this example does not work at all
ziyadb has quit [Quit: Connection closed for inactivity]
<phaul> well, 9 year old code according to the license, stay strong mikecmpbll :)
<mikecmpbll> nothing _technically_ wrong with a method defined in a method :p
Azure has joined #ruby
chouhoulis has joined #ruby
<phaul> no, I did not even meant that. just skimming the rest
<phaul> *mean
<con3> this returns
<phaul> ah english...
<baweaver> con3: What's not working with it?
<con3> baweaver: it returns this : https://dpaste.de/CXpA
<mikecmpbll> there's lots of Array.new and Array.new(nil) causes the implicit conversion error so i'm assuming it's something like that. not sure what's with the trace.
<baweaver> Ah
<baweaver> Don't use -e
<baweaver> that evaluates it as a literal ruby program instead of as a file
<con3> ah dammit!
<con3> thanks baweaver
<baweaver> test is an actual Ruby function
<baweaver> hence the error
<con3> baweaver: any way I can get it to show the return values? Running ruby test.rb outputs nothing
<con3> have tried verbose mode, etc
<baweaver> puts
<baweaver> Also return isn't needed there
chouhoulis has quit [Ping timeout: 246 seconds]
chouhoulis has joined #ruby
<con3> baweaver: thank you so much
<baweaver> You have nothing that outputs to your console, STDOUT
<con3> that solves my problem!
<con3> just printed out 3
<baweaver> Remember though that puts returns nil
<baweaver> So don't use it in a method
<con3> would that cause the method to exit with a return value of nil?
<con3> or...?
<baweaver> If you use it at the end of your program it's fine
<baweaver> but if you put puts at the end of a method it'll return nil implicitly
* con3 has a long way to go
<baweaver> Well we're around if you need help
<con3> ah just added it in the method, it invalidates everything, function returns nil instead of 3. Good to know! thank you!
chouhoulis has quit [Ping timeout: 268 seconds]
sameerynho has quit [Ping timeout: 245 seconds]
chouhoulis has joined #ruby
<con3> "The shell prints the expression whether we return or "puts" it"
<con3> this doesn't seem to be true ^
sarink has joined #ruby
<baweaver> The shell will show it, but that's STDOUT, not necessarily the return value
<baweaver> so it does technically print
<phaul> mikecmpbll: out of curiousity, how did you inherit this code, or what project is this?
<con3> baweaver: I'm confused then... they seem to say that return values are printed to the shell/terminal. As dar as I know this isn't the case?
<mikecmpbll> phaul: i don't maintain it, i'm just using it. it's maintained by sciruby
<baweaver> They're not
<mikecmpbll> the minimization project is for mathematical optimisation
<mikecmpbll> nelder-mead is one such algorithm
chouhoulis has quit [Ping timeout: 268 seconds]
chouhoulis has joined #ruby
hutch has quit [Ping timeout: 244 seconds]
<con3> thank you baweaver :)
chouhoulis has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
donofrio has quit [Remote host closed the connection]
ircuser has joined #ruby
sarink has quit [Remote host closed the connection]
<phaul> well, things I spotted first look : method 78 is an interesting reinvention of spaceship. They random use return. They have classes for methods. method on 239 is waay too long and its repeating itself probably copy paste, but probably most methods are too long anyways. they use `and' when they meant &&.
davidw has quit [Ping timeout: 250 seconds]
<phaul> but the task want to criticise the code but to figure out why the error message, so probably im no help :)
<phaul> *wasn't
con3 has quit [Read error: Connection reset by peer]
chouhoulis has quit [Ping timeout: 244 seconds]
al2o3-cr has quit [Quit: WeeChat 2.3]
chouhoulis has joined #ruby
<mikecmpbll> yeah. criticise away. to give the author his dues though, they are all style complaints. the code functions.
ircuser is now known as np4433
al2o3-cr has joined #ruby
chouhoulis has quit [Ping timeout: 250 seconds]
<mikecmpbll> and his use of return is consist in that he uses it in every case that there is a method where the return value is important ;)
chouhoulis has joined #ruby
<mikecmpbll> consistent*
uplime has quit [Quit: WeeChat 2.2]
uplime has joined #ruby
tdy has quit [Ping timeout: 244 seconds]
chouhoulis has quit [Ping timeout: 246 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
chouhoulis has quit [Read error: Connection reset by peer]
chouhoulis has joined #ruby
chouhoulis has quit [Read error: Connection reset by peer]
chouhoulis has joined #ruby
<phaul> look, I feel sorry for you to have to work with such old code, and I am speculating the author is long gone and the code is unmaintained for almost a decade, based on sciruby activity plus the licence in the file. The author made code that's used 9 years later, most of us can't say the same so he must have done some thing right... It's just that reading the code now wouldn't fill me with much confidence,
<phaul> especially that probably you can't raise tickets, or contact the author. Maybe time to fork and take over?
chouhoulis has quit [Ping timeout: 268 seconds]
GodFather has quit [Ping timeout: 245 seconds]
davidw has joined #ruby
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 246 seconds]
chouhoulis has joined #ruby
\void has quit [Quit: So long, and thanks for all the fish.]
GodFather has joined #ruby
cthulchu has quit [Ping timeout: 246 seconds]
chouhoulis has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
davidw has quit [Ping timeout: 246 seconds]
sarink has joined #ruby
chouhoulis has quit [Ping timeout: 245 seconds]
chouhoulis has joined #ruby
sarink has quit [Ping timeout: 250 seconds]
arekushi has joined #ruby
chouhoulis has quit [Ping timeout: 268 seconds]
chouhoulis has joined #ruby
Renich_ has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Renich has quit [Ping timeout: 272 seconds]
Renich_ is now known as Renich
chouhoulis has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 272 seconds]
Renich_ has joined #ruby
chouhoulis has joined #ruby
Renich has quit [Ping timeout: 246 seconds]
Renich_ is now known as Renich
tdy has joined #ruby
rkazak has joined #ruby
chouhoulis has quit [Ping timeout: 246 seconds]
chouhoulis has joined #ruby
tiff has joined #ruby
chouhoulis has quit [Ping timeout: 268 seconds]
chouhoulis has joined #ruby
grvgr_ has quit [Quit: grvgr_]
chouhoulis has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
orbyt_ has joined #ruby
tdy has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 250 seconds]
rkazak has quit [Ping timeout: 246 seconds]
<baweaver> phaul: I always get hung up on code style arguments
<baweaver> On one hand it could probably be done better, but on the other it works
chouhoulis has joined #ruby
<baweaver> Really I think I just fall in the camp of making it mutually understandable to whoever is working with you.
<baweaver> Then codifying said standard to prevent shenanigans later.
chouhoulis has quit [Ping timeout: 245 seconds]
chouhoulis has joined #ruby
KeyJoo has joined #ruby
rkazak has joined #ruby
chouhoulis has quit [Ping timeout: 244 seconds]
KeyJoo has quit [Quit: KeyJoo]
chouhoulis has joined #ruby
KeyJoo has joined #ruby
tdy has joined #ruby
chouhoulis has quit [Ping timeout: 246 seconds]
KeyJoo has quit [Client Quit]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 250 seconds]
Dreamer3_ has joined #ruby
chouhoulis has joined #ruby
krawchyk has quit [Quit: krawchyk]
chouhoulis has quit [Ping timeout: 240 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chouhoulis has joined #ruby
KeyJoo has joined #ruby
chouhoulis has quit [Ping timeout: 245 seconds]
chouhoulis has joined #ruby
code_zombie has joined #ruby
chouhoulis has quit [Ping timeout: 245 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 250 seconds]
duderonomy has joined #ruby
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 246 seconds]
chouhoulis has joined #ruby
moei has joined #ruby
chouhoulis has quit [Ping timeout: 268 seconds]
chouhoulis has joined #ruby
unreal has quit [Ping timeout: 245 seconds]
chouhoulis has quit [Ping timeout: 244 seconds]
nowhere_man has joined #ruby
creat has quit [Ping timeout: 250 seconds]
creat has joined #ruby
chouhoulis has joined #ruby
hutch has joined #ruby
chouhoulis has quit [Ping timeout: 272 seconds]
chouhoulis has joined #ruby
arekushi is now known as Guest33581
Guest33581 is now known as arekushi
Guest33581 is now known as arekushi
chouhoulis has quit [Ping timeout: 244 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 246 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 246 seconds]
rkazak has quit [Quit: Sleep.....ing....]
chouhoulis has joined #ruby
tdy has quit [Ping timeout: 240 seconds]
rkazak has joined #ruby
sanscoeur has joined #ruby
chouhoulis has quit [Ping timeout: 268 seconds]
chouhoulis has joined #ruby
r29v has quit [Quit: r29v]
chouhoulis has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
arekushi is now known as Guest33581
Guest33581 is now known as arekushi
arekushi is now known as Guest33581
GodFather has quit [Ping timeout: 250 seconds]
Guest33581 is now known as arekushi
braincrash has quit [Quit: bye bye]
chouhoulis has quit [Ping timeout: 268 seconds]
chouhoulis has joined #ruby
xlued has quit [Remote host closed the connection]
sanscoeur has quit [Remote host closed the connection]
rrichardsr3 has joined #ruby
xlued has joined #ruby
braincrash has joined #ruby
sanscoeur has joined #ruby
chouhoulis has quit [Ping timeout: 246 seconds]
tdy has joined #ruby
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 246 seconds]
chouhoulis has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
nowhere_man has quit [Ping timeout: 252 seconds]
chouhoulis has quit [Ping timeout: 272 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
cschneid has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 250 seconds]
davidw has joined #ruby
chouhoulis has joined #ruby
tdy has quit [Ping timeout: 246 seconds]
sarink has joined #ruby
sarink has quit [Remote host closed the connection]
sarink has joined #ruby
chouhoulis has quit [Ping timeout: 244 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 268 seconds]
grvgr has quit [Quit: Connection closed for inactivity]
chouhoulis has joined #ruby
rkazak has joined #ruby
flips_ has joined #ruby
flips has quit [Read error: Connection reset by peer]
flips_ is now known as flips
chouhoulis has quit [Ping timeout: 246 seconds]
chouhoulis has joined #ruby
sarink has quit [Remote host closed the connection]
chouhoulis has quit [Remote host closed the connection]
sarink has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sarink has quit [Ping timeout: 272 seconds]
sanscoeur has quit [Remote host closed the connection]
chouhoulis has joined #ruby
tdy has joined #ruby
code_zombie has quit [Quit: Leaving]
chouhoulis has quit [Ping timeout: 268 seconds]
duderonomy has joined #ruby
chouhoulis has joined #ruby
duderonomy has quit [Ping timeout: 250 seconds]
chouhoulis has quit [Ping timeout: 245 seconds]
dellavg_ has joined #ruby
chouhoulis has joined #ruby
hutch has quit [Ping timeout: 268 seconds]
chouhoulis has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
rrichardsr3 has quit [Quit: He who dares .... wins.]
chouhoulis has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
hutch has joined #ruby
tdy has quit [Ping timeout: 250 seconds]
chouhoulis has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
dinfuehr has quit [Ping timeout: 268 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
dinfuehr has joined #ruby
chouhoulis has quit [Ping timeout: 272 seconds]
chouhoulis has joined #ruby
dinfuehr has quit [Ping timeout: 250 seconds]
hutch has quit [Ping timeout: 272 seconds]
dinfuehr has joined #ruby
nowhere_man has joined #ruby
chouhoulis has quit [Ping timeout: 258 seconds]
DTZUZO has quit [Ping timeout: 252 seconds]
chouhoulis has joined #ruby
marmotini_ has joined #ruby
rrichardsr3 has joined #ruby
hutch has joined #ruby
zenogais has quit [Ping timeout: 250 seconds]
chouhoulis has quit [Ping timeout: 244 seconds]
rrichardsr3 has quit [Client Quit]
chouhoulis has joined #ruby
DTZUZO has joined #ruby
chouhoulis has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chouhoulis has quit [Ping timeout: 272 seconds]
dellavg_ has quit [Ping timeout: 245 seconds]
tdy has joined #ruby
chouhoulis has joined #ruby
reber has joined #ruby
reber has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 245 seconds]
chouhoulis has joined #ruby
Fusl has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 268 seconds]
chouhoulis has joined #ruby
Fusl has joined #ruby
chouhoulis has quit [Ping timeout: 268 seconds]
grvgr has joined #ruby
esrse has joined #ruby
chouhoulis has joined #ruby
DTZUZO has quit [Ping timeout: 245 seconds]
davidw has quit [Ping timeout: 246 seconds]
chouhoulis has quit [Ping timeout: 258 seconds]
chouhoulis has joined #ruby
conta has joined #ruby
chouhoulis has quit [Ping timeout: 246 seconds]
chouhoulis has joined #ruby
grvgr has quit [Quit: grvgr]
Cthulu201 has quit [Read error: Connection reset by peer]
chouhoulis has quit [Ping timeout: 250 seconds]
Cthulu201 has joined #ruby
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 245 seconds]
hutch has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
mozzarella has quit [Remote host closed the connection]
sanscoeur has joined #ruby
nowhere_man has quit [Ping timeout: 252 seconds]
maufart__ has joined #ruby
mozzarella has joined #ruby
sanscoeur has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 244 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
tdy has quit [Ping timeout: 272 seconds]
chouhoulis has quit [Ping timeout: 246 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 245 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
chouhoulis has joined #ruby
Inline has quit [Quit: Leaving]
chouhoulis has quit [Ping timeout: 258 seconds]
Nicmavr has quit [Read error: Connection reset by peer]
chouhoulis has joined #ruby
Nicmavr has joined #ruby
chouhoulis has quit [Ping timeout: 244 seconds]
Leopere has joined #ruby
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
aupadhye has joined #ruby
chouhoulis has quit [Ping timeout: 250 seconds]
duderonomy has joined #ruby
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 250 seconds]
Xiti` has joined #ruby
Xiti` has quit [Remote host closed the connection]
chouhoulis has joined #ruby
Xiti has quit [Ping timeout: 250 seconds]
jinie has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 258 seconds]
Xiti has joined #ruby
AlHafoudh has joined #ruby
chouhoulis has joined #ruby
akem has quit [Remote host closed the connection]
akem has joined #ruby
djdduty has quit [Ping timeout: 268 seconds]
chouhoulis has quit [Ping timeout: 252 seconds]
profetes has joined #ruby
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 252 seconds]
Renich has quit [Quit: Renich]
ansraliant has joined #ruby
chouhoulis has joined #ruby
djdduty has joined #ruby
tiff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chouhoulis has quit [Ping timeout: 246 seconds]
chouhoulis has joined #ruby
aupadhye has quit [Ping timeout: 240 seconds]
aupadhye has joined #ruby
chouhoulis has quit [Ping timeout: 244 seconds]
aupadhye has quit [Ping timeout: 246 seconds]
aupadhye has joined #ruby
chouhoulis has joined #ruby
sauvin has quit [Ping timeout: 240 seconds]
chouhoulis has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
clemens3 has joined #ruby
s2013 has joined #ruby
s2013 has quit [Max SendQ exceeded]
sauvin has joined #ruby
chouhoulis has quit [Ping timeout: 272 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 272 seconds]
chouhoulis has joined #ruby
hahuang65 has quit [Quit: ZNC 1.7.1 - https://znc.in]
chouhoulis has quit [Ping timeout: 258 seconds]
chouhoulis has joined #ruby
aupadhye has quit [Ping timeout: 268 seconds]
aupadhye has joined #ruby
chouhoulis has quit [Ping timeout: 260 seconds]
hahuang65 has joined #ruby
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 268 seconds]
chouhoulis has joined #ruby
ur5us has quit [Remote host closed the connection]
aupadhye has quit [Ping timeout: 252 seconds]
aupadhye has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Read error: Connection reset by peer]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
ansraliant has quit [Quit: My planet needs me]
nowhere_man has joined #ruby
chouhoulis has quit [Ping timeout: 272 seconds]
ur5us has joined #ruby
chouhoulis has joined #ruby
mikecmpbll has joined #ruby
chouhoulis has quit [Ping timeout: 272 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 246 seconds]
thebigj has left #ruby [#ruby]
chouhoulis has joined #ruby
aupadhye has quit [Ping timeout: 244 seconds]
aupadhye has joined #ruby
chouhoulis has quit [Ping timeout: 258 seconds]
chouhoulis has joined #ruby
aupadhye has quit [Ping timeout: 250 seconds]
chouhoulis has quit [Ping timeout: 272 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 250 seconds]
marz_d`ghostman has joined #ruby
<marz_d`ghostman> Why am I getting an error: mirror_manager.rb:74:in `block in <class:Manager>': undefined method `send_error_notification' for Rise::MirrorManager::Manager:Class (NoMethodError) for my code: https://termbin.com/denk
neuraload has joined #ruby
chouhoulis has joined #ruby
<marz_d`ghostman> I meant: https://termbin.com/xgp2
saTchymoto has joined #ruby
chouhoulis has quit [Ping timeout: 250 seconds]
ellcs has joined #ruby
chouhoulis has joined #ruby
<phaul> because Rise::MirrorManager::Manager does not have send_error_notification method. I bet it has an instance method with that name, that comes from the included Rise::MirrorManager::Notification.
<phaul> but the existance of the instance method is just speculation. What the error says is that there is no class method
chouhoulis has quit [Ping timeout: 250 seconds]
aupadhye has joined #ruby
chouhoulis has joined #ruby
<marz_d`ghostman> phaul: It does, does it matter if it's private or not? I think I'm calling it inside the object context. Perhaps I'm wrong with this at_exit method
lxsameer has joined #ruby
chouhoulis has quit [Ping timeout: 246 seconds]
<phaul> it doesn't matter if it's private.
chouhoulis has joined #ruby
<phaul> you are calling it in class context
<phaul> ah the instance method is defined just a few lines up on line 47, not included from the module.
<marz_d`ghostman> I tried invoking the method directly via Rise::MirrorManager::Notification.send_slack_message, but it gives me the same error
<phaul> class X; def x; end; end # is x class or instance method in this example?
<leftylink> &>> at_exit { p :Etesting }
chouhoulis has quit [Ping timeout: 246 seconds]
<rubydoc> # => #<Proc:0x000056538b10cb80@-e:2> ...check link for more (https://carc.in/#/r/5yru)
<leftylink> oops ,accidental E
<leftylink> unfortunately, either way guess this is not helpful
<leftylink> oh, but it does get shown in the link
<marz_d`ghostman> Ah, I made the module method as a class method via module_function so I can call it in class context
chouhoulis has joined #ruby
fiachetti has joined #ruby
<phaul> send_error_notification is defined in the class as an instance method on line 47, and is not a module_function. unless you also define it in modules that you don't show us
chouhoulis has quit [Ping timeout: 246 seconds]
chouhoulis has joined #ruby
<phaul> &>> class X; at_exit { p self }; end
<rubydoc> # => #<Proc:0x00005651496ab738@-e:2> ...check link for more (https://carc.in/#/r/5yrv)
ur5us has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
<phaul> to reproduce this with a minimal example:
<phaul> &>> class Manager; def send_error_notification; end; at_exit { send_error_notification }; end
<rubydoc> # => #<Proc:0x00005615af300cd0@-e:2> (https://carc.in/#/r/5yrx)
chouhoulis has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
ellcs has quit [Ping timeout: 264 seconds]
neuraload has quit [Read error: Connection reset by peer]
neuraload has joined #ruby
chouhoulis has quit [Ping timeout: 264 seconds]
chouhoulis has joined #ruby
armyriad has quit [Ping timeout: 250 seconds]
chouhoulis has quit [Ping timeout: 252 seconds]
chouhoulis has joined #ruby
conta has quit [Ping timeout: 246 seconds]
chouhoulis has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
lxsameer has quit [Quit: WeeChat 2.3]
chouhoulis has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
fiachetti has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
fiachetti has joined #ruby
armyriad has joined #ruby
chouhoulis has quit [Ping timeout: 258 seconds]
ellcs has joined #ruby
chouhoulis has joined #ruby
np4433 has quit [Quit: WeeChat 1.9.1]
chouhoulis has quit [Ping timeout: 246 seconds]
chouhoulis has joined #ruby
armyriad has quit [Ping timeout: 258 seconds]
chouhoulis has quit [Ping timeout: 252 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 252 seconds]
chouhoulis has joined #ruby
Cthulu201 has quit [Quit: Nowhere special. I always wanted to go there.]
chouhoulis has quit [Ping timeout: 272 seconds]
chouhoulis has joined #ruby
Cthulu201 has joined #ruby
ellcs has quit [Ping timeout: 260 seconds]
chouhoulis has quit [Ping timeout: 244 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 258 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Read error: Connection reset by peer]
sarink has joined #ruby
chouhoulis has joined #ruby
conta has joined #ruby
nertzy has joined #ruby
sarink has quit [Ping timeout: 252 seconds]
chouhoulis has quit [Ping timeout: 258 seconds]
grvgr has joined #ruby
chouhoulis has joined #ruby
SqREL has joined #ruby
grvgr has quit [Client Quit]
nertzy has quit [Quit: This computer has gone to sleep]
chouhoulis has quit [Ping timeout: 258 seconds]
chouhoulis has joined #ruby
akem has quit [Remote host closed the connection]
akem has joined #ruby
chouhoulis has quit [Ping timeout: 272 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 244 seconds]
saTchymoto has quit [Ping timeout: 252 seconds]
saTchymoto has joined #ruby
chouhoulis has joined #ruby
SqREL has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
vonfry has joined #ruby
chouhoulis has quit [Ping timeout: 245 seconds]
chouhoulis has joined #ruby
status402 has joined #ruby
chouhoulis has quit [Ping timeout: 258 seconds]
chouhoulis has joined #ruby
KeyJoo has quit [Quit: KeyJoo]
chouhoulis has quit [Ping timeout: 245 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 244 seconds]
chouhoulis has joined #ruby
fiachetti has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
chouhoulis has quit [Ping timeout: 258 seconds]
chouhoulis has joined #ruby
lucasb has joined #ruby
chouhoulis has quit [Ping timeout: 268 seconds]
chouhoulis has joined #ruby
esrse has quit [Ping timeout: 246 seconds]
chouhoulis has quit [Ping timeout: 268 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
donofrio has joined #ruby
con3 has joined #ruby
saTchymoto has quit [Ping timeout: 244 seconds]
catphish has joined #ruby
<catphish> i have a requirement to run http requests though an ssh connection (in ruby) - is there an obvious approach to this?
saTchymoto has joined #ruby
<catphish> if net::ssh can do port forwarding channels, and i can get net::http to use one, that would be the best
chouhoulis has quit [Ping timeout: 250 seconds]
fiachetti has joined #ruby
chouhoulis has joined #ruby
am0123_ has joined #ruby
<am0123_> Hi guys !!
<phaul> am0123_: hi
vonfry has quit [Ping timeout: 250 seconds]
<am0123_> I'm struggling with this switch case that I found on hackerrank
<am0123_> it looks correct for me
<catphish> it's nonsense
chouhoulis has quit [Ping timeout: 258 seconds]
gregf_ has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<am0123_> even if I change "case true" with "case char"
chouhoulis has joined #ruby
<catphish> i can see how that works, but it's functionally no different to: if ("A".."M").include?(char) == true; puts "hoho"; end
<catphish> i believe the correct approach: case char; when ("A".."M"); puts "hoho"; end
status402 has quit [Read error: Connection reset by peer]
status402 has joined #ruby
<catphish> the point of case is that it compares each "when" item to the "case" item
<am0123_> case char when ("A".."M") puts "hoho" end .... is much better
bijan_ has joined #ruby
<bijan_> Hi is anyone using Textmate2 for Rails with ctags? Wondering how to get gems also included...
<catphish> you can puts within the case statement, or it can return a value as in my link example
nowhere_man has quit [Ping timeout: 252 seconds]
<catphish> am0123_: good luck :)
<am0123_> Thank ...
chouhoulis has quit [Ping timeout: 258 seconds]
chouhoulis has joined #ruby
<am0123_> Now, I don't understand why does `when ("A".."M").include? char` not work while `when (("A".."M").include? char)==true` ? both of the return true of false !!
<catphish> `when ("A".."M").include? char` should work... it evaluates to true when the char is in that range
<catphish> then the case statement compares true with true
<catphish> it's just a horrible way to use "case", you might as well just use if and elsif
chouhoulis has quit [Ping timeout: 258 seconds]
apparition has joined #ruby
uplime has quit [Ping timeout: 250 seconds]
<am0123_> I believe that it's a horrible code XD ... but the interpreter seems reject this code
<am0123_> syntax error, unexpected tIDENTIFIER, expecting keyword_then or ',' or ';' or '\n'
<am0123_> when ("A".."M").include? char
<catphish> try using parenthesis
<catphish> ("A".."M").include?(char)
<catphish> ruby allows method calls without them, but sometimes it's ambiguous and hence not valid
<catphish> i prefer to always use them
<am0123_> It's accepted now
<am0123_> thank you :)
<catphish> don't do "case true" though
<catphish> if you find yourself doing that, just use "if"
<phaul> as a side not there is a boolean case syntax in ruby with ommitting the expression after the case, and just listing whens.
chouhoulis has joined #ruby
<catphish> phaul: interesting
<phaul> &>> case; when 3.odd? then 'odd'; when 3.even?; then 'even'; end
<rubydoc> # => "odd" (https://carc.in/#/r/5ysx)
<catphish> i'd always prefer elsif, but i geuss boolean case has a place
<catphish> they're functionally identical
neuraload has quit [Quit: This computer has gone to sleep]
chouhoulis has quit [Ping timeout: 258 seconds]
neuraload has joined #ruby
kapil____ has joined #ruby
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 245 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Read error: Connection reset by peer]
chouhoulis has joined #ruby
marmotini_ has quit [Remote host closed the connection]
troulouliou_div2 has joined #ruby
lxsameer has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
bijan_ has quit []
chouhoulis has quit [Ping timeout: 250 seconds]
akem has quit [Remote host closed the connection]
akem has joined #ruby
lxsameer has quit [Quit: WeeChat 2.3]
troulouliou_div2 has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
uplime has joined #ruby
DTZUZO has joined #ruby
chouhoulis has quit [Ping timeout: 244 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 252 seconds]
con3 has quit [Remote host closed the connection]
chouhoulis has joined #ruby
apparition has quit [Quit: Bye]
chouhoulis has quit [Ping timeout: 252 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Read error: Connection reset by peer]
nertzy has joined #ruby
troulouliou_div2 has joined #ruby
ViperChief has joined #ruby
chouhoulis has joined #ruby
troulouliou_div2 has quit [Read error: Connection reset by peer]
chouhoulis has quit [Ping timeout: 252 seconds]
nertzy has quit [Quit: This computer has gone to sleep]
chouhoulis has joined #ruby
ellcs has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
status402 has quit [Quit: status402]
uplime has quit [Ping timeout: 252 seconds]
chouhoulis has quit [Ping timeout: 272 seconds]
status402 has joined #ruby
davidw has joined #ruby
chouhoulis has joined #ruby
status402 has quit [Client Quit]
chouhoulis has quit [Ping timeout: 252 seconds]
chouhoulis has joined #ruby
conta has quit [Quit: conta]
conta has joined #ruby
bak1an has joined #ruby
chouhoulis has quit [Ping timeout: 268 seconds]
chouhoulis has joined #ruby
GinoMan has joined #ruby
saTchymoto has quit []
chouhoulis has quit [Ping timeout: 244 seconds]
chouhoulis has joined #ruby
ohcibi has joined #ruby
chouhoulis has quit [Ping timeout: 246 seconds]
twobitsprite has joined #ruby
uplime has joined #ruby
conta has quit [Ping timeout: 252 seconds]
maryo has joined #ruby
ellcs has quit [Ping timeout: 268 seconds]
davidw has quit [Ping timeout: 258 seconds]
rippa has joined #ruby
conta has joined #ruby
am0123_ has quit [Ping timeout: 246 seconds]
<NL3limin4t0r_afk> &>> case 3; when :odd?.to_proc then 'odd'; when :even?.to_proc then 'even'; end
<rubydoc> # => "odd" (https://carc.in/#/r/5yto)
Rapture has joined #ruby
ViperChief has quit [Quit: Leaving]
d^sh_ has quit [Quit: ZNC 1.6.1 - http://znc.in]
lucasb has quit [Quit: Connection closed for inactivity]
hutch has joined #ruby
GodFather has joined #ruby
aupadhye has quit [Remote host closed the connection]
conta2 has joined #ruby
conta2 has quit [Ping timeout: 240 seconds]
profetes has quit [Quit: Leaving]
d^sh has joined #ruby
neuraload has quit [Quit: This computer has gone to sleep]
neuraload has joined #ruby
polishdub has joined #ruby
ogres has joined #ruby
tkonto has joined #ruby
zenogais has joined #ruby
<tkonto> hi all very new to ruby/rails.... need the following... response = RestClient::Request.new(params).execute
<tkonto> if error code !=200 || 201 then retry
<tkonto> I am accessing some external APIs but from time to time a retry is all required.
<tkonto> however unless response.code == 200 || response.code == 201 retry is not vald
<canton7> tkonto, 'unless' with two cases gets confusing fast: don't do it
<canton7> you probably want 'if errorcode != 200 && errorcode != 201' or 'if !(errorcode == 200 || errorcode == 201)'
<canton7> and the syntax is 'if errorcode != 200 && errorcode != 201 <newline> retry <newline> end' or 'retry if errorcode != 200 && errorcode != 201'
d^sh_ has joined #ruby
d^sh has quit [Ping timeout: 250 seconds]
neuraload has quit [Quit: This computer has gone to sleep]
<mspo> yeah stay positive when possible :)
r29v has joined #ruby
<mspo> it's too easy to OR yourself into an always-true or always-false
<baweaver> Honestly I tend to use `include?` to make it more readable
<baweaver> if %w(200 201).include?(response.code)
<havenwood> I was going to say what baweaver said ^ too.
<baweaver> or `in?`: if response.code.in?(%w(200 201))
<havenwood> That extra Array is worth the allocation for expressiveness. Or use TruffleRuby so it folds away. ;P
<baweaver> If people get uppity about performance, just make it a constant
SeepingN has joined #ruby
<baweaver> though really by that point it just gets incredibly pedantic
<phaul> or ask them to measure performance. that usually keeps them busy ;)
<baweaver> I just quote Jira numbers at them that they haven't finished yet.
<mspo> newb question- what is the %w(foo bar) doing there?
<baweaver> word array
<baweaver> &>> %w(foo bar baz)
<rubydoc> # => ["foo", "bar", "baz"] (https://carc.in/#/r/5ytu)
<mspo> thanks
<mspo> I was wanting to see the ["200", "201"] form :)
<havenwood> mspo: Another way you'll commonly see it with %w is with braces: %w[200 201]
<havenwood> &>> %w[200 201]
<rubydoc> # => ["200", "201"] (https://carc.in/#/r/5ytv)
<havenwood> mspo: An advantage is node calling #code twice.
<havenwood> not**
<baweaver> &>> %w{ha ha} + %w|ha ha| + %w+ha ha+
<rubydoc> # => ["ha", "ha", "ha", "ha", "ha", "ha"] (https://carc.in/#/r/5ytx)
<baweaver> Do not look to the person behind the curtain
GinoMan2440 has joined #ruby
<baweaver> Also most code I write should come with a warning label and disclaimer
Dbugger has joined #ruby
GinoMan has quit [Ping timeout: 246 seconds]
twobitsprite has quit [Ping timeout: 246 seconds]
davidw has joined #ruby
Inline has joined #ruby
vondruch has quit [Ping timeout: 268 seconds]
chouhoulis has joined #ruby
d^sh_ has quit [Quit: ZNC 1.6.1 - http://znc.in]
twobitsprite has joined #ruby
chouhoulis has quit [Ping timeout: 268 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Ping timeout: 246 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
bak1an has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
grvgr has joined #ruby
orbyt_ has joined #ruby
GinoMan has joined #ruby
akem has quit [Remote host closed the connection]
akem has joined #ruby
\void has joined #ruby
sanscoeur has joined #ruby
GinoMan2440 has quit [Ping timeout: 240 seconds]
blaguvest has joined #ruby
grvgr_ has joined #ruby
maufart__ has quit [Ping timeout: 244 seconds]
bak1an has joined #ruby
grvgr has quit [Quit: grvgr]
grvgr_ is now known as grvgr
bak1an has quit [Client Quit]
d^sh has joined #ruby
nowhere_man has joined #ruby
marz_d`ghostman has quit [Ping timeout: 256 seconds]
chouhoulis has joined #ruby
sanscoeu_ has joined #ruby
sanscoeu_ has quit [Remote host closed the connection]
kapil____ has quit [Quit: Connection closed for inactivity]
sanscoeur has quit [Ping timeout: 246 seconds]
cthulchu has joined #ruby
eddof13 has joined #ruby
dviola has joined #ruby
sanscoeur has joined #ruby
am0123_ has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Nicmavr has joined #ruby
sanscoeur has quit [Remote host closed the connection]
mikecmpbll has quit [Ping timeout: 250 seconds]
akem__ has joined #ruby
akem has quit [Ping timeout: 268 seconds]
akem__ has quit [Remote host closed the connection]
akem has joined #ruby
cthu| has joined #ruby
akem has quit [Remote host closed the connection]
catphish has quit [Quit: Leaving]
akem has joined #ruby
cthulchu has quit [Ping timeout: 252 seconds]
mikecmpbll has joined #ruby
Aqo has joined #ruby
akem has quit [Remote host closed the connection]
akem has joined #ruby
r29v has quit [Quit: r29v]
akem has quit [Read error: Connection reset by peer]
r29v has joined #ruby
r29v has quit [Client Quit]
akem has joined #ruby
r29v has joined #ruby
akem has quit [Remote host closed the connection]
akem has joined #ruby
cthulchu has joined #ruby
orbyt_ has joined #ruby
cthu| has quit [Ping timeout: 246 seconds]
paraxial has quit [Ping timeout: 252 seconds]
Eiam has quit [Quit: Textual IRC Client: www.textualapp.com]
tkonto has quit [Ping timeout: 258 seconds]
hiroaki has joined #ruby
akem has quit [Read error: Connection reset by peer]
akem has joined #ruby
akem has quit [Remote host closed the connection]
akem has joined #ruby
tkonto has joined #ruby
cthu| has joined #ruby
akem has quit [Read error: Connection reset by peer]
akem has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
d^sh_ has joined #ruby
cthulchu has quit [Ping timeout: 250 seconds]
gix has joined #ruby
SeepingN has quit [Ping timeout: 258 seconds]
jnix has joined #ruby
d^sh has quit [Ping timeout: 240 seconds]
reber has joined #ruby
am0123_ has quit [Ping timeout: 258 seconds]
code_zombie has joined #ruby
tkonto has quit [Ping timeout: 246 seconds]
sameerynho has joined #ruby
orbyt_ has joined #ruby
sanscoeur has joined #ruby
hiroaki has quit [Ping timeout: 252 seconds]
mozzarella has quit [Remote host closed the connection]
twobitsprite has quit [Ping timeout: 244 seconds]
d^sh_ has quit [Quit: ZNC 1.6.1 - http://znc.in]
mozzarella has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dviola> just got a rejection because apparently my code isn't too sandimetz-y
<dviola> one day, one day...
sameerynho has quit [Quit: WeeChat 2.2]
SeepingN has joined #ruby
tdy has joined #ruby
orbyt_ has joined #ruby
<phaul> dviola: take that with a pinch of salt
chouhoulis has quit [Ping timeout: 268 seconds]
<phaul> SM also said first we should just "throw code at the wall and see what sticks".
hiroaki has joined #ruby
grvgr has quit [Quit: Connection closed for inactivity]
<phaul> they meant isn't sandimetz-y _enough_ - right?
<dviola> "A single class/object (`People`) that handles all operations and holds all state is not enough OOP for what we're looking for."
chouhoulis has joined #ruby
<mspo> OOP more, obviously
<mspo> they wanted more inheritance?
<dviola> I didn't ask
<dviola> maybe
<dviola> I replied saying I looked at their repos and couldn't find a single one that the reflects the style they are looking for
<mspo> was this an interview?
<dviola> yes
<mspo> that is weirdly specific
<mspo> imho
<mspo> without a *lot* of very specific guidance being given
profetes has joined #ruby
<dviola> he also said this:
<dviola> "The extension task/requirement, in our tech interview, would've been very difficult with your solution. You would've had to have done quite a bit of live refactoring. Just saving both of us the trouble. Yes, "not enough OOP" is an entirely subjective opinion, and it's just about compatibility/fit, rather than right/wrong. You have zero reason to change your coding style from this interview."
<mspo> so there were followup things in the in-person
<mspo> and he didn't think your initial take-home was flexible enough to solve those
clemens3 has quit [Ping timeout: 246 seconds]
<dviola> it was for a remote position
<mspo> brutal
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mspo> dviola: clearly you can only ever write in a single style and would never absorb institutional practices
<dviola> ha :P
uplime has quit [Quit: WeeChat 2.2]
* dviola reads the POODR
twobitsprite has joined #ruby
maryo_ has joined #ruby
<phaul> this also reminds me the break up phrase "it's not you - it's me". Thanks very much. we all know what that means. If they beleive in what they are saying they should at least stand by it, rather than this "fit/compatibility" nonsese. Also introducing classes for the sake of it is just stupid and nothing more but cargo cult programming.
maryo has quit [Ping timeout: 272 seconds]
crankharder has quit [Remote host closed the connection]
tomaw has quit [Read error: Connection reset by peer]
tomaw has joined #ruby
<dviola> agreed
crankharder has joined #ruby
d^sh has joined #ruby
<dviola> silver bullet thinking
conta has quit [Quit: conta]
Wafficus has joined #ruby
<Wafficus> hi there is Learn Ruby The Hard Way a good beginner resource? if not, what is a better one?
Dbugger has quit [Ping timeout: 264 seconds]
GinoMan2440 has joined #ruby
GinoMan has quit [Ping timeout: 246 seconds]
fiachetti has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
fiachetti has joined #ruby
tdy has quit [Ping timeout: 258 seconds]
duderonomy has joined #ruby
<Wafficus> whats a good beginner book?
<TheNet> Wafficus: do you have existing programming experience?
<Wafficus> yeah in python
<Wafficus> halfway through automate the boring stuff
<Wafficus> and have a few webscrapers that post oj twitter
<Wafficus> *on
sarink has joined #ruby
sarink has quit [Ping timeout: 258 seconds]
<Wafficus> how would you compare this with learn ruby the hard way
<Wafficus> ?
<Wafficus> this book looks good though
<mspo> lrthw has a good price ;)
profetes has quit [Quit: Leaving]
sarink has joined #ruby
fiachetti has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
fiachetti has joined #ruby
ur5us has joined #ruby
snuz has joined #ruby
snuz has quit [Client Quit]
tdy has joined #ruby
sarink has quit []
Fernando-Basso has joined #ruby
ogres has quit [Quit: Connection closed for inactivity]
troulouliou_div2 has joined #ruby
reber has quit [Remote host closed the connection]
spacesuitdiver has joined #ruby
troulouliou_div2 has quit [Ping timeout: 245 seconds]
<zenspider_> Wafficus: how much of a beginner?
<zenspider_> dviola: I'm curious... What was the interview problem? I've had a few rejections lately and I don't even get feedback.
arup_r has joined #ruby
<mspo> yeah getting feedback at all is super weird
<mspo> usually it's just ghost you for a month :)
<SeepingN> So my issue with the console not returning numeric values is something to do with "wirb"
<mspo> luckily you only have to deal with working for 40 years or so
<zenspider_> I don't get ghosted (yet?) ... just "no"
zenspider_ is now known as zenspider
<zenspider> mspo: we'll see about that... guess I'm most of the way there. :P
<mspo> zenspider: most of the way into your 40 years of work?
<dviola> zenspider: lol
gix has quit [Ping timeout: 250 seconds]
<Wafficus> zenspider: www.musimatic.net is my site so let me know if im too much a be beginner
arup_r has quit []
<dviola> that's just sad
gix has joined #ruby
tdy has quit [Ping timeout: 272 seconds]
chouhoulis has quit [Ping timeout: 246 seconds]
Azure has quit [Remote host closed the connection]
<Iambchop> Wafficus: I have LRTHW and it looks like a fine option. If its style works for you, go with it; the channel topic has a link to more book suggestions: https://goo.gl/wpGhoQ
<Wafficus> cool thanks
Dreamer3_ has quit [Quit: Leaving...]
drale2k_ has joined #ruby
drale2k_ has quit [Client Quit]
polishdub has quit [Quit: leaving]
arquebus has joined #ruby
lytol_ has quit [Remote host closed the connection]
ivanskie has joined #ruby
orbyt_ has joined #ruby
Azure has joined #ruby
<phaul> Wafficus: are you aware of https://sonic-pi.net/ ?
<phaul> you might like it
<baweaver> phaul: Speaking of, want to see something fun?
<phaul> hit me :)
tiff has joined #ruby
drale2k_ has joined #ruby
sputnik13 has joined #ruby
fowlduck has quit [Ping timeout: 252 seconds]
saysjonathan has joined #ruby
arquebus has quit [Quit: Konversation terminated!]
saysjonathan has quit [Client Quit]
saysjonathan has joined #ruby
Wafficus has quit [Quit: WeeChat 2.2]
drale2k_ has quit [Client Quit]
fowlduck has joined #ruby
saysjonathan has quit [Client Quit]
saysjonathan has joined #ruby
<zenspider> dviola: that is so poorly described... I'm not sure I even get it.
<zenspider> mspo: yes
<zenspider> I'm old
<ivanskie> can a guard line be 'continue' or something like that in a method?
<ivanskie> oh nevermind
sputnik13 has quit [Quit: Textual IRC Client: www.textualapp.com]
sputnik13 has joined #ruby
<zenspider> ivanskie: break/redo/next/retry... detailed in my quickref
<ivanskie> thanks
saysjonathan has quit [Ping timeout: 250 seconds]
ltd has joined #ruby
tdy has joined #ruby
twobitsprite has quit [Ping timeout: 268 seconds]
akem has quit [Remote host closed the connection]
akem has joined #ruby
ivanskie has quit [Quit: Textual IRC Client: www.textualapp.com]
<dviola> zenspider: yep, I think I had to read it multiples times before it started making sense
ellcs has joined #ruby
sputnik13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drale2k_ has joined #ruby
sputnik13 has joined #ruby
crankharder has quit [Ping timeout: 258 seconds]
AJA4350 has joined #ruby
uplime has joined #ruby
sputnik13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
saysjonathan has joined #ruby
tdy has quit [Ping timeout: 268 seconds]
brandonkal has quit [Quit: Textual IRC Client: www.textualapp.com]
orbyt_ has joined #ruby
Cybergeek has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
RougeR has joined #ruby
sanscoeur has quit [Ping timeout: 244 seconds]
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Fernando-Basso has quit [Remote host closed the connection]
code_zombie has quit [Quit: Leaving]
tdy has joined #ruby
uplime has quit [Remote host closed the connection]
tdy has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
spacesuitdiver has quit [Ping timeout: 246 seconds]
sputnik13 has joined #ruby
tdy has joined #ruby
maryo_ has quit [Ping timeout: 268 seconds]
s3nd1v0g1us has joined #ruby
ruby[bot] has quit [Ping timeout: 252 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cd has joined #ruby
tdy has quit [Ping timeout: 258 seconds]
sputnik13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
saysjonathan has quit [Ping timeout: 258 seconds]
orbyt_ has joined #ruby
drale2k_ has joined #ruby
spacesuitdiver has joined #ruby
spacesuitdiver has quit [Client Quit]