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 quit [Ping timeout: 246 seconds]
HumanG33k has joined #crystal-lang
sagax has quit [Excess Flood]
notzmv has quit [Ping timeout: 272 seconds]
sagax has joined #crystal-lang
jhass has quit [Ping timeout: 260 seconds]
jhass has joined #crystal-lang
straight-shoota has quit [Ping timeout: 268 seconds]
jhass has quit [Ping timeout: 246 seconds]
hightower2 has joined #crystal-lang
hightower4 has quit [Ping timeout: 264 seconds]
straight-shoota has joined #crystal-lang
jhass has joined #crystal-lang
jhass has quit [Ping timeout: 246 seconds]
straight-shoota has quit [Ping timeout: 246 seconds]
jhass has joined #crystal-lang
straight-shoota has joined #crystal-lang
<FromGitter> <sahar.sedaghat_gitlab> hello; I am trying to build Scry on debain amd64 machine and I am getting this:
<FromGitter> <sahar.sedaghat_gitlab> ``````
<FromGitter> <sahar.sedaghat_gitlab> any solution for this? I think it is a known issue. Yes?
<FromGitter> <Blacksmoke16> using `1.4.1`?
<FromGitter> <Blacksmoke16> fwiw might have better luck with https://github.com/elbywan/crystalline
jhass has quit [Ping timeout: 240 seconds]
straight-shoota has quit [Ping timeout: 268 seconds]
straight-shoota has joined #crystal-lang
jhass has joined #crystal-lang
notzmv has joined #crystal-lang
<FromGitter> <sahar.sedaghat_gitlab> @Blacksmoke16 What is the main ideas behind crystal.
<FromGitter> <sahar.sedaghat_gitlab> desktop app development/web devel!?
<FromGitter> <sahar.sedaghat_gitlab> is it similar to C++ or more of Ruby/Python type
<FromGitter> <sahar.sedaghat_gitlab> i.e it is compiled or interpreted?
<FromGitter> <Blacksmoke16> ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=62bd1fb6904f20479a55fbe1]
<FromGitter> <Blacksmoke16> syntax is ruby like, but compiled and statically typed. Id say with a focus on web dev, just because that part has the larger ecosystem atm
ur5us has quit [Ping timeout: 268 seconds]
_ht has joined #crystal-lang
sagax has quit [Excess Flood]
hightower4 has joined #crystal-lang
hightower3 has quit [Ping timeout: 272 seconds]
notzmv has quit [Ping timeout: 248 seconds]
<FromGitter> <naqvis> Published CrystalVips (https://github.com/naqvis/crystal-vips) shard for Crystal bindings to the *libvips image processing library*
hightower2 has quit [Remote host closed the connection]
hightower2 has joined #crystal-lang
<hightower2> looks pretty useful naqvis
<hightower2> See if you can get Crystal mentioned in the list of bindings on https://www.libvips.org/ :-)
<FromGitter> <naqvis> yeah, will raise an issue there to see what process they follow to get bindings added to their docs
notzmv has joined #crystal-lang
jmiven has joined #crystal-lang
onyx has joined #crystal-lang
<riza> @naqvis thats excellent! <3
hightower2 has quit [Remote host closed the connection]
hightower2 has joined #crystal-lang
<FromGitter> <naqvis> thanks
<yxhuvud> 2k lines of lib bindings. Did you write it all yourself or did you use some tool to generate it?
<riza> I wasn't going to ask
<riza> I looked at building bindings for libvips and quickly decided I didn't have the experience in automation to make that happen
jmdaemon has joined #crystal-lang
_ht has quit [Remote host closed the connection]
ur5us has joined #crystal-lang
hightower3 has joined #crystal-lang
hightower2 has quit [Ping timeout: 240 seconds]
hightower3 has quit [Remote host closed the connection]
hightower3 has joined #crystal-lang
oprypin has quit [Quit: Bye]
oprypin has joined #crystal-lang
bastienleonard has joined #crystal-lang
<bastienleonard> hi, is there a way to require the caller to use the value returned by a function (at compile-time)? A compiler warning would be OK if an error is not possible.
<FromGitter> <Blacksmoke16> got an example?
<bastienleonard> my use case is for "monadic" error handling, like Result in Ocaml/Rust
<bastienleonard> I want the compiler to tell me if I'm discarding some returned values
<FromGitter> <Blacksmoke16> pretty sure thats not a thing
<bastienleonard> I mean, the return value of some methods
<FromGitter> <Blacksmoke16> ```some_method```
<FromGitter> <Blacksmoke16> by default there isnt a way to say like "you should not ignore the return values of 'some_method'"
<bastienleonard> thanks for confirming
<bastienleonard> I wonder if there is some macro hack for this. I haven't looked into Crystal macros yet
<FromGitter> <Blacksmoke16> not sure, never really had a need for this
<bastienleonard> alright thanks. Going to stick to exceptions for this use case for now. I do find it convenient to require the caller to handle errors sometimes.