jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.18.6 | 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
paulcsmith_ has joined #crystal-lang
paulcsmith_ has quit [Client Quit]
Philpax has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vKvmX
<crystal-gh> crystal/master 8a10530 Ary Borenszweig: Merge branch 'release/0.18'
willl has joined #crystal-lang
<travis-ci> crystal-lang/crystal#8a10530 (master - Merge branch 'release/0.18'): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/141773773
Oliphaunte has joined #crystal-lang
<travis-ci> crystal-lang/crystal#752bb8d (release/0.18 - Codege: use `null` instead of `undef` as initial value of class vars and constants): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/141773784
paulcsmith_ has joined #crystal-lang
paulcsmith_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
paulcsmith_ has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
snsei has joined #crystal-lang
snsei has quit [Remote host closed the connection]
snsei has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
buggs1 has joined #crystal-lang
Oliphaunte has joined #crystal-lang
buggs has quit [Ping timeout: 272 seconds]
pawnbox_ has quit [Ping timeout: 272 seconds]
Oliphaunte has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
paulcsmith_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Oliphaunte has quit [Remote host closed the connection]
ome has joined #crystal-lang
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
paulcsmith_ has joined #crystal-lang
paulcsmith_ has quit [Client Quit]
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]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Ping timeout: 240 seconds]
no0p has joined #crystal-lang
no0p has quit [Client Quit]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Read error: Connection reset by peer]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
mbarbar has joined #crystal-lang
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
willl has quit [*.net *.split]
danzilio has quit [*.net *.split]
toydestroyer has quit [*.net *.split]
iamstef_ has quit [*.net *.split]
DeBot has quit [*.net *.split]
toydestroyer has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 264 seconds]
ponga has joined #crystal-lang
ome has quit [Quit: Connection closed for inactivity]
ponga has quit []
mbarbar has quit [Ping timeout: 276 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 246 seconds]
snsei has quit [Remote host closed the connection]
snsei has joined #crystal-lang
snsei has quit [Ping timeout: 240 seconds]
snsei has joined #crystal-lang
snsei has quit [Remote host closed the connection]
snsei has joined #crystal-lang
mbarbar has joined #crystal-lang
pawnbox has joined #crystal-lang
ome has joined #crystal-lang
pawnbox has quit [Ping timeout: 264 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 240 seconds]
snsei_ has joined #crystal-lang
snsei has quit [Ping timeout: 272 seconds]
trapped has joined #crystal-lang
soveran has joined #crystal-lang
ponga has joined #crystal-lang
pawnbox has joined #crystal-lang
ozra has quit [Remote host closed the connection]
Raimondii has joined #crystal-lang
Raimondi has quit [Ping timeout: 240 seconds]
ome has quit [Quit: Connection closed for inactivity]
Raimondii is now known as Raimondi
soveran has quit [Remote host closed the connection]
<FromGitter> <jmoriau> Hi can anyone explain to me what this error means and why ? https://play.crystal-lang.org/#/r/12yz
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has joined #crystal-lang
<BlaXpirit> jmoriau, https://crystal-lang.org/api/0.18.6/toplevel.html#raise%28ex%3AException%29%3ANoReturn-class-method
<FromGitter> <jmoriau> aaaahhhh
<FromGitter> <jmoriau> Makes sense tnaks
<FromGitter> <jmoriau> thanks
rolha has joined #crystal-lang
ponga has quit []
DeBot has joined #crystal-lang
rolha has quit [Ping timeout: 258 seconds]
triangles has joined #crystal-lang
mbarbar has quit [Remote host closed the connection]
mbarbar has joined #crystal-lang
Philpax_ has joined #crystal-lang
Philpax has quit [Ping timeout: 240 seconds]
rolha has joined #crystal-lang
rolha has quit [Ping timeout: 240 seconds]
triangles has quit [Quit: Leaving]
rolha has joined #crystal-lang
Philpax_ has quit [Ping timeout: 252 seconds]
<FromGitter> <sdogruyol> isn't it better to have HTTP::Headers use a NamedTuple instead of a Hash?
<jhass> it's not possible
<jhass> the set of valid HTTP headers is indefinite
<FromGitter> <sdogruyol> hmm
<FromGitter> <sdogruyol> can you give me an explicit example where NamedTuple is insufficient with that
<jhass> X-Foo-Bar-Yolo is a valid header
<FromGitter> <sdogruyol> {"X-Foo-Bar-Yolo": "Something"} isn't this is a valid NamedTuple
<jhass> it is
<jhass> but how do you construct it from a HTTP response?
<FromGitter> <sdogruyol> i'm sorry if i am missing something but isn't it the same as Hash?
<jhass> >> nt = {foo: "bar"}; nt[:bar] = "baz"
<DeBot> jhass: undefined method '[]=' for NamedTuple(foo: String) - https://carc.in/#/r/12zb
<jhass> >> x = "foo"; {x => 1}
<DeBot> jhass: # => {"foo" => 1} - https://carc.in/#/r/12zc
<jhass> >> x = "foo"; {x: 1}
<DeBot> jhass: # => {x: 1} - https://carc.in/#/r/12zd
<FromGitter> <sdogruyol> ahh
<jhass> it's a tuple
<jhass> the indicies just have names
<FromGitter> <sdogruyol> but you cant access it
<jhass> sure you can
<FromGitter> <sdogruyol> like you'd in a Hash
<FromGitter> <sdogruyol> *
<jhass> you can't modify it
<jhass> or construct key names unknown at compile time
<FromGitter> <sdogruyol> okay, now i get it that why can't we do that :)
<FromGitter> <sdogruyol> thank you
<jhass> yw
snsei_ has quit [Remote host closed the connection]
snsei has joined #crystal-lang
mbarbar has quit [Remote host closed the connection]
rolha has quit [Ping timeout: 264 seconds]
rolha has joined #crystal-lang
Raimondii has joined #crystal-lang
Raimondii has quit [Read error: Connection reset by peer]
trapped has quit [Read error: Connection reset by peer]
Raimondi^2 has joined #crystal-lang
Raimondi has quit [Ping timeout: 240 seconds]
Raimondi^2 is now known as Raimondi
Raimondi is now known as Raimondii
Raimondii is now known as Raimondi^1
snsei_ has joined #crystal-lang
snsei has quit [Ping timeout: 240 seconds]
Raimondi^1 is now known as Raimondi
Raimondi is now known as Raimondii
Raimondii is now known as Raimondi
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Ping timeout: 244 seconds]
pawnbox has quit [Remote host closed the connection]
snsei has joined #crystal-lang
snsei_ has quit [Ping timeout: 258 seconds]
snsei has quit [Remote host closed the connection]
snsei has joined #crystal-lang
paulcsmith_ has joined #crystal-lang
pawnbox has joined #crystal-lang
paulcsmith_ has quit [Quit: Textual IRC Client: www.textualapp.com]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Ping timeout: 276 seconds]
rolha has quit [Ping timeout: 272 seconds]
snsei_ has joined #crystal-lang
snsei has quit [Ping timeout: 272 seconds]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Ping timeout: 240 seconds]
rolha has joined #crystal-lang
soveran has quit [Remote host closed the connection]
snsei has joined #crystal-lang
snsei_ has quit [Ping timeout: 240 seconds]
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has joined #crystal-lang
snsei_ has joined #crystal-lang
snsei has quit [Ping timeout: 240 seconds]
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Ping timeout: 260 seconds]
Ven has joined #crystal-lang
snsei has joined #crystal-lang
snsei has quit [Remote host closed the connection]
snsei_ has quit [Ping timeout: 252 seconds]
snsei has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Ping timeout: 246 seconds]
<crystal-gh> [crystal] Nephos opened pull request #2946: WIP: Add new HTTP::Headers constructors (master...http-headers-new-with-params) https://git.io/vKvhU
snsei_ has joined #crystal-lang
snsei has quit [Ping timeout: 244 seconds]
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
soveran has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Ping timeout: 252 seconds]
rolha has quit [Ping timeout: 258 seconds]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Ping timeout: 240 seconds]
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bjz has joined #crystal-lang