<FromGitter>
<j8r> Usually, a new minor release ships each 2/4 months
_whitelogger has joined #crystal-lang
<FromGitter>
<r00ster91> when I call the `initialize` method of a struct/class in the struct/class itself in some method again, will memory be allocated again etc? I actually just want to reuse the code in the `initialize` method
<oprypin>
r00ster91, no, it's just a normal method in this case
<oprypin>
everything that's special about initialize: 1) it is not public 2) a `self.new` will be created based on it
<FromGitter>
<vladfaust> Why postponing though? To make releases seem more solid?
<oprypin>
vladfaust, you don't have to wait, you know
<FromGitter>
<vladfaust> I cannot release shards for Crystal master branch
<oprypin>
why not
<FromGitter>
<vladfaust> Because no one would use a shard if it requires Crystal master
<oprypin>
i suppose so
<FromGitter>
<aisrael> Would it be possible I overload the `|` or `>>` operators to behave like Elixir's `|>` operator (that would "pipe" the output of the previous method/function call as the first argument to the next one)?
DTZUZO has joined #crystal-lang
<FromGitter>
<asterite> No
<FromGitter>
<aisrael> Yeah thought about it too and can’t without hacking the compiler itself
DTZUZO has quit [Ping timeout: 252 seconds]
<FromGitter>
<vladfaust> I'm sorry, what's the last discussion issue # on that? ⏎ ⏎ ```[42].as(Array(Int32 | String)) ⏎ # can't cast Array(Int32) to Array(Int32 | String)``` ⏎ ⏎ I'd like to read it [https://gitter.im/crystal-lang/crystal?at=5b8bda4b1d3a5711b6d28674]
<RX14>
well the compiler doesn't compile itself yet, because I havent finished stubbing out Process fully yet
<RX14>
so it just throws notimplemented errors
<FromGitter>
<j8r> And me at the meantime I've just managed to do a POC branch about following redirects for `HTTP::Client`, we aren't playing on the same level... lol
<RX14>
ehh
<RX14>
HTTP::Client really needs to be redesigned
<RX14>
because it needs middleware
<FromGitter>
<j8r> I think so too, but until that I done a small implem in around 60 lines to follow redirects
<FromGitter>
<j8r> I didn't had the feel to redisign the whole HTTP::Client, and then adding a redirection middleware :/
<RX14>
yeah
<RX14>
thats needs a lot of discussion before writing code
<FromGitter>
<j8r> Hopefully this little work made me more familiar with the `HTTP::Client`. It tooks me ome time to understand how all this `exec` call each other
<FromGitter>
<j8r> Indeed, but most of the code is already lying there in halite, crest and cossack
<RX14>
please don't attempt to import that code
<FromGitter>
<j8r> This can't really be done anyway
<FromGitter>
<bew> Awesome RX14, that's a nice step!
<FromGitter>
<j8r> I see how they have done with status code, Host and Location headers
<FromGitter>
<bew> (the hello world compilation on windows)