Tuesday, September 22, 2020

Tesla 4680 battery cell

 Tesla unveils new 4680 battery cell: bigger, 6x power, and 5x energy - Electrek

The automaker says that just with the new cell form factory they would increase range by 16%.
However, Tesla didn’t reveal improvement in energy density and instead focus on the form factor.
It also results in a 14% reduction in cost per kWh — again at the cell form factor level only.

Watch Live! Tesla's Annual Shareholder Meeting & Battery Day - YouTube

Tesla announces ‘tabless’ battery cells that will improve range of its electric cars - The Verge

Tesla’s Elon Musk said a $25,000 electric car with next-gen battery in the works - The Verge

"Tesla announced that it will dramatically reduce the cost of its battery cells and packs — which means the company’s new goal is a $25,000 electric car. The company’s CEO Elon Musk said its new “tabless” battery cells, as well as by changing the materials inside the cell, will allow Tesla to “halve” the price per kilowatt-hour, which will make electric cars roughly the same price as combustion engine ones."

Microsoft Ignite 2020: online

MyIgnite - Your home for Microsoft MyIgnite

digital event experience on September 22-24, 2020.


Monday, September 21, 2020

ORMs

Introducing MikroORM, TypeScript data-mapper ORM with Identity Map | by Martin AdĂĄmek | DailyJS | Medium
TypeORM is highly influenced by other ORMs, such as HibernateDoctrine and Entity Framework

Sequelize is a promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server. "GORM 2.0 is a rewrite from scratch, it introduces some incompatible-API change and many improvements"


Hyper.js: terminal app with Electron

Hyper™

Hyper is an Electron-based terminal
Built on HTML/CSS/JS

vercel/hyper: A terminal built on web technologies @GitHub

alternatives:


alacritty/README.md at master · alacritty/alacritty


microsoft/terminal: The new Windows Terminal and the original Windows console host, all in the same place!


My terminal became more Rusty 🩀 - DEV


nushell/nushell: A new type of shell


Switching to Alacritty and Nushell from Iterm2 and oh-my-zsh

Sunday, September 20, 2020

js: email-templates + pug

email-templates - npm

Create, preview, and send custom email templates for Node.js. Highly configurable and supports automatic inline CSS, stylesheets, embedded images and fonts, and much more! Made for sending beautiful emails with Lad.


Pug is a high performance template engine heavily influenced by Haml and implemented with JavaScript for Node.js and browsers.

This project was formerly known as "Jade." However, it has been revealed to us that "Jade" is a registered trademark, and as a result a rename is needed.


docs: pugjs.org
Getting Started – Pug

Includes – Pug

Template Inheritance – Pug



Pug Template Engine - Full Tutorial for Beginners - YouTube

Pug (formally known as Jade) is an HTML preprocessor implemented in Node.js. It allows you to render HTML with powerful features such as loops, templates, mixins and native JavaScript logic + support.


Converting HTML Files to Pug | Node.js - The Complete Guide

NodeJS - The Complete Guide (MVC, REST APIs, GraphQL, Deno) | Udemy

Getting Started with Jade | Pluralsight


Fullstack React GraphQL TypeScript Tutorial

Fullstack React GraphQL TypeScript Tutorial - YouTube

- React - TypeScript - GraphQL - URQL/Apollo - Node.js - PostgreSQL - MikroORM/TypeORM - Redis - Next.js - TypeGraphQL - Chakra Code: https://github.com/benawad/lireddit Links from video: Learn vim: https://benawad.com/vim How to install PostgreSQL: https://www.google.com/search?q=how+t... How to install Redis: https://www.google.com/search?q=how+t... Argon2 vs bcrypt: https://security.stackexchange.com/qu... React snippets: https://gist.github.com/benawad/1e9dd... Simple pagination: https://github.com/FormidableLabs/urq... Node.js Docker: https://nodejs.org/en/docs/guides/nod... Next Apollo: https://github.com/adamsoffer/next-ap...

Saturday, September 19, 2020

React.js => Next.js ?

Why I’m Using Next.js in 2020 - YouTube

nextjs

Conf: nextjs.org/conf
Blog: leerob.io/ 


Lex Fridman Podcast

Lex Fridman Podcast - Lex Fridman

used to be called "AI" podcast

Lex has MIT PhD and used to work there are a researcher, focused on self-driving cars.

the podcast is long-form interviews, often with very prominent scientists and interesting people.

strongly recommenced

Friday, September 18, 2020

Tesla FSD Chip, ARM based

 FSD Chip - Tesla - WikiChip

Full Self-Driving Chip (FSD Chip, previously Autopilot Hardware 3.0) is an autonomous driving chip designed by Tesla and introduced in early 2019 for their own cars. Tesla claims the chip is aimed at autonomous levels 4 and 5. Fabricated on Samsung's 14 nm process technology, the FSD Chip incorporates 3 quad-core Cortex-A72 clusters for a total of 12 CPUs operating at 2.2 GHz, a GPU operating 1 GHz, 2 neural processing units operating at 2 GHz, and various other hardware accelerators. The FSD supports up to 128-bit LPDDR4-4266 memory.

tesla fsd chip (front).pngtesla fsd chip (front, no ihs).png


Nvidia CEO Jensen Huang on deal to buy Arm Holdings from SoftBank - YouTube

aws-sdk-mock

aws-sdk-mock - npm

AWSome mocks for Javascript aws-sdk services.

This module was created to help test AWS Lambda functions but can be used in any situation where the AWS SDK needs to be mocked.

GitHub - dwyl/aws-sdk-mock: AWSomocks for Javascript/Node.js aws-sdk tested, documented & maintained. Contributions welcome!


NPMCompare.com - Comparing aws-mock vs. aws-sdk-mock vs. jest vs. proxyquire vs. tape


How to Mock AWS Services in TypeScript - Kyle Galbraith

GitHub - florinn/typemoq: A simple mocking library for TypeScript


Mocking Out the AWS SDK for Go for Unit Testing | AWS Developer Blog

Thursday, September 17, 2020

ztext.js | 3D Typography for the Web



Easy to implement, 3D typography for the web. Works with every font.


JavaScript Weekly Issue 503: August 28, 2020

Snowflake IPO: $70B

Snowflake IPO: 5 things to know about the Berkshire-backed company after its record software offering - MarketWatch

Cloud-database specialist to raise nearly $4 billion even before selling stakes to Salesforce and Warren Buffett’s previously IPO-averse Berkshire Hathaway

Snowflake Inc. produced the biggest initial public offering for a U.S. software company in history this week, and that may not even be the most astounding feature of its first share sale.

“They’re bringing an Amazon-like approach to data warehousing,”

Snowflake is taking that approach on cloud platforms that offer their own solutions, however. Google’s BigQuery, for instance, also offers a variable pricing structure, and Amazon’s Redshift is considered to be the biggest player around.






Tuesday, September 15, 2020

Nvidia += ARM - $40B

 Nvidia to buy Arm Holdings from SoftBank for $40 billion

Chipmaker Nvidia has agreed to buy Arm Holdings, a designer of chips for mobile phones, from SoftBank in a deal worth $40 billion, the companies announced Sunday. The deal will include $21.5 billion in Nvidia stock and $12 billion in cash, including $2 billion payable at signing.

moment.js is "done" changing

 Moment.js | Docs

"Moment.js has been successfully used in millions of projects, and we are happy to have contributed to making date and time better on the web. As of September 2020, Moment gets over 12 million downloads per week!

However, Moment was built for the previous era of the JavaScript ecosystem. The modern web looks much different these days. Moment has evolved somewhat over the years, but it has essentially the same design as it did when it was created in 2011. Given how many projects depend on it, we choose to prioritize stability over new features."

Here are the alternatives we recommend:

Luxon

Luxon can be thought of as the evolution of Moment. It is authored by Isaac Cambron, a long-time contributor to Moment. Please read Why does Luxon exist? and the For Moment users pages in the Luxon documentation.

  • Locales: Intl provided
  • Time Zones: Intl provided

Day.js

Day.js is designed to be a minimalist replacement for Moment.js, using a similar API. It is not a drop-in replacement, but if you are used to using Moment's API and want to get moving quickly, consider using Day.js.

  • Locales: Custom data files that can be individually imported
  • Time Zones: Intl provided, via a plugin

date-fns

Date-fns offers a series of functions for manipulating JavaScript Date objects. For more details, scroll to "Why date-fns?" on the date-fns home page.

  • Locales: Custom data files that can be individually imported
  • Time Zones: Intl provided, via a separate companion library

js-Joda

js-Joda is a JavaScript port of Java's Three-Ten Backport, which is the base for JSR-310 implementation of the Java SE 8 java.time package. If you are familiar with java.timeJoda-Time, or Noda Time, you will find js-Joda comparable.

  • Locales: Custom data files via add-on module
  • Time Zones: Custom data files via add-on module

No Library

JavaScript has always had a Date object, defined ECMAScript (ECMA-262) specification here.

When using Date objects, be aware of the following:

  • The Date object internally represents a Unix timestamp with millisecond precision. It offers functions that will convert to and from the system's local time zone, but it is always UTC internally. Unlike a Moment object, it can not be set to use another time zone; It has no concept of "mode".

  • Using Date.parse, or new Date(<string>) has been problematic and implemented inconsistently in the past. The current specification defines parsing a variation of ISO 8601 strings, where date-only forms (like "2020-09-14") are parsed as UTC, instead of local time as they would be by ISO 8601. Even then, not all modern implementations have implemented this specification correctly (e.g., Safari). Other types of strings may work, but parsing them is implementation specific and can vary significantly - especially with older browsers. Depending on the implementation, and the components provided in the string, you may be surprised with the result. For these reasons, we agree with MDN's statement that parsing strings with the Date object is strongly discouraged.

Modern JavaScript environments will also implement the by ECMA-402 specification, which provides the Intl object, and defines behavioral options of the Date object's toLocaleStringtoLocaleDateString, and toLocaleTimeString functions.

When using the Intl object, be aware of the following:

  • Not every environment will implement the full specification. In particular, Node.js environments require internationalization support provided by ICU. See the Node.js documentation for further details.
  • The ECMAScript Intl compatibility table (by kangax) can be useful in determining which features are supported and which are not.
  • Most newer environments provide IANA time zone support via the timeZone option in the Intl.DateTimeFormat constructor (and in Date.toLocaleStringDate.toLocaleDateString, and Date.toLocaleTimeString). This option can be used to take the internal UTC-based timestamp of a Date object and get a string that has been converted to a named time zone. However, it can not be used to convert a Date object to a different time zone.

If the Date and Intl objects meet your needs and you fully understand their limitations, then you might consider using them directly.

Monday, September 14, 2020

FullCalendar.js


FullCalendar: A Full Sized JavaScript Calendar Control — An interesting option if you want a Google Calendar style control for your own apps. Has connectors for React, Vue and Angular. The base version is MIT licensed, but there’s a ‘premium’ version too.

chair: Herman Miller

Embody Chair - Herman Miller
$1570



Aeron Chair - Herman Miller
$1069

Sunday, September 13, 2020

device: Amazon Halo

Stacey on IoT | Wearables get their day in the sun
Amazon's new Halo wearable can track activity, health, and emotions

Amazon Halo is really pushing user trust to the limit. The device, which costs $99.99 and also requires a subscription fee of $3.99 a month for the advanced features, tracks heart rate, steps, and body composition. But it also tracks your emotions based on your tone of voice. To be clear, users have to opt into the feature, and it isn't always listening. Instead, it is an intermittent check on the wearer's emotional state that gets reported back to the user. Basically, it has the potential to become a giant pool of training data so Amazon's Alexa can gain some emotional intelligence.


Google X process

"X" here = search for 10x better than current solutions

A Peek Inside the Moonshot Factory Operating Manual | by Astro Teller | X, the moonshot factory

"Fall in love with the problem, not the solution."







Blueprint for X moonshots

Friday, September 11, 2020

D3.js 6.0


D3.js - Data-Driven Documents

GitHub - d3/d3: Bring data to life with SVG, Canvas and HTML.

"D3 6.0: The Data-Driven Document Library — The popular data visualization library takes a step forward by switching out a few internal dependencies for better alternatives, adopts ES2015 (a.k.a. ES6) internally, and now passes events directly to listeners. Full list of changes. There’s also a 5.x to 6.0 migration guide for existing users.
MIKE BOSTOCK"



IEEE + MIT: Improving Code Reviews

ComputingEdge Sept coverPast Issues of ComputingEdge | IEEE Computer Society

ce-sep20-final.pdf

"Improving Code Reviews: Manual peer code review is the software industry’s standard method for catching bugs and design flaws. But too often, mistakes slip through. Recently, software practitioners have turned to new techniques for reviewing code. This issue of ComputingEdge presents two ways to improve code reviews—one that incorporates automated techniques and another that inserts more structure and objectivity into the process."

Thursday, September 10, 2020

Linux kernel = 1M Git Commits

Commit 1 million: The history of the Linux kernel | ZDNet

29-years in the making, the Linux kernel just accepted its millionth commit. The greatest open-source project of all time has come a long way from its "hobby" beginnings.

Wednesday, September 09, 2020

Udemy Free Online Courses

Udemy Free Resource Center: Find Free Online Courses | Udemy

Udemy

SpaceX's Satellite Internet: 20ms, 100/40 Mbps

SpaceX's Satellite Internet Service Latency Comes in Under 20 Milliseconds | PCMag

The two benchmark tests, conducted using Ookla’s Speedtest.net service, show Starlink achieving a 102 to 103Mbps download rate, 40 to 42Mbps upload rate, and a latency of 18 to 19ms

... the average latency for fixed broadband in the US is 25ms, while the rate on mobile networks is at 48ms, according to Speedtest.net

Tuesday, September 08, 2020

EV: Nikola + GM = Badger truck

Nikola and GM team up to make this 900-horsepower super electric truck

Nikola (NKLA) and GM (GM) are teaming up to take on Tesla’s cybertruck.

The electric truck startup announced Tuesday it has selected GM to be its manufacturing parter for its electric pickup truck dubbed the Badger. The Badger will use GM’s widely acclaimed Ultium battery technology. Additionally, Nikola will hand over $2 billion in stock to GM — giving the automaker an 11% stake in the company.

Shares of Nikola and GM rose 40% and 8%, respectively on the tie-up.


Nikola Motor Badger electric truck

Conway's Law for SW

Dev Tip #228: Conway's Law and Your Software

Mel Conway wrote that organizations that design complex systems tend to end up with designs that mirror the organization's communication structure. This in turn typically mirrors the company's org chart and team breakdown.

Monday, September 07, 2020

Salesforce (No SW) > Oracle (SW)

Benioff Says Cloud-Based Computing May Be End of Software - YouTube

"no software" here means "outsourced management of software that runs on cloud"
or more specifically "Software as a Service" (SaaS)


Templates in GoLang

An Introduction to Templates in Go - Calhoun.io

"This series introduces the html/template package included in Go’s standard library, and then continues to talk about various aspects of it including contextual encoding, how to use actions like if/else and other, how to use functions and define new ones to be made available in your templates, and finally how to put all together to create a reusable view layer."

this package is foundation for



HDDs stats

Which company makes the most reliable hard drives? Which drives might be worth avoiding? | ZDNet

Backblaze has published its Q1 2020 hard drive stats, which looks at the failure rates for 129,764 hard drives from HGST, Toshiba, and Seagate (this figure excluded test drives and drive models where Backblaze had less than 60 in operation).


Best Internal Hard Drives (HDD) in 2020 | Windows Central


Friday, September 04, 2020

GoLang @ AWS Lambda

AWS Lambda now supports Go on Amazon Linux 2

AWS Lambda, Amazon’s serverless platform, has supported Go directly for a while now, but support has now been extended to the newer Amazon Linux 2 runtime.

Golang Weekly Issue 325: August 14, 2020

Thursday, September 03, 2020

AWS Wavelength for 5G

AWS Wavelength Now Generally Available

WS has recently made AWS Wavelength zones in San Francisco and Boston available to provide a subset of their computing services on Verizon datacenters. The new zones will allow developers to build applications that can benefit from the ultra-low latency of the mobile carriers.

Only a small subset of EC2 instance types and classes are available for edge workloads: t3.medium, t3.xlarge, r5.2xlarge and g4dn.2xlarge. Developers can create EBS volumes and run Amazon EC2 Auto Scaling, Amazon EKS clusters and Amazon ECS clusters to manage their instances and Kubernetes clusters. 

Wednesday, September 02, 2020

Whole Netflix In 1 Second?

World's Fastest Internet Speed Can Download Whole Netflix In 1 Second

"The researchers from University College London (UCL) in the UK achieved a data transmission rate of 178 terabits a second -- five times faster than the previous record.

The record, described in a research paper published in the journal IEEE Photonics Technology Letters, is double the capacity of any system currently deployed in the world."


In 2013 Netflix required massive amounts of fast storage and fast networking for streaming. At that time, it had 100 to 150 terabytes per server, which has undoubtedly grown massively since then. Netflix CEO Reed Hastings stated in 2015 that users had streamed 42.5 billion hours of video through the service.

Tuesday, September 01, 2020

AWS Graviton2 Processors

383-diving-into-aws-graviton2-processors - AWS Podcasts

"AWS Graviton2 processors power Amazon EC2 M6g, C6g, and R6g instances that provide up to 40% better price performance over comparable current generation x86-based instances for a wide variety of workloads including application servers, micro-services, high-performance computing, electronic design automation, machine learning inference, gaming, open-source databases, and in-memory caches."