2025 · February

Data Analysis H4Sci

H4Sci — Programming with Data lectures. Programming with data, various tools for analysis and automation, plus an introduction to R.

Open on edu →

Personal Tax 个人所得税课程

Scanner

Need at least 7mil QR code. 50W 像素

Taobao 3/5mil, 100W pixel, 73-93mm DOF (depth of field), 380rmb

4 Stars Comet 4/7mil, 50W pixel, 300rmb

5 Stars Comet 3/4mil, 100W pixel, 500rmb

Redis

It is used for caching, Session Management, Real-time Analytics, Pub/Sub Messaging, Persistent Storage, Scalability

redis-cli to start

By default it is bind to localhost and also protectedmode (clients from other hosts can't connect), (read more about requirepass and ACL for user managment)

Redis should not be public. Better to use it as a storage service for a backend where users can connect

Redis uses binary TCP

Database Manager

DBeaver to visualize and edit your databases

Create multiple users for each application on MariaDB to have them separated, never use admin as it will have access to all databases

I can record log files in my.conf

general_log = 1
general_log_file = /var/log/mysql/mysql.log

But I need to make sure to have right file privilages set and that I use something like logroate to compress and move my files. As the logs contain crucial information and saved in plain text.

LLM Models API & Local

Download open source models through Ollama and run them locally

Deepseek R1 is 400gb the smaller ones might not be as good

Pretty easy to use, Deepseek has good documentation on how to use

21.2.25 龚总 Kitchen Talk

19.2 Risk Control Process Diagrams Meeting

What is the purpose of these diagrams? : (should not be too detailed like an SOP)

  • It is to show the investors what kind of risk control mechanisms we have and it also serves as a framework for how SOP or more detailed procedures should be done.

Need to clearly understand each process to be able to determin which control mechanisms are needed and which are superficial and make daily tasks harder. Also to be able to ask different departments and draw the diagrams and know how to prevent certain risks.

Ways to prevent people from doing certain things might be useless added time (prevent pdf from being downloaded to make sure it doesn't leave the company) or need to clearly communicate why (processes that we set up might also be skipped if we even skip it lol)

11.2.25 Airport Security

Some people don't like their work and are randomly rude, don't let it get into you, just continue your day and be happy.