←
vectorized.eth18,661 posts
vectorized.eth avatar

vectorized.eth

@optimizoor

✯ solady.org ⊛ @asterixlabs ⟠ NEET

◷ Joined February 2022▧ 823 Photos and videos
atarpara avatar
⟳ vectorized.eth retweeted
atarpara@atarpara·May 16

New article: deriving the math behind Solady’s `cbrt(x)` implementation from first principles. What is the 0x90b5e5 constant actually doing? original implementation by @duncancmt * Why cube root needs magic multipliers * Why sqrt does not * Optimal Initial guess * Exactly 5 Newton Rashson iterations Full blog post: atarpara.github.io/solady-cb…

Post attachment
vectorized.eth avatar
⟳ vectorized.eth retweeted
vectorized.eth@optimizoor·Feb 17

If one thing, the club needs to update the metric from BMI to BF%, to reflect advancements in science. Having sufficient lower body muscle to maintain a low BF% with > 1500kcals is the new flex.

vectorized.eth avatar
vectorized.eth@optimizoor·Feb 17

As AI is now strong enough to replace me, bi-weekly posting shall be paused indefinitely until further notice. Tbh, all we want is to eat freely and stay healthy / ripped. Not sure if AI can solve that. Sth Activin E inhibitors / DNP prodrugs. Gong xi fa cai. Xin nian quai le.

vectorized.eth avatar
vectorized.eth@optimizoor·Jan 19

Using AI to recreate Starbucks peppermint mocha: - 1 Nespresso Kazaar shot. - 1 heaped teaspoon of organic non-alkalized cocoa. - 170mL milk of your choice. - 0.5mL of 5mL food grade Hakka mint oil diluted in 100mL food grade Propylene Glycol.

Post attachment
vectorized.eth avatar
vectorized.eth@optimizoor·Jan 6

- 1 can ayam brand tuna flakes with water. - 1/2 teaspoon MSG. - 1 teaspoon taho lemon chili sauce (chili padi with lemon paste). - 1 sachet aspartame. - 1 teaspoon coriander flakes.

Post attachmentPost attachment
vectorized.eth avatar
vectorized.eth@optimizoor·Jan 6

Random post: Sometimes, I marvel at how the human body is able to run for decades autonomously. We grow wiser as we get older. We get stronger as we train. Some humans like Bryan Johnson even age backwards. In software, it’s super rare that something can run for > 5 years without updates. APIs break. Web scrapers break. LTS get to EOL, and apt-get breaks. You get a call from a past client asking why the software isn’t working anymore. Slack suddenly requires a new MacOS unsupported by your machine. Sometimes it’s Python2 to Python3 typeshit. Almost always, the upstream changes aren’t even desirable, they are simply for the sake of change. Perhaps this is why I vibe with Ethereum. Write once, run forever. Smart contract devs do think about what happens at year 2106, when uint32 overflows. Imo, AGI is achieved internally when an LLM no longer needs a battalion of engineers fighting toolchain deprecations behind the scenes.

vectorized.eth avatar
vectorized.eth@optimizoor·Jan 6

Wait… correction. I might not bump Solady to require ^0.8.13 yet. It’s forge-std that moved from ^0.8.4 -> ^0.8.13, not foundry. Phew.

vectorized.eth avatar
vectorized.eth@optimizoor·25 Dec 2025

Visiting rural Japan on train is inspirational. Even tho there’s no next quarter economic upside to maintaining service, they still do it to a much higher quality compared to American lines.

Post attachmentPost attachment
vectorized.eth avatar
vectorized.eth@optimizoor·24 Nov 2025

Note: `smear` is a more fundamental operation than `nextPo2`, and is can be used for stuff like memory allocation. Might add to solady. Glad that the `clz(0) = 256` behavior lends to nice branchless code in most applications.

vectorized.eth avatar
vectorized.eth@optimizoor·10 Nov 2025

Fusaka brings the CLZ opcode to the EVM, which enables new ways to perform the same math. Today, we need to use a binary search to compute log10. After Fusaka, we can use CLZ to compute log2, then do a cheap correction step to compute the log10. The math behind the log2 -> log10 trick is from graphics.stanford.edu/~seand… with a few tweaks adapted for Solidity and the EVM.