jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.12.0 | 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
trapped has quit [Read error: Connection reset by peer]
trapped has joined #crystal-lang
trapped has quit [Read error: Connection reset by peer]
vikaton has joined #crystal-lang
A124 has joined #crystal-lang
sp4rrow has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Virviil_ has joined #crystal-lang
Virviil has quit [Ping timeout: 248 seconds]
Virviil has joined #crystal-lang
Virviil_ has quit [Ping timeout: 250 seconds]
Kilo`byte has joined #crystal-lang
krtv` has joined #crystal-lang
sp4rrow has joined #crystal-lang
krtv` has quit [Ping timeout: 260 seconds]
matp has joined #crystal-lang
Virviil has quit [Ping timeout: 248 seconds]
sp4rrow has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
perks has joined #crystal-lang
shama has joined #crystal-lang
mgarciaisaia has joined #crystal-lang
mgarciaisaia has quit [Ping timeout: 276 seconds]
perks has quit [Quit: perks]
lunix4 has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
mgarciaisaia has joined #crystal-lang
lunix4 has quit [Quit: leaving]
mgarciaisaia has quit [Ping timeout: 252 seconds]
pawnbox has joined #crystal-lang
shama has quit [Remote host closed the connection]
shama has joined #crystal-lang
shama has quit [Ping timeout: 250 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
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
shama has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
vikaton has quit [Quit: Connection closed for inactivity]
shama has quit [Ping timeout: 250 seconds]
shama has joined #crystal-lang
shama has quit [Quit: (╯°□°)╯︵ɐɯɐɥs]
sp4rrow has joined #crystal-lang
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #crystal-lang
bjz has joined #crystal-lang
bjz_ has joined #crystal-lang
bjz has quit [Ping timeout: 260 seconds]
trapped has joined #crystal-lang
bjz has joined #crystal-lang
bjz_ has quit [Read error: Connection reset by peer]
Philpax has joined #crystal-lang
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mgarciaisaia has joined #crystal-lang
mgarciaisaia has quit [Ping timeout: 248 seconds]
Philpax has quit [Ping timeout: 276 seconds]
Gasher has joined #crystal-lang
sp4rrow has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
alsm has joined #crystal-lang
Gasher has quit [Quit: Leaving]
pawnbox has quit [Remote host closed the connection]
Gasher has joined #crystal-lang
pawnbox has joined #crystal-lang
Philpax has joined #crystal-lang
mgarciaisaia has joined #crystal-lang
mgarciaisaia has quit [Ping timeout: 276 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox_ has joined #crystal-lang
pawnbox has quit [Ping timeout: 248 seconds]
mgarciaisaia 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]
Philpax_ has joined #crystal-lang
Philpax has quit [Ping timeout: 252 seconds]
pawnbox has joined #crystal-lang
trapped has joined #crystal-lang
ruslux has joined #crystal-lang
<ruslux> Hello! Gist: https://gist.github.com/anonymous/afa77c347b8d5b93ee78 How access to subclass variables?
<ruslux> How to access to subclass variables without define in subclasses*
<BlaXpirit> ruslux, so this is pretty much a global?
<BlaXpirit> @@ is a class variable, so it's correct that it's not inherited
<BlaXpirit> ruslux, https://carc.in/#/r/thc
<BlaXpirit> smells like abuse of OOP
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ruslux> tnx!
Philpax_ has quit [Ping timeout: 252 seconds]
crystal-lang288 has joined #crystal-lang
crystal-lang288 has quit [Client Quit]
crystal-lang755 has joined #crystal-lang
trapped has joined #crystal-lang
crystal-lang755 has quit [Quit: Page closed]
pawnbox has quit [Ping timeout: 250 seconds]
<crystal-gh> [crystal] asterite pushed 2 new commits to master: https://git.io/v2M8e
<crystal-gh> crystal/master 87a7d2b meyer: added documentation for StaticArray
<crystal-gh> crystal/master f01ac4d Ary Borenszweig: Merge pull request #2232 from HeleneMyr/StaticArray...
mgarciaisaia has left #crystal-lang [#crystal-lang]
swav has joined #crystal-lang
<travis-ci> crystal-lang/crystal#f01ac4d (master - Merge pull request #2232 from HeleneMyr/StaticArray): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/113120931
Gasher has quit [Quit: Leaving]
<jokke> asterite: hi, i just helped a friend of mine write something in crystal that he'd done in ruby before. It's pretty straightforward json parsing of a lot of files. He then told me that crystal was many times slower than ruby. (15s vs 3s running time). CPU usage was maxed out so it can't be waiting for io either. Any clues? Here's the code: https://p.jreinert.com/Ag6/ruby
<jokke> (of course built with the --release flag)
<jokke> i've noticed before that the ruby json parser is very fast. but wouldn't have thought it's so much faster than crystal
pawnbox has joined #crystal-lang
<jokke> oh noes... D: i "found a bug in the compiler"
<jokke> cast to Crystal::ClassVarContainer failed
<jokke> ah i figured it out
<jokke> forgot to make the class generic
ruslux has quit [Remote host closed the connection]
mgarciaisaia1 has joined #crystal-lang
mgarciaisaia1 has quit [Ping timeout: 264 seconds]
mgarciaisaia has joined #crystal-lang
mgarciaisaia has left #crystal-lang [#crystal-lang]
<crystal-gh> [crystal] asterite pushed 2 new commits to master: https://git.io/v2M7q
<crystal-gh> crystal/master 34aa0ca Luke van der Hoeven: allow instantiation of URI client via URI...
<crystal-gh> crystal/master 4966026 Ary Borenszweig: Merge pull request #2213 from plukevdh/http-client-from-uri...
<crystal-gh> [crystal] asterite pushed 3 new commits to master: https://git.io/v2M5h
<crystal-gh> crystal/master 5ae609c Ary Borenszweig: Removed Matrix from the standard library. Moved to https://github.com/Exilor/matrix
<crystal-gh> crystal/master ce51d5c Ary Borenszweig: Compiler: decreased the maximum number of generic type nesting to 10. Fixes #2257
<crystal-gh> crystal/master a8d87d4 Ary Borenszweig: HTTP::Client: some small fixes, and removed unused code
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<travis-ci> crystal-lang/crystal#4966026 (master - Merge pull request #2213 from plukevdh/http-client-from-uri): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/113149890
_whitelogger has quit [Ping timeout: 264 seconds]
_whitelogger_ has joined #crystal-lang
<travis-ci> crystal-lang/crystal#a8d87d4 (master - HTTP::Client: some small fixes, and removed unused code): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/113152162
iamstef_ is now known as iamstef
emmanueloga has joined #crystal-lang
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
trapped has joined #crystal-lang
_whitelogger_ has quit [Excess Flood]
_whitelogger has joined #crystal-lang
<asterite> Though I don't know if that's the issue, I can't test it because I don't have any json input to test it
Raimondi has joined #crystal-lang
trapped has quit [Quit: Textual IRC Client: www.textualapp.com]
trapped has joined #crystal-lang
Gasher has joined #crystal-lang
shama has joined #crystal-lang
alsm has quit [Ping timeout: 252 seconds]
_whitelogger has quit [Excess Flood]
_whitelogger has joined #crystal-lang
sp4rrow has joined #crystal-lang
sp4rrow has quit [Client Quit]
sp4rrow has joined #crystal-lang
sp4rrow has quit [Quit: My Mac 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]
pawnbox has joined #crystal-lang
sp4rrow has joined #crystal-lang
<crystal-gh> [crystal] asterite opened pull request #2258: Syntax: special handling of tuple condition in case expression (master...feature/case_tuple_cond) https://git.io/v2DhU
<crystal-gh> [crystal] asterite fast-forwarded master from a8d87d4 to 426a198: https://git.io/v2Dh0
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
sp4rrow has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #crystal-lang
<RX14> https://aww.moe/38pzi5.txt the hell does this error message mean?
<RX14> crystal 0.12 btw
<RX14> i'm trying to update code from a while ago and i don't even get a useful error message
<RX14> so it's probably the archlinux distribution which is broken
<RX14> but why has noone noticed?
Ven has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven has joined #crystal-lang
<crystal-gh> [crystal] theodelaune opened pull request #2260: update manual installation ubuntu and debian [ci skip] (gh-pages...update-installation-debian-ubuntu) https://git.io/v2yCS
<thor77> can't reproduce
<thor77> RX14: yep
<RX14> strange
<RX14> thor77, you have crystal installed from the repositories?
<RX14> i have no idea then
<RX14> it happens even if I try to build a empty file
sp4rrow has joined #crystal-lang
<RX14> well i have no idea whats wrong
<thor77> did you try reinstalling it?
<RX14> several times
<thor77> from the official repos?
<RX14> yes
<RX14> ok, different problem
<RX14> I have two different methods with identical signatures in two different spec files
<RX14> and it's using the one not in the same file i'm calling the method from
<RX14> if there's a name confplict it should error
<RX14> and if there isn't, it should use the correct method
luislavena has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sp4rrow has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
krtv` has joined #crystal-lang
bjz has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sp4rrow has joined #crystal-lang
bjz has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/v2y6R
<crystal-gh> crystal/master 6325463 Ary Borenszweig: Macros: added `TypeNode#class`. Fixes #2259
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sp4rrow has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Philpax has joined #crystal-lang
sp4rrow has joined #crystal-lang
Philpax has quit [Ping timeout: 244 seconds]
<miketheman> I am trying to understand why if I compile a binary on my machine, and provide that to a coworker, they get an error on loading a library
<miketheman> `dyld: Library not loaded: /usr/local/lib/libevent-2.0.5.dylib`
<miketheman> when the binary is basically loading in only components from stdlib (http/client and json)
mgarciaisaia1 has joined #crystal-lang
Gasher has quit [Ping timeout: 276 seconds]
mgarciaisaia1 has left #crystal-lang [#crystal-lang]
Papierkorb has quit [Ping timeout: 248 seconds]
Papierkorb has joined #crystal-lang
<RX14> libevent is needed for IO
Gasher has joined #crystal-lang
<travis-ci> crystal-lang/crystal#6325463 (master - Macros: added `TypeNode#class`. Fixes #2259): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/113257846
<miketheman> RX14: I don't think I fully understand
<RX14> miketheman, you need the library
<RX14> it's required for every crystal program
Philpax has joined #crystal-lang
<miketheman> why wouldn't it be statically compiled into the binary at build time (especially with `--release` ?
<RX14> uhh, dunno
<RX14> most things aren't statically compiled
<RX14> why would this one be?
Philpax_ has joined #crystal-lang
<miketheman> ohooo - found another existing issue with similar questions: https://github.com/crystal-lang/crystal/issues/2003
<RX14> i think the interim solution is just to install said libraries
Philpax has quit [Ping timeout: 264 seconds]
<miketheman> yeah, I'm coming to that conclusion as well. It's not "perfect" since I wanted to dump a binary on a coworker and have them not need anyhting
<RX14> yeah, i agree with you
Philpax__ has joined #crystal-lang
<RX14> just watch the issue for now
<miketheman> anyhow, thanks for chatting! Heading on home.
<RX14> no problem
Philpax_ has quit [Ping timeout: 260 seconds]
Gasher has quit [Quit: Leaving]
trapped has quit [Read error: Connection reset by peer]
<crystal-gh> [crystal] asterite closed pull request #2258: Syntax: special handling of tuple condition in case expression (master...feature/case_tuple_cond) https://git.io/v2DhU
<crystal-gh> [crystal] asterite closed pull request #2239: Syntax: allow multiple expressions in a case condition (master...feature/case_multiple_expressions) https://git.io/v22xP
<crystal-gh> [crystal] asterite closed pull request #2252: Syntax: allow keyword names to be used for a TypeDeclaration node (master...feature/keyword_type_declaration) https://git.io/v2icZ