jhass changed the topic of #crystal-lang to: The Crystal programming language | https://crystal-lang.org | Crystal 0.35.1 | Fund Crystal's development: https://crystal-lang.org/sponsors | GH: https://github.com/crystal-lang/crystal | Docs: https://crystal-lang.org/docs | Gitter: https://gitter.im/crystal-lang/crystal
sz0 has quit [Ping timeout: 272 seconds]
r0bby has quit [Ping timeout: 272 seconds]
r0bby has joined #crystal-lang
sz0 has joined #crystal-lang
<FromGitter> <watzon> @oprypin:matrix.org what are the advantages of using that over using the crystallang/crystal container?
<FromGitter> <Blacksmoke16> it can install on windows & is independent of the OS/image currently used by the official images
<FromGitter> <oprypin:matrix.org> @watzon: https://forum.crystal-lang.org/t//2837
<FromGitter> <watzon> Ahh awesome. I like. I'll switch my projects over.
<FromGitter> <watzon> Speaking of Windows, anyone know what it's like to use Crystal on Windows natively right now?
<FromGitter> <watzon> Have we gotten anywhere?
<oprypin> watzon, ye it works, just cant use stdlib networking or any long-running IO
<FromGitter> <watzon> Does concurrency function?
<oprypin> typically not
<oprypin> all of https://github.com/oprypin/crystal-imgui-sfml works tho ᕕ( ᐛ )ᕗ and i have a cool abandoned game prototype working just fine
f1refly has joined #crystal-lang
f1reflyylmao has quit [Ping timeout: 272 seconds]
avane has quit [Quit: ZNC - https://znc.in]
avane has joined #crystal-lang
chachasmooth has quit [Ping timeout: 272 seconds]
chachasmooth has joined #crystal-lang
<FromGitter> <mattrberry> @watzon Any chance you know how to interpret massif output? I'm not sure exactly what I'm looking at haha :p https://pastebin.com/raw/9rTHYhuM
<FromGitter> <watzon> Not really @mattrberry lol. That's why I suggest using massif-visualizer if you're on Linux.
<FromGitter> <watzon> The world could use a web based visualizer, but I know a lot of people don't even know about massif
postmodern has quit [Quit: Leaving]
Volk has joined #crystal-lang
r0bby has quit [Ping timeout: 265 seconds]
r0bby has joined #crystal-lang
DTZUZU__ is now known as DTZUZU
<FromGitter> <grkek> what the fuck is massif
Volk has quit [Quit: See you next time!]
_whitelogger has joined #crystal-lang
_ht has joined #crystal-lang
<FromGitter> <gunn> Can anyone help me get crystal working?
<FromGitter> <gunn> I installed it on mac with `brew install crystal`
<FromGitter> <gunn> `crystal -v` works fine and tells me I have 0.35.1 on LLVM: 9.0.1
<FromGitter> <gunn> But actually trying to use it fails like so:
<FromGitter> <gunn> ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=600e7903dfdbc1437fae9366]
<FromGitter> <gunn> :(
deavmi has quit [Ping timeout: 265 seconds]
deavmi has joined #crystal-lang
deavmi has quit [Ping timeout: 265 seconds]
deavmi has joined #crystal-lang
deavmi has quit [Ping timeout: 265 seconds]
deavmi has joined #crystal-lang
deavmi has quit [Ping timeout: 265 seconds]
deavmi has joined #crystal-lang
deavmi has quit [Ping timeout: 265 seconds]
deavmi has joined #crystal-lang
ua has quit [Ping timeout: 260 seconds]
sagax has quit [Quit: Konversation terminated!]
skrzyp has joined #crystal-lang
ua has joined #crystal-lang
Flipez has joined #crystal-lang
Flipez8 has quit [Read error: Connection reset by peer]
coderobe7 has joined #crystal-lang
early has quit [Ping timeout: 260 seconds]
coderobe has quit [Ping timeout: 260 seconds]
coderobe7 is now known as coderobe
early has joined #crystal-lang
sagax has joined #crystal-lang
sorcus has quit [Quit: WeeChat 3.0]
sorcus has joined #crystal-lang
<raz> gunn: not sure what's up with that (i think it normally work). but fwiw, i prefer `asdf` to manage crystal versions for me. `brew install asdf`, `asdf plugin add crystal`, `asdf install crystal 0.35.1`
<raz> (it can also manage ruby, node and a million other things - it's handy to have one tool for all)
<FromGitter> <Blacksmoke16> Try clearing cache
avane has quit [Ping timeout: 246 seconds]
avane has joined #crystal-lang
ua has quit [Ping timeout: 265 seconds]
ua has joined #crystal-lang
sorcus has quit [Ping timeout: 265 seconds]
sorcus has joined #crystal-lang
duane has quit [Ping timeout: 264 seconds]
duane has joined #crystal-lang
sorcus has quit [Quit: WeeChat 3.0]
teardown has joined #crystal-lang
deavmi has quit [Ping timeout: 272 seconds]
teardown_ has joined #crystal-lang
teardown_ has quit [Remote host closed the connection]
teardown has quit [Ping timeout: 268 seconds]
teardown has joined #crystal-lang
deavmi has joined #crystal-lang
_ht has quit [Remote host closed the connection]
deavmi has quit [Ping timeout: 240 seconds]
teardown_ has joined #crystal-lang
deavmi has joined #crystal-lang
teardown has quit [Ping timeout: 268 seconds]
deavmi has quit [Ping timeout: 272 seconds]
teardown has joined #crystal-lang
deavmi has joined #crystal-lang
teardown_ has quit [Ping timeout: 268 seconds]
teardown_ has joined #crystal-lang
melthelesbian has quit [Ping timeout: 264 seconds]
melthelesbian_ has joined #crystal-lang
deavmi has quit [Ping timeout: 272 seconds]
teardown has quit [Ping timeout: 268 seconds]
teardown_ has quit [Ping timeout: 268 seconds]
teardown has joined #crystal-lang
deavmi has joined #crystal-lang
deavmi has quit [Ping timeout: 240 seconds]
teardown_ has joined #crystal-lang
teardown has quit [Ping timeout: 268 seconds]
deavmi has joined #crystal-lang
sorcus has joined #crystal-lang
deavmi has quit [Ping timeout: 272 seconds]
teardown has joined #crystal-lang
teardown_ has quit [Ping timeout: 268 seconds]
teardown_ has joined #crystal-lang
deavmi has joined #crystal-lang
teardown has quit [Ping timeout: 268 seconds]
teardown has joined #crystal-lang
teardown_ has quit [Ping timeout: 268 seconds]
teardown_ has joined #crystal-lang
teardown has quit [Ping timeout: 268 seconds]
teardown has joined #crystal-lang
teardown_ has quit [Ping timeout: 268 seconds]
teardown_ has joined #crystal-lang
teardown has quit [Ping timeout: 268 seconds]
teardown has joined #crystal-lang
teardown_ has quit [Ping timeout: 268 seconds]
teardown_ has joined #crystal-lang
teardown has quit [Ping timeout: 268 seconds]
<FromGitter> <jrei:matrix.org> Too bad, this does not work`StaticArray(User?, 4_u8)`
<FromGitter> <jrei:matrix.org> I mean: `StaticArray(User?, 4).new { nil }`
teardown has joined #crystal-lang
teardown_ has quit [Ping timeout: 268 seconds]
teardown_ has joined #crystal-lang
teardown has quit [Ping timeout: 268 seconds]
teardown has joined #crystal-lang
teardown_ has quit [Ping timeout: 268 seconds]
<FromGitter> <Blacksmoke16> what doesnt work about it?
<FromGitter> <jrei:matrix.org> > In /usr/share/crystal/src/static_array.cr:68:28 ⏎ ⏎ 68 | array.to_unsafe[i] = yield i ⏎ ⏎ ``` ^``` ... [https://gitter.im/crystal-lang/crystal?at=600f58cea2354e44aca99b06]
<FromGitter> <Blacksmoke16> The latter one works tho
<FromGitter> <jrei:matrix.org> Opp missed the `4_u8`
<FromGitter> <jrei:matrix.org> Oops
<FromGitter> <jrei:matrix.org> anyway I changed to regular `Array(User).new 4`
<FromGitter> <Blacksmoke16> What's the use case? That value just represents the size
<FromGitter> <Blacksmoke16> Wouldn't a tuple be better?
<FromGitter> <jrei:matrix.org> no, it needs to be mutable
<FromGitter> <jrei:matrix.org> Anyway I found a workaround
<FromGitter> <jrei:matrix.org> and I did got an issue of StaticArray being a struct too
<FromGitter> <Blacksmoke16> Ahh, was thinking static array was immutable
teardown_ has joined #crystal-lang
<FromGitter> <Blacksmoke16> Can't just use a non u8?
<FromGitter> <jrei:matrix.org> yeah, I then use `to_u8`
<FromGitter> <Blacksmoke16> Or just call .to_i on the u8
<FromGitter> <jrei:matrix.org> ?
<FromGitter> <jrei:matrix.org> better just writing `4` then
<FromGitter> <Blacksmoke16> Right
teardown has quit [Ping timeout: 268 seconds]