ChanServ changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.22.0 | Fund Crystal's 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
onec has quit []
pduncan has joined #crystal-lang
xaxisx has joined #crystal-lang
xaxisx has quit [Client Quit]
xaxisx has joined #crystal-lang
sz0 has quit [Quit: Connection closed for inactivity]
pduncan has quit [Ping timeout: 255 seconds]
sz0 has joined #crystal-lang
yogg-saron has joined #crystal-lang
yogg-saron has quit [*.net *.split]
sz0 has quit [*.net *.split]
Lex[m]1 has quit [*.net *.split]
thelonelyghost has quit [*.net *.split]
sz0 has joined #crystal-lang
Lex[m]1 has joined #crystal-lang
thelonelyghost has joined #crystal-lang
zipR4ND has joined #crystal-lang
unshadow has joined #crystal-lang
mark_66 has joined #crystal-lang
<crystal-gh> [crystal] akiicat opened pull request #4389: Fix HTTP::Params.parse query string with two '=' (master...master) https://git.io/v9rzZ
<FromGitter> <crisward> For lower traffic sites, does anyone see any down side to building sites without the --release flag? Crystal seems to still be very quick without it, and I'm wondering if the added compile time is worth it. I'm actually considering using non-release mode, then perhaps triggering a release build out of hours to minimise rebuild times during development cycles. Any thoughts?
Raimondii has joined #crystal-lang
Raimondi has quit [Ping timeout: 268 seconds]
Raimondii is now known as Raimondi
A124 has quit [Ping timeout: 258 seconds]
<FromGitter> <deepj> @bew Yes, I’d like to make something similar to Roda in Crystal. It’s also a way how to learn Crystal “dynamic” parts for me
<FromGitter> <deepj> Does `crystal format tool` suppor something like reading from stdin? I’m creating `crystal-fomat` package for Atom and I stuck with this because I'm heavily inspired by `elm-format`.
A124 has joined #crystal-lang
ishahnaz has joined #crystal-lang
<FromGitter> <deepj> Hm, it seems `crystal tool format` doesn’t return proper exit statues and output on STDOUT/STDERR :worried:
ishahnaz has quit [Ping timeout: 264 seconds]
<unshadow> @crisward I wouldn't do it, when in prod use --release, when in dev run without
ishahnaz has joined #crystal-lang
ishahnaz has quit [Client Quit]
<FromGitter> <crisward> <unshadow> Any specific reason?
<FromGitter> <luislavena> @deepj `tool format` modifies a file or directory supplied, doesn't work with stdin/stdout
<unshadow> @crisward I think that at lest for the reason of "Principle of least astonishment" , non release code is not run in production by anone, which means you might step into issues and unexpected behavior which would not happen in release (mem leaks, timeouts, etc..)
splitty_ has quit [Ping timeout: 260 seconds]
Philpax has joined #crystal-lang
<FromGitter> <crisward> <ushadow> All my tests and crystal tests get run without --release. Production mode tends to get set by ENV vars, which I'd set to production. So in the case of crystal I'm not sure this applies.
<FromGitter> <bew> About the `crystal tool format`I agree, it would be great to have options for stdin/out!
<FromGitter> <deepj> @luislavena I’ve tried to modify formatting a given file directly but without proper exit statutes and output STDOUT/STDERR from the command it seems to be an impossible task :(
ishahnaz has joined #crystal-lang
A124 has quit [Ping timeout: 255 seconds]
<FromGitter> <mverzilli> @crisward I don't see any downside to your strategy, especially if performance is not an issue for you. with the current compile times I'd only have a CI system compile with `--release` for me
A124 has joined #crystal-lang
Philpax has quit [Ping timeout: 240 seconds]
Philpax has joined #crystal-lang
splitty_ has joined #crystal-lang
zipR4ND has quit [Read error: Connection reset by peer]
<FromGitter> <crisward> @mverzilli Thanks. As you know, the heroku buildpack I'm uses is building very slow with --release, possibly due to 3.5 llvm (>30 minutes sometimes). Hopefully this will be resolved with the updates to the crystal omnibus build which seems to be on it's way. I don't know if this a general issue, or specific to my setup. If it was just a few minutes I'd be happy to go --release all the time.
Philpax has quit [Ping timeout: 255 seconds]
unshadow has quit [Quit: leaving]
<FromGitter> <greenbigfrog> are there any base58 shards out there? else I'll just make my own
ishahnaz has quit []
<FromGitter> <mverzilli> not that I heard of, but have you checked http://crystalshards.xyz/?
pduncan has joined #crystal-lang
<FromGitter> <greenbigfrog> Wow... I actually had used github search but I didn't find anything. I'll need to check if https://github.com/russ/base58 suits my needs ⏎ ty
mark_66 has quit [Quit: Leaving.]
braidn[m] has quit [Ping timeout: 252 seconds]
krigare[m] has quit [Ping timeout: 252 seconds]
jaitaiwan_ has quit [Ping timeout: 252 seconds]
thelonelyghost has quit [Ping timeout: 252 seconds]
jaitaiwan has joined #crystal-lang
<crystal-gh> [crystal] rockwyc992 opened pull request #4390: Compiler: fixed is_a? transform may cause an exception (master...fix/compiler/IsA_Const_enclosing_call) https://git.io/v9oVW
braidn[m] has joined #crystal-lang
thelonelyghost has joined #crystal-lang
krigare[m] has joined #crystal-lang
wontruefree has joined #crystal-lang
<FromGitter> <pglombardo> Hi all - I could use a hint/pointer on two items if possible: ⏎ ⏎ 1) How can I collect info on platform? (e.g. OS X, Linux, 64 bit etc) ⏎ 2) How can I get the command line of the running process (e.g. ARGV) [https://gitter.im/crystal-lang/crystal?at=59109080c89bb14b5ae159ae]
kodo[m] has quit [Remote host closed the connection]
TheGillies has quit [Remote host closed the connection]
Lex[m]1 has quit [Write error: Connection reset by peer]
MatrixTraveler[m has quit [Write error: Connection reset by peer]
braidn[m] has quit [Read error: Connection reset by peer]
sija[m] has quit [Read error: Connection reset by peer]
thelonelyghost has quit [Read error: Connection reset by peer]
vegai has quit [Read error: Connection reset by peer]
krigare[m] has quit [Ping timeout: 252 seconds]
<FromGitter> <pglombardo> ah just found ARGV/PROGRAM_NAME in docs. 1 down :-)
MatrixTraveler[m has joined #crystal-lang
xaxisx has quit [Quit: Leaving]
xaxisx has joined #crystal-lang
<FromGitter> <pglombardo> Thanks - that works for me
gewo has quit [Ping timeout: 240 seconds]
Lex[m] has joined #crystal-lang
vegai has joined #crystal-lang
thelonelyghost has joined #crystal-lang
braidn[m] has joined #crystal-lang
kodo[m] has joined #crystal-lang
TheGillies has joined #crystal-lang
krigare[m] has joined #crystal-lang
sija[m] has joined #crystal-lang
<FromGitter> <drosehn> hmm. I wonder if it'd be interesting to implement atob/btoa in crystal (which is basically base64). Something else to play with in my copious spare time.
zipR4ND has joined #crystal-lang
<FromGitter> <drosehn> getting back to @crisward 's question: it's certainly reasonable to try and see how much of a performance hit you notice (if any) by running a version compiled without `--release`. One thing I'd suggest is to make sure you're keeping track of when you're running with `--release` vs when you're running without it. It's vaguely possible that you might notice odd behavior with one version that won't happen with the
<FromGitter> ... Those differences would be "bugs", of course, but bugs do happen from time-to-time.
kiliankoe has quit []
kiliankoe has joined #crystal-lang
<zipR4ND> hey all, i'm making some progress on the graphql implementation.. see https://goo.gl/RcJgEz for the api. I have to mark StringTypes with [] because of the bug that doesn't let me check if a generic type responds to a method (resolve in this case ..) otherwise I would use ListType(MyObjectClass) .. also I'm using Module extension to turn ordinary Crystal Classes into GraphQL Object Types whie using module inclusion to define queries ..
<zipR4ND> yeah early criticism prevents me from building on the wrong foundation here ..
<FromGitter> <sdogruyol> Wow
<FromGitter> <sdogruyol> Respect
<zipR4ND> @sdogruyol thxx
<zipR4ND> the macros really help, although I'm afraid they may harm usability in production, because there are still some instabilities & unexpected behaviour ..
Ven has joined #crystal-lang
Ven is now known as Guest99433
<zipR4ND> eg. it seems to matter, where (in which file) I extend a module in a class. for the Character class in the StarWars Schema I would have done it in star_wars_schema.cr but it only worked when I extended in star_wars_data.cr (both define the same classes, the data is just ment to define the domain while the schema defines the fields necessary to interpret it as an object type ...)
<zipR4ND> Error earlier: I have to mark ListTypes with [] not StringTypes ..
LastWhisper____ has joined #crystal-lang
wontruefree has quit [Quit: Is gone... Just plain old gone]
sija has joined #crystal-lang
sija has quit [Client Quit]
Guest99433 has quit [Ping timeout: 260 seconds]
Ven has joined #crystal-lang
Ven is now known as Guest31051
dostoyev1ky has joined #crystal-lang
dostoyev1ky has quit [Client Quit]
dostoyev1ky has joined #crystal-lang
dostoyev1ky has quit [Client Quit]
wontruefree has joined #crystal-lang
Guest31051 has quit [Ping timeout: 245 seconds]
Ven has joined #crystal-lang
Ven is now known as Guest39520
aarongodin has quit []
aarongodin has joined #crystal-lang
dostoyevsky has left #crystal-lang [#crystal-lang]
zipR4ND has quit [Ping timeout: 246 seconds]
wontruefree has quit [Quit: Is gone... Just plain old gone]
dostoyevsky has joined #crystal-lang
dostoyevsky has quit [Client Quit]
dostoyevsky has joined #crystal-lang
Guest39520 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ishahnaz has joined #crystal-lang
wontruefree has joined #crystal-lang
ishahnaz has quit [Ping timeout: 268 seconds]
ishahnaz has joined #crystal-lang
wontruefree has quit [Quit: Is gone... Just plain old gone]
wontruefree has joined #crystal-lang
ishahnaz has quit []
<crystal-gh> [crystal] mverzilli closed pull request #4390: Compiler: fixed is_a? transform may cause an exception (master...fix/compiler/IsA_Const_enclosing_call) https://git.io/v9oVW
wontruefree has quit [Quit: Is gone... Just plain old gone]
wontruefree has joined #crystal-lang
bmcginty has quit [Ping timeout: 264 seconds]
Raimondii has joined #crystal-lang
Raimondi has quit [Ping timeout: 268 seconds]
Raimondii is now known as Raimondi
danzilio has quit []
danzilio has joined #crystal-lang
wontruefree has quit [Quit: Is gone... Just plain old gone]
<FromGitter> <elorest> Has anyone worked on getting macro’s to create formatted code so we don’t have to indent weird within macro blocks/if/else/etc to that the output looks normal?
jandor has joined #crystal-lang
<jandor> привет
ishahnaz has joined #crystal-lang
bmcginty has joined #crystal-lang
<crystal-gh> [crystal] RX14 opened pull request #4392: Remove IO.select (master...remove-io-select) https://git.io/v9K5R
jandor has quit [Ping timeout: 272 seconds]
avdi has quit []
sz0 has quit [Quit: Connection closed for inactivity]
avdi has joined #crystal-lang