mhils

Joined 14 years ago

Karma
1,631
Submissions
171
Member since
Jul 26
https://hi.ls/ https://twitter.com/maximilianhils
View on Hacker News

Recent submissions

Comment · 10 days ago
Comment · 10 days ago
Comment · 10 days ago
Comment · 1 month ago
Comment · 1 month ago
> didn't say they did anything with a VLM to check the output vs the original library

Assuming VLM stands for vision–language model: We validated that all pixels are bit-identical across those 30M GIFs. So we didn't need a language model for that, we just compared expected and actual pixel buffers for strict equality. :)

Comment · 1 month ago
There is a blog post on (the early baby steps of) that: https://bughunters.google.com/blog/scaling-memory-safety. We have multiple AI-assisted Rust rewrites running in production now.

(Full disclosure: I am one of the coauthors)

Comment · 1 year ago
FWIW I agree that the Rust way is nicer, but I can't impose the Rust way on Python. I guess the secret hack is to use PyO3, which pdoc supports quite well. ;)
Comment · 1 year ago
Comment · 1 year ago
Let me try to explain why it is that way: First, it's consistent with Python functions. The docstring for functions is below the signature as well. Second, consider a file with only a docstring and then a variable declaration. Here it would be ambiguous if that's the module or the variable docstring. Finally, this behavior is consistent with other tools (and failed standardization efforts) in the space. So yeah - I share your sentiment, but I think it's the most pragmatic approach for pdoc. :)
Comment · 1 year ago
pdoc maintainer here. Pleasant surprise to see us on HN again, and happy to answer any questions! :)
Comment · 1 year ago
Comment · 1 year ago
Congrats on the seccomp-based interception, that's a really neat way to solve this problem! We did some BPF_PROG_TYPE_CGROUP_SOCK eBPF shenanigans in mitmproxy for redirection, but that doesn't work with containers at all. Cool to see that intercepting all relevant syscalls works that well.
Comment · 1 year ago
This is really cool, thank you for sharing! We've built a similar feature for mitmproxy lately, but with different tradeoffs. Our approach does require root and we don't have automated certificate install (yet), but we don't require apps to run in a dedicated namespace (so you can capture already-running processes). Super awesome to see this now, excited to dive into the code and see how you do TCP reassembly etc. :)
Comment · 1 year ago
Comment · 1 year ago
Fully reproducible builds would of course be nicer from a security standpoint, but attestations have vastly lower implementation costs and scale much better while still raising the bar meaningfully.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton