huizhou92's Newsletter-2024-23


Hello everyone, I am huizhou92.
So glad we meet again.
I will share here the best articles, snippets and anything else I read in the past week, basically computer technology-related. I hope you enjoy it.
If nothing unexpected happens, it will come as scheduled every Sunday.


  • Garbage Collection In Go: # Part I II III
    These are three articles about goGC. I believe you have read them, and so have I.But a good article is really worth reading for the second time, so I’m sharing it with you again here.

  • Visualizing Garbage Collection Algorithms
    As the title suggests, experience the differences between various garbage collection algorithms through visualization.

  • The big lie about sleep
    This article believes that humans generally need 7-9 hours of sleep per day, and insufficient sleep will gradually affect one’s physical health. There are many methods online to improve sleep, such as keeping the phone in another room and appropriately lowering the air conditioning temperature. For couples, sleeping separately in different bedrooms can also improve sleep.
    However, the article believes that these are superficial reasons. Through research team data, they found that the fundamental cause of sleep problems is human stress, especially economic pressure. Poor people generally have less sleep time compared to wealthy individuals.

  • Windows Recall
    Windows 11 will soon bring a feature called ReCall, which specifically means capturing the current screen every 5 seconds, using OCR to recognize the text on the screen and save it locally. When you want to recall a webpage or document you have seen before, or a password you entered earlier, you can ask the AI assistant on Windows in natural language and it will help you find it.
    Microsoft claims that this feature is secure as the saved content only exists locally. Hackers would need physical access to your machine and obtain your startup password to see the saved content.
    But is it really so?
    The open-source project in the link is a command-line program written in Python. It can directly read content from Windows 11 ReCall’s database. After analyzing, the author found that the security of this ReCall feature is worrying, for example, this database is an unencrypted SQLite database file.


[Mooz/percol]( Tab=readme-ov-file#zsh-history-search) This tool is a typical Unix-style tool. The only thing it does is to receive input through the pipeline, provide a fuzzy search and UI, and the user selects it before returning the result. Continue to execute on the following pipeline.

With percol, with other tools, we can have countless ways to play.

For example, cooperate with alias to implement a fuzzy search git branch function.

alias gt="git branch| percol | awk '{ print \$1 }' | xargs git checkout "
alias gto="git branch -r | percol | awk '{ print \$1 }' | xargs git checkout -b \$1"

ITerm2 1


My first go src MR has been merged, although it’s just a small change. There’s nothing much to say about this modification, but it is the biggest encouragement for me. It indicates that my persistence in the past two or three months was correct - persisting in inputting, persisting in outputting, and keeping myself up-to-date with the latest channel. Keep going and continue to work hard! 💪
Pasted image 20240604094759


“There’s barely a product or service on the market today that customers can’t buy from someone else for about the same price, about the same quality, about the same level of service and about the same features. If you truly have a first-mover’s advantage, it’s probably lost in a matter of months. If you offer something truly novel, someone else will soon come up with something similar and maybe even better. But if you ask most businesses why their customers are their customers, most will tell you it’s because of superior quality, features, price or service. In other words, most companies have no clue why their customers are their customers. This is a fascinating realization.”  ― Start With Why, Simon Sinek.

Built with Hugo
Theme Stack designed by Jimmy