Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jude-
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
70 ms
·
601.
▲
by
jude-
12y ago
> I'd like to see additions to the Unix toolset that take advantage of some of those greater capabilities, in a language- and OS-indpendent way. Don't get me wrong, I won't turn down structured IPC just because it's s
602.
▲
by
jude-
12y ago
> But there is already a de facto data serialization in Unix De facto is a far cry from "required by the OS". You'll notice that the programs we both mentioned (as well as programs that interpret whitespace this way) te
603.
▲
by
jude-
12y ago
Either wc needs to specifically be aware of the structure of the S-expression ls emits in order to know which atom or subtree of atoms make up words and lines, or ls must emit an S-expression with a structure that is globally mandated a pr
604.
▲
by
jude-
12y ago
> However if you were creating UNIX today you'd definitely want to look at OOP and inheritance as a core pillar. I doubt it. Imposing structure and types on IPC would make it very difficult to compose separate programs. Suppose I c
605.
▲
by
jude-
12y ago
The other key limitation of PowerShell is that its commands all run in the same process (e.g. PowerShell is akin to a REPL). By contrast, UNIX programs each run in their own process, giving the programmer a much greater degree of freedom i
606.
▲
by
jude-
12y ago
> Well, at least that is going to give you the correct result. Correctness seems like it should be pretty important, no? The devil is in the details. In OP's example, is "files" a field of "cwd," and "count
607.
▲
by
jude-
12y ago
OverlayFS’s speedup comes in part “by allowing the kernel to include only a single copy of a file read from multiple containers in it’s page cache.” I’m concerned that this could be a source of information leaks across containers. Suppose c
608.
▲
by
jude-
12y ago
"Real-time guarantee" in the context of consistency models (i.e. this article) means something completely different from "real-time guarantee" in the context of operating systems.
609.
▲
by
jude-
12y ago
Let's assume for a second that the effects of general relativity are negligible, and that as external observers of the system, we can see the global ordering of operations on an object as issued by all participating machines. "Rea
610.
▲
by
jude-
12y ago
> First of all, thanks for linking to uselessd. No problem :) I'm looking forward to seeing how it turns out! > That said, I have a little caveat for #9. My reason for including this fallacy was that I've seen it argued by w
611.
▲
by
jude-
12y ago
You seem to be committing Systemd Logical Fallacy #12: "The Linux kernel is complex, and you use the Linux kernel, therefore you are okay with systemd being complex too" Full list of fallacies: http://judecnelson.blogsp
612.
▲
by
jude-
12y ago
What mystifies me in these systemd discussions is that systemd proponents always seem to think that "modular" is somehow the opposite of "monolithic," when it is entirely possible for a system to be both. "Modular&q
613.
▲
by
jude-
12y ago
> As discussed here: http://0pointer.de/blog/projects/systemd.html Lennart Poetterring claims that you should use his software instead of someone else's software! I'm SHOCKED! Full story at 11
614.
▲
by
jude-
12y ago
> I was thinking about this comment, and I realized this is probably the source of most of your angst No, what gives me the most angst is the arrogance of a certain segment of Linux+systemd users who think that just because they can apt-
615.
▲
by
jude-
12y ago
Somehow you think I'm talking about systemd and init scripts and the things they do. I'm not. The original question I replied to was about why pipes (or any OS-level IPC) shouldn't try to solve application-level problems. M
616.
▲
by
jude-
12y ago
(Disclaimer: tooting my own horn) It sounds like you want my PhD thesis project. Link: https://github.com/jcnelson/syndicate
617.
▲
by
jude-
12y ago
According to your definition of "freedom", Microsoft Windows is just as Free as Linux. After all, Microsoft gives you the "source code" on the CD itself! All you have to do is start flipping bits here and there, and...
618.
▲
by
jude-
12y ago
> That's exactly why you need a more systemic approach to the IPC mechanism... You can pretend that "oh this is just a stream so there isn't tight coupling", but the information that is communicated is the same. If yo
619.
▲
by
jude-
12y ago
> The point is, in order to have loose coupling between components, something like unix pipes is just a starting point. It's also an ending point. If each application gets to define its own IPC primitives, then there become as many
620.
▲
by
jude-
12y ago
You seem to want pipes to bend over backwards to solve each and every one of your applications' problems. > The don't solve race conditions in peers trying to locate each other (surprisingly difficult). Not even sure what you m
621.
▲
by
jude-
12y ago
If duplicate code bothers you this much, then what stops you from abstracting the common routines into something like BSD's /etc/rc.subr, and then sourcing them in the service-specific init script?
622.
▲
by
jude-
12y ago
Compatibility isn't the problem. The problem is the use of structured binary data itself for logs. Logging binary structures instead of raw text makes it very difficult to recover from crashes or misbehavior, since the logging faci
623.
▲
by
jude-
12y ago
What stopped you from using Linux-specific features before systemd? They were accessible from userspace well before systemd came along.
624.
▲
by
jude-
12y ago
> Lastly, lightweight containers are the real-deal for small development tasks (not for production!). Just one command: systemd-nspawn, and you're ready to go. You might be interested in firejail [1]. It makes finer-grained use of
625.
▲
by
jude-
12y ago
I'm not sure that your example prevents the implementation of per-tab javascript VMs. Wouldn't the browser be designed such that its kernel mediated all tab-to-tab runtime state queries? Then, tabs wouldn't directly access
626.
▲
by
jude-
12y ago
Sure, tabs can load static assets from a read-only cache instead of re-fetching everything from the origin (be it an in-browser cache run by the browser kernel, or a Web cache somewhere between you and the origin). But surely, the tabs run
627.
▲
by
jude-
12y ago
> ... assuming those tabs are cross-origin. Not sure why this has to be a condition. Perhaps tabs loading pages from the same origin will both have read/write access to some shared data in the browser kernel (like the site's c
628.
▲
by
jude-
12y ago
I'm really glad Mozilla has been working on this. A lot of comments here talk about UI responsiveness being the key benefit, but another huge win is that it limits the damage a browser zero-day can do. With this model, a compromised
629.
▲
by
jude-
12y ago
I think the "simple" they were going for here is "performs one well-defined, unambiguous task in as direct a way as possible."
630.
▲
by
jude-
12y ago
Depending on how it's implemented, there's no real reason why it couldn't be done. For example, I could create SceneGraph_fs, which exposed the scene graph of objects as a directory hierarchy. The filesystem's toplevel
More ›