ChanServ changed the topic of #crystal-lang to: The Crystal programming language | https://crystal-lang.org | 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
HumanG33k has joined #crystal-lang
adam12 has quit [Quit: Ping timeout (120 seconds)]
adam12 has joined #crystal-lang
ur5us has quit [Ping timeout: 264 seconds]
sagax has joined #crystal-lang
riza has quit [*.net *.split]
DeBot has quit [*.net *.split]
xybre has quit [*.net *.split]
DeBot has joined #crystal-lang
riza has joined #crystal-lang
xybre has joined #crystal-lang
fifr has quit [*.net *.split]
mattt2 has quit [*.net *.split]
mattt2 has joined #crystal-lang
fifr has joined #crystal-lang
sagax has quit [Read error: Connection reset by peer]
sagax has joined #crystal-lang
taupiqueur has joined #crystal-lang
hightower2 has joined #crystal-lang
taupiqueur has quit [Ping timeout: 268 seconds]
notzmv has quit [Ping timeout: 245 seconds]
raz has quit [Ping timeout: 256 seconds]
raz has joined #crystal-lang
raz has quit [Changing host]
raz has joined #crystal-lang
taupiqueur has joined #crystal-lang
<FromGitter> <jrei:matrix.org> JSON.parse and symbols, meh :/. Just a prototype for now, right?
raz has quit [Quit: *fump*]
raz has joined #crystal-lang
raz has quit [Changing host]
raz has joined #crystal-lang
<SamantazFox> Hello! How can I measure/profile crystal programs
<FromGitter> <seanchristophergregory_gitlab> it's a proof of concept, so yeah a prototype. Whatcha mean by JSON.parse and symbols?
<SamantazFox> (I need both at runtime and during compilation, to get why it takes 16 minutes on `Codegen (bc+obj)`)
<SamantazFox> (`--verbose` doesn't print anything more that `--stats --progress` ecept for the final link)er command
notzmv has joined #crystal-lang
hightower2 has quit [Ping timeout: 265 seconds]
taupiqueur has quit [Ping timeout: 250 seconds]
HumanG33k has quit [Quit: WeeChat 3.0]
HumanG33k has joined #crystal-lang
DeBot has quit [Quit: Crystal IRC]
straight-shoota has quit [Quit: ZNC 1.8.2 - https://znc.in]
jhass|off has quit [Quit: Bye]
DeBot has joined #crystal-lang
jhass has joined #crystal-lang
taupiqueur has joined #crystal-lang
straight-shoota has joined #crystal-lang
hightower2 has joined #crystal-lang
<FromGitter> <dscottboggs:matrix.org> what's the best way to check if a hostname resolves to an IP in Crystal?
<FromGitter> <paulocoghi> @dscottboggs:matrix.org One possibility is this shard: https://gitlab.com/jgillich/crystal-dns
<FromGitter> <jrei:matrix.org> Better avoid using them if possible, generally
<FromGitter> <jrei:matrix.org> Strings instead of symbols, and static objects instead of JSON::Any
<FromGitter> <Blacksmoke16> or Enum, depending on the context
greenbigfrog has quit [Ping timeout: 268 seconds]
greenbigfrog has joined #crystal-lang
<FromGitter> <seanchristophergregory_gitlab> oh for sure. I actually haven't heard an argument against symbols yet. are you speaking to the podman client or the app itself. Both are very poc, but I'd like to formalize them correctly. Most of the work done in the podman client was building models that were JSON::Serializable.
<FromGitter> <Dan-Do> It seems this line is incorrect, isn't it?
<FromGitter> <Dan-Do> `XXH3_64bits_withSeed(const void* data, size_t len, XXH64_hash_t seed)`
<FromGitter> <Dan-Do> I think we have to convert the string to slice of bytes
<FromGitter> <Blacksmoke16> im pretty sure it should use `.bytesize` instead of `.size`
<FromGitter> <Blacksmoke16> but you can just pass the string since crystal will automatically call its `#to_unsafe` method
<FromGitter> <Dan-Do> Thanks, just know that :)
taupiqueur has quit [Ping timeout: 265 seconds]
taupiqueur has joined #crystal-lang
* FromGitter * dscottboggs:matrix.org thinks he broke the compiler again
ur5us has joined #crystal-lang
<FromGitter> <dscottboggs:matrix.org> realized a compilation had been taking 20 minutes and cancelled it...project has been taking ~1 minute to compile until that. Been running with `--verbose --progress --stats` for ~10 minutes, stuck at the codegen step
<FromGitter> <dscottboggs:matrix.org> any way to get more info on what's happening where it's stuck?
<xyhuvud> how much did the other steps take?
<FromGitter> <jrei:matrix.org> Do you use StaticArrays? 😄
taupiqueur has quit [Ping timeout: 260 seconds]
sagax has quit [Excess Flood]
<FromGitter> <dscottboggs:matrix.org> less than a second each.
<FromGitter> <dscottboggs:matrix.org> no
<FromGitter> <dscottboggs:matrix.org> I've had it running since around 3:15PM EST and it's still going
<FromGitter> <dscottboggs:matrix.org> why am I so damn good at breaking things 😞