havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.1.3, 3.0.5, 2.7.7, 3.2.0-rc1: 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/
stirl has quit [Quit: stirl]
<zaben[m]1> henk: looks like they have a circular redirect (https://rdoc.info/ -> https://rdoc.info/)
cartdrige has joined #ruby
<ox1eef_> https://rubydoc.info works.
crax23 has joined #ruby
c10l has quit [Quit: Ping timeout (120 seconds)]
shokohsc has quit [Read error: Connection reset by peer]
c10l has joined #ruby
cartdrige has quit [Ping timeout: 256 seconds]
shokohsc6 has joined #ruby
szkl has quit [Quit: Connection closed for inactivity]
hightower4 has joined #ruby
cryptkeeper has quit [Quit: Connection closed for inactivity]
hightower3 has quit [Ping timeout: 252 seconds]
c10l has quit [Quit: Ping timeout (120 seconds)]
c10l has joined #ruby
Sheilong has quit [Quit: Connection closed for inactivity]
Y05hito__ has joined #ruby
cryptkeeper has joined #ruby
<adam12> henk: I run and maintain gemdocs.org, which might have what you're looking for too.
crax23 has quit [Ping timeout: 252 seconds]
<adam12> (if it doesn't, let me know gem name and version and I'll add it)
c10l has quit [Quit: Ping timeout (120 seconds)]
caedmon has joined #ruby
c10l has joined #ruby
c10l has quit [Read error: Connection reset by peer]
c10l has joined #ruby
caedmon has quit [Quit: caedmon]
caedmon has joined #ruby
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
caedmon has quit [Read error: Connection reset by peer]
caedmon has joined #ruby
___nick___ has joined #ruby
___nick___ has quit [Client Quit]
___nick___ has joined #ruby
caedmon has quit [Ping timeout: 272 seconds]
rvalue has quit [Ping timeout: 260 seconds]
rvalue has joined #ruby
caedmon has joined #ruby
aeris has quit [Ping timeout: 255 seconds]
aeris has joined #ruby
caedmon has quit [Ping timeout: 256 seconds]
c10l has quit [Quit: Ping timeout (120 seconds)]
caedmon has joined #ruby
c10l has joined #ruby
caedmon has quit [Ping timeout: 268 seconds]
c10l has quit [Quit: Ping timeout (120 seconds)]
caedmon has joined #ruby
c10l has joined #ruby
Y05hito__ has quit [Ping timeout: 268 seconds]
caedmon has quit [Ping timeout: 272 seconds]
crax23 has joined #ruby
crax23 has quit [Ping timeout: 256 seconds]
c10l has quit [Ping timeout: 256 seconds]
caedmon has joined #ruby
c10l has joined #ruby
caedmon has quit [Quit: caedmon]
caedmon has joined #ruby
cryptkeeper has quit [Quit: Connection closed for inactivity]
caedmon has quit [Quit: caedmon]
caedmon has joined #ruby
caedmon has quit [Ping timeout: 252 seconds]
<introom> zaben[m]1:back to my yesterday's question, after looking at zeitwerk, so I think given ActionController::Base, it will load file from action_controller/base.rb
ur5us_ has quit [Ping timeout: 256 seconds]
Sankalp has quit [Ping timeout: 255 seconds]
Sankalp has joined #ruby
c10l has quit [Quit: Ping timeout (120 seconds)]
Pixi has quit [Ping timeout: 272 seconds]
c10l has joined #ruby
cryptkeeper has joined #ruby
otisolsen70 has joined #ruby
otisolsen70 has quit [Remote host closed the connection]
otisolsen70 has joined #ruby
c10l has quit [Quit: Ping timeout (120 seconds)]
<zaben[m]1> introom: that should be where the class is mainly defined (it may have other patches applied in different files/gems) but at least with Zeitwerk all classes will be eager loaded from application start so when ActionController::Base is first called, it will already be required
c10l has joined #ruby
<introom> zaben[m]1:thanks for that. a further question, how can I know which patches are applied for ActionController::Base
c10l has quit [Quit: Ping timeout (120 seconds)]
c10l has joined #ruby
<henk> zaben[m]1: yup
<zaben[m]1> <introom> "zaben:thanks for that. a further..." <- I am not 100% sure, it does looks like there are methods you can use to attempt to track monkey patches apply: https://stackoverflow.com/a/336308
<henk> ox1eef_, adam12: thanks, yes: rubydoc.info works and gemdocs also has what I was looking for. but my question was actually just about rdoc.info. https://github.com/ueno/ruby-gpgme/ linked to rdoc.info and I was just wondering whether that should be fixed or the site just has a temporary problem.
Pixi has joined #ruby
Michaela has joined #ruby
teclator has joined #ruby
Mikaela has quit [Ping timeout: 255 seconds]
cartdrige has joined #ruby
tomtmym has joined #ruby
tomtmym has joined #ruby
tomtmym has quit [Changing host]
ur5us_ has joined #ruby
willfish has joined #ruby
Michaela has quit [Remote host closed the connection]
Michaela has joined #ruby
TomyWork has joined #ruby
FullMetalStacker has joined #ruby
jvalleroy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jvalleroy has joined #ruby
dionysus69 has joined #ruby
bewersdorff has joined #ruby
<bewersdorff> hi
<bewersdorff> I want to use bundler-audit as rake-task. How do I tell the rake task to read the configuration file with ignores?
ur5us_ has quit [Ping timeout: 252 seconds]
c10l has quit [Quit: Ping timeout (120 seconds)]
teclator has quit [Remote host closed the connection]
teclator has joined #ruby
c10l has joined #ruby
konsolebox has joined #ruby
Sankalp has quit [Ping timeout: 272 seconds]
Sankalp has joined #ruby
cryptkeeper has quit [Quit: Connection closed for inactivity]
idkwtf has joined #ruby
splud has quit [Ping timeout: 272 seconds]
moldorcoder7 has joined #ruby
<FullMetalStacker> ChatGPT is a game changer. has anyone tried it out for writing ruby?
<FullMetalStacker> jaw dropping
splud has joined #ruby
<idkwtf> Nope, not yet
<idkwtf> Working on this atm: https://dushyantmin.com/fine-tuning-stable-diffusion-v20-with-dreambooth which is sorta in the same hood I guess
<leftylink> a little disapointing that def foo(bar); end has value :foo, but module M; end has value nil instead of something like :M
hightower4 has quit [Ping timeout: 272 seconds]
konsolebox has quit [Quit: Leaving]
FullMetalStacker has quit [Remote host closed the connection]
<jhass[m]> class and module definition have the value of their last expression iirc
<jhass[m]> >> module M; 1; end + 2
<ruby[bot]> jhass[m]: # => (https://carc.in/#/r/e8nr)
<leftylink> are we back in the perl days
FullMetalStacker has joined #ruby
FullMetalStacker has quit [Remote host closed the connection]
FullMetalStacker has joined #ruby
<jhass[m]> We ever left them?
<leftylink> in fact we never did
<leftylink> pandabot: what's ruby flags
<pandabot> rubyflags is: ruby -ple '$_.upcase!' < input.txt; ruby -nle 'BEGIN { i = c = 0 }; c += $_.size; puts "#{i += 1} #$_"; END { p c }' < input.txt
<leftylink> but I still have to look those up every time I want to use them since I never used perl enough to nkow them
<leftylink> they're good flags though
<leftylink> "they're good flags brent"
cartdrige has quit [Quit: Leaving]
hightower2 has joined #ruby
cartdrige has joined #ruby
FullMetalStacker has quit [Remote host closed the connection]
crax23 has joined #ruby
perrierjouet has joined #ruby
cartdrige has quit [Ping timeout: 256 seconds]
FullMetalStacker has joined #ruby
bewersdorff has quit [Quit: Lost terminal]
hightower3 has joined #ruby
hightower2 has quit [Ping timeout: 252 seconds]
FullMetalStacker has quit [Remote host closed the connection]
FullMetalStacker has joined #ruby
FullMetalStacker has quit [Client Quit]
reset has joined #ruby
konsolebox has joined #ruby
konsolebox has quit [Quit: Leaving]
c10l has quit [Ping timeout: 268 seconds]
cartdrige has joined #ruby
crax23 has quit [Ping timeout: 256 seconds]
crax23 has joined #ruby
cartdrige has quit [Ping timeout: 255 seconds]
c10l has joined #ruby
c10l has quit [Ping timeout: 255 seconds]
c10l has joined #ruby
caedmon has joined #ruby
cartdrige has joined #ruby
crax23 has quit [Ping timeout: 252 seconds]
caedmon has quit [Ping timeout: 272 seconds]
gr33n7007h has quit [Quit: WeeChat 3.7.1]
gr33n7007h has joined #ruby
crax23 has joined #ruby
cartdrige has quit [Ping timeout: 268 seconds]
cartdrige has joined #ruby
crax23 has quit [Ping timeout: 272 seconds]
donofrio has joined #ruby
donofrio__ has joined #ruby
donofrio_ has quit [Ping timeout: 256 seconds]
donofrio has quit [Ping timeout: 256 seconds]
slav3000 has joined #ruby
slav3000 has left #ruby [#ruby]
mahler|away is now known as mahler
idkwtf has quit [Quit: Lost terminal]
crax23 has joined #ruby
cartdrige has quit [Ping timeout: 272 seconds]
havenwood has quit [Quit: The Lounge - https://thelounge.chat]
havenwood has joined #ruby
Y05hito__ has joined #ruby
graywolf has joined #ruby
cartdrige has joined #ruby
crax23 has quit [Ping timeout: 272 seconds]
graywolf has quit [Client Quit]
Y05hito__ has quit [Ping timeout: 252 seconds]
crax23 has joined #ruby
cartdrige has quit [Ping timeout: 246 seconds]
hightower4 has joined #ruby
hightower3 has quit [Remote host closed the connection]
hightower4 has quit [Ping timeout: 260 seconds]
dionysus69 has quit [Ping timeout: 265 seconds]
willfish has quit [Ping timeout: 268 seconds]
TomyWork has quit [Remote host closed the connection]
graywolf has joined #ruby
willfish has joined #ruby
stirl has joined #ruby
caedmon has joined #ruby
caedmon has quit [Ping timeout: 252 seconds]
Y05hito__ has joined #ruby
crax23 has quit [Ping timeout: 252 seconds]
cryptkeeper has joined #ruby
caedmon has joined #ruby
crax23 has joined #ruby
Y05hito__ has quit [Read error: Connection reset by peer]
donofrio__ has quit [Ping timeout: 272 seconds]
cahoots has joined #ruby
donofrio has joined #ruby
cahoots has quit [Ping timeout: 252 seconds]
ur5us_ has joined #ruby
_ht has joined #ruby
willfish has quit [Ping timeout: 272 seconds]
hightower2 has joined #ruby
crax23 has quit [Quit: Leaving]
donofrio_ has joined #ruby
donofrio has quit [Ping timeout: 252 seconds]
caedmon has quit [Ping timeout: 272 seconds]
cahoots has joined #ruby
___nick___ has quit [Ping timeout: 272 seconds]
Laplace has quit [Quit: Connection closed for inactivity]
cartdrige has joined #ruby
<cartdrige> Hi, i'm doing language translations, i got characters out of CHR range, that is: c="Йю"; puts c[0]; <- this one works, however: code = c[0].ord <- returns 1025, which out of chr range, so i cannot do: puts code.chr <- i got the error, how can i print back the extended glyphe from the code?
stirl has quit [Ping timeout: 252 seconds]
<cartdrige> There must be some encoding method that knows about extended charset for non latin languages, however c[0].class returns String.
<cartdrige> Or out of ascii table ofc, for polish or spanish and whatnot.
<bhaak> code.chr(Encoding::UTF_8) works
_ht has quit [Quit: _ht]
<bhaak> chr apparently uses ASCII as default, so any number bigger than 255
<ox1eef_> Nice! Today I learnt chr() accepts an encoding.
<cartdrige> Yes, just found it, thks bhaak. I thought it would be another method.
<cartdrige> it would have been nice if the chr exception out of range pointed out the Encoding parameter option for extended charsets.
<adam12> ox1eef_: I had no idea either. What a nice find.
<adam12> I figured some `\uN` trickery might be necessary...
___nick___ has joined #ruby
<ox1eef_> Indeed.
<bhaak> yeah it's somewhat surprising
finsternis has joined #ruby
cartdrige has quit [Ping timeout: 252 seconds]
moldorcoder7_ has joined #ruby
moldorcoder7 has quit [Ping timeout: 256 seconds]
ur5us_ has quit [Read error: Connection reset by peer]
ur5us_ has joined #ruby
tomtmym has quit [Quit: Gone.]
cartdrige has joined #ruby
otisolsen70 has quit [Quit: Leaving]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
mollerup has quit [Remote host closed the connection]
mollerup has joined #ruby
code has left #ruby [#ruby]
jesopo2 has joined #ruby
jesopo2 has quit [Client Quit]
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
graywolf has quit [Ping timeout: 268 seconds]
Y05hito__ has joined #ruby
cartdrige has quit [Ping timeout: 252 seconds]
cahoots has quit [Quit: leaving]
teclator has joined #ruby