adam12 changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.2, 2.7.4, 2.6.8: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
<nakilon> probably RRDB input timestamps also have to be in order
graywolf has quit [Ping timeout: 268 seconds]
graywolf has joined #ruby
<nakilon> the bad thing I imagine is that the exported png won't allow you do hover mouse over a line or label in the list to highlight it on graph among others like stackdrivers does
<nakilon> it's the way how I find which line died
easbarbosa has joined #ruby
Rounin has quit [Ping timeout: 240 seconds]
<nakilon> and no alerting
<nakilon> oh, cacti provides alerting I guess
wmoxam has quit [Ping timeout: 256 seconds]
wmoxam has joined #ruby
neshpion has joined #ruby
lzap has quit [Quit: ZNC]
easbarbosa has quit [Ping timeout: 252 seconds]
neshpion has quit [Remote host closed the connection]
neshpion has joined #ruby
drincruz_ has joined #ruby
pwnd_sfw has quit [Read error: Connection reset by peer]
pwnd_sfw3 has joined #ruby
pwnd_sfw3 has quit [Quit: Ping timeout (120 seconds)]
pwnd_sfw has joined #ruby
<nakilon> I wonder if there is any Ruby interface to /proc analogue on macOS https://stackoverflow.com/a/11938556/322020
<nakilon> specifically to read the cmdline
<nakilon> btw who's setting up topic here? looks like whitequark made logs for libera already: https://libera.irclog.whitequark.org/ruby
Exuma has joined #ruby
Exuma has quit [Client Quit]
Exuma has joined #ruby
Exuma has quit [Client Quit]
ua__ has quit [Excess Flood]
ua__ has joined #ruby
lucf117 has joined #ruby
lucf117 has quit [Remote host closed the connection]
ua__ has quit [Ping timeout: 255 seconds]
ua__ has joined #ruby
jhass[m] has quit [*.net *.split]
moo has quit [*.net *.split]
pandabot has quit [*.net *.split]
Fusl has quit [*.net *.split]
keyvan has quit [*.net *.split]
balo has quit [*.net *.split]
moo- has joined #ruby
Fusl has joined #ruby
balo has joined #ruby
keyvan has joined #ruby
nirix has joined #ruby
ua__ has quit [Ping timeout: 240 seconds]
Garb0 has joined #ruby
Garb0 has quit [Client Quit]
ua__ has joined #ruby
roadie has joined #ruby
roadie has left #ruby [#ruby]
roadie has joined #ruby
neshpion has quit [Quit: neshpion]
<nakilon> weird but I don't really understand how to install this gem https://oss.oetiker.ch/rrdtool/prog/rrdruby.en.html
<nakilon> I thought this is it https://github.com/t3hk0d3/rrd-ruby but it looks different and it's only a fetcher from rrd files'
ua__ has quit [Read error: Connection reset by peer]
<nakilon> nvm I guess this is it: https://github.com/bernd/librrd-ruby
ckrailo has quit [Quit: Bridge terminating on SIGTERM]
jhass[m] has joined #ruby
ckrailo has joined #ruby
user1 has joined #ruby
user1 has quit [Quit: WeeChat 3.0.1]
user1 has joined #ruby
user1 has quit [Client Quit]
rem has joined #ruby
_ht has joined #ruby
andron1993 has joined #ruby
andron1993 has quit [Client Quit]
Rounin has joined #ruby
Garb0 has joined #ruby
jetchisel has joined #ruby
roadie` has joined #ruby
roadie` has quit [Remote host closed the connection]
roadie has quit [Ping timeout: 268 seconds]
Garb0 has quit [Ping timeout: 265 seconds]
Garb0 has joined #ruby
graywolf has quit [Quit: WeeChat 3.2]
Garb0 has quit [Quit: Garb0]
Garb0 has joined #ruby
graywolf has joined #ruby
mrkz_c has quit [Quit: Connection closed for inactivity]
gr33n7007h has quit [Quit: WeeChat 3.2]
reset has quit [Quit: reset]
reset has joined #ruby
moo- is now known as moo
rem has quit [Quit: WeeChat 3.0.1]
gr33n7007h has joined #ruby
Garb0 has quit [Quit: Garb0]
Garb0 has joined #ruby
Garb00 has joined #ruby
Garb0 has quit [Read error: Connection reset by peer]
Garb00 has quit [Quit: Garb00]
Garb0 has joined #ruby
Garb0 has quit [Client Quit]
Garb0 has joined #ruby
drincruz_ has quit [Ping timeout: 272 seconds]
Garb0 has quit [Quit: Garb0]
reset has quit [Quit: reset]
goldfish has joined #ruby
nirix has quit [Quit: Connection closed for inactivity]
Garb0 has joined #ruby
<adam12> nakilon: Not sure what you're doing and how much data you have, but using sqlite might be a nicer experience, imho. I did custom rrd stuff back in 2006 and it was brutal.
michigan has joined #ruby
<michigan> Hello, so normally I set my translations like `I18n.locale = :en` etc. But would something like this work `I18n.locale = :#{ something }`?
<michigan> Or is it a "Ruby doesn't work like that" kinda thing? :-)
<nakilon> adam12 I'll push the data to cloud nosql, then retrieve and pass via rrd ruby bindings
<nakilon> I almost made it, the only thing left is to add the oauth to cloud run service, it's much less straight-forward than the rrd part
<nakilon> michigan try :"#{ something }"
<nakilon> or someting.to_sym
<michigan> hmmm
<michigan> Very cool
finsternis has joined #ruby
jetchisel has quit [Ping timeout: 272 seconds]
jetchisel has joined #ruby
mrkz_c has joined #ruby
<weaksauce> so basically all the markov gems are just using hashes with arrays that they sample with equal probability. does anyone know of a proper implementation of a markov generator that actually uses probability and also adds some randomness to the output so it's not as deterministic?
Garb0 has quit [Read error: Connection reset by peer]
graywolf has quit [Ping timeout: 258 seconds]
Garb0 has joined #ruby
lucf117 has joined #ruby
bandithijo has quit [Ping timeout: 255 seconds]
Garb0 has quit [Quit: Garb0]
Garb0 has joined #ruby
<ikke> How do I get the version part of the path that gems are installed in. For example, ruby 2.7.3 is installed, and gems are installed to */2.7.0/gems
<ikke> How do I print just the 2.7.0 part?
_ht has quit [Remote host closed the connection]
<weaksauce> ikke from what are you getting the path?
<weaksauce> could just do a regex for it if you have a path string
<ikke> weaksauce: I suppose so, just wondering if there was an easy way to let ruby provide it
Garb00 has joined #ruby
Garb0 has quit [Ping timeout: 258 seconds]
<weaksauce> >> "#{RUBY_VERSION[..-2]}0"
<ruby[bot]> weaksauce: # => "3.0.0" (https://carc.in/#/r/bj0s)
<weaksauce> fragile version of it
<gr33n7007h> >> File.basename Gem.user_dir
<ruby[bot]> gr33n7007h: # => "3.0.0" (https://carc.in/#/r/bj16)
drincruz_ has joined #ruby
<gr33n7007h> >> File.basename Gem.vendor_dir
<ruby[bot]> gr33n7007h: # => "3.0.0" (https://carc.in/#/r/bj18)
<ikke> right, all indirect ways, so not relaly a direct way
<weaksauce> what do you need it for?
<ikke> A project builds gems in a vendor dir (vendor/bundle/ruby/<version>)
Garb00 has quit [Ping timeout: 268 seconds]
Garb00 has joined #ruby
Garb00 has quit [Read error: Connection reset by peer]
Garb00 has joined #ruby
menace has joined #ruby
menace has quit [Changing host]
menace has joined #ruby
Garb000 has joined #ruby
ur5us has joined #ruby
Garb00 has quit [Ping timeout: 265 seconds]
menace has quit [Quit: menace]
Garb000 has quit [Read error: Connection reset by peer]
Garb000 has joined #ruby
Garb000 has quit [Ping timeout: 255 seconds]
drincruz_ has quit [Ping timeout: 268 seconds]
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
bandithijo has joined #ruby
drincruz_ has joined #ruby
bandithijo has quit [Ping timeout: 255 seconds]
ua_ has joined #ruby
ua_ has quit [Ping timeout: 252 seconds]
SuperLag has quit [Remote host closed the connection]
ua_ has joined #ruby
SuperLag has joined #ruby
goldfish has quit [Ping timeout: 272 seconds]
ua_ has quit [Ping timeout: 268 seconds]
ua_ has joined #ruby
bandithijo has joined #ruby
rhe has quit [Quit: Ping timeout (120 seconds)]
rhe has joined #ruby