Wednesday, August 17, 2022

AWS CloudFront CDN += HTTP/3

 New – HTTP/3 Support for Amazon CloudFront | AWS News Blog

... adding HTTP version 3.0 (HTTP/3) support for Amazon CloudFront. HTTP/3 uses QUIC, a user datagram protocol-based, stream-multiplexed, and secure transport protocol that combines and improves upon the capabilities of existing transmission control protocol (TCP), TLS, and HTTP/2. Now, you can enable HTTP/3 for end user connections in all new and existing CloudFront distributions on all edge locations worldwide, and there is no additional charge for using this feature.


DNA Data Storage: Entire Internet Into a Shoebox

Digital DNA Data Storage - Twist Bioscience

Squeezing the Entire Internet Into a Shoebox | What’s Your Problem?

scientists have figured out how to use DNA as a digital storage device that is stable and incredibly compact. If you stored all the data on the Internet in DNA, it would fit in a shoebox.

It’s still too expensive to work in the real world.


Sunday, August 14, 2022

AWS Fargate vs. App Runner

AWS App Runner – Fully managed container application service - Amazon Web Services

AWS App Runner is a fully managed service that makes it easy for developers to quickly deploy containerized web applications and APIs, at scale and with no prior infrastructure experience required. Start with your source code or a container image. App Runner builds and deploys the web application automatically, load balances traffic with encryption, scales to meet your traffic needs, and makes it easy for your services to communicate with other AWS services and applications that run in a private Amazon VPC. With App Runner, rather than thinking about servers or scaling, you have more time to focus on your applications.

 Fargate vs. App Runner | cloudonaut

to make the difference even more apparent. Here is a comparison of the AWS resources needed to host a web application with ECS + Fargate or App Runner.

ECS + FargateApp Runner
VPC
Subnets
Routing Table
Internet Gateway
Security Groups
Application Load Balancer
Target Group
Cluster
Task Definition
Service
Scaling Policy
App Runner Service

EV: Tesla Semi

The Staggering Economics of the Tesla Semi | Torque News

"The economics of the Tesla semi show that it is about 83% cheaper to drive and haul goods than a standard diesel truck. Not to mention the reduction in cost due to less maintenance. The Tesla semi will truly disrupt the trucking industry."





Friday, August 12, 2022

AI: Is Google LaMDA Sentient?

Episode #290 Sentient AI? If so, then what? - [Python Bytes Podcast]

Google engineer put on leave after saying AI chatbot has become sentient | Google | The Guardian

Is LaMDA Sentient? — an Interview | by Blake Lemoine | Jun, 2022 | Medium

Is Google's 'sentient' LaMDA AI interview fake? Eliza effect explained

LaMDA stands for Language Models for Dialogue Applications and is a system Google uses to develop chatbots that interact with human users. The program is trained by being “fed” dialogue sequences to help the AI create open-ended, non-repetitive dialogue that is factual and stays on topic.

Previous demos, like the one from Google’s 2021 I/O event, show LaMDA using language with uncanny elasticity and ease. At one point, it presents a number of facts about Pluto from a first-person perspective using words and structures that closely mimic human speech and emotion.


LaMDA, which stands for Language Model for Dialogue Applications, is a family of conversational neural language models developed by Google. The first generation was announced during the 2021 Google I/O keynote, while the second generation was announced at the following year's event. In June 2022, LaMDA gained widespread attention when Google engineer Blake Lemoine made claims that the chatbot had become sentient. The scientific community has largely rejected Lemoine's claims, though it has led to conversations about the efficacy of the Turing test, which measures whether a computer can pass for a human.


Wednesday, August 10, 2022

tool: Mininet: Virtual Network

 Mininet: An Instant Virtual Network on Your Laptop (or Other PC) - Mininet

Mininet creates a realistic virtual network, running real kernel, switch and application code, on a single machine (VM, cloud or native), in seconds, with a single command:

Tuesday, August 09, 2022

Raspberry Pi Pico: $4


Raspberry Pi Pico – Raspberry Pi

The powerful, flexible microcontroller board, available from $4

Raspberry Pi Pico is a tiny, fast, and versatile board built using RP2040, the flagship microcontroller chip designed by Raspberry Pi in the UK
The Raspberry Pi Pico is the latest in the Raspberry Pi series of single-board computers. Introduced in January of 2021, the Pico marks a significant change from the earlier series: instead of having a Broadcom system-on-chip, the Pico’s heart is a custom IC with a dual-core ARM Cortex-M0 processor at 133 MHz. Combined with its tiny form factor and lack of interfaces like HDMI, it feels more like a supercharged Arduino than a small PC.

Monday, August 08, 2022

101 basic computer games => modernized => in 10 languages!

Updating The Single Most Influential Book of the BASIC Era

 coding-horror/basic-computer-games: An updated version of the classic "Basic Computer Games" book, with well-written examples in a variety of common MEMORY SAFE, SCRIPTING programming languages. See https://coding-horror.github.io/basic-computer-games/ @GitHub

Each project has subfolders corresponding to the languages we’d like to see the games ported to. This is based on the 2022 TIOBE index of top languages that are memory safe and general purpose scripting languages per this post:

  1. C#
  2. Java
  3. JavaScript
  4. Kotlin
  5. Lua
  6. Perl
  7. Python
  8. Ruby
  9. Rust
  10. VB.NET

basic-computer-games/LICENSE at main · coding-horror/basic-computer-games

A license with no conditions whatsoever which dedicates works to the public domain. Unlicensed works, modifications, and larger works may be distributed under different terms and without source code.

GoLang is missing, as well as TypeScript, and Dart... 

I guess VB.NET is there just to keep compatibility back with original.






Sunday, August 07, 2022

KodeKloud: DevOps labs & courses online (with Udemy)

excellent classes and labs!

DevOps Online Training Courses | KodeKloud

{<ODE{<LOUD

Mumshad Mannambeth | Best Selling Instructor | Kubernetes Certified Partner | Udemy

Mumshad is an IT Solutions Architect and specializes in Cloud Native Computing, Automation and DevOps. He is the founder of KodeKloud - a hands-on learning platform and a Certified Kubernetes Training Partner.

DevOps Playground Environments | KodeKloud


Saturday, August 06, 2022

AI: DeepMind: AlphaFold for biology; physics

very informative podcast interview!

 #299 – Demis Hassabis: DeepMind | Lex Fridman Podcast

AlphaFold can accurately predict 3D models of protein structures and has the potential to accelerate research in every field of biology.

DeepMind’s Website: https://deepmind.com
Plasma control paper: https://nature.com/articles/s41586-021-04301-9
Quantum simulation paper: https://science.org/doi/10.1126/science.abj6511

Demis Hassabis - Wikipedia

Demis’s Twitter: https://twitter.com/demishassabis

DeepMind’s Twitter: https://twitter.com/DeepMind
DeepMind’s Instagram: https://instagram.com/deepmind

The Emperor’s New Mind (book): https://amzn.to/3bx03lo
Life Ascending (book): https://amzn.to/3AhUP7z




Thursday, August 04, 2022

Chrome OS for PCs, Macs

Google Chrome OS Flex is now available for PCs and Macs - The Verge

Businesses and schools can now install Chrome OS on existing hardware

Google is releasing Chrome OS Flex today, a new version of Chrome OS that’s designed for businesses and schools to install and run on old PCs and Macs. 

More than 400 devices are certified to work, and installation is as easy as using a USB drive to install Chrome OS Flex.

Wednesday, August 03, 2022

Node-RED v3.0

 Version 3.0 released : Node-RED

  • Internet Explorer no longer supported



Tuesday, August 02, 2022

Stack Overflow: simple, fast, monolith, no-cloud

interesting podcast about engineering of Stack Overflow app/site

Hanselminutes Technology Podcast - Fresh Air and Fresh Perspectives for Developers - Engineering Stack Overflow with Roberta Arcoverde


It is still a “monolith” .net app, running on total of only 9 servers (!!!)
All 200 related web sites are on same servers, with same code, "multi-tenant"
Deployment time: 4 minutes

No cloud, they manage they own servers, as they have started.
And the utilization of those servers is less than 5% (!!).
So, in theory, it could run on a single web server.

And they are NOT using caching anymore. No Redis.
Apparently the “hit rate” was not sufficient to justify complexity.
Average response time, without caching: 20 ms (!!!).
9000 requests per second, billions of requests per month.

The database is quite large, with 1.5 TB RAM (!!!).
As far as I know, no “cloud” provider have such large servers yet.

And no “microservices” either…
Some Kubernetes for side projects, maybe.

The (open source) ORM (Dapper) used is custom-build, using mostly “raw sql” for efficiency.
https://github.com/DapperLib/Dapper

Simplicity is underrated!

Total of 50 developers
serving 50 million monthly users (!!) (edited)





Monday, August 01, 2022

data: Amazon RedShift Spectrum vs Amazon Athena

Amazon RedShift Spectrum vs Amazon Athena | LinkedIn

Amazon RedShift requires framework management and data preparation, while Athena gets straight to querying data directly from Amazon S3.

Amazon Athena is noteworthy because it doesn’t require initial setup (it is serverless), so it’s perfect for simple querying. Athena is best for running queries quickly and conveniently without setting up a complex infrastructure.

Amazon RedShift excels at performing complex joins, inner queries, and aggregation. The foundation of Amazon RedShift is great for expanding data, and adding more clusters is simple.