Better HN
topnewbestaskshowjobs
Log inSign up

0xdeafbeef

968 karma · joined May 28, 2021 (5y ago) · 66 submissions

Submissions

comment 1d ago · link · parent

It can be equal, but have something like O(n*10000*10) complexity(still polynomial). Or there must be an algorithm for all the problems, but no algorithm to find it :)

comment 4d ago · link · parent

Same story with the software part. Good thing it's OSS. Bad that nobody cares to even reply to PRs.

My FW16 sometimes doesn't charge with chargers <100W. Spent, I guess, half a year lazily hunting it down. Found the issue: it was missing cleanup. Stage 4 disabled charging, stage 15 or something very late failed and forgot to turn charging back on.

Sent a PR, posted on the FW forum. No answer after 20 days. I've fixed it for myself, but what the hell.

https://github.com/FrameworkComputer/EmbeddedController/pull...

3.

A 27-byte telemetry response nobody reads freezes Claude Desktop every two days(blog.dfb.sh ↗)

2 points · by 0xdeafbeef · 1w ago · discuss

comment 2w ago · link · parent

https://github.com/microsoft/mimalloc/issues/1423 https://github.com/microsoft/mimalloc/issues/1400

And there also bugs for zig. So hint - fine. Trust it? Not sure. Every allocator is different and can be swapped

comment 2w ago · link · parent

"void*" sadly exists, and there are a lot of edge cases.

I tried using TCMalloc with rustc, and it segfaulted. Rust knows the sizes of its allocations, but things can still go wrong at the allocator boundary.

Size should be an optimization hint, not a correctness requirement. Otherwise, it's just another security pitfall

6.

Why ZFS Is Cool(blog.dfb.sh ↗)

5 points · by 0xdeafbeef · 3w ago · discuss

comment 1mo ago · link · parent

upd: reported the bug to qualcomm and tp-link. will update the post if either of them gets back to me

comment 1mo ago · link · parent

Too many exploits is not a that big problem. Non of new fancy exploits with cvss 10.0 from 2026 have worked for this ap. If you don't use all the drivers you have small attack surface. I'd say that it's a surviviourship bias. Bsd has less traction => less bugs found

comment 1mo ago · link · parent

It's not a router, it's an AP, so in my mind it's just a LAN to wifi bridge, a wrapper around the chip :) People were recommending them, it has PoE, roaming works etc. I thought I could buy a consumer product and stop tinkering lol. I'll check Ubiquiti, but I somehow thought that they are overpriced af and never looked into them

comment 1mo ago · link · parent

Nah bug is still in the qcom tree. I've not checked how many devices use it though

comment 1mo ago · link · parent

It was EOL from the factory. 0 updates. But other routers I "own" receive updates regularly so I guess I won some lottery.

comment 1mo ago · link · parent

They often have logic in blobs and run a separate OS inside. See all wifi 7 drivers, all come with blobs and OSS driver simply is a bridge

comment 1mo ago · link · parent

Nope. It was bought in the other country, tplink said to return it where it was bought. I don't even remeber where it was :)

comment 1mo ago · link · parent

They have 3 tiers, individuals can have only blue teaming. But it's to restricted. For me it refused to fix a bash parser cause word ssh was in test cases.

Or fix an sql injection

15.

Wanted to download an ISO, ended up writing a kernel exploit(blog.dfb.sh ↗)

370 points · by 0xdeafbeef · 1mo ago · 191 comments

comment 1mo ago · link · parent

Better to have golden tests. Even switch from cpu to gpu can give you different tokens

comment 1mo ago · link · parent

uintptr_t x = opaque((uintptr_t)p); free((void *)x); free(p);

How will you find such violations if opaque comes from so or some ffi, so compiler can't see through? you can't. It's heuristics. Sound type system is much stronger

comment 1mo ago · link · parent

https://likec4.dev/ It's a bit different usecase, but llms are proficient with it

comment 2mo ago · link · parent

Sounds similar to https://mlir.llvm.org/

comment 5mo ago · link · parent

Todo type in rust will be a never type. Eg thing which exit or panic returns

comment 6mo ago · link · parent

Location: Belgrade, Serbia Remote: Yes Willing to relocate: Yes, preferably EU/UK Technologies: Rust, Python, C, RocksDB, PostgreSQL, Kafka, ClickHouse, TiDB, Vector, Linux hacking, eBPF, Docker, Kubernetes, Ansible, Terraform, GCP, GitLab CI, GitHub Actions Résumé/CV: Available on request. GitHub: github.com/0xdeafbeef, LinkedIn: linkedin.com/in/petrzhikovskii Email: vovkap97@gmail.com

comment 7mo ago · link · parent

I was thinking about transaction processing, eg visa/blockchain. And here storing and sending almost full packet for signature instead of 32 bytes matters. For sessions this shouldn't matter

comment 7mo ago · link · parent

Cost is 100+ times bigger signature size and more cpu usage. If you process several k per second it matters

comment 8mo ago · link · parent

Try g.ai. It's stupid fast and uses google indexes. Kagi? sometimes doesn't correctly parse intent, in Google thing you can just ask function doing this and gives you it, with examples, grounding and extremely fast. I'm paying for kagi since the begging and I guess id cancel it because it gives not so much added value

comment 9mo ago · link · parent

Care to opensource? I'd like to use it in firefox, will send a pr
123