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]
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.
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]