jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.18.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
Oliphaunte has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 244 seconds]
matp_ has joined #crystal-lang
matp has quit [Ping timeout: 244 seconds]
matp_ has quit [Ping timeout: 264 seconds]
matp has joined #crystal-lang
kulelu88 has joined #crystal-lang
dgaff has joined #crystal-lang
pilne has quit [Quit: Quitting!]
paulcsmith_ has joined #crystal-lang
soveran has joined #crystal-lang
paulcsmith_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
soveran has quit [Ping timeout: 276 seconds]
paulcsmith_ has joined #crystal-lang
kulelu88 has quit [Quit: Leaving]
Oliphaunte has quit [Remote host closed the connection]
ome has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 276 seconds]
paulcsmith_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
snsei has joined #crystal-lang
trapped has quit [Read error: Connection reset by peer]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
slash_ni1k has quit [Changing host]
slash_ni1k has joined #crystal-lang
slash_ni1k is now known as slash_nick
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
qard has joined #crystal-lang
datanoise has joined #crystal-lang
soveran has joined #crystal-lang
<FromGitter> <jwoertink> I'm running in to this compile error which confuses me a little. I understand why I get the error, and how to fix it, but I'm more curious as to how others handle this
<FromGitter> <jwoertink> ```crystal ⏎ @things = [] of String ⏎ x = case "1" ⏎ when "1" ⏎ "A" ⏎ when "2" ⏎ "B" ⏎ end ⏎ ⏎ @things << x ⏎ ``` [https://gitter.im/crystal-lang/crystal?at=5762356863ea0987306b6459]
<FromGitter> <jwoertink> The error I get is `Couldn't find overloads for these types: ⏎ - Array(String)#<<(value : Nil)`
<FromGitter> <jmoriau> add an else clause
<FromGitter> <jwoertink> Yeah, I noticed that fixes the issue, but in my case, the code will never hit an else clause, so I don't see a reason to have it
<FromGitter> <jwoertink> but is that the normal way people would handle that?
<FromGitter> <jwoertink> Also just doing a `raise "fail" if x.nil?` fixes it too.
FromGitter has quit [Quit: Shutting down]
soveran has quit [Ping timeout: 244 seconds]
<FromGitter> <jmoriau> well you tell the compiler @things are all of type String but with no else clause it can't know that x won't sometimes be nil. So when you add x to things it will tell you that it can't do that because x might be nil.
<FromGitter> <jwoertink> so doing something like `else ""` wouldn't be weird?
<FromGitter> <jmoriau> instead of using a case you could just use a hash with the corresponding key/value and something ⏎ like ⏎ ``` ⏎ @things << values[x] ⏎ ``` [https://gitter.im/crystal-lang/crystal?at=576236deda1c26b045369b2e]
ome has quit [Quit: Connection closed for inactivity]
<FromGitter> <jmoriau> (the hash being a constant you define elsewhere)
<FromGitter> <jwoertink> Thanks. I'll mess around with other ways of doing it.
soveran has joined #crystal-lang
Dreamer3 has quit [Ping timeout: 246 seconds]
Dreamer3 has joined #crystal-lang
snsei has quit [Remote host closed the connection]
matp has quit [Ping timeout: 264 seconds]
qard has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
snsei has joined #crystal-lang
qard has joined #crystal-lang
qard has quit [Client Quit]
snsei has quit [Ping timeout: 272 seconds]
datanoise has quit [Ping timeout: 264 seconds]
badeball_ is now known as badeball
Guest__ has joined #crystal-lang
coderobe has quit [Ping timeout: 250 seconds]
datanoise has joined #crystal-lang
<Davy_CC> In http://crystal-lang.org/docs/syntax_and_semantics/assignment.html, it says: "Each of the above kinds of variables will be explained later on." But the section of "Local variables"(4.3) and "Global variables"(4.4) are before "Assignment"(4.5), should we changes the order make this more fluent? (Assignment then Local/Global variable)
datanoise has quit [Ping timeout: 244 seconds]
<BlaXpirit> how can I make a union type at compile time based on a value? for example,
<BlaXpirit> >> Union(String, typeof(5))
<DeBot> BlaXpirit: # => (Int32 | String) - https://carc.in/#/r/11s7
<BlaXpirit> lol well that just worked, nevermind
<BlaXpirit> >> $a : String | typeof(5) # was what failed for me, I think
<DeBot> BlaXpirit: # => nil - https://carc.in/#/r/11s8
<BlaXpirit> wow, this also works. it's a recent addition because it doesn't work in 0.17
Raimondi has quit [Ping timeout: 240 seconds]
<Davy_CC> BlaXpirit: It also works on 0.17.4
<Davy_CC> oops my mistake, it doesn't work
<Davy_CC> and doesn't on 0.18, either
<Davy_CC> It just failed and carc.in returns `nil` maybe cause to the warpper for IRC requests
<BlaXpirit> yeah, so none of this actually works where it matters
<BlaXpirit> so back to my question :(
<BlaXpirit> it can be in a macro, what I'm looking to achieve is this https://carc.in/#/r/11si
<Davy_CC> >> Array(typeof(123) | typeof(1.2) | String)
<DeBot> Davy_CC: # => Array(Float64 | Int32 | String) - https://carc.in/#/r/11sk
<BlaXpirit> Davy_CC, it works alone but not when it is a type annotation
<BlaXpirit> >> $a : Array(typeof(123) | typeof(1.2) | String)
<DeBot> BlaXpirit: # => nil - https://carc.in/#/r/11sl
<BlaXpirit> >> $a : Array(typeof(123) | typeof(1.2) | String); typeof($a)
<DeBot> BlaXpirit: can't use 'typeof' here - https://carc.in/#/r/11so
<Davy_CC> >> alias SameAsInt32 = typeof(1 + 2)
<DeBot> Davy_CC: can't declare alias dynamically - https://carc.in/#/r/11sq
<BlaXpirit> it's pointless trying with this bot
<Davy_CC> no, it seem like kind of bug
<BlaXpirit> Davy_CC, the last one you did is due to the bot
<Davy_CC> "typeof is allowed in the type grammar. It returns a union type of the type of the passed expressions"
<Davy_CC> #=> Error in line 1: can't use typeof inside alias declaration
<BlaXpirit> for sure
<BlaXpirit> I mean that's why I've been trying these things, because I recalled this part of the docs
<Davy_CC> sorry for trying the bot
datanoise has joined #crystal-lang
<BlaXpirit> will make issue
pawnbox has joined #crystal-lang
<crystal-gh> [crystal] jhass pushed 1 new commit to master: https://git.io/vo0o8
<crystal-gh> crystal/master 6bd231e Jonne Haß: Improve System.hostname spec, related to #2847
datanoise has quit [Ping timeout: 244 seconds]
rvchangue has quit [Ping timeout: 258 seconds]
rvchangue has joined #crystal-lang
Philpax has joined #crystal-lang
<jhass> Davy_CC: re assignment docs, that probably makes sense, yeah
trapped has joined #crystal-lang
<travis-ci> crystal-lang/crystal#6bd231e (master - Improve System.hostname spec, related to #2847): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/138026980
matp has joined #crystal-lang
soveran has quit [Remote host closed the connection]
datanoise has joined #crystal-lang
datanoise has quit [Ping timeout: 250 seconds]
ruslux has joined #crystal-lang
dhk has joined #crystal-lang
soveran has joined #crystal-lang
FromGitter has joined #crystal-lang
snsei has joined #crystal-lang
coderobe has joined #crystal-lang
snsei has quit [Ping timeout: 264 seconds]
A124 has quit [Read error: No route to host]
A124 has joined #crystal-lang
ruslux has quit [Ping timeout: 250 seconds]
DeBot has quit [Quit: Crystal IRC]
DeBot has joined #crystal-lang
<coderobe> Is DeBot written in Crystal?
soveran has quit [Remote host closed the connection]
<jhass> coderobe: yes
get_durnk has joined #crystal-lang
Raimondi has joined #crystal-lang
<coderobe> Nice. I'm guessing the code execution bit isn't part of the bot but instead just an api-call to carc, right?
<jhass> yes
dhk_ has joined #crystal-lang
<jhass> it used to be initially in fact, but then I extracted that into its own service
dhk has quit [Ping timeout: 240 seconds]
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has joined #crystal-lang
<get_durnk> asterite has me rolling with that "still no windoze" in the comments of the newest blog post
datanoise has joined #crystal-lang
Oliphaunte has joined #crystal-lang
<FromGitter> <zcassini> next month microsoft is supposed to release the whole ubunutu on windows thing. that might support the crysal stdlib
<get_durnk> windows is a shit platform, who cares
<get_durnk> they should regroup and just ship windows 11 as a fork of debian or something
<get_durnk> that'd be neat
<FromGitter> <zcassini> theyd mess it up still
<coderobe> they opensourced .net right? so that'd actually work. I dont think it'd be feasible for them (yet) though
<jhass> @zcassini people got it running in the preview already. but it's still an entirely different thing than native windows support
<get_durnk> i mean, xamarin forced their hand to open .net
soveran has quit [Remote host closed the connection]
<get_durnk> dont kid yourself into thinking ms gives half a shit whether .net is foss or not, because they dont
datanoise has quit [Ping timeout: 272 seconds]
<get_durnk> these are metastrategies that they're using purely for market share
<txdv> i think xamarin gives a shit
<get_durnk> well yeah
<get_durnk> obv
Oliphaunte has quit [Ping timeout: 244 seconds]
<get_durnk> but xamarin isnt microsoft. they were acquired, but only because the terms were favorable
<get_durnk> the last time ms tried to acquire xamarin, they had shitty terms and xamarin told them to fuck off
<txdv> u durnk go gome
<get_durnk> they've tried to acquire xamarin mulitple times already
<FromGitter> <zcassini> theyr're holding out for 26 billion
<get_durnk> that does not sound right
<get_durnk> are you thinking of the linkedin acquisition?
<FromGitter> <zcassini> yeah im just saying that want that money
<get_durnk> the number I heard was <500m
<coderobe> off topic but why did m$ aquire linkedin anyway?
<get_durnk> the social graph implications, I'd assume
<FromGitter> <zcassini> so they can hide developer resumes from the competition
<FromGitter> <zcassini> obiously
<coderobe> zcassini: lol
<get_durnk> and also to try and get people dogfooding into the MCP program
<get_durnk> for certs and stuff
<get_durnk> I've heard that some companies will pay more for the same experience if you have a MCP cert, and in some cases, MS even gets a cut from the hire if the candidate has a good enough cert
<get_durnk> like the MS MVP people, those guys are making fat $$$, but MS also makes money when those guys get hired
dhk has joined #crystal-lang
dhk_ has quit [Ping timeout: 240 seconds]
swav has joined #crystal-lang
soveran has joined #crystal-lang
<crystal-gh> [crystal] david50407 opened pull request #2850: Re-order the section, Assignment, to make more fluent (gh-pages...docs/reorder_assignment) https://git.io/vo0jr
<crystal-gh> [crystal] jhass closed pull request #2850: Re-order the section, Assignment, to make more fluent (gh-pages...docs/reorder_assignment) https://git.io/vo0jr
bjz has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dgaff has quit [Ping timeout: 276 seconds]
fryguy9 has joined #crystal-lang
matp has quit [Ping timeout: 240 seconds]
bjz has joined #crystal-lang
matp has joined #crystal-lang
datanoise has joined #crystal-lang
wmoxam_ is now known as wmoxam
wmoxam has quit [Changing host]
wmoxam has joined #crystal-lang
<get_durnk> jhass, is crystal going to get .extend?
<get_durnk> I was thinking about classes where arguments are generic, and then having mixins with typed arguments
pawnbox has quit [Remote host closed the connection]
<jhass> very unlikely
<jhass> and you can already very easily solve it with composition
paulcsmith_ has joined #crystal-lang
<jhass> practically runtime free if you use a struct
<get_durnk> Im not 100% sure what you mean
<jhass> struct AugmentedFoo; def initialize(@foo : Foo); end; forward_missing_to @foo; def bar; "foo"; end; end; foo = AugementedFoo.new(Foo.new)
pawnbox has joined #crystal-lang
<get_durnk> oh i didnt realize structs could have methods
<FromGitter> <k-solutions> Hi All, Do Crystal define linux errno.h constants
<get_durnk> I also cant find forward_missing_to anywhere in documentation, does that work like delegators in ruby's forwardable?
snsei has joined #crystal-lang
<jhass> @k-solutions yup: http://crystal-lang.org/api/Errno.html
<jhass> @k-solutions: just raise Errno.new will also handle setting it and the right message for you
<FromGitter> <k-solutions> Great thanks ...
<jhass> get_durnk: not quite, it defines a macro method_missing, http://crystal-lang.org/api/Object.html#forward_missing_to%28delegate%29-macro
<get_durnk> ah, ok
Raimondi has quit [Quit: All hail WeeChat 1.5-dev!]
<get_durnk> thank u
Raimondi has joined #crystal-lang
matp has quit [Remote host closed the connection]
matp has joined #crystal-lang
xaxes` has joined #crystal-lang
paulcsmith_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
paulcsmith_ has joined #crystal-lang
<Davy_CC> jhass: in Multiple Assignment it says that if the right-value is only one expression, it is considered an indexed type and the syntax sugar will applied. e.g.: `one, two = "1,2".split(",")` But what will happend if the right-value is not an indexed type?
dom96 has quit [Changing host]
dom96 has joined #crystal-lang
<jhass> Davy_CC: undefined method [] for Foo, I imagine
<jhass> >> a, b = 1
<DeBot> jhass: undefined method '[]' for Int32 - https://carc.in/#/r/11tr
<Davy_CC> so the syntax sugar also applied, right?
<jhass> yes
<jhass> it happens before crystal knows about types etc, on the AST level
<Davy_CC> I see, thanks.
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Client Quit]
get_durnk has quit [Quit: Page closed]
soveran has quit [Remote host closed the connection]
<FromGitter> <taylorfinnell> Hello! I am trying to upgrade some code to 0.16, the code is a macro inside a class
<jhass> tell more :)
<FromGitter> <taylorfinnell> ``` ⏎ module Protokol ⏎ class Message ⏎ ⏎ macro repeated(field_name, field_type, field_order, packed = false) ⏎ @{{field_name.id}} : Array({{ field_type.id }}) ⏎ ⏎ def {{field_name.id}} : Array({{field_type.id}}) ⏎ val = @{{field_name.id}} ⏎ if val != nil ⏎ val ⏎ else ⏎ [] of {{field_type.id}} ⏎ end ⏎ end ⏎ ⏎
<FromGitter> ... def {{field_name.id}}=(value : Array({{ field_type.id }})) ⏎ @{{field_name.id}} = value ⏎ end ⏎ ⏎ def {{field_name.id}}=(value : {{ field_type.id }}) ⏎ @{{field_name.id}} = [value] ⏎ end ⏎ ⏎ def {{field_name.id}}=(value : Nil) ⏎ @{{field_name.id}} = nil ⏎ end ⏎ ⏎ field({{f ... [https://gitter.im/crystal-lang/crystal?at=5762c465b8ad3d5d7ee0d6c0]
<FromGitter> <taylorfinnell> Is `@{{field_name.id}} : Array({{ field_type.id }})` not the correct way?
<FromGitter> <taylorfinnell> `instance variable '@int32_arr' of AssignClass1 was not initialized in all of the 'initialize' methods, rendering it nilable`
<FromGitter> <taylorfinnell> The old syntax that worked in previous versions was
<FromGitter> <taylorfinnell> ` @{{field_name.id}} = [] of {{ field_type.id }}`
<jhass> that should still work
<jhass> the latter that is
<jhass> the former is "correct" too, depending on what you want
<FromGitter> <taylorfinnell> Hrmmm, does the `#Nil` denote something? I can't find it in the docs
<FromGitter> <taylorfinnell> ``` ⏎ instantiating 'AssignClass1#int32_arr()' ⏎ in macro 'repeated' /Users/tfinnell/Development/protokol/src/protokol/message.cr:48, line 3: ⏎ ⏎ 1. @int32_arr = [] of Int32 ⏎ 2. ⏎ 3. def int32_arr : Array(Int32)#|Nil ⏎ 4. val = @int32_arr ⏎ 5. if val != nil ⏎ 6. val ⏎ 7. else ⏎ 8. [] of Int32 ⏎ 9. end ⏎ 10.
<FromGitter> ... end ⏎ 11. ⏎ 12. def int32_arr=(value : Array(Int32)) ⏎ 13. @int32_arr = value ⏎ 14. end ⏎ 15. ⏎ 16. def int32_arr=(value : Int32) ⏎ 17. @int32_arr = [value] ⏎ 18. end ⏎ 19. ⏎ 20. def int32_arr=(value : Nil) ⏎ 21. @int32_arr = nil ⏎ 22. end ⏎ 23. ⏎ 24. ... [https://gitter.im/crystal-lang/crystal?at=5762c518b8ad3d5d7ee0d71c]
matp has quit [Excess Flood]
<jhass> mmh, that shouldn't happen
<jhass> the # that is
<FromGitter> <taylorfinnell> Even though it is in the macro?
<FromGitter> <taylorfinnell> ``` ⏎ macro repeated(field_name, field_type, field_order, packed = false) ⏎ @{{field_name.id}} = [] of {{ field_type.id }} ⏎ ⏎ def {{field_name.id}} : Array({{field_type.id}})#|Nil ⏎ val = @{{field_name.id}} ⏎ if val != nil ⏎ val ⏎ else ⏎ [] of {{field_type.id}} ⏎ end ⏎ end ⏎ ... ⏎ ```
<jhass> got this gitter code block stuff is terrible, can't even properly copy paste it
<jhass> *gosh
<FromGitter> <taylorfinnell> https://github.com/teodor-pripoae/protokol/blob/master/src/protokol/message.cr#L49 is what I am looking at, I want to update this to the latest crystal versoin :)
<jhass> oh so it is in the macro
<jhass> wasn't for you initial paste
<jhass> it doesn't mean anything, just a comment
<FromGitter> <taylorfinnell> Gotcha, I wonder why it's complainging about the type
<BlaXpirit> aalright I gotta do something about this
<wmoxam> ⏎⏎⏎⏎⏎⏎⏎
Raimondi has quit [Ping timeout: 240 seconds]
<jhass> BlaXpirit: repost to gist? <3 :P
Raimondi has joined #crystal-lang
<jhass> @taylorfinell https://p.jhass.eu/2s.diff makes the specs passing for me for all but one, sure you can figure the rest from there :)
<jhass> probably a good idea to nest the global aliases into the libs namespace
<FromGitter> <taylorfinnell> is `Bytes` a reserved word?
<FromGitter> <taylorfinnell> is that why you renamed?
<jhass> We added alias Bytes = Slice(UInt8) to stdlib with 0.18.0
<jhass> so that conflicts with that
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/voEa4
<crystal-gh> crystal/master 26d1f03 Ary Borenszweig: Merge branch 'release/0.18'
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has joined #crystal-lang
snsei has quit [Remote host closed the connection]
snsei has joined #crystal-lang
<travis-ci> crystal-lang/crystal#26d1f03 (master - Merge branch 'release/0.18'): The build was broken. https://travis-ci.org/crystal-lang/crystal/builds/138120491
<FromGitter> <taylorfinnell> thank you! all specs passing now :)
<jhass> <3
matp has joined #crystal-lang
snsei has quit [Ping timeout: 250 seconds]
<travis-ci> crystal-lang/crystal#e6435b1 (release/0.18 - Fixed #2841: Duplicate symbol when using `super` from virtual type): The build was broken. https://travis-ci.org/crystal-lang/crystal/builds/138120484
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/voE6I
<crystal-gh> crystal/master 254f07b Ary Borenszweig: Merge branch 'release/0.18'
<FromGitter> <sdogruyol> haha i like this irc bot thanks blaxpirit
paulcsmith_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
paulcsmith_ has joined #crystal-lang
<soveran> I'm having a problem when trying to compile with 0.18 a file that requires http/server, the file content and the output are at https://gist.github.com/soveran/e4488cc7494ba4baecc259b3bd024819
paulcsmith_ has quit [Client Quit]
<coderobe> soveran: you seem to be missing pkg-config
<jhass> soveran: can you install pkg-config please?
<jhass> also out of curiosity, what's your OS?
<soveran> OSX, but this was working with 0.17 just fine
<soveran> I installed crystal with homebrew
<jhass> mh, interesting, I was under the impression homebrew installs pkg-config by default
<jhass> mh, so echo doesn't take -n on OSX?
<travis-ci> crystal-lang/crystal#254f07b (master - Merge branch 'release/0.18'): The build is still failing. https://travis-ci.org/crystal-lang/crystal/builds/138128501
<BlaXpirit> jhass, dont know about osx but it is nonstandard. more reliable to use printf %s instead of echo -n
<jhass> let's try printf I guess
<soveran> agreed
<BlaXpirit> there is no way to write literally -n on GNU echo, I don't think
<BlaXpirit> which sucks
<jhass> soveran: but install pkg-config and openssl via homebrew anyway, OS X default openssl sucks ;)
<crystal-gh> [crystal] jhass pushed 1 new commit to master: https://git.io/voEXS
<crystal-gh> crystal/master 3d9f470 Jonne Haß: Merge branch 'release/0.18'
<soveran> yes :-)
buggs3 is now known as buggs
Guest__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<travis-ci> crystal-lang/crystal#c371f94 (release/0.18 - LibSSL/LibCrypto: echo -n is non-portable, use printf instead): The build is still failing. https://travis-ci.org/crystal-lang/crystal/builds/138134084
FromGitter has quit [Remote host closed the connection]
FromGitter has joined #crystal-lang
<travis-ci> crystal-lang/crystal#3d9f470 (master - Merge branch 'release/0.18'): The build is still failing. https://travis-ci.org/crystal-lang/crystal/builds/138134105
<FromGitter> <taylorfinnell> has StringIO been removed?
<FromGitter> <taylorfinnell> oh maybe StringBuilder
snsei has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
datanoise has quit [Quit: WeeChat 1.5]
<FromGitter> <taylorfinnell> oh it's MemoryIO
<crystal-gh> [crystal] asterite pushed 5 new commits to master: https://git.io/voE9k
<crystal-gh> crystal/master ab6b852 Ary Borenszweig: Change compile-time version check to `starts_with?`
<crystal-gh> crystal/master 3c7aee9 Ary Borenszweig: Fixed #2839: don't use `+` in types on semantic phase
<crystal-gh> crystal/master 5f95d63 Ary Borenszweig: Merge branch 'release/0.18'
pawnbox has joined #crystal-lang
snsei has quit [Ping timeout: 244 seconds]
<FromGitter> <taylorfinnell> in Ruby I can do a
<FromGitter> <taylorfinnell> `Array(1) => [1]`, `Array(nil) => []`, is there a thing like this in crystal?
Philpax has quit [Ping timeout: 252 seconds]
<asterite> jhass: if I execute `printf '-lcrypto'` on the command line I get "printf '-lcrypto'"
<BlaXpirit> >> {[1].compact, [nil].compact}
<DeBot> BlaXpirit: # => {[1], []} - https://carc.in/#/r/11u4
<BlaXpirit> @taylorfinnell
<asterite> jhass: that's on osx
<BlaXpirit> asterite, I don't understand what you mean
<asterite> If I execute "printf '-lcrypto'" on osx I get an error. I'm talking about this: https://github.com/crystal-lang/crystal/commit/c371f94f469d14e08c798ccb5ec6a197096f3c36
<BlaXpirit> or maybe I do, in which case it seems impossible
<asterite> "echo -n hola" works fine on osx
<BlaXpirit> asterite, no no, that's dangerous indeed
<BlaXpirit> have you tried `printf %s -lcrypto`
<asterite> in fact "printf '-lcrypto'" gives an error too on linux... not sure why that change
<BlaXpirit> asterite, it does not give an error for me but please try with %s like i sent - does it work?
<asterite> BlaXpirit: that works, but the commit doesn't have the %s
<BlaXpirit> yeah jhass made a mistake for sure
<travis-ci> crystal-lang/crystal#b5e46db (master - Merge branch 'release/0.18'): The build is still failing. https://travis-ci.org/crystal-lang/crystal/builds/138142536
snsei has joined #crystal-lang
pilne has joined #crystal-lang
<BlaXpirit> what's that supposed to mean?
<jhass> works for me?
<jhass> ah, zsh is too smart I guess
<jhass> sigh
<jhass> asterite: build's still failing because of you though ;)
<asterite> yeap
<asterite> but I don't know why this: CRYSTAL_CONFIG_VERSION=ci
<asterite> seems to be in bin/ci
<asterite> not sure what's that for, though
<asterite> can we remove it?
<jhass> well it won't fix the issue
<asterite> yes, it will
<jhass> HEADs default Crystal::VERSION still is 0.18
<jhass> .9
<jhass> .0
<travis-ci> crystal-lang/crystal#68cae2b (release/0.18 - Merge branch 'release/0.18' of github.com:crystal-lang/crystal into release/0.18): The build is still failing. https://travis-ci.org/crystal-lang/crystal/builds/138143472
<asterite> I set CRYSTAL_CONFIG_VERSION to 0.18.1 in travis
<asterite> so compiling and running that spec will work
<asterite> I think maybe CRYSTAL_CONFIG_VERSION=ci was set because otherwise the `git` command would fail?
<jhass> perhaps
<asterite> Let me try remove it :)
<jhass> either doesn't feel like the right solution
<jhass> we can't expect anybody to set CRYSTAL_CONFIG_VERSION when working with head
<jhass> *everybody, even
<asterite> I'm doing that now... maybe we should set it in the Makefile
<jhass> 0.18.0dev or so?
<jhass> sigh
<crystal-gh> [crystal] jhass pushed 2 new commits to master: https://git.io/voE7S
<crystal-gh> crystal/master 8a67433 Jonne Haß: Fix printf call for LibSSL/LibCrypto
<crystal-gh> crystal/master 4a754e9 Jonne Haß: Merge branch 'release/0.18'
<jhass> now how did that happen
<jhass> asterite: please always push master and release/... together
<crystal-gh> [crystal] jhass pushed 1 new commit to master: https://git.io/voE5e
<crystal-gh> crystal/master 781bbe3 Jonne Haß: Merge branch 'release/0.18'
<asterite> jhass: why?
<jhass> because if you don't somebody can push master while they can't push release/...because you pushed release/... in between them committing to release/..., merging to master and trying to push both
<jhass> which just happened for me
<asterite> I see
<asterite> I still don't understand why travis fails :(
<asterite> I do the same on my machine and it works
<jhass> I'll eat something and then I'll try to come up with a nice solution
<crystal-gh> [crystal] mperham opened pull request #2855: Add elapsed runtime tracking for verbose spec output, fixes #2854 (master...master) https://git.io/voEdl
<jhass> asterite: would you be open to having development versions such as 0.18.0dev or 0.18.0-50?
<jhass> where 50 is 50 commits since 0.18.0
<asterite> Mmm... why would we need that?
<asterite> Ideally I'd like to release 0.18.1 today, all important issues were fixed :)
<jhass> to differentiate in the stdlib specs between last release and HEAD
<asterite> shouldn't HEAD always be "next version"?
<asterite> it's not only specs, it's also code that changes according to the version
<jhass> well, that's what CRYSTAL_CONFIG_VERSION="ci" kinda did then, we only need to skip it for the first stdlib_specs run
<jhass> 0.18.0-50 would be quite easy to generate using `git describe` where we call it already anyway
<jhass> mh, actually does CRYSTAL_CONFIG_VERSION even override Crystal::VERSION? it shouldn't
* jhass really needs some food now
<travis-ci> crystal-lang/crystal#4a754e9 (master - Merge branch 'release/0.18'): The build is still failing. https://travis-ci.org/crystal-lang/crystal/builds/138148014
<asterite> jhass: go eat :-)
<asterite> I have to do some other things too, will probably be back in a couple of hours or more... the build seems to be failing only for arch now, don't know why
<travis-ci> crystal-lang/crystal#e014884 (release/0.18 - travis: don't set CRYSTAL_CONFIG_VERSION to "ci"): The build is still failing. https://travis-ci.org/crystal-lang/crystal/builds/138147674
<jhass> asterite: uh it's Ubuntu ;)
A124 has quit [Ping timeout: 246 seconds]
<jhass> asterite: I don't get why you think Crystal::VERSION can be 0.18.1 anywhere atm, it's set nowhere to that and no command can possibly output it yet
<travis-ci> crystal-lang/crystal#e10c9fb (release/0.18 - Merge branch 'release/0.18' of github.com:crystal-lang/crystal into release/0.18): The build is still failing. https://travis-ci.org/crystal-lang/crystal/builds/138148407
<jhass> idk why the OS X build passes now, must be some difference between the homebrew version and the APT packages
<jhass> oh, you used travis webinterface to set the variable -.-
<jhass> that's not preserved through docker
<travis-ci> crystal-lang/crystal#781bbe3 (master - Merge branch 'release/0.18'): The build is still failing. https://travis-ci.org/crystal-lang/crystal/builds/138148420
coderobe has quit [Ping timeout: 250 seconds]
<jhass> asterite: so you want to keep release/0.18 compilable with 0.17.4 or what?
coderobe has joined #crystal-lang
<coderobe> holy shit, i just got a bluescreen on linux
<jhass> sounds like someone playing a joke at you :P
<coderobe> jhass: i have absolutely no idea what happened tbh, i was doing the usual stuff and then my framebuffer corrupted and refreshed with the typical windows-bsod-colored background
<coderobe> weird
<jhass> using wayland already?
<coderobe> nah, x11
<jhass> interestingly meanwhile latest gnome feels more stable on wayland for me
<jhass> less memory bloat by it or Xorg
<jhass> most stuff still runs through XWayland of course
<coderobe> last time i tried wayland the cursor selection wouldn't work and desktop icons weren't implemented yet
<jhass> >> "0.18.0-42" > "0.18.0"
<DeBot> jhass: # => true - https://carc.in/#/r/11u5
<jhass> >> {{"foo" == "foo".id}}
<DeBot> jhass: # => true - https://carc.in/#/r/11u6
<jhass> >> {{"foo" != "foo".id}}
<DeBot> jhass: # => true - https://carc.in/#/r/11u7
<jhass> sigh
<coderobe> >> puts "x"
<coderobe> aw
<DeBot> coderobe: x - more at https://carc.in/#/r/11u8
<coderobe> oh
paulcsmith_ has joined #crystal-lang
<BlaXpirit> http client get |resp| seems to be fibered?
coderobe has quit [Ping timeout: 250 seconds]
<jhass> mh, I don't think so?
pawnbox has quit [Remote host closed the connection]
paulcsmith_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #crystal-lang
coderobe has joined #crystal-lang
<coderobe> okay there's definitely something wrong with my system now that it actually paniced
<BlaXpirit> nope, that was me
<jhass> >> "0.18.0-?" > "0.18.0"
<DeBot> jhass: # => true - https://carc.in/#/r/11ud
<BlaXpirit> jhass, you probably know that according to semver -versions are less
<jhass> mh, I didn't
<jhass> why would git describe pick that as default format then :(
<jhass> >> "0.18.0+?" > "0.18.0"
<DeBot> jhass: # => true - https://carc.in/#/r/11ue
<BlaXpirit> hehe
<crystal-gh> [crystal] jhass opened pull request #2856: Improve Crystal version detection (release/0.18...sane_version_detection) https://git.io/vouYH
yawniek has left #crystal-lang ["WeeChat 1.4"]
<asterite> jhass: so... shall I remove the CRYSTAL_CONFIG_VERSION from travis?
<jhass> already did to test the PR
<asterite> Depends on what boolean algebra you are in
* asterite hides
<asterite> I'll fix it :)
<jhass> :P
<jhass> asterite: there are a couple more of these for others
<asterite> I think I started with "==" and then added "!="... forgot to test
<jhass> well I have specs for the StringLiteral case by now, can fix it too if you want
FromGitter has quit [Remote host closed the connection]
<jhass> though I'll probably just duplicate the code because I didn't quite figure your strategy for what to extract and what not there yet :P
<jhass> ah nvm, I just if again on the method
<asterite> Yes, I was going to duplicate it for "==" and "!=", doesn't seem too terrible and we can always improve it later (as always)
FromGitter has joined #crystal-lang
<asterite> If you want you can fix it if you have something already
<jhass> I do
<jhass> hardest part was writing specs :P
<asterite> :-D
<asterite> I'll try to fix #2857 meanwhile
<jhass> cool
<asterite> I'm thinking, we can probably compile 0.18.1 with 0.18.0... that way head can also be compiled
<asterite> I think for 0.17 I didn't do that because some versions generated wrong code
ruslux has joined #crystal-lang
<ruslux> Hi! (\/)o.O
<ruslux> How I can fix "/usr/bin/ld: cannot find -lxml2"?
<BlaXpirit> ruslux, install libxml2-dev
<ruslux> Oh, tnx, it's work
<jhass> asterite: it would be great to have a clear policy on what version need to be able to compile what
<jhass> I see now you added all the checks for 0.17 back in
FromGitter has quit [Remote host closed the connection]
FromGitter has joined #crystal-lang
<ruslux> I have question. I try write mongodb driver, and they have spec https://github.com/mongodb/specifications/tree/master/source/connection-string/tests . What way is better: copy test cases to project, or fetch each time, when i run crystal spec?
<crystal-gh> [crystal] jhass pushed 1 new commit to master: https://git.io/vou8Y
<crystal-gh> crystal/master 65500f6 Jonne Haß: Merge branch 'release/0.18'
<jhass> ruslux: I would probably go for either copy them in or even a git submodule
<ruslux> Which* way. Ssory for my English
<jhass> no worries, you're perfectly understandable
<ruslux> Oh, git submodule is third way, and it's better than my two. Tnx!
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vou4e
<crystal-gh> crystal/master 8b0ea3d Ary Borenszweig: Fixed #2857: Formatter shouldn't reformat { {{FOO}}, nil}
<asterite> checks for 0.17?
<crystal-gh> [crystal] jhass opened pull request #2858: Add StringLiteral#> and StringLiteral#< (master...string_literal_compare) https://git.io/vou4W
soveran has quit [Remote host closed the connection]
<BlaXpirit> ruslux, every time I went for submodules, I regretted it in the end
<crystal-gh> [crystal] jhass opened pull request #2859: Fix StringLiteral#!=, SymbolLiteral#!= and MacroId#!= (release/0.18...string_literal_equals) https://git.io/vou4D
<jhass> ruslux: git subtree in squash mode is fourth ;)
<jhass> asterite: oh you just didn't drop them on release/0.18 https://github.com/crystal-lang/crystal/blob/release/0.18/src/primitives.cr#L302
<asterite> jhass: yes, because I though about compiling 0.18.1 with 0.17.4... we can probably start working with 0.18.0 and remove those checks
<asterite> it'll also be easier when merging things back to master
<jhass> I think that would simplify things greatly :)
<asterite> I'll do that now
<jhass> commitments like every patch release of a minor version should compile with the latest patch release of the previous minor version are great once we hit a stable version, but I think for now they're a bigger burden than possible benefits
<jhass> and even then I would probably only commit to something like every release of a major version should compile with the last release of the previous major version, disregarding incompatibilities within the major version itself
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
<ruslux> BlaXpirit: why?
<travis-ci> crystal-lang/crystal#65500f6 (master - Merge branch 'release/0.18'): The build was fixed. https://travis-ci.org/crystal-lang/crystal/builds/138192781
<BlaXpirit> ruslux, git clone downloads an incomplete tree of your project, have to do --recursive
<BlaXpirit> and they can randomly go "dirty", I have no idea what's that about
<BlaXpirit> maybe something else I don't remember but to me these are last resort
<ruslux> BlaXpirit: Have submodules version management?
pawnbox has quit [Remote host closed the connection]
<BlaXpirit> ruslux, you're just saying it's a particular commit from a particular repository
<ruslux> I must use hands for that or it's hendled from file (so called "requirements")?
<ruslux> handled*
<asterite> jhass: on my machine the proc_spec.cr fail
<jhass> :(
<asterite> I'm not sure what I need to do to make them pass
<jhass> do you still have CRYSTAL_CONFIG_VERSION set?
<asterite> Oh, mmm...
<asterite> i think so, I tried deleting it with `export CRYSTAL_CONFIG_VERSION=`, I guess that doesn't work
<jhass> asterite: btw you might want to put Brian Nguyen on moderation for the mailing list and drop the duplicate mails...
<ruslux> BlaXpirit: Anyway, it's google-question, tnx for right direction.
<jhass> asterite: nope, you want unset CRYSTAL_CONFIG_VERSION iirc
<asterite> Ah, thanks!
<asterite> It worked :)
<jhass> \o/
<asterite> well, I hope I did everything well, merging and stuff
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vouuy
<crystal-gh> crystal/master 07dbb05 Ary Borenszweig: Merge branch 'release/0.18'
<jhass> we'll see soon enough :)
<jhass> empty merge commit is a good sign
<travis-ci> crystal-lang/crystal#4c364d2 (release/0.18 - Merge pull request #2856 from jhass/sane_version_detection): The build was fixed. https://travis-ci.org/crystal-lang/crystal/builds/138192790
paulcsmith_ has joined #crystal-lang
ruslux has quit [Ping timeout: 250 seconds]
paulcsmith_ has quit [Client Quit]
<Davy_CC> >> "0.18.0-120" > "0.18.0-13"
<DeBot> Davy_CC: # => false - https://carc.in/#/r/11uk
<jhass> yeah, good enough for now ;)
paulcsmith_ has joined #crystal-lang
paulcsmith_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<travis-ci> crystal-lang/crystal#8b0ea3d (master - Fixed #2857: Formatter shouldn't reformat { {{FOO}}, nil}): The build was fixed. https://travis-ci.org/crystal-lang/crystal/builds/138193613
Philpax has joined #crystal-lang
jpittis has joined #crystal-lang
<jpittis> Hey folks. Messing around with Crystal and noticed that String methods don't specify a return type. Is this intentional or is the plan to add types in the future? I'll open up an issue if so.
Philpax has quit [Ping timeout: 252 seconds]
<BlaXpirit> jpittis, it's like that all throughout the standard lib
<jpittis> The only reason I noticed was that my objects instance variable assigned to a YAML method was inferred and the instance variable assigned to a String method failed to infer.
<jpittis> That seems like unwanted behaviour.
<BlaXpirit> jpittis, I don't think that would help for that case
<BlaXpirit> the instance
<BlaXpirit> oops. the instance variable inferring seems like a bit of a sore spot to me.
<BlaXpirit> jpittis, it has multiple different specific cases where it's automatic, and a method call is not one of them, whether the return type is specified or not
<jpittis> hrmm. Is there an issue open to change that, is it intentional behaviour or should I open one?
<jhass> for the moment it's intentional
<jpittis> jhass: for what reason?
<jhass> to keep the algorithm simple and thus fast
<BlaXpirit> if the return type is specified, I don't think it would violate those conditions
<jpittis> jhass: should I open an issue for the future?
<jhass> you can if you feel strong about it
<jhass> I'll tag it as RFC
<jpittis> Will do then.
<travis-ci> crystal-lang/crystal#1622ec6 (release/0.18 - Fixed #2857: Formatter shouldn't reformat { {{FOO}}, nil}): The build was fixed. https://travis-ci.org/crystal-lang/crystal/builds/138193625
<jpittis> jhass: I created the issue https://github.com/crystal-lang/crystal/issues/2860
<jhass> jpittis: oh I hoped you present it a bit more clearly
<jhass> it won't work generally
<jhass> just won't happen anymore
<BlaXpirit> jpittis, yeah... that's not gonna convince anyone
<BlaXpirit> especially if the code is broken
<jhass> it might happen for stuff that has explicit return type annotations
<jhass> but we decided against it for consistency
<BlaXpirit> that's what I thought was worth bringing up
<jhass> it'd be weird if it worked for some stuff but not for others
<BlaXpirit> that's the way it is now - "works for some stuff but not for others"
<BlaXpirit> and after this change it would be works for stuff with a clearly specified type
<jhass> the issue is you don't see on the call side whether it has
<jpittis> I'm sorry I didn't realize that wasn't clear. I'll close the issue. I'm not sure I feel comfortable creating a "better" issue as I have yet to be an active member of the Crystal community.
<jhass> @foo = a.b; @bar = a.c; first works, second not? why? because b has a return type annotation but c has not
<BlaXpirit> jhass, I know, yeah. still don't like this
<jhass> jpittis: well I'm sure BlaXpirit would like to assist you to rework it into something more clear :)
<jpittis> I'd be pleased to rework it with a bit of help. I know BlaXpirit might not thing it's worth their time. :)
fryguy9 has quit [Quit: Leaving.]
<BlaXpirit> I already see jhass's arguments and I feel they're more convincing already
<jhass> well nvm then :P
<asterite> there's also the thing I say in the end: everyone will want to put return type annotations, and we'll become Java
<BlaXpirit> asterite, sigh, nothing bad about annotations. I strongly feel that standard library documentation should have them everywhere
<BlaXpirit> whether it's specified in the code or automatically determined
<Yxhuvud> I like specifying types that ends up as memory layout but totally hate speciying call signatures.
<Yxhuvud> data matters. signatures doesn't.
jpittis has quit [Ping timeout: 250 seconds]
<asterite> BlaXpirit: the problem is that sometimes you can't express the return type
<asterite> `def foo(x, y); condition ? x : y; end`. So in the end it will always "sometimes" work
<BlaXpirit> asterite, then this problem should be solved
<asterite> it can be solved, look at languages like Rust or Scala
<asterite> def foo[T : Equatable, U : Equatable](x : T, y : T) where blah blah blah
<asterite> I'd like to keep the language simple to read/write :-)
<asterite> so there's always a tradeoff
<BlaXpirit> asterite, fine, don't specify return type when it's a pain. but otherwise why not?
<BlaXpirit> reading a method and having to manually figure out what it does is not something I enjoy
<asterite> we can do that, and we could probably make it work for simple cases, but it'll be very hard to do for the general case
<asterite> right in that example there was str[0..str.size], so we'd need to type that range literal
<asterite> we could make it work for simple cases, like x.to_i, foo.tap, etc.
<BlaXpirit> this is very interesting to think about
<BlaXpirit> what differentiates the situations where the type is known for sure, directly, and when it is not
<travis-ci> crystal-lang/crystal#f2d1fe9 (release/0.18 - Removed some crystal version checks): The build was fixed. https://travis-ci.org/crystal-lang/crystal/builds/138201169
<BlaXpirit> I only come to the conclusion that I know nothing
jpittis has joined #crystal-lang
<jpittis> Sorry for running off there.
<BlaXpirit> jpittis, I thought we lost you because I was rude
<BlaXpirit> well i really wasn't but it's hard
<jpittis> BlaXpirit: you lost me because of a false firealarm :P
<travis-ci> crystal-lang/crystal#07dbb05 (master - Merge branch 'release/0.18'): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/138201178
<jpittis> My naive worry about the "don't want people specifying return types everywhere" argument is that my only solution to this issue is specifying the type of my instance variable at the top of my class.
<jpittis> For consistency reasons, I'll want to specify ALL my instance variable types at the top of my class.
<jpittis> How is that also not "becoming like Java"
<jhass> in java you need to do both ;)
<jpittis> Yup. So if I have to choose between doing it for return types or doing it for instance variables, personally I'd rather do it for return types. Grumbllbbl I don't know...
<BlaXpirit> jpittis, honestly I'd prefer to specify both because it's free documentation for the future me
<crystal-gh> [crystal] javajax opened pull request #2861: UUID Update (master...uuid) https://git.io/vou1r
<jpittis> tbh BlaXpirit me too... which solves my personal problem... just specify everything a screw the inconsistencies! :)
sp4rrow has joined #crystal-lang
<BlaXpirit> and I don't see how in the standard library this free and essential documentation is disregarded in favor of what... less writing?
<asterite> BlaXpirit: we can do it for the standard library, and I think all libraries should do this for public APIs. Forcing that is a different thing
<BlaXpirit> I didn't mean forcing... well I did say "standard library documentation should have them everywhere" but ..
soveran has quit [Remote host closed the connection]
<crystal-gh> [crystal] jhass pushed 1 new commit to master: https://git.io/vouMz
<crystal-gh> crystal/master a6cc655 Jonne Haß: Merge branch 'release/0.18'
<asterite> jhass: we could merge #2855 to 0.18.1, just tried it and it works well and it's pretty useful
<asterite> what do you think?
<jhass> lgtm
<jhass> asterite: shall I do the magic?
<asterite> of course :-P
<asterite> once travis gives the ok
<jhass> cool
<asterite> and then I guess I'll update the changelog and start the release process :)
<jpittis> Also, being new: The documentation / APIs are quite awesome! <3
<jhass> asterite: cool, I guess I'll try to get some sleep ;)
<jhass> then
<jhass> asterite: oh while I have you, I wondered about the homebrew formula, you say you want to use the previous compiler as bootstrap in it, but won't that quickly break the build for the head variant/build?
<jhass> I've been using the latest release as bootstrap in the arch packages always and without issues so far
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
<jhass> asterite: mmh, should I just format the code in the merge for #2855? :P
<asterite> jhass: sounds good
<asterite> jhass: I mean, use 0.18.0 to use 0.18.1
<asterite> would that work?
sp4rrow has joined #crystal-lang
<jhass> asterite: am I'm understanding correctly that the homebrew formula has a mode to build/install master?
<asterite> yes, you pass `--head` to it
<asterite> and 0.18.0 should compile head, because that's what we are using. I think it's fine
<jhass> asterite: so, am I also understanding correctly that we only ensure that master can be build by the latest release, I mean generally, we don't guarantee it for any prior version?
<asterite> (though I'd personally remove that option from the formula)
<asterite> exactly
<jhass> so, if we then don't use the latest release in the formula, the --head version will quickly break
<asterite> Ah, I see what you mean. So you want to use 0.18.1 to build 0.18.1?
<jhass> yes
<asterite> The problem with that is that the binary will be different from the one compiled using 0.18.0 and that might be problematic
<asterite> I personally wouldn't worry about the `--head` option, I'd like to remove it
<jhass> I see that point, but as said we've been doing it for the archlinux package since forever
<jhass> and in practice there wasn't a single bug related to it
<travis-ci> crystal-lang/crystal#a6cc655 (master - Merge branch 'release/0.18'): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/138224256
<crystal-gh> [crystal] jhass pushed 1 new commit to master: https://git.io/vouSE
<crystal-gh> crystal/master 44a80f9 Jonne Haß: Merge branch 'release/0.18'
<asterite> But then we'll have to change omnibus to also compile twice?
<crystal-gh> [crystal] jhass closed pull request #2855: Add elapsed runtime tracking for verbose spec output, fixes #2854 (master...master) https://git.io/voEdl
<jhass> damn, now I forgot the formatting over squashing it and rebasing it --
<jhass> -.-
<asterite> Don't worry, it's one commit more :)
<asterite> Let's do this, let's use 0.18.0 as the boot for now, and I'll check with waj what he thinks. Compiling head with the latest is fine, compiling the next version with that same version, I don't know
<crystal-gh> [crystal] jhass pushed 1 new commit to master: https://git.io/vouSw
<crystal-gh> crystal/master e67cbb0 Jonne Haß: Merge branch 'release/0.18'
<jhass> asterite: sure your decision in the end, just wanted to make sure you're aware of the issue because tbh I wasn't quite sure you got it until now :)
<asterite> maybe there's a way to choose a different boot version for head, I'll check
<asterite> (later)
<jhass> that'd be ideal I guess, yeah
<jpittis> Currently there's no way to render a String with ECR in it right?
<asterite> Right, that's missing, though it would be nice to have
<jhass> perhaps a flag to ecr/process so we don't need to have two
<jhass> or even have the parent read the file at compile time
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vouHn
<crystal-gh> crystal/master 5cb020e Ary Borenszweig: Merge branch 'release/0.18'
<travis-ci> crystal-lang/crystal#44a80f9 (master - Merge branch 'release/0.18'): The build was canceled. https://travis-ci.org/crystal-lang/crystal/builds/138230001
<travis-ci> crystal-lang/crystal#5b26de5 (release/0.18 - Merge pull request #2859 from jhass/string_literal_equals): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/138224264
soveran has joined #crystal-lang
trapped has quit [Read error: Connection reset by peer]
soveran has quit [Ping timeout: 244 seconds]
paulcsmith_ has joined #crystal-lang
<crystal-gh> [crystal] javajax closed pull request #2861: UUID Update (master...uuid) https://git.io/vou1r
<travis-ci> crystal-lang/crystal#e67cbb0 (master - Merge branch 'release/0.18'): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/138230356
<crystal-gh> [crystal] javajax opened pull request #2862: UUID Update (master...uuid) https://git.io/vou7I