00:04
_kfpratt has quit []
00:13
pawnbox has joined #crystal-lang
00:17
pawnbox has quit [Ping timeout: 240 seconds]
00:17
<
crystal-gh >
crystal/master 0469f43 Ary Borenszweig: Updated Changelog
00:17
<
crystal-gh >
crystal/master 9ea4c9c Ary Borenszweig: Fixed #2165: incorrect type of hexadecimal literal
00:39
trapped has quit [Read error: Connection reset by peer]
01:03
pawnbox has joined #crystal-lang
01:05
tomchapin has quit [Ping timeout: 265 seconds]
01:07
pawnbox has quit [Ping timeout: 252 seconds]
01:32
shama has quit [Remote host closed the connection]
01:51
shama has joined #crystal-lang
01:53
pawnbox has joined #crystal-lang
01:57
pawnbox has quit [Ping timeout: 240 seconds]
02:10
shama has quit [Remote host closed the connection]
02:48
shama has joined #crystal-lang
03:08
tomchapin has joined #crystal-lang
03:23
doug___ has joined #crystal-lang
03:23
doug___ has quit [Client Quit]
03:35
kfpratt has joined #crystal-lang
03:38
tomchapin has quit [Ping timeout: 265 seconds]
03:43
pawnbox has joined #crystal-lang
03:47
pawnbox has quit [Ping timeout: 240 seconds]
03:52
tomchapin has joined #crystal-lang
04:01
tomchapin has quit [Ping timeout: 264 seconds]
04:02
tomchapin has joined #crystal-lang
04:14
tomchapin has quit [Read error: Connection reset by peer]
04:19
Sadin has joined #crystal-lang
04:35
_whitelogger_ has quit [Remote host closed the connection]
04:36
_whitelogger has joined #crystal-lang
04:41
pawnbox has joined #crystal-lang
05:04
pawnbox has quit [Remote host closed the connection]
05:09
krtv` has quit [Ping timeout: 260 seconds]
05:23
krtv` has joined #crystal-lang
05:30
shama has quit [Quit: (╯°□°)╯︵ɐɯɐɥs]
05:49
Philpax has quit [Read error: Connection reset by peer]
06:16
pawnbox has joined #crystal-lang
06:27
Sadin has quit [Quit: Leaving]
07:02
srenatus has joined #crystal-lang
07:05
fka has joined #crystal-lang
07:37
fka_ has joined #crystal-lang
07:37
fka has quit [Read error: Connection reset by peer]
07:43
fka has joined #crystal-lang
07:44
fka has quit [Client Quit]
07:47
fka_ has quit [Ping timeout: 240 seconds]
07:54
Ven has joined #crystal-lang
07:58
Ven_ has joined #crystal-lang
08:02
Ven has quit [Ping timeout: 265 seconds]
08:06
pawnbox has quit [Remote host closed the connection]
08:31
trapped has joined #crystal-lang
08:32
pawnbox has joined #crystal-lang
08:41
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
08:50
pawnbox has quit [Remote host closed the connection]
08:52
pawnbox has joined #crystal-lang
09:04
trapped has joined #crystal-lang
09:09
ssvb has quit [Remote host closed the connection]
09:52
djellemah has quit [*.net *.split]
09:52
braidn has quit [*.net *.split]
09:52
buggs has quit [*.net *.split]
09:52
dom96 has quit [*.net *.split]
09:52
Veejay has quit [*.net *.split]
09:52
aemadrid has quit [*.net *.split]
09:52
mroth has quit [*.net *.split]
09:52
avdi has quit [*.net *.split]
09:52
jfontan has quit [*.net *.split]
09:52
buggs has joined #crystal-lang
09:53
Veejay has joined #crystal-lang
09:53
djellemah has joined #crystal-lang
09:55
dom96 has joined #crystal-lang
09:55
g3funk has joined #crystal-lang
09:56
jfontan has joined #crystal-lang
09:59
mroth has joined #crystal-lang
10:04
_whitelogger has joined #crystal-lang
10:05
aemadrid has joined #crystal-lang
10:05
toydestroyer has joined #crystal-lang
10:07
avdi has joined #crystal-lang
10:08
Excureo has quit [*.net *.split]
10:08
thor77 has quit [*.net *.split]
10:08
onionhammer has quit [*.net *.split]
10:08
thor77 has joined #crystal-lang
10:08
Excureo has joined #crystal-lang
10:09
onionhammer has joined #crystal-lang
10:13
mroth has joined #crystal-lang
10:32
Ven_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:49
buggs has quit [*.net *.split]
10:49
dom96 has quit [*.net *.split]
10:49
g3funk has quit [*.net *.split]
10:49
guilleiguaran__ has quit [*.net *.split]
10:49
Davy_CC has quit [*.net *.split]
10:49
emmanueloga has quit [*.net *.split]
10:49
nulpunkt has quit [*.net *.split]
10:49
joshcarter has quit [*.net *.split]
10:49
jhass has quit [*.net *.split]
10:49
DeBot has quit [*.net *.split]
10:49
ytti has quit [*.net *.split]
10:49
tliff has quit [*.net *.split]
10:49
CompanionCube has quit [*.net *.split]
10:49
salvor has quit [*.net *.split]
10:49
Bish has quit [*.net *.split]
10:50
nulpunkt has joined #crystal-lang
10:50
Davy_CC has joined #crystal-lang
10:50
jhass has joined #crystal-lang
10:50
DeBot has joined #crystal-lang
10:50
buggs has joined #crystal-lang
10:50
Bish has joined #crystal-lang
10:51
dom96 has joined #crystal-lang
10:52
CompanionCube has joined #crystal-lang
10:52
CompanionCube has quit [Changing host]
10:52
CompanionCube has joined #crystal-lang
10:52
tliff has joined #crystal-lang
10:53
g3funk has joined #crystal-lang
10:54
ytti has joined #crystal-lang
10:54
salvor has joined #crystal-lang
10:59
joshcarter has joined #crystal-lang
10:59
guilleiguaran__ has joined #crystal-lang
11:04
mroth has quit [*.net *.split]
11:04
Excureo has quit [*.net *.split]
11:04
avdi has quit [*.net *.split]
11:04
srenatus has quit [*.net *.split]
11:04
kfpratt has quit [*.net *.split]
11:04
Liothen has quit [*.net *.split]
11:04
jwaldrip has quit [*.net *.split]
11:04
sdogruyol has quit [*.net *.split]
11:04
victor_lowther has quit [*.net *.split]
11:04
[spoiler] has quit [*.net *.split]
11:04
jokke has quit [*.net *.split]
11:04
Cyrus has quit [*.net *.split]
11:04
bougyman has quit [*.net *.split]
11:04
RX14 has quit [*.net *.split]
11:04
dzv has quit [*.net *.split]
11:05
dzv has joined #crystal-lang
11:05
jokke has joined #crystal-lang
11:05
kfpratt has joined #crystal-lang
11:05
[spoiler] has joined #crystal-lang
11:05
Cyrus has joined #crystal-lang
11:05
Cyrus is now known as Guest71168
11:05
Excureo has joined #crystal-lang
11:05
bougyman has joined #crystal-lang
11:07
pawnbox has quit [Remote host closed the connection]
11:07
RX14 has joined #crystal-lang
11:08
Liothen has joined #crystal-lang
11:08
Papierkorb has quit [Ping timeout: 272 seconds]
11:10
Papierkorb has joined #crystal-lang
11:10
pawnbox has joined #crystal-lang
11:11
sdogruyol has joined #crystal-lang
11:14
srenatus has joined #crystal-lang
11:15
jwaldrip has joined #crystal-lang
11:16
avdi has joined #crystal-lang
11:18
victor_lowther has joined #crystal-lang
11:19
mroth has joined #crystal-lang
11:20
emmanueloga has joined #crystal-lang
11:27
trapped has joined #crystal-lang
11:33
jfontan has joined #crystal-lang
11:39
RX14 has quit [*.net *.split]
11:39
salvor has quit [*.net *.split]
11:40
havenwood has quit [*.net *.split]
11:40
endou has quit [*.net *.split]
11:40
wmoxam has quit [*.net *.split]
11:40
asterite has quit [*.net *.split]
11:40
asterite has joined #crystal-lang
11:40
endou has joined #crystal-lang
11:40
RX14 has joined #crystal-lang
11:40
wmoxam has joined #crystal-lang
11:40
havenwood has joined #crystal-lang
11:40
havenwood has joined #crystal-lang
11:40
havenwood has quit [Changing host]
11:40
salvor has joined #crystal-lang
11:50
pawnbox has quit [*.net *.split]
11:50
kfpratt has quit [*.net *.split]
11:50
dzv has quit [*.net *.split]
11:50
Davy_CC has quit [*.net *.split]
11:50
yxhuvud has quit [*.net *.split]
11:50
mjblack has quit [*.net *.split]
11:50
adam^ has quit [*.net *.split]
11:50
rkeene has quit [*.net *.split]
11:50
waj has quit [*.net *.split]
11:50
justinmcp has quit [*.net *.split]
11:50
acetoxy has quit [*.net *.split]
11:51
Davy_CC has joined #crystal-lang
11:51
yxhuvud has joined #crystal-lang
11:51
adam^ has joined #crystal-lang
11:51
pawnbox has joined #crystal-lang
11:51
waj has joined #crystal-lang
11:51
justinmcp has joined #crystal-lang
11:51
kfpratt has joined #crystal-lang
11:52
dzv has joined #crystal-lang
11:59
kfpratt has quit [*.net *.split]
11:59
trapped has quit [*.net *.split]
11:59
Guest71168 has quit [*.net *.split]
11:59
danzilio has quit [*.net *.split]
11:59
A124 has quit [*.net *.split]
11:59
BlaXpirit has quit [*.net *.split]
11:59
Dreamer3 has quit [*.net *.split]
11:59
Netfeed has quit [*.net *.split]
11:59
badeball has quit [*.net *.split]
11:59
Raimondi has quit [*.net *.split]
11:59
ldlework has quit [*.net *.split]
11:59
pleiosaur has quit [*.net *.split]
11:59
djanatyn has quit [*.net *.split]
11:59
slash_nick has quit [*.net *.split]
11:59
leafybasil has quit [*.net *.split]
11:59
jamie_ca has quit [*.net *.split]
12:00
badeball has joined #crystal-lang
12:00
pleiosaur has joined #crystal-lang
12:00
trapped has joined #crystal-lang
12:00
djanatyn has joined #crystal-lang
12:00
Netfeed has joined #crystal-lang
12:00
kfpratt has joined #crystal-lang
12:00
Dreamer3 has joined #crystal-lang
12:00
Guest71168 has joined #crystal-lang
12:00
jamie_ca has joined #crystal-lang
12:01
acetoxy has joined #crystal-lang
12:04
BlaXpirit has joined #crystal-lang
12:04
A124 has joined #crystal-lang
12:04
slash_nick has joined #crystal-lang
12:04
Raimondi has joined #crystal-lang
12:04
BlaXpirit has quit [Max SendQ exceeded]
12:04
A124 has quit [Max SendQ exceeded]
12:04
ldlework has joined #crystal-lang
12:04
A124 has joined #crystal-lang
12:04
BlaXpirit has joined #crystal-lang
12:05
danzilio has joined #crystal-lang
12:07
Raimondi has quit [*.net *.split]
12:07
SShrike has joined #crystal-lang
12:07
rkeene has joined #crystal-lang
12:07
Raimondi has joined #crystal-lang
12:14
Netfeed has joined #crystal-lang
12:14
Netfeed has quit [Changing host]
12:21
pawnbox_ has joined #crystal-lang
12:23
pawnbox has quit [Ping timeout: 240 seconds]
12:26
_whitelogger has joined #crystal-lang
12:26
djellemah has joined #crystal-lang
12:26
grindhold has joined #crystal-lang
12:27
jnylen has joined #crystal-lang
12:30
wmoxam has joined #crystal-lang
12:32
thor77_ has joined #crystal-lang
12:32
emmanueloga has quit [*.net *.split]
12:32
mroth has quit [*.net *.split]
12:32
victor_lowther has quit [*.net *.split]
12:32
[spoiler] has quit [*.net *.split]
12:32
buggs has quit [*.net *.split]
12:32
thor77 has quit [*.net *.split]
12:32
krtv` has quit [*.net *.split]
12:32
AckZ has quit [*.net *.split]
12:32
Cidan has quit [*.net *.split]
12:32
wminor has quit [*.net *.split]
12:32
shadeslayer has quit [*.net *.split]
12:32
rvchangue has quit [*.net *.split]
12:32
matp has quit [*.net *.split]
12:32
iamstef has quit [*.net *.split]
12:32
robacarp has quit [*.net *.split]
12:32
thor77_ is now known as thor77
12:32
buggs1 has joined #crystal-lang
12:32
krtv` has joined #crystal-lang
12:32
shadeslayer has joined #crystal-lang
12:32
omninonsense has joined #crystal-lang
12:32
matp has joined #crystal-lang
12:33
robacarp has joined #crystal-lang
12:36
pawnbox_ has quit [Remote host closed the connection]
12:36
rvchangue has joined #crystal-lang
12:40
Cidan has joined #crystal-lang
12:45
joshcarter has joined #crystal-lang
12:45
victor_lowther has joined #crystal-lang
12:49
wminor has joined #crystal-lang
12:51
SShrike has quit [Quit: SShrike]
12:52
mroth has joined #crystal-lang
12:53
Ven has joined #crystal-lang
12:59
pawnbox has joined #crystal-lang
13:10
Luk3 has quit [*.net *.split]
13:47
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:48
trapped_ has joined #crystal-lang
13:50
vifino has quit [*.net *.split]
13:50
vifino has joined #crystal-lang
13:51
trapped has quit [Ping timeout: 268 seconds]
13:59
trapped has joined #crystal-lang
14:01
iamstef has joined #crystal-lang
14:01
Ven has joined #crystal-lang
14:01
trapped_ has quit [Ping timeout: 244 seconds]
14:03
trapped_ has joined #crystal-lang
14:05
emmanueloga has joined #crystal-lang
14:05
AckZ has joined #crystal-lang
14:05
trapped has quit [Ping timeout: 248 seconds]
14:15
trapped has joined #crystal-lang
14:16
trapped_ has quit [Ping timeout: 240 seconds]
14:19
trapped_ has joined #crystal-lang
14:21
trapped has quit [Ping timeout: 268 seconds]
14:33
AckZ has quit [K-Lined]
14:37
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:38
wminor has quit [Read error: Connection reset by peer]
14:40
wminor has joined #crystal-lang
14:40
ssvb has joined #crystal-lang
14:50
ponga has joined #crystal-lang
14:54
Ven has joined #crystal-lang
15:07
g3funk is now known as braidn
15:08
<
jokke >
i have a question about macros
15:08
<
jokke >
i have an abstract class that provides a macro
15:08
<
jokke >
this macro then defines a method
15:09
<
jokke >
it seems to me, that the method is defined on the abstract class even though called from a class inheriting from it
15:18
<
asterite >
If you provide your code maybe it's easier to understand your problem
15:20
kfpratt has quit [Read error: Network is unreachable]
15:21
kfpratt has joined #crystal-lang
15:21
jwaldrip has quit [Read error: Connection reset by peer]
15:21
<
jokke >
asterite: yes
15:21
jwaldrip has joined #crystal-lang
15:22
<
asterite >
When you create `Bar.new("foo")`, the type of @foo becomes String
15:22
<
asterite >
and String doesn't have a foo method
15:23
<
jokke >
i admit it's very weird doing something like this but i stumbled across this problem writing a serializer
15:23
<
asterite >
Instance variables are inherited, so Foo's @foo gets the type of all subclasses
15:23
<
jokke >
that explains it
15:23
<
jokke >
alright, i'll work around it then
15:24
<
jokke >
thanks for clarifying
15:30
<
jokke >
not sure how i can get past the type inheritance
15:31
x0f has quit [Ping timeout: 268 seconds]
15:36
<
jokke >
i'll just make the class generic
15:37
x0f has joined #crystal-lang
15:39
<
jokke >
yup, works like a charm
15:54
Papierkorb has left #crystal-lang ["Konversation terminated!"]
15:57
slash_nick has joined #crystal-lang
15:57
slash_nick has quit [Changing host]
16:02
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:19
AckZ has joined #crystal-lang
16:53
shama has joined #crystal-lang
16:56
Excureo has quit [Remote host closed the connection]
16:56
Excureo has joined #crystal-lang
17:28
<
sdogruyol >
@jokke you can use a before filter for setting headers e.g
17:29
trapped has joined #crystal-lang
17:32
trapped_ has quit [Ping timeout: 255 seconds]
17:33
jwaldrip has quit [Ping timeout: 240 seconds]
17:34
guilleiguaran__ has quit [Read error: Network is unreachable]
17:34
ponga has quit [Read error: Connection reset by peer]
17:34
avdi has quit [Write error: Connection reset by peer]
17:34
omninonsense has quit [Ping timeout: 240 seconds]
17:35
CompanionCube has quit [Ping timeout: 240 seconds]
17:35
krtv` has quit [Ping timeout: 240 seconds]
17:35
buggs1 has quit [Ping timeout: 240 seconds]
17:39
buggs1 has joined #crystal-lang
17:39
krtv` has joined #crystal-lang
17:39
CompanionCube has joined #crystal-lang
17:39
CompanionCube has quit [Changing host]
17:39
CompanionCube has joined #crystal-lang
17:42
[spoiler] has joined #crystal-lang
17:43
guilleiguaran__ has joined #crystal-lang
17:44
avdi has joined #crystal-lang
17:45
jwaldrip has joined #crystal-lang
17:46
ponga has joined #crystal-lang
17:46
Excureo has quit [Remote host closed the connection]
17:47
Excureo has joined #crystal-lang
17:50
<
jeromegn >
sdogruyol: I saw you pulled that in this morning (or yesterday)? :P I was wondering if you'd thought about using blocks (like in Grape) to namespace resources? in that case, before and after could be used without a route argument and apply to the whole block
17:51
<
sdogruyol >
i haven’t thought about that jeromegn
18:01
<
jeromegn >
I guess so :)
18:02
<
jeromegn >
I'm thinking in Grape a lot though
18:02
<
jeromegn >
but yes that would work
18:02
<
jeromegn >
maybe we just need a Grape (Krepe?) on top of Kemal
18:04
<
sdogruyol >
that’d be pretty sweet
18:08
ponga has quit [Quit: Connection closed for inactivity]
18:09
Liothen has joined #crystal-lang
18:09
Liothen has quit [Changing host]
18:42
Excureo has quit [Read error: Connection reset by peer]
18:46
A124 has quit [Quit: '']
18:52
Excureo has joined #crystal-lang
18:58
A124 has joined #crystal-lang
19:06
srenatus has quit [Quit: Connection closed for inactivity]
19:22
A124 has quit [Quit: '']
19:25
A124 has joined #crystal-lang
20:07
A124 has quit [Quit: '']
20:09
A124 has joined #crystal-lang
20:12
pawnbox has quit [Remote host closed the connection]
20:13
BlaXpirit has quit [Quit: Bye]
20:13
BlaXpirit has joined #crystal-lang
20:14
BlaXpirit_ has joined #crystal-lang
20:20
<
crystal-gh >
crystal/master 4275ce7 Ary Borenszweig: Fixed #2171: Problems with block passing, inheritance and `with self yield`
20:35
BlaXpirit_ has quit [Quit: Konversation]
20:45
Ven has joined #crystal-lang
20:51
yxhuvud has quit [Ping timeout: 264 seconds]
21:06
<
jeromegn >
that's funny, I'm actually working on an HAL+JSON API at work
21:06
<
jokke >
jeromegn: hehe :)
21:08
<
jokke >
i think a good json api serializer would be very nice to have for crystal. even better of course would be indeed something like grape.
21:11
<
jeromegn >
definitely on my list. it wouldn't need to much work considering something like Kemal exists, it could build on top.
21:12
<
jokke >
yes, exactly
21:14
<
jeromegn >
also, if somebody else wants to do it, that would be nice too haha
21:14
<
jeromegn >
also thinking of making a static site compiler
21:15
<
jeromegn >
there's already Kamber which is close.
21:18
<
jokke >
well, anyhow, as of now my lib already emits spec conform and schema-valid json. Nothing fancy yet, relations are a bit cumbersome to define. I think a lot could be made more convenient with some macro wizardry. So if any of you guys can try out the lib and provide me with feedback or even better, improvements, i'd be very happy :)
21:18
<
jokke >
jeromegn: yeah sign me up for the static site compiler! :) I'd love to see one for crystal!
21:19
<
BlaXpirit >
well i don't see much point in it
21:20
<
jokke >
BlaXpirit: in what?
21:21
<
BlaXpirit >
static site compiler. unless i misunderstand what is mean by this
21:21
<
jokke >
BlaXpirit: something like jekyll
21:21
<
BlaXpirit >
ok, sure, that's it then
21:21
<
BlaXpirit >
there are more than enough of these and crystal has no advantage for them
21:22
<
jokke >
BlaXpirit: i think the crystal community profits from any and all projects written in crystal.
21:29
<
jeromegn >
jokke: I agree.
21:32
<
jokke >
i mean thanks to shards <3 it's super easy to ship your little lib so i end up splitting my projects into manageble portions which in turn may profit someone else doing something similar and that's what i'd expect from any larger crystal project
21:33
<
jokke >
so even if a static site compiler isn't on the top of your wishlist there may be other ways you profit from such a process (some libs that were written in the process)
21:40
<
jeromegn >
I love shards, but it needs to be a bit more powerful to be considered serious. I mean... I guess go's package management is also a bit freestyle (resolving dependencies, et al.)
22:00
yxhuvud has joined #crystal-lang
22:13
jbl has joined #crystal-lang
22:16
Guest52752 has quit [Client Quit]
22:27
Ven has quit [Read error: Connection reset by peer]
22:28
Ven has joined #crystal-lang
22:28
<
jokke >
hm i just did a benchmark of my lib
22:28
<
jokke >
and i'm a bit confused about the results
22:29
Ven has quit [Client Quit]
22:29
<
jokke >
it seems that no matter how many documents i need to serialize its always done with a speed of 16 times per second
22:29
<
jokke >
and 16 times per second isn't that good..
22:32
<
jokke >
(i'm using /dev/null as io for to_json
22:39
<
jokke >
hm now i use a nop io as io (read and write empty method bodies) and there's not a lot of change. (20 times per second)
22:51
<
jokke >
any hints on where to find the bottleneck would be greatly appreciated
22:54
<
jokke >
i can't believe that the json serializing itself can be so slow
23:14
mjblack has joined #crystal-lang
23:32
trapped has quit [Read error: Connection reset by peer]