项目由来

创新港羽毛球场馆每天的预定需求较大。在线预定系统每天早上 8:40 左右开放,并且开放时间不定。这些因素给手动预定场馆带来了很大的麻烦,因此考虑由脚本自动化实现场馆预定过程。

阅读全文 »

This is an automatically translated post by LLM. The original post is in Chinese. If you find any translation errors, please leave a comment to help me improve the translation. Thanks!

Project Background

The Innovation Port badminton venue has a high demand for reservations every day. The online reservation system opens around 8:40 am every morning, and the opening time is not fixed. These factors have caused a lot of trouble for manual venue reservations, so it is considered to automate the venue reservation process with a script.

阅读全文 »

写作缘由

由于经常换电脑设备,每次更换设备时都需要重新配置Hexo环境,故对配置流程进行记录,以供后续使用。

阅读全文 »

This is an automatically translated post by LLM. The original post is in Chinese. If you find any translation errors, please leave a comment to help me improve the translation. Thanks!

Reasons for Writing

Due to frequently changing computer devices, every time a device is replaced, the Hexo environment needs to be reconfigured. Therefore, the configuration process is recorded for future use.

阅读全文 »

nltk简介

NLTK是构建Python程序以使用人类语言数据的领先平台。它为50多种语料库和词汇资源(如WordNet)提供了易于使用的界面,还提供了一套用于分类,标记化,词干化,标记,解析和语义推理的文本处理库。NLTK是Python上著名的⾃然语⾔处理库 ⾃带语料库,具有词性分类库 ⾃带分类,分词,等等功能。

阅读全文 »

This is an automatically translated post by LLM. The original post is in Chinese. If you find any translation errors, please leave a comment to help me improve the translation. Thanks!

Introduction to NLTK

NLTK is a leading platform for building Python programs that use human language data. It provides an easy-to-use interface for over 50 corpora and lexical resources (such as WordNet), as well as a text processing library for classification, tokenization, stemming, tagging, parsing, and semantic inference. NLTK is a famous natural language processing library on Python, which comes with its own corpus, part-of-speech tagging library, tokenization, and other functions.

阅读全文 »

This is an automatically translated post by LLM. The original post is in Chinese. If you find any translation errors, please leave a comment to help me improve the translation. Thanks!

The Self in Society

Self-concept: Who am I

  1. People often see themselves as the center of everything, overestimating how much others pay attention to us. This is known as the spotlight effect.
  2. We are sensitive to changes in our emotions and believe that others also notice them clearly. However, the number of people who actually notice us is often fewer than we think. This is known as the transparency illusion.
  3. Social environment influences self-perception, and our understanding of ourselves in different environments is influenced by the differences in those environments. For example, when abroad, we may identify ourselves as Chinese, but when in our home country, we may identify more with a specific region (e.g. being from Shaanxi or Xi'an).
  4. Self-perception is often biased towards self-interest. When problems arise, people tend to blame others, while when achievements are made, people often feel that their contributions are underestimated.
  5. We define ourselves in social relationships. Our behavior may vary when interacting with different people, and these variations help us understand and define our own roles.
  6. Self-schemas play a significant role in our self-perception and information processing. They determine how we perceive, remember, and evaluate others and ourselves. For example, a professional athlete may pay particular attention to others' bodies and skills.
  7. The self-reference effect leads us to have a stronger memory for things related to ourselves. Because we see ourselves as the center of the world, we tend to overestimate the extent to which events are directed towards us (we always believe that we are the central figure in accomplishing something).

Self-awareness

  1. When explaining our own behavior, we tend to overestimate the role of our thoughts and consciousness while underestimating the influence of external factors. For example, people often believe that they are not influenced by the media and think that the media only affects others.
  2. Others can often predict our behavior more accurately than we can predict it ourselves. This is because when making self-predictions, we tend to focus on prominent factors in the present and overlook important but unnoticed factors. This leads to errors in future expectations.
  3. In negative events, we tend to exhibit impact bias, overestimating the lasting impact of the events and underestimating our own resilience. Moreover, significant negative events can trigger our psychological defense mechanisms, which may result in shorter durations of distress compared to minor emotional fluctuations.
  4. One viewpoint suggests that our actual thinking process and our explanations of our thinking are two different things. For example, when asked to explain why they like a particular painting, participants who were required to provide reasons showed lower satisfaction with the painting several weeks later compared to those who did not provide attributions. This suggests that rational attributions of our mental processes can render our future predictions invalid, indicating that there are many aspects of our actual thinking process that cannot be captured when analyzing our own thoughts.

Self-control

  1. Self-control is a depletable resource, similar to muscle strength. It becomes weaker after being used and recovers after rest, and it can be strengthened through continuous training. Self-control is limited, and when we expend a significant amount of energy on self-control in daily life (e.g. resisting food or suppressing thoughts), we may become powerless when facing challenges.
  2. Self-efficacy, the optimistic belief in one's own abilities and efficiency, can lead to greater rewards. Individuals with high self-efficacy are more resilient and live healthier lives.
  3. Locus of control refers to whether we believe that we control our own destiny (internal locus of control) or that external forces control it (external locus of control). Whether we feel that we have control over our destiny depends on how we interpret setbacks. Individuals with an internal locus of control tend to attribute failures to unexpected circumstances or the need to try new approaches. On the other hand, individuals with an external locus of control attribute failures to factors they believe they cannot control (e.g. attributing poor academic performance to being dumb or disliking the teacher).
  4. Learned helplessness occurs when individuals feel that they have no control over their own actions or the actions of others, leading to a loss of control over events. In contrast, self-determination involves having some control over oneself and the environment. Learned helplessness often leads to increased stress, weakness, and rapid aging. Increasing self-control can enhance individual happiness and health. However, excessive freedom and self-determination can also lead to decreased life satisfaction and increased rates of depression. Having too many choices can leave individuals feeling overwhelmed.

2021.04

矫揉做作地喜好各种规矩就是“有系统”,孜孜不倦且兴致勃勃地处理鸡毛蒜皮的公事就是“勤勉”;该做的事优柔寡断就是“谨慎”;不该做的事盲目地坚持到底就是“决心”。

-- 《银河帝国2:基地与帝国》

阅读全文 »
0%