Tuesday, September 29, 2020

GoLang @ Google

New Case Studies About Google’s Use of Go | Google Open Source Blog

Here’s a look at three projects powered by Go at Google—replacing a monolithic indexing pipeline that supports Google Search with a more flexible system of microservices written in Go; the Chrome Optimization Guide for mobile users, written in Go; and migrating Firebase’s backend servers from Node.js to Go for easy concurrency and efficient execution.

Timescale: time series db


Time-series data simplified | Timescale
PostgreSQL for time‑series

TimescaleDB is the leading open-source relational database for
time-series data. Fully managed or self‑hosted.

Monday, September 28, 2020

Python Developer's Toolkit


The tutorial recording from PyCon: youtube.com
Workshop resources site: pycon.switowski.com

Sebastian’s website: switowski.com
Writing Faster Python talk: youtube.com

Hugo Static Site Theme: gohugo.io

Sebastian on Twitter: @SebaWitowski

links from:

Saturday, September 26, 2020

OpenAI GPT-3

 It looks like Elon Musk isn't happy about Microsoft exclusively licensing OpenAI's text-generating software

  • Elon Musk voiced his discontent on Twitter that OpenAI — the AI research firm he helped found — is exclusively licensing its famous natural language software GPT-3 to Microsoft.
  • "This does seem like the opposite of open. OpenAI is essentially captured by Microsoft," Musk tweeted.
  • GPT-3 is able to generate text that looks natural enough to have been written by a human.

"Generative Pre-trained Transformer 3 (GPT-3) is an autoregressive language model that uses deep learning to produce human-like text. It is the third-generation language prediction model in the GPT-n series created by OpenAI, a for-profit San Francisco-based artificial intelligence research laboratory.[2] GPT-3's full version has a capacity of 175 billion machine learning parameters. GPT-3, which was introduced in May 2020, and is in beta testing as of July 2020,[3] is part of a trend in natural language processing (NLP) systems of pre-trained language representations.[1] Prior to the release of GPT-3, the largest language model was Microsoft's Turing NLG, introduced in February 2020, with a capacity of 17 billion parameters or less than 10 percent compared to GPT-3.[4]

The quality of the text generated by GPT-3 is so high that it is difficult to distinguish from that written by a human..."

Location based apps & services

How to Create a Location-Based App

According to the MarketsandMarkets report
the location-based services market will reach $40 billion by 2024.

13 Cool Ideas for Location-Based Apps and How to Develop One

moovit-app

 7 Examples of Location-Based Services Apps | The Manifest

10 Great Examples of Location-Based Apps | Technology Org


Thursday, September 24, 2020

AWS Controllers for Kubernetes (ACK)

Amazon Announces the Preview of AWS Controllers for Kubernetes (ACK)  @InfoQ

AWS Controllers for Kubernetes (ACK) is a new tool by AWS allowing users to manage AWS services from Kubernetes directly. In a blog post, the public cloud vendor states the tool will make it easy to build scalable and highly-available Kubernetes applications that utilize AWS services.

WebAssembly, WAT, & Rust

WASM + Rust [Part 2] WAT (WebAssembly Text Format) - Utah Rust - YouTube

WebAssembly, WAT, and Rust (Video Presentation) - announcements - The Rust Programming Language Forum

http://programwith.us/



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."


Tesla is going to have new head of its Advanced Battery Research in Canada - Electrek

Jeff Dahn - Wikipedia


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

API Reference – 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 => alternatives: Luxon, day.js ...

 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.


you-dont-need/You-Dont-Need-Momentjs: List of functions which you can use to replace moment.js + ESLint Plugin

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. 

Serverless Framework & Inc.

Episode #66: The Story of the Serverless Framework with Austen Collins (PART 1) - Serverless Chats Podcast

Episode #67: The Story of the Serverless Framework with Austen Collins (PART 2) - Serverless Chats Podcast


Serverless, Inc. lands $10M Series A to build serverless developers platform | TechCrunch

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."