jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.18.7 | Fund Crystals 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
onethirtyfive has quit [Remote host closed the connection]
onethirtyfive has joined #crystal-lang
triangles has joined #crystal-lang
triangles3 has joined #crystal-lang
onethirtyfive has quit [Ping timeout: 255 seconds]
triangles2 has quit [Ping timeout: 252 seconds]
triangles has quit [Ping timeout: 265 seconds]
willl has quit [Quit: Connection closed for inactivity]
triangles has joined #crystal-lang
triangles3 has quit [Ping timeout: 252 seconds]
ome has joined #crystal-lang
daekano has quit [Ping timeout: 250 seconds]
Liothen has quit [Ping timeout: 276 seconds]
Liothen has joined #crystal-lang
daekano has joined #crystal-lang
Liothen has quit [Ping timeout: 260 seconds]
Liothen has joined #crystal-lang
bmcginty has left #crystal-lang [#crystal-lang]
<crystal-gh> [crystal] asterite pushed 2 new commits to master: https://git.io/vi33n
<crystal-gh> crystal/master 9365b25 Ary Borenszweig: Merge pull request #3247 from grosser/grosser/fast-string...
<crystal-gh> crystal/master a009934 Michael Grosser: make flag addition code simpler and faster
<crystal-gh> [crystal] asterite pushed 2 new commits to master: https://git.io/vi33W
<crystal-gh> crystal/master 7ea54e2 Michael Grosser: OptionParser: parse arguments from shorflag if it is only referenced on longflag
<crystal-gh> crystal/master fa22a8d Ary Borenszweig: Merge pull request #3246 from grosser/grosser/short-arg...
<travis-ci> crystal-lang/crystal#9365b25 (master - Merge pull request #3247 from grosser/grosser/fast-string): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/157535201
<DeBot> https://github.com/crystal-lang/crystal/pull/3247 (OptionParser: make flag addition code simpler and faster)
Philpax has quit [Ping timeout: 244 seconds]
<travis-ci> crystal-lang/crystal#fa22a8d (master - Merge pull request #3246 from grosser/grosser/short-arg): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/157535381
<DeBot> https://github.com/crystal-lang/crystal/pull/3246 (OptionParser: parse arguments from shorflag if it is only referenced …)
onethirtyfive has joined #crystal-lang
onethirtyfive has quit [Ping timeout: 240 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 265 seconds]
bungoman has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 244 seconds]
mkl0501 has joined #crystal-lang
Philpax has joined #crystal-lang
mkl0501 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
ome has quit [Quit: Connection closed for inactivity]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 264 seconds]
onethirtyfive has joined #crystal-lang
onethirtyfive has quit [Ping timeout: 252 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 260 seconds]
xmgx has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 250 seconds]
onethirtyfive has joined #crystal-lang
onethirtyfive has quit [Ping timeout: 264 seconds]
mark_66 has joined #crystal-lang
Nik736 has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
ruslux has joined #crystal-lang
<ruslux> Hi! What happened? This is a joke: https://github.com/crystal-lang/crystal/issues/3257 ? What future for Crystal?
<BlaXpirit> ruslux, ...
xmgx has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
<BlaXpirit> what happened: some idiot wrote an idiotic message
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
bjz has joined #crystal-lang
Philpax has quit [Ping timeout: 240 seconds]
ruslux has quit [Quit: Page closed]
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bjz has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bjz has joined #crystal-lang
crystal-lang208 has joined #crystal-lang
crystal-lang208 has quit [Ping timeout: 264 seconds]
onethirtyfive has joined #crystal-lang
onethirtyfive has quit [Ping timeout: 252 seconds]
Nik736 has quit [Read error: Connection reset by peer]
Nik736_ has joined #crystal-lang
triangles2 has joined #crystal-lang
triangles has quit [Ping timeout: 252 seconds]
crystal-lang769 has joined #crystal-lang
crystal-lang769 has quit [Client Quit]
crystal-lang570 has joined #crystal-lang
crystal-lang570 has quit [Ping timeout: 264 seconds]
globalkeith has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
Philpax has joined #crystal-lang
onethirtyfive has joined #crystal-lang
pawnbox has quit [Ping timeout: 265 seconds]
pawnbox has joined #crystal-lang
onethirtyfive has quit [Ping timeout: 240 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
raMp has joined #crystal-lang
Nicely has joined #crystal-lang
Nicely has left #crystal-lang [#crystal-lang]
Nicely has joined #crystal-lang
Nicely has left #crystal-lang [#crystal-lang]
bjz has quit [Ping timeout: 276 seconds]
bjz_ has joined #crystal-lang
<FromGitter> <sdogruyol> wtf is this
tomchapin has joined #crystal-lang
tomchapi_ has quit [Ping timeout: 240 seconds]
<BlaXpirit> hm how can I make crystal doc ignore a particular file?
<FromGitter> <sdogruyol> that's not possible as far as i know
<BlaXpirit> it's an optional part of my library which has an optional dependency and i probably just don't want to generate docs for it
raMp has left #crystal-lang ["Konversation terminated!"]
<FromGitter> <wrq> is the Code of Conduct for Crystal going to be removed, or is a free-speech fork of Crystal going to be open? I'm working on a large free-speech communication protocol, and it's unethical for me to use Crystal as it current exists. Backend is in Scala right now, and it works, but I wanted to experiment with Crystal...
<FromGitter> <sdogruyol> @wrq what's that?
<FromGitter> <wrq> in the repo, there's a Code_of_Conduct.md
<FromGitter> <sdogruyol> yes
<FromGitter> <wrq> It's unethical for anybody interested in free-speech to use Crystal because of the language of that document
<BlaXpirit> wrq, contribute, not use
<FromGitter> <wrq> To use is to implicitly support its development.
<BlaXpirit> and most of that applies only for official representatives of crystal prorgamming language, as far as i understand
<BlaXpirit> sdogruyol, ah I just explicitly point `crystal doc` to the main file that imports all the library, that works well
<FromGitter> <sdogruyol> oh, that makes sense, like an intro file for docs?
<FromGitter> <wrq> So this is a wontfix issue, then?
<FromGitter> <sdogruyol> @wrq how about opening an issue or asking in google groups for that
<FromGitter> <sdogruyol> would be better
<BlaXpirit> wrq, we've had a guy come here being passive aggressive about the license, but doing no real action about it
<FromGitter> <wrq> I'm fine with the license
<BlaXpirit> well he was fine with the CoC (hopefully) but that's not the point
<FromGitter> <wrq> but like I am dealing with a very large-scale backend. I really WANT to rewrite it, because I'm not a big fan of Scala, but my hands are tied unless that Code of Conduct is removed.
<BlaXpirit> if you have real arguments against this, collect them in an organized writeup, and post that, probably in the mailing list
<BlaXpirit> to me this is ridiculous though
<FromGitter> <wrq> It's objectively unethical.
<BlaXpirit> (the CoC itself is ridiculous, and calling it unethical is ridiculous)
<FromGitter> <wrq> Thanks for taking it so serious though, I can tell you're really fighting for the users on this one.
<BlaXpirit> wrq, i don't represent the project.
<FromGitter> <sdogruyol> @wrq i really think that you should take this to google groups or gh issues
<FromGitter> <wrq> I never implied that you did.
<BlaXpirit> if YOU want to be serious about it, you collect the arguments and convince people in an organized way
<FromGitter> <wrq> I'm not a maintainer.
<FromGitter> <wrq> I have a reasonable amount of time and money to spend developing our/my project, but at the end of the day my job is to develop it, not serve as a developer evangelist for Crystal. I'd very much like to use Crystal to do this, but I'm not obligated to herd cats to have it adhere to ethicality. It's not my language, I didn't make it, I don't own it. It speaks volumes that maintainers are not interested in this issue, and I think the
<FromGitter> ... Crystal project's success will echo accordingly.
<BlaXpirit> wrq, how do you know maintainers are not interested?
<FromGitter> <wrq> It's been there for 7 months.
<FromGitter> <wrq> I've had my eye on Crystal for some time.
<RX14> and they don't even know there's an issue
<BlaXpirit> well maybe that's because it's not a problem, as nobody has brought it up as far as I know
<FromGitter> <wrq> Other languages too, but Crystal in particular.
<BlaXpirit> if you're just being passive-aggressive here at one point in time in an ephemeral chat where none of the maintainers are present, then it'll just stay this way
<FromGitter> <wrq> That's not reassuring.
<BlaXpirit> i should say "when" none of the maintainers are present, not "where"
mark_66 has quit [Remote host closed the connection]
<Tophe> hi all, about GC/Kemal , is it possible to have out of the bang GC, that 's to say have the GC run after each query has been done ?
mark_66 has joined #crystal-lang
mark_66 has quit [Remote host closed the connection]
mark_66 has joined #crystal-lang
<FromGitter> <sdogruyol> that's a good question. I also wanna know that :P
xmgx has joined #crystal-lang
onethirtyfive has joined #crystal-lang
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #crystal-lang
onethirtyfive has quit [Ping timeout: 258 seconds]
mkl0501 has joined #crystal-lang
tilpner_ has joined #crystal-lang
tilpner has quit [Ping timeout: 244 seconds]
tilpner_ is now known as tilpner
<Tophe> about kemal, how to achive stoping log to stdout
<Tophe> when I do :
<Tophe> Kemal.config.logging = false
<Tophe> the server doesn't serve anything
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vislI
<crystal-gh> crystal/master 8bd15bc Ary Borenszweig: String#sub: fix incorrect behaviour with multibyte string. Fixes #3258
<FromGitter> <sdogruyol> @Tophe are you sure about that?
<FromGitter> <sdogruyol> have you tried going to app url from the browser
<FromGitter> <sdogruyol> okay, seems like there's a regression
mkl0501 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<FromGitter> <sdogruyol> @Tophe i've released https://github.com/sdogruyol/kemal/releases/tag/v0.15.1 thanks for the report
<travis-ci> crystal-lang/crystal#8bd15bc (master - String#sub: fix incorrect behaviour with multibyte string. Fixes #3258): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/157654673
<DeBot> https://github.com/crystal-lang/crystal/issues/3258 (Incorrect result of String#sub when the specified pattern is multi-byte string.)
<BlaXpirit> I would like to test my library (bindings) for GC-correctness. is there any way to force garbage collection to be fired all the time? like, after every line of code
<Tophe> @sdogruyol : now the logging = false work but I have 18% of cpu usage by kemal proc !
<Tophe> when I don't use the kemal apps it consume a lot of cpu (more than the prec release)
<Tophe> Tophe 31198 0.0 0.0 51616 9080 pts/48 Sl+ 17:13 0:00 | | \_ ruby starter.rb
<Tophe> Tophe 31203 26.0 0.2 185020 65872 pts/48 Sl+ 17:13 0:11 | | \_ ./server --part 1
<Tophe> Tophe 31206 25.9 0.1 184816 60332 pts/48 Sl+ 17:13 0:11 | | \_ ./server --part 2
<Tophe> Tophe 31200 26.0 0.1 179004 62688 pts/48 Sl+ 17:13 0:11 | | \_ ./server --part 0
<Tophe> Tophe 31209 26.0 0.1 176372 60072 pts/48 Sl+ 17:13 0:11 | | \_ ./server --part 3
<Tophe> Tophe 31226 26.0 0.1 176604 60064 pts/48 Sl+ 17:13 0:11 | | \_ ./server --part 4
<Tophe> Tophe 31229 26.0 0.2 186728 69028 pts/48 Sl+ 17:13 0:11 | | \_ ./server --part 5
<BlaXpirit> oh boy
<Tophe> Tophe 31232 25.6 0.1 176624 60064 pts/48 Sl+ 17:13 0:11 | | \_ ./server --part 6
<Tophe> Tophe 31256 25.8 0.2 184820 68504 pts/48 Sl+ 17:13 0:11 | | \_ ./server --part 7
<Tophe> that's 8 kemal app, waiting for connexion, consuming cpu
<Tophe> oh, it seems it's not a kemal problem !
<Tophe> the top proxy, is ok
<Tophe> Tophe 32262 0.0 0.0 118816 3124 pts/48 Sl+ 17:15 0:00 | | \_ ./proxy
mkl0501 has joined #crystal-lang
<FromGitter> <sdogruyol> cool
<FromGitter> <crisward> crystal 0.19 - 'unexpected token : as'
onethirtyfive has joined #crystal-lang
<FromGitter> <crisward> Is there a crystal 0.19 update guide anywhere?
onethirtyfive has quit [Ping timeout: 260 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
jwaldrip_ has joined #crystal-lang
jnylen_ has joined #crystal-lang
guilleiguaran___ has joined #crystal-lang
Papierko- has joined #crystal-lang
<RX14> @crisward run crystal tool format
guilleiguaran__ has quit [Ping timeout: 260 seconds]
jnylen has quit [Ping timeout: 260 seconds]
DeBot has quit [Ping timeout: 260 seconds]
jwaldrip has quit [Ping timeout: 260 seconds]
buggs has quit [Ping timeout: 260 seconds]
Papierkorb has quit [Ping timeout: 260 seconds]
<RX14> you might need to do it on 0.18.7
CompanionCube has quit [Ping timeout: 260 seconds]
<RX14> but it will upgrade your syntax
jnylen_ is now known as jnylen
CompanionCube has joined #crystal-lang
jwaldrip_ is now known as jwaldrip
<FromGitter> <crisward> Thanks for that - magic!
guilleiguaran___ is now known as guilleiguaran__
<FromGitter> <peterschols> Hi, I have a question regarding YAML generation. ⏎ I have a custom class Test with the following code: ⏎ ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=57cd957c896559723041b6bd]
A124 has joined #crystal-lang
Liothen has quit [Changing host]
Liothen has joined #crystal-lang
buggs has joined #crystal-lang
pawnbox has quit [Ping timeout: 264 seconds]
globalkeith has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
globalkeith has joined #crystal-lang
globalkeith has quit [Client Quit]
xmgx has quit [Remote host closed the connection]
<FromGitter> <crisward> The JSON.mapping works as you describe. So, yes I think it should work.
<FromGitter> <crisward> not working for me either
steenuil has quit [Quit: Textual IRC Client: www.textualapp.com]
<RX14> huh
<RX14> doesn't look like YAML.mapping handles serialization
pawnbox has joined #crystal-lang
<asterite> We don't have automatic to_yaml yet because YAML can have recursive structures and so it's much more tricky do implement than in JSON
guest408 has joined #crystal-lang
<RX14> oh...
_whitelogger has joined #crystal-lang
mark_66 has quit [Quit: Leaving.]
onethirtyfive has joined #crystal-lang
onethirtyfive has quit [Ping timeout: 265 seconds]
mkl0501 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<FromGitter> <peterschols> @crisward @RX14 @asterite thanks for the insights.
guest408 has quit [Ping timeout: 264 seconds]
go|dfish has quit [Ping timeout: 250 seconds]
go|dfish has joined #crystal-lang
kulelu88 has joined #crystal-lang
<Yxhuvud> "Assignment to a local variable inside an assignment to that same variable is now an error" <- hmm, that also broke assignment to a local variable with the same name as the method on the right hand side.
<Yxhuvud> which may be ok as that is not good style but the error was a bit cryptic
hmans has joined #crystal-lang
<hmans> \o/
<asterite> Yxhuvud: yes, that was the original thing to fix... maybe the description in the changelog isn't very good :(
<Yxhuvud> asterite: I see that after reading the issue. I'd suggest trying to find a better compiler error as the current one is more or less nonsense for the simple case of x = x where the RHS is a method call.
<Yxhuvud> perhaps ".. variable or method name .."
ponga has quit [Quit: Connection closed for inactivity]
onethirtyfive has joined #crystal-lang
onethirtyfive has quit [Ping timeout: 265 seconds]
<BlaXpirit> doesn't the GC have cycle detection? :O
badeball_ has joined #crystal-lang
A124 has quit [Disconnected by services]
A124 has joined #crystal-lang
yossarian has joined #crystal-lang
yossarian has quit [Excess Flood]
yossarian has joined #crystal-lang
Papierko- has quit [*.net *.split]
jwaldrip has quit [*.net *.split]
Philpax has quit [*.net *.split]
txdv has quit [*.net *.split]
badeball has quit [*.net *.split]
danzilio has quit [*.net *.split]
woodruffw has quit [*.net *.split]
aarongodin has quit [*.net *.split]
kiliankoe has quit [*.net *.split]
Papierkorb has joined #crystal-lang
danzilio has joined #crystal-lang
aarongodin has joined #crystal-lang
kiliankoe has joined #crystal-lang
Philpax has joined #crystal-lang
jwaldrip has joined #crystal-lang
txdv has joined #crystal-lang
danzilio has quit [Ping timeout: 258 seconds]
danzilio has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
vasilakisfil has joined #crystal-lang
pawnbox has quit [Ping timeout: 265 seconds]
vasilakisfil has left #crystal-lang [#crystal-lang]
globalkeith has joined #crystal-lang
globalkeith has quit [Client Quit]
Ven_ has joined #crystal-lang
globalkeith has joined #crystal-lang
globalkeith has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
globalkeith has joined #crystal-lang
globalkeith has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 265 seconds]
onethirtyfive has joined #crystal-lang
Nik736_ has quit [Quit: Textual IRC Client: www.textualapp.com]
Ven_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
onethirtyfive has quit [Ping timeout: 250 seconds]
davydov_anton has joined #crystal-lang
davydov_anton has quit [Client Quit]
<crystal-gh> [crystal] asterite pushed 2 new commits to master: https://git.io/visxk
<crystal-gh> crystal/master 9130ec7 Ary Borenszweig: Compiler: resolve numeric constants and math expressions in type lookup. Fixes #3259
<crystal-gh> crystal/master 5cfb4fd Ary Borenszweig: Compiler: fixed wrong RegexLiteral#to_s with slashes. Fixes #3260
pawnbox has joined #crystal-lang
bjz_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has quit [Ping timeout: 260 seconds]
<travis-ci> crystal-lang/crystal#9130ec7 (master - Compiler: resolve numeric constants and math expressions in type lookup. Fixes #3259): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/157744549