jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.7.6 | 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
zz_Cidan is now known as Cidan
Cidan is now known as zz_Cidan
sailorswift has joined #crystal-lang
jbye has quit [Ping timeout: 272 seconds]
jbye has joined #crystal-lang
kyrylo has joined #crystal-lang
sfcgeorg_ has quit [Quit: Textual IRC Client: www.textualapp.com]
kyrylo has quit [Ping timeout: 260 seconds]
havenwood has joined #crystal-lang
strcmp1 has quit [Quit: Leaving]
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
blue_deref has joined #crystal-lang
havenwood has joined #crystal-lang
blue_deref has quit [Quit: bbn]
sailorswift has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mytrile has joined #crystal-lang
<travis-ci> jalyna/crystal#7c3239e (master - Removed the `alias_method` macro): The build passed. https://travis-ci.org/jalyna/crystal/builds/75704818
mytrile has quit [Client Quit]
<crystal-gh> [crystal] jalyna opened pull request #1183: Add pick and omit for hashes (master...add-hash-omit-pick) http://git.io/v39jy
havenwood has quit [Ping timeout: 260 seconds]
<crystal-gh> [crystal] PragTob opened pull request #1184: Basic spec for Array#push/<< from #1181 (master...spec-array-push) http://git.io/v3HLl
sailorswift has joined #crystal-lang
BlaXpirit has joined #crystal-lang
<crystal-gh> [crystal] PragTob opened pull request #1186: Treat negative arguments in Iterator (master...iterator-negative-arguments) http://git.io/v3H3o
kyrylo has joined #crystal-lang
mandarinkin has joined #crystal-lang
strcmp1 has joined #crystal-lang
rebyn has joined #crystal-lang
<rebyn> Hi everyone, I'm boarding a long flight tomorrow and would like to read the Crystal lang doc & API on the plane. Anyway I could archive them to use offline? Does Crystal have a Dash (OSX) doco package?
<jhass> I'm not aware of any, but if you clone the repo we can build you local docs
<jhass> that is if you git checkout gh-pages after cloning the repo you should have what's available at http://crystal-lang.org/docs/
<jhass> and if you run make doc on the master branch you should have what's available at /api/
<rebyn> @jhass: coolio. thank you!
<jhass> yw
rebyn has quit [Ping timeout: 246 seconds]
sdogruyol has joined #crystal-lang
sdogruyol has quit [Read error: Connection reset by peer]
sdogruyol has joined #crystal-lang
<BlaXpirit> jhass, cloning gh-pages gives u both
sdogruyol has quit [Read error: Connection reset by peer]
<jhass> oh, that contains /api? gotcha
<jhass> never realized
<BlaXpirit> i dont like this gh-pages approach though
<BlaXpirit> bloats the repository so so much
sdogruyol has joined #crystal-lang
strcmp1 has quit [Ping timeout: 246 seconds]
<sdogruyol> hey guys
<jhass> hi
zipR4ND has joined #crystal-lang
<sdogruyol> jhass: how you doing
<jhass> good, finally fixed a bug in carc.in
<sdogruyol> jhass: that's great gj
mandarinkin has left #crystal-lang ["Leaving"]
sailorswift has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sfcgeorge has joined #crystal-lang
<dzv> can i send to a channel inside of a c callback? i get this error: in `chan` was never instantiated (Exception)
<jhass> can you show some more code?
<jhass> sounds like a compiler bug?
sdogruyol has quit [Read error: Connection reset by peer]
<jhass> at least my grep only turns that exception up in the compiler
<jhass> and any exception raised in the compiler is a bug
BlaXpirit has quit [Quit: Konversation]
sdogruyol has joined #crystal-lang
BlaXpirit has joined #crystal-lang
sdogruyol has quit [Read error: Connection reset by peer]
<dzv> not a compiler bug
<dzv> build works fine. it's a runtime error
<dzv> did you want to run this code or just a short example?
<BlaXpirit> >> @size/2
<DeBot> BlaXpirit: Syntax error in eval:4: unexpected token: DELIMITER_START - http://carc.in/#/r/bd6
<BlaXpirit> is there any reason it tries to parse it as regex (?) or is this a bug?
<jhass> dzv: something minimal that reproduces would be nice
<jhass> dzv: any reason to keep it out of the channel?
sdogruyol has joined #crystal-lang
<dzv> i don't follow. keep what out of the channel?
<jhass> you privmsg'ed me the answer
<jhass> so none?
sdogruyol has quit [Read error: Connection reset by peer]
sdogruyol has joined #crystal-lang
zipR4ND has quit [Ping timeout: 240 seconds]
ssvb has joined #crystal-lang
<crystal-gh> [crystal] sergey-kucher opened pull request #1187: Added optional offset for hash each_with_index (master...master) http://git.io/v3Q3q
kulelu88 has joined #crystal-lang
ssvb has quit [Ping timeout: 246 seconds]
havenwood has joined #crystal-lang
strcmp1 has joined #crystal-lang
sleeper_ is now known as sleeper
strcmp1 has quit [Quit: Leaving]
strcmp1 has joined #crystal-lang
ponga has joined #crystal-lang
strcmp1 has quit [Ping timeout: 246 seconds]
ssvb has joined #crystal-lang
strcmp1 has joined #crystal-lang
kulelu88 has quit [Quit: Leaving]
blue_deref has joined #crystal-lang
kyrylo has quit [Ping timeout: 250 seconds]
sailorswift has joined #crystal-lang
ponga has quit [Remote host closed the connection]
blue_deref has quit [Quit: bbn]
sdogruyol has quit []
<crystal-gh> [crystal] porras opened pull request #1189: Basic documentation for OptionParser (master...doc/option-parser) http://git.io/v37Rp
ingsoc has joined #crystal-lang
<ingsoc> anyone using this in production ?
<jhass> some internal tools, carc.in's backend is written in Crystal, DeBot is
<jhass> but it might be a bit early for business critical stuff
<jhass> perfect time for hobby projects and building up the ecosystem though
blue_deref has joined #crystal-lang
BloodyHistory has joined #crystal-lang
strcmp1 has quit [Ping timeout: 240 seconds]
BloodyHistory has quit [Quit: Textual IRC Client: www.textualapp.com]
ingsoc has quit [Quit: Leaving.]
blue_deref has quit [Quit: bbn]
sleeper is now known as sleeper-
sleeper- is now known as sleeper_
<badeball> ingsoc: yed
<badeball> oh, he left
<jhass> that's a yeah? watcha using crystal for?
strcmp1 has joined #crystal-lang
<badeball> jhass: very basic daya transforming, a micro servive
<jhass> nice
<badeball> basically, we are using ruby a lot and decidef to give it a go
<badeball> data transforning* i mean
strcmp1 has quit [Ping timeout: 250 seconds]
<jiriki> nice
<jiriki> I'm really tempted to help you guys
<jiriki> because crystal seems like to language I 'd like to write
<jiriki> but it seems too small and perhaps lack of low-level sw engineering knowledge
blue_deref has joined #crystal-lang
strcmp1 has joined #crystal-lang
<jhass> jiriki: my approach is that I just monkey patch things I'm missing into stdlib that I'm missing while writing a project and afterwards look what makes sense to iron out and upstream
<jhass> but there's also stuff like a lot of docs to be written ;)
<jiriki> :)
havenwood has quit [Ping timeout: 260 seconds]
dbackeus has joined #crystal-lang
kyrylo has joined #crystal-lang
<BlaXpirit> what can i do about this? http://carc.in/#/r/bft
<BlaXpirit> i have to use .not_nil! everywhere, not only in the constructor
<jhass> BlaXpirit: http://carc.in/#/r/bfy
<jhass> no idea what happened with the output
<jhass> mmh, the rendering messes it up
jannis has joined #crystal-lang
<willl> jhass: http://carc.in/#/r/bg2
<jhass> that's expected?
<willl> no, the input is missing too
<willl> look up the real source
<jhass> mmh
<jhass> okay I guess my fix messed things up
<BlaXpirit> jhass, ah, i understand. but the pattern is kinda strange to me
<BlaXpirit> thanks
<jhass> BlaXpirit: agreed, it's one of the cases where the compiler might get smarter still though
NeverDie has joined #crystal-lang
jannis has left #crystal-lang ["Konversation terminated!"]
<sardaukar> working through some specs, now
<sardaukar> is there a way to get instance variables of an object on a spec?
<sardaukar> (other than using getters)
<BlaXpirit> sardaukar, i recently found out that asdf.@var works
<sardaukar> o rly
<sardaukar> I see
<sardaukar> and what about something like "any instance should receive" ?
<sardaukar> not sure if my code is properly structured for "Crystalness", but I have a class that calls a method on its constructor
<sardaukar> (for some parameters)
<sardaukar> and I'd like to write something like: Class.any_instance.should_receive(some_method) ; Class.new
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
<sardaukar> is this possible?
<jhass> sardaukar: no such trickery (at least for now), let it call through or use DPI
<BlaXpirit> sardaukar, no idea what u mean
<sardaukar> jhass: DPI ?
<jhass> dependency injection
<sardaukar> ah ok
<sardaukar> I feel weird having to change my code to test it, though
<jhass> there's https://github.com/waterlink/mocks.cr not sure how well working
<jhass> willl: fixed, thanks for the pointer
<sardaukar> jhass: thanks, will have a look at mocks.cr
dbackeus_ has joined #crystal-lang
dbackeus has quit [Ping timeout: 260 seconds]
kulelu88 has joined #crystal-lang
sfcgeorg_ has joined #crystal-lang
sfcgeorge has quit [Ping timeout: 240 seconds]
dbackeus has joined #crystal-lang
dbackeus_ has quit [Ping timeout: 250 seconds]
dbackeus has quit [Ping timeout: 264 seconds]
BlaXpirit has quit [Quit: Konversation]
kulelu88 has quit [Ping timeout: 272 seconds]
kulelu88 has joined #crystal-lang
sailorswift has quit [Ping timeout: 240 seconds]
Netfeed has joined #crystal-lang
oal has quit [Remote host closed the connection]
waj has joined #crystal-lang
sailorswift has joined #crystal-lang