RX14 changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.26.1 | Fund Crystal's development: http://is.gd/X7PRtI | GH: https://github.com/crystal-lang/crystal | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Gitter: https://gitter.im/crystal-lang/crystal
DTZUZO has joined #crystal-lang
wontruefree has quit [Ping timeout: 245 seconds]
gumbysspleen has joined #crystal-lang
gumbysspleen has quit [Client Quit]
_whitelogger has joined #crystal-lang
GoldenBear has quit [Ping timeout: 252 seconds]
DTZUZU has joined #crystal-lang
GoldenBear has joined #crystal-lang
rohitpaulk has joined #crystal-lang
<FromGitter> <newtonapple> Is there a better way to define generic types without tying them to a class or a module?
<FromGitter> <newtonapple> For example: ⏎ ⏎ ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=5b98903731a5505e0c766fbe]
<FromGitter> <newtonapple> it's not very nice to have to keep repeating the types K1,V1...
<FromGitter> <newtonapple> Furthermore, I think they are only relevant to the individual properties (params1 & params2), it feels a little odd to force the types at the class level.
<FromGitter> <newtonapple> I think something along this line makes more sense? ⏎ ⏎ ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=5b989186488f837cbcd2ab5a]
<FromGitter> <newtonapple> What do you guys think?
<FromGitter> <newtonapple> You can currently do this with methods, but not properties.
<FromGitter> <newtonapple> Maybe there is already a way to do this that I'm not aware of?
dancrew32 has joined #crystal-lang
dancrew32 has quit [Remote host closed the connection]
dancrew32 has joined #crystal-lang
<dancrew32> brew install crystal taking quite a while (>30 mins): https://paste.pound-python.org/raw/agdDou8j8PgF8Ojm6X7u/ Any ideas?
moei has quit [Ping timeout: 244 seconds]
rohitpaulk has quit [Ping timeout: 245 seconds]
rohitpaulk has joined #crystal-lang
<dancrew32> oh lol. because it is `brew install crystal-lang` :facepalm: have a good one!
dancrew32 has quit []
DTZUZO has quit [Ping timeout: 245 seconds]
<FromGitter> <bew> dancrew32 it's the same
<FromGitter> <bew> @newtonapple no way to do that, no
<FromGitter> <newtonapple> Ok
Raimondii has joined #crystal-lang
Raimondi has quit [Ping timeout: 260 seconds]
Raimondii is now known as Raimondi
jokke__ has quit [Quit: WeeChat 2.0.1]
moei has joined #crystal-lang
jokke1 has joined #crystal-lang
lvmbdv has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 272 seconds]
rohitpaulk has joined #crystal-lang
lvmbdv has quit [Quit: WeeChat 2.2]
JesseH has joined #crystal-lang
<JesseH> How do I access ENV from an ECR template?
ashirase has quit [Ping timeout: 252 seconds]
<FromGitter> <straight-shoota> JesseH: `ENV["myenvvar"]`?
ashirase has joined #crystal-lang
<JesseH> I'm silly. I used parentheses instead of brackets and it was confusing. Hard to notice sometimes as I skim over errors pretty fast by habit. Thanks, FromGitter!
<FromGitter> JesseH, I'm a bot, *bleep, bloop*. I relay messages between here and https://gitter.im/crystal-lang/crystal
<JesseH> I mean straight-shoota*
<livcd> looks like truffleruby wont support Windows anytime soon
rohitpaulk has quit [Ping timeout: 252 seconds]
<FromGitter> <drum445> Thanks for fixing this issue guys: https://github.com/crystal-lang/crystal/issues/6405
thews has quit [Ping timeout: 240 seconds]
thews has joined #crystal-lang
ua_ has joined #crystal-lang
ua has quit [Ping timeout: 252 seconds]
DTZUZO has joined #crystal-lang
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 246 seconds]
shalmezad has joined #crystal-lang
<FromGitter> <epergo> what do you folks think about having mandatory type declaration in class attributes? (instance variables macros)
<FromGitter> <epergo> I mean, why should this ⏎ ⏎ ```property my_property``` ⏎ ⏎ be allowed, if later you have to specify it somewhere? like initialize params [https://gitter.im/crystal-lang/crystal?at=5b9911261e2b442a25ff4dab]
<FromGitter> <epergo> shouldn't be better to have mandatory types in `property` , `getter`, etc? that way we could remove a bit (just a bit) of code from object macros, parser and hopefully resolve types of instance variables a bit sooner
<FromGitter> <epergo> I was reading https://github.com/crystal-lang/crystal/issues/4864 and I think this should be revisited and just remove some features for better maintainability/performance of the compiler
<FromGitter> <epergo> as always my 2cents
<FromGitter> <bararchy> Wooooot https://github.com/ysbaddaden/muco
<FromGitter> <j8r> this remind me Go
<FromGitter> <j8r> @epergo the response is on the issue you posted, the types are mandatory now because else it was leading to poor performance
<FromGitter> <j8r> because type inference isn't free, there is some copy for all available types something in this essence, don't know the exact details
<FromGitter> <bararchy> yeha @j8r, it's the same idea i guess, now let's see if this can be used in Crystal ;)
shalmezad has quit [Quit: Leaving]
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 252 seconds]
<FromGitter> <kolyaio> .Hey! ⏎ ⏎ I'm trying to install sentry but during the installation it prints out the following error. ⏎ ⏎ It's seems like some compiling error. ... [https://gitter.im/crystal-lang/crystal?at=5b992c22a04db554a715e73e]
druonysus has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Groogy has quit [Read error: Connection reset by peer]
<FromGitter> <bew> Do you have the same error without using --release ?
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 252 seconds]
wontruefree has joined #crystal-lang
rohitpaulk has joined #crystal-lang
DTZUZO has quit [Ping timeout: 246 seconds]
rohitpaulk has quit [Ping timeout: 272 seconds]
baweaver is now known as baweaver_away
<FromGitter> <mikejohnduran> Hey everyone, are there currently any better resources/documentations for Crystal? Ideally, I am looking for a list of all Crystal methods, something such as this ruby command in the terminal ( "strings".methods or Integer.methods)
<FromGitter> <bew> There's the api documentation online
<FromGitter> <mikejohnduran> Thank you, I'll take a look at it. So far it seems to have the information I am looking for
<FromGitter> <kolyaio> @bew ⏎ Sorry it should be like that the 2nd error: ⏎ ⏎ ```bash $ crystal build --release dev/sentry_cli.cr -o ./sentry ``` ⏎ ... [https://gitter.im/crystal-lang/crystal?at=5b9959cb7189ae6fddb5b1ab]
<FromGitter> <fridgerator> is it the LLVM version?
<FromGitter> <chunkbin> Is there a debugger available for Crystal yet?
<FromGitter> <Grabli66> Hi! Anyone know how to set output path for target in shards.yml?
<FromGitter> <r00ster91> Can I call it a bug when I always get this warning: ⏎ ⏎ ```code paste, see link``` ⏎ ⏎ even if I'm not doing any GC stuff myself in my code? [https://gitter.im/crystal-lang/crystal?at=5b996329a56b215c972adb50]
lvmbdv has joined #crystal-lang
<FromGitter> <r00ster91> Never mind I figured it out
<FromGitter> <bararchy> @r00ster91 it's just a GC warning, try and do less alocations, or, just ignore this message if it doesn't make sense
<FromGitter> <bararchy> it does it alot when you use stuff like ⏎ ⏎ ```.each do |ex| ⏎ array << object ⏎ end ⏎ ``` [https://gitter.im/crystal-lang/crystal?at=5b996af8fcba1254faa7a5a1]
<FromGitter> <bararchy> etc..
JesseH has quit [Remote host closed the connection]
<FromGitter> <vladfaust> Not sure if a bug. https://carc.in/#/r/4ych compiles, but https://carc.in/#/r/4yci does not
<robacarp> that's not a bug. the two macro blocks each have their own scope, so macro varables aren't shared. Wrapping them in begin/end blocks is the right way around that.
wontruefree has quit [Quit: bye]
wontruefree has joined #crystal-lang
Groogy1 has quit [Ping timeout: 272 seconds]
<FromGitter> <vladfaust> alright
baweaver_away is now known as baweaver
DTZUZO has joined #crystal-lang
<FromGitter> <jwoertink> What's the sentiment on housekeeping like on this PR? https://github.com/crystal-lang/crystal/pull/4056 I don't want to be that annoying guy pinging everyone "hey, did you forget about this?" However, maybe they forgot about that lol
<FromGitter> <jwoertink> There's some old issues requesting changes, or some that are approved, but old. Is there anyone that goes back through these old issues to see if those requested changes can still be made or else close the PR?
lvmbdv has quit [Ping timeout: 252 seconds]
DTZUZO has quit [Ping timeout: 240 seconds]
DTZUZO has joined #crystal-lang
dostoyevsky has quit [Read error: Connection reset by peer]
dostoyevsky has joined #crystal-lang
dostoyevsky has quit [Quit: leaving]
dostoyevsky has joined #crystal-lang