havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.7.0, 2.6.5, 2.5.7: 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!
NightMonkey_ has quit [Quit: ZNC - http://znc.in]
Rob__ has joined #ruby
TCZ has quit [Quit: Leaving]
NightMonkey has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 258 seconds]
ur5us has joined #ruby
cc_ has joined #ruby
<phaul> hm. it doesn't look nice, with all those messages sent to args, but I'm not sure how to improve on it
cc__ has quit [Ping timeout: 252 seconds]
<phaul> maybe message could be transformed into something that just responds with exactly the format you want? then it would be message.formated
s3nd1v0g1us has quit [Quit: WeeChat 2.6]
<phaul> ofc then there is extra class, and message would be looking just as bad. alhtough there you might be able to isolate the separate steps into private instance methods
<phaul> oh, that and the combination of e makes up the new class.. I'm not sure if this is actually better
orbyt_ has joined #ruby
gavlee has joined #ruby
<phaul> you can do something more compact like message = nil if message.empty?; [message, e.message, e.backtrace].compact.join($/) more or less
<phaul> you can use the splat here too, *e.backtrace to make it one array
my_dude has quit [Quit: ZZZzzz…]
Guest58 has left #ruby ["Textual IRC Client: www.textualapp.com"]
<phaul> https://dpaste.org/Eb4q, thejunkjon ?
chalkmonster has joined #ruby
target_finder has joined #ruby
TCZ has joined #ruby
gix has quit [Ping timeout: 240 seconds]
<thejunkjon> thanks phaul for all the help. this looks a lot better
<thejunkjon> sorry I had to step away for a bit.
target_finder has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
meinside has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.7.1]
chalkmonster has joined #ruby
chalkmonster has quit [Client Quit]
DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
mossplix has joined #ruby
DaRock has quit [Read error: Connection reset by peer]
DaRock has joined #ruby
DaRock has quit [Read error: Connection reset by peer]
mossplix has quit [Ping timeout: 252 seconds]
DaRock has joined #ruby
codefriar has joined #ruby
DaRock has quit [Ping timeout: 260 seconds]
NODE has quit [Quit: changing servers]
NODE has joined #ruby
psj has joined #ruby
psj has quit [Client Quit]
codefriar has quit [Ping timeout: 252 seconds]
DaRock has joined #ruby
DTZUZU has quit [Ping timeout: 268 seconds]
DaRock has quit [Read error: Connection reset by peer]
ttoocs has joined #ruby
DTZUZU has joined #ruby
TCZ has quit [Quit: Leaving]
spikemaster has joined #ruby
polishdub has joined #ruby
cthulchu_ has joined #ruby
OneNeptune has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Xiti` has joined #ruby
DaRock has joined #ruby
Xiti` has quit [Read error: Connection reset by peer]
Xiti has quit [Quit: Leaving]
Xiti has joined #ruby
thejunkjon has quit [Quit: leaving]
NODE has quit [Quit: changing servers]
NODE has joined #ruby
my_dude has joined #ruby
spikemaster has left #ruby ["ERC (IRC client for Emacs 28.0.50)"]
<astronautical> I wanna stay on Ruby 2.6.5 but also try 2.7 if I want to. How do I do it?
DTZUZU has quit [Quit: WeeChat 2.7]
my_dude has quit [Quit: ZZZzzz…]
my_dude has joined #ruby
alfiemax has joined #ruby
alfiemax has quit [Ping timeout: 255 seconds]
dionysus69 has quit [Ping timeout: 265 seconds]
polishdub has quit [Quit: leaving]
ur5us has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
braincrash has quit [Quit: bye bye]
<havenwood> astronautical: How'd you install Ruby?
<havenwood> astronautical: Folk often use a Ruby version switcher like chruby, rbenv or RVM.
<astronautical> I just went on Ruby Installer and used the executable. I should use one of those.
<devney> srsly just use chruby it will make your life easier
<devney> until you know what you're doing
<astronautical> thanks I'll Google that
braincrash has joined #ruby
<astronautical> oh havenwood I am simonfromspace, this is the handle I've registered on freenode
my_dude has quit [Ping timeout: 272 seconds]
<havenwood> astronautical: There are Ruby version switchers that work on Windows, like pik and uru, but unsure if one is maintained: https://bitbucket.org/jonforums/uru/src/master/
<havenwood> astronautical: You might do better just using WSL2 for Ruby: https://www.hanselman.com/blog/RubyOnRailsOnWindowsIsNotJustPossibleItsFabulousUsingWSL2AndVSCode.aspx
<havenwood> astronautical: Then you can use chruby. :)
<astronautical> Thank you so much!
cc_ has quit [Remote host closed the connection]
<astronautical> Oh since you're here, havenwood, got any suggestions for a good book on Ruby. I am gonna learn Rails next, just so you know. I am thinking to pick up POODR but I wanted a second opinion.
<devney> Can't go wrong with O'Reilly.
<havenwood> astronautical: Here's a list of books that baweaver put together: https://gist.github.com/baweaver/57a7c8296ca2c03effbd8fac1e7f6b40
<havenwood> astronautical: POODR should be good!
DTZUZU has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
evdubs has quit [Ping timeout: 240 seconds]
evdubs has joined #ruby
siery has quit [Ping timeout: 258 seconds]
DaRock has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
DaRock has joined #ruby
DTZUZU has quit [Quit: WeeChat 2.7]
cthulchu_ has quit [Ping timeout: 260 seconds]
DTZUZU has joined #ruby
<astronautical> devney, isn't O-Reilly a publisher?
ur5us has quit [Ping timeout: 240 seconds]
LinuxKnight has joined #ruby
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
<astronautical> havenwood, looks like you've been working on The Illustrated Guide to Ruby. Very nice! I'll read it.
jenrzzz has joined #ruby
donofrio has quit [Remote host closed the connection]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
nixy371 has quit [Quit: The Lounge - https://thelounge.chat]
nixy371 has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
mossplix has joined #ruby
jenrzzz has joined #ruby
mossplix has quit [Ping timeout: 252 seconds]
astronautical has quit [Ping timeout: 272 seconds]
al2o3-cr has quit [Quit: WeeChat 2.7.1]
al2o3-cr has joined #ruby
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
zlogan has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
Emmanuel_Chanel has joined #ruby
astronautical has joined #ruby
cd has quit [Quit: cd]
tau has joined #ruby
tau has quit [Read error: No route to host]
NODE has quit [Quit: changing servers]
tau has joined #ruby
tau has quit [Read error: Connection reset by peer]
NODE has joined #ruby
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rippa has joined #ruby
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
astronautical has quit [Quit: Leaving]
astronautical has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
rg_3[m] has joined #ruby
Ai9zO5AP has quit [Quit: WeeChat 2.7]
cnsvc_ has joined #ruby
cnsvc has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
g3funk has quit [Ping timeout: 255 seconds]
conta has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
fercell has joined #ruby
alfiemax has quit [Remote host closed the connection]
noboruma has joined #ruby
infinityfye has joined #ruby
alfiemax has joined #ruby
sdu has joined #ruby
fphilipe_ has quit [Ping timeout: 248 seconds]
clemens3 has quit [Ping timeout: 265 seconds]
alfiemax has quit [Remote host closed the connection]
vondruch has quit [Quit: vondruch]
conta has quit [Quit: conta]
jenrzzz has joined #ruby
fphilipe_ has joined #ruby
alfiemax has joined #ruby
cnsvc_ has quit [Ping timeout: 240 seconds]
cnsvc_ has joined #ruby
prestorium has joined #ruby
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
Bounga has joined #ruby
stdedos has quit [Remote host closed the connection]
noboruma has quit [Ping timeout: 260 seconds]
ur5us has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 255 seconds]
stooj has quit [Ping timeout: 240 seconds]
stooj has joined #ruby
stooj has quit [Ping timeout: 260 seconds]
clemens3 has joined #ruby
lxsameer has joined #ruby
vondruch has joined #ruby
dionysus69 has joined #ruby
mossplix has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
TomyWork has joined #ruby
NODE has quit [Quit: changing servers]
NODE has joined #ruby
alfiemax has quit [Remote host closed the connection]
Tuor has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
alfiemax has joined #ruby
Tuor has joined #ruby
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
stooj has joined #ruby
Fernando-Basso has joined #ruby
conta has joined #ruby
cnsvc_ has quit [Ping timeout: 240 seconds]
arahael has joined #ruby
g3funk has joined #ruby
g3funk has quit [Ping timeout: 258 seconds]
GodFather has quit [Read error: Connection reset by peer]
GodFather has joined #ruby
astronautical has quit [Ping timeout: 255 seconds]
cnsvc_ has joined #ruby
alexherbo2 has joined #ruby
jenrzzz has joined #ruby
cnsvc_ has quit [Ping timeout: 240 seconds]
alfiemax has quit [Remote host closed the connection]
conta has quit [Quit: conta]
alfiemax has joined #ruby
sergioro has quit [Quit: leaving]
cnsvc_ has joined #ruby
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
alfiemax has quit [Remote host closed the connection]
cnsvc_ has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
chalkmonster has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
cnsvc_ has joined #ruby
TzilTzal has joined #ruby
cnsvc_ has quit [Ping timeout: 240 seconds]
dreamreal has quit [Remote host closed the connection]
dreamreal has joined #ruby
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
Bounga has quit [Ping timeout: 272 seconds]
royal_screwup21 has joined #ruby
donofrio has joined #ruby
mossplix has quit [Remote host closed the connection]
mossplix has joined #ruby
cnsvc_ has joined #ruby
mossplix has quit [Ping timeout: 265 seconds]
cnsvc_ has quit [Ping timeout: 240 seconds]
TzilTzal has quit [Quit: Leaving.]
ellcs has joined #ruby
royal_screwup21 has quit [Remote host closed the connection]
infinityfye_ has joined #ruby
pinpox- has joined #ruby
infinityfye has quit [Ping timeout: 255 seconds]
meinside has quit [Quit: Connection closed for inactivity]
pinpox has quit [Ping timeout: 272 seconds]
cnsvc_ has joined #ruby
pinpox- is now known as pinpox
cnsvc_ has quit [Ping timeout: 240 seconds]
royal_screwup21 has joined #ruby
oneeggeach has joined #ruby
ellcs has quit [Ping timeout: 260 seconds]
alfiemax has quit [Remote host closed the connection]
dStromboli has quit [Ping timeout: 272 seconds]
donofrio has quit [Read error: Connection reset by peer]
donofrio has joined #ruby
leitz has joined #ruby
segy has quit [Excess Flood]
segy has joined #ruby
<leitz> Is there a project based technical reason to choose unittest vs rspec?
cnsvc_ has joined #ruby
<rg_3[m]> i recommend using rspec. i've tried all testing frameworks before settling on rspec. rspec is widely used and understood.
dStromboli has joined #ruby
banisterfiend has joined #ruby
oneeggeach has quit [Remote host closed the connection]
cnsvc_ has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
<leitz> rg_3[m], I like rspec. I also like that there's a book or two about it, since I learn best from books. :)
fanta1 has joined #ruby
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
<rg_3[m]> the genius of rspec is that you can often guess the API and get it right :)
astronautical has joined #ruby
astronautical has quit [Remote host closed the connection]
chalkmonster has quit [Quit: WeeChat 2.7.1]
markopasha has joined #ruby
alfiemax has quit [Remote host closed the connection]
lucasb has joined #ruby
alfiemax has joined #ruby
jcalla has quit [Ping timeout: 265 seconds]
banisterfiend has quit [Ping timeout: 258 seconds]
alfiemax has quit [Remote host closed the connection]
Esa_ has joined #ruby
cnsvc_ has joined #ruby
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
cnsvc_ has quit [Ping timeout: 240 seconds]
robotmay has quit [Remote host closed the connection]
robotmay has joined #ruby
siery has joined #ruby
g3funk has joined #ruby
cisco has joined #ruby
royal_screwup21 has quit [Remote host closed the connection]
Fernando-Basso has quit [Quit: Leaving]
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
jmcgnh has quit [Read error: Connection reset by peer]
jmcgnh has joined #ruby
<leitz> I have only used rspec and unittest, and rspec seems better for interacting with external things like DB queries. Of course, that may just be my lack of knowledge.
alexherbo2 has joined #ruby
postmodern has quit [Quit: Leaving]
<rg_3[m]> sounds about right, testing is usually easier in rspec
mossplix has joined #ruby
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
pupsikov has joined #ruby
infinityfye_ has quit [Quit: Leaving]
cnsvc_ has joined #ruby
jmcgnh has quit [Read error: Connection reset by peer]
jcalla has joined #ruby
<liKe2k1> Now I'm a little bit confused. I completly disable the http boot feature (using old tftp style) but the error occurs too... wth!
chalkmonster has joined #ruby
mossplix has quit [Remote host closed the connection]
mossplix has joined #ruby
jmcgnh has joined #ruby
<liKe2k1> After serval restarts of the foreman-proxy service it works now... hmm
mossplix has quit [Ping timeout: 272 seconds]
mossplix has joined #ruby
<adam12> leitz: RSpec includes more out of the box. For a technical choice, I'd say that installing rspec is simpler than installing minitest, minitest-sprint, minitest-runners, minitest-hooks, minitest-focus, minitest-metadata, mocha.
<rg_3[m]> i can't stand minitest tbh
<rg_3[m]> using it made me hate it lol
alfiemax has joined #ruby
fig-le-deunch has joined #ruby
alfiemax has quit [Remote host closed the connection]
drincruz has joined #ruby
<leitz> adam12, I was thinking about unittest, which seems to be installed by default. But, as an apprentice coder, I'd like to get *good* at one testing tool first, and RSpec seems to be a good choice.
<adam12> leitz: Definitely spend the money on the RSpec book from PragProg.
<rg_3[m]> isn't unit test Minitest powered nowadays?
<adam12> leitz: You might find RSpec a little easier to get going with? Only because it ships with the runner, can run by line number, and displays failing tests.
<leitz> adam12, I'd rather not do that, again. Already have it. Love it, too! It showed me stuff that helped my Sinatra-fu as well.
impermanence has joined #ruby
ttoocs has quit [Ping timeout: 272 seconds]
john2496 has joined #ruby
sdu has quit [Remote host closed the connection]
sdu has joined #ruby
HiChina has joined #ruby
<HiChina> 大家好
<HiChina> 我想问一下,有没有比较好的学习ruby的途径
markopasha has quit [Ping timeout: 265 seconds]
vdl has joined #ruby
DaRock has quit [Ping timeout: 272 seconds]
dionysus69 has quit [Quit: dionysus69]
chalkmonster has quit [Quit: WeeChat 2.7.1]
sdu has quit [Remote host closed the connection]
HiChina has left #ruby [#ruby]
cnsvc_ has quit [Ping timeout: 240 seconds]
mossplix has quit [Remote host closed the connection]
MrCrackPot has quit [Remote host closed the connection]
MrCrackPot has joined #ruby
hramrach has quit [Ping timeout: 240 seconds]
MrCrackPot has quit [Remote host closed the connection]
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
cthulchu_ has joined #ruby
mossplix has joined #ruby
tau has joined #ruby
mossplix has quit [Remote host closed the connection]
mossplix has joined #ruby
citizentwo has joined #ruby
alfiemax has joined #ruby
StoneCypherWork has joined #ruby
mossplix has quit [Ping timeout: 252 seconds]
s2013 has joined #ruby
davidw has joined #ruby
davidw has quit [Changing host]
davidw has joined #ruby
alfiemax_ has joined #ruby
alfiemax has quit [Ping timeout: 272 seconds]
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
fercell has quit [Quit: WeeChat 2.7]
gix has joined #ruby
TomyWork has quit [Ping timeout: 256 seconds]
cnsvc_ has joined #ruby
mossplix has joined #ruby
mossplix has quit [Ping timeout: 260 seconds]
codefriar has joined #ruby
<smoochsmooch> leitz: I don't understand your hate towards Rails to be honest :)
fig-le-deunch has quit [Quit: Konversation terminated!]
<smoochsmooch> It's the same as Sinatra except millions of more use it. If you want to strip it down to Sinatra-level, I don't see what's stopping you.
<tau> i wish i knew rails.
<tau> i postponed getting good with ruby for years.
<tau> i kept using python all time. python jobs suck.
<tau> people who deal with python are mostly scammers it seems.
<tau> that may be due to the fact it is probably the most used language around also it is relatively easy to learn.
<tau> so a lot of low morals ppl get into it.
StoneCypherWork has quit [Ping timeout: 255 seconds]
<tau> something that annoys me in ruby it is the indenting and the end things. it makes code look messed up but ruby is itself a really powerful language.
<tau> thats like me. ugly but powerful :P
<smoochsmooch> leitz: Did you really register rubymentoring.org and .net? And under an anonymous name?
alfiemax_ has quit [Remote host closed the connection]
<smoochsmooch> leitz: You better pay me 50% of your income from those sites for giving you the idea.
codefriar has quit [Quit: Textual IRC Client: www.textualapp.com]
TzilTzal has joined #ruby
cnsvc_ has quit [Ping timeout: 240 seconds]
StoneCypherWork has joined #ruby
lineus has quit [Ping timeout: 240 seconds]
citizentwo has quit [Remote host closed the connection]
lineus has joined #ruby
clemens3 has quit [Ping timeout: 255 seconds]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
Eiam has joined #ruby
prestorium has quit [Ping timeout: 258 seconds]
citizentwo has joined #ruby
LinuxKnight has quit [Ping timeout: 258 seconds]
pupsikov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cnsvc_ has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
siery has quit [Ping timeout: 258 seconds]
lxsameer has quit [Ping timeout: 258 seconds]
schne1der has joined #ruby
StoneCypherWork has quit [Ping timeout: 260 seconds]
apotheos is now known as apotheon
cisco has quit [Ping timeout: 240 seconds]
splud_wurk has joined #ruby
impermanence has quit [Ping timeout: 255 seconds]
<leitz> smoochsmooch/ratah, sorry. No sense of humor today.
StoneCypherWork has joined #ruby
dhollinger has joined #ruby
<smoochsmooch> leitz: Still odd that you registered the .org and .net right after I took the .com, and then immediately proceeding to disrespect Rails over PM.
<smoochsmooch> Might be easy to create a basic market place, but to create a Ruby brand that'll resonate decades from now is a whole 'nother ball game. Especially one that doesn't make use of the traditional, over-used cut gem idea.
<smoochsmooch> Ref. Adam Sandler's new award-winning movie Uncut Gems
<smoochsmooch> https://i.ytimg.com/vi/Pf3pjuvrYAw/maxresdefault.jpg looks quite interesting.
coffeex3 has joined #ruby
s2013 has joined #ruby
StoneCypherWork has quit [Ping timeout: 255 seconds]
ellcs has joined #ruby
ellcs has quit [Max SendQ exceeded]
xxdxxd has joined #ruby
pupsikov has joined #ruby
ellcs has joined #ruby
coffeex3 has quit [Ping timeout: 260 seconds]
s2013 has quit [Ping timeout: 260 seconds]
StoneCypherWork has joined #ruby
cd has joined #ruby
ecrist has joined #ruby
<ecrist> Hi folks. Maybe this has been asked already, but I'll be damned if I can find it. macOS Mojave (and others) include Ruby Gems as part of the base OS, on a SIP-protected path. Does anyone know know what Apple update upgrades them to to 3.1.2 from 2.5.2.3? Somewhere along the line, one of the 15 Macs I manage was updated, but the rest have not been. It's driving me crazy.
<leitz> smoochsmooch/ratah, not sure what your concern is. In our PM, you were looking for a revenue stream. I'm not. You were looking for a larger system than I am. Our visions seem vastly different, and that's okay.
<leitz> As far as sharing money, I don't plan on making any. I've done community websites before, so the idea isn't really new, nor is it something to get worked up about.
<smoochsmooch> leitz: Don't get me wrong, I couldn't care less about revenue. My only vision was to create a place for mentors and mentees.
<smoochsmooch> Your vision, however, seemed to just be copying mine. While at the same time disrespecting what many of us here stand for.
<leitz> Well, how about this. I'll sell you the domains for exactly what I paid for them, and they'll be all yours. My vision is based of PHPMentoring, where I was a participant. And, of course, mentoring I've given and received over the years.
<smoochsmooch> I don't want any beef with you. My only point was that Rails is a perfectly able Ruby web framework. And if you want to copy my ideas, you have a lot of work to do.
ellcs has quit [Ping timeout: 240 seconds]
<leitz> Rails is an able web framework. No argument. Your ideas are yours, no argument there, either. The ideas you expressed to me, and my ideas, are vastly different. No real overlap.
cliluw has quit [Ping timeout: 260 seconds]
cliluw has joined #ruby
ellcs has joined #ruby
ellcs has quit [Max SendQ exceeded]
ellcs has joined #ruby
TzilTzal has quit [Quit: Leaving.]
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
code_zombie has joined #ruby
xxdxxd has quit [Quit: xxdxxd]
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
StoneCypherWork has quit [Ping timeout: 272 seconds]
cliluw has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 240 seconds]
cliluw has joined #ruby
StoneCypherWork has joined #ruby
jenrzzz has joined #ruby
akemhp has quit [Remote host closed the connection]
akemhp has joined #ruby
Ai9zO5AP has joined #ruby
mossplix has joined #ruby
ellcs has quit [Ping timeout: 240 seconds]
StoneCypherWork has quit [Ping timeout: 260 seconds]
ur5us has joined #ruby
Inside has joined #ruby
<Inside> Hey folks!
<adam12> Inside: heyo!
<Inside> Are there any concerns with upgrading from say.. ruby 2.4 to ruby 2.5?
<adam12> Inside: Not normally. Biggest one right now is Ruby 2.7 has many _deprecation_ warnings.
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
<Inside> ok, should I just jump to 2.6?
<adam12> Inside: Sure. That's why you have good test coverage ;)
<Inside> heh
Ai9zO5AP has quit [Ping timeout: 258 seconds]
drincruz_ has joined #ruby
drincruz has quit [Ping timeout: 240 seconds]
<adam12> Inside: Ruby 3 will have some breaking changes around keyword args so 2.7 is prepping for that. I don't remember having any issues moving along 2.4, 2.5, etc.
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
<Inside> This is the first time in a while that I've stumbled across a feature from a "future" version :p
<Inside> That I wanted to have - so that's why I haven't been keeping current, heh.
<adam12> Inside: Hah! Well it's a good idea to keep up with current releases, but definitely look at the backports gem.
Ai9zO5AP has joined #ruby
ellcs has joined #ruby
<Inside> Huh, a type system in ruby 3
<Inside> neat
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
StoneCypherWork has joined #ruby
ecrist has left #ruby [#ruby]
Inside has quit [Quit: leaving]
hiroaki_ has joined #ruby
coffeex3 has joined #ruby
fanta1 has quit [Quit: fanta1]
ellcs has quit [Ping timeout: 240 seconds]
galaxie has quit [Ping timeout: 240 seconds]
coffeex3 has quit [Ping timeout: 255 seconds]
<leitz> What's the advantage of a type system?
<apotheon> functions knowing what to do with your data
<apotheon> operator overloading
noboruma has joined #ruby
citizentwo has quit [Remote host closed the connection]
<leitz> apotheon, sorry. I'm such a newbie that I don't understand. We can already overload operators, right?
nowhere_man has joined #ruby
citizentwo has joined #ruby
troulouliou_dev has joined #ruby
<apotheon> leitz: Ruby already had a type system, too.
<apotheon> I'm not sure what's different about a type system in Ruby 3. I haven't really looked into it.
<apotheon> Anyway, I was just answering the general question, not the Ruby-specific question.
citizentwo has quit [Remote host closed the connection]
<leitz> Ah, thanks! I'm happy to stumble around with Ruby as is. Pretty fun to just get things done.
<apotheon> I don't mean that operator overloading is *possible* because of a type system, but rather that operator overloading can be (more deterministically) used for benefits involving different datums with a solid type system.
<apotheon> I like Ruby quite a lot.
<apotheon> Maybe the biggest benefit of adding some kind of static-ish type system would be getting more developers to not reject Ruby on specious, prejudicial grounds.
<apotheon> a technical solution to a social problem
<apotheon> I should probably read something about Ruby 3 plans, so I have some clue what I'm saying.
<leitz> Yeah, I get that as an idea. On the other hand, I think Ruby people are able to get things done pretty quickly. That's my future state, anyway.
<leitz> If I can do a proof of concept in Ruby, then if computational performance or other factors necessitate a different language, we're already forward a bit and are finding the problems we wouldn't have known about otherwise.
troulouliou_dev has quit [Remote host closed the connection]
SeepingN has joined #ruby
<leitz> Plus, it helped with my last job interview as well, even though they don't have any Ruby. :)
<apotheon> cool
<apotheon> I often get things done pretty quickly in Ruby.
<apotheon> I often start with sh for very small things, then turn them into Ruby projects. For webdev, it's pretty much all Ruby all the time if there isn't some outside force pushing me to use something else.
citizentwo has joined #ruby
comet23 has joined #ruby
<comet23> are there any ruby programming certifications
<comet23> what will it do for my cv?
<leitz> comet23, it depends. It will push you to understand Ruby, whether or not you can actually code in it. Some jobs require certification in some language, so it would answer that.
<leitz> On the other hand, writing good code and participating in projects lets you build a "code resume" that potential employers can view. That may speak more for your CV than a certification, it depends on the company.
<leitz> comet23, personally, I'm building my code resume. I'd like to do Ruby certification, but more as a self test. I'm not there yet.
<leitz> That help?
<al2o3-cr> &>> GC.compact.then { _1[:considered].merge(_1[:moved]) { |_, v1, v2| v1 - v2 } }
<rubydoc> # => {:T_NONE=>1803, :T_OBJECT=>0, :T_CLASS=>0, :T_MODULE=>0, :T_FLOAT=>0, :T_STRING=>0, :T_REGEXP=>0,... check link for more (https://carc.in/#/r/8m9d)
<al2o3-cr> 7 zombies
<leitz> al2o3-cr, ??
<al2o3-cr> &>> GC.compact.then { _1[:considered].merge(_1[:moved]) { |_, v1, v2| v1 - v2 } }[:T_ZOMBIE]
<rubydoc> # => 8 (https://carc.in/#/r/8m9e)
drincruz has joined #ruby
drincruz_ has quit [Ping timeout: 272 seconds]
<al2o3-cr> leitz: i was testing something.
<al2o3-cr> leitz: it means 8 objects are awaiting finalisation.
markopasha has joined #ruby
tau has quit [Read error: Connection reset by peer]
cnsvc_ has quit [Ping timeout: 240 seconds]
noboruma has quit [Ping timeout: 258 seconds]
al2o3-cr has quit [Quit: WeeChat 2.7.1]
royal_screwup21 has joined #ruby
citizentwo has quit [Remote host closed the connection]
citizentwo has joined #ruby
al2o3-cr has joined #ruby
troulouliou_dev has joined #ruby
noboruma has joined #ruby
troulouliou_dev has quit [Remote host closed the connection]
Macrobiotic has joined #ruby
noboruma has quit [Ping timeout: 255 seconds]
cliluw has quit [Ping timeout: 272 seconds]
cliluw has joined #ruby
citizentwo has quit [Remote host closed the connection]
citizentwo has joined #ruby
john2496 has quit [Remote host closed the connection]
citizentwo has quit [Remote host closed the connection]
citizentwo has joined #ruby
<phaul> &?botsnack
<rubydoc> nomnomnomnom
<phaul> so &ops, and &fact works, but fact raises a question. Do we want two set of deviating factoids with the two bots? Prly not. So for now rubydoc just shadows ruby[bot] with the facts seeded from the website
<phaul> in a read only way
spiette has quit [Quit: ZNC 1.7.5 - https://znc.in]
StoneCypherWork has quit [Ping timeout: 240 seconds]
citizentwo has quit [Remote host closed the connection]
citizentwo has joined #ruby
StoneCypherWork has joined #ruby
spiette has joined #ruby
houhoulis has joined #ruby
leitz has quit [Quit: Leaving]
Rob__ has quit [Remote host closed the connection]
Rob__ has joined #ruby
Rob__ has quit [Read error: Connection reset by peer]
citizentwo has quit [Remote host closed the connection]
citizentwo has joined #ruby
cnsvc_ has joined #ruby
citizentwo has quit [Remote host closed the connection]
citizentwo has joined #ruby
Esa_ has quit []
<havenwood> phaul: Hem... good question about factoids. We need a common factoids API, haha.
jmcgnh has quit [Read error: Connection reset by peer]
<havenwood> phaul: Yay for &ops and dev &fact features! \o/
<phaul> \o/, thanks :)
JJonah__ has joined #ruby
coffeex3 has joined #ruby
jmcgnh has joined #ruby
fphilipe_ has quit [Ping timeout: 255 seconds]
davidw has quit [Ping timeout: 255 seconds]
jetchisel has quit [Ping timeout: 240 seconds]
jetchisel has joined #ruby
zlogan has quit [Ping timeout: 252 seconds]
g3funk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chalkmonster has joined #ruby
citizentwo has quit [Remote host closed the connection]
citizentwo has joined #ruby
zlogan has joined #ruby
citizentwo has quit [Remote host closed the connection]
citizentwo has joined #ruby
ur5us has quit [Ping timeout: 255 seconds]
davidw has joined #ruby
davidw has joined #ruby
davidw has quit [Changing host]
pupsikov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
galaxie has joined #ruby
royal_screwup21 has quit [Remote host closed the connection]