Sunday, July 13, 2025

AI: Vibe Coding Playbook & Prompt Engineering Guide

🧑‍🚀 The Matthew Berman Vibe Coding Playbook

"Build Reliable, Tasteful, and Bug-Free Software with AI"

The Matthew Berman Vibe Coding Playbook (pdf)


🧑‍🚀 Humanity's Last Prompt Engineering Guide

free education: cK-12: FlexBook, AI Tutor Flexi

ck12.org

Free Online Textbooks, Flashcards, Adaptive Practice, Real World Examples, Simulations

CK-12 Foundation - Wikipedia

The CK-12 Foundation is a California-based non-profit organization which aims to increase access to low-cost K-12 education in the United States and abroad.[2] CK-12 provides free and customizable K-12 open educational resources aligned to state curriculum standards. As of 2022, the foundation's tools were used by over 200,000,000 students worldwide.

CK-12 was set up to support K-12 Science, Technology, Engineering, and Math (STEM) education.
It first produced content via a web-based platform called "FlexBook."

Team | CK-12 Foundation
with 

Vinod Khosla - Wikipedia
an Indian-American billionaire businessman and venture capitalist. He is a co-founder of Sun Microsystems and the founder of Khosla Ventures

FlexBook - Wikipedia

FlexBook is a textbook authoring platform developed by the CK-12 Foundation launched in 2008, focused on textbooks for the K-12 market. Derived from the words "flexibility" and "textbook," a FlexBook allows users to produce and customize content by re-purposing educational content using different modules.

CK-12 FlexLets | Math & Science Review

EPISD 2019-2020 Economics with Emphasis on the Free Enterprise System | CK-12 Foundation

CK-12 Biology for High School | CK-12 Foundation

World History Studies_EPISD | CK-12 Foundation


Saturday, July 12, 2025

AI TTS (Text-To-Speech)

Text to speech - OpenAI API

The Audio API provides a speech endpoint based on our GPT-4o mini TTS (text-to-speech) model.
It comes with 11 built-in voices

Pricing - OpenAI API

$0.60 1M tokens, estimated $0.015 minute

API Reference - OpenAI API

Text to speech - OpenAI API

voices demo: OpenAI.fm



Free Machine Learning Services on AWS - Amazon Web Services

Amazon Polly is a service that turns text into lifelike speech, allowing you to create applications that talk, and build entirely new categories of speech-enabled products.
12 MONTHS FREE
5M characters per month


Azure AI Speech | Microsoft Azure

Text to speech overview - Speech service - Azure AI services | Microsoft Learn

Text to speech quickstart - Speech service - Azure AI services | Microsoft Learn

Speech Studio - Voice Gallery

Azure AI Speech Pricing | Microsoft Azure
0.5 million characters free per month
$15 per 1M characters


Text-to-Speech AI: Lifelike Speech Synthesis | Google Cloud
New customers get up to $300 in free credits to try Text-to-Speech and other Google Cloud product

Review pricing for Text-to-Speech | Google Cloud
For Standard (non-WaveNet) voices, the first 4 million characters are free each month
$4 per 1 million characters



Luvvoice: Free Convert Text to Speech Online, No Word Limit

Free text to speech over 200 voices and 70 languages

Pricing | Luvvoice AI - Intelligent Text-to-Speech Service

5.42/mo Billed annually: $65
2,000,000 characters per month for standard voices




AI voice models and products powering millions of developers, creators, and enterprises. From low‑latency conversational agents to the leading AI voice generator for voiceovers and audiobooks.


$11 per month
100 minutes of high-quality Text to Speech


plv8/pljs: JavaScript in PostreSQL DB engine

 GitHub - plv8/pljs: PLJS - Javascript Language Plugin for PostreSQL

PLJS is a trusted JavaScript Language Extension for PostgreSQL.

It is compact, lightweight, and fast.

JavaScript: QuickJS

PostgreSQL: 14+

CREATE EXTENSION pljs;

DO $$ pljs.elog(NOTICE, "Hello, World!") $$ LANGUAGE pljs;


Friday, July 11, 2025

AI web browser: Perplexity Comet

"vibe browsing", asking web browser agent to search on our behalf 

 Perplexity Comet


Perplexity's AI-Native Browser Comet is HERE - YouTube Matthew Berman


🧑‍🚀 The Matthew Berman Vibe Coding Playbook

🧑‍🚀 Humanity's Last Prompt Engineering Guide

Forward Future AI Tools | Explore the Best of AI


Perplexity's AI-powered browser opens up to select Windows users



learn "modern" Java?

 Learn.java: The Destination for Java Beginners, Students, and Teachers

"modern" Java

println("👋 Hello, Java ");


instead of "classic" Java


public class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World!"); }}


With competition like Kotlin, Scala, Dart, C#, Python, Mojo, Go...
even TypeScript as "enterprise" language... 
What keeps Java relevant except existing codebase?
Like COBOL... will be around for long time... modern or not... 






Thursday, July 10, 2025

AI: xAl's Grok 4 released => Tesla

the most advanced  AI model yet?

out of questions to ask, better of all 

xAl's Mind Blowing Grok 4 Demo w/ Elon Musk (FULL REPLAY) - YouTube

Grok 4 is really smart... Like REALLY SMART - YouTube Matthew Berman

Grok 4 is HERE! and it's the best? (Livestream Reaction) - YouTube


Elon Musk on X: "@SawyerMerritt Grok is coming to Tesla vehicles very soon. Next week at the latest." / X

Grok 4 is here — Elon Musk says its the same model physicists use | Tom's Guide






Regenerative farming: book: Farmacology: Total Health from the Ground Up

Why Healing Our Soil Is the Real Healthcare Revolution – Mark Hyman, MD

Our health and the health of our soil are deeply intertwined. Modern agriculture has become heavily dependent on synthetic inputs and industrial practices that strip the land of vitality—and the farmers of agency. Many farmers no longer eat what they grow, suffer from poor health, and experience alarming rates of depression and suicide. But there’s a path forward: regenerative farming not only restores soil health and increases nutrient density in food, it also revitalizes rural communities and offers economic resilience. By reconnecting with natural systems and rebuilding diversity in our soil, food, and microbiomes, we reclaim both ecological balance and human well-being.


Farmacology: Total Health from the Ground Up: Miller M.D., Daphne: 9780062103147: Amazon.com: Books

In Farmacology, practicing family physician and renowned nutrition explorer Daphne Miller brings us beyond the simple concept of "food as medicine" and introduces us to the critical idea that it's the farm where that food is grown that offers us the real medicine.

all the aspects of farming—from seed choice to soil management—that have a direct and powerful impact on our health


Soil Health Academy | Grow Healthier Soil, Food and Profits





Wednesday, July 09, 2025

html-midi-player, with tone.js

 html-midi-player | Play and display MIDI files online


GitHub - cifkao/html-midi-player: 🎹 Play and display MIDI files on the web

<midi-player> and <midi-visualizer> HTML elements powered by @magenta/music (Magenta.js), fully stylable and scriptable.

Notable websites that use html-midi-player include abcnotation.comMusical Nexus and demo websites for music generation models: piano infillingstochastic positional encoding.

@magenta/music - v1.23.1

HTML MIDI Player Basic Example

This is a perfect example of modern Web Components - they work like native HTML elements but provide complex MIDI functionality powered by Magenta.js and Tone.js under the hood!

<midi-player
  src="https://cdn.jsdelivr.net/gh/cifkao/html-midi-player@2b12128/twinkle_twinkle.mid"
  sound-font visualizer="#myPianoRollVisualizer">
</midi-player>
<midi-visualizer type="piano-roll" id="myPianoRollVisualizer"
  src="https://cdn.jsdelivr.net/gh/cifkao/html-midi-player@2b12128/twinkle_twinkle.mid">
</midi-visualizer>
<midi-player
  src="https://cdn.jsdelivr.net/gh/cifkao/html-midi-player@2b12128/twinkle_twinkle.mid"
  sound-font visualizer="#myStaffVisualizer">
</midi-player>
<midi-visualizer type="staff" id="myStaffVisualizer"
  src="https://cdn.jsdelivr.net/gh/cifkao/html-midi-player@2b12128/twinkle_twinkle.mid">
</midi-visualizer>

<script src="https://cdn.jsdelivr.net/combine/npm/tone@14.7.58,npm/@magenta/music@1.23.1/es6/core.js,npm/focus-visible@5,npm/html-midi-player@1.5.0"></script>


<!-- Alternative: Separate script tags for each library -->
<script src="https://cdn.jsdelivr.net/npm/tone@14.7.58/build/Tone.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@magenta/music@1.23.1/es6/core.js"></script>
<script src="https://cdn.jsdelivr.net/npm/focus-visible@5/dist/focus-visible.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/html-midi-player@1.5.0/dist/midi-player.min.js"></script>

export class VisualizerElement extends HTMLElement {
  static get observedAttributes() {
    return ['src', 'type'];
  }
  connectedCallback() {
    this.attachShadow({mode: 'open'});
    this.shadowRoot.appendChild(visualizerTemplate.content.cloneNode(true));
    // ... initialize visualizer
  }
}

See the Pen HTML MIDI Player Basic Example by Ondřej Cífka (@cifkao) on CodePen.

ML/AI: BirdNET-Pi

mcguirepr89/BirdNET-Pi: A realtime acoustic bird classification system for the Raspberry Pi 4B, 3B+, and 0W2 built on the TFLite version of BirdNET. @GitHub

A realtime acoustic bird classification system for the Raspberry Pi 4B, 400, 3B+, and 0W2

BirdNET-Pi is built on the BirdNET framework by @kahst using pre-built TFLite binaries by @PINTO0309 . It is able to recognize bird sounds from a USB microphone or sound card in realtime and share its data with the rest of the world.

related mobile app



Tuesday, July 08, 2025

Nvidia: $4 trillion : AIrrational exuberance ?

Irrational exuberance - Wikipedia

"Irrational exuberance" is the phrase used by the then-Federal Reserve Board chairman, Alan Greenspan, in a December 1996 speech given at the American Enterprise Institute during the dot-com bubble of the 1990s. The phrase was interpreted as a warning that the stock market might be overvalued.

Nvidia closes in on $4 trillion valuation, surpasses Apple's record | TechSpot

"According to LSEG data, Nvidia's current valuation now exceeds the combined market capitalization of all publicly listed companies in Canada and Mexico, and even surpasses the total value of all publicly traded firms in the United Kingdom."



Amazon Prime Day 2025

Amazon.com | Prime Day 2025

the original Amazon "Prime" subscription was $79 (prime number)
then $97, $127...


List of Prime Numbers  | FREE Teaching Resources


Amazon.com: Beelink SER8 Ryzen 7 8745HS, 8C/16T, Up to 4.9GHz High-end Mini PC, 64GB DDR5, 2TB NVMe M.2 SSD, USB4.0/ Triple Display/ WiFi6/ BT5.2/2.5Gbps LAN Mini Computer(Gray or Sliver) : Electronics

desktop web tool: youtube-music

desktop app, add blocker and other plugins

how secure it is? the code may have some interesting ideas

GitHub - th-ch/youtube-music: YouTube Music Desktop App bundled with custom plugins

TypeScript, MIT license

Electron wrapper around YouTube Music featuring:

  • Native look & feel, aims at keeping the original interface
  • Framework for custom plugins: change YouTube Music to your needs (style, content, features), enable/disable plugins in one click

YouTube Music Desktop App (Unofficial)


alternative

GitHub - yt-dlp/yt-dlp: A feature-rich command-line audio/video downloader

Monday, July 07, 2025

NVIDIA GX10: $3000, 1000TOPS (AI) mini-PCs

 Nvidia's first desktop PC chip lands this month — Asus leads with Ascend GX10 Grace Blackwell desktop platform | Tom's Hardware

Actual systems based on Nvidia's GB10 Grace Blackwell platform will be launched starting July 22, according to an Asus invitation, spotted by VideoCardz, promoting the event. The company plans to re-introduce its Ascend GX10 mini-PC on the day. 

Lenovo unveils compact AI workstation equipped with Nvidia GB10 and 128 GB of system memory | Tom's Hardware

Lenovo just announced an AI mini supercomputer designed to work straight out of the box. The ThinkStation PGX, which Lenovo calls “a compact, personal AI developer workstation”, is powered by an Nvidia GB10 Grace Blackwell Superchip and has 128 GB of coherent unified system memory.

This delivers up to 1 PetaFLOP or 1000 TOPS of performance, allowing users to work on models with up to 200 billion parameters.







AI Web Agent: Playwright MCP

 .NET Rocks! Changing Testing using Playwright MCP with Debbie O'Brien

using Playwright MCP to buy a table. Ask your LLM what tests should be written for your web page, and then ask it to write them. The potential of these tools is to make more tests in less time that are more resilient as versions of both the website and the testing tools change




Sunday, July 06, 2025

OpenAI API: Responses vs. Chat Completions

Responses vs. Chat Completions - OpenAI API

The Responses API and Chat Completions API are two different ways to interact with OpenAI's models.

The Chat Completions API is an "industry standard" for building AI applications
(some other LLM APIs provide same or similar API)

The Responses API is our newest core API and an agentic API primitive, combining the simplicity of Chat Completions with the ability to do more agentic tasks. As model capabilities evolve, the Responses API is a flexible foundation for building action-oriented applications, with built-in tools:

Events are simpler with the Responses API. It has a predictable, event-driven architecture, whereas the Chat Completions API continuously appends to the content field as tokens are generated—requiring you to manually track differences between each state. Multi-step conversational logic and reasoning are easier to implement with the Responses API.

TypeScript tool: tsx vs ts-node

Key differences between ts-node and tsx:

  • tsx: Faster, more modern TypeScript runner built on top of esbuild
  • ts-node: Traditional TypeScript runner that uses the TypeScript compiler directly

tsx advantages:

  • Much faster compilation (uses esbuild under the hood)
  • Better ESM (ES modules) support
  • Smaller and more focused
  • Less configuration needed
  • Works better in containerized environments

Running TypeScript in Node.js: tsx vs. ts-node vs. native - LogRocket Blog


Frequently Asked Questions | tsx

Node.js — Running TypeScript with a runner

tsx - npm

ts-node - npm

TypeScript Execute (tsx)

tsx stands for TypeScript Execute and it's a Node.js enhancement to run TypeScript.

For starters, think of tsx as an alias to node and use it the same way:

sh
node file.js

sh
tsx file.ts

You can pass in Node CLI flags and JS files too:

sh
tsx --env-file=.env ./file.js