Sunday, October 25, 2020

Tesla Full Self Driving

 Tesla Full Self Driving Beta Reaction - YouTube

Tesla Full Self Driving BETA Testing 2020.40.10 | Navigating Roundabouts, Intersections & way more! - YouTube

First Longest Tesla FSD Beta Driving Reveals Tesla's Realtime World Map - YouTube



REST => gRPC-Web, with WASM & Blazor

 10 Steps to Replace REST Services with gRPC-Web in Blazor WebAssembly | Syncfusion Blogs

In modern web applications, the common way data is exchanged between client and server is through REST (representational state transfer) services. JSON is the standard file format for this two-way communication. In REST, the client makes a request to a specific endpoint, and the server responds to it.


gRPC uses Protobuf (Protocol Buffers) as the format for the payload and supports all kinds of streaming:
Server-side streaming
Client-side streaming
Bidirectional streaming

From a performance point of view, Protobuf is an efficient binary message format. Protobuf serialization results in small message payloads, which is important in limited-bandwidth scenarios like mobile and web apps.


or just use JavaScript...

grpc-web - npm

gRPC-Web provides a Javascript library that lets browser clients access a gRPC service. You can find out much more about gRPC in its own website.


This library is intended for both JavaScript and TypeScript usage from a web browser or NodeJS (see Usage with NodeJS).

Friday, October 23, 2020

HashiCorp: $5B

HashiCorp Logo (no text)

 HashiCorp Scores $175M Funding Round, $5B Valuation - SDxCentral

HashiCorp raked in $175 million in a Series E funding round this week that propelled the company’s valuation to an astonishing $5.1 billion.

While private, HashiCorp said it has posted a 100% year-over-year increase in revenue over the past four years, and has more than doubled its customer base each of those years. The company is targeting the latest investment at expanding its support teams and research and development.

HashiCorp’s last funding round was a $100 million Series D in late 2018, which prompted a $1.9 billion valuation. That followed a $40 million Series C in October 2017. The company in total has now raised nearly $350 million in funding since being founded in 2012.

HashiCorp: Infrastructure enables innovation

HashiCorp - Wikipedia



TypeORM "book"

 README - typeorm

TypeORM is an ORM that can run in NodeJS, Browser, Cordova, PhoneGap, Ionic, React Native, NativeScript, Expo, and Electron platforms and can be used with TypeScript and JavaScript (ES5, ES6, ES7, ES8). Its goal is to always support the latest JavaScript features and provide additional features that help you to develop any kind of application that uses databases - from small applications with a few tables to large scale enterprise applications with multiple databases.

TypeORM supports both Active Record and Data Mapper patterns, unlike all other JavaScript ORMs currently in existence, which means you can write high quality, loosely coupled, scalable, maintainable applications the most productive way.

Wednesday, October 21, 2020

Julia programming language

JuliaLang Logo

The Julia Programming Language

commercial support

Julia Computing

Julia (programming language) - Wikipedia


Julia is a high-level, high-performance, dynamic programming language. While it is a general purpose language and can be used to write any application, many of its features are well-suited for numerical analysis and computational science.

Julia's core is implemented in Julia and C, together with C++ for the LLVM dependency. The parsing and code-lowering are implemented in FemtoLisp, a Scheme dialect.[105] The LLVM compiler infrastructure project is used as the back end for generation of 64-bit or 32-bit optimized machine code depending on the platform Julia runs on"

podcast interview

A programming language for scientific machine learning and differentiable programming – The Data Exchange



Node.js v15.0.0 released

 Node.js v15.0.0 is here!. This blog was written by Bethany… | by Node.js | Oct, 2020 | Medium


"An upgrade to the V8 8.6 engine (from 8.4) adding various JS features like Promise.any(), logical assignment operators, and String.prototype.replaceAll()

Unhandled rejections are now raised as exceptions by default."

Tuesday, October 20, 2020

React v17.0 released

 React v17.0 – React Blog

"The focus in React 17 is peace, harmony, and gentle progression, with subtle changes, making apps easier to upgrade gradually in future, and also to make it easier to embed React apps into apps built with other technologies.

The React 17 release is unusual because it doesn’t add any new developer-facing features. Instead, this release is primarily focused on making it easier to upgrade React itself."

UNPKG: CDN 4 NPM

 UNPKG

unpkg is a fast, global content delivery network for everything on npm. Use it to quickly and easily load any file from any package using a URL like:


unpkg.com/:package@:version/:file



Saturday, October 17, 2020

Google Career Certificates

Google Has a Plan to Disrupt the College Degree | Inc.com

"Google recently made a huge announcement that could change the future of work and higher education: It's launching a selection of professional courses that teach candidates how to perform in-demand jobs.

These courses, which the company is calling Google Career Certificates, teach foundational skills that can help job-seekers immediately find employment. However, instead of taking years to finish like a traditional university degree, these courses are designed to be completed in about six months."

Google's new certificate program takes only six months to complete, and will be a fraction of the cost of college.

Google: "In our own hiring, we will now treat these new career certificates as the equivalent of a four-year degree for related roles."


Google Spent Years Studying Effective Teams. This Single Quality Contributed Most to Their Success | Inc.com

"That's why not too long ago, Google set out on a quest to figure out what makes a team successful. They code-named the study Project Aristotle, a tribute to the philosopher's famous quote "The whole is greater than the sum of its parts."

Friday, October 16, 2020

Gatsby.js with React

 Gatsby

Gatsby is a React-based open source framework for creating websites and apps. Build anything you can imagine with over 2000 plugins and performance, scalability, and security built-in by default.


Epic React by Kent C. Dodds

//epicreact.dev/

//github.com/kentcdodds (Kent C. Dodds)

+

icanhazdadjoke


Wednesday, October 14, 2020

JavaScript on GoLang

Elsa: A Minimal, Secure Runtime for JavaScript and TypeScript Written in Go

Joining Deno in the land of new JS runtimes this year comes the Go-powered Elsa which uses QuickJS rather than V8. It feels somewhat more experimental, but it’s always fun to see such projects, and if you don’t like it.. you can


Monday, October 12, 2020

EV 3 wheels: Arcimoto

Arcimoto | Ultra Efficient Electric Vehicles

$17,900

Arcimoto - YouTube

WE BUILD RIDES - YouTube

Arcimoto - Wikipedia

Arcimoto is an electric vehicle company headquartered in Eugene, Oregon that manufactures and sells the Fun Utility Vehicle, or FUV, a tandem two-seat, three-wheeled electric vehicle.[1]

Range100 miles city
66 miles @ 55 mph
32 miles @ 70 mph

GoLang + Python

Embedding Python in Go. Here’s a trivial example for embedding… | by Chris | Oct, 2020 | poweruser.blog

Python can get embedded as a shared library into programs written in other languages. Here’s a trivial example for executing Python code in a Golang program and exchanging data between the two runtimes.

python-go/py-bindings/outliers at master · christian-korneck/python-go

Python and Go : Part IV - Using Python in Memory

Sunday, October 11, 2020

Saturday, October 10, 2020

Tesla Mars flyby

 SpaceX's Starman-helmed Tesla flies by Mars

Python on Node.js

most generic, not most efficient...  simple
 
How to Run a Python script from Node.js | by Petros Koulianos | The Startup | Medium

const express = require('express')
const {spawn} = require('child_process');

const app = express()
const port = 3000
app.get('/', (req, res) => {
 
 var dataToSend;
 // spawn new child process to call the python script
 const python = spawn('python', ['script1.py']);
 // collect data from script
 python.stdout.on('data', function (data) {
  console.log('Pipe data from python script ...');
  dataToSend = data.toString();
 });
 // in close event we are sure that stream from child process is closed
 python.on('close', (code) => {
 console.log(`child process close all stdio with code ${code}`);
 // send data to browser
 res.send(dataToSend)
 });
 
})
app.listen(port, () => console.log(`Example app listening on port 
${port}!`))

more efficient, direct calls

Bridging Node.js and Python with PyNode to Predict Home Prices | The Coding Interface

PyNode instead fully bridges the two environments by utilizing both the Node.js and Python C / C++ API bindings to seamlessly interoperate from Node.js to Python and back. In this way JavaScript function parameters are converted to Python types during the call of specified Python functions all the while converting returned pure Python types to JavaScript types.... this is a significant improvement over streaming and parsing data as it comes back from Python via standard output affording a layer of type safety at the interface between the two languages.

Thursday, October 08, 2020

GitHub Master => Main

New GitHub Repositories Default to Main Branch

all newly created GitHub repositories will have a default branch of 'main' instead of 'master'. This change reflects a similar one from the upstream Git project which started the transition from using 'master' for their default branch name, allowing projects to customise what the default branch of a project is called. From the Software Freedom Conservancy announcement regarding Git and Branch Names earlier this year:

Wednesday, October 07, 2020

Dapr (k8s cloud tool), not Dapper (.net ORM)

Microsoft (marketing) has, as usual, challenges with naming things :)

And in this case explaining the purpose of the tool is not easy, either.

Essentially it is a "proxy API" for essential cloud services, running as a process or "sidecar", and exposing REST or gRPC API endpoints that can be used from variety of prog languages 
with help of SDK libraries.  

Dapr - portable, event-driven, serverless runtime.

"Dapr" stands for "Distributed Application Runtime" 

Dapper Dapper Tutorial | Dapper Tutorial and Documentation

Not that /dapr/ (ORM)

dapr/dapr: Dapr is a portable, event-driven, runtime for building distributed applications across cloud and  edge. @GitHub, using GoLang

docs/concepts at master · dapr/docs

Dapr overview


"Dapr injects a side-car (container or process) to each compute unit. The side-car interacts with event triggers and communicates with the compute unit via standard HTTP or gRPC protocols. This enables Dapr to support all existing and future programming languages without requiring you to import frameworks or libraries.

Dapr offers built-in state management, reliable messaging (at least once delivery), triggers and bindings through standard HTTP verbs or gRPC interfaces. This allows you to write stateless, stateful and actor-like services following the same programming paradigm. You can freely choose consistency model, threading model and message delivery patterns.

Dapr runs natively on Kubernetes, as a self hosted binary on your machine, on an IoT device, or as a container that can be injected into any system, in the cloud or on-premises."

podcast interview

Learning Dapr with Haishi Bai @ .NET Rocks! vNext





Saturday, October 03, 2020

Swift on Windows

 Swift.org - Introducing Swift on Windows

"Swift, a language most commonly associated with Apple and macOS or iOS development, has been heading to different places recently (such as server side development) and now Swift code can be built and run on Windows too."

monitor color calibration

How to calibrate your monitor - CNET

LCD monitor test images

Single-page version

How to calibrate your PC's monitor on Windows 10 | Windows Central

How to calibrate your monitor | Creative Bloq




Friday, October 02, 2020

Thursday, October 01, 2020