havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.2.1, 3.1.3, 3.0.5, 2.7.7: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://t.ly/9ua4 | Logs: https://libera.irclog.whitequark.org/ruby/
nickey49 has quit [Quit: Best CPUs can count to infinity twice without being bugged out by zero division errors or whatnot.]
wand has quit [Remote host closed the connection]
gcd has quit [Remote host closed the connection]
sidetracking45 has joined #ruby
<nickjj> thanks
<sidetracking45> hello chat :)
dionysus69 has quit [Quit: dionysus69]
sidetracking45 is now known as sidetracking
wand has joined #ruby
hightower2 has quit [Ping timeout: 246 seconds]
caedmon has joined #ruby
caedmon has quit [Client Quit]
caedmon has joined #ruby
wand has quit [Remote host closed the connection]
stomac21 has joined #ruby
caedmon has quit [Client Quit]
caedmon has joined #ruby
wand has joined #ruby
caedmon has quit [Quit: caedmon]
caedmon has joined #ruby
moldorcoder7 has quit [Ping timeout: 255 seconds]
caedmon has quit [Read error: Connection reset by peer]
caedmon1 has joined #ruby
caedmon1 has quit [Client Quit]
razetime has joined #ruby
stomac21 has quit [Ping timeout: 246 seconds]
sidetracking has quit [Ping timeout: 260 seconds]
wand has quit [Ping timeout: 255 seconds]
sidetracking has joined #ruby
shokohsc66 has joined #ruby
wand has joined #ruby
shokohsc6 has quit [Ping timeout: 252 seconds]
shokohsc66 is now known as shokohsc6
roshanavand__ has joined #ruby
<ox1eef_> nickjj: Nope, they're not memoized. You can reassign constants in Ruby, although the second assignment will print a warning. And they're usually assigned in contexts where they will only be evaluated once. I can only think of Kernel#load, and maybe the Rails autoloader where they could be assigned twice or more times in an ordinary context.
roshanavand_ has quit [Ping timeout: 268 seconds]
roshanavand__ has quit [Ping timeout: 255 seconds]
razetime1 has joined #ruby
razetime has quit [Ping timeout: 248 seconds]
razetime1 is now known as razetime
gcd has joined #ruby
razetime has quit [Ping timeout: 268 seconds]
Sankalp has quit [Ping timeout: 246 seconds]
Linux_Kerio has joined #ruby
Sankalp has joined #ruby
Sankalp has quit [Ping timeout: 252 seconds]
Sankalp has joined #ruby
razetime has joined #ruby
Sheilong has quit []
razetime has quit [Read error: Connection reset by peer]
razetime has joined #ruby
wand has quit [Remote host closed the connection]
wand has joined #ruby
dviola has left #ruby [WeeChat 3.7.1]
dviola has joined #ruby
Sankalp has quit [Ping timeout: 246 seconds]
razetime has quit [Remote host closed the connection]
Sankalp has joined #ruby
sidetracking has quit [Quit: Client closed]
Linux_Kerio has quit [Ping timeout: 255 seconds]
dviola has quit [Quit: WeeChat 3.7.1]
dviola has joined #ruby
tomtmym has joined #ruby
tomtmym has quit [Changing host]
tomtmym has joined #ruby
dviola has quit [Quit: WeeChat 3.7.1]
infinityfye has joined #ruby
_ht has joined #ruby
Sankalp has quit [Ping timeout: 255 seconds]
jvalleroy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jvalleroy has joined #ruby
Sankalp has joined #ruby
Sankalp has quit [Ping timeout: 255 seconds]
appert0 has joined #ruby
rvalue has quit [Ping timeout: 260 seconds]
dviola has joined #ruby
appert0 has quit [Quit: Best CPUs can count to infinity twice without being bugged out by zero division errors or whatnot.]
ssh0732 has joined #ruby
moldorcoder7 has joined #ruby
<nickjj> ox1eef_, thanks. it sounds like ||= may not be needed then or wouldn't make a difference in this case?
hightower2 has joined #ruby
fercell has joined #ruby
<ox1eef_> It is probably not neccessary unless the file where the constant is defined will be used with Kernel#load. But there's no harm in using ||=.
<ox1eef_> In the Rails world, it might make most sense to define expensive code in config/initializers/ since afaik that directory is not covered by the Rails autoloader, and should only be executed once in an app's lifetime.
reset has quit [Quit: reset]
rvalue has joined #ruby
dviola has quit [Ping timeout: 255 seconds]
Nenor has joined #ruby
polyp19 has joined #ruby
Nenor has quit [Ping timeout: 248 seconds]
dostoyevsky2 has quit [Quit: leaving]
dostoyevsky2 has joined #ruby
__ht has joined #ruby
_ht has quit [Ping timeout: 252 seconds]
__ht is now known as _ht
shokohsc68 has joined #ruby
shokohsc6 has quit [Ping timeout: 252 seconds]
shokohsc68 is now known as shokohsc6
__ht has joined #ruby
_ht has quit [Ping timeout: 246 seconds]
__ht is now known as _ht
John_Ivan has joined #ruby
aeris has quit [Remote host closed the connection]
aeris has joined #ruby
polyp19 has quit [Ping timeout: 252 seconds]
razetime has joined #ruby
victori has quit [Quit: ZNC 1.8.2 - https://znc.in]
victori has joined #ruby
eddof13 has joined #ruby
eddof13 has quit [Remote host closed the connection]
roshanavand__ has joined #ruby
roshanavand_ has joined #ruby
roshanavand__ has quit [Ping timeout: 246 seconds]
razetime has quit [Ping timeout: 252 seconds]
eddof13 has joined #ruby
razetime has joined #ruby
<adam12> I missed the 30th ruby stream. :| I wonder if it's saved anywhere.
razetime has quit [Ping timeout: 248 seconds]
<leftylin1> hmm
<leftylin1> that rabbit/hare progress bar seems to be a mainstay of matz's talk slides
<adam12> Indeed
<leftylin1> why did I say rabbit/hare... I wanted to say tortoise/hair
<leftylin1> ... tortoise/hare
<leftylin1> wonder what the story behind it is
aindilis has quit [Ping timeout: 260 seconds]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aindilis has joined #ruby
peatsh75 has joined #ruby
eddof13 has joined #ruby
factor has quit [Ping timeout: 252 seconds]
peatsh75 has quit [Remote host closed the connection]
TomyLobo has quit [Read error: Connection reset by peer]
factor has joined #ruby
<ox1eef_> adam12: Do you know if litestack is meant for production too ? I seem to remember that SQLite3 can't be accessed in parallel. Maybe not true anymore?
factor has quit [Ping timeout: 248 seconds]
<leah2> multiple reader works no
<leah2> with wal writing doesnt take global lock it seems
<ox1eef_> Yep. There's only a lock for writes. And as of recent there's: https://www.sqlite.org/wal.html - so it seems to be largely a thing of the past.
<ox1eef_> Indeed.
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
founde21 has joined #ruby
factor has joined #ruby
Linux_Kerio has joined #ruby
eddof13 has joined #ruby
Linux_Kerio has quit [Read error: Connection reset by peer]
Linux_Kerio has joined #ruby
<adam12> ox1eef_: I enable WAL and have no issues with it. Gemdocs runs it, and I use it in a bunch of other places too.
<adam12> ox1eef_: There's a talk from Ben Johnston? (the LiteFS/LiteStream guy) and he has some tips for improving concurrent Sqlite access. One has to do with enabling WAL, and one is a timeout if I remember right.
roshanavand__ has joined #ruby
Linux_Kerio has quit [Remote host closed the connection]
Linux_Kerio has joined #ruby
leftylin1 is now known as leftylink
<ox1eef_> +1 Nice.
roshanavand_ has quit [Ping timeout: 246 seconds]
founde21 has quit [Ping timeout: 255 seconds]
John_Ivan_ has joined #ruby
John_Ivan has quit [Ping timeout: 246 seconds]
teclator has joined #ruby
factor has quit [Read error: Connection reset by peer]
roshanavand__ has quit [Ping timeout: 248 seconds]
John_Ivan_ has quit [Remote host closed the connection]
John_Ivan_ has joined #ruby
pmwals09 has joined #ruby
John_Ivan_ has quit [Remote host closed the connection]
John_Ivan has joined #ruby
John_Ivan has quit [Remote host closed the connection]
John_Ivan has joined #ruby
zzo38 has joined #ruby
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zzo38> Are you able to tell me if what I wrote about Ruby encoding is correct http://zzo38computer.org/textfile/codepage/troncodes I think what I called "TRON-16BE" is called "TADTextBE" in Ruby, and what I called "TRON-32BE" is called "stateless-TADTextBE" in Ruby. Is that correct? I don't do Ruby programming much so I am unsure and I hope you would know what it is.
eddof13 has joined #ruby
defectiverobot has joined #ruby
defectiverobot_ has joined #ruby
defectiverobot_ has quit [Remote host closed the connection]
defectiverobot has quit [Ping timeout: 255 seconds]
joast has quit [Ping timeout: 268 seconds]
pmwals09 has quit [Remote host closed the connection]
_ht has quit [Remote host closed the connection]
joast has joined #ruby
<nickjj> adam12, thanks for linking that talk, youtube's auto-translate for the captions to english are pretty good
John_Ivan has quit [Remote host closed the connection]
John_Ivan has joined #ruby
pantin29 has joined #ruby
Linux_Kerio has quit [Read error: Connection reset by peer]
Linux_Kerio has joined #ruby
_aeris_ has joined #ruby
aeris has quit [Ping timeout: 255 seconds]
_aeris_ is now known as aeris
jvalleroy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jvalleroy has joined #ruby
infinityfye has quit [Quit: Leaving]
tomtmym has quit [Quit: Gone.]
reset has joined #ruby
Linux_Kerio has quit [Ping timeout: 255 seconds]
FetidToot has quit [Quit: Ping timeout (120 seconds)]
FetidToot has joined #ruby
mdemo has quit [Quit: The Lounge - https://thelounge.github.io]
roshanavand__ has joined #ruby
mdemo has joined #ruby
matoro has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
matoro has joined #ruby
teclator has quit [Ping timeout: 246 seconds]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
quazimodo has joined #ruby
moldorcoder7 has quit [Ping timeout: 248 seconds]