The Sunrise at the East Cliff Precipice on Gouqi Island

This is a photo of the sunrise taken when I visited Gouqi Island the year before last. It was my first time to watch the sunrise over the sea, and it was truly stunning.

The photo was taken with the original camera of an iPhone 8, without any filters or post - processing.

This article points out that about 70% of failures occur during changes, emphasizes that changes are one of the main sources of failures, and also shares the experience of using Jenkins for CICD to reduce the failure rate. At the same time, it explores the selection between Jenkins and Github Action from multiple aspects, providing a reference for enterprises to choose a CICD system.

The author shares a DRF tutorial on Bilibili, with the link https://www.bilibili.com/video/BV1Sz4y1o7E8. The UP host is an instructor from a training institution. The advantage of this tutorial is that it clearly explains the code simplification process, which helps in understanding the DRF framework. The disadvantage is that it provides relatively little explanation on the specific usage of DRF and Django. The author laments that Bilibili has abundant beginner resources.

This article shares a tutorial on deploying Prometheus based on k8s, recommends several good resource addresses, including Chinese introductory tutorials and official website tutorials. It also provides deployment steps, precautions, and an example of the values.yaml parameter used in practice, solving the problem of unfriendly official documentation.

A former colleague shared a collection of commonly used regular expressions compiled by "Efficient Operations and Maintenance". The content is comprehensive, covering most work scenarios, including expressions for validating characters, special requirements, money input formats, etc. It also mentions the update on June 5, 2023, suggesting that with the advent of ChatGPT, a general understanding of such knowledge is sufficient.

Today, I came across a passage from "The Family Letters of Zeng Guofan", which emphasizes that scholars should be ambitious, knowledgeable, and persistent when reading. Being ambitious means not willing to be mediocre, being knowledgeable means understanding that knowledge is boundless, and being persistent means that nothing is impossible to achieve.

The author records the process of migrating the project's CICD pipeline from Jenkins to GitHub Action, shares relevant tutorial links, elaborates on the environment, triggering conditions, container usage, etc., and also provides the yml configuration file and precautions.

This article records the usage of the HPA resource in k8s, introduces the official website tutorial links related to horizontal scaling, elaborates on two configuration methods of HPA and recommends the yaml file method, provides configuration instructions and dependencies, such as the deployment of the metric api can refer to the official website.

The author installed Ubuntu 20.04 on the laptop due to Windows crashing, and shares some tips for working on Ubuntu, including the screenshot tool Flameshot, the RDP remote control tool Remmina, and also mentions the solution to the problem that Chinese characters cannot be typed in VS Code.

This article organizes the content of one - click deployment of Jenkins on K8S (EKS), provides the GitHub link to detailed scripts and configurations, introduces deployment commands, parameter descriptions, dependencies, and also covers EFS storage configuration, K8S Pods HPA, Nginx Ingress - related settings, etc.

The project requirement was to use a prefixed incremental primary key in Django's model, which should be globally unique. The author shares the implementation method, creating a separate model to ensure the uniqueness of the incremental number, defining a character primary key in the business model and modifying the save method to add a prefix, and also provides sample code.

This article introduces that Django, as an ORM framework, can perform database operations by encapsulating APIs without writing SQL. It focuses on the issues of commonly used query methods in Django's Model, such as get, all, and filter, as well as the usage of the values and values_list methods to obtain specified attribute values. The official website link is also mentioned.

Share the audio of the program "Xueqiu · In - depth Finance and Economics", explain why the change in market capitalization in financial news is a pseudo - proposition, point out that market capitalization is not a real increase or decrease in money, analyze its calculation method and significance for investors, and also explore the reasons why people are keen to talk about market capitalization changes.

The author shares the reasons for setting "small goals" in 2020 and the experience of trying to take on freelance work. The author reflects on the view of "don't become a company - customized talent", puts forward the idea of growing together with the company, and sets small goals for 2021, including earning 1000 yuan and updating the technical blog.

The author got married this year and changed jobs from Shanghai to Nanjing. He worked at Huawei and Trend Micro successively and shared his work experiences in these two companies. He also talked about the earnings from his fund investments and the small goals he didn't achieve in 2020.

A person who has been in the IT industry for three years, driven by a sense of crisis, spends a lot of spare time learning technology but neglects the people and things around him. After reading "One Up On Wall Street" by Peter Lynch, he reflects and realizes the need to balance learning with life and family, hoping to make adjustments.

The author shares a Django course on Geek Time. The author thinks the course is good. Although the lecturer doesn't pay much attention to the explanation of technical details, which is not very friendly to beginners, it is suitable for those with a basic knowledge of Django. The author also shares the learning code and the purchase link.

This promotion aims to earn some extra money and achieve mutual benefit. Products purchased through the promotion links are cheaper. The promotion covers aspects such as 2020 Double Eleven, new Tencent Cloud users, cloud products starting from 30% off, and cloud databases, each with its corresponding preferential link.

date: 2024-02-12
description: The author encountered problems when setting up a proxy in WSL2 (Ubuntu20.04), which led to an exploration of the differences between the .profile and .bashrc files in Linux. The author asked GPT4 - 32K, Tongyi Qianwen, and Wenxin Yiyan 4.0, compared the answers of each model, and pondered over the impact of large language models (LLMs) on engineers.
keywords: Linux, .profile file, .bashrc file, large language models (LLMs), Tongyi Qianwen, GPT4 - 32K, Wenxin Yiyan 4.0
tags:

  • Linux
  • chatgpt
    title: You Might Really Be Inferior to Large Language Models

I. Preface

date: 2021-05-30
description: The author shares insights from reading investment books and blogs in the past two months, introduces that the “Youzhiyouxing” product focuses on the psychological education of investment users, conveys viewpoints such as lowering expected returns, and also recommends the book “Achieving Financial Freedom through Regular Investment in Ten Years”, which details the methods of regular fund investment.
keywords: investment, Youzhiyouxing, Achieving Financial Freedom through Regular Investment in Ten Years, regular fund investment, realizing the value of investment cognition
tags:

  • investment
    title: Investment is the Realization of Cognition

Recently (about two months), I’ve come across some investment books and blogs that I think are really well - written. They clearly explained many things that I had only a vague understanding of before.

0%