adam12 changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.1, 2.7.3, 2.6.7: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | BLM <3
patr0clus has joined #ruby
niv has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
n1v has joined #ruby
n1v is now known as niv
robotbee_ has joined #ruby
mozzarel1 has joined #ruby
mozzarella has quit [Remote host closed the connection]
robotbee has quit [Remote host closed the connection]
zofrex has quit [Read error: Connection reset by peer]
mbrndtgn has quit [Quit: Ping timeout (120 seconds)]
mbrndtgn3 has joined #ruby
mozzarel1 is now known as mozzarella
zofrex has joined #ruby
vondruch has quit [Remote host closed the connection]
leah2 has quit [Read error: Connection reset by peer]
ur5us has quit [Ping timeout: 245 seconds]
TCZ has quit [Quit: ...]
ur5us has joined #ruby
hiroaki has quit [Ping timeout: 260 seconds]
hiroaki has joined #ruby
DTZUZU_ has joined #ruby
ur5us has quit [Ping timeout: 245 seconds]
DTZUZU has quit [Ping timeout: 268 seconds]
hiroaki has quit [Ping timeout: 260 seconds]
DTZUZU has joined #ruby
DTZUZU_ has quit [Ping timeout: 265 seconds]
evdubs_ has joined #ruby
robotbee_ has quit [Ping timeout: 246 seconds]
evdubs__ has joined #ruby
evdubs has quit [Ping timeout: 268 seconds]
evdubs_ has quit [Ping timeout: 245 seconds]
<felipec> What would be a better way to do: n.clamp(0, nil)
<havenwood> felipec: one option is: n.clamp(0..)
SuperLag has joined #ruby
<felipec> havenwood: thanks, I guess that's something
<havenwood> n.negative? ? 0 : n
actuallybatman has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
Dooky has quit [Ping timeout: 245 seconds]
ur5us has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
deviantfero has joined #ruby
mayhew has quit [Quit: Konversation terminated!]
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
jenrzzz has joined #ruby
actuallybatman has joined #ruby
actuallybatman has quit [Client Quit]
actuallybatman has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
ur5us_ has joined #ruby
ur5us has quit [Ping timeout: 250 seconds]
actuallybatman has quit [Ping timeout: 268 seconds]
kapil_ has joined #ruby
DarthGandalf has quit [Quit: Bye]
DarthGandalf has joined #ruby
evdubs_ has joined #ruby
evdubs__ has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
tabakhase has quit [Quit: ZNC - http://znc.in]
jenrzzz has quit [Ping timeout: 240 seconds]
jamees has joined #ruby
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
yuesbeez has quit [Quit: Connection closed for inactivity]
tabakhase has joined #ruby
actuallybatman has joined #ruby
cliluw has quit [Ping timeout: 246 seconds]
gix- has joined #ruby
gix has quit [Disconnected by services]
ChmEarl has quit [Quit: Leaving]
Sina_ has quit [Quit: Connection closed for inactivity]
gix- has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
actuallybatman has quit [Ping timeout: 268 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
actuallybatman has joined #ruby
explorier has joined #ruby
jenrzzz has joined #ruby
jetchisel has quit [Ping timeout: 260 seconds]
<nakilon> why not just [0,n].max ?
<nakilon> clamp is for settings both borders
<nakilon> otherwise it's a useless expanding of stdlib usage
jetchisel has joined #ruby
<nakilon> *setting
<felipec> nakilon: I guess that works, but it's combersome to type: [a_bunch_of_code(), 0].max
<nakilon> 10:51:29 <havenwood> schultza: This is a gem called "lockfile" it appears.
<nakilon> such a detective plot twist
dinfuehr has quit [Ping timeout: 240 seconds]
dinfuehr has joined #ruby
<nakilon> n.clamp(0..) is obvoously more to type than [0,n].max
m27frogy has quit [Ping timeout: 260 seconds]
patr0clus has quit [Ping timeout: 268 seconds]
patr0clu_ has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jamees has quit [Quit: Connection closed]
jamees has joined #ruby
patr0clu_ has quit [Client Quit]
actuallybatman has quit [Ping timeout: 245 seconds]
jamees has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
actuallybatman has joined #ruby
DTZUZU_ has joined #ruby
robotbee_ has joined #ruby
DTZUZU has quit [Ping timeout: 252 seconds]
patr0clus has joined #ruby
robotbee_ has quit [Ping timeout: 240 seconds]
patr0clus has quit [Ping timeout: 240 seconds]
actuallybatman has quit [Ping timeout: 252 seconds]
evdubs_ is now known as evdubs
jenrzzz has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
TrufflePump has quit [Ping timeout: 258 seconds]
jenrzzz has quit [Ping timeout: 268 seconds]
TrufflePump has joined #ruby
prion has joined #ruby
jenrzzz has joined #ruby
dinfuehr has quit [Ping timeout: 252 seconds]
infernix has quit [Ping timeout: 250 seconds]
dinfuehr has joined #ruby
nertzy_ has joined #ruby
robotbee_ has joined #ruby
nertzy has quit [Ping timeout: 246 seconds]
ur5us_ has quit [Ping timeout: 252 seconds]
<felipec> nakilon: it's the length that bothers me
infernix has joined #ruby
tpanarch1st has quit [Ping timeout: 240 seconds]
prion has quit [Ping timeout: 246 seconds]
DTZUZU has joined #ruby
DTZUZU_ has quit [Ping timeout: 240 seconds]
robotbee_ has quit [Ping timeout: 260 seconds]
elcuervo has quit [Read error: Connection reset by peer]
elcuervo has joined #ruby
feriman has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TrufflePump has quit [Ping timeout: 258 seconds]
felipec has quit [Quit: Leaving]
TrufflePump has joined #ruby
TrufflePump has quit [Ping timeout: 258 seconds]
jla has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
hiroaki has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
teclator has joined #ruby
patr0clus has joined #ruby
jenrzzz has joined #ruby
TK__ has joined #ruby
leah2 has joined #ruby
Bounga has joined #ruby
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
vondruch has joined #ruby
patr0clus has quit [Quit: Textual IRC Client: www.textualapp.com]
konsolebox has quit [Read error: Connection reset by peer]
konsolebox has joined #ruby
gearnode has joined #ruby
cd has quit [Quit: cd]
DTZUZU_ has joined #ruby
DTZUZU has quit [Ping timeout: 240 seconds]
explorier has quit [Ping timeout: 252 seconds]
explorier has joined #ruby
naftilos76 has joined #ruby
ur5us_ has joined #ruby
royo25 has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
TrufflePump has joined #ruby
TrufflePump has quit [Ping timeout: 258 seconds]
jenrzzz has joined #ruby
noboruma has quit [Ping timeout: 245 seconds]
ur5us__ has joined #ruby
ur5us_ has quit [Ping timeout: 245 seconds]
zapata has quit [Quit: WeeChat 3.1]
naftilos76 has quit [Quit: Leaving]
royo25 has quit [Quit: Bye]
royo25 has joined #ruby
ur5us__ has quit [Ping timeout: 260 seconds]
prion has joined #ruby
_nick_ has quit [Ping timeout: 252 seconds]
weaksauce has quit [Ping timeout: 252 seconds]
Arthur_ is now known as Hess
Hess has joined #ruby
Hess has joined #ruby
Hess has quit [Changing host]
vondruch_ has joined #ruby
vondruch has quit [Ping timeout: 268 seconds]
vondruch_ is now known as vondruch
TrufflePump has joined #ruby
TrufflePump has quit [Ping timeout: 258 seconds]
prion has quit [Ping timeout: 260 seconds]
Bounga has quit [Read error: Connection reset by peer]
KeinBock has quit [Quit: Connection closed for inactivity]
al2o3-cr has quit [Read error: Connection reset by peer]
queip has quit [Read error: Connection reset by peer]
m27frogy has joined #ruby
jla has quit [Ping timeout: 246 seconds]
jla has joined #ruby
zapata has joined #ruby
queip has joined #ruby
rubydoc has quit [Read error: Connection reset by peer]
cd has joined #ruby
royo25 has quit [Ping timeout: 240 seconds]
rubydoc has joined #ruby
royo25 has joined #ruby
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
henninb has joined #ruby
henninb has quit [Client Quit]
henninb has joined #ruby
Sina_ has joined #ruby
Sina_ has quit [Client Quit]
Sina has joined #ruby
rem1hacker5 has joined #ruby
al2o3-cr has joined #ruby
prion has joined #ruby
explorier has quit [Ping timeout: 268 seconds]
explorier has joined #ruby
rem1hacker5 has quit [Ping timeout: 265 seconds]
Dooky has joined #ruby
Bounga has joined #ruby
S3dgw has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
feriman has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
prion has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
henninb has quit [Quit: Lost terminal]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
royo25 has quit [Quit: Bye]
jenrzzz has joined #ruby
robotbee_ has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
bukkitgerman8608 has joined #ruby
jenrzzz has joined #ruby
cliluw has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
sagax has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
Rudd0^ has quit [Ping timeout: 252 seconds]
S3dgw has quit [Ping timeout: 252 seconds]
ChmEarl has joined #ruby
Azure has quit [Quit: Textual IRC Client: www.textualapp.com]
Emmanuel_Chanel has quit [Quit: Leaving]
jenrzzz has joined #ruby
split-brain has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
feriman has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
ckapos has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
vondruch_ has joined #ruby
jenrzzz has joined #ruby
vondruch has quit [Ping timeout: 265 seconds]
vondruch_ is now known as vondruch
envex has quit [Ping timeout: 268 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
olspookishmagus has quit [Ping timeout: 240 seconds]
traffic has quit [Remote host closed the connection]
Qchmqs has joined #ruby
Emmanuel_Chanel has joined #ruby
MalkbabY has quit [Remote host closed the connection]
jenrzzz has joined #ruby
orbyt_ has joined #ruby
MalkbabY has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
mangold has joined #ruby
jenrzzz has joined #ruby
Fusl has quit [Quit: K-Lined]
jenrzzz has quit [Ping timeout: 265 seconds]
olspookishmagus has joined #ruby
olspookishmagus is now known as Guest72774
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
Rudd0 has joined #ruby
jenrzzz has joined #ruby
cthu| has joined #ruby
Bounga has quit [Ping timeout: 260 seconds]
DTZUZU has joined #ruby
explorier has quit [Ping timeout: 240 seconds]
DTZUZU_ has quit [Ping timeout: 240 seconds]
explorier has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ckapos has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
noboruma has joined #ruby
jenrzzz has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
vondruch has quit [Remote host closed the connection]
vondruch has joined #ruby
vondruch has quit [Client Quit]
vondruch has joined #ruby
Fusl has joined #ruby
dviola has quit [Quit: WeeChat 3.1]
bvdw has quit [Remote host closed the connection]
bvdw has joined #ruby
dviola has joined #ruby
am1no has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
mangold has quit [Ping timeout: 260 seconds]
sagax has joined #ruby
jla has quit [Ping timeout: 260 seconds]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
mangold has joined #ruby
vondruch has quit [Client Quit]
vondruch has joined #ruby
Guest72774 has quit [Quit: All for nothing]
vondruch has quit [Quit: vondruch]
olspookishmagus has joined #ruby
vondruch has joined #ruby
actuallybatman has joined #ruby
maasha has joined #ruby
<maasha> Hello
<maasha> Just upgraded to ruby 3
<maasha> eager to test some rbs, however, no vscode support?
<maasha> And what is the recommended type checker?
elcuervo has quit [Ping timeout: 240 seconds]
prion has joined #ruby
elcuervo has joined #ruby
<WA9ACE> that's a good question. I know sorbet does type checking, but does it support RBS in addition to it's own decorators?
<WA9ACE> I'm not sure
actuallybatman has quit [Ping timeout: 265 seconds]
<maasha> Is there an official type checker?
mangold has quit [Ping timeout: 265 seconds]
<maasha> and is there any type checker supported by vscode?
<maasha> otherwise I shall not be using rbs ... :o(
<havenwood> maasha: There is VSCode support.
<havenwood> maasha: See Steep.
<maasha> havenwood, yeah, I noticed steep. One man army project
yuesbeez has joined #ruby
<maasha> I was hoping for something community driven
<WA9ACE> is steep the defacto rbs type checker in absence of one built in to rubyy?
<havenwood> WA9ACE: Soutaro is a member of Ruby Core and wrote both RBS and Steep.
<WA9ACE> oh that's awesome!
<WA9ACE> I did not know that
<maasha> havenwood good to know
<maasha> I'll give it a spin
split-brain has quit []
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
hiroaki has quit [Ping timeout: 260 seconds]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
hiroaki has joined #ruby
prion has quit [Ping timeout: 246 seconds]
TrufflePump has joined #ruby
maasha has quit [Quit: Connection closed]
teclator has quit [Ping timeout: 252 seconds]
teclator has joined #ruby
elcuervo has quit [Read error: Connection reset by peer]
elcuervo has joined #ruby
teclator has quit [Ping timeout: 252 seconds]
teclator has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
pwnd_ has quit [Read error: Connection reset by peer]
pwnd_ has joined #ruby
weaksauce has joined #ruby
jla has joined #ruby
al2o3-cr has quit [Ping timeout: 252 seconds]
al2o3-cr has joined #ruby
TK__ has quit [Remote host closed the connection]
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
vondruch has quit [Read error: Connection reset by peer]
am1no has quit [Ping timeout: 268 seconds]
pwnd_ has quit [Quit: Ping timeout (120 seconds)]
pwnd_ has joined #ruby
feriman has quit [Ping timeout: 246 seconds]
feriman has joined #ruby
gix has joined #ruby
mangold has joined #ruby
howdoi has joined #ruby
feriman has quit [Ping timeout: 240 seconds]
feriman has joined #ruby
mangold has quit [Ping timeout: 265 seconds]
robotbee_ has quit [Ping timeout: 240 seconds]
bvdw has quit [Remote host closed the connection]
Nogodda has joined #ruby
explorier has quit [Ping timeout: 252 seconds]
explorier has joined #ruby
graphicsv has quit [Ping timeout: 258 seconds]
feriman has quit [Ping timeout: 246 seconds]
graphicsv has joined #ruby
stdedos has joined #ruby
TCZ has joined #ruby
_nick_ has joined #ruby
orbyt_ has joined #ruby
Nogodda has quit [Ping timeout: 240 seconds]
evdubs_ has joined #ruby
evdubs has quit [Ping timeout: 268 seconds]
jetchisel has quit [Ping timeout: 240 seconds]
stdedos has quit [Quit: Connection closed]
jetchisel has joined #ruby
pwnd_ has quit [Quit: Ping timeout (120 seconds)]
ur5us__ has joined #ruby
f4ctur4cion has joined #ruby
BTRE has quit [Quit: Leaving]
evdubs__ has joined #ruby
evdubs_ has quit [Ping timeout: 268 seconds]
AndreYuhai has joined #ruby
jetchisel has quit [Ping timeout: 250 seconds]
<AndreYuhai> Hey there, I've got a gem and I would like to use a certificate file from within my lib but I do not know how to include that file in my gem
<AndreYuhai> Here is the structure: https://paste.ofcode.org/nZmTdXwWf46iPSCLB3vRFt
<AndreYuhai> from within client.rb I would like to access zyte-proxy-ca.crt so I do something like "../../zyte-proxy-ca.crt" which does not work.
TCZ has quit [Quit: ...]
<AndreYuhai> File.expand_path maybe?
LiteWait has joined #ruby
gearnode has quit [Ping timeout: 245 seconds]
<AndreYuhai> Didn't work
mangold has joined #ruby
pwnd_ has joined #ruby
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
BTRE has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
gearnode has joined #ruby
LiteWait has quit [Quit: Connection closed]
mangold has quit [Ping timeout: 268 seconds]
robotbee_ has joined #ruby
Guest41501___ has left #ruby [#ruby]
jla has left #ruby [#ruby]
<AndreYuhai> weaksauce, Thank you I will check that tomorrow after I wake up :D
<AndreYuhai> Have a nice day, evening, night or whatever the time of the day is for you. :D
AndreYuhai has quit [Quit: Leaving]
f4ctur4cion has quit [Ping timeout: 252 seconds]
Dooky has quit [Quit: ZZZzzz…]
FastJack has quit [Ping timeout: 240 seconds]
noboruma has quit [Remote host closed the connection]
RhodiumTo4d has joined #ruby
stryek has quit [Quit: Connection closed for inactivity]
FastJack has joined #ruby
Dooky has joined #ruby
Dooky has quit [Client Quit]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ur5us_ has joined #ruby
ur5us__ has quit [Ping timeout: 250 seconds]
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
orbyt_ has joined #ruby
cthu| has quit [Ping timeout: 240 seconds]
deviantfero has quit [Quit: WeeChat 3.1]