diff options
| author | u <@> | 2026-03-15 16:46:39 +0200 |
|---|---|---|
| committer | u <@> | 2026-03-15 16:46:39 +0200 |
| commit | f10694a69d92a0aa5b5a290940fa32671844c204 (patch) | |
| tree | adbeb1331dd2b430676980877ff80f7b3277c858 /assets/_ | |
| parent | 832398eba698725ae9a2ee38e13e30bf43b0f8cc (diff) | |
a
Diffstat (limited to 'assets/_')
| -rw-r--r-- | assets/_/diary | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/assets/_/diary b/assets/_/diary index 20587c8..8d28441 100644 --- a/assets/_/diary +++ b/assets/_/diary @@ -1,3 +1,15 @@ +3/15/26 + +Kuroki Tomoko(黒木智子) from Watamote is actually a Scottish girl named Sophia Blackwood and her Japanese name is the localized version. Few know this. The evidence is clear: + +黒 black 木 wood 智 wisdom 子 child (Japanese feminine name suffix) + +Sophia is obviously σοφία meaning wisdom. + +3/14/26 + +Having vain thoughts again. + 3/12/26 Apparently some find it hard to accept that you cannot logically prove objective morality unless you axiomatize <a class="splink" href="https://en.wikipedia.org/wiki/Newspeak#Newspeak_vocabulary">"unbellyfeel"</a> and/or a higher power that defines a set of morals to abide by for you. That's why laws exist. We think of laws as oppressive systems but laws are a formalization of human morality, tradition, ideology, politics and so many other things. We as humans cannot live without law, as Han Fei Zi asserted. We don't even have to believe <a href="https://en.wiktionary.org/wiki/%E6%80%A7%E6%82%AA%E8%AA%AC" class="splink">性惡說</a> or <a href="https://en.wiktionary.org/wiki/%E6%80%A7%E5%96%84%E8%AA%AC#Japanese" class="splink">性善說</a>, we should not assume anything about "human nature" as it is impossible to prove the existence of such a thing. Law governs people, especially in the modern age, and is the most effective and efficient way to provide societal guarantees and structure. @@ -6,7 +18,7 @@ Vociferously self-aggrandizing one's Incompetently Quizzed (id est. IQ) metric i 3/11/26 -I <a class="splink" href="https://git.neetlo.li/ataxia/commit/src/dateparse.rs?h=main&id=9bdd9eb5442bbdeefa08ea60fd966c8f9a83c543">rewrote</a> the date parsing code in my website to use simd code instead of regex and the immediate visible change was an unbelievable 4x code size decrease. Can you believe it. I can't either. Just by not pulling in the regex crate I made the binary so much smaller and wasm-opt doesn't take a milllion years now. Anyway, I wrote it using Rust's portable simd feature which I enjoyed writing. GCC has some QoL operations for intrinsics but this is still way better. It's also portable so say goodbye to writing multiple kernels. I wish Rust slices had a "fill" syntax so I can specify that the rest of the slice will be filled with a default vaule I specify (you already can if you only have one element specified like [0; 16] but it needs2b extended). I wondered what an LLM would write so I asked the LLM used by the Department of Defense (Claude, it does seem better than ChatGPT but that's a low bar) to write it while describing the steps but it couldn't SIMDify the whole algorithm except for checking whether the dates were numeric, and didn't make it branchless. Utterly worthless. +I <a class="splink" href="https://git.neetlo.li/ataxia/commit/src/dateparse.rs?h=main&id=9bdd9eb5442bbdeefa08ea60fd966c8f9a83c543">rewrote</a> the date parsing code in my website to use simd code instead of regex and the immediate visible change was an unbelievable 4x code size decrease. Can you believe it. I can't either. Just by not pulling in the regex crate I made the binary so much smaller and wasm-opt doesn't take a milllion years now. Anyway, I wrote it using Rust's portable simd feature which I enjoyed writing. GCC has some QoL operations for intrinsics but this is still way better. It's also portable so say goodbye to writing multiple kernels. I wish Rust slices had a "fill" syntax so I can specify that the rest of the slice will be filled with a default vaule I specify (you already can if you only have one element specified like [0; 16] but it needs2b extended). I wondered what an LLM would write so I asked the LLM used by the Department of War (née Department of Defense), Claude (it does seem better than ChatGPT but that's a low bar) to write it while describing the steps but it couldn't SIMDify the whole algorithm except for checking whether the dates were numeric, and didn't make it branchless. Utterly worthless. Rust really doesn't want you to do stuff it doesn't like, I used the <a href="https://git.neetlo.li/ataxia/commit/?h=main&id=bfc2cabc3b0d6af8c7ca0496b7bd815fdbb658f6" class="splink">internal Freeze trait</a> to implement my own UnsafeCell so it wouldn't put stuff in .rodata (unsafecell isnt allowed in statics and i dont want2 wrap it), this is a complete non-issue in other languages but they usually don't assume you're writing multithreaded code. Rust has completely flipped defaults so it hates your guts when you try to adhere to older models. Not like it matters for WASM anyway, but for completeness' sake (and for testing natively) I had to do it. |
