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
Sankalp- has joined #crystal-lang
Sankalp has quit [Ping timeout: 250 seconds]
Sankalp- is now known as Sankalp
ur5us has quit [Ping timeout: 264 seconds]
ur5us has joined #crystal-lang
ur5us has quit [Ping timeout: 246 seconds]
ur5us has joined #crystal-lang
walez has joined #crystal-lang
lanodan has joined #crystal-lang
oprypin has quit [Ping timeout: 246 seconds]
ur5us has quit [Ping timeout: 260 seconds]
Sankalp has quit [Ping timeout: 268 seconds]
Sankalp has joined #crystal-lang
oprypin has joined #crystal-lang
oprypin has quit [Ping timeout: 264 seconds]
oprypin_ has joined #crystal-lang
repo has joined #crystal-lang
<repo> hi o/
<repo> i wanted to make sure i'm not missing something but is it currently not possible to do public key cryptography with crystal's standard lib?
sagax has quit [Remote host closed the connection]
jhass[m] has quit [Quit: Bridge terminating on SIGTERM]
jhass[m] has joined #crystal-lang
<FromGitter> <moe:busyloop.net> @repomaa: i don't think so, but there is the wonderful https://github.com/didactic-drunk/sodium.cr
<FromGitter> <moe:busyloop.net> woops, auto-complete fail (sorry other guy who i pinged by accident 😓)
<repo> thanks!
<repo> that's fine, i'm also @repomaa :D
<repo> it's my github handle
sagax has joined #crystal-lang
<FromGitter> <moe:busyloop.net> ah, hehe
oprypin_ has quit [Ping timeout: 268 seconds]
oprypin has joined #crystal-lang
ssw has quit [*.net *.split]
oz has quit [*.net *.split]
ox has joined #crystal-lang
ssw has joined #crystal-lang
sagax has quit [Remote host closed the connection]
<FromGitter> <noaheverett> Is there a way via Crystal to see how much memory the current executable is using? I could do this by monitoring the process manually, but curious if there is a way via Crystal to get how much memory it's using and specifically see memory usage before and after a certain class/data type is used
<FromGitter> <Blacksmoke16> https://crystal-lang.org/api/master/Benchmark.html#memory%28%26%29-instance-method
<FromGitter> <Blacksmoke16> https://crystal-lang.org/api/master/GC.html#stats%3AGC%3A%3AStats-class-method
<FromGitter> <noaheverett> Oh nice! thanks @Blacksmoke16 right in front of my face if I would read the docs more 😉
walez has quit [Ping timeout: 260 seconds]
_ht has joined #crystal-lang
renich has joined #crystal-lang
jmdaemon has quit [Quit: ZNC 1.8.2 - https://znc.in]
jmdaemon has joined #crystal-lang
oprypin has quit [Ping timeout: 264 seconds]
oprypin has joined #crystal-lang
walez has joined #crystal-lang
ur5us has joined #crystal-lang
_ht has quit [Remote host closed the connection]
walez has quit [Ping timeout: 264 seconds]
<FromGitter> <vgramkris> Is there anyways to print the spawn/fiber ID?
Guest25 has joined #crystal-lang
<FromGitter> <Blacksmoke16> you can give a fiber a name when you spawn it, but not really sure what that does
<FromGitter> <Blacksmoke16> what are you wanting to do?
<FromGitter> <vgramkris> well, i wanted to identify from which spawn a particular lib call is being called from, assumed there may be a default fiber ID or as such that I can print it out
<FromGitter> <Blacksmoke16> if you have a reference to the spawned fiber, maybe `.object_id` would be enough?
<FromGitter> <Blacksmoke16> which would be unique per fiber instance
<FromGitter> <vgramkris> BTW, i am trying to print it from the same fiber itself. Something like pthread_self() in C
<FromGitter> <Blacksmoke16> oh `Fiber.current` may be helpful then
<FromGitter> <vgramkris> thank you, will try it
FromGitter has quit [Remote host closed the connection]
oprypin has quit [Quit: Bye]
oprypin has joined #crystal-lang
FromGitter has joined #crystal-lang
ober has joined #crystal-lang
<ober> wwalker: you working on porting remindme yet?
Guest25 has quit [Quit: Client closed]
<wwalker> Ober: almost. I was familiar with rails and ruby, so I wrote the PoC in rails and ruby, but now that it has hit MVP, I'm about to translate it to crystal.