HackerTrans
TopNewTrendsCommentsPastAskShowJobs

theoh

no profile record

comments

theoh
·8년 전·discuss
To clarify: that's the Plan 9 situation. I'm talking about the merits of the Fuchsia situation (".. is no longer available").

References to a forbidden parent directory from a chroot can just return ENOENT, because it doesn't exist in that universe. I may not be understanding this fully, but to condemn ".." based on some accusation that it's incompatible with chroot semantics (or "a holdout from POSIX") seems tendentious.
theoh
·8년 전·discuss
This paper, depending on how you look at it, either justifies the existence of dot dot, or makes it seem like a wart. IMO dot dot is too well-established and essentially sensible (in a minimal UNIX fashion) for it to be removed on a whim. Consider the approach taken by https://man.openbsd.org/unveil.2: if you try to access a file you aren't explicitly allowed to, you get EACCESS or ENOENT. I'm not an expert, and the possibility of errors obviously requires applications to tread more carefully than they might have previously, but it seems like a clean solution.
theoh
·9년 전·discuss
Presumably, for a certain important class of application, CPU is not used "densely", i.e. continually. Instead it's used intermittently, like a gas rather than a solid... Hence compressibility. Such applications are far from being CPU-bound, in other words.
theoh
·9년 전·discuss
As someone who has quoted it on HN recently, I don't think that misattributing it is going to get anyone into trouble. What's going to get them into trouble is not having any life experience that validates the sentiment.
theoh
·10년 전·discuss
It's not funny or considerate to assume that there are no Muslims in the HN community...