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
gigamo has quit [Server closed connection]
gigamo has joined #ruby
AssCrackBandit has joined #ruby
caedmon has quit [Quit: caedmon]
caedmon has joined #ruby
caedmon has quit [Ping timeout: 240 seconds]
caedmon has joined #ruby
caedmon has quit [Ping timeout: 240 seconds]
OverCoder has joined #ruby
FetidToot4 has joined #ruby
FetidToot has quit [Ping timeout: 240 seconds]
FetidToot4 is now known as FetidToot
xmachina has joined #ruby
AssCrackBandit has quit [Ping timeout: 264 seconds]
shiru has joined #ruby
shiru has quit [Quit: leaving]
u0_a1152 has joined #ruby
yziquel has quit [Ping timeout: 245 seconds]
u0_a1152 has quit [Ping timeout: 240 seconds]
u0_a1154 has joined #ruby
Linux_Kerio has joined #ruby
tomtmym has joined #ruby
tomtmym has quit [Changing host]
tomtmym has joined #ruby
Vonter has quit [Ping timeout: 240 seconds]
pastorinni has joined #ruby
grenierm has joined #ruby
u0_a1154 has quit [Ping timeout: 240 seconds]
Vonter has joined #ruby
pastorinni has quit [Quit: Leaving]
Linux_Kerio has quit [Quit: Konversation terminated!]
Linux_Kerio has joined #ruby
Linux_Kerio has quit [Quit: Konversation terminated!]
Linux_Kerio has joined #ruby
yziquel has joined #ruby
u0_a1154 has joined #ruby
Linux_Kerio has quit [Ping timeout: 240 seconds]
u0_a1154 has quit [Read error: Connection reset by peer]
u0_a1154 has joined #ruby
yziquel has quit [Ping timeout: 245 seconds]
u0_a1154 has quit [Ping timeout: 244 seconds]
crespire1 has joined #ruby
crespire has quit [Killed (NickServ (GHOST command used by crespire1))]
_ht has joined #ruby
grenierm has quit [Ping timeout: 245 seconds]
Bish has quit [Ping timeout: 252 seconds]
wnd has quit [Server closed connection]
wnd has joined #ruby
hightower3 has joined #ruby
hightower2 has quit [Ping timeout: 244 seconds]
infinityfye has joined #ruby
leah2 has quit [Ping timeout: 240 seconds]
leah2 has joined #ruby
AssCrackBandit has joined #ruby
Guest25 has joined #ruby
Guest25 has left #ruby [#ruby]
pounce has quit [Ping timeout: 245 seconds]
pounce has joined #ruby
constxqt has joined #ruby
constxqt has quit [Ping timeout: 264 seconds]
constxqt has joined #ruby
constxqt has quit [Ping timeout: 264 seconds]
hiyori has joined #ruby
<hiyori> OS: Gentoo Linux (x64) (6.5.3-gentoo-dist)
<hiyori> I'm trying to build dev-ruby/psych but I got errors on the output, how do I fix this issue?
constxqt has joined #ruby
molle has quit [Ping timeout: 264 seconds]
gr33n7007h has quit [Ping timeout: 244 seconds]
gr33n7007h has joined #ruby
Fridtjof has quit [Quit: ZNC - http://znc.in]
nmollerup has joined #ruby
tomtmym has quit [Quit: Gone.]
Fridtjof has joined #ruby
gr33n7007h has quit [Ping timeout: 240 seconds]
gr33n7007h has joined #ruby
mexen has joined #ruby
gr33n7007h has quit [Ping timeout: 244 seconds]
Linux_Kerio has joined #ruby
gr33n7007h has joined #ruby
gr33n7007h has quit [Ping timeout: 255 seconds]
gr33n7007h has joined #ruby
jess has quit []
willfish has joined #ruby
u0_a115 has joined #ruby
AssCrackBandit has quit [Ping timeout: 240 seconds]
u0_a115 has quit [Read error: Connection reset by peer]
Vonter has quit [Ping timeout: 240 seconds]
Vonter has joined #ruby
u0_a115 has joined #ruby
u0_a115 has quit [Ping timeout: 244 seconds]
Guest66 has joined #ruby
shokohsc5108 has joined #ruby
u0_a115 has joined #ruby
u0_a115 has quit [Read error: Connection reset by peer]
otisolsen70 has joined #ruby
c10l has quit [Ping timeout: 252 seconds]
patrick- has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
u0_a115 has joined #ruby
dza has quit [Server closed connection]
dza has joined #ruby
Vonter has quit [Ping timeout: 240 seconds]
u0_a115 has quit [Ping timeout: 252 seconds]
Vonter has joined #ruby
u0_a115 has joined #ruby
u0_a115 has quit [Ping timeout: 244 seconds]
<leftylink> dang it. So you can do Hash.new(0), you can do {a: 1}, but you can't do both (have a default value and some non-default values)
<leftylink> best I could come up with is something like {a: 1}.tap { _1.default = 0 }
u0_a115 has joined #ruby
<leftylink> `h = {a: 1}; h.default = 0` was not acceptable since I didn't want to pollute local variables
<leftylink> I will just have to be grateful that tap makes possible things that there is not a specialised method for
willfish has quit [Ping timeout: 240 seconds]
u0_a115 has quit [Ping timeout: 240 seconds]
u0_a115 has joined #ruby
caedmon has joined #ruby
AssCrackBandit has joined #ruby
caedmon has quit [Quit: caedmon]
caedmon has joined #ruby
caedmon has quit [Ping timeout: 244 seconds]
mags has quit [Remote host closed the connection]
mags has joined #ruby
u0_a115 has quit [Read error: Connection reset by peer]
u0_a115 has joined #ruby
u0_a115 has quit [Ping timeout: 246 seconds]
u0_a115 has joined #ruby
<constxqt> rare ruby L
<constxqt> my language lets you write %{'a': 1, *: 0}
mexen has quit []
Linux_Kerio has quit [Ping timeout: 244 seconds]
c10l has joined #ruby
c10l has quit [Client Quit]
caedmon has joined #ruby
u0_a1151 has joined #ruby
caedmon has quit [Ping timeout: 244 seconds]
u0_a115 has quit [Ping timeout: 245 seconds]
AssCrackBandit has quit [Ping timeout: 240 seconds]
AssCrackBandit has joined #ruby
u0_a1152 has joined #ruby
u0_a1151 has quit [Read error: Connection reset by peer]
u0_a1152 has quit [Ping timeout: 264 seconds]
u0_a1152 has joined #ruby
c10l has joined #ruby
u0_a1152 has quit [Ping timeout: 244 seconds]
u0_a1152 has joined #ruby
u0_a1152 has quit [Ping timeout: 240 seconds]
fercell_ has quit [Read error: Connection reset by peer]
fercell has joined #ruby
_ht has quit [Quit: _ht]
Guest66 has quit [Quit: Client closed]
xmachina has quit [Quit: WeeChat 4.0.4]
shokohsc51087 has joined #ruby
shokohsc5108 has quit [Ping timeout: 240 seconds]
shokohsc51087 is now known as shokohsc5108
OverCoder has quit [Quit: Connection closed for inactivity]
willfish has joined #ruby
infinityfye has quit [Quit: Leaving]
brw has quit [Read error: Connection reset by peer]
u0_a1152 has joined #ruby
brw has joined #ruby
willfish has quit [Quit: WeeChat 4.0.4]
nakilon has joined #ruby
<nakilon> is it a bug?
<nakilon> Time.strptime "9/17/2023 16:46:05", "%D" => 2020-09-17 00:00:00 +0300
<nakilon> Time.strptime "16:46:05", "%T" => 2023-09-18 16:46:05 +0300
<nakilon> Time.strptime "9/17/2023 16:46:05", "%D %T" ArgumentError (invalid date or strptime format...
<nakilon> this looks retarded Time.strptime(s.split[1], "%T", Time.strptime(s, "%D"))
<leftylink> it is not a bug when we consider that %D is %m/%d/%y, and %y is a two-digit year not four-digit
otisolsen70 has quit [Quit: Leaving]
<nakilon> oh, didn't notice that year
<nakilon> thanks
reset has quit [Read error: Connection reset by peer]
<nakilon> damn weird format in someone's google spreadsheet
xmachina has joined #ruby
nakilon has quit [Quit: Client closed]
u0_a1152 has quit [Ping timeout: 264 seconds]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
reset has joined #ruby
AssCrackBandit has quit [Quit: leaving]
ringo___ has quit [Server closed connection]
ringo___ has joined #ruby
Munto has joined #ruby
fcser has quit [Ping timeout: 246 seconds]
fcser has joined #ruby
ua_ has quit [Ping timeout: 246 seconds]
ua_ has joined #ruby