2024 Week 46: Quick Updates

Professional Stuff

Introduced Curosr to My Wife

Cursor is an AI powered IDE, based on VSCode. The major difference is that it can provide more tight integration with the codebase, like asking questions with @codebase, also it has a ā€œcomposer modeā€ which could help modify files in a more structured way with the diff view. It extremely likes a pair programming colleague, but I am always the ā€œnavigatorā€. I have used it for a while, and I think it’s a good tool for me.

KubeCon NA 2024, my most anticipated topics

I always make a list about the topics I am most interested in during KubeCon. Here is my list for KubeCon NA 2024. Parts of them already have slides, we could watch them before the conference.

And later I will update my comments/reviews on each topic.

Talks

Lighting Talks

2024 Week 45: Quick Updates

I did not feel something special in this week, so just some quick reviews and updates.

Professional Stuff

Bring macOS native module to electron with NAPI-RS and swift-bridge

TLDR; Build browser webpage, or build native app. Electron/Tauri/Wails is not the best choice for desktop app, unless

  • cross-platform is a must
  • also the app do not ask for tightly system integration
  • and you do not care about the look and feel of the app

We developed a in-context AI assistant tool called Haye, https://haye.ai. And we used to decided to use electron as the framework to build it, and now it looks like electron already become the burden of the project. We want to build the native-like experience on macOS, and we always use the webview to imitate the native. And our app want to integrate with the system, like hotkey, notification, Notes, or Shortcuts. None of them can be easily done with only javascript. And there is not so good ecosystem for electron to do this.

2024 Week 44: Passion or Profession

Passion or Profession

Last week I completed č™šä¼Ŗēš„ēœŸåæƒčÆ (č¶…ę€č€ƒ)by åŒ—é‡Žę­¦(Takeshi Kitano). Takeshi Kitano is a famous Japanese comedian, actor, and film director, and he is of the same age as people from my grandparents generation.

I am an east-asian, and I think China, Japan, and Korea are the three countries that have much similarity in their culture and history. So recently days I have been reading several books of Japanese / Korean authors, and I think that’s a really good way to learn and think.

Cheat Sheet for macOS App Signing and Notarizing

Background

In the last 3 weeks, we just turned the personal Apple Developer membership into a organization membership, also changed the name as ā€œBoring Design LLCā€. I am working on replace old certificates and with new ones.

I just realized that I nearly forgot how to get the new certificates for electron app signing, so here is a cheat sheet for that, maybe it will help me again in the future.