havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.1.0, 3.0.3, 2.7.5: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
smp has quit [Ping timeout: 240 seconds]
smp has joined #ruby
ur5us_ has quit [Ping timeout: 240 seconds]
smp has quit [Ping timeout: 240 seconds]
smp has joined #ruby
ur5us_ has joined #ruby
BoatToast has quit [Ping timeout: 256 seconds]
hanzo has joined #ruby
John_Ivan__ has quit [Ping timeout: 256 seconds]
lunarkitty has quit [Quit: Connection closed for inactivity]
ur5us_ has quit [Ping timeout: 240 seconds]
<michigan> Shoutout to Ryan Bigg the undisputed king of #ruby and #rubyonrails: Ryan Bigg - Magic Tricks in Ruby - https://www.youtube.com/watch?v=lSiD3LZanPI
<michigan> Dude's too smart for his own good.
<michigan> He'd probably be better off a few hundred years into the future, with Matz.
<michigan> Chilling it with the cash stacks, let me relax, I'm on your side. Ruby - Mankind's greatest achievement in programming.
<michigan> Can I say this one thing? Please.
<michigan> Two days ago was the first day I started preaching on the street to strangers about Ruby.
BSaboia has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
ouestbillie has joined #ruby
fredlinhares has joined #ruby
constxd_ has quit [Ping timeout: 256 seconds]
bobdobbs has joined #ruby
duds- has quit [Remote host closed the connection]
duds- has joined #ruby
constxd_ has joined #ruby
constxd_ has quit [Client Quit]
constxd has joined #ruby
fredlinhares has quit [Quit: WeeChat 3.4]
bobdobbs` has joined #ruby
bobdobbs has quit [Ping timeout: 240 seconds]
<nakilon> havenwood "what app" -- a chat bot
<nakilon> the website has a chat and they provide chat api via websocket
<nakilon> I'm not yet sure how to handle connection losings
<nakilon> existing examples in the repo don't mention it; also do I really have to wrap everything in a "Async do |task|" or maybe I can do smth like "task = Async.new" once?
constxd has quit [Ping timeout: 256 seconds]
bluedust has joined #ruby
bluedust_ has joined #ruby
bluedust has quit [Ping timeout: 240 seconds]
michigan has quit [Quit: Connection closed for inactivity]
bluedust_ has quit [Remote host closed the connection]
bluedust has joined #ruby
bluedust_ has joined #ruby
bluedust has quit [Ping timeout: 240 seconds]
<nakilon> I want to disable the irb colorization; I see the --nocolorize in "irb --help" but "man irb" seems to be old and lacks of this flag
constxd has joined #ruby
BSaboia has joined #ruby
<jaredo> does anyone know of a good general data structure validation library? I used something before, but I can't remember what it was.
<jaredo> all I can find is dry-schema and dry-validation, but neither does what I want
<jaredo> I need to validate some large hashes that do things neither of those gems can handle properly
<jaredo> I think what I used last time might have been from a testing framework, maybe
bluedust has joined #ruby
bluedust_ has quit [Ping timeout: 240 seconds]
<nakilon> jaredo I use my own https://github.com/nakilon/nakischema
Guest3367 has joined #ruby
constxd has quit [Ping timeout: 256 seconds]
niv has quit [Quit: Powered by LunarBNC: https://LunarBNC.net]
nmollerup has quit [Remote host closed the connection]
nmollerup has joined #ruby
mollerup has joined #ruby
nmollerup has quit [Ping timeout: 240 seconds]
ur5us_ has joined #ruby
vit has joined #ruby
vit is now known as Guest2986
Guest3367 has quit [Ping timeout: 256 seconds]
bluedust has quit [Remote host closed the connection]
<jaredo> thanks nakilon I will have a look
niv has joined #ruby
bluedust has joined #ruby
bluedust has quit [Remote host closed the connection]
_ht has joined #ruby
oxfuxxx has quit [Ping timeout: 256 seconds]
ur5us_ has quit [Ping timeout: 240 seconds]
oxfuxxx has joined #ruby
___nick___ has joined #ruby
oxfuxxx has quit [Ping timeout: 268 seconds]
oxfuxxx has joined #ruby
teclator has joined #ruby
oxfuxxx has quit [Ping timeout: 240 seconds]
oxfuxxx has joined #ruby
niv has quit [Quit: Powered by LunarBNC: https://LunarBNC.net]
niv has joined #ruby
bluedust has joined #ruby
gproto23 has joined #ruby
oxfuxxx has quit [Ping timeout: 240 seconds]
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
gproto23 has quit [Ping timeout: 256 seconds]
gproto23 has joined #ruby
bluedust has quit [Remote host closed the connection]
bluedust has joined #ruby
oxfuxxx has joined #ruby
bluedust has quit [Remote host closed the connection]
BSaboia has quit [Quit: This computer has gone to sleep]
duds- has quit [Remote host closed the connection]
duds- has joined #ruby
bluedust has joined #ruby
michigan has joined #ruby
bluedust_ has joined #ruby
bluedust has quit [Ping timeout: 240 seconds]
bluedust has joined #ruby
bluedus__ has joined #ruby
bluedust_ has quit [Ping timeout: 256 seconds]
bluedust has quit [Ping timeout: 240 seconds]
gallup has joined #ruby
bluedust has joined #ruby
bluedus__ has quit [Ping timeout: 256 seconds]
BSaboia has joined #ruby
oxfuxxx has quit [Ping timeout: 256 seconds]
gallup is now known as aouestbillie
RawFiend has joined #ruby
oxfuxxx has joined #ruby
RawFiend has quit [Ping timeout: 256 seconds]
constxd has joined #ruby
bluedust has quit [Remote host closed the connection]
bluedust has joined #ruby
constxd has quit [Quit: WeeChat 3.3]
constxd has joined #ruby
RougeR has joined #ruby
bluedust has quit [Ping timeout: 256 seconds]
ouestbillie has quit [Ping timeout: 256 seconds]
aouestbillie has quit [Ping timeout: 256 seconds]
bluedust has joined #ruby
fredlinhares has joined #ruby
bluedust has quit [Read error: Connection reset by peer]
bluedust has joined #ruby
ouestbillie has joined #ruby
aouestbillie has joined #ruby
Nowaker has quit [Ping timeout: 250 seconds]
Nowaker has joined #ruby
kinduff has quit [Ping timeout: 250 seconds]
kinduff has joined #ruby
michigan has quit [Quit: Connection closed for inactivity]
brw has quit [Ping timeout: 250 seconds]
brw has joined #ruby
waagrr has quit [Ping timeout: 245 seconds]
waagrr has joined #ruby
goldfish has joined #ruby
goldfish has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
bluedust_ has joined #ruby
bluedust has quit [Ping timeout: 256 seconds]
constxd has quit [Ping timeout: 256 seconds]
bluedust has joined #ruby
bluedust_ has quit [Ping timeout: 256 seconds]
havenwood has quit [Quit: The Lounge - https://thelounge.chat]
havenwood has joined #ruby
factor has quit [Read error: Connection reset by peer]
factor has joined #ruby
teclator has joined #ruby
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Jonopoly has joined #ruby
___nick___ has joined #ruby
___nick___ has quit [Client Quit]
___nick___ has joined #ruby
goldfish has joined #ruby
howdoi has joined #ruby
bluedust_ has joined #ruby
bluedust has quit [Ping timeout: 240 seconds]
RougeR has quit [Ping timeout: 256 seconds]
bluedust has joined #ruby
bluedust_ has quit [Ping timeout: 240 seconds]
ouestbillie has quit [Ping timeout: 256 seconds]
aouestbillie has quit [Ping timeout: 256 seconds]
gproto23 has quit [Read error: Connection reset by peer]
_ht has quit [Remote host closed the connection]
___nick___ has quit [Ping timeout: 240 seconds]
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
ouestbillie has joined #ruby
aouestbillie has joined #ruby
axsuul has quit []
Liexei has quit [Quit: Bye...]
sagax has joined #ruby
perrierjouet has quit [Quit: WeeChat 3.4]
<havenwood> nakilon: for reconnection, close the server onerror and reconnect onclose.
<havenwood> nakilon: hem, when you're not inside a reactor already, an `Async do` is like `Async::Reactor.new.run do`.
<havenwood> nakilon: you need the block because the reactor closes when the block closes.
<havenwood> lemme think, can you manually close it? I've never seen that pattern.
<havenwood> nakilon: yes, looking at the code it looks like you can do: task = Async::Reactor.new
<havenwood> nakilon: then: task.async do
<havenwood> and: task.close
<havenwood> maybe name it reactor and use #run
<havenwood> see a few examples now doing that
ikonia has quit [Ping timeout: 250 seconds]
<havenwood> yeah, irb manpage needs an update
ikonia has joined #ruby
hanzo has quit [Quit: Connection closed for inactivity]
perrierjouet has joined #ruby
axsuul has joined #ruby
axsuul has quit [Quit: 👋]
axsuul has joined #ruby
Jonopoly has quit [Quit: WeeChat 3.0]
axsuul_ has joined #ruby
constxd has joined #ruby
axsuul_ has quit []
m_antis has quit [Quit: ZNC - https://znc.in]
m_antis has joined #ruby
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
weaksauce has joined #ruby
constxd has quit [Ping timeout: 256 seconds]
Guest2986 has quit [Quit: Konversation terminated!]
bluedust has quit [Remote host closed the connection]
joast has joined #ruby