I have 5 devices could be called computer of my own: 3 desktops, 1 laptop and 1 MacBook. One of the desktops became my homelab server and NAS. 4 computers for me may be too more to use, but they can make sure anyone of them down, that I can still work.

The motivation to write this article is I want to install Linux on my laptop recently. Its CPU - Intel 8th gen i7-8550U - with terrible effeciency-energy ratio, makes me have no any interesting to use it. Then I spent one week (after work) to install and configure Linux on it. The desktop environments of Linux are not good, even though Gnome and KDE can out-of-box, but I still need to configure more things to make them look great and use conveiniently. I do not want to spend more time on it.

I back to Windows, the familir platform with a more complete DE. With Windows Subsystem for Linux (WSL), I also can developing on Linux environment.

So I wrote this article, for recoding how I setup my development environment. If I have a new device or re-installing OS, I can recover my workspace quickly.

Also, I hope this article can decide my choice of development and production environment.

Step 1: Resolve the network problem

The network problem is a big obstacle in China for any programmer. So the first thing for setup is to resolve the problem. For some reasons, I could not provide the detail of it.

Step 2: Install package manager and git

On Windows

# 1. Allow execution for local script
# 2. Install scoop
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
# Install git, it will also install the dependency of it: 7-zip
scoop install git

On macOS

Installing Command Line Tools for Xcode is necessary to install third-party package manager.

# after install command line tools, we can use the folloing command to install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Step 2.5: Enable WSL on Windows

# Enable the feature of WSL and Virtual Machine Platform
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
# Upgrade WSL
wsl --update
# Install Debian distro
wsl --install Debian

Step3: Install the development kit version manager

The package manager provide the convenient way to install program, but the version management of them are too weak. For developing, I prefer to use the common version manager to manage my development kit.

versionfox (vfox)

versionfox is a crossplatform resolution to manager versions of development kit. It is compatible with asdf-vm.

scoop install vfox

asdf-vm

the powerful version manager, asdf-vm only supports the unix-like system. But it is easy to install.

git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.0

又度过了一次几乎没有任何内容输出的一年,虽然不能说完全没有,但以我个人的观点来看,几乎可以忽略不计。写文字
表达自己的观点,看起来似乎是一件很轻松的事情——构思了许许多多的内容,但是当自己坐在电脑前时,发现敲出来的文字甚至还没有自己在上学时写的命题作文多。

如果要说2023年我在忙什么?我会回答:我在认识这个社会。我们是从什么时候开始认识社会的?参加工作就能认识社会吗?我认为不见得,如果工作内容很单一同事关系很简单,那么这样的工作做到退休,你依然无法认识到社会是什么样的。把自己置身于一个截然不同的环境中,自己需要亲自去处理很多事情,与不同的人打交道,对于我来说,这样才能够更清晰地去认识当下的社会。

- 阅读剩余部分 -

2022年,我算是正式步入了社会,进入了职场。在进入了职场之后,我终于知道了为什么许许多多的博客的文章产出随着时间推进而减少了。工作使人疲惫,而工作中所学到的,所用到的东西,其所可用来分享的价值是很小的。而工作之外,用来累计有价值的知识的时间很少的。好在我接触到了卡片笔记法,一年下来零散的知识还是有不少。

也正是因为开始“工作”的原因。立定的计划许多都没有实现,所以今年的总结大抵还是以阐述实际情况为主。

- 阅读剩余部分 -

当我们有了稳定的存款和一定积蓄之后,终于可以开始进行投资了,毕竟财务自由还是需要靠被动收入才能实现,而市场投资是最轻松的实现被动收入的方法。如果你期待本文章给你推荐什么优质的投资项目,或者什么稳赚不赔的方案,那么你可能会失望了,本篇文章仍然只提供投资的基础知识与一些投资的观点,但请相信我,这些你从未接触过的知识或许会颠覆你已有的观点。

在前两篇文章中,我多次提到了投资的风险与收益成正比,但这只是绝大多数的情况。这个世界上也存在低风险高回报的投资项目,但这些优质的投资项目我们绝大多数的普通人是接触不到的,也许只有那些投资公司的高层才知道。

但有两种的投资,它适用于我们每一个人,并且它低风险,但能给我们带来极高的回报,虽然这些回报不是直接的经济利益,但能给我们的人生带来巨大的价值。在开始讲解有关于市场投资的内容之前,我认为这些投资项目应该是每个人都需要知道的。

- 阅读剩余部分 -