jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.15.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
Philpax has joined #crystal-lang
<|2701> someday offline documentation will be a thing, right?
pawnbox has joined #crystal-lang
DeBot has quit [Ping timeout: 252 seconds]
pawnbox has quit [Ping timeout: 276 seconds]
Philpax has quit [Ping timeout: 265 seconds]
sp4rrow has joined #crystal-lang
mjblack has joined #crystal-lang
Philpax has joined #crystal-lang
DeBot has joined #crystal-lang
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
|2701 has quit [Quit: Connection closed for inactivity]
Philpax has quit [Ping timeout: 246 seconds]
pawnbox has joined #crystal-lang
Philpax has joined #crystal-lang
pawnbox has quit [Ping timeout: 246 seconds]
mjblack has quit [Quit: ZNC - http://znc.in]
mjblack has joined #crystal-lang
matp has quit [Remote host closed the connection]
Philpax has quit [Ping timeout: 246 seconds]
mjblack has quit [Ping timeout: 260 seconds]
mjblack has joined #crystal-lang
pawnbox has joined #crystal-lang
sp4rrow has joined #crystal-lang
Philpax has joined #crystal-lang
pawnbox has quit [Ping timeout: 240 seconds]
Philpax has quit [Ping timeout: 246 seconds]
pawnbox has joined #crystal-lang
pawnbox_ has joined #crystal-lang
pawnbox has quit [Ping timeout: 260 seconds]
Philpax has joined #crystal-lang
trapped has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has joined #crystal-lang
Philpax has quit [Ping timeout: 246 seconds]
soveran has quit [Read error: Connection reset by peer]
soveran has joined #crystal-lang
<jsaak> I decided to help you guys. Any idea what needs to be done? I saw that <ctrl-C> crashes HttpServer, and missing Marshal.
matp has joined #crystal-lang
Davy_CC has quit [Ping timeout: 246 seconds]
Davy_CC has joined #crystal-lang
brunto has joined #crystal-lang
Davy_CC has quit [Ping timeout: 244 seconds]
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
Davy_CC has joined #crystal-lang
matp has quit [Ping timeout: 246 seconds]
trajing has quit [Ping timeout: 250 seconds]
RX14 has quit [Ping timeout: 260 seconds]
mark_66 has joined #crystal-lang
RX14 has joined #crystal-lang
trajing has joined #crystal-lang
Davy_CC has quit [Ping timeout: 265 seconds]
Davy_CC has joined #crystal-lang
sdogruyol has joined #crystal-lang
<sdogruyol> jsaak:
<sdogruyol> anything is welcome. From documentation to bug fixes, blog posts, PRs e.g :)
matp has joined #crystal-lang
Davy_CC has quit [Ping timeout: 276 seconds]
Davy_CC has joined #crystal-lang
<jsaak> thought so, but still if you have anything useful in mind, let me know (some low level stuff preferably)
Redfoxmoon has quit [Ping timeout: 260 seconds]
soveran has quit [Remote host closed the connection]
Kitt3n has joined #crystal-lang
<sdogruyol> i wish i also had a lot of low level experience :/
<sdogruyol> i am seriously surprised by the compile times after 0.16.0
kulelu88 has joined #crystal-lang
kulelu88 has quit [Changing host]
kulelu88 has joined #crystal-lang
Kitt3n has quit [Changing host]
Kitt3n has joined #crystal-lang
Kitt3n is now known as Redfoxmoon
ozra_ has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 250 seconds]
vegai has left #crystal-lang [#crystal-lang]
brunto has quit [Ping timeout: 260 seconds]
Philpax has joined #crystal-lang
brunto has joined #crystal-lang
pawnbox_ has quit [Remote host closed the connection]
kulelu88 has quit [Quit: Leaving]
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vrkXK
<crystal-gh> crystal/master 05779f7 Ary Borenszweig: Compiler: use new syntax for `as` in Cast#to_s
fryguy9 has joined #crystal-lang
<fryguy9> newbie question if someone can help...I am trying to create an instance variable that is a 2-dimensional Bool Array initialized to true, but I can't figure out the syntax...I'm sure I'm missing something simple, but can anyone help?
pawnbox has joined #crystal-lang
<BlaXpirit> >> Array.new 7 { Array.new 7 { true } }
<DeBot> BlaXpirit: # => [[true, true, true, true, true, true, true], [true, true, true, true, true, true, true], [true, true, true, true, true, true, true], [true, true, true, true, true, true, true], [true, true, true, true, true, true, true], [true, true, true, true, true, true, true], [true, true, true, true, true, true, true]] - https://carc.in/#/r/y6x
<BlaXpirit> fryguy9,
<fryguy9> ohhhh...block syntax to new...totally forgot about that
<fryguy9> thanks!
<travis-ci> crystal-lang/crystal#05779f7 (master - Compiler: use new syntax for `as` in Cast#to_s): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/129396070
jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.16.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
fryguy9 has quit [Quit: Leaving.]
fryguy9 has joined #crystal-lang
fryguy9 has quit [Client Quit]
mgarciaisaia has joined #crystal-lang
mgarciaisaia has left #crystal-lang [#crystal-lang]
|2701 has joined #crystal-lang
mgarciaisaia has joined #crystal-lang
Philpax has quit [Ping timeout: 252 seconds]
mgarciaisaia has quit [Quit: Leaving.]
fryguy9 has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
soveran has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
soveran has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
mgarciaisaia has joined #crystal-lang
mgarciaisaia has left #crystal-lang [#crystal-lang]
Philpax has joined #crystal-lang
mgarciaisaia1 has joined #crystal-lang
mgarciaisaia1 has left #crystal-lang [#crystal-lang]
LastWhisper____ has joined #crystal-lang
LastWhisper____ has quit [Read error: Connection reset by peer]
fryguy9 has quit [Quit: Leaving.]
Raimondi has quit [Quit: The road to wisdom?—Well, it's plain and simple to express: Err and err and err again, but less and less and less. — Piet Hein]
Raimondi has joined #crystal-lang
ozra_ has quit [Ping timeout: 260 seconds]
ozra_ has joined #crystal-lang
LastWhisper____ has joined #crystal-lang
fryguy9 has joined #crystal-lang
mgarciaisaia has joined #crystal-lang
mgarciaisaia has left #crystal-lang [#crystal-lang]
brunto has quit [Ping timeout: 276 seconds]
mjblack has quit [Ping timeout: 260 seconds]
LastWhisper____ has quit [Ping timeout: 260 seconds]
<crystal-gh> [crystal] asterite pushed 3 new commits to master: https://git.io/vrIaV
<crystal-gh> crystal/master ca3deb1 Ary Borenszweig: Compiler: guess type from `exp.as(typeof(something))` from `something` (useful for the playground and other tools)
<crystal-gh> crystal/master ee1d53b Ary Borenszweig: Playground: use `exp.as(typeof(ex))` when instrumenting assignments to global, class and instance vars. Fixes #2561
<crystal-gh> crystal/master f39d72f Ary Borenszweig: Playground: don't error if old temporary file couldn't be deleted
Raimondi has quit [Quit: The road to wisdom?—Well, it's plain and simple to express: Err and err and err again, but less and less and less. — Piet Hein]
fryguy9 has quit [Quit: Leaving.]
Raimondi has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vrIVn
<crystal-gh> crystal/master 9ca8169 Ary Borenszweig: Fixed #2578: Benchmark.bm didn't compile
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vrIwS
<crystal-gh> crystal/master 92248ac Ary Borenszweig: Formatter: fixed wrong format for named tuple inside tuple
|2701 has quit [Quit: Connection closed for inactivity]
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vrIrz
<crystal-gh> crystal/master cd28b3e Ary Borenszweig: Compiler: fixed `ASTNode#to_s` for tuple/hash inside tuple/hash
<travis-ci> crystal-lang/crystal#f39d72f (master - Playground: don't error if old temporary file couldn't be deleted): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/129471534
mjblack has joined #crystal-lang
<travis-ci> crystal-lang/crystal#9ca8169 (master - Fixed #2578: Benchmark.bm didn't compile): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/129472885
fryguy9 has joined #crystal-lang
mark_66 has quit [Remote host closed the connection]
Raimondi has quit [Quit: The road to wisdom?—Well, it's plain and simple to express: Err and err and err again, but less and less and less. — Piet Hein]
Raimondi has joined #crystal-lang
<travis-ci> crystal-lang/crystal#cd28b3e (master - Compiler: fixed `ASTNode#to_s` for tuple/hash inside tuple/hash): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/129475362
Excureo has quit [Remote host closed the connection]
LastWhisper____ has joined #crystal-lang
brunto has joined #crystal-lang
A124 has quit [Quit: '']
A124 has joined #crystal-lang
<jokke> there's currently no xml serialization in crystal right?
Raimondi has quit [Quit: The road to wisdom?—Well, it's plain and simple to express: Err and err and err again, but less and less and less. — Piet Hein]
Raimondi has joined #crystal-lang
sdogruyol has quit [Quit: Connection closed for inactivity]
<asterite> jokke: nope
fryguy91 has joined #crystal-lang
fryguy92 has joined #crystal-lang
fryguy9 has quit [Ping timeout: 252 seconds]
brunto has quit [Read error: Connection reset by peer]
fryguy91 has quit [Ping timeout: 276 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
<jhass> asterite: wanna port DeBot to 0.16? :P
<BlaXpirit> jhass, not funny
<jhass> 0.15 and 0.16 basically made its plugin system impossible
<BlaXpirit> oh man :(
<BlaXpirit> yeah it caused me some grief, it's not just annotations
fryguy92 has quit [Quit: Leaving.]
fryguy9 has joined #crystal-lang
|2701 has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vrLcO
<crystal-gh> crystal/master 170d227 Ary Borenszweig: Compiler: error fast when lib function isn't found. Fixes #2579
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 252 seconds]
<travis-ci> crystal-lang/crystal#170d227 (master - Compiler: error fast when lib function isn't found. Fixes #2579): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/129527832
<crystal-gh> [crystal] asterite opened pull request #2580: Compiler: implement double splat (master...feature/double_splat) https://git.io/vrLlb
ldleworker has left #crystal-lang ["0.4.2"]
mjblack has quit [Ping timeout: 244 seconds]
<asterite> jhass: why impossible?
<jhass> well, I don't know how to port it
<asterite> I can try to do it :-)
<jhass> can't infer a variable and can't type it explicitly since we can't do T::Config or so still
<asterite> I will try to port this during the week, or next wekk. I'm sure there's a way
<BlaXpirit> jhass, does carc.in run on 0.16?
<jhass> yeah, just ported it earlier
<BlaXpirit> good job. do you have any interest in my earlier suggestion? https://gist.github.com/BlaXpirit/8b1c593b3782f10d6a71
<jhass> still unsure, adding it as mode will require more work than I'm able to invest atm, since the initial design didn't consider to vary on a third parameter besides language and version
<BlaXpirit> could be like a special language with one version
<jhass> and adding that should probably split into three separate dropdowns at the same time anyway
<jhass> feels like a hack :)
<BlaXpirit> not that hacky
<jhass> well, compared to properly supporting "mode"s
<jhass> which could enable llvm-ir dump and stuff like that as well
<BlaXpirit> the thing is... this conversion would benefit from being baked into an executable, and the support of different crystal versions may make it slower
<BlaXpirit> you need to compile something that would transform code in this way, and it needs to be at the same version as what you'll be running it on
<BlaXpirit> my main idea was adding a language "crystal latest + wrapping last expression"
mjblack has joined #crystal-lang
<asterite> how about a flag in the compiler to allow nesting definitions? I know it can lead to code that shouldn't compile for real, but since this is just to try things out it's probably useful
<asterite> We have a similar issue in the playground
<jhass> seems like a workaround, I'd probably prefer a "inspect last expression" eval mode
<BlaXpirit> crystal eval could use it too
<BlaXpirit> to make it an actual eval
AngryBuzzy has joined #crystal-lang
<BlaXpirit> we're also forgetting about the other advantage of my suggestion - it turns oneliners into more readable code
<BlaXpirit> which neither of the suggested alternatives take care of
mjblack has quit [Ping timeout: 244 seconds]
sp4rrow has joined #crystal-lang
mjblack has joined #crystal-lang
aemadrid has quit [Ping timeout: 276 seconds]
guilleiguaran__ has quit [Ping timeout: 276 seconds]
aemadrid has joined #crystal-lang
guilleiguaran__ has joined #crystal-lang
tomchapin has joined #crystal-lang
tomchapin has quit [Client Quit]
pawnbox has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has joined #crystal-lang
pawnbox has quit [Ping timeout: 260 seconds]
<crystal-gh> [crystal] kostya opened pull request #2581: add cfiles (master...cfiles) https://git.io/vrLwy
mgarciaisaia has joined #crystal-lang
mgarciaisaia has quit [Quit: Leaving.]
mgarciaisaia has joined #crystal-lang
mgarciaisaia has quit [Client Quit]
mgarciaisaia has joined #crystal-lang
soveran has quit [Read error: Connection reset by peer]
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has joined #crystal-lang
fryguy9 has quit [Quit: Leaving.]
AngryBuzzy has quit [Quit: Leaving]
LastWhisper____ has quit [Ping timeout: 240 seconds]
fryguy9 has joined #crystal-lang
fryguy9 has quit [Client Quit]
soveran has quit [Remote host closed the connection]
<|2701> made a little hexdumper. harsh and sarcastic criticism welcome: http://pastebin.com/QYMeR6p2
<|2701> also I promise I dont indent like that, not sure why pastebin did that, how stupid
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 276 seconds]
<jhass> gist already has crystal syntax highlighting ;)
<jhass> >> puts "abcefg".to_slice.hexdump
<DeBot> jhass: 6162 6365 6667 abcefg - more at https://carc.in/#/r/y8p
<|2701> I wrote this as a conversion of some ruby that I wrote that looks almost the same
<|2701> I didnt realize it was already a thing
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
Yxhuvud has quit [Remote host closed the connection]
mgarciaisaia has quit [Quit: Leaving.]
Yxhuvud has joined #crystal-lang
mgarciaisaia has joined #crystal-lang
mgarciaisaia has quit [Client Quit]
pawnbox has joined #crystal-lang
mgarciaisaia has joined #crystal-lang
pawnbox has quit [Ping timeout: 246 seconds]
mgarciaisaia has left #crystal-lang [#crystal-lang]
trapped has quit [Ping timeout: 252 seconds]
Philpax has quit [Ping timeout: 252 seconds]
mgarciaisaia has joined #crystal-lang