<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]
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>
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]