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
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
bew78 has joined #crystal-lang
<bew78> well... I tried... I just got the error `can't declare macro dynamically` :)
soveran has quit [Ping timeout: 240 seconds]
bjz has joined #crystal-lang
<bew78> Oh no in fact it works (the error was printed because I was trying to print a macro declaration... weird error...)
<bew78> This works, it's fun! https://carc.in/#/r/1otl
<bew78> (I know.., we should not abuse macro because they are soooo powerful)
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
danielpclark has joined #crystal-lang
Svenskunganka has joined #crystal-lang
Svenskunganka has quit [Client Quit]
Svenskunganka has joined #crystal-lang
Svenskunganka has quit [Client Quit]
Svenskunganka has joined #crystal-lang
marius is now known as nkts
nkts is now known as marius
<Svenskunganka> @asterite: I just noticed you have been working on a Tar implementation for the stdlib, was doing so myself as well but I'll scrap my work since yours is better and is further along.
<Svenskunganka> Is there something that you need help with to finalize it?
Philpax__ has joined #crystal-lang
Philpax_ has quit [Ping timeout: 268 seconds]
Guest18238 is now known as adam12
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 260 seconds]
lacour has quit [Quit: Leaving]
VectorGraphics has joined #crystal-lang
snsei has joined #crystal-lang
bjz has joined #crystal-lang
Svenskunganka has quit [Ping timeout: 264 seconds]
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 240 seconds]
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Svenskunganka has joined #crystal-lang
VectorGraphics has quit [Quit: Leaving]
bjz_ has joined #crystal-lang
<crystal-gh> [crystal] noriyotcp opened pull request #4108: IO: Fix typo Inovkes -> Invokes (master...fix-io-doc-typo) https://git.io/vyWqZ
<crystal-gh> [crystal] bcardiff closed pull request #4108: IO: Fix typo Inovkes -> Invokes (master...fix-io-doc-typo) https://git.io/vyWqZ
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 264 seconds]
<travis-ci> crystal-lang/crystal#f1f3892 (master - Docs: Fix typo Inovkes -> Invokes (#4108)): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/207614857
<DeBot> https://github.com/crystal-lang/crystal/pull/4108 (IO: Fix typo Inovkes -> Invokes)
_whitelogger has joined #crystal-lang
snsei has quit [Remote host closed the connection]
<crystal-gh> [crystal] MakeNowJust opened pull request #4110: Mark Colorize constants as private (master...fix/colorize/private) https://git.io/vyWYb
pawnbox has joined #crystal-lang
pawnbox_ has joined #crystal-lang
pawnbox has quit [Ping timeout: 260 seconds]
bew78 has quit [Ping timeout: 246 seconds]
<crystal-gh> [crystal] MakeNowJust opened pull request #4112: Formatter: fixed private constants alignment (master...fix/crystal-format/private-constant) https://git.io/vyW3J
Qchmqs has joined #crystal-lang
bjz_ has quit [Ping timeout: 260 seconds]
bjz has joined #crystal-lang
pawnbox_ has quit [Ping timeout: 240 seconds]
pawnbox has joined #crystal-lang
akwiatkowski has joined #crystal-lang
soveran has joined #crystal-lang
pawnbox_ has joined #crystal-lang
pawnbox has quit [Ping timeout: 260 seconds]
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox_ has quit [Ping timeout: 268 seconds]
pawnbox has joined #crystal-lang
bjz has joined #crystal-lang
j2k_ has joined #crystal-lang
pawnbox has quit [Ping timeout: 264 seconds]
Raimondii has joined #crystal-lang
Raimondi has quit [Ping timeout: 268 seconds]
Raimondii is now known as Raimondi
akwiatkowski has quit [Ping timeout: 260 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 264 seconds]
danielpclark has quit [Quit: Leaving]
pawnbox has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
theodorton has joined #crystal-lang
soveran has quit [Remote host closed the connection]
theodorton has quit [Quit: theodorton]
pawnbox has joined #crystal-lang
<FromGitter> <asterite> Svenskunganka: hi! You can continue the work in my branch if you want. There were some failing specs. It's mostly about supporting all tar formats (ustar, sparse, etc.)
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 quit [Remote host closed the connection]
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
<crystal-gh> [crystal] MakeNowJust opened pull request #4114: Parser: parse var as Call evan if var is declared in call args (master...fix/crystal/class-var-scope) https://git.io/vyWRX
j2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Qchmqs has quit [Ping timeout: 240 seconds]
Liothen has quit [Ping timeout: 240 seconds]
Liothen has joined #crystal-lang
bew78 has joined #crystal-lang
akwiatkowski has joined #crystal-lang
<bew78> asterite: Hi, I commented on the issue #4109 (https://git.io/vyW26), I hope the explanations are more clear now!
<DeBot> https://github.com/crystal-lang/crystal/issues/4109 ([Proposal] Add a syntax to force a macro argument to be recognize as an ASTNode)
<FromGitter> <sdogruyol> i'm curious how can i host API docs for Kemal like Crystal api docs https://crystal-lang.org/api/
<FromGitter> <sdogruyol> meanwhile the source is hosted on a different git repo
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
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
<Papierkorb> sdogruyol, you should be able to simply host the generated docs somewhere, a github page should be fine too
snsei has joined #crystal-lang
<FromGitter> <sdogruyol> so shall i just commit the docs in Kemal repo and use that?
<Papierkorb> I wouldn't into the main repo, but in a github page, which is a separate special branch in a github repository iirc
snsei has quit [Remote host closed the connection]
<Papierkorb> When I used gh pages I simply cloned the repo another time and did the branch dance in it, so I could update it simply without having to mess with the branches again
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vyWVk
<crystal-gh> crystal/master a82ef1b Ary Borenszweig: Compiler: declare all instance vars initializers before typing them. Fixes #3988
<Papierkorb> sdogruyol, can't you add it to kermalcr.com/ ?
<Papierkorb> It's static data, you should be able to rsync it over
<FromGitter> <sdogruyol> kemalcr.com is on gh-pages not sure rsync works on that
<crystal-gh> [crystal] asterite closed pull request #4094: Fix 3988 (master...fix-3988-b) https://git.io/vy3ot
<Papierkorb> Not rsync then, but a cp -r and a git push should do the trick
<crystal-gh> [crystal] asterite closed pull request #4103: Add spec compiler to s c bindings (master...add_spec_compiler_to_s_c_bindings) https://git.io/vycMl
<FromGitter> <sdogruyol> so you suggest i just copy the docs from kemal to kemalcr.com site
<FromGitter> <sdogruyol> right
<Papierkorb> if you like the idea of having http://kemalcr.com/docs/ - I do
<FromGitter> <sdogruyol> yeah
<FromGitter> <sdogruyol> that's exactly what i want :P
<FromGitter> <sdogruyol> http://kemalcr.com/api/ would be good
<FromGitter> <sdogruyol> and how to do versioning with that uhm
<Papierkorb> If you have a CI of sorts, you could probably configure it to build the docs and then do the git push.
<FromGitter> <sdogruyol> http://kemalcr.com/api/0.18.2 for example
<Papierkorb> add directories?
<FromGitter> <sdogruyol> yeah that's what i thought
snsei has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
<crystal-gh> [crystal] asterite closed pull request #4114: Parser: parse var as Call evan if var is declared in call args (master...fix/crystal/class-var-scope) https://git.io/vyWRX
NIk-- has joined #crystal-lang
<travis-ci> crystal-lang/crystal#a82ef1b (master - Compiler: declare all instance vars initializers before typing them. Fixes #3988): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/207699691
<DeBot> https://github.com/crystal-lang/crystal/issues/3988 (Instance var is incorrectly considered nil when class var initializer is involved)
<travis-ci> crystal-lang/crystal#f218af6 (master - Parser: parse var as Call evan if var is declared in call args (#4114)): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/207703821
<DeBot> https://github.com/crystal-lang/crystal/pull/4114 (Parser: parse var as Call evan if var is declared in call args)
akwiatkowski has quit [Ping timeout: 260 seconds]
<FromGitter> <crisward> There is a parameter in the `libgc`interface I want to modify. It hasn't been added to the c bridge https://github.com/crystal-lang/crystal/blob/master/src/gc/boehm.cr. Is it possible to do this from my application?
<FromGitter> <crisward> The parameter is `GC_free_space_divisor` and seems to modify how the balance between GC cycles and Heap size is managed.
soveran has quit [Remote host closed the connection]
<FromGitter> <luislavena> @tekjar can you be a bit more specific on what you're trying to do? you want a value to be mapped to an enum?
<FromGitter> <luislavena> The *Enums* section in the docs cover getting the enum member from a value: https://crystal-lang.org/docs/syntax_and_semantics/enum.html
<FromGitter> <luislavena> also see `Enum.from_value` in the API docs: https://crystal-lang.org/api/0.21.0/Enum.html#from_value%28value%29%3Aself-class-method
<FromGitter> <crisward> I've added more detail here - https://github.com/crystal-lang/crystal/issues/3997
<Papierkorb> crisward, just reopen the GC lib and add the wanted `fun`s
<FromGitter> <crisward> I'll take a look at the docs about c libs first. Bit unsure of the syntax to update a variable. Pretty sure I need to assign it a UInt64.
theodorton has joined #crystal-lang
theodorton has quit [Client Quit]
theodorton has joined #crystal-lang
theodorton has quit [Client Quit]
soveran has joined #crystal-lang
soveran has quit [Remote host closed the connection]
p0p0pr37 has quit [Remote host closed the connection]
bew78 has quit [Quit: WeeChat 1.7]
p0p0pr37 has joined #crystal-lang
p0p0pr37 has joined #crystal-lang
bew78 has joined #crystal-lang
<bew78> asterite: you have some reading fo #4109 :-)
<DeBot> https://github.com/crystal-lang/crystal/issues/4109 ([Proposal] Add a syntax to force a macro argument to be recognize as an ASTNode)
<bew78> good luck ^^, take you time
<bew78> your*
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 240 seconds]
pawnbox_ has joined #crystal-lang
pawnbox has quit [Ping timeout: 260 seconds]
<crystal-gh> [crystal] KCreate opened pull request #4116: Fixed invalid File.link behaviour (master...patch-1) https://git.io/vyW9S
sz0 has joined #crystal-lang
theodorton has joined #crystal-lang
bjz has joined #crystal-lang
bew78 has quit [Quit: WeeChat 1.7]
leex_ has joined #crystal-lang
A124 has quit [Disconnected by services]
A124 has joined #crystal-lang
soveran has joined #crystal-lang
snsei has quit [*.net *.split]
braidn_ has quit [*.net *.split]
leex has quit [*.net *.split]
olbat has quit [*.net *.split]
dzv has quit [*.net *.split]
onionhammer has quit [*.net *.split]
soveran has quit [Ping timeout: 268 seconds]
dzv has joined #crystal-lang
olbat has joined #crystal-lang
onionhammer has joined #crystal-lang
<FromGitter> <jwoertink> Anyone around that can help with a macOS issue?
<FromGitter> <jwoertink> I'm getting this error `dyld: Library not loaded: /usr/local/opt/libevent/lib/libevent-2.0.5.dylib` for anything I run with crystal
<FromGitter> <jwoertink> I've uninstalled crystal, uninstalled libevent, reinstalled crystal all through homebrew
<FromGitter> <jwoertink> but still getting this error
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
<FromGitter> <phoffer> That process worked for me, I think @crisward dealt with this a week or two ago by symlinking
theodorton has quit [Quit: theodorton]
braidn_ has joined #crystal-lang
snsei has joined #crystal-lang
braidn_ has quit [Max SendQ exceeded]
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
g3funk has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 240 seconds]
sz0 has quit [Quit: Connection closed for inactivity]
<FromGitter> <jwoertink> ok, I guess uninstalling everything and reinstalling multiple times works. lol
<FromGitter> <jwoertink> And this is why people go insane. They try the same thing over and over again expecting a different result because occasionally, there is a different result! :joy:
bjz has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 240 seconds]
bjz has joined #crystal-lang
Philpax__ has quit [Ping timeout: 258 seconds]
akwiatkowski has joined #crystal-lang