My mind is rather confused, so Iā€™ll first run one pomodoro and keep a record of it. I donā€™t know where is the appropriate place to write it, so Iā€™ll write it here for now. - šŸŒ€Where should I write?

šŸ… Create a private repository

  • omoikane-embed-enchi
  • PRIVATE is the first case

push from omni :

git remote add enchi https://github.com/nishio/omoikane-embed-enchi.git
git branch -M main
XXXX git push -u origin main

Oh, youā€™re sending the LFS.

  • Whether to rebase and erase Oh, git push -u origin main is a mistake!
  • $ git push -u enchi main
  • Where is origin in the first place?

clone and open with new code

  • $ git clone https://github.com/nishio/omoikane-embed-enchi.git
  • $ code omoikane-embed-enchi

Run it locally for now.

  • Copy .env from omni since it is not in the repository
    • PROJECT_NAME=enchi`.
  • I do this with make_vecs_from_json. py
payload = {
    "title": title,
    "project": PROJECT,
    "text": "\n".join(buf),
    "is_public": is_public,
}
- `is_public=True` is hard coded.
    - I'll set it to false.
  • Does having a separate COLLECTION_NAME in .env work?
    • Keep COLLECTION_NAME as nishio.
    • Ah, I have a feeling this will require traffic control in the future.
    • Is is_public=False for ā€œI donā€™t want the string hit by a vector search that is publicā€?
    • Uh, yeah, False dichotomy.
      • I was thinking only two ways, ā€œpublicā€ and ā€œonly you can see it,ā€ but now Iā€™m thinking ā€œpublic,ā€ ā€œlimited public,ā€ and ā€œonly you can see it,ā€ which is why Boolean is wrong in the first place.
    • If you make is_public=False searchable in the future, and the generated information is entered into enchi, I can see a future where you accidentally enter information with is_public=False that should not be public to anyone but yourself, and it leaks.
    • Is is_public=True or for_enchi=True appropriate?
      • No, is_public=True or project="enchi".
      • Why not just use project="nishio" or project="enchi" to begin with?
    • I wonder if my future self will make this decision properlyā€¦

šŸ… :

prev_title, prev_lines = bot_output[-1]
                             ~~~~~~~~~~^^^^
IndexError: list index out of range
  • This is due to the fact that the main branch is trying to get and read the latest notes, and since this is the first introduction, the latest notes do not exist

  • I donā€™t think we need the main branch in the first place this time, so Iā€™ll pass.

  • Error due to private project

    • We just didnā€™t support it yet.
    • done

I created one page with a manual trigger.

  • Letā€™s explore what form of activity would be best without suddenly making it automatic.
  • Turn off periodic execution of Github Actions

Refactored.

  • Letā€™s see, what am I supposed to do with this by PUSHING it?
  • Merge into omniā€¦
    • Well, thereā€™s a complication with uncommitted diffs of the local version youā€™re trying to make.
    • We need to organize the code over here.

šŸ…

Where is origin in the first place?

  • origin = core.
  • source of confusion
  • % git remote rename origin core
  • % git push omni main
  • % git fetch enchi
  • image
  • image
  • % git push omni main
  • done! git status
Your branch and 'enchi/main' have diverged,
and have 5 and 4 different commits each, respectively.
  • Thatā€™s right, what are you going to do?
  • % git branch -dr enchi/main

Other

  • Omoikaneā€™s bot was changed to ā€œadd your thoughts at the end of a random pageā€.
  • Bot on unnamed-projects was set to ā€œsuggest splits on the longest pageā€.

This page is auto-translated from /nishio/enchićøć®å°Žå…„ using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. Iā€™m very happy to spread my thought to non-Japanese readers.