havenwood changed the topic of #ruby to: Ruby 3.2.2, 3.1.4, 3.3.0-preview1: https://www.ruby-lang.org | Rules: https://ruby-community.com | Logs: https://libera.irclog.whitequark.org/ruby
<johnjaye> miah: what do you mean install from ports
<johnjaye> is ruby itself not a port
<johnjaye> and if it isn't, wouldn't a port contradicting a core library be... kind of contradictory?
<johnjaye> also on this topic when I compiled ruby and ran ./libexec/irb I get nil for $RUBY_VERSION. is that right? it's 3.3
<llua> remove the $
<johnjaye> ah i see
<johnjaye> it says 2.7.4
<johnjaye> maybe i used the wrong irb?
<johnjaye> ruby -v in the directory reports the built version correctly, 3.3.0dev
crespire has quit [Killed (NickServ (GHOST command used by crespire1))]
crespire1 has joined #ruby
caedmon has joined #ruby
caedmon has quit [Ping timeout: 246 seconds]
Linux_Kerio has joined #ruby
<johnjaye> could something be wrong with my ruby install?
<johnjaye> i ran gem install ruby-lsp and it's been frozen for over a minute
<johnjaye> htop says it's doing something though
<johnjaye> ah ok here we go
Vonter has quit [Quit: WeeChat 4.0.2]
brokkoli_origin has quit [Ping timeout: 245 seconds]
brokkoli_origin has joined #ruby
weaksauc_ has joined #ruby
weaksauce has quit [Ping timeout: 246 seconds]
jmcantrell has quit [Quit: WeeChat 4.0.3]
caedmon has joined #ruby
caedmon has quit [Ping timeout: 256 seconds]
_ht has joined #ruby
caedmon has joined #ruby
caedmon has quit [Ping timeout: 252 seconds]
johnjaye has quit [Ping timeout: 246 seconds]
grenierm has joined #ruby
_ht has quit [Quit: _ht]
taupiqueur_shiny has joined #ruby
hernan_ has joined #ruby
bougyman_ has joined #ruby
Milos_ has joined #ruby
sympt3 has joined #ruby
Perflosopher has joined #ruby
dstein64- has joined #ruby
peder_ has joined #ruby
asio_ has joined #ruby
diego has joined #ruby
diego is now known as Guest4497
dviola has quit [*.net *.split]
Perflosopher5 has quit [*.net *.split]
sphex has quit [*.net *.split]
dstein64 has quit [*.net *.split]
hansolo has quit [*.net *.split]
sympt has quit [*.net *.split]
bougyman has quit [*.net *.split]
asio has quit [*.net *.split]
peder has quit [*.net *.split]
Milos has quit [*.net *.split]
wmoxam has quit [*.net *.split]
hernan has quit [*.net *.split]
sympt3 is now known as sympt
dstein64- is now known as dstein64
peder_ is now known as peder
hansolo has joined #ruby
sphex has joined #ruby
taupiqueur_shiny has quit [Remote host closed the connection]
wmoxam has joined #ruby
shokohsc51089 has joined #ruby
shokohsc5108 has quit [Ping timeout: 240 seconds]
shokohsc51089 is now known as shokohsc5108
keypresser86 has quit []
Milos_ is now known as Milos
taupiqueur_shiny has joined #ruby
taupiqueur_shiny has quit [Remote host closed the connection]
willfish has joined #ruby
micro has joined #ruby
ccapndave has joined #ruby
reset has quit [Quit: reset]
taupiqueur_shiny has joined #ruby
taupiqueur_shiny has quit [Remote host closed the connection]
taupiqueur_shiny has joined #ruby
taupiqueur_shiny has quit [Ping timeout: 246 seconds]
ccapndave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
crespire has joined #ruby
taupiqueur_shiny has joined #ruby
crespire1 has quit [Ping timeout: 246 seconds]
crespire has quit [Ping timeout: 240 seconds]
crespire1 has joined #ruby
ccapndave has joined #ruby
ccapndave has quit [Client Quit]
MalusVulgaris has joined #ruby
Guest4497 has left #ruby [WeeChat 4.0.3]
dviola has joined #ruby
weaksauce has joined #ruby
weaksauc_ has quit [Ping timeout: 246 seconds]
teclator has joined #ruby
mattf has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
mattf has joined #ruby
dalan038228 has quit [Quit: dalan038228]
dalan038228 has joined #ruby
dalan038228 has quit [Client Quit]
dalan038228 has joined #ruby
otisolsen70 has joined #ruby
crespire has joined #ruby
crespire1 has quit [Ping timeout: 252 seconds]
crespire1 has joined #ruby
crespire has quit [Killed (NickServ (GHOST command used by crespire1!~crespire@user/crespire))]
szkl has joined #ruby
infinityfye has joined #ruby
crespire has joined #ruby
crespire1 has quit [Ping timeout: 252 seconds]
MalusVulgaris has quit [Ping timeout: 246 seconds]
taupiqueur_shiny has quit [Remote host closed the connection]
taupiqueur_shiny has joined #ruby
grenierm has quit [Quit: Client closed]
CalimeroTeknik has quit [Remote host closed the connection]
CalimeroTeknik has joined #ruby
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
kiwi_36 has joined #ruby
CalimeroTeknik has joined #ruby
CalimeroTeknik has quit [Changing host]
nona has joined #ruby
<nona> with RSpec, what's your philosophy regarding skip vs. pending vs. xit vs. describe...do...end if false vs. out-commenting vs. removing?
desnudopenguino has quit [Ping timeout: 246 seconds]
johnjaye has joined #ruby
Milos has quit [Quit: ZNC 1.8.2 - https://znc.in]
Milos has joined #ruby
<ox1eef_> xit examples are generated in the report iirc, 'if false' would be harder to detect, most if not all the time I've seen them used with flaky specs, and whether or not it is ever fixed or just left there and forgotten about is 50/50 (at best).
Milos has quit [Client Quit]
Milos has joined #ruby
crespire1 has joined #ruby
crespire has quit [Killed (NickServ (GHOST command used by crespire1!~crespire@user/crespire))]
szkl has quit [Quit: Connection closed for inactivity]
<nona> ox1eef_: so you either use xit (also always instead of pending) or you delete out-right?
gr33n7007h has quit [Ping timeout: 246 seconds]
gr33n7007h has joined #ruby
gr33n7007h has quit [Ping timeout: 246 seconds]
gr33n7007h has joined #ruby
caedmon has joined #ruby
<ox1eef_> I personally never use it. But other people at $work do, and xit is most common.
CrazyEddy has quit [Ping timeout: 248 seconds]
CrazyEddy has joined #ruby
<johnjaye> where are all these self-reflection methods located like instance_variable_get and what not
<KOTP> They are defined on Object
<nona> ox1eef_: so your own philosophy is to be 100% about keeping all tests working all the time. that is, even in a legacy environment with 1000s of tests and 1000s failing, you'd fix or delete every single one, before doing anything else?
desnudopenguino has joined #ruby
<gr33n7007h> johnjaye: you can ask ruby :) method(:instance_variable_get).owner
<johnjaye> > The Kernel module is included in class Object, so its methods are available in every Ruby object.
<johnjaye> i see
<ox1eef_> nona: I don't have any hard rules, but yeah, it is usually not good because it can become something that is never addressed.
<ox1eef_> As long as there is a process or absolute intention to fix it in the future, no problem.
<nona> ok, that sounds reasonable and nicely undogmatic :)
<nona> thank your for sharing, ox1eef_ !
<ox1eef_> +1
brokkoli_origin has quit [Ping timeout: 245 seconds]
brokkoli_origin has joined #ruby
<KOTP> The method(:instance_variable_get).owner command may report Kernel, but it is defined at line 4399 in object.c
<ox1eef_> rb_define_method(rb_mKernel, "instance_variable_get", rb_obj_ivar_get, 1);
<ox1eef_> Defined on Kernel for sure.
<KOTP> Yes, definitely defined on Kernel as the source states.
_ht has joined #ruby
crespire1 has quit [Remote host closed the connection]
taupiqueur_shiny has quit [Remote host closed the connection]
reset has joined #ruby
<johnjaye> basically it was in a thread about accessing private variables or something
<johnjaye> and someone said it's not like java where you can have private variables and methods, in ruby with enough force you can break open any object and inspect it
perrierjouet has quit [Quit: WeeChat 4.0.3]
jmcantrell has joined #ruby
<ccooke> adam12: I basically just like problem solving. I don't think I'd ever do a job with *no* coding, but humour aside I find a wide variety of problem *types* deeply satisfying in the end :-)
<adam12> ccooke: Yes. I agree with that completely.
Linux_Kerio has quit [Read error: Connection reset by peer]
<ccooke> if sometimes the problems I'm solving are to do with process and audit... well, someone has to do it. And better someone who understands the technical side and doesn't hate it.
m_antis has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
m_antis has joined #ruby
howdoi has joined #ruby
konsolebox has joined #ruby
shokohsc51080 has joined #ruby
shokohsc5108 has quit [Ping timeout: 245 seconds]
shokohsc51080 is now known as shokohsc5108
crespire has joined #ruby
infinityfye has quit [Quit: Leaving]
konsolebox has quit [Quit: Leaving]
caedmon has quit [Ping timeout: 246 seconds]
konsolebox has joined #ruby
c10l60 has quit [Ping timeout: 246 seconds]
c10l60 has joined #ruby
desnudopenguino has quit [Ping timeout: 245 seconds]
_ht has quit [Quit: _ht]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
willfish has quit [Ping timeout: 245 seconds]
otisolsen70 has quit [Quit: Leaving]
finsternis has joined #ruby
kiwi_36 has quit [Remote host closed the connection]
keypresser86 has joined #ruby
<johnjaye> ah in ruby ?h is a string not a number
<johnjaye> i wonder where that came from
<johnjaye> where is String#% defined in the source code? i can't find it
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
<weaksauce> it's a character literal syntax
ua_ has quit [Ping timeout: 246 seconds]
ua_ has joined #ruby
<KOTP> The `String#%` is the String Format Method, and is defined in `string.c`, and I call it String Format, because around line 2359 where the definition is found, and around line 11942 it contains this line: `rb_define_method(rb_cString, "%", rb_str_format_m, 1);`
MalusVulgaris has joined #ruby
MalusVulgaris has quit [Client Quit]
<johnjaye> ah cool, thanks
<johnjaye> 11887 for me
<KOTP> Yep, depends on the version specifically...
Pixi has quit [Ping timeout: 245 seconds]
Pixi has joined #ruby
bougyman_ is now known as bougyman
howdoi has quit [Quit: Connection closed for inactivity]