RX14 changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.21.0 | Fund Crystal's development: http://is.gd/X7PRtI | Paste > 3 lines of text to https://gist.github.com | GH: https://github.com/crystal-lang/crystal | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Logs: http://irclog.whitequark.org/crystal-lang
alxnlssn has quit [Quit: Connection closed for inactivity]
<FromGitter> <lhz> @asterite thanks, the suggested patch for lib_sdl.cr in https://github.com/crystal-lang/crystal/issues/2695 still works
<FromGitter> <lhz> @jwoertink: https://github.com/ysbaddaden/sdl.cr looks promising as well, thanks. though most of the samples fail due to graphics files missing in the repo.
mgarciaisaia has joined #crystal-lang
mgarciaisaia has quit [Ping timeout: 246 seconds]
jabb has quit [Ping timeout: 260 seconds]
mgarciaisaia has joined #crystal-lang
mgarciaisaia has quit [Ping timeout: 260 seconds]
mgarciaisaia has joined #crystal-lang
VectorGraphics has joined #crystal-lang
jabb has joined #crystal-lang
mgarciaisaia has quit [Ping timeout: 258 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
danielpclark has joined #crystal-lang
pawnbox has quit [Ping timeout: 258 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 240 seconds]
VectorGraphics has quit [Quit: Leaving]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 240 seconds]
pawnbox has joined #crystal-lang
stnly_ has quit [Quit: leaving]
stnly has joined #crystal-lang
bjz has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
marciogm has quit [Ping timeout: 264 seconds]
pawnbox_ has joined #crystal-lang
pawnbox has quit [Read error: Connection reset by peer]
marciogm has joined #crystal-lang
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
Qchmqs has joined #crystal-lang
pawnbox has quit [Ping timeout: 264 seconds]
toxedvirus is now known as txdv
pawnbox has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bjz has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox_ has joined #crystal-lang
pawnbox has quit [Ping timeout: 268 seconds]
pawnbox has joined #crystal-lang
pawnbox_ has quit [Read error: Connection reset by peer]
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 260 seconds]
soveran has joined #crystal-lang
<FromGitter> <crisward> If an exception is thrown, inside a `File.open(file_path) do |file| end` block. Does the file get closed?
mark_66 has joined #crystal-lang
onionhammer has quit [Ping timeout: 240 seconds]
onionhammer has joined #crystal-lang
Philpax has joined #crystal-lang
Raimondii has joined #crystal-lang
Raimondi has quit [Ping timeout: 268 seconds]
Raimondii is now known as Raimondi
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 260 seconds]
<FromGitter> <luislavena> you can try doing `yield` and `ensure` with some puts and see if the ensure block is called when the exception is raised.
<FromGitter> <luislavena> if that works, then `File.open` should also work.
danielpclark has quit [Quit: Leaving]
soveran has quit [Remote host closed the connection]
bjz_ has joined #crystal-lang
bjz has quit [Ping timeout: 260 seconds]
gloscombe has joined #crystal-lang
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
pawnbox has joined #crystal-lang
soveran has quit [Ping timeout: 268 seconds]
Philpax has quit [Ping timeout: 246 seconds]
<FromGitter> <crisward> @luislavena Thanks!
zaiste has joined #crystal-lang
pawnbox_ has joined #crystal-lang
pawnbox has quit [Read error: Connection reset by peer]
bjz has joined #crystal-lang
bjz_ has quit [Ping timeout: 264 seconds]
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
gloscombe has quit [Remote host closed the connection]
gloscombe has joined #crystal-lang
zaiste has quit [Ping timeout: 258 seconds]
j2k has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
j2k has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bjz has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Crizkov has joined #crystal-lang
<Crizkov> Hi, Crystal community! Is possible Crystal JIT? something like Cling https://rawgit.com/vgvassilev/cling/master/www/index.html
<Crizkov> Would be good in rapid app development and prototyping
<Crizkov> ok, Thanks <shelvacu> :-)
<Crizkov> Someone knows why is crystal binary size difference between 21.0 and 21.1? 21.1 is almost 9Mb less
<Crizkov> 28M crystal-0.21.0-1-linux-x86_64.tar.gz
<Crizkov> 19M crystal-0.21.1-1-linux-x86_64.tar.gz
<txdv> download, unzip, diff
<Papierkorb> Crizkov: I'm slowly working on one. Slowly. It's more complicated than flipping a switch ;)
<Crizkov> <txdv> I downloaded the tar packages. diff show me that crystal binary is the big difference 43Mb(21.1) vs 97Mb(21.0)
<FromGitter> <crisward> In crystal, with process.kill, is there any way of waiting for the process to die? Other than looping over a `process.terminated?`
<Crizkov> <Papierkorb> Sounds great!, Just curiosity, How would you do a "true" RELP? I read https://github.com/crystal-lang/crystal/issues/681 and seems hard.
<Papierkorb> Crizkov: Real JITing, allowing the whole language to be used, and because Crystal allows it, showing what is what. And everything I love from `pry` for ruby, like showing docs or sources
Qchmqs has quit [Ping timeout: 240 seconds]
minus has quit [Ping timeout: 264 seconds]
Crizkov has quit [Quit: Page closed]
<txdv> that is crazy
<Papierkorb> ?
<txdv> the different sizes of the executables
<Papierkorb> Ah, that. No idea either, can't remember hearing of any change in the compiler that might cause that. Only thing I can think of could be both using different LLVM versions
<Papierkorb> LLVM is huge afterall
<FromGitter> <txdv> yuuuuuuuge
minus has joined #crystal-lang
<FromGitter> <fridgerator> lol
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
j2k has joined #crystal-lang
pawnbox has quit [Ping timeout: 264 seconds]
mark_66 has quit [Remote host closed the connection]
j2k has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mgarciaisaia has joined #crystal-lang
pawnbox has joined #crystal-lang
zaiste has joined #crystal-lang
soveran has quit [Remote host closed the connection]
pawnbox_ has joined #crystal-lang
jabb has left #crystal-lang [#crystal-lang]
pawnbox has quit [Ping timeout: 258 seconds]
mgarciaisaia has quit [Ping timeout: 260 seconds]
bew78 has joined #crystal-lang
gloscombe has quit [Remote host closed the connection]
<bew78> What was the `crystal browser` command (from https://crystal-lang.org/2014/12/06/another-language.html) ? And why it's not there anymore ?
<FromGitter> <Rinkana> ``````
<FromGitter> <bcardiff> @bew78 once the source was compiled, it rendered it with links that will show the to-be-invoked method instantiation. it was like a compile to html with hyperlinks instead of binary executable.
<FromGitter> <bcardiff> the "go to implementation" tool should cover the most useful case IMO.
<bew78> thanks!
Ven has joined #crystal-lang
Ven has quit [Ping timeout: 240 seconds]
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 256 seconds]
<RX14> i never used crystal browser
<RX14> i didn't know it was there...
Ven has joined #crystal-lang
<FromGitter> <Rinkana> It isn't anymore :P
<RX14> i should go back to an old release and play with it
<RX14> @Rinkana yeah thats why it was past tense :P
Ven has quit [Read error: Connection reset by peer]
onionhammer has quit [Read error: Connection reset by peer]
Ven has joined #crystal-lang
Raimondi has quit [Ping timeout: 268 seconds]
Ven has quit [Ping timeout: 240 seconds]
Ven has joined #crystal-lang
Ven has quit [Ping timeout: 264 seconds]
Ven has joined #crystal-lang
Ven has quit [Ping timeout: 258 seconds]
balduin has joined #crystal-lang
<FromGitter> <fridgerator> ok, what am I doing wrong here: https://play.crystal-lang.org/#/r/1p5v
<FromGitter> <fridgerator> SALT_SIZE is 16, which is the size of my salt
<FromGitter> <fridgerator> I still get `Invalid salt size (Crypto::Bcrypt::Error)`
<FromGitter> <fridgerator> works with 22 characters though
balduin has quit [Client Quit]
<FromGitter> <fridgerator> ok, ty
Ven has joined #crystal-lang
zaiste has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Raimondi has joined #crystal-lang
Ven has quit [Ping timeout: 246 seconds]
Ven has joined #crystal-lang
Ven has quit [Ping timeout: 246 seconds]
soveran has joined #crystal-lang
bew78 has quit [Quit: WeeChat 1.7]
Ven has joined #crystal-lang
Philpax has joined #crystal-lang
soveran has quit [Ping timeout: 264 seconds]
Ven has quit [Ping timeout: 268 seconds]
Ven has joined #crystal-lang
pawnbox_ has quit [Remote host closed the connection]
<RX14> @fridgerator you should really just use Crypto::Bcrypt::Password
<RX14> and store/load the string from that
<RX14> instead of worrying about salts
<RX14> it's just a single string containing cost, salt, password
<RX14> impossible to mess up
<FromGitter> <fridgerator> ill check it out, thanks @RX14
<RX14> Crypto::Bcrypt itself is more the low-level
bjz has joined #crystal-lang
Philpax has quit [Ping timeout: 260 seconds]
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 260 seconds]
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
minus has quit [Ping timeout: 260 seconds]
pawnbox has joined #crystal-lang
soveran has quit [Remote host closed the connection]
<FromGitter> <jwoertink> If I have a macro defined at the class level, is there a way to call that macro at a later point? Or is my only option to call that within the class itself?
<FromGitter> <jwoertink> For example: ⏎ ⏎ ```class Sample ⏎ macro x ⏎ # stuff here``` [https://gitter.im/crystal-lang/crystal?at=58bf41b700c00c3d4fd44ed6]
<FromGitter> <jwoertink> as opposed to inheriting from Sample, and calling `x` inside of that class `class Whatever < Sample; x; end`
minus has joined #crystal-lang
pawnbox has quit [Ping timeout: 268 seconds]
minus has quit [Excess Flood]
minus has joined #crystal-lang
<FromGitter> <jwoertink> I guess not since it's a compile time thing...