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
kepler_ has joined #crystal-lang
kepler_ is now known as kepler-Away
kepler-Away is now known as kepler_
Cidan is now known as zz_Cidan
<crystal-gh> [crystal] asterite pushed 1 new commit to master: http://git.io/vlC6w
<crystal-gh> crystal/master f463b9a Ary Borenszweig: Fixed #1850: allow runing file with same name as folder
blue_deref has joined #crystal-lang
<travis-ci> manastech/crystal#f463b9a (master - Fixed #1850: allow runing file with same name as folder): The build passed. https://travis-ci.org/manastech/crystal/builds/88590061
<DeBot> https://github.com/manastech/crystal/issues/1850 (run file with same name as folder)
<jhass> asterite: btw if you do a linting mode for the formatter (report offenses instead of rewriting the file), I could throw up automatic code review easily
trapped has joined #crystal-lang
kepler_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kepler_ has joined #crystal-lang
kepler_ is now known as kepler-Away
kepler-Away is now known as kepler_
kepler_ is now known as kepler-Away
kepler-Away is now known as kepler_
kepler_ is now known as kepler-Away
kepler-Away is now known as kepler_
adler has joined #crystal-lang
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kepler_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
adler has quit [Client Quit]
<crystal-gh> [crystal] asterite pushed 1 new commit to master: http://git.io/vlC9K
<crystal-gh> crystal/master a8e0b68 Ary Borenszweig: Parser: say syntax error if missing argument to `responds_to?`
<crystal-gh> [crystal] asterite opened pull request #1851: Added type restrictions to many collections methods. Fixes #1764 (master...collections_type_restrictions) http://git.io/vlCHn
kepler_ has joined #crystal-lang
buggs has quit [Quit: WeeChat 0.4.2]
NeverDie has joined #crystal-lang
leafybasil has quit [Remote host closed the connection]
kgadek has quit [Quit: gone sleep]
<travis-ci> manastech/crystal#a8e0b68 (master - Parser: say syntax error if missing argument to `responds_to?`): The build passed. https://travis-ci.org/manastech/crystal/builds/88594151
crystal-lang579 has joined #crystal-lang
crystal-lang579 has quit [Ping timeout: 246 seconds]
leafybasil has joined #crystal-lang
leafybasil has quit [Ping timeout: 252 seconds]
[spoiler] has quit [Ping timeout: 256 seconds]
[spoiler] has joined #crystal-lang
pawnbox has joined #crystal-lang
kepler_ is now known as kepler-Away
kepler-Away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kepler_ has joined #crystal-lang
leafybasil has joined #crystal-lang
leafybasil has quit [Ping timeout: 246 seconds]
NeverDie_ has joined #crystal-lang
NeverDie has quit [Ping timeout: 252 seconds]
kepler_ is now known as kepler-Away
kepler-Away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zz_Cidan is now known as Cidan
kepler_ has joined #crystal-lang
kepler_ is now known as kepler-Away
kepler-Away is now known as kepler_
BlaXpirit has joined #crystal-lang
blue_deref has quit [Quit: bbn]
McDougal has joined #crystal-lang
kepler_ is now known as kepler-Away
kepler-Away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Cidan is now known as zz_Cidan
McDougal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
McDougal has joined #crystal-lang
kepler_ has joined #crystal-lang
kepler_ is now known as kepler-Away
kepler-Away is now known as kepler_
kepler_ has quit [Client Quit]
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
McDougal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
McDougal has joined #crystal-lang
leafybasil has joined #crystal-lang
leafybasil has quit [Ping timeout: 264 seconds]
<McDougal> Is Crystal in beta or production ready?
Ven_ has joined #crystal-lang
McDougal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ven_ has quit [Read error: Connection reset by peer]
Ven_ has joined #crystal-lang
tdc has quit [Quit: Bye bye]
leafybasil has joined #crystal-lang
Ven_ has quit [Read error: Connection reset by peer]
Ven_ has joined #crystal-lang
leafybasil has quit [Ping timeout: 246 seconds]
pawnbox has quit [Ping timeout: 252 seconds]
pawnbox_ has joined #crystal-lang
Ven_ has quit [Read error: Connection reset by peer]
Ven_ has joined #crystal-lang
Ven_ has quit [Read error: Connection reset by peer]
Ven_ has joined #crystal-lang
Ven_ has quit [Client Quit]
pawnbox_ has quit [Ping timeout: 255 seconds]
jokke1 has joined #crystal-lang
jokke has quit [Ping timeout: 252 seconds]
pawnbox has joined #crystal-lang
<dzv> jhass: warning for unused variables used in development but error in production. that would allow temporary comments but force people to deal with likely problems in production code
nakilon has joined #crystal-lang
<jhass> "production" == "release mode"?
kgadek has joined #crystal-lang
kgadek has quit [Quit: gone sleep]
<dzv> yes
McDougal has joined #crystal-lang
<jhass> commenting out code to find/isolate some slow code is a valid development style IMO
<dzv> so crystal takes the stance that warnings are ignored and if there's a problem there should be an error instead. is that correct?
<jhass> that's what I gathered and prefer myself too
arcest1 has joined #crystal-lang
arcest1 has quit [Client Quit]
<Papierkorb> dzv: that's not an error.
<Papierkorb> Making it an error for unused arguments would actually be malicious
<Papierkorb> A stern warning, yes, but error, nope, not by default.
nakilon has quit [Ping timeout: 240 seconds]
nakilon has joined #crystal-lang
trapped has joined #crystal-lang
<McDougal> Is Crystal beta or production ready?
<jhass> McDougal: ymmv, I'd still call it beta, it's used for some production things by people nonetheless
<jhass> we're still in everything may break with every release mode
<McDougal> Gotcha, its looking v promising from the code examples I tried. Is it possible to use it as an api server app, or missing some parts?
<McDougal> I see there are a number of frameworks in various stages
<jhass> http://carc.in is essentially a minimal API written in Crystal
<jhass> the frontend is just ember.js
<McDougal> jhass: We need sessions though right for cookie token?
<jhass> using sessions in an API is actually rather rare
<jhass> you resubmit the access token with every request
<jhass> but no, while we have some cookie handling wrappers around HTTP::Request & HTTP::Response, there's no session handling stuff
<jhass> (yet)
<McDougal> So no way to generate a cookie access token at the moment?
<jokke1> jhass: i'm clearly missing something but.. i can't figure out how to get the Time from a unix timestamp
<jhass> >> Time.epoch(123456789)
<DeBot> jhass: # => 1973-11-29 21:33:09 UTC - http://carc.in/#/r/llt
<jokke1> oh
<jokke1> epoch
<jokke1> ok
<jokke1> thanks ;)
<jhass> McDougal: pretty sure Crystal is turing complete, you can do anything
<McDougal> jhass: Btw, what other tech are you trying out?
<jhass> mh
<jhass> ?
<McDougal> I meant what other languages do you code in?
<dzv> papierkorb: i'm not suggesting an unused variable should be an error. i'm suggesting those sorts of potential problems should be reported and a hard stance against warnings allows makes for more errors if the warnings are converted to silence
<jhass> McDougal: what ever gets the job done, a lot of ruby
<McDougal> I'm using a lot of ruby, also looking at go, clojure & elixir. Crystal has a v purist feel to it though.
jokke1 is now known as jokke
nakilon has quit [Ping timeout: 260 seconds]
ponga has joined #crystal-lang
Jesterovskiy has joined #crystal-lang
McDougal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
McDougal has joined #crystal-lang
Jesterovskiy has quit []
Jesterovskiy has joined #crystal-lang
Jesterovskiy has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 260 seconds]
Jesterovskiy has joined #crystal-lang
Jesterovskiy has quit [Client Quit]
pawnbox has joined #crystal-lang
nakilon has joined #crystal-lang
NeverDie_ has quit [Quit: http://radiux.io/ -> Manhattan Project]
barosl has quit [Quit: Leaving]
NeverDie has joined #crystal-lang
zz_Cidan is now known as Cidan
McDougal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
barosl has joined #crystal-lang
McDougal has joined #crystal-lang
kepler_ has joined #crystal-lang
mhib has joined #crystal-lang
kepler_ is now known as kepler-Away
kepler-Away is now known as kepler_
greengriminal has joined #crystal-lang
NeverDie has quit [Quit: http://radiux.io/ -> Manhattan Project]
NeverDie has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
blue_deref has joined #crystal-lang
kepler_ is now known as kepler-Away
kepler-Away is now known as kepler_
kepler_ is now known as kepler-Away
Cidan is now known as zz_Cidan
kepler-Away is now known as kepler_
<pawnbox> Travis CI page http://docs.travis-ci.com/user/languages/crystal/ says it installs deps using `crystal deps` and not shards. Is it bound to be updated?
<pawnbox> Nevermind got it.
<pawnbox> My mistake
McDougal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kepler_ is now known as kepler-Away
<jhass> for anybody else wondering: crystal deps calls shards for now
greengriminal has quit [Read error: Connection reset by peer]
cyjimmy264_ has joined #crystal-lang
ssvb has joined #crystal-lang
cyjimmy264 has quit [Ping timeout: 256 seconds]
Ven_ has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
NeverDie has quit [Quit: http://radiux.io/ -> Manhattan Project]
kepler_ is now known as kepler-Away
NeverDie has joined #crystal-lang
Ven_ has quit [Read error: Connection reset by peer]
kepler-Away is now known as kepler_
Ven_ has joined #crystal-lang
NeverDie has quit [Max SendQ exceeded]
NeverDie has joined #crystal-lang
kepler_ is now known as kepler-Away
kepler-Away is now known as kepler_
Ven_ has quit [Read error: Connection reset by peer]
Ven_ has joined #crystal-lang
kepler_ is now known as kepler-Away
kepler-Away is now known as kepler_
elia has joined #crystal-lang
elia has quit [Client Quit]
kepler_ is now known as kepler-Away
kepler-Away is now known as kepler_
kgadek has joined #crystal-lang
ponga has quit [Quit: Connection closed for inactivity]
leafybasil has joined #crystal-lang
kepler_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
elia has joined #crystal-lang
elia has quit [Ping timeout: 252 seconds]
kgadek_ has joined #crystal-lang
kgadek has quit [Ping timeout: 250 seconds]
leafybasil has quit [Remote host closed the connection]
Ven_ has quit [Read error: Connection reset by peer]
Ven_ has joined #crystal-lang
Ven_ has quit [Read error: Connection reset by peer]
Ven_ has joined #crystal-lang
leafybasil has joined #crystal-lang
McDougal has joined #crystal-lang
Ven_ has quit [Read error: Connection reset by peer]
Ven_ has joined #crystal-lang
McDougal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kgadek has joined #crystal-lang
kgadek_ has quit [Ping timeout: 250 seconds]
Ven_ has quit [Read error: Connection reset by peer]
kgadek_ has joined #crystal-lang
kgadek has quit [Ping timeout: 255 seconds]
Ven_ has joined #crystal-lang
trapped has quit [Ping timeout: 250 seconds]
BlaXpirit has quit [Quit: Konversation]
NeverDie has quit [Quit: http://radiux.io/ -> Manhattan Project]
McDougal has joined #crystal-lang
McDougal has quit [Client Quit]
mhib has quit [Read error: Connection reset by peer]
zz_Cidan is now known as Cidan
NeverDie has joined #crystal-lang
Ven_ has quit [Read error: Connection reset by peer]
Ven_ has joined #crystal-lang
Ven_ has quit [Read error: Connection reset by peer]
Ven_ has joined #crystal-lang
McDougal has joined #crystal-lang
McDougal has quit [Client Quit]
Ven_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
McDougal has joined #crystal-lang
McDougal has quit [Ping timeout: 244 seconds]
hangyas has joined #crystal-lang
hangyas_ is now known as hangyas
tilpner_ is now known as tilpner
ssvb has quit [Ping timeout: 240 seconds]
Raimondi has quit [Read error: Connection reset by peer]
nakilon has quit [Ping timeout: 246 seconds]
ssvb has joined #crystal-lang
Cidan is now known as zz_Cidan
elia has joined #crystal-lang
kgadek_ has quit [Quit: bye]