00:34
Sadin has joined #crystal-lang
00:46
Ven_ has joined #crystal-lang
00:47
olek_poz has quit [Ping timeout: 260 seconds]
00:51
nakilon has quit [Ping timeout: 246 seconds]
00:53
Ven_ has quit [Ping timeout: 264 seconds]
01:12
A124 has quit [Quit: '']
01:23
<
CodiS >
Hi, is crystal taking any of the ideas from erlang like otp?
01:30
matp has quit [Ping timeout: 276 seconds]
01:47
A124 has joined #crystal-lang
01:50
Ven_ has joined #crystal-lang
01:57
Ven_ has quit [Ping timeout: 240 seconds]
01:59
A124 has quit [Quit: '']
01:59
A124 has joined #crystal-lang
02:21
<
Davy_CC >
jhass: Thanks
02:34
CodiS has joined #crystal-lang
02:34
<
CodiS >
Sorry got disconnected. Is crystal going to be similar in some ways to erlang for distributed systems.
02:42
blue_deref has quit [Quit: bbn]
02:53
A124 has quit [Quit: '']
02:55
Ven_ has joined #crystal-lang
03:02
Ven_ has quit [Ping timeout: 244 seconds]
03:29
CodiS has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
03:35
CodiS has joined #crystal-lang
03:49
CodiS has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
03:59
Ven_ has joined #crystal-lang
04:05
Ven_ has quit [Ping timeout: 246 seconds]
04:35
fowlduck has quit [Remote host closed the connection]
04:38
warmwaffles has quit [Quit: Leaving]
05:02
Ven_ has joined #crystal-lang
05:06
CodiS has joined #crystal-lang
05:07
Ven_ has quit [Ping timeout: 250 seconds]
05:11
CodiS has quit [Ping timeout: 265 seconds]
05:33
pawnbox_ has joined #crystal-lang
05:35
pawnbox_ has quit [Read error: No route to host]
05:35
pawnbox_ has joined #crystal-lang
05:35
pawnbox_ has quit [Read error: Connection reset by peer]
05:36
pawnbox_ has joined #crystal-lang
05:41
pawnbox_ has quit [Ping timeout: 264 seconds]
05:43
pawnbox_ has joined #crystal-lang
06:16
A124 has joined #crystal-lang
06:29
mhib has joined #crystal-lang
06:34
mhib has quit [Remote host closed the connection]
06:34
pawnbox_ has quit [Ping timeout: 264 seconds]
06:42
pawnbox_ has joined #crystal-lang
07:09
Ven_ has joined #crystal-lang
07:13
Ven_ has quit [Ping timeout: 252 seconds]
07:15
jamie_ca has quit [Ping timeout: 250 seconds]
07:17
slash_nick has quit [Remote host closed the connection]
07:17
slash_nick has joined #crystal-lang
07:20
jamie_ca has joined #crystal-lang
07:28
A124 has quit [Read error: No route to host]
08:30
A124 has joined #crystal-lang
08:53
BlaXpirit has joined #crystal-lang
09:03
matp has joined #crystal-lang
09:03
olek_poz has joined #crystal-lang
09:22
pawnbox_ has quit [Remote host closed the connection]
09:23
pawnbox_ has joined #crystal-lang
09:31
leafybas_ has joined #crystal-lang
09:32
leafybas_ has quit [Remote host closed the connection]
09:33
leafybas_ has joined #crystal-lang
09:37
pawnbox_ has quit [Ping timeout: 255 seconds]
09:40
pawnbox_ has joined #crystal-lang
09:45
<
crystal-gh >
[crystal] omninonsense opened pull request #1885: fixes #1884 (master...fix_1884)
http://git.io/v8NY5
09:50
pawnbox_ has quit [Remote host closed the connection]
09:50
pawnbox_ has joined #crystal-lang
09:54
pawnbox_ has quit [Remote host closed the connection]
09:55
pawnbox_ has joined #crystal-lang
10:11
pawnbox_ has quit [Remote host closed the connection]
10:11
pawnbox_ has joined #crystal-lang
10:11
pawnbox_ has quit [Remote host closed the connection]
10:11
BlaXpirit has quit [Read error: Connection reset by peer]
10:12
pawnbox_ has joined #crystal-lang
10:12
BlaXpirit has joined #crystal-lang
10:12
BlaXpirit has quit [Client Quit]
10:12
nakilon has joined #crystal-lang
10:15
trapped has joined #crystal-lang
10:20
BlaXpirit has joined #crystal-lang
10:21
ssvb has quit [Ping timeout: 264 seconds]
10:50
pawnbox_ has quit [Read error: Connection reset by peer]
10:51
pawnbox_ has joined #crystal-lang
11:13
pawnbox_ has quit [Remote host closed the connection]
11:15
pawnbox_ has joined #crystal-lang
11:23
pawnbox_ has quit [Remote host closed the connection]
11:26
pawnbox_ has joined #crystal-lang
11:29
doddok has joined #crystal-lang
11:38
leafybas_ has quit [Read error: Connection reset by peer]
11:38
leafybas_ has joined #crystal-lang
11:54
nakilon has quit [Ping timeout: 240 seconds]
12:03
leafyba__ has joined #crystal-lang
12:05
olek_poz has quit [Ping timeout: 260 seconds]
12:07
ssvb has joined #crystal-lang
12:07
leafybas_ has quit [Ping timeout: 260 seconds]
12:07
leafyba__ has quit [Ping timeout: 250 seconds]
12:20
pawnbox_ has quit [Remote host closed the connection]
12:22
<
crystal-gh >
crystal/master b142342 Nino Miletich: fixes #1884
12:22
<
crystal-gh >
crystal/master 32c3ce1 Ary Borenszweig: Merge pull request #1885 from omninonsense/fix_1884...
12:25
pawnbox_ has joined #crystal-lang
12:33
sardaukar has quit [Ping timeout: 276 seconds]
12:34
olek_poz has joined #crystal-lang
12:35
pawnbox_ has quit [Remote host closed the connection]
13:03
NeverDie has quit [Read error: Connection reset by peer]
13:04
NeverDie has joined #crystal-lang
13:06
pawnbox_ has joined #crystal-lang
13:06
yxhuvud has quit [Ping timeout: 250 seconds]
13:09
yxhuvud has joined #crystal-lang
13:11
pawnbox_ has quit [Ping timeout: 240 seconds]
13:14
pawnbox_ has joined #crystal-lang
13:20
sardaukar has joined #crystal-lang
13:21
pawnbox_ has quit [Ping timeout: 260 seconds]
13:31
<
crystal-gh >
crystal/master 1807968 Ary Borenszweig: Merge pull request #1883 from manastech/json_any...
13:39
pawnbox_ has joined #crystal-lang
13:42
Kendos-Kenlen has joined #crystal-lang
13:51
pawnbox_ has quit [Remote host closed the connection]
13:56
leafybas_ has joined #crystal-lang
13:59
Kendos-Kenlen has quit [Quit: Konversation terminated!]
13:59
leafybas_ has quit [Remote host closed the connection]
13:59
leafybas_ has joined #crystal-lang
14:03
pawnbox_ has joined #crystal-lang
14:13
<
jokke >
nevermind ^^
14:16
olek_poz has quit [Ping timeout: 260 seconds]
14:21
pawnbox_ has quit [Ping timeout: 272 seconds]
14:26
pawnbox_ has joined #crystal-lang
14:37
pawnbox__ has joined #crystal-lang
14:39
pawnbox_ has quit [Ping timeout: 240 seconds]
14:43
pawnbox__ has quit [Ping timeout: 272 seconds]
14:50
pawnbox_ has joined #crystal-lang
14:59
pawnbox_ has quit [Remote host closed the connection]
14:59
olek_poz has joined #crystal-lang
15:13
NeverDie has joined #crystal-lang
15:14
pawnbox_ has joined #crystal-lang
15:34
ljfa has joined #crystal-lang
15:35
ljfa has quit [Client Quit]
15:41
pawnbox_ has quit [Ping timeout: 240 seconds]
15:44
pawnbox_ has joined #crystal-lang
15:49
<
jokke >
i found a bug in the compiler :(
15:49
Sadin has joined #crystal-lang
15:50
<
jokke >
is this a known bug?
15:50
<
jokke >
else i'll write an issue
16:08
pawnbox_ has quit [Remote host closed the connection]
16:13
pawnbox_ has joined #crystal-lang
16:13
greengriminal has joined #crystal-lang
16:13
greengriminal has quit [Remote host closed the connection]
16:21
pawnbox_ has quit [Remote host closed the connection]
16:21
pawnbox_ has joined #crystal-lang
16:24
pawnbox_ has quit [Remote host closed the connection]
16:29
<
doddok >
itry to active_record.cr lib, and create "class Thread" , its database table , but get error superclass mismatch for class Thread(T, R)
16:30
<
doddok >
how can do i fix such error
16:32
<
jhass >
doddok: namespace or pick another name
16:32
<
jhass >
Thread is a class in stdlib
16:33
<
doddok >
DB::Thread seems will be good
16:36
<
doddok >
seems have another error
16:36
<
doddok >
i try to use "where"
16:36
<
doddok >
and get error Error in ./src/main.cr:15: instantiating 'Forum:Class#where(Hash(String, Int32))'
16:36
<
doddok >
forums = Forum.where({"siteid" => 4})
16:37
<
doddok >
Forum.all working ok
16:39
<
jhass >
you showed just part of the trace, not the error
16:45
<
jhass >
mh, that's a bit weird
16:47
<
jhass >
mh, I guess the line numbers went off again
16:52
BlaXpirit has quit [Quit: Konversation]
16:57
<
doddok >
i didn't use id filed
17:14
sardaukar has quit [Ping timeout: 276 seconds]
17:16
sardaukar has joined #crystal-lang
17:46
BlaXpirit has joined #crystal-lang
17:53
greengriminal has joined #crystal-lang
18:22
NeverDie has joined #crystal-lang
18:27
NeverDie has quit [Max SendQ exceeded]
18:28
NeverDie has joined #crystal-lang
18:31
NeverDie has quit [Max SendQ exceeded]
18:42
NeverDie has joined #crystal-lang
18:46
Ven has joined #crystal-lang
18:47
NeverDie has quit [Max SendQ exceeded]
18:48
NeverDie has joined #crystal-lang
18:49
NeverDie has quit [Max SendQ exceeded]
18:50
fowlduck has joined #crystal-lang
18:55
NeverDie has joined #crystal-lang
19:09
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:25
Raimondii has joined #crystal-lang
19:28
Raimondi has quit [Ping timeout: 265 seconds]
19:28
<
Davy_CC >
jhass: I'm going to port Crystal 0.9.1 to Windows, but I find that Windows APIs and structs are too different from unix-like system.
19:29
Raimondi has joined #crystal-lang
19:29
<
Davy_CC >
Should we design a interface to provide these operations and structs like golang?
19:30
<
Davy_CC >
This is for portability
19:31
<
jhass >
the example is maybe using a bit specific stuff, it's really about finding a common low level interface
19:32
Raimondii has quit [Ping timeout: 250 seconds]
19:34
<
jhass >
Davy_CC: do you know any (ideally free & hosted) CI systems for windows?
19:39
<
Davy_CC >
jhass: no, many CI for windows are for .Net only
19:40
<
jhass >
it's going to be hard to ensure compatibility when merged into upstream :/
19:44
<
Davy_CC >
maybe we have to build own CI system like GitLab CI or Jenkins CI :/
19:48
Excureo has quit [Ping timeout: 260 seconds]
19:49
Excureo has joined #crystal-lang
19:57
<
CompanionCube >
appveyor?
20:20
<
jhass >
Davy_CC: I don't see the benefit from your example tbh
20:22
<
jhass >
Davy_CC: both the windows and the linux/os x specific files would define the same stuff on the same modules, just which definitions are loaded is different
20:26
<
Davy_CC >
we need to create a interface for these methods ( but there is no interface in Crystal )
20:27
<
jhass >
I'm actually not sure we need an explicit interface
20:28
<
jhass >
but if you feel some strong itch towards it you could define another module with abstract methods
20:28
<
jhass >
and include it into CWrapper
20:28
<
jhass >
but crystal will (atm) only ensure implementation when there's an actual call
20:29
<
jhass >
so it would be more like code level documentation
20:37
<
Davy_CC >
hummm, maybe you're right. I'm just thinking of how to distinguish between platform-independency calls and platform-specific calls, and make these general calls have common interface and behaviour
20:41
olek_poz has quit [Ping timeout: 260 seconds]
20:44
<
jhass >
Davy_CC: I'd wrap everything, ifdef's and LibC calls would be forbidding in the rest of stdlib
20:49
<
jhass >
Davy_CC: but as said before you invest too much time into such a scheme you need to convince asterite of it
21:12
<
Davy_CC >
jhass: i have to go to sleep now. it's already 5 am here. thank you :)
21:14
Sadin has quit [Remote host closed the connection]
21:15
Sadin has joined #crystal-lang
21:15
Sadin has quit [Remote host closed the connection]
21:29
ssvb has quit [Ping timeout: 255 seconds]
21:40
_whitelogger has joined #crystal-lang
21:41
ssvb has joined #crystal-lang
22:07
fowlduck_ has joined #crystal-lang
22:08
fowlduck has quit [Ping timeout: 240 seconds]
22:10
nakilon has joined #crystal-lang
22:15
leafyba__ has joined #crystal-lang
22:17
tdc has joined #crystal-lang
22:18
leafybas_ has quit [Ping timeout: 240 seconds]
22:19
tdc has quit [Client Quit]
22:19
leafyba__ has quit [Ping timeout: 260 seconds]
22:29
<
doddok >
i cannot realize how to use redis in web
22:30
<
doddok >
i can set value but cannot get it
22:30
Ven has joined #crystal-lang
22:35
<
doddok >
need advice about desing
22:35
blue_deref has joined #crystal-lang
22:36
<
doddok >
maybe create helper class
22:45
Ven has quit [Read error: Connection reset by peer]
22:46
Ven has joined #crystal-lang
22:47
doddok has quit [Quit: Leaving]
22:49
Ven has quit [Read error: Connection reset by peer]
22:49
Ven has joined #crystal-lang
22:56
BlaXpirit has quit [Quit: Konversation]
22:56
ssvb has quit [Ping timeout: 260 seconds]
23:08
leafybas_ has joined #crystal-lang
23:09
ssvb has joined #crystal-lang
23:14
leafyba__ has joined #crystal-lang
23:16
leafybas_ has quit [Ping timeout: 240 seconds]
23:22
greengriminal has quit [Quit: Leaving]
23:34
Ven has quit [Read error: Connection reset by peer]
23:34
Ven has joined #crystal-lang
23:45
Ven has quit [Read error: Connection reset by peer]
23:46
Ven has joined #crystal-lang
23:51
[spoiler] has quit [Ping timeout: 246 seconds]
23:56
Excureo has quit [Remote host closed the connection]
23:57
[spoiler] has joined #crystal-lang
23:59
Excureo has joined #crystal-lang