Sunday, July 07, 2024

AWS SDK: Go: v2 vs v1 (eos)

aws/aws-sdk: Landing page for the AWS SDKs on GitHub


aws/aws-sdk-go-v2: AWS SDK for the Go programming language.

aws-sdk-go-v2 is the v2 AWS SDK for the Go programming language.

The v2 SDK requires a minimum version of Go 1.20.

Getting Started
Getting Help
Contributing
More Resources



aws/aws-sdk-go: AWS SDK for the Go programming language.

aws-sdk-go is the v1 AWS SDK for the Go programming language.

announced the upcoming end-of-support (July 30, 2024) for AWS SDK for Go (v1). We recommend that you migrate to AWS SDK for Go v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.

AWS SDK: JS: v3 vs v2 (eos)

aws/aws-sdk: Landing page for the AWS SDKs on GitHub


aws/aws-sdk-js: AWS SDK for JavaScript in the browser and Node.js

announced the upcoming announced the upcoming end-of-support (
September 7, 2024) for AWS SDK for JavaScript v2. We recommend that you migrate to AWS SDK for JavaScript v3. For dates, additional details, and information on how to migrate, please refer to the linked announcement.

The AWS SDK for JavaScript v3 is the latest and recommended version, which has been GA since December 2020. Here is why and how you should use AWS SDK for JavaScript v3. You can try our experimental migration scripts in aws-sdk-js-codemod to migrate your application from v2 to v3.
To get help with your migration, please follow our general guidelines to open an issue and choose guidance. To give feedback on and report issues in the v3 repo, please refer to Giving feedback and contributing. for AWS SDK for JavaScript v2. We recommend that you migrate to AWS SDK for JavaScript v3. For dates, additional details, and information on how to migrate, please refer to the linked announcement.

The AWS SDK for JavaScript v3 is the latest and recommended version, which has been GA since December 2020. Here is why and how you should use AWS SDK for JavaScript v3. You can try our experimental migration scripts in aws-sdk-js-codemod to migrate your application from v2 to v3.

To get help with your migration, please follow our general guidelines to open an issue and choose guidance. To give feedback on and report issues in the v3 repo, please refer to Giving feedback and contributing.


aws/aws-sdk-js-v3: Modularized AWS SDK for JavaScript.

The AWS SDK for JavaScript v3 is a rewrite of v2 with some great new features. As with version 2, it enables you to easily work with Amazon Web Services, but has a modular architecture with a separate package for each service. It also includes many frequently requested features, such as a first-class TypeScript support and a new middleware stack. For more details, visit blog post on general availability of Modular AWS SDK for JavaScript.

To get started with JavaScript SDK version 3, visit our Developer Guide or API Reference.

Friday, July 05, 2024

OpenSearch Docker & classes

opensearchproject/opensearch - Docker Image | Docker Hub

OpenSearch is a scalable, flexible, and extensible open-source software suite for search, analytics, and observability applications derived from Elasticsearch 7.10.2 and Kibana 7.10.2 and licensed under Apache 2.0⁠. It consists of a search engine daemon (OpenSearch) and a user interface for data administration and visualizations (OpenSearch Dashboards).

docker pull opensearchproject/opensearch

docker run -it -p 9200:9200 -p 9600:9600 -e OPENSEARCH_INITIAL_ADMIN_PASSWORD=<strong-password> -e "discovery.type=single-node"  --name opensearch-node opensearchproject/opensearch:latest

curl -X GET "https://localhost:9200" -ku admin:<password>
curl -X GET "https://localhost:9200/_cat/nodes?v" -ku admin:<password>
curl -X GET "https://localhost:9200/_cat/plugins?v" -ku admin:<password>





Udemy Classes




by Bo Andersen (Denmark)
Rating: 4.6 out of 5
22,323 ratings
132,523 Students
12.5 hours


by Frank Kane (x Amazon)
Rating: 4.6 out of 5
5,837 ratings
45,124 Students
15.5 hours


Rating 4.5
7,957 ratings
46,647 Students
6 hours


Organic Architecture by Frank Lloyd Wright

Frank Lloyd Wright's Penfield Usonian House - YouTube

Organic Architecture:
"where the whole is to the part what the part is to the whole"



  • Sense of shelter - main purpose of architecture.
  • Love and respect for Nature, the ultimate context, street names.
  • Return to natural biorhythms (Donna Penfield).
  • No separation from the elements.
  • Supremely human - humane architecture.
  • Grace to its site rather than a disgrace.
  • The building belongs where you see it standing.
  • Alternate universe - possibility, beauty, privacy, peace, space, comfort.
  • Complete work of art - part to whole, whole to part.
  • Integrity. A part of the landscape, environment - connection.
  • Free, democratic, individual - unconstrained by styles.
  • Guest books FULL of praise and appreciation.
  • Spiritual, simplicity.
  • Truth Against The World award speech. 


Frank Lloyd Wright's Organic Plans - YouTube by Stewart Hicks



Organic means, in the philosophic sense, entity.
Where the whole is [to] the part as the part is to the whole
and where
the nature of the materials,
the nature of the purpose,
the nature of the entire performance 
becomes a necessity”.

to Wright “Form and function are one”





Organic Architecture | The Guggenheim Museums and Foundation

I’d like to have a free architecture. I’d like to have architecture that belonged where you see it standing, and was a grace to the landscape instead of a disgrace.
—Frank Lloyd Wright







J.A. Sweeton Residence - Wikipedia Cherry Hill, NJ


Usonia - Wikipedia
Usonia (/jˈsniə/) is a word that was used by the American architect Frank Lloyd Wright to refer to the United States in general (in preference over America), and more specifically to his vision for the landscape of the country, including the planning of cities and the architecture of buildings. 



EV Ford future; F-150 hybrid as power generator

excellent interview!

Ford CEO Jim Farley discusses the rapid evolution of electric vehicles - YouTube

interesting: using hybrid Ford (F-150) as a electric power generator for house


new Ford EV build from ground up, for $30K, profitable, coming in two years!

to complete with Tesla Model 2 and BYD


Ford quietly created its own ‘skunkworks’ team to develop low-cost electric vehicles - The Verge

The division is reportedly being led by ex-Tesla engineer Alan Clarke and is working on a flexible battery platform for Ford’s third-generation EVs.

Thursday, July 04, 2024

AI: Spreadsheet Is All You Need

 dabochen/spreadsheet-is-all-you-need: A nanoGPT pipeline packed in a spreadsheet

A nanoGPT pipeline packed in a spreadsheet

This is a project to help ... understand how GPT works.
It is pretty fun to play with, especially when you are trying to figure out what exactly is going on inside a transformer.
This helped to visualize the entire structure and the data flow.
All the mechanisms, calculations, matrices inside are fully interactive and configurable.

It contains all the transformer components including:
  • embedding
  • layer norm
  • self attention
  • projection
  • MLP
  • softmax
  • logits

It is based on Andrej Karpathy's NanoGPT structure which includes roughly 85000 parameters.
It is clearly a very small size, but it is both complex enough to understand how it works, and also not too big to crash computer. In contrast to chatgpt, this project is a character based prediction system, meaning that each token is a character, and to reduce the complexity, only letter A/B/C are being tokenized.

Rimac Robotaxi? EV self driving:

 Rimac Just Exposed Tesla's Robotaxi Playbook. - YouTube



Rimac Automobili - Wikipedia

Rimac Automobili (Croatian pronunciation: [rǐːmats automobǐːli]REE-mahts) is a Croatian automotive manufacturer headquartered in Sveta Nedelja, Croatia, that develops and produces electric sports cars. Its sister company, Rimac Technology (part of the Rimac Group) also produces drivetrains and battery systems for automotive businesses.

In July 2021, VW Group's Porsche and Rimac announced a joint venture that would incorporate Volkswagen's high-performance Bugatti brand as well as Rimac Automobili. The new venture is called Bugatti Rimac.[15] Parent company Rimac Group announced a 55% stake in the joint venture, with Porsche holding a 45% stake in the company.[16] in June of that year, Porsche stated it was one of the participants in a new €500 million round of fundraising.[17]

Wednesday, July 03, 2024

Node.js Worker threads

How To Use Multithreading in Node.js | DigitalOcean

Node.js runs JavaScript code in a single thread, which means that your code can only do one task at a time. However, Node.js itself is multithreaded and provides hidden threads through the libuv library, which handles I/O operations like reading files from a disk or network requests. Through the use of hidden threads, Node.js provides asynchronous methods that allow your code to make I/O requests without blocking the main thread.

Node.js introduced the worker-threads module, which allows you to create threads and execute multiple JavaScript tasks in parallel. Once a thread finishes a task, it sends a message to the main thread that contains the result of the operation so that it can be used with other parts of the code. The advantage of using worker threads is that CPU-bound tasks don’t block the main thread and you can divide and distribute a task to multiple workers to optimize it.


A complete guide to threads in Node.js - LogRocket Blog


An Introduction to Node.js Multithreading — SitePoint


Worker threads | Node.js v22.2.0 Documentation



Tuesday, July 02, 2024

AI in-security: Samsung & ChatGPT

 Samsung bans use of generative AI tools like ChatGPT after April internal data leak | TechCrunch

May 2, 2023

A month after internal, sensitive data from Samsung was accidentally leaked to ChatGPT, Samsung is cracking down on usage of the generative AI service. The electronics giant is temporarily restricting the use of generative AI tools on company-owned devices, covering computers, tablets and phones, as well as non-company-owned devices running on internal networks. The ban would cover not just ChatGPT, but services that use the technology like Microsoft’s Bing, as well as competing generative AI services like Bard from Google.


AI Architecture: Usonian philosophy by Frank Lloyd Wright

 Lindal Cedar offers designs based on Frank Lloyd Wright homes

Usonia, a derivate term for the "United States of America" coined by Wright, refers to a set of principles the architect used to create more than 100 houses around the US starting in the 1930s.
  • integration with nature, 
  • use of natural materials, 
  • open floor plans, 
  • affordability
  • energy efficiency.
Seattle-based manufacturer Lindal Cedar Homes has partnered with the Frank Lloyd Wright Foundation to create a series of purchasable house designs informed by the American architect's Usonian philosophy.





Founded by Frank Lloyd Wright as the Taliesin Fellowship in 1932




AI Copilot Designer:

prompt: Design an octagon house in style of Frank Lloyd Wright, with Usonian philosophy and architecture

























window.ai: AI built in Chrome web browser!

 Built-in AI  |  AI on Chrome  |  Chrome for Developers

...platform APIs and browser features designed to integrate AI models, including large language models (LLMs), directly into the browser. This includes Gemini Nano, the most efficient version of the Gemini family of LLMs, designed to run locally on most modern desktop and laptop computers. With built-in AI, your website or web application can perform AI-powered tasks without needing to deploy or manage its own AI models.




window.ai - Everything about the new Chrome AI feature

courses?: 100 days of AI / NoCode / Code

"maybe" email course?

https://www.100daysai.com/

Learn AI skills in 100 days with daily bitesized lessons.

Free, fun, and effective 30 minute bitesized lessons 
delivered daily to guide your AI learning journey. 
Starting July 1st.


The #100DaysOfNoCode Challenge by the 100 School
Learn No-Code in 100 days with daily bitesized lessons.

Free, fun and effective 30 minute bitesized lessons
delivered daily to guide your no-code journey.



Real, very good and popular courses on Udemy!

by Max.S. of Academind

by Dr Angela Yu