Getting to know the Go language

Original link: https://blog.gotocoding.com/archives/1767?utm_source=rss&utm_medium=rss&utm_campaign=%25e5%2588%259d%25e8%25af%2586go%25e8%25af%25ad%25e8%25a8%2580 In fact, strictly speaking, it is not a first acquaintance. About 15 years ago, I learned the grammar of Go language once. Due to the poor reputation of Go language GC at that time, I didn’t study it too seriously, but I just learned the syntax roughly. The impression of Go is […]

Getting to know the Go language Read More »

JS strict mode (use strict) detailed

Because JavaScript syntax is not rigorous enough, it has been criticized by people. For example, when using a variable, it can be declared in advance without using the var keyword (for example: url = ‘http://javascript.p2hp.com/’; ), at this time The JavaScript interpreter automatically creates this variable for you. In order to make the code more

JS strict mode (use strict) detailed Read More »

Lightweight and highly available K8s cluster construction solution: MicroK8s

Original link: https://soulteary.com/2022/10/15/lightweight-and-highly-available-k8s-cluster-construction-solution-microk8s.html MicroK8s is a CNCF certified Kubernetes distribution developed and maintained by Canonical, the commercial company behind Ubuntu. It supports high availability (HA) like the full version of Kubernetes, and supports the rapid formation of K8s clusters. Suitable for edge computing, IoT, and MLOps machine learning scenarios using KubeFlow. Of course, it is

Lightweight and highly available K8s cluster construction solution: MicroK8s Read More »

Make room for chance in life

Truly embrace contingency “Why put us together to chat?” The recording of this episode of “The Screws Are Tightening” took place late at night in Beijing time during the National Day holiday. The anchor Wu Qi and the guests—art historian Wu Hong and film director Huang Shuli, from their residences in Asia, Europe and America,

Make room for chance in life Read More »

Tesla sues former employees for infringement of trade secrets, the first in China

Tesla (Shanghai) Co., Ltd. and Zhu Moumou’s trade secret infringement dispute will be held on December 14 in the Fourth Court of the People’s Court of Yangpu District, Shanghai. The case number is (2022) Hu 0110 Min Chu No. 18356… The case This is Shanghai Tesla’s first domestic trade secret infringement dispute, and the defendant

Tesla sues former employees for infringement of trade secrets, the first in China Read More »

The pharmaceutical track has begun to rebound, and the most complete list of pharmaceutical industry index funds is here

After more than a year of decline, the pharmaceutical track has finally begun to rebound in recent days. Although the valuation level of the pharmaceutical track has reached a very low level, the prosperity of the sub-tracks within the industry should be said to be quite different. Choosing a sub-track with a high prosperity will

The pharmaceutical track has begun to rebound, and the most complete list of pharmaceutical industry index funds is here Read More »

How to use css to remove the white background of the picture and make the white background picture transparent on the web page

Generally, product list pages are all product pictures with a white background. Sometimes I feel that the white background is not good. If I want to change to a gray or other light background, do I need to reprocess the pictures? The bottom picture is displayed transparently, so that we define any background color under

How to use css to remove the white background of the picture and make the white background picture transparent on the web page Read More »

CSS implements text overflow Clip without truncating half a character

Original link: https://innei.ren/posts/programming/css-textoverflow-clip-without-cutting-character This rendering is generated by marked, there may be typography issues, for the best experience, please go to: https://innei.ren/posts/programming/css-textoverflow-clip-without-cutting-character Recently a colleague asked me if CSS can achieve text overflow truncation, but not to truncate a single character. Usually we will use text-overflow: clip; overflow: hidden to achieve this. But this happens

CSS implements text overflow Clip without truncating half a character Read More »