Friday, July 26, 2024

pgAdmin 4 Docker, for Postgres DB

dpage/pgadmin4 - Docker Image | Docker Hub

This is the official Docker distribution of pgAdmin 4.


pgadmin-org/pgadmin4: pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world. @GitHub

pgAdmin 4 is written as a web application with Python(Flask) on the server side and ReactJS, HTML5 with CSS for the client side processing and UI.

Although developed using web technologies, pgAdmin 4 can be deployed either on a web server using a browser, or standalone on a workstation. The runtime/ subdirectory contains an NWjs based runtime application intended to allow this, which will execute the Python server and display the UI.



Thursday, July 25, 2024

Architecture: Octagon Dome House

 Armour–Stiner House - Wikipedia

The Armour–Stiner House is an octagon-shaped and domed Victorian-style house located at 45 West Clinton Avenue in Irvington, in Westchester County, New York. It was designated a National Historic Landmark in 1976.[1][3] It is the only known fully domed octagonal residence. The house was modeled after Donato Bramante’s 1502 Tempietto in Rome, which in turn was based on a Tholos, a type of ancient classical temple.

Wednesday, July 24, 2024

node:sqlite: node.js embedded sqlite

 lib,src,test,doc: add node:sqlite module by cjihrig · Pull Request #53752 · nodejs/node

import { DatabaseSync } from 'node:sqlite';
const database = new DatabaseSync(':memory:');

// Execute SQL statements from strings.
database.exec(`
  CREATE TABLE data(
    key INTEGER PRIMARY KEY,
    value TEXT
  ) STRICT
`);

Node.js v22.5.0 (Current) Released – But Don't Install It! — A notable release for three reasons: first, the WebSocket feature in node:http is now exposed. Second, remember how Node is embedding SQLite? node:sqlite is now included and ready to play with. Third, however, v22.5.0 introduced a nasty bug, so you'll want to try v22.5.1 instead.

Unix explained by its creators

 Most of computers now run or use some variant of Unix.

Here is clear explanation why it was crated 50+ years ago

Ken Thompson and Dennis Ritchie Explain UNIX (Bell Labs) - YouTube


Pushing the Limits of Technology: The Ken Thompson and Dennis Ritchie Story - YouTube


Tuesday, July 23, 2024

AI: Llama 3.1 better than GPT-4o and Claude 3.5 Sonnet?

Meta moves to dethrone ChatGPT | LinkedIn

Meta took a big swing at its artificial intelligence rivals on Tuesday, releasing the 3.1 version of its Llama AI model alongside some bold claims. Llama 3.1 is the “most capable” version of Meta’s AI model to date — but the company has benchmarks beyond its own performance. It claims the updated Llama outperforms OpenAI’s GPT-4o and Anthropic’s Claude 3.5 Sonnet on several benchmarks, including math and multilingual skills. CEO Mark Zuckerberg ratcheted the competition up even further, saying he expects Llama 3.1 to overtake ChatGPT as the most widely used AI assistant by the end of the year.





Polypane: web browser for developers

a tool for fast testing web apps in multiple sizes (desktop, tablet, mobile, etc.)

based on Electron, with Chromium embedded, React for UI

subscription based, free trial


Polypane, The browser for ambitious web developers

Like using DevTools with cheats enabled.
A stand-alone browser and devtool for ambitious web developers that want to build more responsive, accessible and performant sites in less time. Save hours on each project, love every minute of it.


podcast interview with the creator of the tool

Polypane-demonium with Kilian Valkhof, creator of Polypane (JS Party #327)


Understanding Core Web Vitals and Google search results | Google Search Central  |  Documentation  |  Google for Developers


Monday, July 22, 2024

ClippyGPT: OpenAI Doc Search for Supabase

ClippyGPT - How I Built Supabase’s OpenAI Doc Search (Embeddings) - YouTube

ask our old friend Clippy anything you want about Supabase, and it will answer it using natural language. Powered by OpenAI + prompt engineering. 

- Prompt engineering and best practices 
- Working with a custom knowledge base via context injection + OpenAI embeddings 
- How to store embeddings in Postgres using pgvector 



source code

Generate embeddings implementation: https://github.com/supabase/supabase/... 

Clippy edge function implementation: https://github.com/supabase/supabase/... 

Clippy frontend implementation: https://github.com/supabase/supabase/... 



X.AI: the most powerful AI cluster: 100,000 Nvidia H100 GPUs


 Elon Musk fires up ‘the most powerful AI cluster in the world’ to create the 'world's most powerful AI' by December — system uses 100,000 Nvidia H100 GPUs on a single fabric | Tom's Hardware

xAI’s Memphis Supercluster began AI training using 100,000 liquid-cooled Nvidia H100 GPUs connected with a single RDMA (remote direct memory access) fabric.

Supermicro provided much of the hardware, and the company's CEO, Charles Liang, also commented on Musk's thread, touting the team's execution. This follows Liang's recent glowing words for Musk's liquid-cooled AI data centers.

Elon Musk reveals photos of Dojo D1 Supercomputer cluster — roughly equivalent to 8,000 Nvidia H100 GPUs for AI training | Tom's Hardware

Sunday, July 21, 2024

AI: thispersondoesnotexist.com StyleGAN2 and StyleGAN3

"paint with AI"

AI generated "fake" images of people!
too realistic :( how to "trust" any image now?

thispersondoesnotexist.com (1024×1024)


from NVidia labs NVIDIA Research Projects

Synthesizing High-Resolution Images with StyleGAN2 | NVIDIA Technical Blog


Synthesizing High-Resolution Images with StyleGAN2 - YouTube


Generating Faces with StyleGAN3 (7.2) - YouTube


NVlabs/stylegan3: Official PyTorch implementation of StyleGAN3 @GitHub


Generative adversarial network - Wikipedia

mentioned in 

Course: Practical AI | Udemy


alternatives

Create Art or Modify Images with AI with Stable Diffusion model 
Stable Diffusion AI Art from Stability AI

Stable Diffusion 2-1 - a Hugging Face Space by stabilityai


Samsung SSDs: QVO vs. EVO vs. PRO

 Samsung QVO vs. EVO: SSD differences explained | Digital Trends

The Pro SSDs remain the most expensive that Samsung has on offer. In comparison, both the EVO and the QVO are more reasonably priced. Of the three of them, the new QVO drives are by far the cheapest.

The Samsung 870 EVO is an excellent drive and is usually priced betweeen $120 and $170 on Amazon for 1TB of storage. The cheaper equivalent of that drive, the Samsung 870 QVO, usually comes with a price tag of around $100 to $130.

Longevity

Samsung 870 EVO and the Samsung 870 QVO:
  • 1TB disk size: 600 TBW for the EVO, 360 TBW for the QVO
  • 2TB disk size: 1,200 TBW for the EVO, 720 TBW for the QVO
  • 4TB disk size: 2,400 TBW for the EVO, 1,440 TBW for the QVO

Amazon.com : samsung 2tb ssd

Amazon.com: SAMSUNG 990 PRO SSD 2TB PCIe 4.0 M.2 2280 Internal Solid State Hard Drive, Seq. Read Speeds Up to 7,450 MB/s for High End Computing, Gaming, and Heavy Duty Workstations, MZ-V9P2T0B/AM : Electronics


Amazon.com: Samsung Electronics 870 EVO 2TB 2.5 Inch SATA III Internal SSD (MZ-77E2T0B/AM) : Electronics


price history / tracking

Samsung Electronics 870 EVO 2TB 2.5 Inch SATA III Internal SSD (MZ-77E2T0B/AM) camelcamelcamel.com

SAMSUNG 990 PRO SSD 2TB PCIe 4.0 M.2 2280 Internal Solid State Hard Drive, | camelcamelcamel.com

SAMSUNG 990 PRO SSD 2TB PCIe 4.0 M.2 2280 Internal Solid State Hard Drive, camelcamelcamel.com

related

Samsung's 2nd-gen SmartSSD processes data right on the drive | Digital Trends

Normally, the CPU would need to scan the hard drive for the information it needed and then pull that info out of the drive before processing it or sending it to the GPU. But the SmartSSD allows the hard drive to handle most of that process.

According to tech watchdog site TechPowerUp, Samsung’s second-generation SmartSSD cuts processing time by 50% and reduces power consumption by up to 70%. It also frees up to 97% of CPU utilization.

Samsung once again partnered with AMD to create the second-generation SmartSSD. The drive uses an AMD-based SOC heavily optimized for Samsung SSD architecture.


Saturday, July 20, 2024

Architecture: Home Around a Boulder

interesting design! house, like a pearl shell

Inside a Family Home Built Around a 12,000-Year-Old Boulder | Unique Spaces | Architectural Digest - YouTube

...Catskill Mountains in upstate New York ... the Rock’n’House, a remarkable family home built around a 12,000 year-old-boulder. Some might have found themselves between a rock and a hard place after finding a prehistoric glacial erratic in the middle of their land, but for architect Christian Wassmann it was just what he was looking for. The boulder became the central feature of Wassmann’s design and is always present in his family’s impressive home–the perfect example of how humans and nature can coexist as one.

Step Inside a New York House Built Around a Boulder | Architectural Digest

clever detail: "Polaris", a handrail that double functions as naked-eye observatory for north star!





AI: ONNX Runtime (Open Neural Network Exchange)


ONNX Runtime is a cross-platform machine-learning model accelerator, with a flexible interface to integrate hardware-specific libraries. ONNX Runtime can be used with models from PyTorch, Tensorflow/Keras, TFLite, scikit-learn, and other frameworks


The Open Neural Network Exchange (ONNX) [ˈɒnɪks][2] is an open-source artificial intelligence ecosystem[3] of technology companies and research organizations that establish open standards for representing machine learning algorithms and software tools to promote innovation and collaboration in the AI sector. ONNX is available on GitHub.

ONNX provides definitions of an extensible computation graph model, built-in operators and standard data types, focused on inferencing (evaluation).[6]

Each computation dataflow graph is a list of nodes that form an acyclic graph. Nodes have inputs and outputs. Each node is a call to an operator. Metadata documents the graph. Built-in operators are to be available on each ONNX-supporting framework.[6]

Friday, July 19, 2024

in-security: CrowdStrike

Microsoft outage hits Windows users; CrowdStrike deploys fix: Live updates - The Washington Post

CrowdStrike - Wikipedia

"On July 19, 2024, a faulty CrowdStrike update caused Blue Screens of Death on Microsoft Windows machines, affecting millions of Windows computers worldwide.[52] Affected machines were forced into a bootloop, making them unusable. The downtime caused widespread global impact, including grounding of commercial airline flights, temporarily taking Sky News offline, and impacting 911 emergency call centers."

xkcd: CrowdStrike


time to switch to Linux for critical infrastructure?

Virtual Machines—Linux | Microsoft Azure

More than 60 percent of customer cores in Azure run Linux workloads.

AI: Transformers.js, with WASM

xenova/transformers.js: State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server! @GitHub

Transformers.js uses ONNX Runtime to run models in the browser (and node.js)

The best part about it, is that you can easily convert your pretrained PyTorch, TensorFlow, or JAX models to ONNX using 🤗 Optimum.

For more information, check out the full documentation.


 Transformers.js @Hugging Face

State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server!

Transformers.js is designed to be functionally equivalent to Hugging Face’s transformers python library, meaning you can run the same pretrained models using a very similar API. These models support common tasks in different modalities, such as:

📝 Natural Language Processing: text classification, named entity recognition, question answering, language modeling, summarization, translation, multiple choice, and text generation.

🖼️ Computer Vision: image classification, object detection, and segmentation.

🗣️ Audio: automatic speech recognition and audio classification.

🐙 Multimodal: zero-shot image classification.



Although Transformers.js was originally designed to be used in the browser, it’s also able to run inference on the server. In this tutorial, we will design a simple Node.js API that uses Transformers.js for sentiment analysis.

Thursday, July 18, 2024

AI for Architecture: ChatGPT-4o Landscape Design

 Architecture and Landscape Design with ChatGPT-4o - YouTube

able to analyze uploaded aerial photos, count structures,
generate python code to vector trace to SVG... impressive





LandArch | Landscape Architecture Design | Architecture Community

vector databases tutorial

 What is a Vector Database & How Does it Work? Use Cases + Examples | Pinecone

A vector database indexes and stores vector embeddings for fast retrieval and similarity search, with capabilities like CRUD operations, metadata filtering, horizontal scaling, and serverless




Wednesday, July 17, 2024

AI embeddings without OpenAI, $0; tokenization @ Hugging Face API & libs

Hugging Face, Inc. is a French-American company that develops computation tools for building applications using machine learning. It is most notable for its transformers library built for natural language processing applications and its platform that allows users to share machine learning models and datasets and showcase their work.


data format: OData Web Services

used with Dynamics 365; based on XML

OData documentation - OData | Microsoft Learn

OData (Open Data Protocol) is an ISO/IEC approved, OASIS standard that defines a set of best practices for building and consuming REST APIs. It enables creation of REST-based services which allow resources identified using Uniform Resource Locators (URLs) and defined in a data model, to be published and edited by Web clients using simple HTTP messages.

OData Web Services - Business Central | Microsoft Learn

The Open Data Protocol (OData) is a web protocol that is designed for querying tabular data and provides you with an alternative to SOAP-based web services. OData builds on web technologies such as HTTP and JavaScript Object Notation (JSON) to provide access to information from different applications, services, and stores. OData uses URIs for resource identification and commits to an HTTP-based, uniform interface for interacting with resources. This commitment to core Web principles allows for OData to enable a new level of data integration and interoperability across a broad range of clients, servers, services, and tools.


Open Data Protocol (OData) is an open protocol that allows the creation and consumption of queryable and interoperable Web service APIs in a standard way. Microsoft initiated OData in 2007.

The protocol enables the creation and consumption of HTTP-based Web APIs, which allow Web clients to publish and edit resources, identified using URLs and defined in a data model, using simple HTTP messages. OData shares some similarities with JDBC and with ODBC; like ODBC, OData is not limited to relational databases.



MIT, JS/TS




AI TDD code generator: micro-agent

 BuilderIO/micro-agent: An AI agent that writes (actually useful) code for you @GitHub
TypeScript, MIT license

An AI agent that writes and fixes code for you

Just run micro-agent, give it a prompt, and it'll generate a test
and then iterate on code until all test cases pass.

Monday, July 15, 2024

Nomic Atlas: AI data clustering tool

nomic-ai/nomic: Interact, analyze and structure massive text, image, embedding, audio and video datasets @GitHub

Python bindings for working with Nomic Atlas, the world’s most powerful unstructured data interaction platform. Atlas supports datasets from hundreds to tens of millions of points, and supports data modalities ranging from text to image to audio to video.

With Nomic Atlas, you can:
  • Generate, store and retrieve embeddings for your unstructured data.
  • Find insights in your unstructured data and embeddings all from your web browser.
  • Share and present your datasets and data findings to anyone.

Nomic Atlas  //atlas.nomic.ai/

Interact, discover insights and build
with unstructured text, image and audio data.

Course: The Complete OPENAI JS APIs Course - Build 15 Projects | Udemy


AI: llm.c vs GPT-2, $672, 24h, by Andrej Karpathy

 Let's reproduce GPT-2 (1.6B): one 8XH100 node, 24 hours, $672, in llm.c · karpathy/llm.c · Discussion #677

by karpathy (Andrej)

In this post we are reproducing GPT-2 in llm.c. This is "the GPT-2", the full, 1558M parameter version that was introduced in OpenAI's blog post Better Language Models and their Implications in February 14, 2019. llm.c does so directly in C/CUDA (total of ~5,000 lines of code), without the typical training stack that would involve the Python interpreter and a significantly more complex deep learning library like PyTorch/JAX, huggingface/transformers, or etc. In 2019, training GPT-2 was an involved project from an entire team and considered a big model run but, ~5 years later, due to improvements in compute (H100 GPUs), software (CUDA, cuBLAS, cuDNN, FlashAttention) and data (e.g. the FineWeb-Edu dataset), we can reproduce this model on a single 8XH100 node in 24 hours, and for $672, which is quite incredible


Feed | LinkedIn by Aleksa Gordić | LinkedIn


Andrej Karpathy - Wikipedia

Andrej Karpathy (born 23 October 1986[2]) is a Slovak-Canadian computer scientist who served as the director of artificial intelligence and Autopilot Vision at Tesla. He co-founded and formerly worked at OpenAI,[3][4][5] where he specialized in deep learning and computer vision



Saturday, July 13, 2024

AI Data Center: costs & revenue?

Most of recent stock market growth is based on investments in AI, 
and that is mostly in data-centers powered by NVIDIA systems. 

While that is good for stock market, to be sustainable would require some tangible revenue. 
Will this come on time?

Biden chaos, Soft landing secured? AI sentiment turns bearish, French elections - YouTube
All-in podcast










data: kaggle: amazon book reviews

Amazon Books Reviews

Goodreads-books reviews and descriptions of each book

Books_rating.csv(2.86 GB)

Book Title: 212404 unique values


License

used in 


Friday, July 12, 2024

AI tool: 360 walkaround for cars

Automotive 360 Walkaround For Dealerships | Impel



.NET API code tool: Craftsman & Wrapt

Wrapt - Scaffold an entire .NET 6 Web API with a simple yaml or json file.

Scaffold an entire .NET 6 Web API with a simple yaml or json file so you can focus on the high value features in your web app.


pdevito3/craftsman: A .NET scaffolding tool to help you stop worrying about boilerplate and focus on your business logic 🚀 @GitHub

Craftsman is the workhorse behind the Wrapt framework and provides a suite of CLI commands for quickly scaffolding out new files and projects for your .NET Web APIs with simple CLI commands and configuration files.








Thursday, July 11, 2024

xAI supercomputer w/o Oracle cloud

Elon Musk on X: "@xDaily xAI contracted for 24k H100s from Oracle and Grok 2 trained on those...

"xAI contracted for 24k H100s from Oracle and Grok 2 trained on those. Grok 2 is going through finetuning and bug fixes. Probably ready to release next month. 

xAI is building the 100k H100 system itself for fastest time to completion. Aiming to begin training later this month. It will be the most powerful training cluster in the world by a large margin. 

The reason we decided to do the 100k H100 and next major system internally was that our fundamental competitiveness depends on being faster than any other AI company. This is the only way to catch up. 

Oracle is a great company and there is another company that shows promise also involved in that OpenAI GB200 cluster, but, when our fate depends on being the fastest by far, we must have our own hands on the steering wheel, rather than be a backseat driver."


Musk xAI Ditches Oracle Cloud to Build Massive GPU Cluster for Grok 3

xAI already rents around 16,000 Nvidia GPUs from Oracle, making it one of the largest customers of the cloud service.

xAI plans to build "the world’s most powerful supercomputer" in Memphis, Tennessee. Musk said that he expects the supercomputer to open by the fall of 2025.



AI tool: PDF-to-Podcast

 knowsuchagency/pdf-to-podcast: Convert any PDF into a podcast episode! @GitHub, 
Python, Apache2

a tool to convert any PDF document into a podcast episode! Using OpenAI's text-to-speech models and Google Gemini, this tool processes the content of a PDF, generates a natural dialogue suitable for an audio podcast, and outputs it as an MP3 file.

Wednesday, July 10, 2024

marked: MarkDown parser & formatter

GitHub - markedjs/marked: A markdown parser and compiler. Built for speed.

Marked Documentation marked.js.org

https://marked.js.org/demo/

  1. built for speed.
  2. a low-level markdown compiler for parsing markdown without caching or blocking for long periods of time.**
  3. light-weight while implementing all markdown features from the supported flavors & specifications.***
  4. available as a command line interface (CLI) and running in client- or server-side JavaScript projects.

Microsoft Azure AZ-204

Microsoft learning

AZ-204: Implement secure Azure solutions - Training | Microsoft Learn
1 hr 5 min earning Path 3 Modules



Udemy classes

AZ-204 Developing Solutions for Microsoft Azure - OCT 2023 | Udemy Business
The most complete course available on the Microsoft Azure developer exam AZ-204 with timed practice test.
by Scott Duffy 153K students, 11 hours, 4.5*

Three complete timed practice tests for AZ-204 Azure Developer exam, 120 questions, 100% original material
by Scott Duffy 18K students, 4.2*

by Refactored/Skylines, Joe Fecht, 4.5K students, 4.5*


Pluralisight classes

AZ-204: Developing Solutions for Microsoft Azure | Pluralsight
by Amy Coughlin 2.5*, 70 ratings
This course will teach you the skills and knowledge needed to approach the AZ-204 exam with confidence.

Configuring and Managing Microsoft Azure Key Vault | Pluralsight
by Ned Bellavance
Azure Key Vault provides life-cycle management for keys, secrets, and certificates. In this course you will learn the basics of using and managing Key Vault, including creating and securing Key Vault, storing sensitive data, and auditing access.

Tuesday, July 09, 2024

dukpy: JavaScript interpreter for Python


GitHub - amol-/dukpy: Simple JavaScript interpreter for Python @GitHub, MIT

DukPy is a simple javascript interpreter for Python built on top of duktape engine without any external dependency. It comes with a bunch of common transpilers built-in for convenience:
  • CoffeeScript
  • BabelJS
  • TypeScript
  • JSX
  • LESS


Amazon Robotics

Amazon Robotics - Wikipedia

amazon warehouse robot


Amazon Robotics


Amazon Robotics | Amazon.jobs


Amazon Grows To Over 750,000 Robots As World's Second-Largest Private Employer Replaces Over 100,000 Humans

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.

Architecture: Lindal: Frank Lloyd Wright inspired homes

 Crystal Springs | 2168 SF | Lindal Imagine Series | Frank Lloyd Wright Inspired Homes



Cedar Homes of Bucks County | Lindal Cedar Homes | Custom Homes