Login

notes

Time:2023/06/25

The rise of artificial intelligence products

In the past two years, there has been an obvious trend.

More and more artificial intelligence software and hardware products are emerging.

Most of these products are used in various fields such as smart cities, AIOT, edge computing, smart agriculture, smart factories, robots, etc.

This general direction will only become more and more promising in the future.

Compared with the purely information-dimensional metaverse, this is a product direction that can directly intervene in the real world, profoundly affect the world, and ultimately lead to large-scale iterations in all directions of the entire society.

tags: ,
Time:2023/05/26

Regular expression to filter out links in articles

These two rules are both correct, but the first one succeeds and the second one fails. I don’t know why.

//This is successful. / ]*>/g //This failed. /<\/?a.*?>/g
tags:
Time:2023/05/16

wordpress theme: How to get term data in archive——get_queried_object()

I've been iterating my own wordpress theme recently.

It is very common to obtain the term data of category and post-tag, two existing WordPress taxonomies, in the archive, and both have ready-made parameters and functions.

How to get the term data of custom taxonomy in archive?

get_queried_object()

This function can not only obtain the term data of custom taxonomy, but also the data of category and post-tag. Even if it is an archive of a custom post type, you can also get the current post type data.

    $term_data = get_queried_object();//In archive.php, use it directly.

URL on wordpress official website: https://developer.wordpress.org/reference/functions/get_queried_object/

You can also get the current post and user data. However, I haven't tried these two.

tags:
Time:2023/05/16

Documentation issue: wordpress Gutenberg editor blank page

Recently, for one of my websites, Baseon WordPress, the Gutenberg editor could not be used. When I opened it, the page was blank. I always thought it was caused by upgrading wordpress to v6.2 some time ago. I just figured it out today. It turns out that there is an extra "}" in a js file I wrote myself.

After removing this "}", the Gutenberg editor returns to normal.

tags:
Time:2022/09/09

Record a problem: $_SERVER['SERVER_NAME'] is the first domain name bound to the host

Record a question: $_SERVER['SERVER_NAME'] is the first domain name in the list of domain names bound to the host.

tags:
Time:2022/08/30

The national tide is at the right moment—Notes and thoughts on the national tide

National trend: trendy products with specific Chinese elements.

Chinoiserie: Chinese style, Chinese fashion.

This is Baidu Encyclopedia’s definition of national trend and Chinese style.

The national trend economy refers to integrating traditional Chinese culture with modern trend elements, such as combining fashion design styles and diversified marketing methods, establishing brand IP, and using the brand as a carrier to apply it to various categories of goods to form a national trend. Through the development of national trends, it can help traditional national brands to rebrand, while providing development opportunities for domestic businesses and assisting the development of internal economic cycles.
The main manifestations of the national tide economy in 2020
The national trend economy mainly develops on two models: domestic brand and national quintessence. National brands usually refer to commercial brands independently designed, produced and created in China. Old national brands are more concentrated in daily chemicals, food, clothing and other industries, while new national brands are mostly brands with technological innovation and business model innovation. The quintessence of Chinese culture often manifests itself as a cultural or artistic activity with a far-reaching history of development.

Excerpted from "iiMedia.com" "Analysis of China's Guochao Economic Development Trend in 2020-2021: Young Groups Boost Guochao to Release Its Potential"
https://www.iimedia.cn/c1020/76933.html

The rise of national trend consumption will create a huge market and a lot of entrepreneurial opportunities

Hanfu and Hanfu elements are gradually moving from movies and television to daily life.

Literature, films and TV shows about cultivating immortality are flooding the Internet and screens.

Ancient music is very popular.

National style home furnishings are increasingly popular.

Terms such as national style, ancient style, and new Chinese style have appeared more and more frequently in recent years.

Traditional Chinese elements are becoming a trend.

1. Guochao consumer groups

Data shows that those born in the 1990s and 2000s are the main consumers of national fashion. This is especially true for those born in the 00s.

The consumption trends of young people represent the consumption direction for a long period of time in the future.

The national trend will only become more and more popular in the long term. Penetrate and penetrate into every aspect of our lives.

And this process will definitely create an increasingly larger market.

2. National trend, what is consumed?

National identity and beauty.

1. National identity

China's rise is unstoppable.

The post-90s generation, especially the post-00s generation, has a relatively good growing environment and a strong sense of national identity. This is the basis for the popularity of the national trend.

In particular, at present, when the external environment is relatively poor caused by the economic recession and the impact of the epidemic, objective conditions also require the rise of the national tide.

2. Ultimate beauty

Immortal and Sa are both the ultimate beauty

It is different from the simplicity and practicality of modernism originating from Europe and America. Traditional Chinese elements emphasize beauty.

The two characters Xian and Sa are the embodiment of this beauty.

Hanfu, paper fans, calligraphy and painting, tea art, etc. all express Xianhe Sa vividly.

But it is precisely this pursuit of beauty that makes many traditional Chinese elements more complex and unsuitable for contemporary people's lifestyles.

Therefore, the fusion of tradition and modernity, allowing the ultimate beauty of national style to be integrated into our daily lives in a simple way, has become the foundation of a national fashion brand.

3. Start with content, become products, and integrate into life

1. Start with content.

Guochao consumption starts with content

The popularity of pictures, short videos, film and television dramas, etc., content and IP has greatly stimulated and transformed the purchase conversion of a national brand product.

This is also the characteristic of Guochao brand marketing.

The production of content and the creation of IP are the ways to obtain traffic and users/fans of a national trendy brand.

2. Made from commodities.

With IP and fans, you can create suitable products based on the characteristics of IP and fans. It can be clothing, home furnishings, accessories, catering, travel, etc. The focus is on the compatibility between IP and fans on the product.

3. Integrate into life

Good goods are not expensive.

A national fashion brand should be of high quality and affordable. Only by integrating into the lives of ordinary people can such a national fashion brand be successful.

refer to:

Analysis of China's Guochao Economic Development Trend in 2020-2021: Young groups boost Guochao to unleash its potential (https://www.iimedia.cn/c1020/76933.html)

iiMedia Consulting | Research Report on the Rise of China’s National Fashion Brands in 2021 (https://www.iimedia.cn/c400/78527.html)

tags:
Time:2022/07/03

Ginkgo outside the window

When I came, you were so weak.
When I left, you had already supported a green shade alone.

I have seen you, your branches and leaves stretched out in the sunshine.
I once saw you, silent and lonely in the middle of the night.

I have seen you, in the cycle of seasons, the perseverance under your feet.
I have seen you grow and strengthen little by little day after day.

I have seen heavy snow falling, bending your branches.
I have seen you struggle hard in the wind and rain.

I have seen the fallen leaves in the autumn wind, spreading the golden color all over the ground.
I have seen birds wandering around, dancing and singing among your branches and leaves.

I have seen that the cold spring cannot stop your overflowing vitality.
I have seen you treat the ginkgo trees full of trees as your medals in the desolate winter.

Last autumn and winter, I often wandered under this ginkgo tree, hoping to pick up a ripe fallen ginkgo fruit. However, I saw that the number of ginkgo fruits on the tree was decreasing little by little, but I still couldn't pick up one under the tree.

Leaving today. Heavy rain.

The moving car stopped under this ginkgo tree. When I was moving things, I found that it was full of ginkgo fruits again.

Just a pity. This autumn and winter, there will no longer be me wandering and searching under the tree.

For a moment, I just felt very sorry.

I'm gone and won't come back.

2022.07.03

tags:
Time:2022/06/10

Microsoft Teams—another way to make money

The pandemic has changed many things, and collaborative working and online working is one of them.

SAAS applications based on Microsoft Teams seem to be in huge demand.

No more talking, let’s go straight to the video.

For videos with Chinese translations, go to its official website.

tags:
Time:2022/05/29

Products are used to solve problems and satisfy needs

Every time I talk to investors. They always ask me: What problem does your product solve?

I go to apply for a job, go to an interview, and then I often tell people that I made such a product and solved such a problem.

People are confused: "Which aspect of the product are you good at? Front-end? Back-end? Or are you just good at solving problems?"

This has happened several times.

I really don’t understand why God couldn’t unify the standards and interfaces when creating this world. . . . .

I'm certainly good at problem solving.

What is the product used for? Isn’t it just for solving problems and meeting needs? ! !

In addition, I am not only good at solving problems, I am also good at asking questions. For making products, doing growth, doing data analysis, etc., the ability to ask questions is more important than solving problems.

Time:2022/04/15

nodejs server access txt file

The nodejs server accesses the txt file in the root directory.

Inaccessible.

I always thought it was caused by the reverse proxy of the nodejs server.

Today I found out that it is not.

It's caused by the configuration of the nginx server.

made some changes

location ~ .*.(js|css|txt)?$ # Just add |txt here.
{
expires 12h;
error_log off;
access_log /dev/null;
}
tags:


copyright © www.lyustu.com all rights reserved.
Theme: TheMoon V3.0. Author:neo yang