<FromGitter>
<mavu> ' @faustinoaq I would be very interested in anything crystal + arduino related. Looking forward to whatever you manaegd to do there :)
gangstacat has quit [Remote host closed the connection]
fanta7531 has joined #crystal-lang
<FromGitter>
<bew> @Maroo-b hey, you might want to look into `caller` to show all the method calls that leads to where you are :)
<FromGitter>
<drum445> Using ECR, what is a clean way of setting the page title from each .ecr file please? In Jinja I'd use a `block title`
gangstacat has joined #crystal-lang
<FromGitter>
<drum445> ECR is rendered in a different order to ERB, meaning I can't just add `<% title = "This page's title" %>` to each of the files :(
<FromGitter>
<drum445> Found it, `<%= yield_content "some_key" %>` God bless Kemal's docs 🙏
ashirase has quit [Ping timeout: 240 seconds]
ashirase has joined #crystal-lang
_whitelogger has joined #crystal-lang
marmotini_ has joined #crystal-lang
<FromGitter>
<straight-shoota> @drum445 `yield_content` is a feature provided by Kemal, it's not implemented in stdlib's ECR. That's why it's only in Kemal docs.
<FromGitter>
<drum445> Indeed, makes sense. Very useful feature for templating
tsundsted has joined #crystal-lang
sagax has quit [Ping timeout: 245 seconds]
<jokke>
is someone here familiar with ACME and JWS and JWK? I'm trying to write an ACME client in crystal but i can't get the serialization right it seems. The ACME server tells me it failed parsing the JWS
ternarysolo has joined #crystal-lang
tsundsted has quit [Ping timeout: 256 seconds]
marmotini has joined #crystal-lang
marmotini_ has quit [Ping timeout: 268 seconds]
<FromGitter>
<ditsara> I'm trying to use `crystal tool expand` (and other tool features), and it gives me an error because it doesn't load dependencies. For example in luckyframework/avram, I'm running `crystal tool expand -c src/avram/model.cr:58:5 src/avram/model.cr` and I get "Error in src/avram/model.cr:6: undefined constant Avram::Associations" ... any insight on what I'm doing wrong? or a source for a better reference on
<FromGitter>
... `crystal tool`?
marmotini has quit [Read error: Connection reset by peer]
marmotini has joined #crystal-lang
fanta7531 has quit [Quit: fanta7531]
<FromGitter>
<michalvalasek> @FromIRC Thanks!
flaviodesousa has joined #crystal-lang
<FromGitter>
<malkomalko> 200 examples, 0 failures, 0 errors, 1 pending: Finished in 9.75 milliseconds. The power of fast and pleasant specs to help you write better code can not be overstated.
<FromGitter>
<Blacksmoke16> ayy, well there you go
<FromGitter>
<jwoertink> Yup! I started writing one, and this is way faster than what I was doing lol
fanta7531 has quit [Quit: fanta7531]
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Remote host closed the connection]
<FromGitter>
<Blacksmoke16> 💯
<FromGitter>
<straight-shoota> yeah, myhtml is efficient
DmitryBochkarev has quit [Ping timeout: 250 seconds]
<FromGitter>
<jwoertink> Out of curiosity of how the compiler works, when you add in types to arguments, and return types on methods, do you get any sort of performance boost, or compilation speed?
<FromGitter>
<Blacksmoke16> prob the opposite since it has more work to do?
<FromGitter>
<jwoertink> ah, interesting. So unless the compiler yells at you to, or you need to be very specific, it's better to leave them off?