00:16
renich has joined #crystal-lang
02:09
ur5us has quit [Quit: Leaving]
02:21
ur5us has joined #crystal-lang
03:27
renich has quit [Quit: Leaving]
04:16
ur5us has quit [Ping timeout: 256 seconds]
05:45
Ober has quit [Ping timeout: 248 seconds]
05:51
ur5us has joined #crystal-lang
06:01
Ober has joined #crystal-lang
06:11
Ober has quit [Ping timeout: 240 seconds]
06:22
Ober has joined #crystal-lang
06:36
ur5us has quit [Ping timeout: 260 seconds]
07:07
Sankalp has quit [Ping timeout: 268 seconds]
07:08
Sankalp has joined #crystal-lang
07:24
Sankalp has quit [Ping timeout: 252 seconds]
07:29
walez has joined #crystal-lang
07:29
Sankalp has joined #crystal-lang
07:47
ur5us has joined #crystal-lang
08:37
walez has quit [Quit: Leaving]
09:11
ur5us has quit [Ping timeout: 260 seconds]
09:27
markmarkmark has quit [Read error: Software caused connection abort]
09:27
markmarkmark has joined #crystal-lang
10:10
steve__ has joined #crystal-lang
10:45
jmdaemon has quit [Ping timeout: 260 seconds]
11:36
steve__ has quit [Quit: Leaving]
11:36
steve__ has joined #crystal-lang
12:59
<
FromGitter >
<naqvis> aah, so formula is still using openssl 1.1?
12:59
<
FromGitter >
<naqvis> that `z3`, might be `gmp` dependency
13:06
<
FromGitter >
<naqvis> interesting enough, `crystal` script on my M1 is referencing to `openssl1.1`, so confused, why you had to install `openssl3` for it to work.
13:06
alexherbo2 has joined #crystal-lang
13:17
alexherbo2 has quit [Remote host closed the connection]
13:17
alexherbo2 has joined #crystal-lang
14:00
<
FromGitter >
<Blacksmoke16> ah well the catch is 3 was installed due to another dependency needing it, crystal itself still uses 1.1
14:00
<
FromGitter >
<Blacksmoke16> i dont see how that would matter tho if the executable defines the pgkconfig path to 1.1 itself
14:01
<
FromGitter >
<naqvis> yeah, might be llvm linker got confused due to different versions installed
14:02
<
FromGitter >
<Blacksmoke16> :shrug: oh well
14:05
<
FromGitter >
<naqvis> good, that you have it resolved
14:06
<
FromGitter >
<naqvis> btw, gitter `threads` sucks 😄
14:09
<
FromGitter >
<Blacksmoke16> esp on mobile yea
14:13
<
FromGitter >
<naqvis> yeah
16:51
alexherbo2 has quit [Remote host closed the connection]
16:52
alexherbo2 has joined #crystal-lang
17:41
<
SamantazFox >
This doesn't check if the underlying type is Int, but if it's Int64
17:44
<
FromGitter >
<Blacksmoke16> whats the bug exactly tho?
17:45
<
FromGitter >
<Blacksmoke16> the docs or the code?
17:52
<
SamantazFox >
Idk what's the expected behavior
17:52
<
SamantazFox >
I'd probably say that the doc is right and the code is wrong?
17:53
<
FromGitter >
<Blacksmoke16> pretty sure the gist of it is JSON only has a single number integer type which is stored internally as an int64
17:53
<
SamantazFox >
`.is_a?(Int)` would match the `.as(Int)` from the `as_i64` method above
17:54
<
FromGitter >
<Blacksmoke16> so these methods are mainly just returning specific integer size from the internal representation
17:54
alexherbo2 has quit [Ping timeout: 260 seconds]
17:55
<
SamantazFox >
`JSON::Any::Type` uses int64, yes
17:58
<
FromGitter >
<Blacksmoke16> so the `.as(Int)` is prob preventing you from doing like `JSON.parse(%("foo")).as_int64`
18:00
steve__ has quit [Quit: Leaving]
18:00
<
SamantazFox >
Ah, hmm
18:00
<
SamantazFox >
it's quite confusing to see Int and Int64 being interchanged
18:03
<
FromGitter >
<Blacksmoke16> same thing for Int32, `data.as_i` just checks if raw data is Int, then converts to Int32
18:37
jmdaemon has joined #crystal-lang
18:50
notzmv has quit [Ping timeout: 256 seconds]
19:04
_ht has joined #crystal-lang
19:33
r0bby has quit [Ping timeout: 268 seconds]
19:36
r0bby has joined #crystal-lang
19:38
r0bby has quit [Max SendQ exceeded]
19:46
miketheman has quit [Ping timeout: 268 seconds]
19:47
antoszka has quit [Ping timeout: 252 seconds]
19:53
antoszka has joined #crystal-lang
19:56
r0bby has joined #crystal-lang
19:57
r0bby has quit [Max SendQ exceeded]
19:59
r0bby has joined #crystal-lang
19:59
miketheman has joined #crystal-lang
20:01
r0bby has quit [Max SendQ exceeded]
20:02
r0bby has joined #crystal-lang
20:05
r0bby has quit [Max SendQ exceeded]
20:06
r0bby has joined #crystal-lang
20:09
r0bby has quit [Max SendQ exceeded]
20:25
alexherbo2 has joined #crystal-lang
20:27
r0bby has joined #crystal-lang
20:29
ur5us has joined #crystal-lang
21:00
notzmv has joined #crystal-lang
21:07
_ht has quit [Remote host closed the connection]
21:13
alexherbo2 has quit [Remote host closed the connection]
23:04
FromGitter has quit [Ping timeout: 255 seconds]
23:05
oprypin has quit [Ping timeout: 255 seconds]
23:12
FromGitter has joined #crystal-lang
23:12
oprypin has joined #crystal-lang
23:35
lanodan has quit [Ping timeout: 260 seconds]
23:49
lanodan has joined #crystal-lang