havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.1.1, 3.0.3, 2.7.5: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
gr33n7007h has quit [Ping timeout: 245 seconds]
gr33n7007h has joined #ruby
RedNifre has quit [Ping timeout: 272 seconds]
bsliger has quit [Quit: Unexpected signal 11]
<adam12> mooff: Maybe even _hundreds_
<weaksauce> 170,421
<weaksauce> bundler has quite a few
RedNifre has joined #ruby
<adam12> weaksauce: I was chuckling because i'm doing lazy-mode on gemdocs.org. The bare minimum all the time. So the first bare minimum was just returning Dir.glob("*") for the list of gems.
<adam12> weaksauce: Which worked out well so far, but I was just looking and it's now like 800kb of HTML to render the list of gems.
<adam12> I knew I was gonna have a lot, but I'm not sure I actually accepted it.
<adam12> It's 5173 currently.
goepsilongo has quit [Ping timeout: 240 seconds]
<adam12> With 42 GB of docs, uncompressed.
markong has quit [Ping timeout: 256 seconds]
goepsilongo has joined #ruby
<weaksauce> dang that's a lot
e2 has quit [Quit: Stable ZNC provider #bnc4you]
<adam12> I'm guessing I'll need a database soon. Not sure I want to have 5000+ array elements from Dir.glob.
TCZ has joined #ruby
fowl has quit [Quit: Ping timeout (120 seconds)]
fowl has joined #ruby
e2 has joined #ruby
mahlon has quit [Ping timeout: 272 seconds]
<ox1eef> 5k is just a couple of seconds to iterate through
<adam12> ox1eef: Mostly interested in memory use and GC churn. But I haven't measured anything.
<ox1eef> there would be quite a lot of disk io presumably as well, but it's not an unmanageable amount id say.
ua_ has quit [Excess Flood]
ua_ has joined #ruby
Rounin has quit [Ping timeout: 260 seconds]
TCZ has quit [Quit: Leaving]
e2 has quit [Ping timeout: 245 seconds]
donofrio has quit [Ping timeout: 256 seconds]
bluedust has joined #ruby
e2 has joined #ruby
postmodern has quit [Read error: Connection reset by peer]
RedNifre has quit [Ping timeout: 240 seconds]
gr33n7007h has quit [Ping timeout: 250 seconds]
Starfoxxes has quit [Ping timeout: 260 seconds]
Starfoxxes has joined #ruby
RedNifre has joined #ruby
gr33n7007h has joined #ruby
Guest6792 has joined #ruby
mahlon has joined #ruby
gr33n7007h has quit [Ping timeout: 252 seconds]
gr33n7007h has joined #ruby
gr33n7007h has quit [Quit: WeeChat 3.4]
gr33n7007h has joined #ruby
oxfuxxx has joined #ruby
gr33n7007h has quit [Remote host closed the connection]
gr33n7007h has joined #ruby
oxfuxxx has quit [Ping timeout: 256 seconds]
bluedust has quit [Remote host closed the connection]
bluedust has joined #ruby
infinityfye has joined #ruby
teclator has joined #ruby
apotheon has quit [Ping timeout: 256 seconds]
apotheon has joined #ruby
Rounin has joined #ruby
taupiqueur has joined #ruby
taupiqueur has quit [Quit: taupiqueur]
dangerousdave has joined #ruby
fef has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
va5c0 has quit [Ping timeout: 256 seconds]
dangerousdave has joined #ruby
taupiqueur has joined #ruby
va5c0 has joined #ruby
dannyAAM has quit [Ping timeout: 252 seconds]
dannyAAM has joined #ruby
hololeap has quit [Ping timeout: 240 seconds]
hololeap has joined #ruby
hololeap_ has joined #ruby
hololeap has quit [Ping timeout: 240 seconds]
dangerousdave has quit [Quit: Textual IRC Client: www.textualapp.com]
va5c0 has quit [Quit: WeeChat 3.4]
Hazey_Dream has joined #ruby
<rapha> Speaking of Ruby books...
<rapha> Is there one for Ruby 3.0 or maybe in the pipeline for 3.2? Would be interested in both a reference and something to gift to a beginner.
<rapha> I only know about "Beginning Ruby 3", but not sure what to think of it.
taupiqueur has quit [Ping timeout: 240 seconds]
fef has quit [Ping timeout: 240 seconds]
<rapha> RedNifre: just wait until he discovers #each_with_index and then #map at some point :D
<rapha> but yeah, i can appreciate the feeling of finding things too "obfuscated" while learning something new. he might be the kind of person who could enjoy learning some simple C-embedded ASM on something like an attiny85 to begin connecting the dots to the more abstract languages.
fef has joined #ruby
<RedNifre> Yeah, I think it's the balance between having the knowledge in the code vs in your head. You don't need to understand for loops, if you have them spelled out as while loops in the code.
taupiqueur has joined #ruby
TCZ has joined #ruby
roadie has quit [Read error: Connection reset by peer]
roadie has joined #ruby
roadie has quit [Ping timeout: 240 seconds]
donofrio has joined #ruby
<rapha> At some point, I think when practice starts setting it, it becomes about convenience and concise typing and the clear expression of increasingly abstract concepts more and more, and that's when you begin craving to use the more "opaque", to stay with that term, features of your language-of-choice.
roadie has joined #ruby
<ox1eef> i could probably get by if ruby didnt have metaprogramming features.
<ox1eef> in some ways it'd be beautifully simple without those features.
<rapha> unfortunately for you, that's part of what kept/keeps many of us happily stuck to ruby over the years :} ... nothing like eval in a pinch!
maroloccio has joined #ruby
infinity_fye has joined #ruby
markong has joined #ruby
<ox1eef> it's what makes ruby fun.
infinityfye has quit [Ping timeout: 256 seconds]
TomyWork has joined #ruby
<mooff> sacrilege, ox1eef !!
[peer] has joined #ruby
peer has quit [Quit: owo]
[peer] is now known as peer
<ox1eef> :)
yxhuvud has quit [Remote host closed the connection]
yxhuvud has joined #ruby
taupiqueur has quit [Ping timeout: 256 seconds]
TCZ has quit [Quit: Leaving]
gr33n7007h has quit [Quit: WeeChat 3.4]
donofrio_ has joined #ruby
donofrio has quit [Ping timeout: 256 seconds]
maroloccio has quit [Quit: WeeChat 3.0]
bsliger has joined #ruby
taupiqueur has joined #ruby
oxfuxxx has joined #ruby
oxfuxxx has quit [Ping timeout: 268 seconds]
gproto23 has joined #ruby
bluedust has quit [Remote host closed the connection]
roshanavand has joined #ruby
<mooff> thinking of using Delegator to make 'thread-local' global variables :)
<mooff> a honkin' good idea, right?
<adam12> heh
fdan has joined #ruby
<mooff> there's a zen to writing hooks like on(:join) { say "hey #{$nick} :)" if $chan == '#coolchan' }
<mooff> it's more approachable for people new to Ruby poking a weird bot over IRC
<mooff> and looks a bit like mIRC script, to boot
_ht has joined #ruby
<adam12> mooff: Where's $chan coming from?
<adam12> Is it actually a global?
bluedust has joined #ruby
<mooff> it really is a global. atm it's set by an early hook along with $msg, $args, $tags, etc
<mooff> but of course only one bot has the 'luxury' of using globals that way
<adam12> mooff: Interesting.
gproto23 has quit [Remote host closed the connection]
fef has quit [Quit: Leaving]
fdan has quit [Quit: Client closed]
___nick___ has joined #ruby
Guest6792 has quit [Ping timeout: 256 seconds]
szkl has quit [Quit: Connection closed for inactivity]
Guest6792 has joined #ruby
markong has quit [Ping timeout: 256 seconds]
taupiqueur has quit [Read error: Connection reset by peer]
taupiqueur has joined #ruby
taupiqueur has quit [Ping timeout: 245 seconds]
taupiqueur has joined #ruby
bluedust_ has joined #ruby
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
bluedust has quit [Ping timeout: 256 seconds]
___nick___ has joined #ruby
bluedust has joined #ruby
___nick___ has quit [Client Quit]
taupiqueur_ has joined #ruby
taupiqueur has quit [Ping timeout: 240 seconds]
___nick___ has joined #ruby
bluedust_ has quit [Ping timeout: 252 seconds]
taupiqueur has joined #ruby
taupiqueur_ has quit [Ping timeout: 260 seconds]
oxfuxxx has joined #ruby
libsys has quit [Ping timeout: 272 seconds]
libsys has joined #ruby
nyuszika7h has joined #ruby
bluedust_ has joined #ruby
bluedust has quit [Ping timeout: 256 seconds]
bluedust has joined #ruby
bluedust_ has quit [Ping timeout: 245 seconds]
ZAJDAN has joined #ruby
goepsilongo_ has joined #ruby
goepsilongo has quit [Ping timeout: 256 seconds]
bluedust has quit [Remote host closed the connection]
bluedust has joined #ruby
bluedust has quit [Ping timeout: 256 seconds]
___nick___ has quit [Ping timeout: 252 seconds]
_ht has quit [Remote host closed the connection]
oxfuxxx has quit [Read error: Connection reset by peer]
oxfuxxx has joined #ruby
basso has joined #ruby
tcowell_ has joined #ruby
tcowell_ has left #ruby [#ruby]
tcowell_ has joined #ruby
tcowell_ has quit []
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
roshanavand has quit [Remote host closed the connection]
va5c0 has joined #ruby
infinity_fye has quit [Quit: Leaving]
markong has joined #ruby
va5c0 has quit [Quit: WeeChat 3.4]
Garb0 has joined #ruby
<Garb0> Hi, stupid question: how to get nonblocking IO for readline?
impermanence has quit [Quit: Connection closed]