jhass changed the topic of #crystal-lang to: The Crystal programming language | https://crystal-lang.org | Crystal 0.35.1 | 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
alexherbo2 has quit [Ping timeout: 258 seconds]
chachasmooth has quit [Ping timeout: 244 seconds]
chachasmooth has joined #crystal-lang
f1reflyylmao has quit [Ping timeout: 260 seconds]
f1refly has joined #crystal-lang
sagax has quit [Remote host closed the connection]
Elouin has quit [Quit: Ping timeout (120 seconds)]
zorp_ has quit [Ping timeout: 240 seconds]
Elouin has joined #crystal-lang
woodruffw has quit [Ping timeout: 240 seconds]
melthelesbian has quit [Ping timeout: 240 seconds]
melthelesbian has joined #crystal-lang
ua has quit [Ping timeout: 240 seconds]
woodruffw has joined #crystal-lang
ua has joined #crystal-lang
postmodern has quit [Quit: Leaving]
<FromGitter> <jasonm23> Ok probably completely useless, however, I ended up releasing a shard `words_to_numbers` while teaching my 7yr old how to code. => https://github.com/jasonm23/words_to_numbers
<FromGitter> <jasonm23> Posting here to get schooled on anything I may have missed out.
alexherbo2 has joined #crystal-lang
alexherbo20 has joined #crystal-lang
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo20 is now known as alexherbo2
deavmi has joined #crystal-lang
<FromGitter> <asterite> Your 7yr old understands regex? He's already a genius! :-)
zorp_ has joined #crystal-lang
alexherbo2 has quit [Remote host closed the connection]
HumanG33k has joined #crystal-lang
<FromGitter> <mtsmmp_gitlab> guys
<FromGitter> <Blacksmoke16> hm?
<FromGitter> <mtsmmp_gitlab> ```code paste, see link```
<FromGitter> <mtsmmp_gitlab> how do i loop through this object keys and find which key has "on_nav" = true? i tried .each but it says "Error: undefined method 'each_key' for YAML::Any"
<FromGitter> <mtsmmp_gitlab> no
<FromGitter> <Blacksmoke16> try `.as_h.each do |k, v|`
<FromGitter> <mtsmmp_gitlab> great
<FromGitter> <mtsmmp_gitlab> thats it
<FromGitter> <mtsmmp_gitlab> :D
<FromGitter> <mtsmmp_gitlab> thank you
<FromGitter> <Blacksmoke16> id still advise not working with YAML::Any like that tho...
<FromGitter> <mtsmmp_gitlab> hum
<FromGitter> <mtsmmp_gitlab> why is that
<FromGitter> <Blacksmoke16> because its a big union and you need to do stuff like that, i.e. `.as_h`
<FromGitter> <mtsmmp_gitlab> i see
<FromGitter> <mtsmmp_gitlab> no need for perfection though
<FromGitter> <mtsmmp_gitlab> the stuff that im doing is kind of experimental
<FromGitter> <Blacksmoke16> if what you're doing is super simple its prob fine; anything beyond that its less than ideal
<FromGitter> <mtsmmp_gitlab> gotcha
<FromGitter> <sam0x17> how to get `HTTP::Params` that includes POST params?
<FromGitter> <dscottboggs> you mean url-encoded post form bodies?
<FromGitter> <naqvis> @sam0x17 `HTTP::Params.parse(request.body.not_nil!.gets_to_end)`
<FromGitter> <naqvis> assuming you apply this on `POST` method, or else don't use such brute-force `not_nil!` method :P
oddp has joined #crystal-lang
Human_G33k has joined #crystal-lang
HumanG33k has quit [Ping timeout: 258 seconds]
oddp has quit [Quit: quit]
_whitelogger has joined #crystal-lang