havenwood changed the topic of #ruby to: Ruby 3.2.2, 3.1.4, 3.3.0-preview2: https://www.ruby-lang.org | Rules: https://ruby-community.com | Logs: https://libera.irclog.whitequark.org/ruby
molle has joined #ruby
mollerup has quit [Ping timeout: 264 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
Vonter has quit [Ping timeout: 245 seconds]
Vonter has joined #ruby
OverCoder has joined #ruby
finsternis has joined #ruby
<ox1eef_> adam12: Nice. That's close to what I have in mind.
oolitic is now known as CrazyEddy
caedmon has quit [Quit: caedmon]
caedmon has joined #ruby
constxqt has quit [Ping timeout: 264 seconds]
constxqt has joined #ruby
constxqt has quit [Ping timeout: 244 seconds]
caedmon has quit [Ping timeout: 264 seconds]
dalan0382283 has quit [Ping timeout: 246 seconds]
constxqt has joined #ruby
constxqt has quit [Ping timeout: 244 seconds]
constxqt has joined #ruby
constxqt has quit [Ping timeout: 244 seconds]
constxqt has joined #ruby
constxqt has quit [Ping timeout: 240 seconds]
dalan0382283 has joined #ruby
r3m has quit [Quit: WeeChat 4.1.0-dev]
r3m has joined #ruby
grenierm has joined #ruby
u0_a115 has joined #ruby
u0_a115 is now known as misper
constxqt has joined #ruby
misper has quit [Ping timeout: 240 seconds]
tomtmym has joined #ruby
tomtmym has quit [Changing host]
tomtmym has joined #ruby
_ht has joined #ruby
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
dviola has quit [Quit: WeeChat 4.0.4]
dviola has joined #ruby
gr33n7007h has quit [Ping timeout: 244 seconds]
gr33n7007h has joined #ruby
gr33n7007h has quit [Ping timeout: 244 seconds]
gr33n7007h has joined #ruby
grenierm has quit [Ping timeout: 245 seconds]
nisstyre has quit [Server closed connection]
nisstyre has joined #ruby
Linux_Kerio has joined #ruby
misper has joined #ruby
rdsm has quit [Server closed connection]
rdsm has joined #ruby
misper has quit [Ping timeout: 244 seconds]
hightower2 has quit [Ping timeout: 244 seconds]
legahc has quit [Server closed connection]
legahc has joined #ruby
Linux_Kerio has quit [Read error: Connection reset by peer]
Linux_Kerio has joined #ruby
hightower2 has joined #ruby
misper has joined #ruby
misper has quit [Ping timeout: 252 seconds]
hightower2 has quit [Ping timeout: 240 seconds]
hightower2 has joined #ruby
hightower3 has joined #ruby
hightower2 has quit [Ping timeout: 258 seconds]
misper has joined #ruby
hightower3 has quit [Ping timeout: 244 seconds]
konsolebox has joined #ruby
misper has quit [Ping timeout: 255 seconds]
misper has joined #ruby
u0_a115 has joined #ruby
misper has quit [Ping timeout: 240 seconds]
konsolebox has quit [Ping timeout: 244 seconds]
u0_a115 has quit [Ping timeout: 244 seconds]
Vonter has quit [Ping timeout: 264 seconds]
Vonter has joined #ruby
rvalue has quit [Quit: ZNC - https://znc.in]
rvalue has joined #ruby
caedmon has joined #ruby
u0_a115 has joined #ruby
u0_a115 has quit [Ping timeout: 244 seconds]
u0_a115 has joined #ruby
cognemo has quit [Quit: ZNC 1.8.2 - https://znc.in]
cognemo has joined #ruby
clemens3 has quit [Server closed connection]
cognemo has quit [Quit: ZNC 1.8.2 - https://znc.in]
clemens3 has joined #ruby
cognemo has joined #ruby
c10l has quit [Quit: See ya! o/]
c10l has joined #ruby
c10l has quit [Client Quit]
c10l has joined #ruby
blop_ has quit [Remote host closed the connection]
blop_ has joined #ruby
hightower2 has joined #ruby
u0_a115 has quit [Ping timeout: 255 seconds]
u0_a115 has joined #ruby
u0_a115 has quit [Ping timeout: 255 seconds]
keyvan has quit [Server closed connection]
Vonter has quit [Ping timeout: 255 seconds]
Vonter has joined #ruby
u0_a115 has joined #ruby
yziquel has joined #ruby
keyvan has joined #ruby
u0_a1151 has joined #ruby
u0_a115 has quit [Read error: Connection reset by peer]
u0_a1151 has quit [Ping timeout: 252 seconds]
u0_a1151 has joined #ruby
yziquel has quit [Quit: Client closed]
yziquel has joined #ruby
u0_a1151 has quit [Ping timeout: 264 seconds]
u0_a1152 has joined #ruby
u0_a1152 has quit [Ping timeout: 252 seconds]
u0_a1152 has joined #ruby
u0_a1152 has quit [Ping timeout: 244 seconds]
John_Ivan has quit [Read error: Connection reset by peer]
John_Ivan has joined #ruby
yziquel has quit [Ping timeout: 245 seconds]
Spitfire has quit [Ping timeout: 246 seconds]
Spitfire has joined #ruby
yziquel has joined #ruby
John_Ivan has quit [Quit: Disrupting the dragon's slumber one time too often shall eventually bestow upon all an empirical and indiscriminate conflagration that will last for all goddamn eternity.]
John_Ivan has joined #ruby
xmachina has quit [Quit: WeeChat 4.0.4]
xmachina has joined #ruby
Linux_Kerio has quit [Ping timeout: 240 seconds]
<myappie> https://gist.github.com/basicfeatures/c36821ae92e117e0d4ac49ecc974cbdc just finished - WARNING: Backup your project. Rewrites history and modifies files.
tomtmym has quit [Quit: Gone.]
xmachina has quit [Quit: WeeChat 4.0.4]
xmachina has joined #ruby
<constxqt> bros
yziquel has quit [Quit: Client closed]
<constxqt> anyone bored? i have a little challenge for you
<constxqt> write a program that just copies data from stdin to stdout but while it's copying it plots a sliding histogram on the tty showing the flow rate of the data for each 0.1sec interval
<constxqt> like this https://imgur.com/vvr8Nsh
xmachina has quit [Quit: WeeChat 4.0.4]
Vonter has quit [Ping timeout: 240 seconds]
Vonter has joined #ruby
u0_a1152 has joined #ruby
_ht has quit [Quit: _ht]
u0_a1152 has quit [Ping timeout: 244 seconds]
constxqt has quit [Ping timeout: 240 seconds]
u0_a1152 has joined #ruby
constxqt has joined #ruby
OverCoder has quit [Quit: Connection closed for inactivity]
constxqt has quit [Ping timeout: 240 seconds]
<leftylink> okay, I didn't know that...
<leftylink> pandabot rb [Class.new.name, (C = Class.new).name, Module.new.name, (M = Module.new).name]
<pandabot> [nil, "C", nil, "M"] - https://carc.in/#/r/fsno
<leftylink> so they learn their name upon being assigned to a constant.
<leftylink> what is the mechanism by which that happens?
<leftylink> is there a assigned_to_constant hook somewhere?
<ox1eef_> leftylink: Don't believe there is a hook for that. I'd guess it comes from the implementation of Module#name.
<ox1eef_> There is a const_added hook though, IIRC.
<ox1eef_> It was added in 3.2, though - and I believe that behavior predates 3.2. Probably not dependent on it.
u0_a1152 has quit [Ping timeout: 244 seconds]
Linux_Kerio has joined #ruby
constxqt has joined #ruby
constxqt has quit [Ping timeout: 244 seconds]
polishdub has quit [Ping timeout: 252 seconds]
levitating has joined #ruby
<levitating> Is there a way to do something like Array::map([]). So calling an instance method by referring to the class?
<ox1eef_> Nope. Not without some plumbing anyway. Ruby is OO first and foremost. But I like that pattern, and used it exclusively in a project of mine: https://github.com/0x1eef/ryo.rb
<ox1eef_> Specifically addressed here: https://github.com/0x1eef/ryo.rb#ryoeach
NightMonkey has quit [Ping timeout: 240 seconds]
NightMonkey_ has joined #ruby
<levitating> Ruby has such an elegant syntax but I wish it could be used more functionally. Cool project, I like prototypes.
<ox1eef_> I think it can be done but OO is usually the default.
<ox1eef_> Maybe check out Elixir if you haven't come across it yet. Essentially Ruby's syntax as a functional language.
NightMonkey_ is now known as NightMonkey
yziquel has joined #ruby
<levitating> I haven not played with Elixir yet, thanks for putting it back on my radar
<ox1eef_> Definitely worth a look, especially if you prefer functional paradigm.
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
yziquel has quit [Quit: Client closed]
Linux_Kerio has quit [Ping timeout: 264 seconds]
Vonter has quit [Ping timeout: 258 seconds]
Vonter has joined #ruby
yziquel has joined #ruby
brokkoli_origin has quit [Remote host closed the connection]
brokkoli_origin has joined #ruby