RX14 changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.27.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
jemc has quit [Ping timeout: 245 seconds]
return0e has quit [Ping timeout: 240 seconds]
return0e has joined #crystal-lang
marmotini_ has joined #crystal-lang
marmotini_ has quit [Ping timeout: 250 seconds]
_whitelogger has joined #crystal-lang
<FromGitter> <Blacksmoke16> https://github.com/Blacksmoke16/athena/releases/tag/v0.3.0 New athena version is out. Bring support for query params and route prefixes
jemc has joined #crystal-lang
jemc has quit [Client Quit]
jemc has joined #crystal-lang
_whitelogger has joined #crystal-lang
DTZUZO has quit [Ping timeout: 250 seconds]
marmotini_ has joined #crystal-lang
moei has joined #crystal-lang
jemc has quit [Ping timeout: 244 seconds]
<FromGitter> <girng> interesting
<FromGitter> <bew> It's pretty cool what you're doing with annotations
<FromGitter> <kingsleyh> Morning
<FromGitter> <girng> morning
<FromGitter> <proyb6> https://github.com/astrojhgu/adaptrapezoid_benchmark This is another benchmark work playing
<FromGitter> <vladfaust> @kingsleyh https://github.com/kingsleyh/crystal-rethinkdb -- is this a fork or your own code?
<FromGitter> <rishavs> @Blacksmoke16 404 on the docs link
<FromGitter> <vladfaust> @rishavs works for me
ashirase has quit [Ping timeout: 245 seconds]
marmotini_ has quit [Ping timeout: 240 seconds]
marmotini_ has joined #crystal-lang
ashirase has joined #crystal-lang
<FromGitter> <vladfaust> No, you're right, https://blacksmoke16.github.io/athena/docs/ leads to 404
Jenz has joined #crystal-lang
<Jenz> Something doesn't seem quite right here: https://play.crystal-lang.org/#/r/66lk
<Jenz> Why doesn't that work?
<Jenz> Nvm, forgot the Signal#trap block was required to take an argument...
<FromGitter> <Blacksmoke16> @vladfaust @rishavs where did you find that link?
<FromGitter> <Blacksmoke16> @bew thanks :)
<FromGitter> <Blacksmoke16> ah
<FromGitter> <Blacksmoke16> ill make that a full url
<FromGitter> <Blacksmoke16> was relative to the readme in github but that directory doesnt exist on GH pages
<FromGitter> <Blacksmoke16> fixed, thanks
ua has quit [Ping timeout: 250 seconds]
Jenz has quit [Ping timeout: 250 seconds]
<FromGitter> <j8r> How can I execute a command (`Process`) as an uid/gid?
ua has joined #crystal-lang
_whitelogger has joined #crystal-lang
<FromGitter> <proyb6> Which signal does shutdown correctly and not close immediately? I don't see it waiting for ```sleep 3.seconds``` to countdown before it shutdown the program. ⏎ ⏎ ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=5c5ae6347b68f941027ef844]
fanta7531 has joined #crystal-lang
jemc has joined #crystal-lang
jemc has quit [Client Quit]
marmotini_ has quit [Ping timeout: 240 seconds]
marmotini_ has joined #crystal-lang
<FromGitter> <mavu> ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=5c5b050ac2dba5382eef47b0]
<FromGitter> <mavu> i use this @proyb6 ⏎ And I think you can leave the .seconds off because sleep defaults to seconds.
ua has quit [Ping timeout: 250 seconds]
<FromGitter> <proyb6> @mavu I'm not sure if the sleep is broken? It close immediately when I press Ctl+C to close one of the 4 processes
<FromGitter> <proyb6> But it did shown "Signal INT, closing server in 3s"
<FromGitter> <proyb6> It should be wait for 3s?
ua has joined #crystal-lang
marmotini_ has quit [Ping timeout: 272 seconds]
fanta7531 has quit [Quit: fanta7531]
<FromGitter> <bew> @proyb6 weird, using the following: ⏎ ⏎ ```code paste, see link``` ⏎ ⏎ It works, but it never actually exits the program.. [https://gitter.im/crystal-lang/crystal?at=5c5b13081b62f12650b20bff]
<FromGitter> <bew> ah that's because of the `sleep` (without duration)
<FromGitter> <bew> no it's completely normal, I never told it to exit the program
rohitpaulk has joined #crystal-lang
<FromGitter> <bew> adding a `exit 1` at the end of the signal trap works as expected for me
<FromGitter> <bew> but keep in mind that doing a sleep inside the trap handler will switch (resume) to another fiber while waiting for the N seconds you told it to wait, and it will 'eventually' come back to your trap fiber when the other fiber that was resumed waits
<FromGitter> <talbergs> Hello, is there a way to invalidate ALL the cache made by `crystal run ./app.cr` ?
<FromGitter> <talbergs> because, when I do refactoring- gradual compile sometimes messes up.
marmotini_ has joined #crystal-lang
<FromGitter> <talbergs> Ok, nvm - missed a DOT[.] this time while "require"
<FromGitter> <talbergs> :d
rohitpaulk has quit [Ping timeout: 240 seconds]
fanta7531 has joined #crystal-lang
marmotini_ has quit [Remote host closed the connection]
marmotini_ has joined #crystal-lang
marmotini_ has quit [Ping timeout: 245 seconds]
marmotini_ has joined #crystal-lang
marmotini_ has quit [Ping timeout: 246 seconds]
rohitpaulk has joined #crystal-lang
fanta7531 has quit [Quit: fanta7531]
Kero has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 250 seconds]
<FromGitter> <kingsleyh> @vladfaust crystal-rethinkdb is a fork of one project merged with another
<FromGitter> <kingsleyh> I took the original cubos rethinkdb and added user authentication and made some fixes - unfortunately none of the other rethinkdb projects are being maintained
<FromGitter> <vladfaust> You should mention the original author in the license
<FromGitter> <vladfaust> If you have a substantial amount of their code
jemc has joined #crystal-lang
<livcd> what happened to the immix gc ?
virkony has quit [Quit: re-boot trainings]
<FromGitter> <kingsleyh> @vladfaust I mention them in the README etc but I'll add them to the license as well
<FromGitter> <wcpines> is there a way to simply return an element using the crystal block shorthand?
<FromGitter> <wcpines> Sort of like `something { |x| x} `
<FromGitter> <Blacksmoke16> not sure what you mean?
<FromGitter> <Blacksmoke16> https://play.crystal-lang.org/#/r/66ur like that?
<oprypin> wcpines, `[1,2,3].map &.itself`
<FromGitter> <iambudi> is there something like string to symbol?
<FromGitter> <iambudi> {:one, :two, :three}.includes? :”one” works, but if i replace :”one” from string variable it does not. :”#{var}"
<FromGitter> <wcpines> @oprypin thank you!