NVIDIA buried “War and Peace” full-text in CUDA code folder
- Huawei Mate 60 Pro Makes Satellite Calls: Only US$0.18/minute
- Huawei Mate60 Pro: First Smart Phone Supports Satellite Calls
- 14000 cores + 450W: RTX 4080 graphics card perfectly replaces the RTX 3080
- Big upgrade: The difference between Bluetooth 5.0 and 5.2
- Geeks Disappointed that RTX 4080/4090 doesn’t come with PCIe 5.0
- What are advantages and disadvantages of different load balancing?
NVIDIA buried “War and Peace” full-text in CUDA code folder.
Reddit netizen CHDuckie posted on the NVIDIA subreddit that he found an unusual “large file” in the NVIDIA CUDA folder on his hard drive.
Compared with other codes that are less than 10 KB, the size of the document is as high as 3212 KB.
CHDuckie was retrieving his hard drive at the time when he stumbled across this “easter egg” txt file containing the full text of “War and Peace”.
(Photo via WCCFTech )
Out of curiosity, he opened the file with VS Code. After all, the txt file is absurdly large for a regular notepad (notepad.exe) application.
Results In this 65340-line document, the first thing that catches the eye is – Leo Tolstoy’s Project Gutenberg, “War and Peace” eBook.
Although it makes people feel a little puzzled, some netizens have given a relatively reasonable explanation.
It is reported that NVIDIA CUDA as a computing platform and programming model, developers can carry out a series of general-purpose accelerated computing on the company’s GPU.
Then Jlouis8 posted a code example ( portal ) on GitHub in the comments, demonstrating how to create a small CUDA kernel to calculate w, x in some data (such as the War and Peace e-book) , y, and z number of letters.
It’s not hard to understand why I chose this ebook.
First, NVIDIA is free to include without infringing copyright; second, the amount of raw text is large enough but fast enough to be done quickly on CUDA (GPU) hardware.
- DIY a PBX (Phone System) on Raspberry Pi
- How to host multiple websites on Raspberry Pi 3/4?
- A Free Intercom/Paging system with Raspberry pi and old Android phones
- DIY project: How to use Raspberry Pi to build DNS server?
- Raspberry Pi project : How to use Raspberry Pi to build git server?