jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.13.0 | Fund Crystals development: http://is.gd/X7PRtI | Paste > 3 lines of text to https://gist.github.com | GH: https://github.com/crystal-lang/crystal | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Logs: http://irclog.whitequark.org/crystal-lang
Cyrus has joined #crystal-lang
kfpratt has joined #crystal-lang
<miketheman> >> Time.now - 1.months
<DeBot> miketheman: # => 2016-02-14 00:08:09 +0000 - https://carc.in/#/r/u6m
<miketheman> >> Time.now - 1.month
<DeBot> miketheman: # => 2016-02-14 00:08:18 +0000 - https://carc.in/#/r/u6n
tomchapin has joined #crystal-lang
tomchapin has quit [Client Quit]
tomchapin has joined #crystal-lang
tomchapi_ has joined #crystal-lang
tomchapin has quit [Ping timeout: 276 seconds]
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vaCFq
<crystal-gh> crystal/master 3b22223 Ary Borenszweig: Compiler: fixed codegen crash with NoReturn condition in while
<travis-ci> crystal-lang/crystal#3b22223 (master - Compiler: fixed codegen crash with NoReturn condition in while): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/115755487
Philpax has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 244 seconds]
pawnbox has joined #crystal-lang
Philpax has quit [Quit: Leaving]
pawnbox has quit [Ping timeout: 260 seconds]
onec has quit []
A124 has quit [Read error: Connection reset by peer]
A124 has joined #crystal-lang
<rkeene> Anyone used libssh2 bindings for Crystal ?
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 248 seconds]
pawnbox has joined #crystal-lang
rvchangue has joined #crystal-lang
vonKingsley has joined #crystal-lang
trapped has joined #crystal-lang
rok has joined #crystal-lang
rok has quit [Client Quit]
rok has joined #crystal-lang
vonKingsley has quit [Ping timeout: 252 seconds]
Cidan has quit [*.net *.split]
mlitwiniuk has quit [*.net *.split]
Cidan has joined #crystal-lang
mlitwiniuk has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
<crystal-gh> [crystal] vonKingsley opened pull request #2303: Add Doc struct to libXML (master...master) https://git.io/vaW4U
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
fka_ has joined #crystal-lang
rok has quit [Quit: rok]
rok has joined #crystal-lang
davidbackeus has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
alsm has joined #crystal-lang
rok has quit [Quit: rok]
rok has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
<rkeene> I'm trying to figure out how to get a string from C into Crystal
<BlaXpirit> rkeene, ok
juliovn has joined #crystal-lang
<rkeene> I have a Pointer(UInt8)
<rkeene> It represents a zero terminated C string
juliovn has left #crystal-lang [#crystal-lang]
<rkeene> Getting the value gets the value of the first character
<BlaXpirit> rkeene, String.new(that)
jviana has joined #crystal-lang
<rkeene> Excellent !
<BlaXpirit> rkeene, ping me if u have C questions
<rkeene> I had crystal_lib generate me some bindings for libssh and I'm writing a simple interfacing using it
<rkeene> I know C (and many other languages) very well but I'm rather new to Crystal
jhass has quit [Ping timeout: 250 seconds]
jhass has joined #crystal-lang
<jviana> The new issue of linux magazine has an article about crystal, as you may be aware. Worth checking out that is how I learned about it.
fka_ has quit [Read error: Connection reset by peer]
pawnbox has quit [Remote host closed the connection]
fka_ has joined #crystal-lang
davidbackeus has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
davidbackeus has joined #crystal-lang
<BlaXpirit> jviana, if you consider the literal meaning of "worth" - no, I don't think it's worth the money
<jviana> Care to elaborate? You're saying the magazine is not worth it or the article itself? I kind of like the magazine, there are interesting articles and I learn about new things like crystal
rok has quit [Quit: rok]
fg has joined #crystal-lang
fg has left #crystal-lang [#crystal-lang]
fg has joined #crystal-lang
fg has quit [Client Quit]
fg has joined #crystal-lang
jviana has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jviana has joined #crystal-lang
pawnbox has joined #crystal-lang
jviana has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jviana has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
jviana has quit [Client Quit]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
fg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #crystal-lang
fka_ has quit []
fg has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 3 new commits to master: https://git.io/valW2
<crystal-gh> crystal/master 5344c0b Ary Borenszweig: Compiler: no need to use ptr2int for comparing pointer values
<crystal-gh> crystal/master 6f554f3 Ary Borenszweig: Add type annotations for class and global variables
<crystal-gh> crystal/master e9b920a Ary Borenszweig: Parser: fixed a small issue with call args and type declarations
pawnbox has quit [Remote host closed the connection]
<crystal-gh> [crystal] asterite pushed 2 new commits to master: https://git.io/vallS
<crystal-gh> crystal/master a607544 Malo Jaffré: Add Char methods and specs, include Comparable
<crystal-gh> crystal/master 5b203bd Ary Borenszweig: Merge pull request #2276 from MaloJaffre/char_classes...
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
<travis-ci> crystal-lang/crystal#5b203bd (master - Merge pull request #2276 from MaloJaffre/char_classes): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/115847606
<crystal-gh> [crystal] marceloboeira opened pull request #2304: Make it possible to use Int8 and Int16 with JSON/YAML mappings (master...new-json-types) https://git.io/valBH
marcosdsanchez has joined #crystal-lang
Ven has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
davidbackeus has quit [Remote host closed the connection]
davidbackeus has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
Ven has quit [Read error: Connection reset by peer]
pawnbox has joined #crystal-lang
Ven has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven has joined #crystal-lang
Ven has quit [Client Quit]
<crystal-gh> [crystal] BlaXpirit opened pull request #2305: Fix an example for Comparable (master...patch-2) https://git.io/valyz
pawnbox has quit [Remote host closed the connection]
Ven has joined #crystal-lang
pawnbox has joined #crystal-lang
Ven has quit [Client Quit]
pawnbox has quit [Ping timeout: 250 seconds]
Ven has joined #crystal-lang
Ven has quit [Read error: No route to host]
Ven has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<crystal-gh> [crystal] asterite pushed 2 new commits to master: https://git.io/valhe
<crystal-gh> crystal/master cd6da03 Ary Borenszweig: Merge pull request #2305 from BlaXpirit/patch-2...
<crystal-gh> crystal/master 08b12b9 Oleh Prypin: Fix an example for Comparable
Ven has joined #crystal-lang
Ven has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
<travis-ci> crystal-lang/crystal#cd6da03 (master - Merge pull request #2305 from BlaXpirit/patch-2): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/115883845
Ven has quit [Client Quit]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
Ven has joined #crystal-lang
davidbackeus has quit [Remote host closed the connection]
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven has joined #crystal-lang
Ven has quit [Client Quit]
Ven has joined #crystal-lang
Ven has quit [Client Quit]
<BlaXpirit> >> Pointer(Int32).null
<DeBot> BlaXpirit: # => Pointer(Int32).null - https://carc.in/#/r/u7s
<BlaXpirit> >> lib LibLib; type T = Void*; end; LibLib::T.null
<DeBot> BlaXpirit: undefined method 'null' for LibLib::T:Class - https://carc.in/#/r/u7t
<BlaXpirit> ??
tomchapin has joined #crystal-lang
<BlaXpirit> >> lib LibLib; type T = Void*; end; nil as LibLib::T
<DeBot> BlaXpirit: # => Pointer(Void).null - https://carc.in/#/r/u7u
alsm has quit [Ping timeout: 248 seconds]
<asterite> Yeah... type is an ugly beast, I think we should remove it from the language and just keep alias
vonKingsley has joined #crystal-lang
<BlaXpirit> asterite, pls no
<BlaXpirit> that destroys all type safety
<BlaXpirit> many libraries expose only Void* types, you can't consider allowing to substitute any type for any type
<asterite> Ok... then "type" maybe needs some improvements (but it's hard). For now the `as` workaround is useful :)
<BlaXpirit> asterite, but I have no idea why this workaround works, was a random guess that I had 0 expectations for
<asterite> Oh, wait, it's nil... yes, that's unexpected for me too
<asterite> Oh, you can cast any "reference type" (something subclassing Reference, or Nil) to a pointer :-)
<asterite> (or so it seems by looking at the code)... I guess this should be written somewhere
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
endou_ has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
marcosdsanchez has quit [Read error: Connection reset by peer]
endou has quit [Read error: Connection reset by peer]
marcosdsanchez has joined #crystal-lang
matp has quit [Excess Flood]
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/va8oL
<crystal-gh> crystal/master ba6248d Ary Borenszweig: Compiler: don't expand module type into including type when restricting it against itself
pawnbox has quit [Ping timeout: 248 seconds]
pawnbox has joined #crystal-lang
<travis-ci> crystal-lang/crystal#ba6248d (master - Compiler: don't expand module type into including type when restricting it against itself): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/115924912
matp has joined #crystal-lang
marcosdsanchez has quit [Remote host closed the connection]
fg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
marcosdsanchez has joined #crystal-lang
rok has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
perks has joined #crystal-lang
vonKingsley has quit [Ping timeout: 252 seconds]
davidbackeus has joined #crystal-lang
donpdonp has joined #crystal-lang
<donpdonp> does crystal have a package manager?
<donpdonp> ah just found shard.yml.
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/va4mz
<crystal-gh> crystal/master a987b1b Ary Borenszweig: Compiler: use block return type for captured blocks...
pawnbox has quit [Remote host closed the connection]
<travis-ci> crystal-lang/crystal#a987b1b (master - Compiler: use block return type for captured blocks): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/115963817
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 246 seconds]
<crystal-gh> [crystal] asterite opened pull request #2306: Allows passing flags to disable linking of openssl and zlib (master...feature/without) https://git.io/va4ED
<donpdonp> first impressions of Crystal (as a ruby dev) are Awesome!
<donpdonp> types and channels like Go, but ruby syntax is fun so far
davidbackeus has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 248 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 260 seconds]
perks has quit [Quit: perks]
greengriminal has joined #crystal-lang
trapped has quit [Read error: Connection reset by peer]
rok has quit [Quit: rok]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 244 seconds]
pawnbox has joined #crystal-lang