ChanServ changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.32.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
<FromGitter> <straight-shoota> @Blacksmoke16 Why not PR + push on master?
<FromGitter> <Blacksmoke16> CI would have to pass in order to merge it, plus it wouldnt really matter since you wouldnt be directly pushing to master
_whitelogger has joined #crystal-lang
<FromGitter> <BenMusch> @straight-shoota Thanks for the reply! Are there initiatives in the compiler that are being worked on right now? E.g. improved error messages, type system, etc.? Or is most of the prod-readiness about the stdlib?
<FromGitter> <Blacksmoke16> https://dev.to/blacksmoke16/creating-a-json-api-with-athena--granite-510i blog post is updated
ur5us has joined #crystal-lang
sagax has quit [Read error: Connection reset by peer]
ur5us has quit [Ping timeout: 256 seconds]
gangstacat has quit [Ping timeout: 272 seconds]
<FromGitter> <ImAHopelessDev_gitlab> @Blacksmoke16 nice, same here but not ts
alex`` has quit [Quit: WeeChat 2.7]
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
blueberrypie has quit [Quit: Ping timeout (120 seconds)]
blueberrypie has joined #crystal-lang
fifr[m] has joined #crystal-lang
<FromGitter> <vladfaust> Excuse me, what does "ICE" means in terms of programming? E.g. "Fixed ICE when trying to add type inside annotation"
<FromGitter> <vladfaust> I can guess it's Internal Compiler Error
_ht has joined #crystal-lang
renich has quit [Ping timeout: 240 seconds]
Human_G33k has quit [Quit: Leaving]
<FromGitter> <grkek> nah
<FromGitter> <grkek> these people live in north regions of earth
<FromGitter> <grkek> the ICE is a slang fore
<FromGitter> <grkek> I skate on some creamy lovely everlasting ice
<FromGitter> <grkek> for*
sagax has joined #crystal-lang
gangstacat has joined #crystal-lang
uu91 has joined #crystal-lang
<FromGitter> <j8r> Anyone knows a very easy to use load testing tool?
<FromGitter> <j8r> I could just use `curl` 😅
alex` has joined #crystal-lang
alex` is now known as Guest26629
<FromGitter> <drum445> siege is quite good
Guest26629 is now known as alex``
<FromGitter> <Blacksmoke16> @j8r wrk
Groogy has joined #crystal-lang
Groogy has quit [Client Quit]
Groogy has joined #crystal-lang
<sorcus> Hi.
<sorcus> Relative symlinks not supported in FileUtils?
<FromGitter> <tenebrousedge> not sure why you would say that
<FromGitter> <tenebrousedge> do you have an example?
<FromGitter> <j8r> one thing is remember is using `FileUtils.cp(_r)` does copy the symlink, but does not follows it to copy the content
<sorcus> tenebrousedge: From ln man page: "-r, --relative create symbolic links relative to link location"
chachasmooth_ has joined #crystal-lang
<FromGitter> <tenebrousedge> Crystal uses LibC `symlink`, but does not implement `symlinkat`http://man7.org/linux/man-pages/man2/symlink.2.html
<FromGitter> <tenebrousedge> so you'll have to use relative paths, or shell out
chachasmooth has quit [Ping timeout: 248 seconds]
<sorcus> Ok, thanks :-)
ht__ has joined #crystal-lang
_ht has quit [Ping timeout: 272 seconds]
ht__ is now known as _ht
_ht has quit [Remote host closed the connection]
_ht has joined #crystal-lang
<FromGitter> <c910335> Is it possible to create a macro variable that can be accessed anywhere in a class?
<FromGitter> <c910335> Without declare a constant
<FromGitter> <c910335> like `@type`
<FromGitter> <j8r> it is possible if it is enclosed by a `{% begin %} {% end %}` block
return0e has quit [Ping timeout: 240 seconds]
martinium has joined #crystal-lang
martinium has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<FromGitter> <manveru> @kinxer awesome, thanks :)
martinium has joined #crystal-lang
return0e has joined #crystal-lang
martinium has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ur5us has joined #crystal-lang
FromGitter has quit [Read error: Connection reset by peer]
FromGitter has joined #crystal-lang
martinium has joined #crystal-lang
martinium has quit [Client Quit]
ur5us has quit [Ping timeout: 240 seconds]
bozanT has joined #crystal-lang
<bozanT> is lucky still being developed?
<FromGitter> <Blacksmoke16> probably, why?
<bozanT> just wondering if i should learn it, i.e. if it has a future
<FromGitter> <Blacksmoke16> prob wouldnt be a bad option, are others ofc depending on what you're trying to do
<FromGitter> <Blacksmoke16> and what approach you prefer
<FromGitter> <watzon> Of course it is haha
<FromGitter> <watzon> Lucky is being very actively developed, and it's development is being sponsored by ThotBot
<bozanT> I know that the creator is busy building a startup or something (which is awesome), but that might impact development
<bozanT> also, is it possible to get compile times down to <1 second?
<FromGitter> <watzon> Well one of the creators I think, Paul, but it's still being very actively developed
<bozanT> yeah it was paul
<FromGitter> <watzon> Compile times is a Crystal issue though. Hopefully we'll be seeing improvements in that area. I know there was a company that wanted to sponsor a developer to work full time on incremental compilation.
<FromGitter> <j8r> I'm experimenting with a simple router, being able to generate Swagger docs
<FromGitter> <watzon> Ooh that's awesome
<FromGitter> <j8r> AFAIK no router generate swagger at the moment :(
<FromGitter> <watzon> Not that I know of, so that could be really nice
<FromGitter> <j8r> *in Crystal
<bozanT> that would be great, i'm using a 5 year old laptop and compile time takes like 10+seconds for any tiny change i do, which is just too long
<FromGitter> <Blacksmoke16> https://github.com/athena-framework/athena/issues/11 was an idea i had a while ago, just needs to be done
<FromGitter> <Blacksmoke16> most of the data can come from the method/annotation etc
<bozanT> I think if it wasn't for this issue i'd probably be using lucky right now
<FromGitter> <j8r> @Blacksmoke16 I've seen this :)
<FromGitter> <Blacksmoke16> ah nice 😉
<FromGitter> <j8r> I'm experimenting using a custom tree based on Hashes instead of Radix
<FromGitter> <j8r> I'm wondering how will be the performance
<FromGitter> <Blacksmoke16> bozanT: not that you can do afaik, it depends on how the underlying framework was created. I.e. a more macro heavy approach would slow down compilation
<FromGitter> <Blacksmoke16> for routing i assume @j8r ?
<FromGitter> <j8r> yes @Blacksmoke16
<FromGitter> <j8r> I will see. Otherwise, I will switch back to the god old Radix
<FromGitter> <Blacksmoke16> would depend on the overhead of a hash lookup versus however radix does it
<FromGitter> <j8r> I've seen radix use Arrays under the ground
<FromGitter> <Blacksmoke16> oh, for what?
<FromGitter> <Blacksmoke16> storing the children of a branch?
<FromGitter> <j8r> yes, to store nodes of nodes
<bozanT> Blacksmoke16: apparently it's just got to do with crystal itself?
<FromGitter> <Blacksmoke16> yes
<FromGitter> <Blacksmoke16> and the framework code
<bozanT> yeah ok
<FromGitter> <Blacksmoke16> (not that im dissing lucky or anything, just is what it is)
<bozanT> does Kemal not have this problem?
<bozanT> or amber or whatever
<FromGitter> <Blacksmoke16> kemal is much less than what amber or lucky is
<FromGitter> <Blacksmoke16> more of just a fancy router
<FromGitter> <j8r> it really depends of the size of the framework
<FromGitter> <j8r> Kemal is quite minimal, so speedy
<bozanT> oh ok, yeah unfair comparison then
<FromGitter> <j8r> Amber is even bigger than Lucky, so slower
<bozanT> what about amber?
<bozanT> ah ok
<FromGitter> <Blacksmoke16> should try out athena 😉
<bozanT> so it's not that lucky is poorly optimized or anyting
<FromGitter> <j8r> what are you aiming for?
<FromGitter> <Blacksmoke16> a more macro heavy approach would also not help compile speeds
<FromGitter> <Blacksmoke16> im not familiar with either lucky or amber's implementation so :shrug:
bozanT has left #crystal-lang [#crystal-lang]
martinium has joined #crystal-lang
<FromGitter> <j8r> I got something working ⏎ ⏎ ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=5e3f4823b612cc7bb156563c]
<FromGitter> <j8r> the path is split by commas