ChanServ changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.31.0 | Fund Crystal's development: http://is.gd/X7PRtI | GH: https://github.com/crystal-lang/crystal | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Gitter: https://gitter.im/crystal-lang/crystal
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 276 seconds]
<FromGitter> <Blacksmoke16> was the commit
<FromGitter> <Blacksmoke16> will now only fallback on the parse/rescue system if there is more than one non primitive type in the union
<FromGitter> <Blacksmoke16> ```code paste, see link``` ⏎ ⏎ otherwise is near similar results [https://gitter.im/crystal-lang/crystal?at=5d8eaa4d24509b60466dad40]
f1reflyylmao has joined #crystal-lang
f1refly has quit [Ping timeout: 276 seconds]
early has joined #crystal-lang
early` has quit [Ping timeout: 276 seconds]
chemist69 has quit [Ping timeout: 276 seconds]
chemist69 has joined #crystal-lang
_whitelogger has joined #crystal-lang
_whitelogger has joined #crystal-lang
ht_ has joined #crystal-lang
ua has quit [Remote host closed the connection]
ua has joined #crystal-lang
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 265 seconds]
fyber has quit [Read error: Connection reset by peer]
ht_ has quit [Remote host closed the connection]
<FromGitter> <wwselleck> my pea brain can't find this in the docs, how do you get a substring like this? ⏎ ⏎ ```s = ":idUser" ⏎ s2 = s.substring(1) # idUser``` ⏎ ⏎ So from index i until the end of the string. [https://gitter.im/crystal-lang/crystal?at=5d8f19c67fe6a605d143f8e2]
_whitelogger has joined #crystal-lang
<oprypin> wwselleck, `":idUser"[1..]`
erdnaxeli has joined #crystal-lang
alex`` has joined #crystal-lang
<FromGitter> <naqvis> @sam0x17 yeah it does. So instead of block you can instantiate class and use instance write method to write Slice. You’ll have to call close by yourself then.
<FromGitter> <j8r> @naqvis Wow thanks, I love it :D
rohitpaulk has joined #crystal-lang
f1reflyylmao has quit [Quit: bye fags]
rohitpaulk has quit [Ping timeout: 245 seconds]
alex`` has quit [Ping timeout: 268 seconds]
gangstacat has quit [Quit: Ĝis!]
gangstacat has joined #crystal-lang
alex`` has joined #crystal-lang
ua_ has joined #crystal-lang
ht_ has joined #crystal-lang
ua has quit [Ping timeout: 240 seconds]
alex`` has quit [Ping timeout: 240 seconds]
Human_G33k has joined #crystal-lang
return0e has quit [Ping timeout: 240 seconds]
return0e has joined #crystal-lang
alex`` has joined #crystal-lang
Groogy has joined #crystal-lang
<Groogy> Yo! Did the / operator change or something? Getting a lot of compile errors as of sudden
<FromGitter> <bew> Groogy, yes, now / will always mean arithmetic division, returning a float (read the changelog and PR for more info) for old behavior it's `//`
<FromGitter> <tenebrousedge> :/
<FromGitter> <bew> @zsxawerdu is it coc.vim ?
<Groogy> thanks bew
<Groogy> though will say don't like the change, it feels a bit too much like implicit conversion
<FromGitter> <Blacksmoke16> can still use `//` which would be same as it wass
<FromGitter> <Blacksmoke16> iirc
<Groogy> yeah but it still feels a bit like C++ and it's implicit conversions
<FromGitter> <j8r> @naqvis how do you do to build this libraries, you take C libs as example for instance?
DTZUZU has quit [Ping timeout: 240 seconds]
DTZUZU has joined #crystal-lang
dannyAAM has quit [Quit: znc.saru.moe : ZNC 1.6.2 - http://znc.in]
dannyAAM has joined #crystal-lang
<FromGitter> <Blacksmoke16> hmm not sure how i want to setup the deserialization stuff
<FromGitter> <Blacksmoke16> since you cant use a setter to set the value in initialize ill need to set the ivars directly
<FromGitter> <Blacksmoke16> current idea is to define some method that returns an array of metadata, then use that to iterate over to set the ivars, where that method could handle which ones to exclude etc
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 265 seconds]
rohitpaulk has joined #crystal-lang
Human_G33k has quit [Quit: Leaving]
HumanG33k has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 276 seconds]
rohitpaulk has joined #crystal-lang
alex`` has quit [Quit: WeeChat 2.6]
alex`` has joined #crystal-lang
alex`` has quit [Client Quit]
alex`` has joined #crystal-lang
ht_ has quit [Quit: ht_]
rohitpaulk has quit [Ping timeout: 245 seconds]
alex`` has quit [Quit: WeeChat 2.6]
alex`` has joined #crystal-lang
sagax has quit [Read error: Connection reset by peer]
sagax has joined #crystal-lang
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 265 seconds]
<FromGitter> <Blacksmoke16> ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=5d8fd5ce290b8c354af2787c]
<FromGitter> <Blacksmoke16> go this working so far
<FromGitter> <Blacksmoke16> got*
<FromGitter> <alehander42> guys, you use
<FromGitter> <alehander42> A | Nil
<FromGitter> <tenebrousedge> `A?`
<FromGitter> <alehander42> right? for nilable? you dont have other syntax to define it? (currently bikeshedding nim's nilable syntax and looked at several other langs, including crystal)
<FromGitter> <alehander42> ah, so you have `?`
<FromGitter> <tenebrousedge> 👍
<FromGitter> <alehander42> the same as c# and typescript?
<FromGitter> <alehander42> nice, we consider it, but it might be harder to add a new symbol
<FromGitter> <tenebrousedge> probably? it's synonymous with `A | Nil`
<FromGitter> <tenebrousedge> I don't know c# or typescript that well
sorcus has quit [Ping timeout: 276 seconds]
sorcus has joined #crystal-lang
oprypin has quit [Quit: Bye]
oprypin has joined #crystal-lang
<FromGitter> <zsxawerdu> who else is a little taken back that crystal is as fast as rust and doesn't have all the B.S. about borrowing
<FromGitter> <tenebrousedge> well, without making a value judgment, Rust seems to be more of a systems language than Crystal is attempting to be
<oprypin> borrowing was never for performance
<FromGitter> <Blacksmoke16> idk anything about rust
oprypin has quit [Quit: Bye]
oprypin has joined #crystal-lang
Yxhuvud has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
alex`` has quit [Quit: WeeChat 2.6]
alex`` has joined #crystal-lang