00:03
blue_deref has joined #crystal-lang
01:00
ozra has quit [Ping timeout: 246 seconds]
01:01
<
crystal-gh >
[crystal] yui-knk opened pull request #1037: [ci skip] Fix Docs of `superclass` (master...fix/docs)
http://git.io/vYVue
01:23
havenwood has joined #crystal-lang
01:53
blue_deref has quit [Quit: bbn]
04:47
<
crystal-gh >
[crystal] yui-knk opened pull request #1038: [ci skip] Fix mardown format and code example (master...doc/fix_md)
http://git.io/vYwJ9
04:48
<
crystal-gh >
[crystal] yui-knk opened pull request #1039: [ci skip] Add macro id examples (master...doc/macro_id)
http://git.io/vYwJp
06:12
BlaXpirit has joined #crystal-lang
06:41
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
06:59
hangyas has joined #crystal-lang
07:03
<
hangyas >
I know it doesn't make sense in ruby, but works in java, and would be cool anyway
07:55
hosiawak has joined #crystal-lang
08:35
<
crystal-gh >
[crystal] porras opened pull request #1041: Array(T)#* (master...array-multiplication)
http://git.io/vYwQZ
08:40
yie_ has joined #crystal-lang
08:57
<
willl >
hangyas: open an issue on github maybe. Without thinking too much about it, I agree that should work
09:02
havenwood has quit [Ping timeout: 240 seconds]
09:02
leafybasil has quit [Remote host closed the connection]
09:20
leafybasil has joined #crystal-lang
09:23
leafybas_ has joined #crystal-lang
09:24
leafybasil has quit [Ping timeout: 244 seconds]
09:30
BlaXpirit has quit [Quit: Konversation]
10:20
_whitelogger___ has joined #crystal-lang
10:21
_whitelogger__ has quit [Ping timeout: 240 seconds]
10:21
aemadrid has quit [Ping timeout: 240 seconds]
10:21
emmanueloga has quit [Ping timeout: 240 seconds]
10:21
DeBot has quit [Ping timeout: 240 seconds]
10:22
flaviu has quit [Ping timeout: 240 seconds]
10:22
aemadrid_ is now known as aemadrid
10:23
emmanueloga_ is now known as emmanueloga
10:23
flaviu has joined #crystal-lang
11:32
_whitelogger___ has joined #crystal-lang
11:45
zipR4ND has quit [Ping timeout: 272 seconds]
11:46
strcmp1 has joined #crystal-lang
12:06
luislavena has joined #crystal-lang
12:21
DeBot has joined #crystal-lang
12:47
unshadow has joined #crystal-lang
12:53
havenwood has joined #crystal-lang
13:01
<
unshadow >
jhass: do we have .send in crystal too ?
13:03
<
jhass >
how would you imagine the compiler to figure out the return type?
13:03
<
jhass >
or the arity?
13:03
<
unshadow >
jhass: It couldn't ... makes sense ^^
13:29
unshadow has quit [Quit: leaving]
13:34
dwahl has joined #crystal-lang
13:39
<
crystal-gh >
[crystal] yui-knk opened pull request #1044: [ci skip] Add docs for class_name macro method (master...docs/class_name)
http://git.io/vYKeG
13:44
zipR4ND has joined #crystal-lang
13:48
waj has joined #crystal-lang
13:52
salvor has quit [Ping timeout: 250 seconds]
13:53
mgarciaisaia has joined #crystal-lang
13:54
salvor has joined #crystal-lang
13:54
dwahl has quit [Ping timeout: 255 seconds]
14:07
dwahl has joined #crystal-lang
14:17
hosiawak` has joined #crystal-lang
14:20
hosiawak has quit [Ping timeout: 255 seconds]
14:31
BlaXpirit has joined #crystal-lang
14:31
BlaXpirit has joined #crystal-lang
14:32
blue_deref has joined #crystal-lang
14:37
trgk has joined #crystal-lang
14:46
<
crystal-gh >
[crystal] yui-knk opened pull request #1045: Add tests for `String#*` (arg is negative) (master...test/string_multi)
http://git.io/vYKgZ
14:47
<
crystal-gh >
[crystal] yui-knk closed pull request #1045: Add tests for `String#*` (arg is negative) (master...test/string_multi)
http://git.io/vYKgZ
14:50
<
crystal-gh >
[crystal] yui-knk opened pull request #1046: Remove pending of `"\0\0".length` (master...test/string_length)
http://git.io/vYK2u
15:19
<
crystal-gh >
crystal/master d010235 Ary Borenszweig: Fixed CSV parsing regarding `\r`
15:19
<
crystal-gh >
crystal/master 6d12d48 Ary Borenszweig: Raise ArgumentError on negative argument in `String#*`
15:19
<
crystal-gh >
crystal/master c64b23e Ary Borenszweig: Make Array.new raise ArgumentError on negative size
15:27
shama has joined #crystal-lang
15:28
dwahl has quit [Ping timeout: 244 seconds]
15:32
lokulin has quit [Ping timeout: 256 seconds]
15:34
waj has quit [Ping timeout: 240 seconds]
15:44
dwahl has joined #crystal-lang
15:49
lokulin has joined #crystal-lang
15:54
blue_deref has quit [Quit: bbn]
16:04
dwahl has quit [Ping timeout: 264 seconds]
16:08
trgk has quit [Ping timeout: 246 seconds]
16:10
hosiawak` has quit [Ping timeout: 246 seconds]
16:11
mgarciaisaia has quit [Ping timeout: 244 seconds]
16:12
mgarciaisaia has joined #crystal-lang
16:13
dwahl has joined #crystal-lang
16:21
mgarciaisaia1 has joined #crystal-lang
16:21
mgarciaisaia has quit [Read error: Connection reset by peer]
16:25
fkchang has joined #crystal-lang
16:26
<
fkchang >
is there an example on how to setup websockets w/Http::Server? Looking at the code and specs didn't make it apparent to me. BTW, great job w/crystal, I really like what I've experienced
16:28
zipR4ND has quit [Ping timeout: 246 seconds]
16:33
<
dwahl >
fkchang: i've been fooling around with crystal and have some very bad code that does some stuff around unix sockets. it might set you on the right path. it might also set you on a very wrong path
16:37
NeverDie has joined #crystal-lang
16:37
<
jhass >
sending seems to be missing
16:38
<
jhass >
well, the delegates on the session do, something like session.@ws.send(...) would probably work
16:38
<
jhass >
(yes, that's breaking encapsulation and is not the proper interface)
16:52
leafybas_ has quit [Remote host closed the connection]
16:52
leafybasil has joined #crystal-lang
16:57
leafybasil has quit [Ping timeout: 250 seconds]
17:06
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
17:21
<
fkchang >
dwahl: jhass: thanks, I'll check it out. If I figure it out and document it, is there a place I should put it and make a PR?
17:21
<
jhass >
fkchang: just as doc comments about the handler would be great I'd say
17:23
<
fkchang >
jhass: ok, got it, thx
17:26
<
thor77 >
it would be rly great to have some more method-explanations at /api
17:26
<
thor77 >
at least one sentence for every method would be very helpful
17:28
<
thor77 >
yeah, will do that as soon as i can figure out something ;D
17:28
<
thor77 >
>> ":" == ':'
17:28
<
jhass >
>> ':' == ":"
17:28
<
jhass >
mmh, debatable
17:29
<
thor77 >
'' => char "" => string?
17:29
<
jhass >
>> ":" === ':'
17:29
<
jhass >
^ would make sense I guess
17:29
<
jhass >
since === is the looser variant
17:29
<
jhass >
(used in case statements for example)
17:29
<
thor77 >
wut. where can i read some more about ===?
17:30
<
thor77 >
>> typeof(':'); typeof(":")
17:30
<
thor77 >
>> typeof(':')
17:30
<
jhass >
uh, at the API docs? :P
17:30
<
jhass >
>> {typeof(":"), typeof(':')} # Tuples are great ;)
17:30
<
dwahl >
>> ':' == ":" as Char
17:31
<
dwahl >
>> ':' as String == ":"
17:31
<
thor77 >
someone with a lot of time and good english-skills should contribute to doc + api :/
17:31
* thor77
doesn't have that good english skills
17:31
<
dwahl >
if you cant cast between them I think loose equality doesn't make sense
17:32
<
crystal-gh >
crystal/master 71f49ff Anton Davydov: Update HTML::Builder library...
17:32
<
crystal-gh >
crystal/master 7b44332 Brian J. Cardiff: Avoid creation of intermediate hashes and strings
17:32
<
crystal-gh >
crystal/master 3e15c31 Brian J. Cardiff: Rephrase docs. Show tagname in caps.
17:32
<
jhass >
dwahl: well, you can convert losslessly (for those particular instances)
17:32
<
jhass >
in Ruby === even calls procs :P
17:32
<
dwahl >
hahaha i did not know that
17:33
<
jhass >
>> ":".chars.first == ':'
17:33
<
dwahl >
ruby is a little bit horrifying sometimes, though.
17:39
luislavena has quit [Remote host closed the connection]
17:40
<
dwahl >
jhass: haha, wow.
18:09
NeverDie has joined #crystal-lang
18:10
fkchang has quit [Ping timeout: 260 seconds]
18:10
NeverDie has quit [Max SendQ exceeded]
18:11
NeverDie has joined #crystal-lang
18:14
kulelu88 has joined #crystal-lang
18:19
orliesaurus is now known as thibaultcha
18:19
thibaultcha is now known as orliesaurus
18:30
fkchang has joined #crystal-lang
18:40
luislavena has joined #crystal-lang
18:45
luislavena has quit [Ping timeout: 246 seconds]
19:09
blue_deref has joined #crystal-lang
19:31
luislavena has joined #crystal-lang
19:53
<
crystal-gh >
[crystal] kumpelblase2 opened pull request #1048: [WIP] Allow for sending masked data from websocket. (master...patch-1)
http://git.io/vYi7c
20:24
<
crystal-gh >
[crystal] elia opened pull request #1049: SVG badges to please the eyes
20:27
<
crystal-gh >
[crystal] asterite closed pull request #1049: SVG badges to please the eyes
20:27
Raimondi has quit [Quit: The road to wisdom?—Well, it's plain and simple to express: Err and err and err again, but less and less and less. — Piet Hein]
20:38
<
thor77 >
>> 1 in [1, 2, 3]
20:39
<
thor77 >
>> [1, 2, 3].contains 1
20:39
<
thor77 >
>> [1, 2, 3].to_a
20:40
<
thor77 >
is there no "x contains y" thing?
20:40
<
jhass >
>> [1, 2, 3].includes? 1
20:40
<
thor77 >
can't find that at api => Array o.O
20:41
Dreamer3 has joined #crystal-lang
20:41
<
thor77 >
>> {"abc" => 1, "def" => 2}.includes? "abc"
20:41
<
dwahl >
thor77, it's in the enumerable module
20:42
<
thor77 >
>> {"abc" => 1, "def" => 2}.has_key? "abc"
20:44
<
jhass >
thor77: includes? is on Enumerable apparently
20:48
nahtnam has joined #crystal-lang
20:56
leafybasil has joined #crystal-lang
20:57
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
21:04
NeverDie has joined #crystal-lang
21:08
NeverDie has quit [Max SendQ exceeded]
21:09
NeverDie has joined #crystal-lang
21:09
dwahl has quit [Ping timeout: 246 seconds]
21:11
Raimondi has joined #crystal-lang
21:16
dbackeus has joined #crystal-lang
21:18
<
crystal-gh >
crystal/master 86a0c94 Ary Borenszweig: Fixed #1040: crash when using `return` in macro def
21:18
<
crystal-gh >
crystal/master a5ff385 Ary Borenszweig: Better error message when compiler crashes when a node has no type
21:18
<
crystal-gh >
crystal/master 5c9a4ad Ary Borenszweig: Fixed #1042: overload match problem with splat arg
21:21
NeverDie has joined #crystal-lang
21:21
<
kulelu88 >
Does Crystal have a parser file? Would it be possible to write my own transpiler and piggyback off crystal/
21:24
NeverDie has quit [Client Quit]
21:25
<
kulelu88 >
wow, short and sweet
21:26
<
jhass >
it's a bit incomplete I guess ;)
21:30
<
jhass >
I'm not sure what you're asking tbh
21:30
<
kulelu88 >
general opinion?
21:30
<
kulelu88 >
can't be too specific with such a strange language :D
21:32
<
jhass >
it's another language, nothing too exciting about, probably more appealing to the pythonista
21:34
<
kulelu88 >
it comes from the stable Vala set, so would it be viable to try building compiled languages from it?
21:36
<
thor77 >
hope my event-subscription-things aren't too bad
21:36
<
kulelu88 >
Genie = transpiler written to use Vala compiler (or whatever Vala uses)
21:37
<
thor77 >
uh, okey. will create a new repo
21:39
<
jhass >
you can rename repos
21:50
<
kulelu88 >
what did you change the name to? its still the same
21:54
mgarciaisaia1 has quit [Quit: Leaving.]
21:56
<
jhass >
kulelu88: s/-/_/
22:14
luislavena has quit []
22:25
dbackeus has quit [Remote host closed the connection]
22:44
havenwood has quit [Read error: Connection reset by peer]
22:53
NeverDie has joined #crystal-lang
23:06
BlaXpirit has quit [Quit: Konversation]
23:10
Dreamer3 has quit [Read error: Connection reset by peer]
23:12
Dreamer3 has joined #crystal-lang
23:27
fkchang has quit [Remote host closed the connection]
23:27
fkchang has joined #crystal-lang
23:47
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
23:54
<
crystal-gh >
[crystal] yui-knk opened pull request #1050: [ci skip] Fix returned type of `Def#body` (master...doc/fix_body)
http://git.io/vYXIH
23:59
bcardiff has joined #crystal-lang