jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.9.1 | Fund Crystals development: http://is.gd/X7PRtI | Paste > 3 lines of text to https://gist.github.com | GH: https://github.com/manastech/crystal | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Logs: http://irclog.whitequark.org/crystal-lang
benner has quit [Read error: Connection reset by peer]
trapped has quit [Quit: Textual IRC Client: www.textualapp.com]
benner has joined #crystal-lang
botandrose has joined #crystal-lang
leafybasil has quit []
<botandrose> how long should it take to build a fresh crystal from source? make has been sitting there with no output for ~20 min. i think something aint right...
<jhass> 20min is a bit long yeah
<jhass> attach an strace?
<jhass> or just ctrl+c and retry I guess
<botandrose> did the latter, trying to figure out how to do the former :) strace -p PID_OF_MAKE?
<botandrose> wait4(-1,
<jhass> hrm
<jhass> what's the resource stats on the process
<botandrose> wait nvm that was strace hitting the make process. all sorts of stuff is going down in the main build process. so i guess its working
<jhass> ?
<jhass> mh, what are you system specs?
<jhass> also release mode or not?
<botandrose> its using about 30% of my cpu
<botandrose> core i7, 8 cores, 16GB RAM, should be good enough
<botandrose> i dunno about release mode? just cloned and ran make
<jhass> granted I have some stuff cached, but make is done in < 90 secs here :/
<botandrose> might be caught in a loop, seeing a fair amount of ENOENTs in the strace
<botandrose> execve("./bin/bash", ["bash", "/home/micah/work/crystal/bin/cry"..., "build", "-o", ".build/crystal", "src/compiler/crystal.cr"], [/* 78 vars */]) = -1 ENOENT (No such file or directory)
<botandrose> for example
<jhass> weird
<jhass> mh, you do have a released crystal installed, right?
<botandrose> yes
<jhass> at the prompt / pwd where you ran make, what does which crystal return?
<jhass> I thought I managed to hack loop detection into bin/crystal but who knows ...
<botandrose> okay, i figured it out
<botandrose> i had ./bin appended to my PATH
<botandrose> removed that, and it built very quickly
<jhass> meh, so much for my loop detection
<botandrose> well, there's an easy way to reproduce, at least. ;)
<botandrose> thanks for your help!
<botandrose> look for a PR from me shortly...
<jhass> cool!
botandrose has quit [Quit: Page closed]
jwaldrip___ has quit [Quit: Be back later ...]
blue_deref has quit [Quit: bbn]
<crystal-gh> [crystal] botandrose opened pull request #1894: Ensure `crystal deps` fails with a non-zero exit code if `shards` does (master...propagate_crystal_deps_exit_status) http://git.io/v4B9b
xd1le has joined #crystal-lang
<crystal-gh> [crystal] jhass pushed 2 new commits to master: http://git.io/v4B5D
<crystal-gh> crystal/master 52e2f35 Jonne Haß: Merge pull request #1894 from botandrose/propagate_crystal_deps_exit_status...
<crystal-gh> crystal/master 0a8ee09 Micah Geisel: ensure crystal deps fails with a nonzero exit code if shards does.
<travis-ci> manastech/crystal#52e2f35 (master - Merge pull request #1894 from botandrose/propagate_crystal_deps_exit_status): The build passed. https://travis-ci.org/manastech/crystal/builds/91510050
<DeBot> https://github.com/manastech/crystal/pull/1894 (Ensure `crystal deps` fails with a non-zero exit code if `shards` does)
olek_poz has quit [Ping timeout: 260 seconds]
Cidan is now known as zz_Cidan
blue_deref has joined #crystal-lang
barosl__ has joined #crystal-lang
barosl_ has quit [Ping timeout: 240 seconds]
jwaldrip___ has joined #crystal-lang
jwaldrip___ has quit [Read error: Connection reset by peer]
endou_ has joined #crystal-lang
manveru_ has joined #crystal-lang
bmcginty_ has joined #crystal-lang
Excurio has joined #crystal-lang
danzilio_ has joined #crystal-lang
omninonsense has joined #crystal-lang
irclogger_______ has quit [Ping timeout: 246 seconds]
danzilio has quit [Ping timeout: 246 seconds]
[spoiler] has quit [Ping timeout: 246 seconds]
manveru has quit [Ping timeout: 246 seconds]
Excureo has quit [Ping timeout: 246 seconds]
bmcginty has quit [Ping timeout: 246 seconds]
endou has quit [Ping timeout: 246 seconds]
irclogger_______ has joined #crystal-lang
danzilio_ is now known as danzilio
manveru_ is now known as manveru
pawnbox has joined #crystal-lang
fowlduck has joined #crystal-lang
avdi_ has joined #crystal-lang
bjmllr has quit [Ping timeout: 250 seconds]
hplar has quit [Ping timeout: 272 seconds]
fowlduck_ has quit [*.net *.split]
avdi has quit [*.net *.split]
guilleiguaran__ has quit [*.net *.split]
victor_lowther has quit [*.net *.split]
mroth has quit [*.net *.split]
toydestroyer has quit [*.net *.split]
avdi_ is now known as avdi
victor_lowther has joined #crystal-lang
mroth has joined #crystal-lang
toydestroyer has joined #crystal-lang
toydestroyer is now known as Guest67018
guilleiguaran__ has joined #crystal-lang
bjmllr has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 264 seconds]
pawnbox has joined #crystal-lang
blue_deref has quit [Quit: bbn]
ponga has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
BlaXpirit has joined #crystal-lang
BlaXpirit_ has joined #crystal-lang
BlaXpirit has quit [Quit: Konversation]
BlaXpirit_ is now known as BlaXpirit
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
A124 has joined #crystal-lang
pawnbox has quit [Ping timeout: 265 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #crystal-lang
ssvb has quit [Ping timeout: 255 seconds]
ssvb has joined #crystal-lang
pawnbox has quit [Read error: Connection reset by peer]
pawnbox_ has joined #crystal-lang
pawnbox_ has quit [Read error: Connection reset by peer]
pawnbox has joined #crystal-lang
ssvb has quit [Ping timeout: 240 seconds]
olek_poz has joined #crystal-lang
ssvb has joined #crystal-lang
<ytti> 'use third person'
<ytti> i.e. 'creates' instead of 'create'
<ytti> why?
<ytti> commit messages prefer imperative present, i've personally used it in documents too
leafybasil has joined #crystal-lang
leafybasil has quit [Remote host closed the connection]
leafybasil has joined #crystal-lang
leafybasil has quit [Read error: Connection reset by peer]
leafybas_ has joined #crystal-lang
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 250 seconds]
pawnbox has joined #crystal-lang
Kendos-Kenlen has joined #crystal-lang
<BlaXpirit> ye that's stupid
ssvb has quit [Ping timeout: 240 seconds]
olek_poz has quit [Ping timeout: 260 seconds]
ssvb has joined #crystal-lang
pawnbox_ has joined #crystal-lang
pawnbox has quit [Ping timeout: 264 seconds]
ssvb has quit [Quit: Leaving]
olek_poz has joined #crystal-lang
xd1le has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
olek_poz has quit [Ping timeout: 260 seconds]
pawnbox_ has quit [Ping timeout: 250 seconds]
pawnbox 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
A124 has quit [Quit: '']
olek_poz has joined #crystal-lang
pawnbox has quit [Ping timeout: 240 seconds]
trapped has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #crystal-lang
Kendos-Kenlen has quit [Quit: Konversation terminated!]
Guest67018 has quit [Remote host closed the connection]
toydestroyer has joined #crystal-lang
fschuindt has joined #crystal-lang
<fschuindt> Hello everyone, I'm so excited about this language haha. Let me see if I got it, it compiles into a binary, right? It's a real binary or it's bytecode? I'm looking for a good compiled language to learn... I'm studyng Go already, but I found Crystal very attractive once I'm a Ruby developer. Is it possible to distribute an comercial closed-source software with it? (Protected source-code) It compiles for
<fschuindt> Windows too or Unix only?
<fschuindt> Sorry to ask here, I can't find those exactly informations in the web
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
leafybasil has joined #crystal-lang
leafybas_ has quit [Read error: Connection reset by peer]
<jhass> fschuindt: it's a "real" binary, yes. Crystal generates LLVM IR and then calls out to LLVM to compile it
<jhass> fschuindt: crystal and its standard library is licensed under Apache-2.0, so that gives you full redistribution rights in any form
<jhass> fschuindt: due to being a LLVM frontend, we get Windows support for free, in theory. However the standard library is as incompatible as it gets and non of the core developers is actively working with windows or towards support, so it's gonna take some time for some fork to be usable to the point that we can merge it into the main repository
<fschuindt> jhass: Thank you very much. I'm willing to help. I'm watching some videos about it in the YouTube to get a better taste of it.
<jhass> see https://github.com/manastech/crystal/issues/26 for the discussions around windows suppor
<jhass> t
<fschuindt> jhass: cool
<fschuindt> I'm not a windows guy, I'm using ArchLinux in a Macbook Air 2012 (no more to spent on Mac hardware upgrades) haha
<fschuindt> But it would be great to my customers
<jhass> also note that the language is going to change a bit https://github.com/manastech/crystal/issues/1824
pawnbox has quit [Ping timeout: 240 seconds]
pawnbox 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
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
<ytti> channel docs seem lacking
<ytti> is there non-blocking 'receive'
<ytti> #receive?
<ytti> according to this - http://crystal-lang.org/api/Channel.html no method to ask if there is something to receive
<ytti> like
<ytti> channel.receive if channel.ready?
<ytti> or
<ytti> while channel.ready?
<ytti> ..
<ytti> end
<jhass> ytti: it has .empty?
<jhass> and .full?
fowlduck has quit [Remote host closed the connection]
<ytti> jhass, ok, didn't see it here http://crystal-lang.org/api/Channel.html
zz_Cidan is now known as Cidan
<jhass> yeah, they're defined on Buffered and Unbuffered only
leafybas_ has joined #crystal-lang
leafybasil has quit [Ping timeout: 240 seconds]
olek_poz has quit [Ping timeout: 260 seconds]
leafybas_ has quit [Remote host closed the connection]
Bofu2U has quit [Ping timeout: 260 seconds]
Bofu2U has joined #crystal-lang
Sadin has joined #crystal-lang
bjmllr has quit [Read error: Connection reset by peer]
Bofu2U has quit [Ping timeout: 244 seconds]
leafybasil has joined #crystal-lang
bjmllr has joined #crystal-lang
olek_poz has joined #crystal-lang
leafybasil has quit [Ping timeout: 260 seconds]
blue_deref has joined #crystal-lang
blue_deref has quit [Remote host closed the connection]
bjmllr has quit [Remote host closed the connection]
Bofu2U has joined #crystal-lang
ponga has quit [Quit: Connection closed for inactivity]
Sadin has quit [Ping timeout: 255 seconds]
bjmllr has joined #crystal-lang
slash_nick is now known as slash_quit
Cidan is now known as zz_Cidan
Bofu2U has quit [Read error: Connection reset by peer]
zz_Cidan is now known as Cidan
Bofu2U has joined #crystal-lang
Bofu2U has quit [Ping timeout: 240 seconds]
Bofu2U has joined #crystal-lang
<Papierkorb> jhass: do you have a really rough eta about the release of crystal 1.0? Less than a year? More?
<jhass> I don't
<jhass> but I don't expect next year
<Papierkorb> k, thanks
<RX14> jhass, about the stdlib and windows, what about cygwin?
<RX14> i wonder if some of the libraries would be available there
<jhass> RX14: I know shit about windows
<RX14> haha same
<jhass> RX14: but I vaguely remember the pain of installing .net and updating it all the time, the fewer dependencies we have on windows the better, dependency management is a royal pain there and cygwin would be a huge one
<RX14> well, it would be a nice workaround
Bofu2U has quit [Max SendQ exceeded]
<RX14> the good thing is we could use it as a base to then gradually port the stdlib
<jhass> there's no real reason for not doing it properly
<RX14> laziness
<RX14> :3
<jhass> anyway, the people actually working on a port should decide that stuff
Bofu2U has joined #crystal-lang
<RX14> well there doesn't seem to be much progrwess
pawnbox has quit [Ping timeout: 276 seconds]
Bofu2U has quit [Ping timeout: 276 seconds]
slash_quit is now known as slash_nick
Sadin has joined #crystal-lang
pawnbox has joined #crystal-lang
yawniek has joined #crystal-lang
Bofu2U has joined #crystal-lang
fowlduck has joined #crystal-lang
Cidan is now known as zz_Cidan
zz_Cidan is now known as Cidan
Bofu2U has quit [Read error: Connection reset by peer]
<omninonsense> is there a way to raise at compile time?
Bofu2U has joined #crystal-lang
<jhass> >> {{raise "foo"}}
<DeBot> jhass: can't expand macro: foo - http://carc.in/#/r/mm2
<omninonsense> ah
Bofu2U has quit [Read error: Connection reset by peer]
slash_nick is now known as slash-nick
slash-nick is now known as slash_nick
Bofu2U has joined #crystal-lang
ssvb has joined #crystal-lang
Bofu2U has quit [Read error: Connection reset by peer]
fdisotto has joined #crystal-lang
Bofu2U has joined #crystal-lang
slash_nick is now known as slash_quit
leafybasil has joined #crystal-lang
leafybasil has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 260 seconds]
leafybasil has joined #crystal-lang
Bofu2U has quit [Read error: Connection reset by peer]
blue_deref has joined #crystal-lang
fdisotto_ has joined #crystal-lang
fdisotto has quit [Ping timeout: 252 seconds]
trapped has quit [Quit: Textual IRC Client: www.textualapp.com]
fdisotto__ has joined #crystal-lang
pawnbox has joined #crystal-lang
fdisotto_ has quit [Ping timeout: 246 seconds]
pawnbox has quit [Ping timeout: 240 seconds]
Cidan is now known as zz_Cidan
zz_Cidan is now known as Cidan