mleku's avatar
mleku
me@mleku.dev
npub125uw...lek0
insert blurb here
mleku's avatar
mleku 23 hours ago
WORD5 #768 5/6* (Hard Mode) โฌ›๐ŸŸงโฌ›๐ŸŸงโฌ› ๐ŸŸงโฌ›โฌ›๐ŸŸงโฌ› โฌ›โฌ›๐ŸŸงโฌ›๐ŸŸง โฌ›๐ŸŸช๐ŸŸช๐ŸŸช๐ŸŸช ๐ŸŸช๐ŸŸช๐ŸŸช๐ŸŸช๐ŸŸช
mleku's avatar
mleku yesterday
is back it runs off the code in which is built using the moxie language at the official proper vanity url is which will take you to the "permanent" github source for moxie. it requires Go to build currently, actually, now i'm noticing, i'm putting a binary release up. that's in process. smesh is a pure wasm based web app. everything is wasm except for the tiny bits of javascript code required to stage and run it. there is a signer, with several features, multiple identities, a hd keychain based multi-identity feature, as well as nip-07 based extension signer. an upgrade of the plebeian signer for smesh that is built entirely using moxie will be coming. this is a framework for building highly concurrent, reliable and robust moxie applications, and is going into production now to build a music social network framework i have been working on slowly in the background for a client. today that starts going into full tempo. #moxie #smesh #progressreport
mleku's avatar
mleku yesterday
**Bitcoin Core IBD failure modes (patched locally, v29.5 tree `~/s/bitcoin-core-29-src`)** 1. **No way to compact the chainstate during or after an IBD/reindex** - `ShouldCompactChainstate()` (`src/validation.cpp:115`) returns `false` whenever `in_ibd`, and otherwise compacts with probability 1/320 per full flush. So a from-genesis sync or `-reindex` never compacts, no matter how long it runs. - `CCoinsViewDB::CompactFull()` exists and runs async, but has no RPC, no timer, and `-forcecompactdb` only fires at database open. - Result: chainstate reached 445 tables ร— ~30 MB (13 GB); random UTXO lookups fanned out across all of them. Measured `rchar` 0.3 MB/s against `read_bytes` 250 MB/s โ€” **811ร— read amplification**, 2โ€“4 blocks/min. - Patch: `-compactonclose`, which after the final `ForceFlushStateToDisk()` at shutdown calls `CoinsDB().CompactFull().wait()` and logs the duration. 2. **LevelDB block caches are hard-capped, independent of `-dbcache`** - `src/kernel/caches.h`: `MAX_COINS_DB_CACHE{8_MiB}`, `MAX_BLOCK_DB_CACHE{2_MiB}`. Setting `-dbcache=12000` still yields `Using 8.0 MiB for chain state database`; the rest goes to the in-memory UTXO cache. - Result: with a multi-GB chainstate every lookup reads index/data blocks from disk โ€” ~1.1 GB/s and 32k IOPS sustained at ~4 blocks/s, ~285 MB read per connected block. - Patch: caps raised to 1 GiB (coins) and 64 MiB (block index). **Operational traps that made both worse** (no patch, but they trigger the above): auto-compaction being IBD-gated; restarts resuming from the last chainstate flush and replaying; `assumevalid` being ineffective while its block is not yet on the active chain, silently falling back to full validation; and the UTXO-cache/DB-cache split making a large `-dbcache` look ineffective. --- and no, none of these problems are fixed in the latest 30+ versions: Correct โ€” neither fix is in the latest versions. Verified directly against the sources on this machine: | | our patched v29.5 | Core v30.3 (`btc-fork-sim/bitcoin-30.3`) | Knots v29.4.3 (`bitcoinknots/bitcoin`) | |---|---|---|---| | `MAX_COINS_DB_CACHE` | 1024 MiB | **8 MiB** | **8 MiB** | | `MAX_BLOCK_DB_CACHE` | 64 MiB | **2 MiB** | **2 MiB** | | `ShouldCompactChainstate` | (unchanged) | `!in_ibd && 1/320 flushes` | `!in_ibd && 1/320 flushes` | | compaction trigger at shutdown | `-compactonclose` | **none** | **none** | | `CoinsDB().CompactFull()` | present | present (unused except the 1/320 path) | present (same) | | other compaction trigger | โ€” | `-forcecompactdb` at DB open | `-forcecompactdb` at DB open | So the underlying machinery exists in all three, but the two things that made it unusable for a from-genesis IBD are identical upstream: the coin-DB LevelDB cache is capped at 8 MiB regardless of `-dbcache`, and compaction is disabled for the entire duration of IBD with no way to invoke it except the hidden open-time `-forcecompactdb`. The only levers upstream ships are "give the UTXO cache tens of GB so you never flush" or "restart with `-forcecompactdb`".
mleku's avatar
mleku yesterday
{"game":"word5","puzzle":767,"result":"6","hardMode":true,"streak":5,"maxStreak":5,"played":5,"won":5,"version":1}
mleku's avatar
mleku yesterday
WORD5 #767 6/6* (Hard Mode) ๐ŸŸช๐ŸŸชโฌ›โฌ›โฌ› ๐ŸŸช๐ŸŸชโฌ›โฌ›โฌ› ๐ŸŸช๐ŸŸชโฌ›โฌ›โฌ› ๐ŸŸช๐ŸŸช๐ŸŸชโฌ›๐ŸŸช ๐ŸŸช๐ŸŸช๐ŸŸชโฌ›๐ŸŸช ๐ŸŸช๐ŸŸช๐ŸŸช๐ŸŸช๐ŸŸช
mleku's avatar
mleku yesterday
WORD5 #767 6/6* (Hard Mode) ๐ŸŸช๐ŸŸชโฌ›โฌ›โฌ› ๐ŸŸช๐ŸŸชโฌ›โฌ›โฌ› ๐ŸŸช๐ŸŸชโฌ›โฌ›โฌ› ๐ŸŸช๐ŸŸช๐ŸŸชโฌ›๐ŸŸช ๐ŸŸช๐ŸŸช๐ŸŸชโฌ›๐ŸŸช ๐ŸŸช๐ŸŸช๐ŸŸช๐ŸŸช๐ŸŸช
mleku's avatar
mleku 2 days ago
WORD5 #766 3/6* (Hard Mode) โฌ›โฌ›๐ŸŸงโฌ›โฌ› ๐ŸŸงโฌ›โฌ›๐ŸŸง๐ŸŸช ๐ŸŸช๐ŸŸช๐ŸŸช๐ŸŸช๐ŸŸช
mleku's avatar
mleku 2 days ago
it is so awesome to once again be using my smesh client again. i have to bug fix it first, and then make some changes so it's friendly for users to adopt. it contains a decent kind 1 forum reader and a mls marmot secure DM implementation. once those two features are correct it will be again deployed at gonna focus on getting it out there today. the codebase is the foundational nostr framework with two specific applications implemented. i have a project to get moving on, that requires all that framework, and it is done. #feelsgoodman #nostr #moxie #smesh
mleku's avatar
mleku 2 days ago
i am finally at actual debugging smesh phase now. fixing the eternal scroll, image loading, etc. #thoon i'll have a fully working kind 1 and marmot DM client to show you all :)
โ†‘