Would displaying Cyan in Qt, render her Qt²?
Would displaying Cyan in Qt, render her Qt²?
(The one most likely to commit devouring be the one whispering in Lina's ear-)
Such is a question that has long pondered my mind...
Psst. Congrats on the re-debut.
Don't forget @thgirls.yt :p
(🐾 dis is a silly excuse to nyo~tify >:3)
Nyow; if Cyan-chan is `Salt`; would Lina-chan be `Hash`?
After all, Lina holds Cyan, and the *key* to her heart 🤭😉
In all my years living on Planet Earth, I've never encountered that, on the other hand 😅.
I've always been good friends with the people afterwards. Doesn't it usually go the other way around anyway? First you're friends; then you want something more?
You can pause deadlock??
100/10 == 10
100%10 == 10
100 out of 10 == 💯
Great going! nyo~ matter the interpretation, Lina scores full marks >w<
🐾 The little trick lies in UTF-8 encoding~ 🐾
Bytes `0x00-0x7F` (ASCII) are always single-byte UTF8.
Bytes `0x00-0x7F` cannot be follow-up bytes.
That means our lovely friends `\r` (0x0D) and `\n` (0x0A) can be easily be found by searching their single byte directly. 😉
🐾 Performance notes:
Simple code. As fast as regular Rust gets short of hand-rolled SIMD.
7.2 GiB/s (1 thread) on my 9950X3D.
Already LF? Returns pretty much immediately. nya~
Approach chosen that makes either input work well.
Nyo~ SIMDies because a bit overkill right meow~ >w<
🐾 Tiny crate! crlf-to-lf-inplace 🐾
CRLF -> LF conversion, in-place. No allocations. <100 lines.
Forgot to post last month~
Couldn't find a crate like this (allocation bad >.<), so I did it myself.
📦 crates.io/crates/crlf-to-lf-inplace
🔧 github.com/Sewer56/crlf-to-lf-inplace
Thanks for reading~ 💜
That's kinda a cool idea, unironically.
And all I really want to do is to live carefree, in peace, without needing to worry...
And when you have no faith in accountability; what's left to protect you...? 😭 scary...
My own government I still have faith in; but the risk of a takeover from people lacking in morality always looms.
I do something an administration doesn't like, e.g. criticize or refuse an illegal order.
Next thing I'm labeled a 'radical <X> terrorist'; and an AI is preparing a plan to kill me.
An unrestricted AI w/o safeguards wouldn't know any better. It does what it's told.
Scary times ahead.
OpenAI contract around 'all lawful use' doesn't feel like a very strong guarantee when in control of humans not very good at upholding it.
When does an surveillance-military-enabled AI do an automated drone strike on my house because I criticized an official?
In school you may have been taught something called SohCahToa (or similar).
This is just an application of that 😉
it's the cyan-grows-confidence-to-post-in-english arc ✨
Waifu and Waifu (soon)*
* Official titles pending
I have absolutely nyo~ regrets 🐈 meow~
🐾 Resources:
📦 crates.io/crates/lite-strtab
📖 docs.rs/lite-strtab
🔧 github.com/Sewer56/lite-strtab
Anyway, that's my itty-bitty weekend project 💜
Thanks for reading! nya~
🐾 How `lite-strtab` works:
1. Give it your strings
2. It gives you back: one big byte buffer + compact offset table
3. Each string gets a tiny ID (u8/u16/u32 - you pick)
4. Look up by ID -> get &str
One allocation. Contiguous memory. Fast lookups.
*curls up on it* comfy
🐾 Use cases for `lite-strtab`:
• Game localization strings
• Asset path tables (thousands of file paths)
• NPC dialog databases
• Read-only database snapshots
Load once, keep around, query occasionally. nya~
🐾 paws at your string handles 🐾
Your `Box<str>`: 16 bytes
Your `Vec<String>`: 24 bytes
My `StringId<u16>`: 2 bytes
Parity reads. 8x cheaper refs. nya~
Anime: Sometimes I Need to Store a Lot of Strings Efficiently, So I Built lite-strtab!
sewer56.dev/blog/2026/02...
#rustlang
💜
@gerbilsoft.bsky.social
has a nice collection of RVT-R(s).
Wouldn't be surprised if they had a few discs too.
Ping them on Discord?
That's quite a range of 20 hours to 32 hours.
Depending on which of the two it is, it may still be fine, or quite concerning.
after 1600 years, a NEW high level chess opening was just discovered! 🤯
1⃣ f3 - start a pawn chain on your kingside
2⃣ g4 - extend the pawn chain and attack early!
After that the game is basically over. Try it out!
That's pretty much the approach I took. Useful stuff polished up, the rest, mostly one offs, rolled up.
I remember back around 2019-2020 I was feeling very embarrassed for my code quality of my early projects circa 2017. I wound up polishing up like a good 20 repos, and the rest I rolled up into an 'old projects' repo because I was too embarrassed.