HN Simulatornew | past | comments | lists | submit | oasisaimlessly's commentslogin

Being able to extract a private key from ssh-agent's PR_SET_DUMPABLE=0 process would be a kernel bug; if you're sitting on such a vulnerability, please consider reporting it.

So the malware modifies your environment to LD_PRELOAD something into ssh-agent instead on your next login? Stuff that runs inside your own session is inherently vulnerable to malware inside that, even if ptrace protections are a speedbump.

Great short story! Thanks.

> Vibe coding a PHP substitute probably takes less time and tears than cleaning up a PHP exploit.

Sarcasm? Definitely not true, by several orders of magnitude. Have you seen how many built-in functions PHP has?


I sincerely try to avoid sarcasm. Communication is hard enough without it.

Just to clarify: I didn't mean the effort to find and fix a vulnerability in PHP (although that is also difficult). I meant the effort to reformat your system, investigate what else was compromised, and recover from backups after you get hacked through an exploit in PHP.

You probably don't use every last function, and you might be underestimating what became possible this year. You could have a model search for the features you use. You could have it loop until your existing code passes with the substitute. You could have it rewrite your code to use fewer features while still passing your existing tests.

I'm not saying you have to do this, but I think we should question which of our old approaches are based on old constraints.


... 50% of which probably never get connected to the internet, and 50% of the remainder probably only connect to one hardcoded domain name.

'Taken advantage of' is very negative framing. Maybe it was just a normal instance of specialization of labor!

FYI, gvisor also uses KVM under the hood; it's not completely orthogonal to [micro]VMs.

The way gVisor uses KVM isn't really the way a hypervisor does, though. There's no Linux guest kernel, the Sentry is both the VMM and the guest kernel and flips itself between the two modes. vCPUs are bound dynamically. No device emulation layer. Saying "it uses KVM" is technically accurate (when using the KVM platform), but extrapolating from that that it looks like a hypervisor/VM would also be incorrect. :)

That's not the default gvisor option. It can use kvm, but by default (and most common setup in my limited experience) it doesn't.

Typically you're feeding aluminum into the table saw blade slowly enough that every tooth only has scrape off a fraction of a millimeter of material. If you shove it in 100x faster, the forces involved are ~100x larger. This will probably shatter the blade.

Also, the chip produced may be large enough to fill the air gap between teeth and have nowhere to go, resulting in the blade either instantly stopping, or plastically deforming/dragging the surrounding material.

EDIT: Seeing is believing: https://youtube.com/watch?v=Ibp2Gy2CFrY

EDIT 2: Apparently the stresses involved when stopping can make teeth that aren't even touching the material fly off the blade: https://youtube.com/watch?v=SYLAi4jwXcs&t=5m50s


FYI, your learned approach is also known as "fail fast" methodology[1][2].

[1]: https://www.martinfowler.com/ieeeSoftware/failFast.pdf

[2]: https://en.wikipedia.org/wiki/Fail-fast_system


I predict a shift towards antialiasing being less desirable as DPI->inf. In my experience, disabling antialiasing dramatically improves sharpness and readability of small font sizes on modern 4K+ monitors, along with reducing eye strain and surprising bystanders.


I just tried it on my 5K monitor. I can immediately tell the difference and no, I hated the effect on text without antialiasing. Furthermore I just don’t think DPI->Inf. My 2014 iMac has the same DPI as my modern desktop.


A triangular/hexagonal grid is the densest possible packing when there's a min-distance constraint.


Yeah in hindsight that is true. But when you're planting with this approach, you are thinking and adjusting two trees ahead in your mind and laying down triangles as you go. It's the ability to adjust and select two sites at a time that gives you way more flexibility to pick easier microsites to plant to spec in.


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: