Saturday, November 30, 2019

Dart 2 Native

Dart 2.6 Goes Native on Linux, Windows, and MacOS

The latest version of Google programming language Dart, numbered 2.6, extends support for native, ahead-of-time (AOT) compilation with the addition of dart2native, which enables the creation of command-line programs on Linux, Windows, and MacOS.
Importantly, dart2native generates self-contained binaries, meaning they do not require the Dart SDK to run. 

Friday, November 29, 2019

Programming languages used at Google

The coding languages that will get you a job at Google. And the coding languages that won't | eFinancialCareers

based on advertised job at Google

LanguageJobs currently advertisedExisting employees

free ebook: Software Architecture Patterns

O'Reilly - Software Architecture Patterns

cover for: Software Architecture Patterns

Tuesday, November 26, 2019

Declarative UI: SwiftUI, Jetpack Compose, Flutter

Declarative UI in the middle of a Whirlwind - Bram Yeh - Medium

Introduction to declarative UI - Flutter

View B (contained by view A) morphs from containing two views, c1 and c2, to containing only view c3

// Imperative style
ViewC c3 = new ViewC(...)
// Declarative style
return ViewB(
  color: red,
  child: ViewC(...),

Jetpack Compose  |  Android Developers

Xcode - SwiftUI - Apple Developer

SwiftUI vs. Jetpack Compose - QuickBird Studios Blog

Microsoft Outlook PWA (Progressive Web App)

Microsoft has turned Outlook into a Progressive Web App - The Verge

Microsoft Edge is Getting New PWA Features on Windows 10 -

Outlook on the Web is Becoming a PWA -

Microsoft is turning Progressive Web Apps into Windows apps - The Verge

Get started with Project Web App - Project Online

startups: How not to die by Paul Graham

Advice to startups from Ycombinator founder, one of most successful startup incubators.

How Not to Die

"If you can just avoid dying, you get rich. That sounds like a joke, but it's actually a pretty good description of what happens in a typical startup."

this is also relevant to open source projects, as mentioned in this podcast

The Changelog #363: Nushell for the GitHub era featuring Jonathan Turner, AndrΓ©s N. Robalino & Yehuda Katz |> News and podcasts for developers |> Changelog

unrelated (quite good) book
How Not to Die: Discover the Foods Scientifically Proven to Prevent and Reverse Disease: Michael Greger M.D. FACLM, Gene Stone: 9781250066114: Books

Monday, November 25, 2019

Saturday, November 23, 2019

Tesla's Gigafactory 4 in Germany

Tesla's Gigafactory 4 Is One Of Elon Musk's Smartest Moves - Tesla, Inc. (NASDAQ:TSLA) | Seeking Alpha

"The company plans on investing in a new electric car factory near Berlin. The factory is expected to go into operation at the end of 2021 and will initially build the future Model Y compact off-roader as well as batteries and drives. Elon Musk had also announced that an engineering and design centre would be located in Berlin."

Tesla Gigafactory 3 - Electrek

Tesla has finally obtained its manufacturing license to start production at Gigafactory 3 in Shanghai — indicating that production is imminent at the new factory.

Tesla is planning a massive service, sales, and charging infrastructure expansion in China ahead of the expected increase in vehicle sales due to volume production at Gigafactory 3.

"The Tesla Gigafactory 2 is a photovoltaic (PV) cell factory leased by Tesla subsidiary SolarCity in Buffalo, New York. The factory, owned by the State of New York, was built on brownfield land remediated from a former steel mill. Construction of the factory started in 2014 and was completed in 2016–17."

CPython Source Code Guide

Your Guide to the CPython Source Code – Real Python

Your Guide to the CPython Source Code

Episode #154 Code, frozen in carbon, on display for all - [Python Bytes Podcast]

Episode #240 A guided tour of the CPython source code - [Talk Python To Me Podcast]

Friday, November 22, 2019

Elon Musk: Neuralink, AI, Autopilot, and the Pale Blue Dot

Elon Musk: Neuralink, AI, Autopilot, and the Pale Blue Dot | MIT | Artificial Intelligence Podcast


Elon Musk: 34:18
Earth as a small blue dot in a fuzzy beam of light."Channeling Carl Sagan. Look again at that dot that's here. That's home. That's us. On it, everyone you love, everyone you know, everyone you've ever heard of, every human being who ever was lived out their lives. The aggregate of our joy and suffering. Thousands of confident religions, ideologies and economic doctrines. Every hunter and forager, every hero and coward, every creator and destroyer of civilization, every King and peasant, every young couple in love, every mother and father, hopeful child, inventor and explorer. Every teacher of morals, every corrupt politician, every superstar, every supreme leader, every Saint and sinner in the history of our species lived there. Automotive dust suspended in a sun beam.

Our planet is a lonely speck in the great enveloping cosmic dark. In our obscurity, in all those vastness, there is no hint that help will come from elsewhere to save us from ourselves. The earth is the only world known so far to harbor life. There was nowhere else, at least in the near future to which our species could migrate."

Voyager 1's Pale Blue Dot | NASA Solar System Exploration

Pale Blue Dot | EEGYM – A Service of Thomas M. Brod, MD

Elon Musk: Neuralink, AI, Autopilot, and the Pale Blue Dot | Artificial Intelligence (AI) Podcast - YouTube


Watch Elon Musk’s Neuralink presentation - YouTube

Neuralink Launch Event - YouTube

Neuralink - Merging Brain and Machine - YouTube

WinUI 3.0 & .NET Native

WinUI 3.0 with Ryan Demopoulos @.NET Rocks! vNext

Tesla Cybertruck

some interesting ideas implemented, very controversial design: generational change?

Cybertruck | Tesla

Tesla Cybertruck: This Is It

Tesla unveils Cybertruck: electric pickup with range up to 500 miles, starting price of $39,900, & more - Electrek

A Physics Analysis of Tesla's Shattered Cybertruck Windows | WIRED

Everything that happened when Elon Musk unveiled the Cybertruck - Business Insider

Tesla smashes 'bulletproof' pickup truck's windows with a metal ball

Tesla’s Cybertruck can be preordered with a $100 deposit - The Verge

Tesla Cybertruck - Wikipedia

Tesla Cybertruck unveiled
Tesla unveils its first electric pickup, the Cybertruck, starting at $39,900

Tesla Cybertruck reservations hit 146,000 – TechCrunch
Musk tweeted Saturday that 146,000 Cybertruck orders have been made so far. Of those, 41% picked the most expensive tri-motor option and 42% of future customers chose the dual motor version. The remaining 17% picked the cheapest single-motor model.
Kelly Blue Book is owned by Cox, that invested in Ravian, a competitor maker of future electric trucks... Conflict of interest...

Tesla Cybertruck event in 5 minutes - YouTube

WATCH LIVE! Elon Musk presents the new Tesla Cybertruck Launch - YouTube

Up Close and Personal with the Crazy All-New Tesla CYBERTRUCK! - YouTube

Why cars are not made from stainless steel? It would be nice to have a car that won’t rust | Technology Org

Tesla (TSLA) stock down after electric pickup unveiling — market is missing the point - Electrek

"...Tesla figured out some significant cost improvements in both battery costs and manufacturing a vehicle with this new exoskeleton structure...
...Right now, the cheapest vehicle that Tesla is selling with a 100 kWh battery pack is the Model S Long Range, which costs $80,000.

The Cybertruck starts at half that price."

A few too many rounds: Tesla CyberTruck window shattering
"The leading theory is that the repeated launches of the steel ball against the window led to microfractures, which compromised the glass leading to its ultimate shattering on stage."

Elon Musk on Twitter: "Franz throws steel ball at Cybertruck window right before launch. Guess we have some improvements to make before production haha." / Twitter

Elon Musk explains why Tesla’s Cybertruck windows smashed during presentation - The Verge

Tuesday, November 19, 2019

High Performance Swift

High Performance Numeric Programming with Swift: Explorations and Reflections ·
by Jeremy Howard (, kaggle)

The Power of Swift for Machine Learning (TensorFlow Meets) - YouTube
with Chris Lattner (@clattner_llvm), the creator of Swift, about how Swift has grown beyond mobile development, and can now be used to train neural networks in TensorFlow.

Swift for TensorFlow

free web dev ebooks by flavio copes

My ebooks!

Saturday, November 16, 2019

WASM: Web Assembly, AssemblyScript book

Web Assembly (WASM) comes in two formats:
  • portable binary format, with file extension .wasm
  • text format, with file extension .wat
For most cases .wat is still quite low level, and there is option to use an "AssemblyScript",
an extended strongly typed subset of TypeScript, and compile that to .wasm directly.
The file extension of AssemblyScript is still .ts, same as TypeScript, and that may confuse IDEs.

Converting WebAssembly text format to wasm - WebAssembly | MDN

Introduction - The AssemblyScript Book

assemblyscript/examples at master · AssemblyScript/assemblyscript @GitHub

The simplest way to get started with WebAssembly - Benedek Gagyi - Medium

.WASM is also a compile target for many languages now.

  • Rust is quite popular choice since it produces safe, compact and efficient .wasm code, and has good tools for WebAssembly toolchain.
  • GoLang compiler provides .wasm compilation target also, while files are larger singe it includes runtime with its own GC
  • C-based languages that are using LLVM (C, C++, Swift) have compilation target for .wasm
  • .NET Core (C#) can be compiled to .wasm, by leveraging Mono compiler that is C/LLVM based. The runtime is included and relatively large, while tools are quite good. "Blazor" is leveraging ASP.NET C# templates for web apps.

Useful code examples:

JeremyLikness (Jeremy Likness) / Repositories (WASM) @GitHub

JeremyLikness/wasm-trees: An example of memory management/passing buffers between WebAssembly and JavaScript

JeremyLikness/PlasmaWasmGo: Implementation of Plasma effect in WebAssembly using Go

JeremyLikness/PlasmaWasmRust: Implementation of plasma effect using WebAssembly compiled from Rust.

JeremyLikness/blazor-wasm: Blazor and WebAssembly examples (part of a Blazor presentation)

Presentations and tutorials:

WebAssembly: Your Browser is the new OS - Jeremy Likness - YouTube

THAT Conference '19: WebAssembly: The Swiss Army Knife of Browser Apps | Pluralsight

WebAssembly for Web Developers (Google I/O ’19) - YouTube

Lin Clark: A Cartoon Intro to WebAssembly | JSConf EU 2017 - YouTube


WebAssembly/binaryen: Compiler infrastructure and toolchain library for WebAssembly
Compiler infrastructure and toolchain library for WebAssembly

has a simple 
C API in a single header, and can also be used from JavaScript. It accepts input in WebAssembly-like form but also accepts a general control flow graph for compilers that prefer that.

free ebook: Monolith to Microservices

Monolith to Microservices - NGINX

companion to Sam Newman’s book

Monday, November 11, 2019

SpaceX += 60 Starlink Satellites ( = $30B ?)

SpaceX Just Launched 60 Starlink Satellites (And Nailed a Milestone Rocket Landing) | Space

SpaceX’s Satellite Internet Service Could Warrant A $30 Billion Valuation

hybrid cloud: Azure Arc

Why Azure Arc Is A Game Changer For Microsoft

"With Azure Arc, Microsoft has expanded the support for ARM to resources running outside of Azure. This means, a physical server running in a data center looks like a compute resource in the eyes of the Fabric Controller. Even VMs running on top of VMware vSphere, Amazon EC2, and Google Compute Engine can be registered with the Azure Resource Manager. Any Windows or Linux server - even those running behind a firewall and proxy - can be registered with ARM. The external VMs run a similar software like the agent that runs inside Azure VMs."
Azure Arc | Microsoft Azure