0xdeafbeef

@deafbeef
14 Followers
106 Following
142 Posts

I fucking hate person who wrote this validation.

Just why?

#ux #frontend

@imperio I’ve been struggling with the new search UI on docs.rs. My brain keeps hunting for a text box to type in, so I end up clicking the global search bar instead of the crate icon every time.

It's especially confusing seeing the old vs new UI on different crates. Is there a reason we moved away from the persistent bar? I'd be happy to file an issue/PR to improve the icon's visibility!

#rustdoc #rust

I guess I need a separate disk for target.
#rustlang #rant

Found a cursed bug where:
```rust
let lock = mutex.lock().await;
let res = tokio::spawn_blocking(work);
return res
```

Was somehow running in parallel despite the lock. The guard IS held until the end, so... ???

Moving to a regular mutex inside spawn_blocking fixed it, but I still don't know WHY.

Already spent a week debugging RocksDB merge operators. Now diving into tokio internals

#rustlang #tokio

With every Grafana update, we stray further from God
Why the hell my nvme started speaking premium English?
#linux #farenheit
Just using python to generate YAML that generates Docker that calls Bash that calls sed to change cache url in GitHub actions. Magnificent

Finished writing an eBPF-based allocation profiler.
https://github.com/0xdeafbeef/jeprofl

Writing eBPF programs in Rust is strange. It compiles, but later you get some cryptic errors from the kernel saying you read some uninitialized memory, with a 10k-line stack trace. After commenting out all your code line by line, you'll find that you can't prove to the kernel that:

if a > 0 and a < 2 {
// do something with a
}

is in the range 0..2.
#ebpf #rustlang #linux

GitHub - 0xdeafbeef/jeprofl: Allocations profiler built using ebpf

Allocations profiler built using ebpf. Contribute to 0xdeafbeef/jeprofl development by creating an account on GitHub.

GitHub