Sunday, February 28, 2021

simple web chess

 Cheap AI Chess! @codepen

EVs 2021

Top 10 NEW Electric Vehicles in 2021 - YouTube

0:47 Chevy Bolt & Bolt EUV 2:34 Nissan Ariya 4:12 VW ID4 5:57 Ford Mustang Mach-E 7:32 Hyundai Ioniq 5 10:07 Kia CV/EV5 11:46 Tesla Cybertruck 13:18 Rivian R1T & R1S 14:51 Tesla Model S Plaid+ 16:29 Lucid Air

New Tesla Model 2 = Game OVER for Gas - YouTube

Saturday, February 27, 2021

Passive House Design

 Exploring Passive House Design - 90% Energy Savings! - YouTube

Passive house - Wikipedia

The Principles: Passive House Institute U.S.

Passipedia - The Passive House Resource [ ]

Data: MovieLens

MovieLens | GroupLens

MovieLens 25M movie ratings. Stable benchmark dataset. 25 million ratings and one million tag applications applied to 62,000 movies by 162,000 users. Includes tag genome data with 15 million relevance scores across 1,129 tags. Released 12/2019


Non-commercial, personalized movie recommendations.

Friday, February 26, 2021

AWS EC2 T3 vs T2

New T3 Instances – Burstable, Cost-Effective Performance | AWS News Blog

Amazon EC2 T3 Instances: When to Select Them for Your Workloads | Densify

AWS EC2 T3 instances offer a balance of compute, memory, and network resources, and are designed to provide a baseline level of CPU performance with the ability to burst above that baseline when needed.

T3 instances are unlimited by default, meaning that, while they won’t be throttled, they can rack up additional costs if you run CPU-hungry workloads.

T3 instances are powered by the Nitro system which means that they support network and EBS bursting. 

Cost Comparison of T3 vs T2, M5, & R5 Instances
Should You Use T3 for Your Workloads?
Let’s compare EC2 instance types with 16GB RAM:
InstancevCPUsECUBaseline Performance per 1 vCPUMemoryPrice/Hour (Linux)Price/Hour (Windows)
t3.xlarge4Variable40%16 GiB$0.166$0.24
t2.xlarge4Variable22.5%16 GiB$0.186$0.227
m5.xlarge416n/a16 GiB$0.192$0.376
r5.large28n/a16 GiB$0.126$0.218

Thursday, February 25, 2021

Wednesday, February 24, 2021

IBM Cloud Serverless

"cloud as a supercomputer (mainframe)" 

Episode #85: Serverless at IBM with Michael Behrendt - Serverless Chats Podcast

IBM Cloud Code Engine:

IBM Cloud Functions Tutorial:

IBM Cloud Free Tier:

Can I run my apps for free?
Yes. With a Lite account, you get 256 MB of free runtime memory per month for your Cloud Foundry apps. You can also build and deploy with any Lite plan service at no cost, ever.

Monday, February 22, 2021

RISC-V: Open Source GPU

 Free Open Source GPU Under Development for RISC-V | Tom's Hardware

The RISC-V architecture enables small companies to develop purpose-built processors and microcontrollers without paying a royalty. There are numerous free and commercial IP building blocks for RISC-V-based system-on-chips (SoCs), but the portfolio lacks a graphics option. This will change in a few years as a group of enthusiasts has started developing an open-source GPU based on the RISC-V architecture.


Sunday, February 21, 2021

DPU: Data Processing Unit, NVIDIA DOCA

First used to be "Floating Point Unit" coprocessor (Intel 287), then GPU (Graphics Processing Unit), 

and now NVidia comes with "Data Processing Unit" to help network communication in cloud / data centers. And similar to previous solution for Machine Learning SDK (NVIDIA CUDA), 
for "DPU"s they have now developed "DOCA SDK". This could be part of the reason for very expensive purchase of ARM company. 

Amazon / AWS has also developed similar specialized solution for AWS EC2 compute instances
called "Nitro", that offloads network, security and management to a separate board, feeing full CPU and GPU power for user tasks. 

What Is a DPU? | NVIDIA Blog

Specialists in moving data in data centers, DPUs, or data processing units, are a new class of programmable processor and will join CPUs and GPUs as one of the three pillars of computing.

What's a DPU?

System on a chip that combines:

  • Industry-standard, high-performance, software-programmable multi-core CPU
  • High-performance network interface
  • Flexible and programmable acceleration engines

very useful description in this podcast interview:

The Cloudcast: The New Economics of Cloud Infrastructure

Intel better come with some relevant innovation soon... 

GCP: Cloud Run + Eventarc + Cloud Workflows

Google Releases Eventarc into General Availability

Eventarc is an eventing functionality available on the Google Cloud Platform (GCP), allowing customers to send events to Cloud Run from more than 60 Google Cloud sources. In a recent blog post, the company announced the general availability (GA) of Eventarc.

Google Cloud Workflows Now Generally Available

Google has recently announced that Google Cloud Workflows, the service to orchestrate Google Cloud and HTTP-based API services with serverless workflows, is now generally available. Workflows Connectors are now in public preview.

Saturday, February 20, 2021

OpenLayers: open source maps

 OpenLayers - Welcome

OpenLayers makes it easy to put a dynamic map in any web page. It can display map tiles, vector data and markers loaded from any source. OpenLayers has been developed to further the use of geographic information of all kinds. It is completely free, Open Source JavaScript, released under the 2-clause BSD License (also known as the FreeBSD).

Tesla Solar Roof vs snow

 Watch how Tesla Solar Roof automatically makes snow slide right off - Electrek

A new video shows how Tesla Solar Roof automatically makes snow slide right off it to be able to keep producing electricity.

Thursday, February 18, 2021

Tesla Model S & X redesign

 Tesla says the new Model S is the world's most aerodynamic production car

"There's a lot of new stuff to talk about when it comes to the Tesla Model S, which today received its most major update since it was first unveiled in 2012. It's got a completely new interior with a crazy steering wheel, lots of updated tech and a Plaid Plus model that promises over 520 miles of range. But buried in the deluge of info is a new superlative that Tesla is claiming: The updated Model S is the most aerodynamic production car in the world, with a drag coefficient of just 0.208."

Refreshed Tesla Model S has a Knight Rider steering wheel - Roadshowtesla-model-s-refresh-210

The New Tesla Model S Is Crazy In So Many Ways

Tesla Cybertruck’s design is finalized, confirms Elon Musk

Tesla's steering 'yoke' is perfect for the next-gen Roadster's ICE-killing functions


Tesla's new steering yoke appears to be analogous to an airplane steering yoke. But an airplane's yoke does not only control roll, but also pitch. Indeed, there's the potential for *five* extra axes (up-down, left-right, front-back, & two extra roll axes)

Mars: Perseverance Rover Landing

 Watch Online: Mars Landing - NASA Mars

Jezero Crater - Perseverance Landing Site - NASA Mars

Image of the Perseverance Rover

Everything You Need to Know About NASA's Perseverance Rover Landing on Mars - IEEE Spectrum

NASA's Perseverance rover tweets 1st photo of Mars - YouTube

Perseverance Rover’s Descent and Touchdown on Mars (Official NASA Video) - YouTube

The Insane Engineering of the Perseverance Rover - YouTube

Tuesday, February 16, 2021

Fastestst ICE car? BMW M5 2022 vs EVs

BMW’s 627 HP 2022 M5 CS Will Be the Marque’s Fastest Production Car – Robb Report

2022 BMW M5 CS - Quickest and Most Powerful Ever? - The Truth About Cars

BMW has proclaimed the 2022 M5 CS Sedan, with 627 horsepower and 553 lb-ft of torque, to be the quickest and most powerful BMW production vehicle ever produced, with a claimed 0-60 time of 2.9 seconds and a top speed of 190 MPH. It will arrive in the U.S. in the second half of 2021.


Tesla Model S - Wikipedia

The Model S P85D, a dual-motor all-wheel-drive vehicle has a governed top speed of 155 mph (249 km/h)[99] and it accelerates from 0 to 60 miles per hour (0 to 97 km/h) in 3.2 seconds (tested to 3.1 seconds), under "Insane Mode", with 1g of acceleration.[99][100] New P85Ds have an optional "Ludicrous Mode" hardware package available with the 90 kWh battery upgrade (thus becoming a P90D) that improves the 0 to 60 miles per hour (0 to 97 km/h) acceleration to 2.8 seconds and 1.1g

According to AutoTop NL, the car boasts 761 horsepower (1,050 NM) and can complete a zero-to-100-kph sprint in just 2.8 seconds. For people on our shores, the Taycan Turbo S will take you from zero to 60 mph in 2.6 seconds. It has a top speed of 260 km/h (162 mph). It joins the Tesla Model S as one of the quickest production cars ever made.

Monday, February 15, 2021

GCP CloudRun: WebSockets, HTTP-2 and gRPC

 Cloud Run gets WebSockets, HTTP-2 and gRPC bidirectional streams | Google Cloud Blog

"new traffic serving capabilities for Cloud Run: end-to-end HTTP/2 connections, WebSockets support, and gRPC bidirectional streaming, completing the types of RPCs that are offered by gRPC. With these capabilities, you can deploy new kinds of applications to Cloud Run that were not previously supported, while taking advantage of serverless infrastructure. These features are now available in public preview for all Cloud Run locations."

"Lambda has supported runtimes for multiple languages such as JavaScript (Node.js), Java, Python, and Go and supports custom runtimes as well, whereas Cloud Run uses standard OCI images (commonly known as Docker images). Existing applications that are stateless and containerized should be deployable to Cloud Run as is."

Sunday, February 14, 2021

.net 5 overview

 A Brief Walk Through .Net Ecosystem | Milan Milanović

GoLang += generics

Golang Weekly Issue 349: February 12, 2021

The Generics Proposal is Now Really, Truly Accepted — Last week it was a ‘likely accept’ but now you can breathe easy.. all they have to do is the hard work of finishing the implementation(!) What can we move on to demanding of Go next? 


Friday, February 12, 2021

SQLite in Web browsers

Playing around with Chrome's history

Turns out that all browsers, Firefox, Chrome and Safari all keep their histories in a sqlite database. It's an embedded database system that is often found in apps. So this means that you can use any sqlite database viewer to open those files and inspect them.

DB Browser for SQLite

View Web SQL Data With Chrome DevTools  |  Google Developers

Using the Web SQL Console to delete a row from a table.

Web SQL Database - Wikipedia

HTML5 - Web SQL Database - Tutorialspoint

Web SQL Database will work in latest version of Safari, Chrome and Opera.

Wednesday, February 10, 2021

Google Apps Script

JavaScript for Google "apps" (Docs, Sheets, Slides... )

 Apps Script  |  Google Developers

Increase the power of your favorite Google apps — like Calendar, Docs, Drive, Gmail, Sheets, and Slides. Apps Script lets you do more with Google, all on a modern JavaScript platform in the cloud. Build solutions to boost your collaboration and productivity.

Google Apps Script Complete Course Beginner to Advanced @Udemy

competition: Microsoft Office

Microsoft's New Programming Language for Excel Now Turing Complete -- Visual Studio Magazine

Microsoft, which calls its Excel spreadsheet a programming language, reports that an effort called LAMBDA to make it even more of a programming language is paying off, recently being deemed Turing complete.

Tuesday, February 09, 2021

Self-Driving: Waymo vs Tesla?

Waymo CEO dismisses Tesla self-driving plan: “This is not how it works” | Ars Technica

"For us, Tesla is not a competitor at all," Krafcik said. "We manufacture a completely autonomous driving system. Tesla is an automaker that is developing a really good driver assistance system."

For Musk, these two technologies exist along a continuum. His plan is to gradually make Tesla's Autopilot software better until it's good enough to work with no human supervision. But Krafcik argues that's not realistic.

"It is a misconception that you can just keep developing a driver assistance system until one day you can magically leap to a fully autonomous driving system," Krafcik said. "In terms of robustness and accuracy, for example, our sensors are orders of magnitude better than what we see on the road from other manufacturers."

Friday, February 05, 2021

Raspberry Pi Pico: $4

 The Raspberry Pi Pico is a tiny $4 microcontroller running off the company’s very own chip - The Verge

New Raspberry Pico Micro-Controller Brings Versatility and Small Size Factor

The Raspberry Pi Foundation recently released the Raspberry Pi Pico, a small (21mm x 51mm), inexpensive ($4) micro-controller board based on a custom-designed RP2040 chip. The Pico can be programmed in C and MicroPython via USB. The RP2040 has two ARM cores clocking at 133MHz, 264KB internal SRAM, and 2MB QSPI Flash to connect external memories. The Pico enables a large range of applications by providing a wide range of flexible I/O options (I2C, SPI, PWM, 8 Programmable I/O state machines for custom peripheral support).

Wednesday, February 03, 2021

Cloud profit?

Google Cloud lost $5.61 billion on $13.06 billion revenue last year

Amazon beats top and bottom line in Q4, company books $100B in revenue for first time - YouTube

Google Cloud vs. AWS: Two vastly different profit pictures | ZDNet

"Google Cloud, which includes platform, infrastructure, and Workspace, delivered an operating loss of $1.24 billion on revenue of $3.83 billion, up from $2.61 billion a year ago. In 2020, Google Cloud's operating loss was $5.61 billion."

OpenLayers - free maps

 OpenLayers - Quick Start

OpenLayers - Welcome

OpenLayers makes it easy to put a dynamic map in any web page. It can display map tiles, vector data and markers loaded from any source. OpenLayers has been developed to further the use of geographic information of all kinds. It is completely free, Open Source JavaScript, released under the 2-clause BSD License (also known as the FreeBSD).

Tuesday, February 02, 2021

Elon Musk talk with Sandy Munro

Elon Musk Interview: 1-on-1 with Sandy Munro - YouTube

Elon Musk Interviewed by Sandy Munro, New Tesla Semi Photos, Tesla EU Battery Funding - YouTube

Elon Musk Tells Sandy Munro About Some Of Tesla's Production Flaws

In Epically Nerdy Interview, Elon Musk Discusses Build Quality Problems With Engineer Who Compared Model 3 To 'A Kia In The '90s'

AWS CEO -> Amazon CEO

Jeff Bezos to step down as Amazon CEO, Andy Jassy to take over in Q3

"Amazon CEO Jeff Bezos will leave his post later this year, turning the helm over to the company’s top cloud executive Andy Jassy.

Shares of Amazon were up about 1% in extended trading Tuesday on the back of the earnings report and the C-suite news. The company’s stock has gained about 4% so far in 2021 and is up nearly 70% in the last 12 months."

"Keep inventing, and don’t despair when at first the idea looks crazy. Remember to wander. Let curiosity be your compass. It remains Day 1.

Robinhood CEO interview by Elon Musk

Robinhood CEO GRILLED by Elon Musk Over Gamestop Controversy (Full ClubHouse Interview) - YouTube