ChanServ changed the topic of #crystal-lang to: The Crystal programming language | https://crystal-lang.org | Fund Crystal's development: https://crystal-lang.org/sponsors | GH: https://github.com/crystal-lang/crystal | Docs: https://crystal-lang.org/docs | Gitter: https://gitter.im/crystal-lang/crystal
elf_fortrez has joined #crystal-lang
elf_fortrez has quit [Quit: Client closed]
ur5us has quit [Ping timeout: 260 seconds]
ur5us has joined #crystal-lang
hightower2 has quit [Remote host closed the connection]
hightower2 has joined #crystal-lang
ur5us has quit [Ping timeout: 260 seconds]
hightower3 has joined #crystal-lang
hightower2 has quit [Ping timeout: 265 seconds]
Starfoxxes has quit [Ping timeout: 252 seconds]
Starfoxxes has joined #crystal-lang
rem has quit [Quit: WeeChat 3.2]
hightower3 has quit [Ping timeout: 252 seconds]
<FromGitter> <grkek> Hello
<FromGitter> <Blacksmoke16> o/
<FromGitter> <jrei:matrix.org> Hi @grkek , long time not see!
Peter0x41 is now known as Peter0x44
brw has quit [Quit: Ping timeout (120 seconds)]
brw has joined #crystal-lang
wolfshappen has quit [Ping timeout: 252 seconds]
wolfshappen has joined #crystal-lang
<FromGitter> <djpate> Hello, new here. Had a question regarding NamedTuples. Is it possible to have a namedTuple with optional keys
<FromGitter> <djpate> I want to enforce a specific type if a value is set but allow the key to be missing
<FromGitter> <Blacksmoke16> use a struct/record
<FromGitter> <Blacksmoke16> it's usually suggested to not use named tuples to model data
<FromGitter> <djpate> can I easily get a hash out of a record? the orm I'm using only allows hash/NamedTuple for the update method
<FromGitter> <Blacksmoke16> is it granite?
<FromGitter> <djpate> no Jeniffer
<FromGitter> <Blacksmoke16> then not that im aware
r0bby has quit [Write error: Connection reset by peer]
r0bby has joined #crystal-lang
<FromGitter> <atlantis> Hi all! I'm on 1.1 and getting "Error: BUG: already had enclosing call" on (spider-gazelle) deferred_promise.cr: self.then(->(result : Input)
<FromGitter> <atlantis> I can open an issue there but might take a crack at fixing it... any helpful knowledge to drop on what that error means/where to start looking?
<FromGitter> <Blacksmoke16> looks like a compiler bug
<FromGitter> <Blacksmoke16> i.e. prob not related to spider gazelle
<FromGitter> <Blacksmoke16> first step would be to create a minimal program that reproduces it
<FromGitter> <atlantis> whoops I lied - apparently this is in a 1.0.0 container so let me confirm it still exists in 1.1.0
<FromGitter> <atlantis> thanks everyone for all the work on crystal btw! getting close to a deploying a real project hopefully and performance is great so far...
ur5us has joined #crystal-lang
Starfoxxes has quit [Ping timeout: 260 seconds]
<FromGitter> <manveru:matrix.org> is it a bug that `FileUtils.cp_r(Path, Path)` fails because https://github.com/crystal-lang/crystal/blob/6d9a1d583/src/file_utils.cr#L122 converts `dest_path` to a String if it's a directory?
<FromGitter> <manveru:matrix.org> so i have to use `FileUtils.cp_r(REPO_TRANS.to_s, REPO_LOCAL.to_s)` which just feels ugly :)
<FromGitter> <Blacksmoke16> try on master if possible
<FromGitter> <Blacksmoke16> was a fix in that area a little while ago
hightower2 has joined #crystal-lang
ur5us has quit [Quit: Leaving]
Starfoxxes has joined #crystal-lang
<FromGitter> <atlantis> https://play.crystal-lang.org/#/r/bwh3 wow that was painful to isolate lol
<FromGitter> <atlantis> i'll start an issue on the crystal rep
hightower2 has quit [Ping timeout: 260 seconds]
<FromGitter> <atlantis> trying to figure out why my code leverages that bug for a compile error, yet the spec passes for the promise shard...