Tag Archives: til

December 20, 2025: Weekly Notes 2025/27

Last week I did not write my weekly note December 13, 2025: Weekly Notes 2025/26

  • 🏃🏾 I am well on track to finish my 1000 km run this year.
  • Some good reads over last couple of weeks.
  • 📗 Misconceptions about rust lifetime was a good read.
  • I need to read Good conversations have lots of doorknobs a few more times.
  • Found author’s draft on domain driven design Microsoft Word _ Book_AfterFinal_doc – Evans03.pdf
    . Domain Driven Design brings team communication to the center. I am a sucker for any idea that improves communication across teams.
  • 🤯 TIL that you can use either public or private key to encrypt/decrypt message.
    I used to think only private key can be used for encryption. I know, I know, LOL indeed.
    Since certificates contain the public key of a CA, you can decrypt encrypted messages sent from them using it.

How to use slot=”foobar” in Vue3

Following is Vue2 code which is refactored for Vue3 below.

<f7-list-input label="Search patient" :input="false">
    <vue-simple-suggest
        slot="input"
      class="item-input-wrap"
      :max-suggestions="10"
      :nullable-select="false"
      :min-length="4"
      @update:model-select="onPatientSelected"
      :list="queryPatient"
    >
    </vue-simple-suggest>
</f7-list-input>
<f7-list-input label="Search patient" :input="false">
  <template v-slot:input>
    <vue-simple-suggest
      class="item-input-wrap"
      :max-suggestions="10"
      :nullable-select="false"
      :min-length="4"
      @update:model-select="onPatientSelected"
      :list="queryPatient"
    >
    </vue-simple-suggest>
  </template>
</f7-list-input>