greengriminal has quit [Quit: This computer has gone to sleep]
<FromGitter>
<watzon> What's the crystal way to do this `[8216].pack("U")`
<FromGitter>
<watzon> I think that's basically just a codepoint to string
<FromGitter>
<bew> to string or to char?
<FromGitter>
<watzon> Either really
<FromGitter>
<watzon> I guess there is `unsafe_chr`
<FromGitter>
<watzon> Not exactly the same thing though
<FromGitter>
<bew> yes was thinking about that
<FromGitter>
<watzon> Or I guess there's also just `chr`
<FromGitter>
<bew> yes right
<FromGitter>
<jwaldrip> is there a TAR package or shard for Crystal?
<FromGitter>
<bew> no, iirc asterite tried an implementation, then discarded it, and later someone tried to take its work, then I don't know where it is now
sz0 has joined #crystal-lang
qard has joined #crystal-lang
qard_ has joined #crystal-lang
qard_ has quit [Quit: qard_]
qard has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
qard has joined #crystal-lang
qard has quit [Remote host closed the connection]
qard has joined #crystal-lang
qard has quit [Client Quit]
<FromGitter>
<watzon> Ok here's an issue. Apparently the compiler doesn't handle arrays with over 40,000 entries very well during compilation
<FromGitter>
<watzon> Just doing this ⏎ ⏎ ```require "sterile" ⏎ p "šţɽĩɳģ".transliterate``` ⏎ ⏎ combined with `crystal run ./file.cr` freezes my computer. The file will compile if I use compile instead of run, but it takes a good 15 - 20 seconds. [https://gitter.im/crystal-lang/crystal?at=5aa0d5356f8b4b994600e135]
rohitpaulk has joined #crystal-lang
<FromGitter>
<bew> whyyy are you doing this?
<FromGitter>
<vlazar> I've noticed a similar issue with big hashes. Compiling was painfully slow with extra 1.5Gb of RAM consumed.
_whitelogger has joined #crystal-lang
_whitelogger_ has quit [Remote host closed the connection]
<FromGitter>
<watzon> Seems like a compiler issue
<FromGitter>
<watzon> In some cases there really isn't a way around it
<FromGitter>
<bararchy> as in, why isn't this a regular struct declaration? is that a macro or something ?
<FromGitter>
<vlazar> @watzon Yes, your case is more valid, than was mine. I was experimenting with a ways to make a single binary with embedded data. Pre-compiling generated hashes was too slow. Loading in runtime works much better for me.
<FromGitter>
<bew> Seems confidential ^^ good night!
alex`` has quit [Ping timeout: 255 seconds]
shb has joined #crystal-lang
<FromGitter>
<watzon> Is there an issue already for the slow compile times and large RAM usage when compiling massive arrays and hashes?
shb has quit [Client Quit]
alex`` has joined #crystal-lang
Papierkorb has joined #crystal-lang
Papierkorb has left #crystal-lang ["Konversation terminated!"]
duane has joined #crystal-lang
greengriminal has joined #crystal-lang
greengriminal has quit [Ping timeout: 256 seconds]
greengriminal has joined #crystal-lang
return0e_ has quit [Read error: No route to host]
return0e has joined #crystal-lang
alex`` has quit [Quit: WeeChat 2.0.1]
duane has quit [Ping timeout: 268 seconds]
alex`` has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 240 seconds]
alex`` has quit [Client Quit]
maattdd_ has quit [Ping timeout: 240 seconds]
alex`` has joined #crystal-lang
maattdd_ has joined #crystal-lang
duane has joined #crystal-lang
<crystal-gh>
[crystal] codyjb opened pull request #5790: Fixed File.extname edge case for '.' in path with no extension (master...fix/file.extname) https://git.io/vAAEy
rohitpaulk has joined #crystal-lang
<lvmbdv>
is the 0.24.2 release on github legit?
bonemind has quit [Quit: WeeChat 2.0.1]
<FromGitter>
<bajro17> Hi people can anyone help how to deploy my web app to aws
qard has joined #crystal-lang
<crystal-gh>
[crystal] straight-shoota closed pull request #5782: Fix File.extname to handle path with dot in directory name (master...jm/fix/file-extname) https://git.io/vAdSm
<FromGitter>
<straight-shoota> lvmbdv, it's just a tag probably still testing stuff out
<FromGitter>
<bararchy> it seems to be Crystal has a nice traction regarding new projects in github, and it also seems to be that Crystal users don't use StackOverflow very much
maattdd_ has joined #crystal-lang
<FromGitter>
<bararchy> I think most of the support is Here on gitter and Github issues
maattdd_ has quit [Ping timeout: 256 seconds]
maattdd_ has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 256 seconds]
maattdd_ has quit [Ping timeout: 252 seconds]
<wmoxam>
I wouldn't consider asking anything on SO anymore
rohitpaulk has joined #crystal-lang
Ven`` has joined #crystal-lang
<FromGitter>
<bew> Why not?
maattdd_ has joined #crystal-lang
badeball has quit [Remote host closed the connection]
greengriminal has quit [Quit: This computer has gone to sleep]
vikaton has joined #crystal-lang
maattdd_ has joined #crystal-lang
maattdd_ has quit [Ping timeout: 240 seconds]
alex`` has quit [Quit: WeeChat 2.0.1]
badeball has joined #crystal-lang
maattdd_ has joined #crystal-lang
maattdd_ has quit [Ping timeout: 240 seconds]
Ven`` has joined #crystal-lang
duane has quit [Ping timeout: 256 seconds]
<wmoxam>
Why not? It's nearly impossible for newcomers to participate
dragonkh has joined #crystal-lang
<dragonkh>
evening - how do I get this: (64 + 127) / 128 to make 1.4921875 instead of 1 in Crystal?
<FromGitter>
<bew> Use floats
<dragonkh>
ok thanks :)
<FromGitter>
<bew> This way the result will be a float
return0e has quit [Read error: Connection reset by peer]
return0e has joined #crystal-lang
DTZUZO has joined #crystal-lang
maattdd_ has joined #crystal-lang
maattdd_ has quit [Ping timeout: 240 seconds]
Ven`` has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
maattdd_ has joined #crystal-lang
maattdd_ has quit [Ping timeout: 265 seconds]
maattdd_ has joined #crystal-lang
maattdd_ has quit [Ping timeout: 240 seconds]
maattdd_ has joined #crystal-lang
<crystal-gh>
[crystal] RX14 closed pull request #5787: Return early in Time#add_span if arguments are zero (master...jm/feature/time-add-span-early-return) https://git.io/vANea