2,297 karma · joined Feb 15, 2012 (14y ago) · 1,235 submissions
comment 2y ago · link · parent
It's possible I guess that one would say all jokes should be banned from here, and every response needs to be fully serious (otherwise will lose it's black)
comment 2y ago · link · parent
https://www.quora.com/Why-am-I-allergic-to-watermelon-seeds-...
comment 2y ago · link · parent
comment 2y ago · link · parent
From an academic perspective, its "terrible", so much duplicate layers out in the world, from a practical perspective of delivering a product, it makes a lot of sense.
It's also simpler from the fact that I was trying to make it work for both what I call "persistent" containers (ala pets in the terminology) that could be upgraded in place and "ephemeral" containers (ala cattle) when in practice the work to enable upgrading in place (replacing layers on demand) to upgrade "persistent" containers I'm not sure is that useful (its technologically interesting, but that's different than useful).
My argument for this was that this actually improves runtime upgrading of systems. With dpkg/rpm, if you upgrade libc, your systems is actually temporarily in a state where it can't run any applications (in the delta of time when the old libc .so is deleted and the new one is created in its place, or completely overwrites it), any program that attempts to run in that (very) short period time, will fail (due to libc not really existing). By having a mechanism where layers could be swapped in essentially an atomic manner, no delete / overwrite of files occurs and therefore there is zero time when programs won't run.
In practice, the fact that a real world product came out with a very similar design/implementation makes me feel validated (i.e. a lot of phd work is one offs, never to see the light of day after the papers for it are published).
comment 2y ago · link · parent
https://gvisor.dev/docs/architecture_guide/platforms/
"Note that while running within a nested VM is feasible with the KVM platform, the systrap platform will often provide better performance in such a setup, due to the overhead of nested virtualization."
I'd argue then for most people (unless have your own baremetal hyperscaler farm), one would end up using gvisor without kvm, but speaking from a place of ignorance here, so feel free to correct me.
comment 2y ago · link · parent
when I describe my work (I actually should have used quotes here), I generally give air quotes when saying it, or say "proto docker", as it provides context for what I did (there's also a lot of people who view docker as synonymous with containerization as a whole, and I say that containers existed way before me). I generally try to approach it humbly, but I am proud that I predicted and built what the industry seemingly needed (or at least is heavily using).
people have asked me why I didn't pursue it as a company, and my answer is a) I'm not much of an entrepreneur (main answer), and b) I felt it was a feature, not a "product", and would therefore only really profitable for those that had a product that could use it as a feature (which one could argue that product turned out to be clouds, i.e. they are the ones really making money off this feature). or as someone once said a feature isn't necessarily a product and a product isn't necessarily a company.
comment 2y ago · link · parent
So if processes in gvisor map to processes on the underlying kernel, I'd agree it gives one a better ability to introspect (at least in an easy manner).
It gives me an idea that I'd think would be interesting (I think this has been done, but it escapes me where), to have a tool that is external to the VM (runs on the hypervisor host) that essentially has "read only" access to the kernel running in the VM to provide visibility into what's running on the machine without an agent running within the VM itself. i.e. something that knows where the processes list is, and can walk it to enumerate what's running on the system.
I can imagine the difficulties in implementing such a thing (especially on a multi cpu VM), where even if you could snapshot the kernel memory state efficiently, it be difficult to do it in a manner that provided a "safe/consistent" view. It might be interesting if the kernel itself could make a hypercall into the hypervisor at points of consistency (say when finished making an update and about to unlock the resource) to tell the tool when the data can be collected.
comment 2y ago · link · parent
Wasn't aware of Nabla, but they seem to be going with the unikernel approach (based on a cursory look at them). Unikernels have been "popular" (i.e. multiple attempts) in the space (mostly to basically run a single process app without any context switches), but it creates a process that is fundamentally different than what you develop and is therefore harder to debug.
while the unikernels might be useful in the high frequency trading space (where any time savings are highly valued), I'm personally more skeptical of them in regular world usage (and to an extent, I think history has born this out, as it doesn't feel like any of the attempts at it, has gotten real traction)
comment 2y ago · link · parent
comment 2y ago · link · parent
What I argued in my paper is that systems like docker (i.e. what I created before it), improve over VMs and (even Zones/ZFS) in their ability to really run ephemeral computation. i.e. if it takes microseconds to setup the container file system, you can run a boatload of heterogeneous containers even if they only needed to run for very shot periods of time). Solaris Zones/ZFS didn't lend itself to heterogeneous environments, but simply cloning as single homogeneous environment, while VMs suffered from that problem, they also (at least at the time, much improved as of late) required a reasonably long bootup time.
comment 2y ago · link · parent
I then went onto built a system with kubernetes that enabled one to run "kubernetes pods" in independent VMs - https://github.com/apporbit/infranetes (as well as create hybrid "legacy" VM / "modern" container deployments all managed via kubernetes.)
- as a total aside (while I toot my own hort on the topic of papers I wrote or contributed to), note the reviewer of this paper that originally used the term Pod for a running container - https://www.usenix.org/legacy/events/osdi02/tech/full_papers... - explains where Kubernetes got the term from.
I'd argue that FreeBSD Jails / Solaris Zones (Solaris Zone/ZFS inspired my original work) really aren't any more secure than containers on linux, as they all suffer from the same fundamental problem of the entire kernel being part of one's "tcb", so any security advantage they have is simply due lack of bugs, not simply a better design.
comment 2y ago · link · parent
i.e. the trust can many times be changed via consent of the beneficiaries, the primary lever that Murdoch has to get beneficiary consent is other forms of assets that are not under said trust (ex: each child get 25% of this asset, without consent that can't change, but if there are many other assets, the benefactor can basically say, if you don't play ball, you won't get anything from the other assets, depending on the size of the other assets, that can be very persuasive).
comment 2y ago · link · parent
mount is a bit harder (as its calls into code that is more in the core kernel fs code, but one can just reimplement it oneself, to filter out the mounts you don't want to show.
comment 2y ago · link · parent
https://constitution.findlaw.com/amendment1/free-speech-righ...
"A prison inmate retains only those First Amendment rights that are not inconsistent with his status as a prisoner or with the legitimate penological objectives of the corrections system."
i.e. if restricting freedom of speech is consistent with that, they would be restricted. Not all forms of speech restriction are consistent with that (and if the state tried to restrict those, the courts would probably overturn it), but to say they have the same free-speech rights is objectively false.
In this case, it would seem that the legitimate objectives of the correction system would fit with restricting his speech (as the OP states, it probably be better if he didn't do that).
comment 2y ago · link · parent
It's not about good vs bad people. It's about you did a crime and haven't finished serving your time.
comment 2y ago · link · parent
294.
Google inks record-breaking $300M Tel Aviv rental deal(calcalistech.com ↗)
8 points · by compsciphd · 2y ago · 15 comments
comment 2y ago · link · parent
One should view it as a monthly (even for those that paid yearly) recurring contract. Just like you can opt out of the contract at the end of each contract term, so can google (they just have to define what that means for those that got a discount by paying a year up front). Every month, the contract can change and the users can say its no longer valuable to them.
Its not fundamentally different than those who "buy" licensed DRM content in the cloud (which can go away). We like to say its not buying, you're just "long term" renting. Guess what, that's exactly what this is, except that's the entire point here, to not buy and simply rent, so there should be no confusion.
comment 2y ago · link · parent
What would have happened if mozilla fought (and won) this DRM battle?
At best, the same content at its lower quality levels would have been playable in the browser (i.e. non in a non DRM manner), but the DRM would have still existed at the higher levels for the "native" apps to use.
At worst, it wouldn't have been playable at all in the browser.
And perhaps somewhat in the middle, it would have been playable in the browser, but at a lower quality level than what is available now.
I'm not sure how this is fundamentally different than allowing patent encumbered codecs in (i.e. either things wont work in browser, or they will work worse in browser). One might argue that its not, but that undermines then the concept of "original sin" as the patent encumbered codecs occurred first.
I also don't get the argument that someone would have "hacked" in support being an argument for not including it. If someone could hack in support, and that version would be come the version people use (instead of the ideologically pure version), what exactly does one's ideological purity get? "No one" (a bit of hyperbole) is using that version.
comment 2y ago · link · parent
https://patents.google.com/patent/US8214367B2/en
"a context recorder that uses accessibility mechanisms to record context information derived independently of screen-images"
then again, we arguably patented much of what makes up recall.
comment 2y ago · link · parent
I questioned it, but to an extent its somewhat how even larger companies behave (i.e. not uncommon fo them to do a fundamentally non functional demo of a feature that they hope to have out at some point in the future)