ChanServ changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.22.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
olbat has quit [Ping timeout: 260 seconds]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 246 seconds]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 246 seconds]
olbat has joined #crystal-lang
<crystal-gh> [crystal] bcardiff closed pull request #4510: [vagrant box] update Ubuntu vivid to xenial (LTS) (master...update_vivid_vagrant_box_to_xenial) https://git.io/vH26P
olbat has quit [Ping timeout: 240 seconds]
olbat has joined #crystal-lang
chuanshuo has quit [Remote host closed the connection]
<crystal-gh> [crystal] bcardiff pushed 1 new commit to master: https://git.io/vQOr1
<crystal-gh> crystal/master 7961a13 Val: [vagrant provisioning] make git call the last one (#4508)...
olbat has quit [Ping timeout: 240 seconds]
<travis-ci> crystal-lang/crystal#bbe0372 (master - [vagrant box] update Ubuntu vivid to xenial (LTS) (#4510)): The build has errored. https://travis-ci.org/crystal-lang/crystal/builds/246673462
<DeBot> https://github.com/crystal-lang/crystal/pull/4510 ([vagrant box] update Ubuntu vivid to xenial (LTS))
olbat has joined #crystal-lang
<crystal-gh> [crystal] bcardiff closed pull request #4502: Refactor time platform specific implementation (master...time) https://git.io/vHgbV
<crystal-gh> [crystal] bcardiff pushed 1 new commit to master: https://git.io/vQOoe
<crystal-gh> crystal/master c6e2077 Brian J. Cardiff: Fix building llvm_ext.cc with LLVM < 3.8 (Ref #4501)
<travis-ci> crystal-lang/crystal#7961a13 (master - [vagrant provisioning] make git call the last one (#4508)): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/246678059
<DeBot> https://github.com/crystal-lang/crystal/pull/4508 ([vagrant provisioning] make git call the last one)
chuanshuo has joined #crystal-lang
olbat has quit [Ping timeout: 240 seconds]
olbat has joined #crystal-lang
chuanshuo has quit [Client Quit]
olbat has quit [Ping timeout: 240 seconds]
olbat has joined #crystal-lang
<travis-ci> crystal-lang/crystal#e92d280 (master - Refactor time platform specific implementation (#4502)): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/246679282
<DeBot> https://github.com/crystal-lang/crystal/pull/4502 (Refactor time platform specific implementation)
thither has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<travis-ci> crystal-lang/crystal#c6e2077 (master - Fix building llvm_ext.cc with LLVM < 3.8 (Ref #4501)): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/246679808
<DeBot> https://github.com/crystal-lang/crystal/pull/4501 (Add llvm operand bundle def and catch pad/ret/switch)
olbat has quit [Ping timeout: 268 seconds]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 240 seconds]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 240 seconds]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 240 seconds]
olbat has joined #crystal-lang
hako has joined #crystal-lang
olbat has quit [Ping timeout: 276 seconds]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 276 seconds]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 260 seconds]
olbat has joined #crystal-lang
olbat has joined #crystal-lang
olbat has quit [Changing host]
<FromGitter> <akzhan> commented to our gist: `crystal build —release`, A lot of data is debug information.
hako has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hako has joined #crystal-lang
olbat has quit [Ping timeout: 260 seconds]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 260 seconds]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 240 seconds]
olbat has joined #crystal-lang
olbat has quit [Changing host]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 268 seconds]
olbat has joined #crystal-lang
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 240 seconds]
olbat has joined #crystal-lang
olbat has joined #crystal-lang
olbat has quit [Changing host]
olbat has quit [Ping timeout: 268 seconds]
olbat has joined #crystal-lang
<FromGitter> <elorest> I can’t get the default example for Compression at the top of this doc to actually run. https://crystal-lang.org/api/master/Gzip/Writer.html#open%28io%3AIO%2Clevel%3DGzip%3A%3ADEFAULT_COMPRESSION%2Csync_close%3Dfalse%2C%26block%29-class-method
<FromGitter> <elorest> At first I get `in gziptest.cr:4: undefined constant Gzip::Writer` ⏎ if i `require “gzip/writer” i get an other error. ⏎ `Can't infer the type of instance variable '@header' of Gzip::Writer`
olbat has quit [Ping timeout: 260 seconds]
olbat has joined #crystal-lang
hako has quit [Ping timeout: 255 seconds]
olbat has quit [Ping timeout: 255 seconds]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 276 seconds]
olbat has joined #crystal-lang
olbat has joined #crystal-lang
olbat has quit [Changing host]
<crystal-gh> [crystal] elorest opened pull request #4619: Fixed docs for gzip/writer (master...patch-1) https://git.io/vQO1Q
<FromGitter> <elorest> nvm. I figured it out. Bug in the docs lol. https://github.com/crystal-lang/crystal/pull/4619
olbat has quit [Ping timeout: 240 seconds]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 255 seconds]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 268 seconds]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 240 seconds]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 240 seconds]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 260 seconds]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 268 seconds]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 260 seconds]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 246 seconds]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 260 seconds]
olbat has joined #crystal-lang
olbat has joined #crystal-lang
olbat has quit [Changing host]
hightower2 has joined #crystal-lang
<hightower2> Hey, I am trying to define a method which accepts *@args. And I only pass those *@args to some other method. How could I define this for arbitrary/any type of *@args?
_whitelogger has joined #crystal-lang
olbat has quit [Ping timeout: 268 seconds]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 258 seconds]
olbat has joined #crystal-lang
balduin has joined #crystal-lang
balduin has quit [Quit: Leaving.]
olbat has quit [Ping timeout: 260 seconds]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 240 seconds]
olbat has joined #crystal-lang
olbat has joined #crystal-lang
olbat has quit [Changing host]
<oprypin> hightower2, uhm why are you saying it as `*@args` and not as `*args`? that worries me
<hightower2> I wanted to save it in an instance var
<oprypin> i think you can just do that if you drop the confusion with `@`
<oprypin> oh well you can't do that then
<oprypin> in crystal 0.15.0 you can though, lol
<hightower2> haha
olbat has quit [Ping timeout: 260 seconds]
olbat has joined #crystal-lang
olbat has joined #crystal-lang
olbat has quit [Changing host]
<oprypin> mm you'd be able to store them but not pass them on anyway, now that i think about it
<oprypin> basically doesnt work like that, that tuple needs to be of a determined compiletime type to pass it as *args
olbat has quit [Ping timeout: 255 seconds]
olbat has joined #crystal-lang
red_menace has quit [Ping timeout: 246 seconds]
olbat has quit [Ping timeout: 255 seconds]
olbat has joined #crystal-lang
red_menace has joined #crystal-lang
olbat has quit [Ping timeout: 255 seconds]
olbat has joined #crystal-lang
rohitpaulk has joined #crystal-lang
<FromGitter> <krypton97> Is crystal good to use on rapsberry pi 3? The best would be to compile the binary on my pc and upload it directly on the pi3
olbat has quit [Ping timeout: 240 seconds]
olbat has joined #crystal-lang
olbat has joined #crystal-lang
olbat has quit [Changing host]
<oprypin> it's ok
olbat has quit [Ping timeout: 240 seconds]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 240 seconds]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 240 seconds]
olbat has joined #crystal-lang
olbat has joined #crystal-lang
olbat has quit [Changing host]
olbat has quit [Ping timeout: 240 seconds]
olbat has joined #crystal-lang
Philpax has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 268 seconds]
olbat has quit [Ping timeout: 246 seconds]
olbat has joined #crystal-lang
rohitpaulk has joined #crystal-lang
<crystal-gh> [crystal] akzhan closed pull request #4611: [WIP] Fix memset, memcpy, memmove calls on Pointer type. (master...fix-pointer-contract) https://git.io/vQm2i
olbat has quit [Ping timeout: 240 seconds]
olbat has joined #crystal-lang
olbat has quit [Changing host]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 268 seconds]
olbat has joined #crystal-lang
<FromGitter> <lbarasti> Hi folks, I just stumbled upon this piece of code in `indexable.cr` ⏎ ⏎ ```ItemIterator(self, T).new(self)``` ⏎ ⏎ where `self` is an instance of `Indexable` I guess? ... [https://gitter.im/crystal-lang/crystal?at=594fa6b1703e565c333fcb73]
olbat has quit [Ping timeout: 258 seconds]
olbat has joined #crystal-lang
olbat has joined #crystal-lang
olbat has quit [Changing host]
<FromGitter> <delef> Hi! Is this normal behavior? ⏎ ⏎ https://play.crystal-lang.org/#/r/293s
<FromGitter> <straight-shoota> @lbarasti It seems the compiler automatically resolves `self` to `self.class`
<FromGitter> <straight-shoota> @delef `b.value[:names].push("Ivan")` https://play.crystal-lang.org/#/r/2941
<FromGitter> <lbarasti> @straight-shoota is that expected? Instantiating `ItemIterator` using `self.class` seems to fail on the other hand ⏎ ⏎ ```code paste, see link``` ⏎ ⏎ Does not compile for me [https://gitter.im/crystal-lang/crystal?at=594fa92a76a757f808a34258]
<FromGitter> <lbarasti> (I copy pasted the definition of `ItemIterator` from `indexable.cr`)
red_menace has left #crystal-lang ["bye bye..."]
<FromGitter> <straight-shoota> It doesn't compile because the class `ItemIterator` is not known
<FromGitter> <straight-shoota> https://play.crystal-lang.org/#/r/294i
<FromGitter> <lbarasti> @straight-shoota I copy-pasted the definition above the snippet I sent you :D
<FromGitter> <straight-shoota> Okay, then what's the compiler error?
<FromGitter> <lbarasti> here @straight-shoota : https://play.crystal-lang.org/#/r/294l
<FromGitter> <straight-shoota> Oh, yeah right. My bad...
<FromGitter> <straight-shoota> This creates an iterator of type `A:Class` not `A`
olbat has quit [Ping timeout: 240 seconds]
<FromGitter> <straight-shoota> So my previous statement was not accurate, the compiler resolves `self` to `typeof (self)`
<FromGitter> <lbarasti> isn't that a bit surprising? It seems that `self` has a special meaning when passed as a type parameter?
<FromGitter> <straight-shoota> https://play.crystal-lang.org/#/r/294m
olbat has joined #crystal-lang
<FromGitter> <lbarasti> I mean, it's good to know, but a very unexpected behaviour
<FromGitter> <lbarasti> So it resolves it to`typeof(self)` but *ONLY* when self is in a type parameter position
<FromGitter> <straight-shoota> It might be a bit surprising but essentially it is just a nice helper.
<FromGitter> <straight-shoota> Ah, don't confuse `self` in `ItemIterator(self, T)` and `new(self)`
<FromGitter> <straight-shoota> The first case it's a type parameter in a generic type definition, the second is a regular method argument
<FromGitter> <lbarasti> great! Thanks for the clarification @straight-shoota. I didn't see this behaviour documented anywhere, but maybe I just missed that. I'll have a look at the docs and see if I can do something about it
<FromGitter> <lbarasti> It's also interesting that `typeof(self)` and `self.class` return the same thing, but `self.class` does not seem to be accepted in type parameter position...
<FromGitter> <straight-shoota> In fact, in the generic type definition `self` means the class constant (like in a class method), so this works only because `self` is a special name and in this case refers to two different contexts.
<FromGitter> <straight-shoota> It does not work with regular variables: https://play.crystal-lang.org/#/r/294q/edit
<FromGitter> <straight-shoota> The difference is that `typeof(self)` is resolved at compile time and `self.class` at runtime, therefore there's a difference
<FromGitter> <lbarasti> awesome, thanks!
olbat has quit [Ping timeout: 255 seconds]
olbat has joined #crystal-lang
<FromGitter> <codenoid> sir @sdogruyol @fridgerator , how to hide / remove this warning https://pastebin.com/tzpXpXag
<oprypin> delef, well sure it's normal behavior, a pointer does not magically relay actions, maybe you need .value and maybe there's no need to use pointer
olbat has quit [Ping timeout: 240 seconds]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 240 seconds]
olbat has joined #crystal-lang
<FromGitter> <codenoid> and also, can i do some image manipulation with crystal / kemal ?
olbat has quit [Ping timeout: 240 seconds]
olbat has joined #crystal-lang
olbat has joined #crystal-lang
olbat has quit [Changing host]
olbat has quit [Ping timeout: 246 seconds]
olbat has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 240 seconds]
rohitpaulk has joined #crystal-lang
<oprypin> yes. nothing to do with kemal.
olbat has quit [Ping timeout: 268 seconds]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 240 seconds]
Philpax has quit [Ping timeout: 240 seconds]
olbat has joined #crystal-lang
<FromGitter> <codenoid> please sir, make a image manipulation library, http://crystalshards.xyz/?filter=image
<oprypin> codenoid, using the word "sir" everywhere does not help. please just drop it.
<oprypin> that search query finds https://github.com/l3kn/stumpy_png - you can use it. i've used it before
<FromGitter> <luislavena> @lbarasti definitely seems that `self` treatment being missing from the generics docs: https://crystal-lang.org/docs/syntax_and_semantics/generics.html, an extra case there will be great to add :wink:
<FromGitter> <luislavena> @oprypin seems to be missing from generics documentation, where most folks will try to look for it
<oprypin> i dont see how it's specific to generics
<FromGitter> <luislavena> It could be similar to the type grammar link you just shared and include a case for it under generics
olbat has quit [Ping timeout: 260 seconds]
<FromGitter> <luislavena> @oprypin is not *specific* to generic, I think is missing an indication of it's usage in the context of generics.
<oprypin> my opinion is that the documentation has too many split sections, and that duplicating information 3 times so people have a bigger chance to see it is not the solution
olbat has joined #crystal-lang
olbat has joined #crystal-lang
olbat has quit [Changing host]
<FromGitter> <luislavena> @oprypin be my guest, send PR with improvements on what you think will be best
<FromGitter> <luislavena> I was just pointing out that case and also the case in type grammar is missing covering `self` in the examples
<FromGitter> <luislavena> (self in the context of generics, not as parameter)
rohitpaulk has quit [Ping timeout: 260 seconds]
olbat has quit [Ping timeout: 240 seconds]
rohitpaulk has joined #crystal-lang
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 240 seconds]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 240 seconds]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 240 seconds]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 255 seconds]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 255 seconds]
olbat has joined #crystal-lang
greengriminal has joined #crystal-lang
olbat has quit [Ping timeout: 255 seconds]
olbat has joined #crystal-lang
olbat has joined #crystal-lang
olbat has quit [Changing host]
rohitpaulk has quit [Ping timeout: 260 seconds]
rohitpaulk has joined #crystal-lang
olbat has quit [Ping timeout: 276 seconds]
rohitpaulk has quit [Ping timeout: 240 seconds]
olbat has joined #crystal-lang
rohitpaulk has joined #crystal-lang
olbat has quit [Ping timeout: 246 seconds]
olbat has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 246 seconds]
rohitpaulk has joined #crystal-lang
olbat has quit [Ping timeout: 260 seconds]
olbat has joined #crystal-lang
<FromGitter> <elorest> @codenoid image manipulation isn't built into kemalcr or any framework. However you could use the imagemagick wrapper to accomplish that.
<FromGitter> <faustinoaq> <thither> and @akzhan here is a example to produce super small binaries using crystal https://github.com/kubo39/tinycr
<FromGitter> <faustinoaq> Also see https://github.com/kubo39/tinycr/issues/1
<FromGitter> <faustinoaq> Hey crystal community I added even more features to my Crystal VSCode extension: https://marketplace.visualstudio.com/items?itemName=faustinoaq.crystal-lang
<FromGitter> <faustinoaq> ((https://i.imgur.com/3Peiizd.gif))
<FromGitter> <faustinoaq> Also support Symbol Tree using Code Outline extension for VSCode
<FromGitter> <faustinoaq> ((https://i.imgur.com/guRDY0T.png))
olbat has quit [Ping timeout: 255 seconds]
olbat has joined #crystal-lang
greengriminal has quit [Quit: This computer has gone to sleep]
olbat has quit [Ping timeout: 255 seconds]
olbat has joined #crystal-lang
DissonantGuile has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 255 seconds]
<DissonantGuile> Hey, if I want to descibe a proc what I don't care what the return value is, would I use Proc(Void) or Proc(Nil)?
rohitpaulk has joined #crystal-lang
<RX14> Proc(Void)
<DissonantGuile> Thought so, thanks much
<oprypin> RX14, I'm not sure that's good
<DissonantGuile> I see this code in the Block Forwarding page in the guide: def wrap_foo(&block : Int32 -> _)
olbat has quit [Ping timeout: 268 seconds]
<DissonantGuile> Adds to the confusion a bit for me
<oprypin> DissonantGuile, please check this example where I "omit" the return type and it defaults to Nil https://carc.in/#/r/295m
<oprypin> so I think that's the preferred thing to use
<oprypin> Crystal avoids Void entirely, other than when dealing with C bindings
<RX14> yeah it is Nil actually
<DissonantGuile> So best practice, just use Nil?
<RX14> yes
olbat has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 260 seconds]
rohitpaulk has joined #crystal-lang
olbat has quit [Ping timeout: 246 seconds]
olbat has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 255 seconds]
rohitpaulk has joined #crystal-lang
olbat has quit [Ping timeout: 255 seconds]
olbat has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 268 seconds]
olbat has quit [Ping timeout: 246 seconds]
olbat has joined #crystal-lang
olbat has quit [Ping timeout: 240 seconds]
olbat has joined #crystal-lang
olbat has joined #crystal-lang
olbat has quit [Changing host]
olbat has quit [Ping timeout: 246 seconds]
olbat has joined #crystal-lang
<FromGitter> <krypton97> How fast is crystal comparing to golang?
<oprypin> -_-
<oprypin> > how does crystal comapre to nim? > how fast is crystal comparing to java > How fast is crystal comparing to golang?
<oprypin> maybe enough of that, what answer are you looking for?
<FromGitter> <krypton97> Don't get salty, I'm trying to find out when to use x and when to use y
<FromGitter> <krypton97> And what's with the bot IRC
<FromGitter> <krypton97> What's IRC
<FromGitter> <luislavena> @oprypin not everybody joins the party with the same background, please try to be polite and welcome.
<FromGitter> <luislavena> @krypton97 this gitter room is setup as bridge to the IRC channel: https://en.wikipedia.org/wiki/Internet_Relay_Chat
olbat has quit [Ping timeout: 240 seconds]
<FromGitter> <luislavena> @krypton97 re: your X is faster than Y question: it will depend. Sometimes raw speed isn't the only decision taking part when selecting a language (or shouldn't)
<FromGitter> <luislavena> There are other factors like supported platforms, database or other tooling libraries that will provide *fast* results to developers other than raw speed.
olbat has joined #crystal-lang
<Papierkorb> That being said, Crystal is pretty darn fast, and for the code one usually writes, it's faster than it has any right to
<FromGitter> <luislavena> Go is fast in lot of areas, but a non-Go developer might take longer to get familiar with the language and become proficient with it (aka: be fast with it)
<FromGitter> <krypton97> I've a c, node js background and learnt go some time ago and got used pretty quick..now I'm working on a raspberry pi project and wanna find out if go/crystal fits better..wanna keep the standard lib as much as possible
<FromGitter> <krypton97> And thanks for it luis
<FromGitter> <crisward> @krypton97 I'm also from a node background, I found crystal very easy to pick up. In general its less verbose than go, or even js. But if you're already familiar with go, you may find crystals eco system less mature, with fewer third party library's. Despite that, I personally enjoying coding in crystal so much I'm happy to fill the gaps I need to myself.
<FromGitter> <straight-shoota> I'd say Crystal and Go are quite comparable in terms of speed and for example the concurrency model are very similar. In my opinion Crystals object oriented approach is preferable and I like the Ruby-like syntax. Crystal however has still to see a stable release and of course Go's ecosystem is much larger.
olbat has quit [Ping timeout: 246 seconds]
olbat has joined #crystal-lang
<FromGitter> <krypton97> Because of google
<FromGitter> <krypton97> In a nutshell
<FromGitter> <krypton97> Other than that, if I manage to use crystal on raspbian that's it
<FromGitter> <krypton97> ma
<FromGitter> <delef> https://github.com/delef/geoip2.cr/blob/master/test.cr#L25 ⏎ ⏎ I have some error. You faced with this? ⏎ ⏎ ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=595025f0ad9c7818439c3cb3]
olbat has quit [Ping timeout: 240 seconds]
hightower3 has joined #crystal-lang
olbat has joined #crystal-lang
<oprypin> delef, there is no room for mistake when making bindings. all this tells you is that you made a mistake somewhere.
<oprypin> looks like accessing a pointer that used to point to something valid but that data is gone
<oprypin> delef, by the way most often it happens when you pass something allocated in Crystal to C code, then that thing gets garbage collected before C code accesses what is now unallocated memory
<FromGitter> <delef> Strange that without a raise there is no error
<oprypin> delef, what if you replace the `raise` with `puts`
<crystal-gh> [crystal] funny-falcon opened pull request #4621: change computation of hash value. (master...hasher) https://git.io/vQ34l
<FromGitter> <delef> some problem
<oprypin> what the hell is `.as(String)` though :(
<oprypin> here you're saying "welp we have a bunch of zero-terminated bytes in memory, let's tell Crystal that this is actually an instance of String"
<oprypin> oh wait, you did do `String.new`, so it seems ok then, sorry
tilpner has quit [Read error: Connection reset by peer]
<oprypin> i don't know, anything could be wrong, it's just the usage of the library
<oprypin> are you sure `data.data.utf8_string, data.data_size` is correct?
<FromGitter> <bew> why does this fails? (instantly) https://carc.in/#/r/2966 Shouldn't this do an infinite loop (en eventually a stack overflow, or OOM error) ?
<FromGitter> <bew> s/en/and
<oprypin> bew, i think this happens at compilation
<oprypin> but the point is still valid
hightower3 has quit [Ping timeout: 240 seconds]
_whitelogger has joined #crystal-lang
<FromGitter> <delef> Yes is correct, because it works without raise
<FromGitter> <zatherz> is it possible to write a recursive {% %} macro?
<FromGitter> <zatherz> ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=59503c4c8dae42503152c2a8]
<FromGitter> <zatherz> basically, I'm trying to check if it's possible for a type of a TypeDeclaration to be nil
greengriminal has joined #crystal-lang
<crystal-gh> [crystal] bew opened pull request #4622: Various fixes (master...various-runtime-fixes) https://git.io/vQ3En
hightower3 has joined #crystal-lang
hightower2 has quit [Ping timeout: 240 seconds]
hightower2 has joined #crystal-lang
hightower2 has quit [Ping timeout: 260 seconds]