VirtualTam's bookmarks
48 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?
-
The benefits are there: you get wonderful type system, wonderful performance, and build times that give you back those coffee breaks you used to get while your code compiled.
- ~ntietz/newt - Nicole's Web Toolkit
- Are we web yet?
-
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:
-
Tips on Adding JSON Output to Your CLI App
2024-04-23 - Bringing the Unix Philosophy to the 21st Century
- kellyjonbrazil/jc - CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries
-
haiti - Hash Type Identifier
2024-03-14 -
- ahrm/sioyek - a PDF viewer with a focus on textbooks and research papers
- frabjous/knap - Neovim plugin for creating live-updating-as-you-type previews of LaTeX, markdown, and other files
-
- Postgres Full Text Search vs the rest (MeiliSearch, OpenSearch/Elasticsearch, SQlite FTS, Typesense)
- Optimizing Full Text Search with Postgres tsvector Columns and Triggers
- Word separators for Postgres full text search with Rails
- Using PostgreSQL Full Text Search With Golang
- PostgreSQL: Full Text Search
- PostgreSQL: Preferred Index Types for Text Search
-
jackc/pgx - PostgreSQL Driver and Toolkit
2023-07-04 - Getting started with
pgx
- https://donchev.is/post/working-with-postgresql-in-go-using-pgx/
- jackc/pgx/v5/pgtype - Map between all common base types directly between Go and PostgreSQL
- jackc/pgx/v5/pgxpool - Concurrency-safe connection pool for
pgx
- scany/v2/pgxscan - Scan data into Go structs and other composite types
- Bulk INSERT in Postgres in GO using pgx
- Postgres table batch updates using golang pgxpool not reflected in database
- pgx.Conn can see uncommitted changes made from a pgx.Tx - TL;DR use
pgxpool
for concurrency-safe transactions - Not clear if caller is required to close in case of QueryRow or if QueryRow properly closes in case of error
- Getting started with
-
- https://coderwall.com/p/whf3-a/hierarchical-data-in-postgres
- https://stackoverflow.com/questions/tagged/ltree
- https://github.com/jinagamvasubabu/ltreevisualizer
- https://patshaughnessy.net/2017/12/11/trying-to-represent-a-tree-structure-using-postgres
- https://patshaughnessy.net/2017/12/12/installing-the-postgres-ltree-extension
- https://patshaughnessy.net/2017/12/13/saving-a-tree-in-postgres-using-ltree
- https://patshaughnessy.net/2017/12/14/manipulating-trees-using-sql-and-the-postgres-ltree-extension
-
TGR Alice — Taeha Types
2020-11-30 - https://github.com/Zambumon/Lubrigante
- https://www.reddit.com/r/MechanicalKeyboards/comments/b7qbab/tgr_alice/
- https://www.reddit.com/r/MechanicalKeyboards/comments/cjb1hw/my_endgame_keyboard_the_tgr_alice/
- https://www.reddit.com/r/headphones/comments/k0dqmj/i_have_no_words/
- https://keybumps.com/keyboard-feature/taeha-types-tgr-alice.html
- https://www.reddit.com/r/MechanicalKeyboards/comments/9801pp/tgr_alice_build/
- https://www.youtube.com/watch?v=IOFtHeV12DE
-
- Effective Go - Interface checks (blank implements)
- Ensure a type implements an interface at compile time in Go
- Interface guards in Go
- Compile time checks to ensure your type satisfies an interface
- What does an underscore and interface name after keyword var mean?
- What is
var _ type = &type{}
used for? - Using interfaces in Go - Interface guards
-
- https://colemak.com/Unix
- https://forum.colemak.com/topic/2315-dreymars-big-bag-of-keyboard-tricks-main-topic/
- https://forum.colemak.com/topic/1438-dreymars-big-bag-of-keyboard-tricks-linuxxkb-files-included/
- https://forum.colemak.com/topic/2014-extend-extra-extreme/
- https://forum.colemak.com/topic/50-colemak-vim/
- https://forum.colemak.com/topic/513-modifications-for-other-languages/
- https://colemakmods.github.io/ergonomic-mods/extend.html
- https://colemakmods.github.io/ergonomic-mods/modifiers.html
- https://www.youtube.com/watch?v=xlqDCY05Hpk
- https://stackoverflow.com/questions/253820/colemak-keyboards-with-emacs-or-vim