Better HN
topnewbestaskshowjobs
Log inSign up

oasisaimlessly

459 karma · joined Jul 25, 2023 (3y ago) · 287 submissions

Submissions

comment 1w ago · link · parent

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.

comment 1w ago · link · parent

Great short story! Thanks.

comment 1w ago · link · parent

> 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?

comment 1w ago · link · parent

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

comment 2w ago · link · parent

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

comment 2w ago · link · parent

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

comment 2w ago · link · parent

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

comment 2w ago · link · parent

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

comment 1mo ago · link · parent

Agree, but kinetic energy being mv^2/2 rather than mv can be pretty intuitive in the right context:

> Would you father get hit with:

> * a 1 kg object moving at 1 m/s or

> * a 1 g object moving at 1 km/s?

comment 1mo ago · link · parent

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.

comment 1mo ago · link · parent

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

comment 1mo ago · link · parent

Tools like git-filter-repo[1] support rewriting commit hashes in commit messages. git-filter-repo actually does it by default; see `--preserve-commit-hashes` in the manual[2].

[1]: https://github.com/newren/git-filter-repo

[2]: https://htmlpreview.github.io/?https://github.com/newren/git...

comment 1mo ago · link · parent

The Great Firewall doesn't restrict SSH, so you can functionally ignore it (assuming using e.g. `ssh -D` is second-nature to you).

comment 1mo ago · link · parent

> Someone saying they need to have alcohol to enjoy themselves at a gathering is not going to be looked at very kindly, as if everyone else was just so boring they had to intoxicate themselves to bear through it.

Well duh, which is why nobody would ever say that out loud. Doesn't stop anyone from thinking it, though.

comment 2mo ago · link · parent

I assume you're running that test suite using a 3rd party 8051 emulator to avoid the potential for common-mode errors in both your compiler and emulator resulting in false confidence the compiler's correctness?

> two simulators used for testing, sim51 (a plain 8051) and minitel_sim

Narrator: No, he was not.

comment 2mo ago · link · parent

It is still an unknown whether an unqualified increase in productivity in the long-term for software engineering is a given.

comment 2mo ago · link · parent

See e.g. https://en.wikipedia.org/wiki/Clutch_(sports)

comment 2mo ago · link · parent

Strong disagree. Leaded solder is still a ton easier to rework thanks to its lower eutectic melting point.

comment 2mo ago · link · parent

Most equipment connects the shield of all ethernet ports to chassis ground, so you're back to zero isolation if you use shielded cables.

comment 2mo ago · link · parent

Because most people do not get to choose what software they use for working?

comment 2mo ago · link · parent

> phone interviews within 75 to 105 days of starting antidepressant therapy.

Different thing entirely from long-term effects.

comment 3mo ago · link · parent

This doesn't allow reusing initialization work via CoW mappings (like GP was asking about).

comment 3mo ago · link · parent

Yes: https://news.ycombinator.com/item?id=40441650 "TSMC EUV machines equipped with remote self-destruct in case of invasion"

comment 3mo ago · link · parent

And it's so often wrong that you better be doing sanity checks if you use it for anything.

comment 3mo ago · link · parent

That only works if failures are uncorrelated.

Why are you ignoring basic principles of engineering?

comment 3mo ago · link · parent

Please don't use double-quotes when you're not directly quoting someone.

comment 3mo ago · link · parent

https://news.ycombinator.com/item?id=40441650 "TSMC EUV machines equipped with remote self-destruct in case of invasion"

comment 4mo ago · link · parent

btw, your last paragraph makes you sound like an ass.

comment 4mo ago · link · parent

I'm guessing Devuan still has /var/lib/dbus/machine-id.

comment 4mo ago · link · parent

preach, brotha
12345
10