SolarCity and Tesla: Tau Microgrid

The future is happening: The island of Ta’u in American Samoa, located more than 4,000 miles from the West Coast of the United States, now hosts a solar power and battery storage-enabled microgrid that can supply nearly 100 percent of the island’s power needs from renewable energy. This provides a cost-saving alternative to diesel, removing …

Web Components: Introducing Custom Elements

One of the new features in Safari Technology Preview 18 is Custom Elements v1 (Chrome/Opera already support for it): To define a custom element, simply invoke customElements.define with a new local name of the element and a subclass of HTMLElement. Example Code: class CustomProgressBar extends HTMLElement { constructor() { super(); const shadowRoot = this.attachShadow({mode: 'closed'}); …

Getting ready for PHP 7.1

In short: Catching multiple exception types Curl HTTP/2 server push support Support class constant visibility Void return types Generalize support of negative string offsets Allow specifying keys in list() and square bracket syntax for array destructuring Warn about invalid strings in arithmetic Deprecate and remove mcrypt() Upcoming changes in PHP 7.1 → Don’t forget about …