00:17
va5c0 has joined #ruby
00:22
va5c0 has quit [Ping timeout: 258 seconds]
00:26
<
nakilon >
leftylink heh, I misread you and thought you said it does not work
00:57
bit4bit has quit [Remote host closed the connection]
01:30
swaggboi has quit [Quit: C-x C-c]
01:40
swaggboi has joined #ruby
01:53
neshpion has quit [Ping timeout: 244 seconds]
01:54
neshpion has joined #ruby
02:01
ua_ has quit [Ping timeout: 245 seconds]
02:33
desnudopenguino has quit [Ping timeout: 248 seconds]
03:43
lunarkitty has quit [Quit: Connection closed for inactivity]
04:02
neshpion has quit [Remote host closed the connection]
04:03
neshpion has joined #ruby
04:13
va5c0 has joined #ruby
04:17
va5c0 has quit [Ping timeout: 268 seconds]
05:04
slothby has quit [Quit: brb ... maybe]
05:04
slothby has joined #ruby
05:29
neshpion has quit [Quit: neshpion]
05:34
jpw has joined #ruby
05:49
lad has quit [Ping timeout: 248 seconds]
06:06
niv has joined #ruby
06:09
Oxfuxxx has quit [Quit: leaving]
06:16
mrkz_c has quit [Quit: Connection closed for inactivity]
06:29
Oxfuxxx has joined #ruby
06:38
dyCrazyEd has quit [Ping timeout: 258 seconds]
06:45
BSaboia has joined #ruby
06:51
endless has joined #ruby
07:26
jpw has quit [Ping timeout: 256 seconds]
07:31
jpw has joined #ruby
07:37
jpw_ has joined #ruby
07:38
jpw has quit [Ping timeout: 272 seconds]
07:42
jpw_ has quit [Ping timeout: 268 seconds]
07:44
jpw has joined #ruby
07:56
_ht has joined #ruby
08:00
jpw is now known as jpw_
08:00
jpw_ is now known as jpw
08:04
Oxfuxxx has quit [Ping timeout: 258 seconds]
08:22
Oxfuxxx has joined #ruby
08:24
elf_fortrez has joined #ruby
09:11
Oxfuxxx has quit [Ping timeout: 268 seconds]
09:16
Oxfuxxx has joined #ruby
09:29
Oxfuxxx has quit [Ping timeout: 268 seconds]
09:30
Oxfuxxx has joined #ruby
09:35
lunarkitty has joined #ruby
10:06
mrkz_c has joined #ruby
10:52
Oxfuxxx has quit [Ping timeout: 256 seconds]
10:53
Oxfuxxx has joined #ruby
11:10
Oxfuxxx has quit [Ping timeout: 268 seconds]
11:11
Oxfuxxx has joined #ruby
11:16
Oxfuxxx_ has joined #ruby
11:17
Oxfuxxx_ has quit [Client Quit]
11:18
Oxfuxxx has quit [Ping timeout: 258 seconds]
11:25
Oxfuxxx has joined #ruby
11:27
Oxfuxxx has quit [Client Quit]
11:28
Oxfuxxx has joined #ruby
11:28
Oxfuxxx has quit [Client Quit]
11:29
Oxfuxxx has joined #ruby
11:30
Oxfuxxx has quit [Client Quit]
11:31
joshcom has joined #ruby
11:59
roadt__ has quit [Ping timeout: 252 seconds]
12:00
roadt has joined #ruby
12:16
shokohsc has joined #ruby
12:19
joshcom has quit [Quit: Leaving]
12:25
lunarkitty has quit [Quit: Connection closed for inactivity]
13:10
gggp has joined #ruby
13:14
gggp_ has joined #ruby
13:17
gggp has quit [Ping timeout: 272 seconds]
14:13
gggp_ has quit [Remote host closed the connection]
14:14
gggp_ has joined #ruby
14:27
elf_fortrez has quit [Ping timeout: 246 seconds]
14:29
kwilczynski has joined #ruby
14:48
gggp_ has quit [Ping timeout: 248 seconds]
15:09
jpw_ has joined #ruby
15:09
jpw has quit [Ping timeout: 245 seconds]
16:05
<
nakilon >
recently I asked if it's ok to include \n in error messages
16:06
<
nakilon >
it appears that ruby appends "(<the exceotion class name>)" not to the actual end of the error message but to the end of the first line
16:07
<
nakilon >
does not make my life worse but is still a detail to consider
16:08
jpw_ is now known as jpw
16:23
gggp_ has joined #ruby
16:27
bhaak has quit [Ping timeout: 250 seconds]
16:28
bhaak has joined #ruby
16:40
lad has joined #ruby
17:03
desnudopenguino has joined #ruby
17:09
gggp_ has quit [Ping timeout: 268 seconds]
17:13
foxxx0 has quit [Quit: foxxx0]
17:13
Oxfuxxx has joined #ruby
17:15
foxxx0 has joined #ruby
17:25
roadie has joined #ruby
18:03
<
jpw >
nakilon, that's awesome. we were looking for a validator like that last week. i'll send it to the team to review. can it do yaml too?
18:06
<
nakilon >
jpw yay! it validates Ruby objects so you just do something like Nakischema.validate YAML.load(my_yaml_string), my_schema
18:07
<
jpw >
sounds great i've pinged it across
18:07
<
nakilon >
I've just discussed it a bit with a friend, he also wanted custom validation error messages so I'll probably add the example of raising the Error within :assertion, would need some little edit to display the error path correctly
18:07
<
nakilon >
thank you!
18:26
rubion has joined #ruby
18:53
JayDoubleu has quit [Ping timeout: 258 seconds]
18:54
keyvan has quit [Ping timeout: 245 seconds]
18:54
itok has quit [Ping timeout: 256 seconds]
18:54
pusewic|away has quit [Ping timeout: 240 seconds]
18:54
pjlsergeant has quit [Ping timeout: 272 seconds]
18:55
kwilczynski has quit [Ping timeout: 245 seconds]
18:55
josephl has quit [Ping timeout: 256 seconds]
18:56
rubin55___ has quit [Ping timeout: 272 seconds]
18:56
hsiktas has quit [Ping timeout: 252 seconds]
18:57
psb has quit [Read error: Connection reset by peer]
18:57
itok has joined #ruby
18:57
MachinShin has quit [Ping timeout: 256 seconds]
18:58
josephl has joined #ruby
18:58
integral has quit [Ping timeout: 256 seconds]
18:58
mrkz_c has quit [Ping timeout: 252 seconds]
18:58
joenoon has quit [Ping timeout: 258 seconds]
18:59
MachinShin has joined #ruby
18:59
hwrd has quit [Ping timeout: 276 seconds]
18:59
caleb has quit [Ping timeout: 245 seconds]
18:59
itok has quit [Max SendQ exceeded]
18:59
kwilczynski has joined #ruby
18:59
r0bby has quit [Ping timeout: 258 seconds]
18:59
mrkz_c has joined #ruby
18:59
JSharp has quit [Ping timeout: 240 seconds]
19:00
hsiktas has joined #ruby
19:00
keyvan has joined #ruby
19:00
itok has joined #ruby
19:00
Liothen has quit [Ping timeout: 240 seconds]
19:00
caleb has joined #ruby
19:00
pusewic|away has joined #ruby
19:00
hwrd has joined #ruby
19:00
integral has joined #ruby
19:01
r0bby has joined #ruby
19:01
psb has joined #ruby
19:01
joenoon has joined #ruby
19:01
JSharp has joined #ruby
19:02
Liothen has joined #ruby
19:05
niv has joined #ruby
19:06
JayDoubleu has joined #ruby
19:06
rubin55___ has joined #ruby
19:11
pjlsergeant has joined #ruby
19:36
Strongstan has joined #ruby
19:36
<
Strongstan >
Hi Everyone!
19:37
<
Strongstan >
I've been hammering away at this Ruby script for Vagrant and I keep running into Syntax errors with ruby
19:37
<
Strongstan >
Can someone review my code and see if the formatting is correct?
19:38
<
nakilon >
just paste it somewhere already
19:39
joshcom has joined #ruby
19:39
<
nakilon >
usually Ruby syntax error says the correct place where the it is, unless it's about the missing closing 'end'
19:40
sam113101 has quit [Read error: Connection reset by peer]
19:45
neshpion has joined #ruby
19:45
<
nakilon >
it's a wrong double quote in 24th line
19:45
<
weaksauce >
i mean you are missing an end
19:46
<
nakilon >
and that's too, lol
19:46
<
weaksauce >
are you editing this in word?
19:46
<
weaksauce >
that second double quote is wrong for sure
19:46
<
weaksauce >
missing two ends but yeah
19:46
<
Strongstan >
I'm using VSCode to write the file
19:47
<
weaksauce >
one for the first sub block and then the final end to close out the config
19:47
<
weaksauce >
weird that it would insert the word style end quote
19:48
<
nakilon >
maybe macOS default settings
19:50
<
nakilon >
weaksauce I guess only one 'end' is missing'
19:50
<
nakilon >
everything should be indented starting with 14 line
19:51
<
weaksauce >
yeah that's true just one
19:51
<
nakilon >
$ ruby -c temp.rb
19:51
<
nakilon >
Syntax OK
19:51
<
weaksauce >
i'm sure that hostname needs to be a string
19:52
mattil has joined #ruby
19:54
<
Strongstan >
Seems to execute without syntax errors!
19:54
<
weaksauce >
except the indentation
19:54
<
weaksauce >
no points for that
19:58
<
Strongstan >
but, hey, it runs! x3
19:58
<
Strongstan >
Can anyone recommend good books on Ruby?
20:00
<
weaksauce >
i'm a fan of eloquent ruby
20:03
<
nakilon >
imagine if Ruby syntax checker was smart enough to realise "I've got an error just after a string that has fancy quotes in it" and state it
20:11
_ht has quit [Remote host closed the connection]
20:18
joshcom has quit [Quit: Leaving]
20:24
mattil has quit [Read error: Connection reset by peer]
20:51
va5c0 has joined #ruby
21:06
mrkz_c has quit [Quit: Connection closed for inactivity]
21:14
lunarkitty has joined #ruby
21:29
va5c0 has quit [Quit: WeeChat 3.2]
21:38
perrierjouet has quit [Quit: WeeChat 3.2]
22:06
roadie has quit [Ping timeout: 252 seconds]
22:32
roadie has joined #ruby
22:43
rubion has quit [Ping timeout: 268 seconds]
22:56
roadie has quit [Ping timeout: 272 seconds]
23:14
ur5us_ has joined #ruby
23:22
Strongstan has quit [Quit: Client closed]
23:23
roadie has joined #ruby
23:57
roadie has quit [Ping timeout: 252 seconds]