00:00
emancu has quit [Ping timeout: 244 seconds]
00:04
deverly has joined #crystal-lang
00:09
trapped has quit [Read error: Connection reset by peer]
00:29
deverly has quit []
00:32
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
00:44
sp4rrow has joined #crystal-lang
00:51
nakilon has joined #crystal-lang
00:52
pawnbox has joined #crystal-lang
00:57
pawnbox has quit [Ping timeout: 244 seconds]
00:59
nakilon has quit [Ping timeout: 244 seconds]
01:38
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
01:41
kulelu88 has joined #crystal-lang
02:32
pawnbox has joined #crystal-lang
02:37
pawnbox has quit [Ping timeout: 260 seconds]
02:52
_whitelogger has quit [Excess Flood]
02:54
_whitelogger has joined #crystal-lang
03:00
shama has quit [Read error: Connection reset by peer]
03:00
A124 has quit [Read error: Connection reset by peer]
03:01
shama has joined #crystal-lang
03:05
A124 has joined #crystal-lang
03:16
_whitelogger has quit [Excess Flood]
03:17
_whitelogger has joined #crystal-lang
03:38
emancu has joined #crystal-lang
03:44
kulelu88 has quit [Quit: Leaving]
04:02
pawnbox has joined #crystal-lang
04:06
pawnbox has quit [Ping timeout: 240 seconds]
04:26
BlaXpirit has quit [Ping timeout: 240 seconds]
04:28
ytti has quit [Ping timeout: 240 seconds]
04:28
Dreamer3 has joined #crystal-lang
04:28
Dreamer__ has quit [Ping timeout: 268 seconds]
04:29
BlaXpirit has joined #crystal-lang
04:33
bougyman has quit [Ping timeout: 250 seconds]
04:33
bougyman has joined #crystal-lang
04:47
pawnbox has joined #crystal-lang
04:55
ytti has joined #crystal-lang
04:57
nakilon has joined #crystal-lang
05:01
nakilon has quit [Ping timeout: 246 seconds]
05:20
pawnbox_ has joined #crystal-lang
05:23
pawnbox has quit [Ping timeout: 276 seconds]
06:18
pawnbox has joined #crystal-lang
06:21
pawnbox_ has quit [Ping timeout: 252 seconds]
06:31
bjz has joined #crystal-lang
06:38
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
06:45
_whitelogger has quit [Excess Flood]
06:46
_whitelogger has joined #crystal-lang
06:56
bjz has joined #crystal-lang
06:58
nakilon has joined #crystal-lang
06:59
shama has quit [Quit: (╯°□°)╯︵ɐɯɐɥs]
07:01
trapped has joined #crystal-lang
07:03
nakilon has quit [Ping timeout: 276 seconds]
07:04
ruslux has joined #crystal-lang
07:23
bjz_ has joined #crystal-lang
07:25
bjz has quit [Ping timeout: 252 seconds]
07:35
Dreamer3_ has quit [Ping timeout: 276 seconds]
07:38
Dreamer3_ has joined #crystal-lang
07:56
_whitelogger has quit [Excess Flood]
07:58
_whitelogger has joined #crystal-lang
07:59
trapped has quit [Read error: Connection reset by peer]
08:38
<
BlaXpirit >
Hello. What are my options if I would like to distribute binaries compiled with Crystal? Looking mainly for Linux currently.
08:38
<
BlaXpirit >
My main concerns are dynamically linked libraries, all kinds of unexpected dependencies that won't let someone run it on another computer
08:46
Gasher has joined #crystal-lang
08:55
sp4rrow has joined #crystal-lang
08:56
_whitelogger has quit [Excess Flood]
08:57
_whitelogger has joined #crystal-lang
08:59
nakilon has joined #crystal-lang
09:03
nakilon has quit [Ping timeout: 268 seconds]
09:13
umurgdk has joined #crystal-lang
09:22
umurgdk has quit [Remote host closed the connection]
09:50
umurgdk has joined #crystal-lang
10:01
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
10:15
trapped has joined #crystal-lang
10:16
<
crystal-gh >
crystal/master 43bcd77 Nicolas: Add Char::Reader documentation
10:16
<
crystal-gh >
crystal/master 8f871a9 Jonne Haß: Merge pull request #2247 from Zavydiel/char-reader...
10:29
[spoiler] has quit [Quit: Cheers!]
10:42
[spoiler] has joined #crystal-lang
10:43
fowlduck has quit [Remote host closed the connection]
11:19
rok has joined #crystal-lang
11:25
ruslux has quit [Remote host closed the connection]
11:26
bjz_ has quit [Ping timeout: 244 seconds]
11:27
umurgdk has quit [Remote host closed the connection]
11:34
bjz has joined #crystal-lang
11:44
fowlduck has joined #crystal-lang
11:48
_whitelogger has quit [Excess Flood]
11:49
_whitelogger has joined #crystal-lang
11:51
Philpax has quit [Ping timeout: 244 seconds]
12:23
umurgdk has joined #crystal-lang
12:26
rok has quit [Quit: rok]
12:27
bjz has quit [Ping timeout: 260 seconds]
12:28
bjz has joined #crystal-lang
12:45
fowlduck has joined #crystal-lang
12:50
fowlduck has quit [Ping timeout: 260 seconds]
13:01
<
crystal-gh >
crystal/master c73d932 Jonne Haß: Compile all libcrystal.a objects with -fPIC...
13:23
umurgdk has quit [Read error: Connection reset by peer]
13:39
<
crystal-gh >
[crystal] HeleneMyr opened pull request #2265: add tests for BitArray (master...bitArrayTest)
https://git.io/v25j5
13:46
fowlduck has joined #crystal-lang
13:50
fowlduck has quit [Ping timeout: 240 seconds]
14:02
umurgdk has joined #crystal-lang
14:18
_whitelogger has quit [Excess Flood]
14:19
_whitelogger has joined #crystal-lang
14:19
<
crystal-gh >
[crystal] HeleneMyr opened pull request #2266: add tests for Tuple (master...tupleTest)
https://git.io/v2dYm
14:22
umurgdk has quit [Remote host closed the connection]
14:29
umurgdk has joined #crystal-lang
14:31
trapped has joined #crystal-lang
14:33
waghanza has joined #crystal-lang
14:34
<
waghanza >
new in crystal community
14:34
umurgdk has quit [Ping timeout: 260 seconds]
14:34
<
waghanza >
I wonder know how to solve type inference
14:34
<
waghanza >
I have `Error type must be (Nil | String | Float64 | Bool | Int64 | Array(JSON::Type) | Hash(String, JSON::Type)), not (Nil | String | Float32 | Float64 | Bool | Int32 | Int64 | Int8 | Int16 | UInt8 | UInt16 | UInt32 | UInt64 | Array(JSON::Type) | Hash(String, JSON::Type) | Array(MessagePack::Type) | Hash(MessagePack::Type, MessagePack::Type))`
14:34
<
waghanza >
where could I check if type check is forced ?
14:35
trapped has quit [Ping timeout: 248 seconds]
14:47
fowlduck has joined #crystal-lang
14:52
fowlduck has quit [Ping timeout: 250 seconds]
15:01
nakilon has joined #crystal-lang
15:05
umurgdk has joined #crystal-lang
15:06
nakilon has quit [Ping timeout: 264 seconds]
15:09
umurgdk has quit [Ping timeout: 250 seconds]
15:12
umurgdk has joined #crystal-lang
15:16
umurgdk has quit [Ping timeout: 248 seconds]
15:17
umurgdk has joined #crystal-lang
15:19
waghanza has quit [Quit: Leaving]
15:35
<
crystal-gh >
[crystal] asterite closed pull request #2191: Validate HTTP header content's characters (master...fix/check-http-header-invalid-char)
https://git.io/v2dg9
15:40
thor77 has left #crystal-lang ["Leaving"]
15:48
fowlduck has joined #crystal-lang
15:50
<
crystal-gh >
[crystal] HeleneMyr opened pull request #2268: add documentation and tests for Char (master...char)
https://git.io/v2dw2
15:52
jeromegn has quit [Read error: Connection reset by peer]
15:53
fowlduck has quit [Ping timeout: 250 seconds]
15:54
jeromegn has joined #crystal-lang
15:54
_whitelogger has quit [Excess Flood]
15:55
_whitelogger has joined #crystal-lang
16:06
umurgdk has quit [Remote host closed the connection]
16:08
luislavena has joined #crystal-lang
16:09
umurgdk has joined #crystal-lang
16:12
umurgdk has quit [Remote host closed the connection]
16:12
umurgdk has joined #crystal-lang
16:15
nightmared has left #crystal-lang ["WeeChat 1.4"]
16:15
umurgdk has quit [Remote host closed the connection]
16:19
umurgdk has joined #crystal-lang
16:24
umurgdk has quit [Remote host closed the connection]
16:34
trapped has joined #crystal-lang
16:37
fowlduck has joined #crystal-lang
16:44
shama has joined #crystal-lang
16:57
<
crystal-gh >
[crystal] asterite closed pull request #2140: Improve URI#escape and URI#unescape (master...feature/escape-unescape-with-block)
https://git.io/v2d71
17:02
nakilon has joined #crystal-lang
17:07
nakilon has quit [Ping timeout: 264 seconds]
17:07
_whitelogger has quit [Ping timeout: 260 seconds]
17:08
_whitelogger has joined #crystal-lang
17:32
<
crystal-gh >
[crystal] asterite opened pull request #2269: Syntax: allow parentheses for tuple literals. Fixes #2261 (master...feature/parens_for_tuples)
https://git.io/v2dpq
17:39
<
asterite >
BlaXpirit: that's a good question. I don't have an answer, but we should maybe think of a way to do it. Maybe if the programmer provides static libraries, somehow (option to the compiler) then it can link them statically
17:46
shama_ has joined #crystal-lang
17:48
shama has quit [Ping timeout: 250 seconds]
17:54
umurgdk has joined #crystal-lang
17:57
umurgdk has quit [Remote host closed the connection]
17:57
shama_ has quit [Quit: (╯°□°)╯︵ɐɯɐɥs]
17:57
umurgdk has joined #crystal-lang
17:58
shama has joined #crystal-lang
18:16
luislavena has quit [Quit: Leaving]
18:21
<
crystal-gh >
crystal/master 011f3da Nicolas: Fix documentation formatting in various classes
18:21
<
crystal-gh >
crystal/master 3e4268b Ary Borenszweig: Merge pull request #2262 from Zavydiel/formatting...
18:22
<
crystal-gh >
crystal/master 43afe71 Ary Borenszweig: Parser: argument with proc type restriction and default argument didn't parse
18:22
<
crystal-gh >
crystal/master 87f7125 Ary Borenszweig: Fixed more formatting issues
18:25
rok has joined #crystal-lang
18:51
sp4rrow has joined #crystal-lang
19:11
DeBot has joined #crystal-lang
19:39
fowlduck has quit [Remote host closed the connection]
19:49
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
19:54
ton31337 has joined #crystal-lang
19:55
<
asterite >
Oh, seems the example is outdated, that method doesn't exist anymore
19:55
<
ton31337 >
what should I use?
19:56
<
asterite >
Do you need to read an exact number of bytes?
19:56
<
ton31337 >
actually I want to read the whole message
19:56
<
ton31337 >
no need to limit characters
19:56
<
asterite >
You can use `.gets_to_end`
19:56
<
ton31337 >
let me check
19:57
BlaXpirit_ has joined #crystal-lang
19:57
BlaXpirit_ has quit [Client Quit]
19:58
<
ton31337 >
asterite: you mean like this? server.gets_to_end
19:58
<
asterite >
ton31337: yes
19:59
<
asterite >
jhass: oh, we broke the release with libcrystal?
19:59
<
jhass >
broke is too harsh
19:59
<
jhass >
but for some environments, kind of
19:59
<
asterite >
jhass: I was planning on doing a release one of these days, so sure :-)
19:59
<
jhass >
it's something that also could be worked around at package built time
20:01
<
crystal-gh >
crystal/master 904db77 Ary Borenszweig: UDPSocket: fixed outdated docs sample
20:02
<
ton31337 >
asterite: strange, no errors, but it hangs on 'crystal udp.cr'
20:02
<
asterite >
ton31337: I'd have to see the full code. However, I think UDPSocket is kind of broken
20:02
_whitelogger has quit [Excess Flood]
20:03
_whitelogger has joined #crystal-lang
20:06
ton31337 has left #crystal-lang [#crystal-lang]
20:09
<
RX14 >
jhass, hah i forgot I even had hardening-wrapper installed
20:10
<
RX14 >
it confused me because building crystal, and the tarball worked for me
20:10
<
RX14 >
the release tarball must have -fPIC
20:29
sp4rrow has joined #crystal-lang
20:49
<
RX14 >
yup, new crystal build fixed it
20:53
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:04
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
21:08
bjz has joined #crystal-lang
21:12
plukevdh has joined #crystal-lang
21:12
<
plukevdh >
having some trouble with recursive alias types
21:13
<
plukevdh >
Couldn't find overloads for these types:
21:13
<
plukevdh >
- Hash(String, HashFormatter::Type)#[]=(key : String, value : Array(String | Float64 | Bool | Int64 | Hash(String, HashFormatter::Type)))
21:13
<
plukevdh >
where HashFormatter::Type is defined as
21:13
<
plukevdh >
alias TerminalTypes = String | Bool | Int64 | Float64
21:13
<
plukevdh >
alias Type = TerminalTypes | Array(Type) | Hash(String, Type)
21:13
<
plukevdh >
i figure the case being complained about is captured by Type
21:13
trapped has quit [Ping timeout: 252 seconds]
21:14
<
plukevdh >
its very similar to what JSON::Type is doing
21:15
<
plukevdh >
asterite ^^
21:24
<
asterite >
plukevdh: add `as Type` after `hash_key(k)` and `hash_key(v).not_nil!`
21:25
trapped has joined #crystal-lang
21:29
sp4rrow has joined #crystal-lang
21:32
nakilon has joined #crystal-lang
21:53
<
crystal-gh >
[crystal] bcardiff opened pull request #2270: Add BitArray#to_slice to return a UInt8 slice useful for (master...feature/bit-array-slice)
https://git.io/v2FFo
22:01
bcardiff has joined #crystal-lang
22:11
<
plukevdh >
asterite, that solves the error but it causes the has to return with blank values
22:11
<
plukevdh >
{"add" => {"headers" => }
22:11
plukevdh has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:16
<
BlaXpirit >
>> [1,2,3,4,5].in_groups_of(5).to_a
22:16
<
BlaXpirit >
>> [1,2,3,4,5].in_groups_of(2).to_a #oops
22:16
<
BlaXpirit >
>> [1,2,3,4,5].cons(2).to_a
22:16
<
BlaXpirit >
>> [1,2,3,4,5].each_cons(2).to_a
22:17
<
BlaXpirit >
ooh so that's what the difference is
22:17
<
jhass >
>> [1,2,3,4,5].each_slice(2).to_a
22:18
<
BlaXpirit >
I can't find a "transpose" which usually would be done with `zip` in Python
22:18
<
BlaXpirit >
[[1,2],[3,4]] -> [[1,3],[2,4]]
22:19
<
jhass >
I seem to remember a discussion about transpose
22:19
<
BlaXpirit >
lol it's literally there, sorry
22:21
<
BlaXpirit >
now I wish it was possible to construct a Matrix from such an array
22:21
<
BlaXpirit >
and there is, LOL
22:25
rok has quit [Quit: rok]
22:28
Philpax has joined #crystal-lang
22:34
fowlduck has joined #crystal-lang
22:40
shama has quit [Quit: (╯°□°)╯︵ɐɯɐɥs]
22:44
<
adam| >
Any way to override output of `inspect` at instance level?
22:47
<
jhass >
Since you can't redefine methods of instances in Crystal, no
22:47
<
adam| >
Just looking at prettying up some output when inspecting.
22:51
<
jhass >
well, you can redefine inspect on the class and try to detect the correct instances or whatever
22:52
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
22:54
<
adam| >
jhass: thnx.
23:02
<
BlaXpirit >
I find it hard to follow
23:03
<
BlaXpirit >
pawnbox, did you hear anything exciting there?
23:03
<
pawnbox >
It's ongoing. And yes.
23:06
sp4rrow has joined #crystal-lang
23:14
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
23:14
Gasher has quit [Ping timeout: 244 seconds]
23:14
sp4rrow has joined #crystal-lang
23:15
bcardiff has quit [Quit: bcardiff]
23:17
pawnbox has quit [Remote host closed the connection]
23:17
pawnbox has joined #crystal-lang
23:18
<
BlaXpirit >
i was lucky to run into the part that's interesting to me
23:18
<
BlaXpirit >
at -56 they talk about compiler reimplementation
23:21
<
BlaXpirit >
too bad :/
23:22
pawnbox has quit [Ping timeout: 268 seconds]
23:26
Gasher has joined #crystal-lang
23:41
<
sp4rrow >
is there any news on how the compiler rewrite is going?
23:41
<
sp4rrow >
is there a branch
23:51
trapped has quit [Read error: Connection reset by peer]
23:51
A124 has quit [Quit: '']
23:51
trapped has joined #crystal-lang
23:53
A124 has joined #crystal-lang
23:55
nakilon has quit [Quit: WHY NOT?]
23:58
pawnbox has joined #crystal-lang