jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.28.0 | Fund Crystal's development: http://is.gd/X7PRtI | GH: https://github.com/crystal-lang/crystal | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Gitter: https://gitter.im/crystal-lang/crystal
<FromGitter> <watzon> Lol ⏎ ⏎ > Just running kak launch a new kak session with a client on local terminal. Run kak -help to discover the valid command line flags.
<FromGitter> <watzon> kak
<FromGitter> <watzon> That's awfully close to another word...
wymillerlinux has quit [Ping timeout: 248 seconds]
wymillerlinux has joined #crystal-lang
<alex``> watzon which word?
<FromGitter> <watzon> kak
<FromGitter> <watzon> Sounds like a New Yorker saying something else
chemist69 has quit [Ping timeout: 252 seconds]
chemist69 has joined #crystal-lang
sz0 has quit [Quit: Connection closed for inactivity]
pabs has quit [Ping timeout: 268 seconds]
alex`` has quit [Ping timeout: 248 seconds]
alex`` has joined #crystal-lang
<FromGitter> <watzon> How do you provide multiple requirable files? For instance I want people be able to say either `require "tourmaline/bot"`, `require "tourmaline/client"`, or `require "tourmaline"` which requires both.
<FromGitter> <watzon> Do I structure it like this? ⏎ ⏎ ```/src/tourmaline.cr``` [https://gitter.im/crystal-lang/crystal?at=5cf750c56fc5846bab646344]
<FromGitter> <watzon> Do I structure it like this? ⏎ ⏎ ```src/tourmaline.cr ⏎ src/tourmaline/client.cr ⏎ src/tourmaline/bot.cr``` [https://gitter.im/crystal-lang/crystal?at=5cf750f3cea8295279f534c9]
<FromGitter> <mwlang> That's how I'd structure it... tourmaline.cr can have the two require statements for client and bot and that would satisfy your goal.
<FromGitter> <watzon> Awesome. Just making sure that that's how it works
<FromGitter> <mavu> @alex`` "kak" is short for "Kacke" in german, which is colloquial term for "shit" in the context of swearing when things are not working or going wrong. ⏎ In my day to day life most often encountered when I need to touch anything related to / coming from Microsoft.
<FromGitter> <mavu> The editor sounds very interesting though.
<FromGitter> <watzon> @mavu it does, but for some reason can't get it to compile on my system
<FromGitter> <mavu> I can just install it with apt on debian.
<FromGitter> <watzon> Oh really? Let me try lol
<FromGitter> <watzon> @mavu where's the repo?
<FromGitter> <mavu> @watzon I use debian testing, so if it is not available in stable, you will probably have to add testing to your sources.list
<jokke> speaking of editors: anyone here using (neo)vim with neomake for crystal?
<jokke> i find the errors pretty unhelpful :/
<jokke> e.g. just "in block..." at the outer block if something inside the block causes compile errors
<jokke> is syntastic doing a better job?
<FromGitter> <mavu> I still have not managed to seriously test neovim. Just played around with it for some hours.
<jokke> it's exactly the same in vim. That's why i put it in parentheses
<jokke> for me switching to neovim was just a matter of aliasing vim to neovim :P
<FromGitter> <mavu> no problems with plugins?
<jokke> none
<FromGitter> <mavu> hmm...
<jokke> and i have a lot of plugins
<FromGitter> <mavu> yes those are a lot of plugins :)
<jokke> okay it seems that i lied a little. i do have a few `if has('nvim')` in my vimrc
ashirase has quit [Ping timeout: 248 seconds]
<FromGitter> <mavu> I think I'll need to weed out some stuff, neovim seems to have trouble finding my colorscheme and throws some python errors on startup when I give it my vimrc.
ashirase has joined #crystal-lang
<jokke> if you have pyxversion somewhere in your vimrc
<FromGitter> <j8r> mps: PR to support musleabihf: https://github.com/crystal-lang/crystal/pull/7859
<mps> j8r: thanks. I'm short on time these days but will look it deeply when we release new stable Alpine
<FromGitter> <j8r> 1) 29.0 will be out soon, wand this PR will likely not be inside it :/
<mps> aha. did you tried to build it with this patch
<FromGitter> <j8r> why having 0.29.0 2 months after 0.28.0, but 0.28.0 6 months after 0.27.0? Don't know
<FromGitter> <j8r> not yet
<FromGitter> <j8r> not yet on armhf, just x86-64
<mps> it shouldn't be problematic on x86_64 and aarch64
<FromGitter> <j8r> I have to cross compile :/ Or, I may be able to build an armhf compiler on aarch64
<mps> I tried cross compiler on alpine, but without good results
<mps> simple programs works but more complicated is problematic
<FromGitter> <straight-shoota> @j8r 0.28.0 was simply way to much delayed
<FromGitter> <straight-shoota> we aim to release more often
<FromGitter> <straight-shoota> So 0.30.0 won't be too far away
<z64> i wanted to ask about the changelog, maybe it was discussed before, but there's a lot of conversation in other threads; should deprecations be marked as `(breaking-change)`? i feel a `(depreacted)` annotation is more apropriate as code should still work, and the `(breaking-change)` would be listed when the old api is removed
<FromGitter> <j8r> no luck trying `./bin/crystal build --cross-compile --target armv6-alpine-linux-musleabihf -D pr ⏎ eview_overflow -D compiler_rt -o .build/crystal-armv6 src/compiler/crystal.cr -D withou ⏎ t_openssl -D without_zlib` on alpine :(
<FromGitter> <straight-shoota> z64, there was a discussion on this, and we decided to mark deprecations as breaking change. While not *immediately*, the code will eventually break.
<alex``> mavu Debian has a *very* old (maybe 2y) release
<alex``> you should compile from source
<alex``> I added support for Crystal a few days ago, so better to use the master branch for Crystal anyway
<z64> @straight-shoota alright, that's fine i guess. was just curious if it was brought up. thanks
<alex``> if you install from source, you just have to make sure to have a recent gcc or clang, with ncruses (wide-characters support)
<FromGitter> <mavu> what is the current version number?
<alex``> 2019.01.20
<alex``> it uses date
<alex``> $ kak -version
<FromGitter> <mavu> ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=5cf7c0f565392c3b60c3579f]
<alex``> if you use an old version it may be possible to don’t have -version flag at all
<FromGitter> <mavu> seems current
<alex``> for long time it used to live on master with no versionning
<alex``> oh nice
<FromGitter> <mavu> I always use the testing flavor of debian
<FromGitter> <mavu> the stable probably has a older package.
<FromGitter> <pynixwang> how 头
<FromGitter> <pynixwang> how to rebuild method signature use macro.
<FromGitter> <pynixwang> now we can not use method_missing to overrider abstract method.
<FromGitter> <nsuchy> Are these the only attributes or is there a big list I can look at? https://crystal-lang.org/reference/syntax_and_semantics/attributes.html
<FromGitter> <j8r> unrelated: @nsuchy you really have to look at https://github.com/SushiChain 😀
<FromGitter> <Blacksmoke16> the `built-in annotations` link
<FromGitter> <nsuchy> @j8r abotu to walk out the door to a meeting, promise I'll check it out though
<FromGitter> <Blacksmoke16> that list are the ones provided by the compiler, in addition to ones you can define yourself
return0e has quit []
return0e has joined #crystal-lang
<FromGitter> <watzon> Is the Riot integration not working anymore?
<FromGitter> <watzon> Or was it never working? Maybe I was using freenode last time
<FromGitter> <j8r> Riot.im ?
<FromGitter> <watzon> Si
watzon[m] has joined #crystal-lang
<watzon[m]> Hello world
<watzon[m]> Damn it, how do I get rid of the [m] in my nick?
<alex``> watzon[m]: //nick watzon
<alex``> /nick*
alex`` has quit [Ping timeout: 248 seconds]
alex`` has joined #crystal-lang
laaron has quit [Quit: ZNC 1.7.1 - https://znc.in]
laaron has joined #crystal-lang
<watzon[m]> Did it work?
<FromGitter> <r00ster91> no
<watzon[m]> Ahh oh well
<mps> watzon[m]: are you using matrix client?
moei has joined #crystal-lang
<watzon[m]> I am
<mps> that [m] is from matrix to irc gateway I think
<oprypin_> mps, https://github.com/oprypin/critter/wiki/Client-integration is a wiki, u would add a section with solutions for your client
<mps> oprypin_: I do not have github account. I can post my trigger to tpaste
<mps> actually, it is: `-rawin -regexp '(FromGitter)(.*).<(.*)>.\ (.*)' -replace '$3$2$4'`
<oprypin_> mps, email me a patch for https://github.com/oprypin/critter.wiki.git xD
<mps> this is for irssi with trigger.pl installed
<oprypin_> (is funny but im being serious, maybe except for the email part)
<mps> will look if understand how to make a patch
<oprypin_> mps, git clone; git commit; git show HEAD
<mps> ehm, simple. ok
<oprypin_> im saying this for 2 purposes: 1) keep authorship info 2) i hope to get a full textual description because i have no idea how irssi works
<mps> will try because I don't know how to make patch for github wiki :)
<mps> oprypin_: where to send patch? is using `git send-email` ok for you
<oprypin_> mps, sure :D
<oprypin_> thanks
alex`` has quit [Ping timeout: 246 seconds]
rohitpaulk has joined #crystal-lang
alex`` has joined #crystal-lang
<FromGitter> <j8r> I don't really like GitHub wiki, a proper repo is better
<FromGitter> <j8r> Likely a git repo under the ground
rohitpaulk has quit [Ping timeout: 248 seconds]
laaron- has joined #crystal-lang
laaron has quit [Remote host closed the connection]
moei has quit [Quit: Leaving...]
<alex``> what is the best choice to you between a command-line program with
<alex``> $ my-command --command 'echo %{1} %{2}'
<alex``> and
<alex``> $ my-command --command echo '%1' '%2'
<alex``> with --command taking an arg-list
<alex``> the first require a single parameter and use the shell
<alex``> the second uses an arg-list and replace %1 and %2 with their value (unexpanded)
wymillerlinux has quit [Read error: Connection reset by peer]
wymillerlinux has joined #crystal-lang