$\tan{\theta}={{r}\over{l}}={{\Delta r}\over{\Delta l}}$
Franc Gossin Blog
Personal blog. Welcome! ;-)
2025-07-25
The Usage of the Volume of Lead in Pencil
$\tan{\theta}={{r}\over{l}}={{\Delta r}\over{\Delta l}}$
2025-06-09
Install v2ray on VPS in China Mainland
2025-04-02
Removing Vivo System App Causes Problems
These apps can be successfully removed with
pm uninstall -k user 0
e in Python function
Here is a function written in Python. It is used to randomly choose at least one from a list.
import random
import math
def choose_at_least_one(list_items):
chosen_items = [i for i in list_items if random.random() <= (1/len(list_items))]
if len(chosen_items) == 0:
return choose_at_least_one(list_items)
else:
return chosen_items
2025-03-24
Making Anki card by yourself
Making Anki card by yourself is usually a very annoying process. However with some programming technology you can make it faster and easier.
2025-03-23
Mailvelope setup on Linux Mint
Unlike the easy installation process on Windows platform, on linux to make Mailvelope use GnuPG you have to follow the official instructions.
2024-11-18
Use Windows 7 in 2024 as a nerd
As we all know, Microsoft no longer has ended its extended support to Windows 7 since 2020. However I have a low-end laptop with i3-6006U, which is not fluent when running Windows 10. I have tried several linux distributions but none of them works perfectly. So I turned to Windows 7. Although the end of support of this system means that the potential safety and privacy issues may occur, I have no other choice.
2024-11-08
Single-chip microcomputer | Use buzzer play music
The buzzer in the microcomputer can be controlled by setting its value repeatedly. However if we want to make it beep in a certain frequency, we need to do something more.