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
fifr has quit [Quit: ZNC 1.8.2 - https://znc.in]
fifr has joined #crystal-lang
fifr has quit [Read error: Connection reset by peer]
fifr_ has joined #crystal-lang
deavmi has quit [Read error: Connection reset by peer]
deavmi has joined #crystal-lang
elf_fortrez has joined #crystal-lang
<FromGitter> <szabgab> I accidentally ran "crystal spe" (without the trailing c) and it executed all the spec test. Why and how?
<FromGitter> <Blacksmoke16> `when "spec/".starts_with?(command)`
<FromGitter> <Blacksmoke16> is what the logic for the CLI is
fifr_ has quit [Ping timeout: 265 seconds]
elf_fortrez has quit [Ping timeout: 246 seconds]
<FromGitter> <szabgab> Oh, thanks
ur5us has quit [Ping timeout: 250 seconds]
<FromGitter> <alexherbo2> Is there a built-in way to manipulate trees (from a filesystem walk and json)?
<FromGitter> <alexherbo2> I need to collect a list of file names and contents (snippets) from a root. each folder contains a `scope.yml` to test whether the snippets should apply on a given file, for example having `rails`, `rails/ruby`, `rails/ruby/controller`, `rails/ruby/migration`.
<FromGitter> <alexherbo2> likely, `rails/scope.yml` will have `roots = ["config/environment.rb"]` to pass
<FromGitter> <alexherbo2> `rails/ruby/scope.yml` `extensions = [".rb"]` and so on
<FromGitter> <alexherbo2> I wonder if I should cache the filesystem exploration as json, or if it's ok to request the filesystem for scoping a file
jhass[m] has quit [Quit: Bridge terminating on SIGTERM]
fifr[m] has quit [Quit: Bridge terminating on SIGTERM]
<straight-shoota> depends... *shrug*
Elouin has quit [Ping timeout: 272 seconds]
<straight-shoota> stdlib has no dedicated tree data structure. I guess JSON::Any comes close. There are also shards.
<straight-shoota> But you need to decide whether caching even makes sense for your use case
fifr has joined #crystal-lang
fifr has quit [Quit: ZNC 1.8.2 - https://znc.in]
fifr has joined #crystal-lang
<FromGitter> <wyhaines> It isn't 100% clear to me what you are doing, but filesystems generally are pretty good at caching themselves, so you won't necessarily gain much by building your own filesystem cache.
Guest68 has joined #crystal-lang
Guest68 has quit [Client Quit]
yxhuvud has quit [Ping timeout: 250 seconds]
yxhuvud has joined #crystal-lang
<straight-shoota> We're having a live talk about the upcoming Crystal 1.0 Conference: https://youtu.be/tYb3YlDY4lE
Elouin has joined #crystal-lang
f1refly has quit [Quit: see ya in hell]
postmodern has joined #crystal-lang
f1refly has joined #crystal-lang
<FromGitter> <watzon> Good chat
<FromGitter> <RespiteSage> I'm really looking forward the the conference next week.
<FromGitter> <watzon> Same my dude
<FromGitter> <bew:matrix.org> Will the conference talks be public some time after the event?
<FromGitter> <wyhaines> I would be shocked if they were not. At the very least, though, I will definitely have my slide deck and all materials for my talk available.
ur5us has joined #crystal-lang
<straight-shoota> Yes, the recordings will be available publicly
<straight-shoota> I'll definitely have to watch them afterwards to see what was going on in the other track :D
deavmi has quit [Read error: Connection reset by peer]
deavmi has joined #crystal-lang
jhass[m] has joined #crystal-lang
fifr[m] has joined #crystal-lang
jhass[m] has quit [Quit: node-irc says goodbye]
fifr[m] has quit [Quit: node-irc says goodbye]
jhass[m] has joined #crystal-lang
fifr[m] has joined #crystal-lang
deavmi has quit [Quit: No Ping reply in 180 seconds.]
deavmi has joined #crystal-lang