<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>MacOS on Bdim</title>
    <link>/tags/macos/</link>
    <description>Recent content in MacOS on Bdim</description>
    <generator>Hugo -- 0.164.0</generator>
    <language>en</language>
    <copyright>2021-CURRENT_YEAR Bdim</copyright>
    <lastBuildDate>Sat, 13 Jul 2024 00:01:11 +0800</lastBuildDate>
    <atom:link href="/tags/macos/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>My note on learning LeNet 5</title>
      <link>/posts/my-note-on-learning-lenet-5/</link>
      <pubDate>Sat, 13 Jul 2024 00:01:11 +0800</pubDate>
      <guid>/posts/my-note-on-learning-lenet-5/</guid>
      <description>&lt;h2 id=&#34;some-words&#34;&gt;Some words&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;ldquo;The more I get, the less I know.”&lt;p align=&#34;right&#34;&gt;——bdim&lt;/p&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Recently, I am trying to learn more about image recognition. One of the topics that I am interested in is LeNet, which is a classic convolutional neural network. In this article, I will try to re-implement a LeNet using PyTorch and then abstractly understand some parts that I do not quite understand. The contents of this article may be inaccurate and will continue to update the details. Welcome to discuss with me about this article.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Using Copilot with Local Deployment &amp; Private Deployment Models via Ollama</title>
      <link>/posts/using-copilot-with-local-deployment--private-deployment-models-via-ollama/</link>
      <pubDate>Wed, 05 Jun 2024 00:01:11 +0800</pubDate>
      <guid>/posts/using-copilot-with-local-deployment--private-deployment-models-via-ollama/</guid>
      <description>&lt;h1 id=&#34;using-copilot-with-local-models-via-ollama&#34;&gt;Using Copilot with Local Models via Ollama&lt;/h1&gt;
&lt;p&gt;Recently, Mistral AI released a highly efficient code-writing model called &lt;a href=&#34;https://Ollama.com/library/codestral&#34;&gt;codestral&lt;/a&gt;. 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.&lt;/p&gt;
&lt;p&gt;Ensure you have &lt;a href=&#34;https://Ollama.com/&#34;&gt;Ollama&lt;/a&gt; and the &lt;a href=&#34;https://Ollama.com/library/codestral&#34;&gt;codestral&lt;/a&gt; model installed. It&amp;rsquo;s straightforward following the official links.&lt;/p&gt;
&lt;p&gt;To use a Copilot-like feature in VSCode, you need to install &lt;a href=&#34;https://Ollama.com/library/codestral&#34;&gt;codestral&lt;/a&gt; and &lt;a href=&#34;https://Ollama.com/library/starcoder2&#34;&gt;starcoder2&lt;/a&gt; via Ollama, then install the &lt;a href=&#34;https://docs.continue.dev/intro&#34;&gt;Continue&lt;/a&gt; plugin in VSCode. Ensure Ollama is running by checking localhost:11434.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Using Nix Flakes as a Package Manager on macOS &amp; Yubikey SSH Usage Memo</title>
      <link>/posts/using-nix-flakes-as-a-package-manager-on-macos--yubikey-ssh-usage-memo/</link>
      <pubDate>Mon, 20 May 2024 00:01:11 +0800</pubDate>
      <guid>/posts/using-nix-flakes-as-a-package-manager-on-macos--yubikey-ssh-usage-memo/</guid>
      <description>&lt;h1 id=&#34;using-nix-flakes-as-a-package-manager-on-macos--yubikey-ssh-usage-memo&#34;&gt;Using Nix Flakes as a Package Manager on macOS &amp;amp; Yubikey SSH Usage Memo&lt;/h1&gt;
&lt;h2 id=&#34;nix-flakes&#34;&gt;Nix Flakes&lt;/h2&gt;
&lt;p&gt;After reading fernvenue&amp;rsquo;s recent article &lt;a href=&#34;https://blog.fernvenue.com/archives/play-with-nix-flakes/&#34;&gt;Play with Nix Flakes&lt;/a&gt;, I decided to fully embrace Nix on my Mac, moving away from brew and Xcode. By discarding these bulky tools, I can easily install only what I need.&lt;/p&gt;
&lt;p&gt;Recently, I treated myself to an old M1 Max for my birthday, as I still rely on Logic Pro and Final Cut Pro. &lt;del&gt;After all, I can&amp;rsquo;t resist Apple&amp;rsquo;s accurate color displays.&lt;/del&gt; So, even though Debian can replace many tools, I still need to use macOS.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Debian GNOME on Mac Mini M1</title>
      <link>/posts/debian-gnome-on-mac-mini-m1/</link>
      <pubDate>Sun, 12 May 2024 00:01:11 +0800</pubDate>
      <guid>/posts/debian-gnome-on-mac-mini-m1/</guid>
      <description>&lt;h1 id=&#34;installation-memo-for-debian-gnome-on-mac-mini-m1&#34;&gt;Installation Memo for Debian GNOME on Mac Mini M1&lt;/h1&gt;
&lt;p&gt;I&amp;rsquo;ve long heard about Asahi Linux, and today I gave it a try, and it&amp;rsquo;s indeed impressive. Previously, I followed the official documentation to install Fedora, only to find out there are mature scripts available for direct Debian installation. Today, I finally mustered the courage to try my hand at installing on Mac, start the challenge like a newbie!&lt;/p&gt;
&lt;p&gt;You can:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Configuring Rime Input Method on macOS</title>
      <link>/posts/configuring-rime-input-method-on-macos/</link>
      <pubDate>Wed, 10 Apr 2024 00:02:11 +0800</pubDate>
      <guid>/posts/configuring-rime-input-method-on-macos/</guid>
      <description>&lt;h1 id=&#34;configuring-rime-input-method-on-macos&#34;&gt;Configuring Rime Input Method on macOS&lt;/h1&gt;
&lt;h2 id=&#34;installing-rime&#34;&gt;Installing Rime&lt;/h2&gt;
&lt;p&gt;Recently, I learned from Teacher fernvenue how to configure input methods on Debian GNOME and found that &lt;a href=&#34;https://rime.im/&#34;&gt;Rime&lt;/a&gt; is also applicable on macOS. Configuring Rime/Zhongzhouyun on macOS is just as straightforward.&lt;/p&gt;
&lt;p&gt;Firstly, visit the Rime official website and directly download the installation package for &lt;code&gt;Squirrel.pkg&lt;/code&gt;. After installation, the system will prompt you to either log out and log back in or manually log out and log in again.&lt;/p&gt;</description>
    </item>
    <item>
      <title>An overview of the experience of using Nix as a package manager on macOS.</title>
      <link>/posts/an-overview-of-the-experience-of-using-nix-as-a-package-manager-on-macos./</link>
      <pubDate>Sat, 02 Mar 2024 00:01:11 +0800</pubDate>
      <guid>/posts/an-overview-of-the-experience-of-using-nix-as-a-package-manager-on-macos./</guid>
      <description>&lt;p&gt;Hello everyone! Recently, I have noticed more and more people around me talking about Nix. As a tech newbie, although I don&amp;rsquo;t have much experience in coding, I deeply feel the inconvenience of using HomeBrew as a package manager on macOS in my daily use.&lt;/p&gt;
&lt;p&gt;So, I decided to give Nix a try for package management! A big step for a tech newbie!&lt;/p&gt;
&lt;p&gt;I am using a &lt;strong&gt;Mac mini M1&lt;/strong&gt;, and I believe machines with similar Apple silicon can also benefit from my experience. There is very limited Chinese content online about installing Nix on macOS, so I decided to share some of my experiences, hoping to help more friends!&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
