00:12
trapped has quit [Read error: Connection reset by peer]
00:13
trapped has joined #crystal-lang
00:16
trapped has quit [Read error: Connection reset by peer]
00:20
vikaton has joined #crystal-lang
00:21
A124 has joined #crystal-lang
00:23
sp4rrow has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
00:35
Virviil_ has joined #crystal-lang
00:36
Virviil has quit [Ping timeout: 248 seconds]
00:49
Virviil has joined #crystal-lang
00:53
Virviil_ has quit [Ping timeout: 250 seconds]
01:03
Kilo`byte has joined #crystal-lang
01:08
krtv` has joined #crystal-lang
01:17
sp4rrow has joined #crystal-lang
01:21
krtv` has quit [Ping timeout: 260 seconds]
01:22
matp has joined #crystal-lang
01:58
Virviil has quit [Ping timeout: 248 seconds]
02:05
sp4rrow has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
02:14
perks has joined #crystal-lang
02:41
shama has joined #crystal-lang
02:41
mgarciaisaia has joined #crystal-lang
02:46
mgarciaisaia has quit [Ping timeout: 276 seconds]
02:47
perks has quit [Quit: perks]
03:42
lunix4 has joined #crystal-lang
03:42
pawnbox has joined #crystal-lang
04:03
pawnbox has quit [Remote host closed the connection]
04:04
mgarciaisaia has joined #crystal-lang
04:08
lunix4 has quit [Quit: leaving]
04:08
mgarciaisaia has quit [Ping timeout: 252 seconds]
04:12
pawnbox has joined #crystal-lang
04:19
shama has quit [Remote host closed the connection]
04:20
shama has joined #crystal-lang
04:25
shama has quit [Ping timeout: 250 seconds]
05:02
pawnbox has quit [Remote host closed the connection]
05:03
pawnbox has joined #crystal-lang
05:10
pawnbox has quit [Remote host closed the connection]
05:10
pawnbox has joined #crystal-lang
05:13
pawnbox has quit [Remote host closed the connection]
05:14
pawnbox has joined #crystal-lang
05:21
shama has joined #crystal-lang
05:24
pawnbox has quit [Remote host closed the connection]
05:24
pawnbox has joined #crystal-lang
05:27
vikaton has quit [Quit: Connection closed for inactivity]
05:27
shama has quit [Ping timeout: 250 seconds]
05:49
shama has joined #crystal-lang
05:56
shama has quit [Quit: (╯°□°)╯︵ɐɯɐɥs]
06:04
sp4rrow has joined #crystal-lang
06:25
pawnbox has quit [Read error: Connection reset by peer]
06:25
pawnbox has joined #crystal-lang
06:48
bjz has joined #crystal-lang
07:24
bjz_ has joined #crystal-lang
07:25
bjz has quit [Ping timeout: 260 seconds]
07:31
trapped has joined #crystal-lang
07:43
bjz has joined #crystal-lang
07:44
bjz_ has quit [Read error: Connection reset by peer]
07:50
Philpax has joined #crystal-lang
07:58
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
08:02
mgarciaisaia has joined #crystal-lang
08:07
mgarciaisaia has quit [Ping timeout: 248 seconds]
08:38
Philpax has quit [Ping timeout: 276 seconds]
08:54
Gasher has joined #crystal-lang
09:06
sp4rrow has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
09:09
alsm has joined #crystal-lang
09:37
Gasher has quit [Quit: Leaving]
09:43
pawnbox has quit [Remote host closed the connection]
09:46
Gasher has joined #crystal-lang
09:51
pawnbox has joined #crystal-lang
10:08
Philpax has joined #crystal-lang
10:12
mgarciaisaia has joined #crystal-lang
10:17
mgarciaisaia has quit [Ping timeout: 276 seconds]
10:32
pawnbox has quit [Remote host closed the connection]
10:33
pawnbox has joined #crystal-lang
10:49
pawnbox_ has joined #crystal-lang
10:50
pawnbox has quit [Ping timeout: 248 seconds]
11:17
mgarciaisaia has joined #crystal-lang
11:27
pawnbox_ has quit [Remote host closed the connection]
11:28
pawnbox has joined #crystal-lang
11:28
pawnbox has quit [Remote host closed the connection]
11:34
Philpax_ has joined #crystal-lang
11:37
Philpax has quit [Ping timeout: 252 seconds]
11:37
pawnbox has joined #crystal-lang
11:41
trapped has joined #crystal-lang
11:41
ruslux has joined #crystal-lang
11:49
<
ruslux >
How to access to subclass variables without define in subclasses*
12:24
<
BlaXpirit >
ruslux, so this is pretty much a global?
12:25
<
BlaXpirit >
@@ is a class variable, so it's correct that it's not inherited
12:27
<
BlaXpirit >
smells like abuse of OOP
12:30
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
12:39
Philpax_ has quit [Ping timeout: 252 seconds]
12:45
crystal-lang288 has joined #crystal-lang
12:45
crystal-lang288 has quit [Client Quit]
12:45
crystal-lang755 has joined #crystal-lang
12:47
trapped has joined #crystal-lang
12:52
crystal-lang755 has quit [Quit: Page closed]
13:03
pawnbox has quit [Ping timeout: 250 seconds]
13:29
<
crystal-gh >
crystal/master 87a7d2b meyer: added documentation for StaticArray
13:29
<
crystal-gh >
crystal/master f01ac4d Ary Borenszweig: Merge pull request #2232 from HeleneMyr/StaticArray...
13:32
mgarciaisaia has left #crystal-lang [#crystal-lang]
13:52
swav has joined #crystal-lang
14:08
Gasher has quit [Quit: Leaving]
14:15
<
jokke >
asterite: hi, i just helped a friend of mine write something in crystal that he'd done in ruby before. It's pretty straightforward json parsing of a lot of files. He then told me that crystal was many times slower than ruby. (15s vs 3s running time). CPU usage was maxed out so it can't be waiting for io either. Any clues? Here's the code:
https://p.jreinert.com/Ag6/ruby
14:15
<
jokke >
(of course built with the --release flag)
14:16
<
jokke >
i've noticed before that the ruby json parser is very fast. but wouldn't have thought it's so much faster than crystal
14:39
pawnbox has joined #crystal-lang
14:45
<
jokke >
oh noes... D: i "found a bug in the compiler"
14:46
<
jokke >
cast to Crystal::ClassVarContainer failed
15:02
<
jokke >
ah i figured it out
15:02
<
jokke >
forgot to make the class generic
15:07
ruslux has quit [Remote host closed the connection]
15:09
mgarciaisaia1 has joined #crystal-lang
15:13
mgarciaisaia1 has quit [Ping timeout: 264 seconds]
15:14
mgarciaisaia has joined #crystal-lang
15:16
mgarciaisaia has left #crystal-lang [#crystal-lang]
15:22
<
crystal-gh >
crystal/master 34aa0ca Luke van der Hoeven: allow instantiation of URI client via URI...
15:22
<
crystal-gh >
crystal/master 4966026 Ary Borenszweig: Merge pull request #2213 from plukevdh/http-client-from-uri...
15:30
<
crystal-gh >
crystal/master ce51d5c Ary Borenszweig: Compiler: decreased the maximum number of generic type nesting to 10. Fixes #2257
15:30
<
crystal-gh >
crystal/master a8d87d4 Ary Borenszweig: HTTP::Client: some small fixes, and removed unused code
15:46
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
16:15
_whitelogger has quit [Ping timeout: 264 seconds]
16:16
_whitelogger_ has joined #crystal-lang
16:18
iamstef_ is now known as iamstef
16:19
emmanueloga has joined #crystal-lang
16:31
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
16:40
trapped has joined #crystal-lang
16:51
_whitelogger_ has quit [Excess Flood]
16:53
_whitelogger has joined #crystal-lang
16:53
<
asterite >
Though I don't know if that's the issue, I can't test it because I don't have any json input to test it
17:07
Raimondi has joined #crystal-lang
17:13
trapped has joined #crystal-lang
17:22
Gasher has joined #crystal-lang
17:42
shama has joined #crystal-lang
17:54
alsm has quit [Ping timeout: 252 seconds]
18:07
_whitelogger has quit [Excess Flood]
18:08
_whitelogger has joined #crystal-lang
18:55
sp4rrow has joined #crystal-lang
18:55
sp4rrow has quit [Client Quit]
18:57
sp4rrow has joined #crystal-lang
19:04
sp4rrow has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
19:14
pawnbox has quit [Remote host closed the connection]
19:14
pawnbox has joined #crystal-lang
19:16
pawnbox has quit [Remote host closed the connection]
19:17
pawnbox has joined #crystal-lang
19:30
sp4rrow has joined #crystal-lang
19:47
<
crystal-gh >
[crystal] asterite opened pull request #2258: Syntax: special handling of tuple condition in case expression (master...feature/case_tuple_cond)
https://git.io/v2DhU
20:03
pawnbox has quit [Remote host closed the connection]
20:04
pawnbox has joined #crystal-lang
20:09
pawnbox has quit [Remote host closed the connection]
20:13
sp4rrow has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
20:25
pawnbox has joined #crystal-lang
20:33
<
RX14 >
crystal 0.12 btw
20:33
<
RX14 >
i'm trying to update code from a while ago and i don't even get a useful error message
20:40
<
RX14 >
so it's probably the archlinux distribution which is broken
20:40
<
RX14 >
but why has noone noticed?
20:44
Ven has joined #crystal-lang
20:48
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:52
Ven has joined #crystal-lang
21:10
<
crystal-gh >
[crystal] theodelaune opened pull request #2260: update manual installation ubuntu and debian [ci skip] (gh-pages...update-installation-debian-ubuntu)
https://git.io/v2yCS
21:10
<
thor77 >
can't reproduce
21:14
<
RX14 >
thor77, you have crystal installed from the repositories?
21:14
<
RX14 >
i have no idea then
21:15
<
RX14 >
it happens even if I try to build a empty file
21:15
sp4rrow has joined #crystal-lang
21:15
<
RX14 >
well i have no idea whats wrong
21:16
<
thor77 >
did you try reinstalling it?
21:16
<
RX14 >
several times
21:19
<
thor77 >
from the official repos?
21:37
<
RX14 >
ok, different problem
21:38
<
RX14 >
I have two different methods with identical signatures in two different spec files
21:38
<
RX14 >
and it's using the one not in the same file i'm calling the method from
21:38
<
RX14 >
if there's a name confplict it should error
21:38
<
RX14 >
and if there isn't, it should use the correct method
21:44
luislavena has joined #crystal-lang
21:55
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:08
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:13
sp4rrow has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:16
krtv` has joined #crystal-lang
22:16
bjz has joined #crystal-lang
22:22
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:23
sp4rrow has joined #crystal-lang
22:24
bjz has joined #crystal-lang
22:26
<
crystal-gh >
crystal/master 6325463 Ary Borenszweig: Macros: added `TypeNode#class`. Fixes #2259
22:34
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:38
sp4rrow has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:46
Philpax has joined #crystal-lang
22:55
sp4rrow has joined #crystal-lang
22:58
Philpax has quit [Ping timeout: 244 seconds]
23:05
<
miketheman >
I am trying to understand why if I compile a binary on my machine, and provide that to a coworker, they get an error on loading a library
23:05
<
miketheman >
`dyld: Library not loaded: /usr/local/lib/libevent-2.0.5.dylib`
23:06
<
miketheman >
when the binary is basically loading in only components from stdlib (http/client and json)
23:07
mgarciaisaia1 has joined #crystal-lang
23:14
Gasher has quit [Ping timeout: 276 seconds]
23:16
mgarciaisaia1 has left #crystal-lang [#crystal-lang]
23:16
Papierkorb has quit [Ping timeout: 248 seconds]
23:16
Papierkorb has joined #crystal-lang
23:23
<
RX14 >
libevent is needed for IO
23:27
Gasher has joined #crystal-lang
23:42
<
miketheman >
RX14: I don't think I fully understand
23:42
<
RX14 >
miketheman, you need the library
23:43
<
RX14 >
it's required for every crystal program
23:45
Philpax has joined #crystal-lang
23:45
<
miketheman >
why wouldn't it be statically compiled into the binary at build time (especially with `--release` ?
23:46
<
RX14 >
most things aren't statically compiled
23:46
<
RX14 >
why would this one be?
23:47
Philpax_ has joined #crystal-lang
23:49
<
RX14 >
i think the interim solution is just to install said libraries
23:50
Philpax has quit [Ping timeout: 264 seconds]
23:50
<
miketheman >
yeah, I'm coming to that conclusion as well. It's not "perfect" since I wanted to dump a binary on a coworker and have them not need anyhting
23:50
<
RX14 >
yeah, i agree with you
23:50
Philpax__ has joined #crystal-lang
23:53
<
RX14 >
just watch the issue for now
23:53
<
miketheman >
anyhow, thanks for chatting! Heading on home.
23:54
Philpax_ has quit [Ping timeout: 260 seconds]
23:55
Gasher has quit [Quit: Leaving]
23:58
trapped has quit [Read error: Connection reset by peer]
23:58
<
crystal-gh >
[crystal] asterite closed pull request #2258: Syntax: special handling of tuple condition in case expression (master...feature/case_tuple_cond)
https://git.io/v2DhU
23:59
<
crystal-gh >
[crystal] asterite closed pull request #2239: Syntax: allow multiple expressions in a case condition (master...feature/case_multiple_expressions)
https://git.io/v22xP
23:59
<
crystal-gh >
[crystal] asterite closed pull request #2252: Syntax: allow keyword names to be used for a TypeDeclaration node (master...feature/keyword_type_declaration)
https://git.io/v2icZ