Using Copilot with Local Deployment & Private Deployment Models via Ollama

Using Copilot with Local Models via Ollama Recently, Mistral AI released a highly efficient code-writing model called codestral. It’s only 22B, and my MacBook can easily handle it, using around 15GB of memory during operation. I wanted to integrate it with VSCode to replace GitHub Copilot for more secure coding. Ensure you have Ollama and the codestral model installed. It’s straightforward following the official links. To use a Copilot-like feature in VSCode, you need to install codestral and starcoder2 via Ollama, then install the Continue plugin in VSCode....

June 5, 2024 · 3 min

Configuring Rime Input Method on macOS

Configuring Rime Input Method on macOS Installing Rime Recently, I learned from Teacher fernvenue how to configure input methods on Debian GNOME and found that Rime is also applicable on macOS. Configuring Rime/Zhongzhouyun on macOS is just as straightforward. Firstly, visit the Rime official website and directly download the installation package for Squirrel.pkg. After installation, the package will prompt you to either log out and log back in or manually log out and log in again....

April 10, 2024 · 2 min

An overview of the experience of using Nix as a package manager on macOS.

The voices of Nix are increasingly heard around me. However, as a tech novice, I have limited experience in coding. Nonetheless, in my daily use, I can feel how inconvenient HomeBrew as a package manager is under macOS. Therefore, I decided to switch to Nix for package management! A big step for a tech newbie!! The author’s machine is a Mac mini M1, and machines with similar Apple silicon should also be able to learn from this experience....

March 2, 2024 · 3 min