Sunday, January 31, 2021

AWS: Porting Assistant for .NET

to help moving (web) apps from Windows to Linux

Porting Assistant for .NET - Amazon Web Services

"Porting Assistant for .NET is an analysis tool that scans .NET Framework applications and generates a .NET Core compatibility assessment, helping you port your applications to Linux faster. Porting .NET Framework applications to .NET Core helps customers take advantage of the performance, cost savings, and robust ecosystem of Linux. However, porting applications to .NET Core can be a significant manual effort..."

SSD: Samsung 870 Evo

 Samsung’s new 870 Evo SSD brings faster speeds, lower prices - The Verge

The 870 Evo will be available in 250GB for $49.99, 500GB for $79.99, 1TB for $139.99, 2TB for $269.99, and 4TB for $529.99.

Those numbers go to show just how much prices have dropped in the two years since the 860 was released: in 2018, the 250GB model started at $94.99 and the 4TB model cost $1,399.99 (although, obviously, they go for much cheaper in 2021).

Saturday, January 30, 2021

faster TypeScript

Episode #83: Serverless and TypeScript with Tim Suchanek - Serverless Chats Podcast

an interesting podcast story about TypeScript used for “ORM” Prisma (usually GraphQL)

mentioned “project swc” that is using Rust for making faster TypeScript compiler (20x ?)
as well as using AssemblyScript (subset of TypeScript) and Rust for WASM on CDNs. 

swc-project/swc: swc is a super-fast compiler written in rust; producing widely-supported javascript from modern standards and typescript.

He also mentioned “IOTS” a newer/better way for data validation based on TypeScript during runtime, better than “yup” by skipping for multiple formats of validation metadata.   

Typescript Runtime Validation With io-ts | by Sebastian Walther | The Startup | Medium

gcanti/io-ts: Runtime type system for IO decoding/encoding

Also mentioned “project esbuild”, an alternative for Babel written in Go, apparently 100x faster than JavaScript.

Twitter: @TimSuchanek
LinkedIn: linkedin.com/in/tim-suchanek-08219346
Prisma: https://www.prisma.io/
Prisma Client: https://v1.prisma.io/docs/1.34/prisma-client/
GitHub: https://github.com/prisma
"Generics, Conditional types and Mapped types": https://www.youtube.com/watch?v=PJjeHzvi_VQGitHub: https://github.com/prisma"A Practical Introduction to Database Migrations": https://www.youtube.com/watch?v=xfaps6hgFvI
"How Prisma Solves the N+1 Problem in GraphQL Resolvers": https://www.youtube.com/watch?v=7oMfBGEdwsc
Watch this episode on YouTube: https://youtu.be/Cci65o4IxaU

Thursday, January 28, 2021

EVs 2021: Sony, Apple ?

Sandy Munro on Tesla Alternatives in 2021 - YouTube


Tesla's Competition Adds a Surprising New Name | EV News - YouTube


Sony begins testing its electric car concept on public roads

Sony has, however, worked with some significant players on the project. These include vehicle manufacturer Magna Steyr.

Indeed, in another video published by Sony on Monday, Frank Klein, the president of Magna Steyr, described the Vision-S as “just the starting point of our joint cooperation.”


"Magna Steyr AG & Co KG is an automobile manufacturer based in Graz, Austria, where its primary manufacturing plant is also located. It is a subsidiary of Canadian-based Magna International and was previously part of the Steyr-Daimler-Puch conglomerate.

Magna Steyr engineers, develops and assembles automobiles for other companies on a contractual basis; therefore, Magna Steyr is not an automobile marque. In 2002, the company absorbed Daimler AG's Eurostar vehicle assembly facility. With an annual production capacity of approximately 200,000 vehicles as of 2018,[1] it is the largest contract manufacturer for automobiles worldwide.[2] The company has several manufacturing sites, with its main car production in Graz in Austria."





Hyundai and Apple will reportedly sign an electric car deal by March | Engadget


Hyundai, Apple: Electric Car Agreement By March | PYMNTS.com

Hyundai Motor and Apple are set to make a new agreement on electric cars by March, Reuters writes, citing local newspaper Korea IT News.

The companies will likely start production by 2024.

The report follows a statement from last week where Hyundai Motor said it was in early talks with Apple, after a local media outlet had reported that the two were aiming at 2027 for a launch of the car.

That announcement sent Hyundai shares up 20 percent.




EV: VW sales numbers

 Volkswagen and Audi are starting to challenge Tesla - CNN

"Volkswagen (VLKAF) sold 231,600 battery electric vehicles in 2020, according to figures published by the company on Wednesday. While that's still less than half the number of sales Tesla (TSLA) made, it represents an increase of 214% on the previous year

ID.3, which sold 56,500 units. Sales of the compact e-Golf and even smaller e-up! were 41,300 and 22,200, respectively. Audi, the group's luxury brand, sold 47,300 e-tron SUV and sportback models, while customers purchased 20,000 electric Porsche Taycans.

BMW (BMWYY) sold 44,530 battery electric vehicles in 2020, a 13% increase over the previous year, and over 148,000 plug-in hybrids. Daimler's (DMLRY) Mercedes-Benz sold more than 160,000 plug-in hybrids and pure electric vehicles last year."

Tuesday, January 26, 2021

GitOps: DevOps for IaaC

Guide To GitOps

GitOps | GitOps is Continuous Deployment for cloud native applications

what-is-gitops-2.png

GitOps is a way to do Kubernetes cluster management and application delivery. It works by using Git as a single source of truth for declarative infrastructure and applications. With GitOps, the use of software agents can alert on any divergence between Git with what's running in a cluster, and if there's a difference, Kubernetes reconcilers automatically update or rollback the cluster depending on the case. With Git at the center of your delivery pipelines, developers use familiar tools to make pull requests to accelerate and simplify both application deployments and operations tasks to Kubernetes.


Monday, January 25, 2021

online event: Worldwide Software Architecture Summit

Worldwide Software Architecture Summit

JANUARY 26-27. DURATION: 10:00-17:00

"The art of Architecture is all about functionality, beauty and robustness.

But while designing 2022+ Software Architecture you must focus on Cloud Efficiency metrics first: performance, sustainability, vulnerability, observability, costs, time, maintainability...

In fact, your expertise as a Software Architect is measured by how your products meet those metrics.

It’s not just our projects, but also us, that are measured by these criteria and how well we’ve mastered these approaches."




Sunday, January 24, 2021

JavaScript: "Stimulus" Framework

Stimulus, the "JavaScript Framework for the HTML You Already Have", Releases 2.0

Stimulus inspired Catalyst, GitHub’s web component set of patterns.

Stimulus is a JavaScript framework with modest ambitions. It doesn’t seek to take over your entire front-end—in fact, it’s not concerned with rendering HTML at all. Instead, it’s designed to augment your HTML with just enough behavior to make it shine.

Stimulus’ concept of controller will be familiar to users of Rails and Laravel. Stimulus originates from some of the developers who created Rails. Direct DOM updates and using DOM state as the source of truth will equally be familiar to long-time programmers who started web development with jQuery and jQuery plugins. The Basecamp team behind Stimulus reported using in the past a variety of techniques and libraries such as jQuery for building Basecamp.
<!--HTML from anywhere-->
<div data-controller="hello">
  <input data-hello-target="name" type="text">

  <button data-action="click->hello#greet">
    Greet
  </button>

  <span data-hello-target="output">
  </span>
</div>

That HTML source is mapped to the following JavaScript code:

// hello_controller.js
import { Controller } from "stimulus"

export default class extends Controller {
  static targets = [ "name", "output" ]

  greet() {
    this.outputTarget.textContent =
      `Hello, ${this.nameTarget.value}!`
  }
}

Brian Kernighan interviews Ken Thompson

 VCF East 2019 -- Brian Kernighan interviews Ken Thompson - YouTube

Friday, January 22, 2021

js lib: puppeteer = Chrome from Node

 puppeteer - npm

Puppeteer is a Node library which provides a high-level API to control Chrome or Chromium over the DevTools Protocol. Puppeteer runs headless by default, but can be configured to run full (non-headless) Chrome or Chromium.

Most things that you can do manually in the browser can be done using Puppeteer! Here are a few examples to get you started:
  • Generate screenshots and PDFs of pages.
  • Crawl a SPA (Single-Page Application) and generate pre-rendered content (i.e. "SSR" (Server-Side Rendering)).
  • Automate form submission, UI testing, keyboard input, etc.
  • Create an up-to-date, automated testing environment. Run your tests directly in the latest version of Chrome using the latest JavaScript and browser features.

Thursday, January 21, 2021

AWS Open Source fork of Elasticsearch & Kibana

Stepping up for a truly open source Elasticsearch | AWS Open Source Blog

"Last week, Elastic announced they will change their software licensing strategy, and will not release new versions of Elasticsearch and Kibana under the Apache License, Version 2.0 (ALv2). Instead, new versions of the software will be offered under the Elastic License (which limits how it can be used) or the Server Side Public License (which has requirements that make it unacceptable to many in the open source community). This means that Elasticsearch and Kibana will no longer be open source software. In order to ensure open source versions of both packages remain available and well supported, including in our own offerings, we are announcing today that AWS will step up to create and maintain a ALv2-licensed fork of open source Elasticsearch and Kibana."


Elastic’s side of the story:

Postgres JSONB functions

PostgreSQL has excellent support for "native" JSON storage, almost as a document db, 
while SQL extension syntax is custom, so it takes come time to get used to.

PostgreSQL: Documentation: 9.5: JSON Functions and Operators

How to update objects inside JSONB arrays with PostgreSQL

Wednesday, January 20, 2021

MDX Format: .MD + .JSX

 MDX Format

MDX is the syntax Storybook Docs uses to capture long-form Markdown documentation and stories in one file. You can also write pure documentation pages in MDX and add them to Storybook alongside your stories. Read the announcement to learn more about how and why it came to be.


MDX

MDX is an authorable format that lets you seamlessly write JSX in your Markdown documents. You can import components, such as interactive charts or alerts, and embed them within your content. 

MDX Preview - Visual Studio Marketplace

VSCode MDX - Visual Studio Marketplace

Sunday, January 17, 2021

AWS Location Service Preview

AWS Introduces Location Service in Preview

In one of the latest announcements of re:Invent 2020, AWS introduced the preview of Amazon Location, a new mapping service for developers to add location-based features like geofencing and built-in tracking to web-based and mobile applications.


Friday, January 15, 2021

Docker Desktop 3.0.0

 Docker Desktop 3.0.0: Smaller, Faster Releases - Docker Blog

Until now, Docker only provided complete installers, which meant that each update required downloading a file of several hundred MB. But from now on we will be providing all updates as deltas from the previous version, which will typically be only tens of MB per release.

Thursday, January 14, 2021

Samsung's AI robots at CES 2021

 Samsung's CES 2021 keynote in under 9 minutes - YouTube


Windows WSL + Linux GUI Apps

 Running WSL GUI Apps on Windows 10 - Microsoft Tech Community

Here is how to run Linux GUI (Graphical User Interface) applications on Windows Desktop platform with WSL, without running OS virtual machine. 

similar, while different: running app in container, using web GUI

jlesage/handbrake - Docker Hub

The GUI of the application is accessed through a modern web browser (no installation or configuration needed on the client side) or via any VNC client.

A fully automated mode is also available: drop files into a watch folder and let HandBrake process them without any user interaction

Wednesday, January 13, 2021

Tuesday, January 12, 2021

online learning "unicorns"

online education | TechCrunch

Online learning marketplace Udemy is raising up to $100M at a $3.32B valuation

Online learning marketplace Udemy raises $50M at a $2B valuation from Japanese publisher Benesse | TechCrunch

Udemy, which provides a marketplace offering some 150,000 different online learning courses from business analytics to ukulele lessons, has picked up $50 million from a single investor, Benesse Holdings, the Japan-based educational publisher that has been Udemy’s partner in the country. The investment was made at a $2 billion pre-money valuation, it said.

Udemy works with companies like Adidas, General Mills, Toyota, Wipro, Pinterest and Lyft and others — 5,000 in all — to develop and administer subscription-based professional development courses.

Among those that compete at least in part with it, Coursera last year announced a $103 million round of funding at a $1 billion+ valuation 

in Asia, Byju’s in India is now valued at $8 billion after a quick succession of large growth rounds. We’ve also heard that Age of Learning, which quietly raised at a $1 billion valuation in 2016, is also gearing up for another round.

Unlike Coursera and others that aim for full degrees that are potentially aiming to disrupt higher education, Udemy focuses on short courses, either simply for the student’s own interest, or potentially for certifications from organizations that either help administer the courses or “own” the subject in question.
 



Sunday, January 10, 2021

TSDX: TypeScript + Rollup + Jest CLI

 Introduction – TSDX

Despite all the recent hype, setting up a new TypeScript (x React) library can be tough. Between Rollup, Jest, tsconfig, Yarn resolutions, TSLint, and getting VSCode to play nicely....there is just a whole lot of stuff to do (and things to screw up).

TSDX is a zero-config CLI that helps you develop, test, and publish modern TypeScript packages with ease--so you can focus on your awesome new library and not waste another afternoon on the configuration.


Saturday, January 09, 2021

"Computing Clouds"

 AWS Analyst Reports

more than AWS vs Azure, how is GCP getting close, and Alibaba and Oracle > IBM ?

what kind of measure is this, linear or logarithmic, and is it based on any data or just oppinions?

Friday, January 08, 2021

AsyncAPI, with Postman

AsyncAPI Joins Forces with Postman to Define the Future of APIs

Shortly after the OpenAPI Specification—the leading standard for describing HTTP request and response APIs—was put into the Linux Foundation in 2015, AsyncAPI was created to describe TCP, MQTT, AMQP, and next-generation APIs that don’t use HTTP. AsyncAPI is a “sister” specification to OpenAPI: it uses the same base syntax to describe information for an API and adopt JSON schema for modeling the objects published and subscribed.


Open source tools to easily build and maintain your event-driven architecture. All powered by the AsyncAPI specification, the industry standard for defining asynchronous APIs.

Saturday, January 02, 2021

2021 Predictions by Elon Musk

 Elon Musk Most Shocking 2021 Predictions - And Tesla Share Price Prediction - YouTube


semantic web, schema.org, "Solid"

 The semantic future of the web - Stack Overflow Blog

Berners-Lee has been working on Solid as a method to allow users greater control over their own data, building upon key concepts of a Semantic Web.

Schema.org - Schema.org

"Schema.org is a collaborative, community activity with a mission to create, maintain, and promote schemas for structured data on the Internet, on web pages, in email messages, and beyond.

Schema.org vocabulary can be used with many different encodings, including RDFa, Microdata and JSON-LD. These vocabularies cover entities, relationships between entities and actions, and can easily be extended through a well-documented extension model. Over 10 million sites use Schema.org to markup their web pages and email messages. Many applications from Google, Microsoft, Pinterest, Yandex and others already use these vocabularies to power rich, extensible experiences."


"Solid lets people store their data securely in decentralized data stores called Pods. Pods are like secure personal web servers for data. All data in a pod is accessible via the Solid Protocol. When data is stored in someone's pod, they control who and what can access it.

Solid is led by the inventor of the Web, Sir Tim Berners-Lee, to help realise his vision for its future."





"The Semantic Web is a machine for creating syllogisms. A syllogism is a form of logic,

The canonical syllogism is:
  • Humans are mortal
  • Greeks are human
  • Therefore, Greeks are mortal
Despite their appealing simplicity, syllogisms don't work well in the real world, because most of the data we use is not amenable to such effortless recombination. As a result, the Semantic Web will not be very useful either."

Friday, January 01, 2021

SQLite As An Application File Format

 SQLite As An Application File Format

"An SQLite database file with a defined schema often makes an excellent application file format. Here are a dozen reasons why this is so:

  1. Simplified Application Development
  2. Single-File Documents
  3. High-Level Query Language
  4. Accessible Content
  5. Cross-Platform
  6. Atomic Transactions
  7. Incremental And Continuous Updates
  8. Easily Extensible
  9. Performance
  10. Concurrent Use By Multiple Processes
  11. Multiple Programming Languages
  12. Better Applications

Each of these points will be described in more detail below, after first considering more closely the meaning of "application file format". "

Episode #212 SQLite as a file format (like docx) - [Python Bytes Podcast]