jhass[m] changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.1.2, 3.0.4, 2.7.6: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
grokify has quit [Ping timeout: 272 seconds]
jpn has joined #ruby
grokify has joined #ruby
cartdrige has joined #ruby
jpn has quit [Ping timeout: 240 seconds]
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
crax23 has joined #ruby
Y05hito__ has joined #ruby
cartdrige has quit [Ping timeout: 240 seconds]
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
jpn has joined #ruby
<adam12> havenwood: hi
crax23 has quit [Ping timeout: 240 seconds]
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
jpn has quit [Ping timeout: 272 seconds]
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
idiocrash has joined #ruby
grokify has quit [Ping timeout: 250 seconds]
jpn has joined #ruby
jpn has quit [Ping timeout: 260 seconds]
yosafbridge has quit [K-Lined]
dostoyevsky2 has quit [K-Lined]
darabiesvampire has quit [K-Lined]
hexology has quit [K-Lined]
hexology has joined #ruby
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
some14u has joined #ruby
some14u has quit [Ping timeout: 240 seconds]
yosafbridge has joined #ruby
grokify has joined #ruby
pvalenta has joined #ruby
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
pvalenta has quit [Ping timeout: 260 seconds]
some14u has joined #ruby
grokify has quit [Ping timeout: 250 seconds]
pvalenta has joined #ruby
grokify has joined #ruby
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
grokify has quit [Ping timeout: 250 seconds]
Aminda has quit [Remote host closed the connection]
Aminda has joined #ruby
jpn has joined #ruby
jpn has quit [Ping timeout: 250 seconds]
Starfoxxes has quit [Ping timeout: 260 seconds]
grokify has joined #ruby
Starfoxxes has joined #ruby
dostoyevsky2 has joined #ruby
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
grokify has quit [Ping timeout: 240 seconds]
grokify has joined #ruby
grokify has quit [Ping timeout: 250 seconds]
desnudopenguino has quit [Ping timeout: 272 seconds]
grokify has joined #ruby
jpn has joined #ruby
ur5us has quit [Ping timeout: 250 seconds]
jpn has quit [Ping timeout: 260 seconds]
ua_ has quit [Ping timeout: 260 seconds]
D_A_N has quit [Quit: leaving]
ua_ has joined #ruby
c10l has quit [Quit: See ya! o/]
c10l has joined #ruby
jpn has joined #ruby
idiocrash_ has joined #ruby
idiocrash has quit [Ping timeout: 260 seconds]
ur5us has joined #ruby
jpn has quit [Ping timeout: 272 seconds]
jpn has joined #ruby
otisolsen70 has joined #ruby
otisolsen70 has quit [Remote host closed the connection]
otisolsen70 has joined #ruby
idiocrash_ has quit [Ping timeout: 250 seconds]
idiocrash has joined #ruby
jvalleroy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jvalleroy has joined #ruby
John_Ivan_ has quit [Ping timeout: 250 seconds]
supay has joined #ruby
Sankalp has quit [Ping timeout: 250 seconds]
Sankalp has joined #ruby
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
jpn has quit [Ping timeout: 240 seconds]
crax23 has joined #ruby
Y05hito__ has quit [Ping timeout: 272 seconds]
teclator has joined #ruby
jpn has joined #ruby
wand has quit [Ping timeout: 258 seconds]
ur5us has quit [Ping timeout: 272 seconds]
polishdub has quit [Ping timeout: 272 seconds]
jpn has quit [Ping timeout: 272 seconds]
Rounin has joined #ruby
Rounin has quit [Changing host]
Rounin has joined #ruby
wand has joined #ruby
kerunaru has joined #ruby
ssh0732 has joined #ruby
kerunaru has quit [Ping timeout: 260 seconds]
smp has quit [Ping timeout: 272 seconds]
jvalleroy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
kerunaru has joined #ruby
jvalleroy has joined #ruby
TomyWork has joined #ruby
ur5us has joined #ruby
dionysus69 has joined #ruby
kerunaru has quit [Ping timeout: 240 seconds]
supay has quit [Quit: Connection closed for inactivity]
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
smp has joined #ruby
smp has quit [Client Quit]
grokify has quit [Ping timeout: 240 seconds]
darkstardevx has quit [Ping timeout: 260 seconds]
smp has joined #ruby
smp has quit [Client Quit]
idiocrash has quit [Ping timeout: 250 seconds]
smp has joined #ruby
wand has quit [Ping timeout: 258 seconds]
mitt3ns has quit [Quit: leaving]
crax23 has quit [Ping timeout: 260 seconds]
jpn has joined #ruby
ur5us has quit [Ping timeout: 272 seconds]
darkstardevx has joined #ruby
darkstardevx has quit [Remote host closed the connection]
darkstardevx has joined #ruby
galtgendo has joined #ruby
wand has joined #ruby
<galtgendo> likely something basic: when I do something like foo.set_text('Prefix: %s' % condition ? '(%d) %s' % [val1, str1] : '- '), the text gets set (while condition is true) to '(:val1) :str1 ' instead of 'Prefix: (:val1) :str1' . why and how to avoid it?
Sankalp has quit [Ping timeout: 240 seconds]
Sankalp has joined #ruby
Sankalp has quit [Ping timeout: 240 seconds]
<leftylink> because % is higher precedence.
<leftylink> so, use parentheses to specify the order you actually want
John_Ivan_ has joined #ruby
<leftylink> to understand what's happening, simply reduce the example
<leftylink> pandabot: rb "IGNORED IGNORED IGNORED %s" % false ? 11111 : 22222
<pandabot> 11111 - https://carc.in/#/r/dy3m
<leftylink> that's equivalent to the above and demonstrates the reason
cartdrige has joined #ruby
kerunaru has joined #ruby
Guest97 has joined #ruby
Sankalp has joined #ruby
jpn has quit [Ping timeout: 260 seconds]
crax23 has joined #ruby
cartdrige has quit [Ping timeout: 240 seconds]
Vonter has quit [Ping timeout: 250 seconds]
cxl has joined #ruby
<cxl> Okay, this is going to sound dumb but I can't ever remember if "Lala#method" refers to class method on an instance method...
Vonter has joined #ruby
<adam12> cxl: Instance.
cartdrige has joined #ruby
crax23 has quit [Ping timeout: 272 seconds]
kerunaru has quit [Ping timeout: 272 seconds]
<cxl> adam12: do you use a mneomonic or something?
<adam12> cxl: More so, if you looked at Lala.method, could you call that as-is?
<adam12> If so, it's a class method.
<adam12> You can't call Lala#method as-is, so you must need to create an instance of it. I guess that's my thinking.
cartdrige has quit [Ping timeout: 250 seconds]
cocalero has joined #ruby
jpn has joined #ruby
cocalero has quit [Client Quit]
<cxl> Thanks
reset has joined #ruby
jpn has quit [Ping timeout: 240 seconds]
kerunaru has joined #ruby
D_A_N has joined #ruby
jpn has joined #ruby
wand has quit [Ping timeout: 258 seconds]
desnudopenguino has joined #ruby
rndChars has joined #ruby
<adam12> RubyKaigi videos are up on YT.
<cxl> Anyone else using nvim with YouCompleteMe? Whenever I save a ruby file, vim (I suspect via YCM) deletes all comments... This is very annoying but I'm not 100% sure it's YCM's doing and if it is, what option is responsible.
<cxl> Any ideas?
<adam12> cxl: Can you share your list of plugins in a gist?
<cxl> Sorry, let me put it in a gist so there is syntax highlighting
<adam12> cxl: Does it modify the file, removing the comments? or just the buffer has no comments?
wand has joined #ruby
<adam12> I'd almost blame prettier, imho.
<adam12> I run a super boring nvim configuration so I am not sure.
<cxl> adam12: No, it modifies the file: https://asciinema.org/a/vV1xlsk6bwNvA0jxyQWUKkSsy
<cxl> I'll try without prettier
<cxl> adam12: ha, you're right, it's prettier...
<adam12> cxl: Stripping comments is such a _neat_ feature :P
<cxl> Yeah... I don't even know why it messes with ruby files as the prettier plugin doesn't list ruby in its supported filetypes...
dpreacher has left #ruby [#ruby]
<galtgendo> leftylink: thanks, thank was it; also, a minor surprise, expected the reverse oder
kerunaru has quit [Ping timeout: 240 seconds]
kerunaru has joined #ruby
cartdrige has joined #ruby
Vaevictus has left #ruby [#ruby]
some14u has joined #ruby
some14u has quit [Client Quit]
eddof13 has joined #ruby
Guest97 has quit [Quit: Client closed]
crax23 has joined #ruby
Y05hito__ has joined #ruby
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cartdrige has quit [Ping timeout: 250 seconds]
crax23 has quit [Ping timeout: 260 seconds]
eddof13 has joined #ruby
grokify has joined #ruby
jpn_ has joined #ruby
grokify has quit [Remote host closed the connection]
jpn has quit [Ping timeout: 250 seconds]
grokify has joined #ruby
kerunaru has quit [Remote host closed the connection]
polishdub has joined #ruby
grokify has quit [Remote host closed the connection]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
grokify has joined #ruby
grokify has quit [Remote host closed the connection]
Guest97 has joined #ruby
Guest97 has quit [Quit: Client closed]
eddof13 has joined #ruby
quintasan_ has quit []
D_A_N has quit [Ping timeout: 260 seconds]
quintasan has joined #ruby
D_A_N has joined #ruby
grokify has joined #ruby
jpn_ has quit [Ping timeout: 240 seconds]
jpn has joined #ruby
grokify has quit [Ping timeout: 272 seconds]
jpn has quit [Ping timeout: 272 seconds]
grokify has joined #ruby
grokify has quit [Remote host closed the connection]
Guest97 has joined #ruby
grokify has joined #ruby
grokify has quit [Ping timeout: 250 seconds]
yxhuvud has quit [Read error: Connection reset by peer]
grokify has joined #ruby
yxhuvud has joined #ruby
benjaminwil has quit [Ping timeout: 252 seconds]
weyhmueller has quit [Ping timeout: 252 seconds]
benjaminwil has joined #ruby
Milos has quit [Ping timeout: 252 seconds]
jhawthorn has quit [Ping timeout: 252 seconds]
jhass has quit [Ping timeout: 252 seconds]
justache has joined #ruby
hasley has joined #ruby
Milos has joined #ruby
mahler has quit [Ping timeout: 252 seconds]
weyhmueller has joined #ruby
bougyman_ has joined #ruby
clemens3 has quit [Ping timeout: 252 seconds]
galtgendo has quit [Ping timeout: 252 seconds]
sphex has quit [Ping timeout: 252 seconds]
entropy has joined #ruby
fcser has quit [Ping timeout: 252 seconds]
bougyman has quit [Ping timeout: 252 seconds]
Guest9768 has quit [Ping timeout: 252 seconds]
entropie has quit [Ping timeout: 252 seconds]
aestheti1 has quit [Ping timeout: 252 seconds]
eam has quit [Ping timeout: 252 seconds]
entropy is now known as entropie
jhawthorn has joined #ruby
jhass has joined #ruby
Guest97 has quit [Quit: Client closed]
thecliguy has quit [Ping timeout: 252 seconds]
CalimeroTeknik has quit [Ping timeout: 252 seconds]
justHaunted has quit [Ping timeout: 252 seconds]
jidar has quit [Ping timeout: 252 seconds]
sphex has joined #ruby
eam has joined #ruby
aestheti1 has joined #ruby
Guest9768 has joined #ruby
thecliguy has joined #ruby
grokify has quit [Remote host closed the connection]
fcser has joined #ruby
ctk has joined #ruby
Guest97 has joined #ruby
clemens3 has joined #ruby
galtgendo has joined #ruby
jidar has joined #ruby
justache is now known as justHaunted
grokify has joined #ruby
grokify has quit [Remote host closed the connection]
ctk is now known as CalimeroTeknik
CalimeroTeknik has quit [Changing host]
CalimeroTeknik has joined #ruby
grokify has joined #ruby
<Guest97> Hi, any good article for object equality in ruby?
<Guest97> also what's the difference between `eql?`, `.object_id` and `.hash`?
grokify has quit [Ping timeout: 255 seconds]
<adam12> Guest97: .eql? is for comparison. .object_id is the VMs identifier for the object. .hash is a method used for determining equality (and maybe other things). Often .eql? might call .hash.
<Guest97> adam12: So basically I want to override the equals method for my class. Does ruby behave the same way as java's equals does?
dionysus69 has quit [Ping timeout: 240 seconds]
finsternis has joined #ruby
crax23 has joined #ruby
Y05hito__ has quit [Ping timeout: 240 seconds]
cartdrige has joined #ruby
crax23 has quit [Ping timeout: 255 seconds]
crax23 has joined #ruby
cartdrige has quit [Ping timeout: 276 seconds]
_ht has joined #ruby
Guest97 has quit [Quit: Client closed]
Guest97 has joined #ruby
<Guest97> Got disconnected, sorry if I missed something
___nick___ has joined #ruby
<leftylink> huh, https://libera.irclog.whitequark.org/ruby/2022-10-25 will tell you if you missed anything.
___nick___ has quit [Client Quit]
<Guest97> Niceee!
<Guest97> It can be added into the About section, for people new to the channel?
___nick___ has joined #ruby
<leftylink> in fact, if there are public logs, there *has* to be some notification of channel members... if there isn't channel members, the channel is in violoation of network policies, and I would have to report this channel...
<leftylink> s/isn't channel members/isn't any notification/
<leftylink> I hope this channel can resolve this matter quickly, before I am forced to lodge a report. I do not want to cause any adverse actions to be taken against the channel
<adam12> leftylink: Seems kind of a stretch, don't you think?
<leftylink> I don't make the policies, I'm just a citizen
<leftylink> under the "public logging" section
<leftylink> oh, I just misread that section and actually I'm wrong
<leftylink> it says "users in the channel **should** be notified" (emphasis mine), so it's not a requirement
<adam12> I think we could add an entry message concerning it
<leftylink> if I assume the meaning of "should" in that one RFC that defines should, must, etc.
<leftylink> uh what was it
<adam12> but tbh, you should just assume that whatever is said is public.
<leftylink> https://www.ietf.org/rfc/rfc2119.txt there we go, that's the definition of "should"
<adam12> None of the operators of this IRC channel are the maintainers of the IRC bot that captures the messages for public viewing, and that doesn't stop other users from logging publicly either.
<leftylink> okay, well, that's good that's good, it means I won't have to report the channel. we're all good here!
<leftylink> carry on and I apologise for my error
<adam12> We endorse it on the website, so I'll ensure that we are acting as good irc netizens.
adam12 changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.1.2, 3.0.4, 2.7.6: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ | Logs: https://libera.irclog.whitequark.org/ruby/
<Guest97> :thumbsup:
dostoyevsky2 has quit [Ping timeout: 272 seconds]
Y05hito__ has joined #ruby
crax23 has quit [Ping timeout: 272 seconds]
crax23 has joined #ruby
<gr33n7007h> Yes! been waiting for those :) adam12, thx for the heads up. i'll be watching them tonight
<adam12> gr33n7007h: I just noticed only a few out (not all yet)
<adam12> Tho I think the JA are English subbed, which is nice.
Y05hito__ has quit [Ping timeout: 272 seconds]
<gr33n7007h> they'll probably release the rest over the next few days. i generally just turn on youtube's auto-translate subtitles anyhow :)
<gr33n7007h> yee haa!
Al2O3 has joined #ruby
jpn has joined #ruby
grokify has joined #ruby
jpn has quit [Ping timeout: 276 seconds]
grokify has quit [Ping timeout: 250 seconds]
Laplace has joined #ruby
plujon has joined #ruby
dostoyevsky2 has joined #ruby
hasley is now known as mahler
some14u has joined #ruby
TomyWork has quit [Remote host closed the connection]
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
___nick___ has quit [Ping timeout: 276 seconds]
some14u has joined #ruby
ur5us has joined #ruby
_ht has quit [Remote host closed the connection]
Y05hito__ has joined #ruby
crax23 has quit [Ping timeout: 252 seconds]
grokify has joined #ruby
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
crax23 has joined #ruby
grokify has quit [Ping timeout: 250 seconds]
Y05hito__ has quit [Ping timeout: 276 seconds]
lief has joined #ruby
jpn has joined #ruby
jpn has quit [Ping timeout: 252 seconds]
legit has quit [Quit: WeeChat 2.8]
legit has joined #ruby
cartdrige has joined #ruby
idkwtf has joined #ruby
r3m has quit [Quit: WeeChat 3.8-dev]
r3m has joined #ruby
crax23 has quit [Ping timeout: 276 seconds]
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cartdrige has quit [Quit: Leaving]
some14u has joined #ruby
otisolsen70 has quit [Quit: Leaving]
grokify has joined #ruby
legit has quit [Quit: WeeChat 2.8]
grokify has quit [Ping timeout: 240 seconds]
legit has joined #ruby
legit has quit [Quit: maintenance]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
idkwtf has quit [Quit: Lost terminal]
cartdrige has joined #ruby
cartdrige has quit [Ping timeout: 246 seconds]
lief has quit [Quit: WeeChat 3.7.1]
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
some14u has joined #ruby
grokify has joined #ruby
grokify has quit [Ping timeout: 272 seconds]
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
some14u has joined #ruby
cartdrige has joined #ruby
_73 has joined #ruby
_73 has left #ruby [ERC (IRC client for Emacs 27.2)]
ollysmith has quit [Ping timeout: 268 seconds]
ollysmith_ has joined #ruby
ssh0732 has quit [Quit: Ping timeout (120 seconds)]
ssh0732 has joined #ruby
_73 has joined #ruby