Monday, May 09, 2016

data: HDD reliability

Who makes the most reliable hard drives? (updated) | ExtremeTech
"Backblaze ... buys whatever drive offers the most competitive dollar-per-gigabyte ratio, with reliability being a secondary factor
... 
As of the end of December 2014, Backblaze had 15,528 Seagate drives, 22,902 Hitachi drives, 1,174 Western Digital drives, and 47 Toshiba drives. These drives are not all the same age — some are several years old, while many were installed in the past year, including thousands of brand new 4TB and even a few 6TB models.
...
Hitachi drives are by far the most reliable. Even though many of Backblaze’s Hitachi drives are several years old, they only have an annual failure rate of 2% or so on average. And the latest HGST drives have a failure rate of just 1.4%. The “annual failure rate” is the chance of a drive dying within a 12-month period.

CSSx: CSS by JavaScript (like JSx = HTML by JavaScript)

Finally, CSS In JavaScript! Meet CSSX – Smashing Magazine

krasimir/cssx: CSS in JavaScript @ GitHub
Generate and/or apply CSS with JavaScript.

"CSSX is not only about writing vanilla CSS in JavaScript. Even though you get this the main idea here is to have a good API for managing styles. CSSX doesn't inline styles so you keep your markup clean. It works directly with injected stylesheets. Here is a short example:"
function setStyles (fontSize, margin) {
  return <style>
    body {
      font-size: {{ fontSize }}px;
      line-height: {{ fontSize * 1.2 }}px;
      margin: {{ margin }}px;
    }
  </style>
}

var sheet = cssx();
sheet.add(setStyles(20, 6));
sheet.add(<style>
  p > a {
    text-decoration: none;
    color: #F00;
  }
</style>);
And it results in the following CSS:
body {
  margin: 6px;
  line-height: 24px;
  font-size: 20px;
}
p > a {
  color: #F00;
  text-decoration: none;
}
var myDivElement = <div className="foo" />; ReactDOM.render(myDivElement, document.getElementById('example'));

security: Principle of least privilege

Principle of least privilege - Wikipedia, the free encyclopedia
"In information security, computer science, and other fields, the principle of least privilege (also known as the principle of minimal privilege or the principle of least authority) requires that in a particular abstraction layer of a computing environment, every module (such as a process, a user, or a program, depending on the subject) must be able to access only the information and resources that are necessary for its legitimate purpose"

What is principle of least privilege (POLP)? - Definition from WhatIs.com

Capability-based security - Wikipedia, the free encyclopedia

AppLocker (Windows 10)
"AppLocker helps you control which apps and files users can run. These include executable files, scripts, Windows Installer files, dynamic-link libraries (DLLs), packaged apps, and packaged app installers."
Lock down Windows 10 to specific apps (Windows 10)

Device Guard overview (Windows 10)
"Device Guard is a combination of enterprise-related hardware and software security features that, when configured together, will lock a device down so that it can only run trusted applications. If the app isn’t trusted it can’t run, period."