VirtualTam's bookmarks
39 bookmarks found
-
- Strings, bytes, runes and characters in Go
- x/exp/utf8string - Index strings by rune rather than by byte
- How can I elliptically truncate text in golang?
- Why can the Go
string
type contain invalid UTF-8 data?
-
Text normalization in Go
2024-11-28 Standard library:
- unicode - Data and functions to test some properties of Unicode code points
Extra libraries:
- golang.org/x/text - Supplementary Go packages for text processing, many involving Unicode
- golang.org/x/text/runes - Tansforms for UTF-8 encoded text
- golang.org/x/text/transform - Reader and writer wrappers that transform the bytes passing through
- golang.org/x/text/unicode/norm - Types and functions for normalizing Unicode strings
- golang.org/x/text/unicode - Building blocks for other packages in golang.org/x/text
Third-party libraries:
- anyascii/go - Converts Unicode characters to their best ASCII representation
RFCs:
- RFC 8264 - PRECIS Framework: Preparation, Enforcement, and Comparison of Internationalized Strings in Application Protocols
- RFC 8265 - PRECIS for Usernames and Passwords
- RFC 8266 - PRECIS for Nicknames
Resources:
-
79 AD Mount Vesuvius erupts. In Herculaneum, twenty meters of hot mud and ash bury an enormous villa once owned by the father-in-law of Julius Caesar. Inside, there is a vast library of papyrus scrolls. The scrolls are carbonized by the heat of the volcanic debris. But they are also preserved. For centuries, as virtually every ancient text exposed to the air decays and disappears, the library of the Villa of the Papyri waits underground, intact.
- Vesuvius Challenge 2023
- educelab/volume-cartographer - Volumetric processing toolkit and C++ libraries for the recovery and restoration of damaged cultural materials
- KhartesViewer/khartes - Explore, and then segment, the data volumes created by high-resolution X-ray tomography of the Herculaneum scrolls
- The Getty Villa
- Herculaneum Papyri
- Students Decipher 2,000-Year-Old Herculaneum Scrolls
-
- awk: https://www.gnu.org/software/gawk/manual/html_node/Bracket-Expressions.html
- grep: https://www.gnu.org/software/grep/manual/html_node/Character-Classes-and-Bracket-Expressions.html
- sed: https://www.gnu.org/software/sed/manual/html_node/Character-Classes-and-Bracket-Expressions.html
- tr: https://man7.org/linux/man-pages/man1/tr.1p.html
-
Vim: Function copy
2022-01-05 va{Vy
- Place the cursor somewhere in my method,
va{
to visually select the the code block,V
to turn the selection from character-wise to line-wise,y
to yank