Original link: http://www.ruanyifeng.com/blog/2023/08/weekly-issue-266.html
Here is a record of the technology content worth sharing every week, released on Friday.
This journal is open source and contributions are welcome. There is also a “Who’s Recruiting” service, which publishes programmer recruitment information. For cooperation, please email ([email protected]).
Deyang City, Sichuan Province used rusted steel plates to build a small garden called “Gear Garden”. Each module is made into a regular hexagon, symbolizing a gear, which is a metaphor for the green transformation of Deyang, an old industrial city. ( via )
Make your own bilingual EPUB e-book
In the “Tools” section of the weekly magazine, there are some very useful software every week, and some of them are of great help to me.
It is a browser plug-in whose main function is to translate web pages and which can also specify a translation engine.
However, what is most useful to me is another feature – making bilingual EPUB e-books. Let’s talk about this function today.
Many foreign books and materials I want to read do not have Chinese versions. If you read the original English version, you will read very slowly. At this time, we might as well do it ourselves and generate a machine translation version . Read the machine translation first, and if it doesn’t go well, read the original text again.
For example, John Romero’s autobiography DOOM Guy was published in the US last month.
He is one of the creators of the classic video game DOOM. I’ve been intrigued by this guy ever since I read Apocalypse of DOOM .
However, there is no Chinese version of this book. I used “immersive translation” to make a bilingual EPUB e-book by myself.
The production process is as simple as importing the original EPUB file, enabling page translation, and then exporting, and it only takes a few minutes.
Other e-book translation software on the market is not as simple and easy to use, and it is free.
I’ve used it to read several original books and find it works well and fits my needs.
However, it requires that the original eBook must be in EPUB format. If your data is not in this format, you can use Caliber to convert it to EPUB first.
Documents in other formats (HTML, TXT, Markdown, etc.) can be imported through the “Add books” button in the upper left corner of Caliber, and then press the “Convert books” button to convert them into EPUB format.
Caliber can only import one document at a time. If you want to make multiple HTML files into an e-book, you need to upload a catalog page, you can refer to the official document , it is quite simple.
The above is my current method of reading foreign language materials, and I will share it with you.
1. AI broadcast
A radio station in Oregon announced that the host Ashley’s daily program from 10 am to 3 pm will be completely generated by AI.
AI generates a speech based on the hot news of the day, and then uses Ashley’s voice to read and play it, with music in the middle. It’s easier and cheaper than hosting Ashley herself, who will then exclusively work behind the scenes.
Other small radio stations in the US are said to be planning to follow suit. It is conceivable that the media content we will be exposed to in the future may be ten times or hundreds of times more than it is now, and most of them are generated by AI.
A foreign netizen bought a cheap HP printer.
This machine is specially marked that it can only use WiFi to connect online, and USB cannot be used. There is also a sticker on the back of the machine to remind users of this.
The strange thing is, tear off this sticker, and there is a USB port behind it.
Moreover, through this USB port, it can be connected to a computer smoothly.
It’s hard to understand why HP would hide the existence of this USB port. If it really wanted to do away with the USB connection, it could modify the hardware mold, and it could modify the firmware, but it didn’t do anything, just add a sticker.
The only explanation is that HP doesn’t want users to use the printer offline and must use it online. Once connected to WiFi, user data can be passed back to HP.
Right now, it’s midsummer in the northern hemisphere and cold winter in the southern hemisphere. The problem is, not only is there no winter in the southern hemisphere, but there are appallingly high temperatures.
After entering August, the temperature in Chile exceeded 37.8°C, setting a record. The average temperature in Buenos Aires, the capital of Argentina, exceeds 30 degrees, compared to 14.4 degrees in previous years.
Global warming is changing winters in the southern hemisphere. Will winters in the northern hemisphere be hot as well?
Russia’s Luna 25 spacecraft launched into space on Thursday.
It may be the world’s longest-delayed space mission. Its predecessor, Luna 24, was launched in 1976, exactly 47 years ago, and Russia has not conducted any lunar exploration activities since then.
This space mission was planned in the 1990s, started development in the 2010s, completed assembly and testing in 2021, and was originally scheduled to launch in 2022. The people who participated in this project at the beginning are likely to have retired by now.
1. Mobile App filing (Chinese)
The Ministry of Industry and Information Technology announced that starting from September, mobile app filing (including small programs) will be implemented, similar to the existing website filing. From April next year, apps that have not been filed will not be allowed to provide access.
2. Introduction to Rhino Linux (English)
Rhino is a Linux distribution based on Ubuntu, but with a rolling update model, which is more suitable for those who like both.
3. Mastodon-powered blog comments (in English)
The authors introduce a fresh approach to using the Mastodon social network as a website review. Its biggest advantage is that the data is open and will not be controlled by a third party, because Mastodon is an open, decentralized network service.
4. Can the 2048-bit RSA key be cracked in 2030? (English)
There is a saying that with the growth of computing power, the 2048-bit RSA key will be cracked in 2030. The author analyzes whether this statement is credible.
5. How did Docker Compose come about? (English)
The author, one of the first Docker users and one of the original Docker tutorial authors, recalls how Docker came to be in its early days.
6. How to use Favicon (2023 version) (English)
This article introduces how to write the Favicon of the web page now.
7. How PostgreSQL makes a full-text search engine (English)
A beginner’s tutorial explaining how to use PostgreSQL’s full-text search function.
8. How Node.js Applications Utilize Multi-Core CPUs (English)
This article is a simple tutorial to make full use of multi-core CPUs for Node.js applications using the cluster module or pm2.
A TypeScript interactive web environment, you can directly view the code running results on the web document, similar to a Jupyter notebook, suitable for documents with embedded TypeScript code.
2. Small drawer
The Android App can realize screen translation and facilitate the use of foreign Apps. (Contributed by @tuesda )
An iOS app, based on chatGPT, which implements spoken input to record food calories, such as “I ate three grapes”. (Contributed by @wdkwdkwdk )
Douyin is a PC-side chat software. (Contributed by @stefanJi )
5. Memos Notes (memos)
Web-based personal note software needs to build its own service, which can achieve aggregation with other sites. (Contributed by @pmxiao )
The Python Linter written in the Rust language is used to check whether the Python code is in the correct style and runs very fast.
The React framework implemented in Python allows you to write front-end HTML pages in Python.
A command-line tool to run the wasm module directly on the command line, see the introduction article .
11. Goodbye DPI
The tool was written by Russian programmers to bypass the country’s “Deep Packet Inspection” (DPI), and it only works on Windows.
The unofficial domestic image of Anthropic’s AI model “Claude 2”, which can be used for free, is consistent with the experience on the official website. (Contributed by @zengdamo )
This website collects various AI sites and categorizes them. (Contributed by @zllz5230 )
3. Illustrate the functional modules of LangChain (Chinese video)
LangChain is currently the most popular generative AI programming framework. The author uses a picture to explain its architecture. (Contributed by @webup )
4. Charles Dickens Illustrated Gallery
This website collects illustrations from the works of the great British novelist Charles Dickens.
This website provides a variety of visual charts (scatter plots, histograms, line charts, etc.), you choose what you want, and it will show how to implement this chart with React + D3.js.
The photo below is from the archives of the Czechoslovak Social Bureau in 1937. Its walls are as high as four or five meters, and there are 3,000 drawers densely packed on it.
Workers all use motorized desks, which can be moved to different positions and then raised vertically to a specified height, all the way to the ceiling.
Even if you look at this scene today, it is very sci-fi.
2. FedEx Logo
FedEx is one of the largest express delivery companies in the United States. Its Logo looks bland at first glance.
However, hidden between the E and the x is an arrow pointing forward, implying fast and accurate delivery.
In the early 1960s, 22-year-old Phil Knight had just graduated from college.
In college, he was a sprinter on the varsity track team and was familiar with sneakers. After leaving school, he started a sneaker business, selling cheap Japanese sneakers to the United States.
He discovered a Japanese sneaker called the Tiger, which was lighter than anything on the American market and allowed runners to run faster. He decided to import the shoes exclusively.
But not long after, he received a letter, which immediately made the business impossible. The other party claimed to be the sole distributor of Tiger sneakers in the United States and ordered him to stop selling immediately or take him to court.
Knight, a shy and thin teenager at the time, couldn’t take the news.
He recalls: “[It sent] me into a deep dread. Every night I would have dinner with the family and put mum’s roast and vegetables on a plate. Then I would sit in the corner with my dad. , staring sullenly at the TV.”
He began to consider changing careers, giving up the sneaker business. But before that, he wanted to try again.
He wrote a letter to Onitsuka, the Japanese company that makes the Tiger sneaker, asking them to change the exclusivity to allow him to sell the shoe in the United States.
He didn’t hear back. After a few months, he had largely given up selling shoes.
After a period of time like this, he was still not reconciled. He later recalled: “I was anxious and terrified of the future, but somehow I had a crazy idea and it was getting more and more determined. I didn’t want to give up.”
His crazy idea is to fly to Japan alone, go to Onitsuka, and convince the company executives face to face to give him the right to sell Tiger sneakers on the West Coast of the United States.
As a result, he really did it, and the other party agreed to let him sell it.
That’s how his sneaker store reopened, and that’s how Nike was born.
If Knight, faced with setbacks and fears about the future, had given up selling sneakers and gone to Japan, Nike would never have existed.
Everything that piles up, is unpredictable.
The preferred method of simplifying a system is to transform a large system into a system of smaller subsystems.
For anyone without sufficient wealth, pursuing a career in scientific theory is a selfish and irresponsible life choice.
Stipends for postdocs are low, few jobs to apply for, usually up to five years with little to no savings, accumulating wealth is impossible, having a family is difficult, past this you are middle-aged up.
There are two trends in the world, one is top-down big data computing and automated monitoring, and the other is bottom-up encryption tools and open currency/information networks. The competition between these two trends determines the development trend of the world.
Writing a 5,000-word article using ChatGPT is almost as easy as writing a 500-word article, so expect the average article length to continue to rise and businesses to create more content targeting specific keywords.
this week in history
How to prevent your account from being hacked (2022 #219)
Product Design for Wuling Motors (2021 #169)
Rainfall and the Insurance Game (2020 #119)
Doing Well vs Doing Fast (2019 #69)
This article is transferred from: http://www.ruanyifeng.com/blog/2023/08/weekly-issue-266.html
This site is only for collection, and the copyright belongs to the original author.