5,109 karma · joined Jun 27, 2012 (14y ago) · 1,639 submissions
comment 12y ago · link · parent
The general idea is to have hardware with direct virtualization support (which is increasingly available on commodity hardware), then have a 'control plane' of layered, virtualized syscall APIs that configure a 'data plane' of virtualization-aware hardware. Permitted I/O operations occur just as if they were on bare metal, with asymptotically zero performance overhead, because you can process an arbitrary amount of data without invoking any code at the OS/hypervisor/cloud provider layer.
For example, my rented, virtualization-aware CPU allows me to run any non-privileged code that stays within a certain block of address space; my rented, virtualization-aware NIC allows me to send and receive any ethernet frames that match certain header bits; and my rented, virtualization-aware disk allows me to read and write to a certain range of LBAs. The nth-layer OS or cloud host or whatever can come in and alter these permissions at will but it need not examine every single syscall to see if it conforms to policy.
comment 12y ago · link · parent
Politicians in the city I live in are literally doing this, installing "traffic calming measures" (destroying perfectly good road lanes that were just resurfaced)
I believe phase two involves generating clean energy by harnessing the power of Bastiat spinning in his grave.
comment 12y ago · link · parent
Ideal tuning would probably also reserve some decent amount of space for file caches and slab but I'm not aware of any setting that does that.
It's an entirely different story on laptops and development servers, where the workload varies widely, may contain large idle heap allocations worth swapping, and manually configuring memory usage isn't practical.
comment 12y ago · link · parent
Java's bloated heap, for example, has easy to use startup options that cause the Java process to use a deterministic amount of RAM, as does any other sane program that uses nontrivial amounts of memory.
OOMing (or swapping) a server almost always indicates an error that needs human intervention, so cleanly killing/rebooting the faulting system and raising the alarm in your monitoring system is the right thing to do.
comment 12y ago · link · parent
Unless you want a truly simple C template system, in which case aren't the C11 type sensitive macros sufficient?
comment 12y ago · link · parent
comment 12y ago · link · parent
Someone who claims it confidently like that is well into the area of making shit up then rationalizing it.
comment 12y ago · link · parent
1. Long waits (~10m minimum usually)
2. Unreliable (they'll take calls and never manage to show up)
3. Bad attitude/customer service
4. Constantly trying to rip you off by taking weird routes or trying to use the meter on flat-rate airport trips
5. High prices for shitty cars compared to Uber's range of services
I'd ride taxis, but only when I had to. The bus system was a more pleasant and reliable way of getting from one place to another. Uber has really changed that. For the 30% of the population that lives in cities it's a realistic alternative to dealing with a car, particularly if you're not a kid chauffeur.
comment 12y ago · link · parent
"Containers" are just user-accessible support tooling to get creative with how those interfaces work. It really should be much easier to make container software than the entire virtualization infrastructure from scratch, in the same way that it's easier to write tar than a filesystem driver.
comment 12y ago · link · parent
Of course, for retiring a drive there's no good reason not to just physically destroy it.
comment 12y ago · link · parent
In other words, they use the worst-case n log(n) heapsort with an optimization to use the much faster quicksort for non-pathological inputs, which is almost always.
comment 12y ago · link · parent
System administration, which includes operator actions, system
configuration, and system maintenance was the main source of failures
-- 42%. Software and hardware maintenance was the largest category.
High availability systems allow users to add software and hardware and
to do preventative maintenance while the system is operating. By and
large, online maintenance works VERY well. It extends system
availability by two orders of magnitude.
I've usually seen the online vs offline maintenance tradeoff depicted as the availability benefits of online maintenance vs the massive development cost of a system that remains available despite operator error during maintenance -- but if you meet the much easier standard of fail-fast (human error causes the system to go down but doesn't corrupt the database) then online maintenance is still an overall win even if it's the primary cause of failures.comment 12y ago · link · parent
Syntax is not the most important thing in a language but it's not nothing either.
comment 12y ago · link · parent
This might not be 100% optimal but it seems a whole lot more user friendly and I'm sure simplicity of the system increases compliance.
comment 12y ago · link · parent
3:2 makes the portrait mode go from silly to potentially useable, except for the part where almost no Windows programs are actually usable in portrait mode, and of course the keyboard requires landscape mode anyway.
With no interesting spec upgrades over the Pro 2 (I was hoping for LTE, or more ports) I think I'll get one of those instead.
comment 12y ago · link · parent
http://www.nutritionix.com/7-11/7-select-burritos-beef-bean-...
comment 12y ago · link · parent
Why? It's extremely common for industry/standardization groups like the IETF to come to conclusions that are contrary to the position of one of its members, and it usually doesn't result in said member being expelled or falling on their sword.
comment 12y ago · link · parent
comment 12y ago · link · parent
It's not the government killing people, it's an individual cop, and if they do so unlawfully the criminal exposure is personal. (In practice, prosecutors are reluctant to actually go after cops in anything but an extreme case, but this isn't unique to police killings)
comment 12y ago · link · parent
comment 12y ago · link · parent
Splitting these up converts one impossible problem into a tricky but mostly solved problem (delivery) and a hard problem that has to be addressed anyway (internet identity)
comment 12y ago · link · parent
Suggestion: Cut out all the adjectives and stick to a 'just the facts' style. Find an article that isn't about DO's finances but instead just lists it aside other major cloud/VPS providers.
comment 12y ago · link · parent
"It does take a mastermind to get close to any kind of optimal solution in many cases" isn't correct. Relaxing the optimality constraint doesn't actually make central planning any easier, difficulty is dominated by the worse-than-cubic scaling on the number of moving parts of the system (and look at how complex even pencil manufacturing is).
Nations actually tried this, a whole lot of useful math for optimization problems was discovered, but economic optimization is still algorithmically intractable.
comment 12y ago · link · parent
Water isn't cleaning the fecal bacteria off the toothbrush you keep in the same room as your toilet, your wall-to-wall carpeting is full of food crumbs that roaches love, etc.