Wednesday, May 27, 2020

AWS ARM Graviton2 CPUs

Amazon Announces the General Availability of EC2 M6g Instances Powered by AWS Graviton2

Andy Jassy, CEO of AWS, stated in a tweet:

Excited to give customers our new Arm-based #AWS EC2 M6g instances that leverage our Graviton2 processors and deliver up to 40% better price-performance than the latest x86 instances. Big deal for customers.

Monday, May 25, 2020

cloud: GCP 4 DOD

Google's cloud division lands deal with the Department of Defense

"The new contract, which is through the DoD’s Defense Innovation Unit (DIU), will be focused on identifying cyber threats, according to the release. Google said the system “will provide real-time network monitoring, access control, and full audit trails, enabling DIU to maintain its strict cloud security posture without compromising speed and reliability.”

The system, which will be centrally managed from Google’s console, will allow the DIU to run web services and applications across competing cloud services like those offered by Amazon and Microsoft."



Why is Python slow?

Talk: Anthony Shaw - Why is Python slow? - YouTube

Episode #265 Why is Python slow? - [Talk Python To Me Podcast]

data
n-body | Computer Language Benchmarks Game

Rust: 7 sec
Go: 21 sec
C#: 21 sec
Java: 21 sec
Swift: 21 sec
JavaScript/node.js: 26 sec

Ruby 6 min

Python 14 min


Sunday, May 24, 2020

AWS Amplify

AWS Amplify

Hosting for fullstack serverless web apps with continuous deployment
AWS Amplify Console

The AWS Amplify Console provides a Git-based workflow for deploying and hosting fullstack serverless web applications. A fullstack serverless app consists of a backend built with cloud resources such as GraphQL or REST APIs, file and data storage, and a frontend built with single page application frameworks such as React, Angular, Vue, or Gatsby.


Saturday, May 23, 2020

GitFlow

nvie/gitflow: Git extensions to provide high-level repository operations for Vincent Driessen's branching model. @GitHub

Gitflow Workflow | Atlassian Git Tutorial

"Gitflow Workflow is a Git workflow design that was first published and made popular by Vincent Driessen at nvie. The Gitflow Workflow defines a strict branching model designed around the project release. This provides a robust framework for managing larger projects."


Git flow workflow - Hotfix Branches.


Microsoft Build 2020 4 RGV2cw

not using YouTube, instead custom video viewer, with 4x max speed

Microsoft Build 2020 Highlights - YouTube

MyBuild - Home

MyBuild - Empowering every developer, with Satya Nadella

Microsoft CEO keynote for Build 2020 (full presentation) - YouTube

Microsoft hid lots of secret nerdy messages to devs in its Build stream - The Verge

mysterious “RGV2cw” 3D-printed object on the shelf behind CEO Satya Nadella. It was part of many Easter eggs hidden throughout Microsoft’s Build stream, spelling out “devs” in Base64 format.

The Journey to One .NET | Microsoft Build 2020 | Channel 9
by Scott Hunter, Scott Hanselman

Thursday, May 21, 2020

free ebooks: Kubernetes on Azure

The Kubernetes Collection

     


MacBook Pro: use ports on right side!

Power Your MacBook Pro From Right Side USB-C Ports: Here's Why

"If you’re charging your MBP using the left-hand ports and have other accessories plugged into that side, the computer heats up so much that a sensor — Thunderbolt Left Proximity — is alerted and a macOS process named kernel_task appears. Suddenly the fans spin up on the MacBook Pro and CPU usage is maxed out."

Image via "Adam" on StackExchange showing the macOS kernel_task dominating CPU usage

Tuesday, May 19, 2020

tool: Favicon.io: Favicon Generator

The best Favicon Generator (completely free) | Favicon.io

generate a favicon from text, from an existing image, or from an emoji 

Monday, May 18, 2020

immudb: immutable database in Go

codenotary/immudb: immudb is lightweight, high-speed immutable database for systems and applications

"immudb is a lightweight, high-speed immutable database for systems and applications. With immmudb you can track changes in sensitive data in your transactional databases and then record those changes permanently in a tamperproof immudb database. This allows you to keep an indelible history of sensitive data, for example debit/credit card transactions.

As such, immudb provides unparalleled insights retroactively of changes to your sensitive data, even if your perimeter has been compromised. immudb guarantees immutability by using a Merkle tree structure internally.

immudb gives you the same cryptographic verification of the integrity of data written with SHA-256 like a classic blockhain without the cost and complexity associated with blockchains today."

GoLang, Apache 2.0
codenotary_mascot_final
codenotary.io

"Tamperpoof ledger solutions for all your sensitive data
Give your digital assets a globally verifiable identity with CodeNotary.io"

Sunday, May 17, 2020

Tesla: Million Miles Battery; TX Terafactory

Tesla’s readying a ‘million mile’ battery that could greatly lower the cost of EVs - The Verge

"The battery is expected to lower the cost per kilowatt hour (the unit of energy most commonly used to measure the capacity of the battery packs in modern electric vehicles) to under $100. Many experts believe that reaching that mark would allow Tesla or other automakers to sell electric vehicles for the same prices as gasoline-powered ones, thereby making them far more accessible."

"...is being co-developed with Chinese battery giant Contemporary Amperex Technology Co. Ltd (CATL) "

Tesla's next factory is going to be in Austin, Texas and it's going to happen quickly - Electrek

"...Tesla has chosen Austin, Texas for its next factory and it’s going to happen quickly."

Deno introduction

node.js evolved: V8 + Rust + TypeScript + WASM = Deno

Deno in 100 Seconds - YouTube


What is Deno & Will it replace Node.js? - YouTube
By Max S. (Academind)

The Deno Handbook: A TypeScript Runtime Tutorial with Code Examples
by Flavio Copes

Saturday, May 16, 2020

WebAssembly COBOL Pong in web browser

COBOL Pong

WebAssembly COBOL Pong

Pong written in COBOL, compiled to WebAssembly.

source code:

Choosing DynamoDB Partition Key

Choosing the Right DynamoDB Partition Key | AWS Database Blog

"...important considerations and strategies for choosing the right partition key for designing a schema that uses Amazon DynamoDB"

Friday, May 15, 2020

Apple WWDC online: "Swift Playground Challenge"

Swift Student Challenge - WWDC20 - Apple Developer

‎Swift Playgrounds on the App Store
for iPad  

391.9 MB

or Mac



node.js + express: best practices

good article:
node.js + express
Production best practices: performance and reliability

expressjs.com/en/advanced/best-practice-performance.html

"This article discusses performance and reliability best practices for Express applications deployed to production.

This topic clearly falls into the “devops” world, spanning both traditional development and operations."

Thursday, May 14, 2020

property-based testing

From 1 to 10,000 test cases in under an hour: A beginner's guide to property-based testing - DEV Community 


How does property-based testing differ from example-based?

While they're from different concepts, property-based tests share many characteristics with example-based tests. This is illustrated in the following comparison of steps you'd take to write a given test:
Example basedProperty based
1. Set up some example data1. Define data type matching a specification
2. Perform some operations on the data2. Perform some operations on the data
3. Assert something about the result3. Assert properties about the result
Episode #178 Build a PyPI package from a Jupyter notebook - [Python Bytes Podcast]

  • Carolyn Stransky, @carolynstran
  • Excellent intro to property based testing and hypothesis
  • Starts with a unit test that uses example based testing.
  • Before showing similar test using hypothesis, she talks about the different mindset of testing for properties instead of exact examples.
  • Like not the exact sorted list you should
  • but instead,
  • the length should be the same
  • the contents should contain the same things, for instance, using set for that assertion
  • you could element-wise walk the list and make sure i <= i+1
  • She walks through the hypothesis decorators to come up with input and shows how to use some.lists and some.integers and max_examples
  • Goes on to discuss coming up with properties to test for, which really is the hard part of property based testing.
  • Checking for expected exceptions
  • Using a naive method technique, useful in property based testing, to compare two versions of a method. This is super useful for refactoring and testing new vs old versions on tons of input data.
  • json5 lib

Retry Pattern With Exponential Back-Off

Exponential backoff - Wikipedia

Understanding Retry Pattern With Exponential Back-Off and Circuit Breaker Pattern - DZone Integration

Error retries and exponential backoff in AWS - AWS General Reference

Exponential Backoff And Jitter | AWS Architecture Bloga



ws-samples/aws-arch-backoff-simulator: Simulator for AWS architecture blog (http://www.awsarchitectureblog.com/ ) about jitter and backoff


exponential-backoff - npm

Wednesday, May 13, 2020

DTube: distributed open source "YouTube"

DTube


dtube/dtube: DTube App @ GitHub

GPLv3
JavaScript + IPFS + blockchain



WebGL: Stuff in Space

Stuff in Space

Stuff in Space is a realtime 3D map of objects in Earth orbit, visualized using WebGL.

The website updates daily with orbit data from Space-Track.org and uses the excellent satellite.js Javascript library to calculate satellite positions.

See Stuff in Space on GitHub

Deno 1.0

Deno 1.0

Next-gen app platform, based on TypeScript and Rust (and V8)
from creators of node.js

"A hello-world Deno HTTP server does about 25k requests per second with a max latency of 1.3 milliseconds. A comparable Node program does 34k requests per second with a rather erratic max latency between 2 and 300 milliseconds."


and here some more web frameworks based on node.js



Tuesday, May 12, 2020

event: AWS Summit Online

AWS Summit Online US Canada

2020-05-13

AI & Machine Learning
AI & Machine Learning
Big Data & Analytics
Big Data & Analytics
Containers
Containers
App Modernization
App Modernization
Serverless
Serverless
Migration & Modernisation
Migration & Modernization
Security
Security

Byteconf React 2020

Simply React - Kent C. Dodds (Byteconf React 2020 Keynote) - YouTube

#Byteconf - YouTube

Monday, May 11, 2020

Cloudflare Workers: V8 Isolates + WebAssembly + Rust

WebAssembly | Cloudflare Workers

Cloudflare Workers runs in V8 isolates, which support both WebAssembly and JavaScript. This documentation will get you up and running with Rust-generated WebAssembly.

Fine-Grained Sandboxing with V8 Isolates


v8: Isolate Class Reference


Here is what Cloudflare Workers do - YouTube
by Wes Bos

MDX = MD (Markdown) + JSX (React)

mdx-js/mdx: JSX in Markdown for ambitious projects

MDX is an authorable format that lets you seamlessly use JSX in your markdown documents. You can import components, like interactive charts or notifications, and export metadata. This makes writing long-form content with components a blast.

import { Chart } from '../components/chart'

# Heres a chart

The chart is rendered inside our MDX document.

<Chart />

What is MDX - YouTube

Using Expo in Gatsby

Thursday, May 07, 2020

AWS AppFlow

Amazon AppFlow – Amazon Web Services

Amazon AppFlow is a fully managed integration service that enables you to securely transfer data between SaaS applications like Salesforce, Marketo, Slack, and ServiceNow, and AWS services like Amazon S3 and Amazon Redshift, in just a few clicks. Learn how to get started with AppFlow by setting up a basic flow to send opportunity data from Salesforce to Amazon S3.

product-page-diagram_Amazon-AppFlow@2x

Intro to Amazon AppFlow - YouTube

Q&A with Amazon's VP Kurt Kufeld Regarding Amazon AppFlow

Wednesday, May 06, 2020

nbdev.fast.ai: IDE for Jupyter Notebooks

Episode #178 Build a PyPI package from a Jupyter notebook - [Python Bytes Podcast]

NBDev
  • nbdev is a library that allows you to fully develop a library in Jupyter Notebooks, putting all your code, tests and documentation in one place.
  • That is: you now have a true literate programming environment, as envisioned by Donald Knuth back in 1983!
  • This seems to be a massive upgrade for notebooks and related tooling
  • Creates Python packages out of a notebook
  • Creates documentation from the notebook
  • Solves the git perma-conflict issues with git pre-commit hooks
  • Use #export to declare a cell should become a function in the package
  • Manages the boilerplate issues for creating Python packages (setup.py, etc)
  • Makes testing possible inside notebooks
  • Navigate and edit your code in a standard text editor or IDE, and sync any changes automatically back into your notebooks (reverse basically)
  • Follow getting started instructions.
  • Docs render slightly better at nbdev.fast.ai
Exporting from nbdev