Monday, September 30, 2024

OpenFreeMap


lets you display custom maps on your website and apps for free.

You can either self-host or use our public instance. Everything is open-source, including the full production setup — there’s no ‘open-core’ model here. Check out our GitHub. The map data comes from OpenStreetMap.

Using our public instance is completely free: there are no limits on the number of map views or requests. There’s no registration, no user database, no API keys, and no cookies. We aim to cover the running costs of our public instance through donations.

We also provide weekly full planet downloads both in Btrfs and MBTiles formats.

VS Code extension: Editor for PlantUML

Tutorial for building VS code extension;
Using ANTLR parser

Writing an Editor for PlantUML - Strumenta

PlantUML is a tool to author UML diagrams using plain text. With it, we can describe diagrams of several kinds (including class diagrams, sequence diagrams, activity diagrams, and others) using a syntax that resembles pseudo-code, or what one would write in words and symbols on a piece of paper.






Sunday, September 29, 2024

Mini PC with NVIDIA vs AMD GPU

Some AI payloads require NVIDIA. 
A mobile version is even available in mini-pcs

 Amazon.com: PELADN HI-3 Pro Mini PC with Intel Core i5-11300H, MX 450 Graphics, 16GB RAM, 512GB M.2 SSD, HDMI & Micro Tower - Compact and Powerful Desktop Computer : Electronics

$350

Amazon.com: HUNSN Mini PC, HTPC, Small Server, Desktop Computer, Windows 11 or Linux Ubuntu, Intel I5 11300H, MX450 GDDR6 2G Graphic, BA05, 2 x HDMI, Type-C, 8 x USB, TPM2.0, 16G RAM 512G SSD : Electronics


Amazon.com: Trycoo HA-4 Mini Gaming PC,AMD Ryzen 7 7735HS Processor(8C/16T, 4.75GHz) Mini Desk Computer,Win 11 Pro Mini Computer with 32GB DDR5 RAM/512GB PCIe 4.0 SSD,WiFi 6/BT5.2/Support Expansion 4TB SSD : Electronics

$340


still, AMD provides more performance for money

680M vs MX450 [6-Benchmark Showdown]

Radeon 680M outperforms GeForce MX450 by an impressive 65% based on aggregate benchmark results



$495

cm-chessboard; chessboard.js v2 = chessboard2

shaack/cm-chessboard: A JavaScript chessboard without dependencies. Rendered in SVG, coded in ES6. Views FEN, handles move input, animated, responsive, expandable @GitHub (MIT)

A JavaScript chessboard which is lightweight, ES6 module based, responsive, SVG rendered and without dependencies.

example online

cm-chessboard

cm-chessboard - npm


Category:SVG chess pieces - Wikimedia Commons

Chess - Wikipedia



most often used chessboard.js has issues running on touchscreens






An updated version of chessboard.js.
  • better mobile support
  • no dependencies
  • written in ClojureScript
  • improved API


You can integrate chessboard2 with the chess.js library to play against random moves.

Saturday, September 28, 2024

OpenAI crisis: more people leaving

OpenAI "drama" continues... why? After all, all about money?

Exclusive: OpenAI to remove non-profit control and give Sam Altman equity | Reuters

OpenAI plots to restructure into for-profit benefit corporation
Non-profit board no longer controls for-profit when done
CEO Sam Altman to receive equity in OpenAI for the first time

Greg Brockman, John Schulman, and Peter Deng Leave OpenAI : r/OpenAI

Open AI CTO Mira Murati quits, the latest in a continuing string of executive departures - SiliconANGLE

OpenAI reportedly mulls $10B payday for Sam Altman

A 7% stake in Microsoft-backed OpenAI could soon be worth a whopping $10.5 billion for Altman, who had not previously taken an ownership position in the firm


AI HW: Jetson Nano & Robotics Kits

AI Robot Kits from NVIDIA JetBot Partners | NVIDIA 

Robotics Edge | NVIDIA

Jetson Nano | NVIDIA Developer

Jetson Nano is a small, powerful computer for embedded applications and AI IoT that delivers the power of modern AI in a $99 (1KU+) module.


Get started fast with the comprehensive JetPack SDK with accelerated libraries for deep learning, computer vision, graphics, multimedia, and more. Jetson Nano has the performance and capabilities you need to run modern AI workloads, giving you a fast and easy way to add advanced AI to your next product. To get started with your development process, check out the Jetson Nano Developer Kit.

Duckiebot (DB-J) – the Duckietown® project store

$299





Amazon.com : nvidia jetson nano

Amazon.com: Waveshare JetBot AI Kit Accessories Add-ons for Jetson Nano to Build JetBot (Doesn't Support Nano 2GB) : Toys & Games

$105






Amazon.com: JetBot Professional Version ROS AI Robot Accessory Kit Supports Dual Controllers RP2040 Microcontroller Jetson Nano for Lidar Mapping Vision Processing Self Driving @XYGStudy : Electronics

$330



Amazon.com: Seeed studio NVIDIA Jetson Nano Edge AI Device - reComputer J1010 Kit, Aluminium Case, Pre-Installed Jetpack System. Mini PC with 0.5 TFLOPs (FP16), Power Supply NOT Included : Electronics

$199


Amazon.com: NVIDIA Jetson Orin Nano Developer Kit : Electronics

$499:  up to 40 TOPS of AI performance. With up to 80X the performance of Jetson Nano, it can run all modern AI models, including transformer and advanced robotics models




SparkFun Education - Kits and Materials - SparkFun JetBot AI Kit Powered by NVIDIA Jetson Nano

Yahboom Jetbot Mini AI Vision Robot Car ROS Starter Kit w/ Jetson Nano 4GB/2GB SUB Board - RobotShop


Friday, September 27, 2024

Meta Orion AR glasses

Introducing Orion, Our First True Augmented Reality Glasses | Meta

"the most advanced pair of AR glasses ever made"

PostgreSQL 17; pg4e course

Postgres Weekly Issue 571: September 27, 2024

PostgreSQL 17 Released



The big one is here. It's the newest major version of Postgres, and it takes a bigger step forward than even v16. Some of what’s new:Overhauled memory management for vacuuming, resulting in significantly lower memory usage and running time. More on this here.



PG4E - Postgres for Everybody

a new course by "Dr.Chuck", creator of popular python programming course "py4e"

This web site provides free / OER materials to help you learn the PostgreSQL database. You can take this course and receive a certificate at:

Thursday, September 26, 2024

course: CS50 Web

CS50's Web Programming with Python and JavaScript @Harvard.edu

This course picks up where CS50x leaves off, diving more deeply into the design and implementation of web apps with Python, JavaScript, and SQL using frameworks like Django, React, and Bootstrap. Topics include database design, scalability, security, and user experience. Through hands-on projects, students learn to write and use APIs, create interactive UIs, and leverage cloud services like GitHub and Heroku. By semester’s end, students emerge with knowledge and experience in principles, languages, and tools that empower them to design and deploy applications on the Internet.

Mammoth: JavaScript docx file reader lib

mammoth - npm

Mammoth is designed to convert .docx documents, such as those created by Microsoft Word, Google Docs and LibreOffice, and convert them to HTML. Mammoth aims to produce simple and clean HTML by using semantic information in the document, and ignoring other details. For instance, Mammoth converts any paragraph with the style Heading 1 to h1 elements, rather than attempting to exactly copy the styling (font, text size, colour, etc.) of the heading.

const mammoth = require("mammoth");

mammoth.extractRawText({ path: "example.docx" })
    .then(result => {
        console.log(result.value); // The raw text
    })
    .catch(err => {
        console.error(err);
    });
const fs = require('fs');
const mammoth = require('mammoth');

async function readDocxFile(filePath) {
        const arrayBuffer = await fs.promises.readFile(filePath);
        const result = await mammoth.convertToHtml({ arrayBuffer });
        console.log(result.value); // The HTML content
}

Other supported platforms

alternatives




Wednesday, September 25, 2024

course: CS50 Python

 CS50's Introduction to Programming with Python @Harvard.edu

  1. Functions, Variables
  2. Conditionals
  3. Loops
  4. Exceptions
  5. Libraries
  6. Unit Tests
  7. File I/O
  8. Regular Expressions
  9. Object-Oriented Programming
  10. Et Cetera

Whereas CS50x itself focuses on computer science more generally as well as programming with C, Python, SQL, and JavaScript, this course, aka CS50P, is entirely focused on programming with Python. 



Google Drive API

 Google Drive API overview  |  Google for Developers

The Google Drive API lets you create apps that leverage Google Drive cloud storage. You can develop applications that integrate with Drive, and create robust functionality in your application using the Drive API.

JavaScript quickstart  |  Google Drive  |  Google for Developers





Tuesday, September 24, 2024

course: CS50 SQL

 CS50's Introduction to Databases with SQL @Harvard.edu

Whereas CS50x itself focuses on computer science more generally as well as programming with C, Python, SQL, and JavaScript, this course, aka CS50 SQL, is entirely focused on SQL. 

  1. Querying
  2. Relating
  3. Designing
  4. Writing
  5. Viewing
  6. Optimizing
  7. Scaling

with SQLite, MySQL, PostgreSQL


Final Project - CS50's Introduction to Databases with SQL



N3.js: RDF data tool

rdfjs/N3.js: Lightning fast, spec-compatible, streaming RDF for JavaScript @GitHub

The N3.js library is an implementation of the RDF.js low-level specification that lets you handle RDF in JavaScript easily. It offers:

Monday, September 23, 2024

EV VAN: BrightDrop Zevo from GM

 BrightDrop Zevo - Wikipedia

The BrightDrop Zevo is a battery electric delivery van produced by General Motors for its electric commercial vehicle marque BrightDrop.[3] It was unveiled at the Consumer Electronics Show on 12 January 2021. There are two models, the larger Zevo 600 (formerly EV600) and the smaller Zevo 400 (formerly EV410).


Quick Spin: 2024 BrightDrop Zevo - Vehicle Research - Work Truck Online


Ryder deploys first of 4,000 BrightDrop electric vans into rental fleet



Electric Delivery Vehicles: BrightDrop Zevo | GM Envolve




course: CS50 AP: Highschool Computer Science

CS50 AP

CS50 AP is an amalgam of two courses,
CS50’s Introduction to Computer Science, otherwise known as CS50x,
and CS50’s Understanding Technology, otherwise known as CS50T
CS50 AP is only for students in high school.

satisfies the College Board’s AP Computer Science Principles (CSP) curriculum framework.
Students in high school may receive AP credit for this course provided their school approves the credit, submits the student’s work on the College Board’s Create Performance Task by Wednesday, April 30, 2025 at 11:59 PM ET, and submits the student’s work on the End-of-Course Multiple-Choice Exam

An entry-level course for students with no prior background, taught by David J. Malan, CS50 AP teaches students how to think algorithmically and solve problems efficiently. Topics include abstraction, algorithms, data structures, encapsulation, resource management, security, software engineering, and web programming. Languages include C, Python, and SQL plus HTML, CSS, and JavaScript. Problem sets inspired by the arts, humanities, social sciences, and sciences. Course culminates in a final project.



Web IDE

Visual Studio Code for CS50 (cs50dev).

Sunday, September 22, 2024

chartdb: DB Schema Charting tool

 GitHub - chartdb/chartdb: Free and Open-source database diagrams editor, visualize and design your DB with a single query. @GitHub

AGPL license; .ts







2024 September Equinox: fall/autumn calendar

Fall 2024 & 2025 – When Is Fall?
US east coast (NY): Sunday, September 22, 2024 at 8:43 am EDT






course: cs50 AI, with Python

recorded in 2020, this is "pre LLM/ChatGPT", good "classic" ML/AI

 CS50's Introduction to Artificial Intelligence with Python @Harvard

This course explores the concepts and algorithms at the foundation of modern artificial intelligence, diving into the ideas that give rise to technologies like game-playing engines, handwriting recognition, and machine translation. Through hands-on projects, students gain exposure to the theory behind graph search algorithms, classification, optimization, machine learning, large language models, and other topics in artificial intelligence as they incorporate them into their own Python programs. By course’s end, students emerge with experience in libraries for machine learning as well as knowledge of artificial intelligence principles that enable them to design intelligent systems of their own.

+ short new addition for original CS50x


AI Assistant:  CS50.ai



CS50's adaptation of ChatGPT for students and teachers beta
with support from Microsoft and OpenAI



CS50's adaptation of Codespaces for students and teachers

with these features
  • Bash, using bash
  • C, using clang or gcc
  • C++, using clang or g++
  • Docker, using docker
  • Flask, using flask
  • HTML, CSS, and JavaScript, using http-server
  • Java, using javac and java
  • Lua, using lua
  • Node.js, using node
  • Python, using python
  • R, using R and rstudio
  • Ruby, using ruby
  • SQLite, using sqlite3
  • X Window System, using x11vnc and novnc_proxy

Localized for Bulgarian, Chinese, Czech, English, French, German, Hungarian, Italian, Japanese, Korean, Polish, Portuguese, Russian, Spanish, and Turkish.

Environments are based on cs50/codespace, which is based on cs50/cli, which is based on Ubuntu 24.04. Other software can be installed with aptgemnpm, and pip. Email sysadmins@cs50.harvard.edu with questions.

or browse documentation
"Explain Highlighted Code" in VS Code