#U32
re: CheckSoftSNData

I love the use of rust as the decomp target. If you want something do-while shaped but still valid Rust, you can do:

while {
i = &i[1];
if *(i as *mut u8) as u32 != 0 {
r1 = 0;
}

i != ((&var_204).byte_offset(3) as *mut u32)
} {}
January 24, 2026 at 12:20 AM
OsRng.try_fill_bytes to get 1M u32's would probably get you a lot closer to that if you wanted, mildly funny to turn the u8s into u32s but Welcome To The Fast Zone
January 23, 2026 at 12:30 AM
there's a hardcoded 32-byte AES key the firmware uses to encrypt passwords... except they fucked up (made an array of u32 and not u8) and 3/4 of the key is zeroes

not that it matters a lot given it's hardcoded
January 23, 2026 at 8:38 PM
That's why I usually avoid functional notation for min/max and explicitly write u32::min(x, y). In that context the name makes much more sense.
January 16, 2026 at 12:37 AM
ABC439おわりっ!45分42秒でABCDE問題をノーペナ5完!

A問題はそのまま計算
2^Nの部分はビットシフトで記述しても良かったな…(2_u32.pow(n)で記述しちゃった)

B問題全然わからんからゴリ押し
置き換えの履歴をHashSetで保存しておいて、操作後にHashSet内の値になったらループに入ってることが確定するのでNo
B問題にしては難しすぎないか……?

C問題はよく見るとほぼ全探索できるやつ
1≦x<y<√Nの範囲で探索すればいいから、計算量はO(N)
January 3, 2026 at 1:41 PM
god finding the right formula for this took YEARS off my life

it's really annoying how simple it is… completely belying how i spent like 3 hours confusing myself trying to get it to work
December 20, 2025 at 7:16 PM
Does it make any difference what the underlying type is? For example, does the complexity of the wrapped type play a role—am I less likely to see an impact from wrapping u32 than a large struct from std?
December 15, 2025 at 9:23 PM
📹 María Corina Machado llega a Oslo después de más de un año en la clandestinidad social.elpais.com/u32…
December 11, 2025 at 6:17 AM
half of part 2 was stubbornness to the bruteforce half of it was me forgetting that u32 sucks and i can just fucking use u64
December 7, 2025 at 7:06 AM
i mean yeah when T: u32, you can’t have conflicting AsRef<u32> impls. AsRef isn’t for field access; write field accessors instead. it’s for subtyping in a way that the lang team doesn’t get sad about
March 20, 2025 at 1:49 PM
behold: my best attempt at printing the first 10,000 primes in rust, lua, fennel and haskell
January 7, 2025 at 12:52 AM
also it was really neat to write a couple arm instruction decoders for this to figure out relative addresses, `ADRP` and `ADD` my beloved. quite a big difference from x86's usual read<u32>(insn + 3) :3
February 26, 2025 at 5:30 PM
desse post o problema é a struct consumir mais memória do que deveria

se os u32 tivessem em sequência não precisaria de padding entre os campos
January 4, 2025 at 9:49 AM
I still think it's pretty cool I managed to get this working at all

```rust
// Allows adding two `i32`, `u32`, or `f32` numbers
let reflect_add = add::<i32>
.into_function()
.with_overload(add::<u32>)
.with_overload(add::<f32>);
```
March 30, 2025 at 3:36 AM
So far I'm not able to reproduce this with random data and u16 or u32 hashes.

How many kmers are in the read sets that you test on?
Otherwise I should adjust to testing on real data as well, with more interesting collections of kmers.
August 4, 2025 at 7:06 PM
Finally, the code for TileRgbaSemiFogAcc:
November 23, 2025 at 2:32 PM
(@mtgamesgnm.bsky.social)

VEE, G!
...
Not The Best.
But This Will Do. (I Hope...)

Because I Had Left This On My File For A Long Time Due To Me Playing WWE 2K24.
So... Yeah.

#StickNodes #StickNodesPro
#StickFigure #StickFigures
#Human #HumanOC #HumanAU
#Vee #VeeG
#U32 #Universe32
#OC #AU
September 11, 2024 at 1:10 PM
Ever bothered by binary search being slow?
I spent some time optimizing static B+-trees as explained by algorithmica, and got 35x increase in throughput over plain binary search, from 1200ns/query to 35ns/query, on a 4GB array of u32.

Another blog to write :)

en.algorithmica.org/hpc/data-str...
Static B-Trees - Algorithmica
en.algorithmica.org
December 11, 2024 at 10:41 PM
今日の東北新幹線E5系U32やまびこ🚄✨
何気に、今年初めてU32編成に会ったかも💦💦
July 22, 2025 at 10:45 AM
When I draw e.g. a button, I just use a function that I call manually, that uses generic code on top of Piston2d-Graphics:
August 2, 2025 at 11:20 PM
if you just want the current executable's path, you can use `std::env::current_exe`, which will call `GetModuleFileNameW` behind the scenes. make sure to use a structure to ser/de from, instead of relying on TOML values directly. you can also use `context` from `anyhow` to annotate errors
September 28, 2025 at 2:56 PM
got the most basic excuse for shape compositing working then added a second non system* library. now I can use the command list from microui as renderer TODOs.

*sdl might as well be a system lib on linux, but it's only a fallback till all the native platforms are done
November 29, 2025 at 5:20 PM
Non, débordement arithmétique. En debug, ce code panique:

let mut x: u32 = 4294967295; // = 2³² - 1
println!("x: {x}"); // OK
x += 1; // Panique ici
println!("x: {x}"); // Jamais exécuté
December 23, 2024 at 6:26 PM
Hmm. Single precision float (f32) can represent ±2^24. Double precision (f64) up to ±2^53. So i16/u16 -> f32 is lossless, and i32/u32 -> f64. Or larger, if appropriately bounded. Or maybe as programming languages gradually develop support for arbitrary-width integers one could just reach for an i54.
January 24, 2025 at 10:27 PM