Finite-state transducer

兩個禮拜前看到的:「Replacing a 3 GB SQLite database with a 10 MB FST (finite state transducer) binary (via)」,裡面提到了 Finite-state transducer。 像是這段提到目前用 400k items,但 40m~60m 時不 scale 的問題: The trie fell down at that point.

Gea-Suan Lin's BLOG

Heute Abend spielen Prefix und Sonic Brew beim Rock im Kloster in Furth bei Landshut. Sonic Brew überzeugen mit Rock und Metal Covers von Motörhead, AC/DC, Judas Priest, Megadeth und vielen mehr.

Falls Ihr heute noch nichts vorhabt, Tickets gibt es online oder an der Abendkasse:
https://robert-stadler.de/tickets/ticketshop.php?se=126&via=hp

#Prefix #SonicBrew #Landshut #Freising #Furth #RockImKloster #ACDC #JudasPriest #Megadeth #Motörhead

Tickets by RS Events

Einfach Dein Online-Ticket bestellen auf https://robert-stadler.de/tickets/ticketfinder.php

Search Bash history by prefix using Alt+Up/Down. Add 2 lines to ~/.inputrc and jump straight to matching commands—no plugins, no restart.

Full guide here: https://ostechnix.com/search-bash-history-by-prefix-altup-setup-guide/

#Bash #History #Prefix #Bashtips #Linuxtips #Linuxhowto #Linuxbasics #Linuxcommands #Linux

How to Search Bash History by Prefix with Alt+Up/Down - OSTechNix

Search Bash history by prefix using Alt+Up/Down. Add 2 lines to ~/.inputrc and jump straight to matching commands. No plugins, no restart.

OSTechNix
Shell tip: `${var%suffix}` removes the shortest matching suffix. `${var%%suffix}` removes the longest. `${var#prefix}` and `${var##prefix}` work the same for prefixes. Mnemonic: # comes before % on the keyboard. #Linux #SystemAdministration #SysAdmin

net/netip в Go 1.25

Привет, Хабр! Go ценят за предсказуемость и простые решения в стандартной библиотеке, а в сервисах чаще всего упираемся в IP, разбор host:port, CIDR и сериализацию. Сегодня это удобно закрывается стандартным net/netip : компактные value-типы, корректный парсинг адресов и портов, работа с зонами, проверка принадлежности сетям и быстрые операции без лишних аллокаций. В статье рассмотрим этот пакет подробнее.

https://habr.com/ru/companies/otus/articles/937362/

#golang #Go #Addr #AddrPort #Prefix #IP #IPv4 #IPv6 #CIDR

net/netip в Go 1.25

Привет, Хабр! Go ценят за предсказуемость и простые решения в стандартной библиотеке, а в сервисах чаще всего упираемся в IP, разбор host:port, CIDR и сериализацию. Сегодня...

Хабр
Shell tip: `${var%suffix}` removes the shortest matching suffix. `${var%%suffix}` removes the longest. `${var#prefix}` and `${var##prefix}` work the same for prefixes. Mnemonic: # comes before % on the keyboard. #Linux #SystemAdministration #SysAdmin

Service:

Hin und wieder wird bei DYNDNS eine stabile Host-ID verlangt:

Linux allgemein:
man ip-token
ip token set ::3000 dev eth0
oder im NetworkManager:
https://networkmanager.pages.freedesktop.org/NetworkManager/NetworkManager/nm-settings-nmcli.html

[ipv6]
addr-gen-mode=eui64
method=auto
token=::3333

Damit kommt man ohne DHCPv6 aus und die Hosts müssen nicht ihre MAC-Adresse "verraten".

Wenn jemand die äquivalenten Einstellungen für andere OS oder Tools kennt, kann ja gern damit darauf antworten.

#ipv6 #slaac #dyndns #hostid #prefix

nm-settings-nmcli: NetworkManager Reference Manual

#TIL: On an #IPv6only host, #chromium obviously applies quite some "magic" (detect there's no #IPv4 connectivity, detect the #prefix used for #NAT64) and, when presented with a literal IPv4 address, does the request using #IPv6 🧐
Gah - I'm running out of #emacs #prefix bindings. Which deserves the "C-c C-l" binding?
ellama-keymap-prefix
0%
lsp-keymap-prefix
40%
something else
10%
there are other bindings possible you know
50%
Poll ended at .