Category: Tech

  • Interact with Python virtual environment

    Using python for mahcine learning projects is totally different from utilizing the language for productivity on daily tasks. Python official website provides the documentations for venv1. This post2 contains a comprehensive guide on how to use the virtual environment. There are lots of tutorials on how to setup, manage and dispose a python virtual environment…

  • a glimpse of ssh remote servers via sshls

    Suppose one has access to many servers via ssh, the config file has been properly managed, sometimes it is still difficult to remember the alias for each server. It would be much better to run a command line to print out a list of server names and public key comments associated with the server from…

  • Read and write most commonly used config files

    Configuration files are crucial for setting up software applications, specifying settings, and managing operational parameters. In this article, we will explore the top most commonly used configuration file formats, understand their history, advantages, and disadvantages, and provide Python snippets for reading and writing these formats. These config files include JSON, conf, XML, HCL, YAML, TOML,…

  • Expanding volume of VMs

    Sometimes it would be useful to extend certain volumes on VMWare or other VMs on the guest machine due to development requirements. In this tutorial, the logical volume on Rocky Linux 9 guest machine will be extended on VMWare. Generally speaking, there are 2 steps to do so: first the spaces need to be added…

  • Install Microsoft Visio on macOS M series Chips via Parallels Desktop

    I’m trying to incorporate Microsoft Visio in my workflow as I underestimated its power. One problem for me is that I use a Macintosh which is not able to use the app natively, even through there’s a web based app, it is still far from acceptable in terms of user experience. Thus I decide that…

  • A Tutorial on scikit-learn

    Scikit-learn is one of the most fundamental machine learning tools. You could access its official website here. It may not as fancy as pytorch or tensorflow, but scikit-learn is a good starting point for beginners to learn about machine learning algorithms. In this tutorial, several aspects will be shown, including installation, datasets as well as…