00:07
smp has quit [Ping timeout: 240 seconds]
00:08
smp has joined #ruby
00:10
ur5us_ has quit [Ping timeout: 240 seconds]
00:13
smp has quit [Ping timeout: 240 seconds]
00:13
smp has joined #ruby
00:14
ur5us_ has joined #ruby
00:37
BoatToast has quit [Ping timeout: 256 seconds]
00:55
hanzo has joined #ruby
01:12
John_Ivan__ has quit [Ping timeout: 256 seconds]
01:19
lunarkitty has quit [Quit: Connection closed for inactivity]
01:34
ur5us_ has quit [Ping timeout: 240 seconds]
02:36
<
michigan >
Dude's too smart for his own good.
02:39
<
michigan >
He'd probably be better off a few hundred years into the future, with Matz.
02:39
<
michigan >
Chilling it with the cash stacks, let me relax, I'm on your side. Ruby - Mankind's greatest achievement in programming.
02:40
<
michigan >
Can I say this one thing? Please.
02:40
<
michigan >
Two days ago was the first day I started preaching on the street to strangers about Ruby.
02:46
BSaboia has joined #ruby
02:55
BSaboia has quit [Quit: This computer has gone to sleep]
02:59
ouestbillie has joined #ruby
03:14
fredlinhares has joined #ruby
03:37
constxd_ has quit [Ping timeout: 256 seconds]
03:42
bobdobbs has joined #ruby
03:43
duds- has quit [Remote host closed the connection]
03:44
duds- has joined #ruby
03:48
constxd_ has joined #ruby
03:52
constxd_ has quit [Client Quit]
03:52
constxd has joined #ruby
03:54
fredlinhares has quit [Quit: WeeChat 3.4]
04:04
bobdobbs` has joined #ruby
04:05
bobdobbs has quit [Ping timeout: 240 seconds]
04:52
<
nakilon >
havenwood "what app" -- a chat bot
04:52
<
nakilon >
the website has a chat and they provide chat api via websocket
04:53
<
nakilon >
I'm not yet sure how to handle connection losings
04:54
<
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?
04:59
constxd has quit [Ping timeout: 256 seconds]
05:33
bluedust has joined #ruby
05:51
bluedust_ has joined #ruby
05:54
bluedust has quit [Ping timeout: 240 seconds]
06:04
michigan has quit [Quit: Connection closed for inactivity]
06:04
bluedust_ has quit [Remote host closed the connection]
06:12
bluedust has joined #ruby
06:35
bluedust_ has joined #ruby
06:38
bluedust has quit [Ping timeout: 240 seconds]
06:42
<
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
06:44
constxd has joined #ruby
06:58
BSaboia has joined #ruby
06:58
<
jaredo >
does anyone know of a good general data structure validation library? I used something before, but I can't remember what it was.
06:58
<
jaredo >
all I can find is dry-schema and dry-validation, but neither does what I want
06:59
<
jaredo >
I need to validate some large hashes that do things neither of those gems can handle properly
06:59
<
jaredo >
I think what I used last time might have been from a testing framework, maybe
07:03
bluedust has joined #ruby
07:06
bluedust_ has quit [Ping timeout: 240 seconds]
07:24
Guest3367 has joined #ruby
07:29
constxd has quit [Ping timeout: 256 seconds]
07:41
nmollerup has quit [Remote host closed the connection]
07:41
nmollerup has joined #ruby
07:46
mollerup has joined #ruby
07:49
nmollerup has quit [Ping timeout: 240 seconds]
07:51
ur5us_ has joined #ruby
07:54
vit has joined #ruby
07:55
vit is now known as Guest2986
07:58
Guest3367 has quit [Ping timeout: 256 seconds]
08:09
bluedust has quit [Remote host closed the connection]
08:14
<
jaredo >
thanks nakilon I will have a look
08:32
niv has joined #ruby
08:37
bluedust has joined #ruby
08:39
bluedust has quit [Remote host closed the connection]
08:43
_ht has joined #ruby
08:54
oxfuxxx has quit [Ping timeout: 256 seconds]
08:55
ur5us_ has quit [Ping timeout: 240 seconds]
08:57
oxfuxxx has joined #ruby
08:59
___nick___ has joined #ruby
09:04
oxfuxxx has quit [Ping timeout: 268 seconds]
09:10
oxfuxxx has joined #ruby
09:10
teclator has joined #ruby
09:47
oxfuxxx has quit [Ping timeout: 240 seconds]
09:54
oxfuxxx has joined #ruby
10:03
niv has joined #ruby
10:07
bluedust has joined #ruby
10:14
gproto23 has joined #ruby
10:34
oxfuxxx has quit [Ping timeout: 240 seconds]
10:55
gproto23 has quit [Ping timeout: 256 seconds]
10:57
gproto23 has joined #ruby
11:43
bluedust has quit [Remote host closed the connection]
11:57
bluedust has joined #ruby
12:02
oxfuxxx has joined #ruby
12:21
bluedust has quit [Remote host closed the connection]
13:15
BSaboia has quit [Quit: This computer has gone to sleep]
13:44
duds- has quit [Remote host closed the connection]
13:45
duds- has joined #ruby
13:59
bluedust has joined #ruby
14:12
michigan has joined #ruby
14:14
bluedust_ has joined #ruby
14:17
bluedust has quit [Ping timeout: 240 seconds]
14:26
bluedust has joined #ruby
14:27
bluedus__ has joined #ruby
14:29
bluedust_ has quit [Ping timeout: 256 seconds]
14:30
bluedust has quit [Ping timeout: 240 seconds]
14:31
gallup has joined #ruby
14:33
bluedust has joined #ruby
14:36
bluedus__ has quit [Ping timeout: 256 seconds]
14:50
BSaboia has joined #ruby
14:54
oxfuxxx has quit [Ping timeout: 256 seconds]
14:56
gallup is now known as aouestbillie
15:13
RawFiend has joined #ruby
15:13
oxfuxxx has joined #ruby
15:19
RawFiend has quit [Ping timeout: 256 seconds]
15:46
constxd has joined #ruby
16:01
bluedust has quit [Remote host closed the connection]
16:02
bluedust has joined #ruby
16:05
constxd has quit [Quit: WeeChat 3.3]
16:05
constxd has joined #ruby
16:06
RougeR has joined #ruby
16:07
bluedust has quit [Ping timeout: 256 seconds]
16:11
ouestbillie has quit [Ping timeout: 256 seconds]
16:11
aouestbillie has quit [Ping timeout: 256 seconds]
16:11
bluedust has joined #ruby
16:12
fredlinhares has joined #ruby
16:13
bluedust has quit [Read error: Connection reset by peer]
16:13
bluedust has joined #ruby
16:54
ouestbillie has joined #ruby
16:54
aouestbillie has joined #ruby
16:54
Nowaker has quit [Ping timeout: 250 seconds]
16:55
Nowaker has joined #ruby
17:01
kinduff has quit [Ping timeout: 250 seconds]
17:02
kinduff has joined #ruby
17:02
michigan has quit [Quit: Connection closed for inactivity]
17:04
brw has quit [Ping timeout: 250 seconds]
17:05
brw has joined #ruby
17:07
waagrr has quit [Ping timeout: 245 seconds]
17:11
waagrr has joined #ruby
17:22
goldfish has joined #ruby
17:24
goldfish has quit [Remote host closed the connection]
17:32
havenwood has quit [Remote host closed the connection]
17:32
havenwood has joined #ruby
17:59
bluedust_ has joined #ruby
18:01
bluedust has quit [Ping timeout: 256 seconds]
18:04
constxd has quit [Ping timeout: 256 seconds]
18:13
bluedust has joined #ruby
18:16
bluedust_ has quit [Ping timeout: 256 seconds]
18:20
havenwood has joined #ruby
18:44
factor has quit [Read error: Connection reset by peer]
18:49
factor has joined #ruby
19:13
teclator has joined #ruby
19:23
Jonopoly has joined #ruby
19:24
___nick___ has joined #ruby
19:24
___nick___ has quit [Client Quit]
19:25
___nick___ has joined #ruby
19:39
goldfish has joined #ruby
19:58
howdoi has joined #ruby
20:22
bluedust_ has joined #ruby
20:25
bluedust has quit [Ping timeout: 240 seconds]
20:35
RougeR has quit [Ping timeout: 256 seconds]
20:37
bluedust has joined #ruby
20:40
bluedust_ has quit [Ping timeout: 240 seconds]
20:40
ouestbillie has quit [Ping timeout: 256 seconds]
20:40
aouestbillie has quit [Ping timeout: 256 seconds]
20:49
gproto23 has quit [Read error: Connection reset by peer]
21:02
_ht has quit [Remote host closed the connection]
21:03
___nick___ has quit [Ping timeout: 240 seconds]
21:14
ouestbillie has joined #ruby
21:14
aouestbillie has joined #ruby
21:25
Liexei has quit [Quit: Bye...]
21:32
sagax has joined #ruby
21:35
perrierjouet has quit [Quit: WeeChat 3.4]
21:36
<
havenwood >
nakilon: for reconnection, close the server onerror and reconnect onclose.
21:38
<
havenwood >
nakilon: hem, when you're not inside a reactor already, an `Async do` is like `Async::Reactor.new.run do`.
21:39
<
havenwood >
nakilon: you need the block because the reactor closes when the block closes.
21:39
<
havenwood >
lemme think, can you manually close it? I've never seen that pattern.
21:42
<
havenwood >
nakilon: yes, looking at the code it looks like you can do: task = Async::Reactor.new
21:42
<
havenwood >
nakilon: then: task.async do
21:43
<
havenwood >
and: task.close
21:43
<
havenwood >
maybe name it reactor and use #run
21:44
<
havenwood >
see a few examples now doing that
21:44
ikonia has quit [Ping timeout: 250 seconds]
21:45
<
havenwood >
yeah, irb manpage needs an update
21:45
ikonia has joined #ruby
21:45
hanzo has quit [Quit: Connection closed for inactivity]
21:55
perrierjouet has joined #ruby
22:04
axsuul has joined #ruby
22:05
axsuul has quit [Quit: 👋]
22:06
axsuul has joined #ruby
22:10
Jonopoly has quit [Quit: WeeChat 3.0]
22:18
axsuul_ has joined #ruby
22:20
constxd has joined #ruby
22:31
axsuul_ has quit []
22:43
m_antis has joined #ruby
22:55
weaksauce has joined #ruby
23:15
constxd has quit [Ping timeout: 256 seconds]
23:27
Guest2986 has quit [Quit: Konversation terminated!]
23:29
bluedust has quit [Remote host closed the connection]
23:56
joast has joined #ruby