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
postmodern has joined #crystal-lang
<postmodern> has anyone tried to write C bindings to libruby and try to embed CRuby into Crystal in the same way anyolite/crmrb embeds MRuby into Crystal?
hightower2 has quit [Ping timeout: 240 seconds]
maria_elis has joined #crystal-lang
postmodern has quit [Read error: Connection reset by peer]
ur5us has quit [Ping timeout: 240 seconds]
ur5us has joined #crystal-lang
ur5us has quit [Quit: Leaving]
ur5us has joined #crystal-lang
ur5us has quit [Ping timeout: 240 seconds]
hightower2 has joined #crystal-lang
hightower2 has quit [Ping timeout: 252 seconds]
hightower2 has joined #crystal-lang
<FromGitter> <foxxx0> is there a somewhat practical way to send+receive ICMP echo-request + echo-reply packets in crystal? (apart from forking the `ping` binary which i explicitly want to avoid)
<hightower2> https://shards.info/search?query=ping seems to have something interesting. I didn't check out any of them so don't know if they run `ping` or not.
<hightower2> (well at least one is a real implementation (robacarp's))
<FromGitter> <foxxx0> oh nice, somehow i did not manage to find that one
<FromGitter> <foxxx0> looks exactly like what i was looking for, thanks!
<hightower2> foxxx0 yeah, somehow in practice I found shards.info to give the widest set of results
notzmv has quit [Ping timeout: 240 seconds]
<FromGitter> <testy:kde.org> Welcome from the matrix
<FromGitter> <tenebrousedge> ...tell me, Mr. Anderson, what good is a phone call if you are unable to speak?
<FromGitter> <djberg96> Time to port https://github.com/eitoball/net-ping to crystal?
<mikko> how can I write JSON::Serializable objects inside a more complicated json? example: https://play.crystal-lang.org/#/r/bsho
r0bby has quit [Read error: Connection reset by peer]
r0bby has joined #crystal-lang
notzmv has joined #crystal-lang
<FromGitter> <oz:matrix.org> https://play.crystal-lang.org/#/r/bsi5
<mikko> oh, i was just missing the root object? :D thanks!!
<FromGitter> <Blacksmoke16> i think that's not what you want exactly
<FromGitter> <oz:matrix.org> mikko, yes. You need a root first, otherwise it works. 😄
<mikko> @Blacksmoke16 what do you mean?
<FromGitter> <Blacksmoke16> `json.field "things" { things.to_json json }`
<FromGitter> <Blacksmoke16> oh nvm
<FromGitter> <Blacksmoke16> the other one does the `.to_json` thing for you
<FromGitter> <Blacksmoke16> so you're good ;)
<mikko> ah ok, nice!
notzmv has quit [Ping timeout: 250 seconds]
notzmv has joined #crystal-lang
notzmv has quit [Ping timeout: 248 seconds]
notzmv has joined #crystal-lang
hightower2 has quit [Ping timeout: 252 seconds]
notzmv has quit [Ping timeout: 252 seconds]
hightower2 has joined #crystal-lang
hightower2 has quit [Ping timeout: 252 seconds]
ur5us has joined #crystal-lang
ur5us has quit [Ping timeout: 240 seconds]
ur5us has joined #crystal-lang