Lydia's notes

Tips about Python and Linux.

Lydia's notes

thumbnail

We formed a team named Stardial and published our first website: Star Path Viewer. This is an open-source web application designed for academic research. This astronomical tool allows users to trace the path of any planet or star across the sky based on a chosen date in either the Gregorian or Julian calendar, spanning millennia into both the past and the future.

Compared to other existing tools, Star Path Viewer provides more precise information on star positions and rising/setting times, which is crucial for historians when dating historical events by correlating astrometric data with historical records. The tool also enables future prediction of star paths, aiding users in planning astronomical observations.

The star search is compatible with Chinese star names. It is a valuable function for historians of science studying ancient Chinese archives and astronomy.

Check out the GitHub repository for more infomation.

Limit the memory usage

It was annoying that WSL2 was always eating up my poor RAM. The following solution worked. [Reference]

My distribution is:

1
2
3
> wsl -l -v
NAME STATE VERSION
* Ubuntu-18.04 Running 2

Create a configure file named .wslconfig in your user directory in Windows.

Open PowerShell as administrator, shutdown WSL2 and edit the file:

1
2
> wsl --shutdown
> notepad "$env:USERPROFILE\.wslconfig"

For me the content is:

1
2
3
[wsl2]
memory=2GB
swap=0
Read more »
0%