Friday, June 30, 2023

tool: HTML to Markdown

JohannesKaufmann/html-to-markdown: ⚙️ Convert HTML to Markdown. Even works with entire websites and can be extended through rules. @GitHub

GoLang, MIT license

Convert HTML into Markdown with Go. It is using an HTML Parser to avoid the use of regexp as much as possible.


online:

HTML to Markdown Converter



Thursday, June 29, 2023

AI for house design: Planner 5D

Convert Blueprint to 3D Model - Artificial Intelligence Plan Recognition | Planner 5D

You can convert your own floor plan from 2D image to 3D scene. Just upload picture with plan!

mentioned by NVIDIA founder and CEO as example of usage of AI

NVIDIA Keynote at COMPUTEX 2023 - YouTube



Tuesday, June 27, 2023

EV: Lordstown down?

Lordstown Goes Bankrupt; Tesla Should Start Its Own Finco - Autoline Daily 3597 - YouTube


Lordstown Motors files for bankruptcy, sues Foxconn | Reuters

U.S. electric truck manufacturer Lordstown Motors (RIDE.O) filed for bankruptcy protection on Tuesday and put itself up for sale after failing to resolve a dispute over a promised investment from Taiwan's Foxconn



open source 3D design sw: blueprint3d

furnishup/blueprint3d: Build interior spaces in 3D @ GitHub (MIT license)

This is a customizable application built on three.js that allows users to design an interior space such as a home or apartment.

Blueprint 3D - Example


maybe related?

aalavandhaann/blueprint-js @GitHub


"old style" Java based, GPL licensed similar purpose tool

SweetHome3D/SweetHome3D: UNOFFICIAL, maintained mirror of official SVN repo of Sweet Home 3D. Feel free to use it as base for developing your new contributions. @GitHub


popular "freemium" closed source alternatives

Planner 5D: House Design Software | Home Design in 3D


3D Design Software | 3D Modeling on the Web | SketchUp


and other "alternatives"

Planner 5D Alternatives: 25+ Interior Design and similar apps | AlternativeTo






Monday, June 26, 2023

JavaScript ChatGPT Plugin

 Build Your First JavaScript ChatGPT Plugin — SitePoint

This article (or ‘training data’ as OpenAI calls it) provides a quick start guide to building your first ChatGPT plugin and integrating it with the ChatGPT interface.

The official documentation to build plugins is bare, with only Python examples thus far. To help the JavaScript developers among us, we’ve put together a step-by-step tutorial and repository to get you up and running within minutes. Our quick start repository offers a JavaScript equivalent to the To Do list project from the official example, with a few extra bells and whistles to help you get started.

 



Google DeepMind: AlphaZero + LLM = Gemini

Google DeepMind CEO Demis Hassabis Says Its Next Algorithm Will Eclipse ChatGPT | WIRED

“At a high level you can think of Gemini as combining some of the strengths of AlphaGo-type systems with the amazing language capabilities of the large models,” Hassabis says. “We also have some new innovations that are going to be pretty interesting.” Gemini was first teased at Google's developer conference last month, when the company announced a raft of new AI projects.

AlphaGo was based on a technique DeepMind has pioneered called reinforcement learning, in which software learns to take on tough problems that require choosing what actions to take like in Go or video games by making repeated attempts and receiving feedback on its performance. It also used a method called tree search to explore and remember possible moves on the board. The next big leap for language models may involve them performing more tasks on the internet and on computers.

Gemini is still in development, a process that will take a number of months, Hassabis says. It could cost tens or hundreds of millions of dollars. Sam Altman, OpenAI CEO, said in April that creating GPT-4 cost more than $100 million."


Sunday, June 25, 2023

Web Component "tabs" Example

 A Web Component Intro with Example | blog.rasvi.io

Web Component is a standard built into the browser. At the time of writing every major browser supports this feature. It is an underrated feature and often shadowed by popular SPA frameworks like React and Angular. I say this feature is underrated because WC (Web Component) predates React and it does not require importing any external libraries. 



EV: Ford Mustang Mach-E GT

 The 2021 Ford Mustang Mach-E GT Is an Electric Muscle Car - YouTube

Saturday, June 24, 2023

DeviceScript, a derivative of TypeScript for IoT, from Microsoft + WASM

DeviceScript | DeviceScript microsoft@GitHub

TypeScript for IoT The familiar syntax and tooling, all at your fingertips.

Small Runtime Bytecode interpreter for low power/flash/memory.

Hardware as Services Client/server architecture for sensors and actuators.

Debugging In Visual Studio Code, for embedded hardware or simulated devices.

Simulation and Testing Develop and test your firmware using hardware/mock sensors. CI friendly.

Development Gateway Prototype cloud service with device management, firmware deployment and message queues.

OpenExO: top 100 "exponential organizations"

as defined in the book

Amazon.com: Exponential Organizations 2.0: The New Playbook for 10x Growth and Impact eBook : Ismail, Salim, Diamandis, Peter H. , Malone, Michael S. , Kurzweil, Ray : Kindle Store

top exponential orgs produce 40x results than those on the bottom of such list

 Top100 - OpenExO

  1. GitHub
  2. Airbnb
  3. Uber
  4. Indiegogo
  5. Google
  6. Quirky
  7. Kaggle
  8. Pinterest
  9. Reddit
  10. Tumblr

OpenExO | Solving for 10X

"OpenExO is your hub to everything you need to “Solve for 10X” with other exponential individuals exploring evolving technologies and solutions. Adopted by global industry leaders, the exponential organizations EXO model allows you to rapidly transform your business and enrich your career."


Friday, June 23, 2023

Function as a Service with WASM, from Go, Rust, and WAT

 FAAS in Go with WASM, WASI and Rust - Eli Bendersky's website

FAAS (Function as a Service) server in Go that lets us write modules in any language that has a WASM target. Comparing to existing technologies, it's something between GCP's Cloud FunctionsCloud Run and good old CGI.

  • How to load WASM code with WASI in a Go environment and hook it up to a web server.
  • How to implement web server plugins in any language that can be compiled to WASM.
  • How to translate Go programs into WASM that uses WASI.
  • How to translate Rust programs into WASM that uses WASI.
  • How to write WAT (WebAssembly Text) code that uses WASI to interact with a non-JS environment.

Wednesday, June 21, 2023

Summer solstice: the longest day of the year (north side)

 Summer solstice - Wikipedia

"The summer solstice, also called the estival solstice[7] or midsummer, occurs when one of Earth's poles has its maximum tilt toward the Sun.

It happens twice yearly, once in each 
hemisphere (Northern and Southern).
For that hemisphere, the summer solstice is the day with the longest 
period of daylight and shortest night of the year, when the Sun is at its highest position in the sky.

At either 
pole there is continuous daylight at the time of its summer solstice.
The opposite event is the 
winter solstice."


The midnight sun | Where the sun never sets

"Svalbard is the place in Norway where the midnight sun occurs for the longest period.
Here, the sun doesn’t set between 20 April and 22 August."

react-three-fiber: React renderer for threejs

pmndrs/react-three-fiber: 🇨🇭 A React renderer for Three.js

react-three-fiber is a React renderer for threejs.

Build your scene declaratively with re-usable, self-contained components that react to state, are readily interactive and can participate in React's ecosystem.

Is it slower than plain Threejs?

No. There is no overhead. Components render outside of React.
It outperforms Threejs in scale due to Reacts scheduling abilities.

Basic demo - CodeSandbox

Monday, June 19, 2023

Vector Databases

What is a Vector Database? | Pinecone

Embeddings are generated by AI models (such as Large Language Models) and have a large number of attributes or features, making their representation challenging to manage. In the context of AI and machine learning, these features represent different dimensions of the data that are essential for understanding patterns, relationships, and underlying structures.

That is why we need a specialized database designed specifically for handling this type of data. Vector databases like Pinecone fulfill this requirement by offering optimized storage and querying capabilities for embeddings. Vector databases have the capabilities of a traditional database that are absent in standalone vector indexes and the specialization of dealing with vector embeddings, which traditional scalar-based databases lack.

Sunday, June 18, 2023

JavaScript new ORMs: Joist, Kysely, Drizzle...


- pg https://github.com/brianc/node-postgres

- drizzle https://github.com/drizzle-team/drizz...



The ORMazing show with Joist ORM creator Stephen Haberman (JS Party #276) |> Changelog






easy JavaScript => TypeScript

 Get Started With TypeScript the Easy Way



Saturday, June 17, 2023

PY4E - Python for Everybody

a beginners class of Python language
claiming to be "the most popular programming course in the world"

PY4E - Python for Everybody  by Charles Severance, PhD (computer scientist & professor)

PY4E - Python for Everybody lessons

PY4E - Python for Everybody materials


PY4E - Python for Everybody book

PY4E - Python for Everybody book online

code: https://www.py4e.com/code3.zip

Python for Everybody @ Trinket

Book: Python for Everybody (Severance) - Engineering LibreTexts 


Python for Everybody - Exploring Information (PY4E) - YouTube (playlist)

Python for Everybody - Full University Python Course - YouTube (13 h)

Coursera: Python for Everybody Specialization

edX: Python for Everybody

If you log in to this site you have joined a free, global open and online course. You have a grade book, autograded assignments, discussion forums, and can earn badges for your efforts.


Book


Kindle book (currently $2)


online drawing apps

Draw, Design, Measure, Make And Order Your Own Furniture In USA

Free And Professional 3D Interior Design Software

Professional Interior Design Software | SketchUp
SketchUp isn’t like most professional interior design software — it gets out of your way so you can draw whatever you want, however you want.

Thursday, June 15, 2023

GitHub Copilot @ MS Build @ VS Code @ YouTube

Pragmatic techniques to get the most out of GitHub Copilot | BRK255H - YouTube


 Visual Studio Code - YouTube


Next generation AI for developers with the Microsoft Cloud | KEY03H - YouTube

Join Microsoft’s Scott Guthrie, EVP Cloud + AI, as he discusses how Microsoft is making AI innovation real for developers today with experiences like GitHub Copilot, Azure OpenAI Service, and the Microsoft Cloud platform and tools you need to produce next-gen, AI-infused applications. To learn more, please check out these resources: * https://aka.ms/learnatbuild * https://aka.ms/BuildCollectionKEY03


Inject the power of the cloud and AI into your development workflow  | BRK250HFS - YouTube


Wednesday, June 14, 2023

"amaze": visual maze, with GoLang and OpenGL


fred1268/amaze: A program to create, solve and draw mazes in your terminal or in 2D/3D @GitHub

A program to create, solve and draw mazes in your terminal or in 2D/3D

no web though... 


Tuesday, June 13, 2023

Toyota Prius Prime: solar panel roof, plugin hybrid

The New Prius is... SICK?! (Solar panel roof) - YouTube

With hybrids as a stopgap for those not ready to go fully electric... the new Prius is rock solid.

The 2023 Toyota Prius Prime Could Take 3 Weeks to Recharge—Without Plugging In @MotorTrend




Gophercises: GoLang code exercises

Gophercises - Coding exercises for budding gophers

Gophercises is a FREE course that will help you become more familiar with Go while developing your skills as a programmer. In the course we will build roughly 20 different mini-applications, packages, and tools that are each designed to teach you something different.


cute ☺

another good resource from the same author

Algorithms with Go


plus paid courses: Web Development with Go  Test with Go (40% sale now)


complement to 

Go by Example (gobyexample.com)

a hands-on introduction to Go using annotated example programs.







Monday, June 12, 2023

Tesla's Charging += Ford, GM

How Tesla's Charging Partnership With Ford and GM Will Work

Tesla's Supercharger Network will open up to Ford and GM EV owners in 2024.

The alliance may force other automakers to also partner with Tesla.

This will be a big win for consumers and possibly Tesla.



As with the Ford partnership, owners of GM’s EVs will also have access to more than 12,000 Superchargers across the U.S. and Canada.

next generations of EVs will be equipped with Tesla’s charge port called the North American Charging Standard (NACS) starting in 2025.


Elon Musk on OpenAI

 Elon Musk on Sam Altman and ChatGPT: I am the reason OpenAI exists - YouTube

Sunday, June 11, 2023

Amazon CodeCatalyst @AWS

Unified Development Service – Amazon CodeCatalyst – Amazon Web Services

584-amazon-codecatalyst - AWS Podcasts

Announcing Amazon CodeCatalyst, a Unified Software Development Service (Preview) | AWS News Blog

What is Amazon CodeCatalyst? - Amazon CodeCatalyst

Donald Knuth "chat" with ChatGPT & ELIZA

Donald Knuth - Wikipedia

www-cs-faculty.stanford.edu/~knuth/chatGPT20.txt

A reference to: https://news.ycombinator.com/item?id=36012360

Donald Knuth Asked ChatGPT 20 Questions. What Did We Learn? - The New Stack

It seems like everyone’s playing with ChatGPT — including mathematician and long-time programming expert Donald Knuth. Inspired by a conversation with Stephen Wolfram, Knuth conducted “my own little experiment” on April 7 — and recently posted the results online.

Knuth’s conclusion? They were “extremely impressive responses, sometimes astonishingly so…
 Specifically, Knuth praised “the quality of the wordsmithing. It’s way better than 99% of copy that people actually write.”
...

One question had a very long history. In 1968, Donald Knuth’s own father had posed a question to the early chatbot Eliza: “Where and when will the sun be directly overhead in Japan on July 4?” Knuth remembered that his father had been disappointed when Eliza had only answered: “Why do you ask?”







chat now


ChartGPT (online)



Saturday, June 10, 2023

book: Five Lines of Code

Five Lines of Code: How and when to refactor: Clausen, Christian: 9781617298318: Amazon.com: Books

Five Lines of Code teaches refactoring that's focused on concrete rules and getting any method down to five lines or less! There’s no jargon or tricky automated-testing skills required, just easy guidelines and patterns illustrated by detailed code samples







Friday, June 09, 2023

compression: LZ4

From Project Management to Data Compression Innovator With Yann Collet - CoRecursive Podcast

Yann was a project manager who went from being burnt out on corporate life to becoming one of the most sought-after developers in the world. What happens when you build something so impressive and valuable that it essentially becomes invisible?

And how do you do that when your day job is mainly organizing spreadsheets and keeping timelines on track?

Yann built LZ4 and ZStandard - two of the world’s fastest compression algorithms that have transformed databases, operating systems, file systems, and much more. We’ll go back in time to Yann’s initial steps with programming, his game-changing discoveries along the way and how his devotion to data compression hobby led him to create something that saves billions of dollars worldwide.


LZ4 is a lossless data compression algorithm that is focused on compression and decompression speed. It belongs to the LZ77 family of byte-oriented compression schemes.

The LZ4 algorithms aims to provide a good trade-off between speed and compression ratio. Typically, it has a smaller (i.e., worse) compression ratio than the similar LZO algorithm, which in turn is worse than algorithms like DEFLATE. However, LZ4 compression speed is similar to LZO and several times faster than DEFLATE, while decompression speed is significantly faster than LZO.[3]

LZ4 only uses a dictionary-matching stage (LZ77), and unlike other common compression algorithms does not combine it with an entropy coding stage (e.g. Huffman coding in DEFLATE).











Thursday, June 08, 2023

node.js file upload packages: Formidable, Busboy, Multer and Multiparty

Choose between Formidable, Busboy, Multer and Multiparty for processing file uploads

Formidable has been around the longest, having released its 1.0 version in 2011. It also has the most weekly downloads on npm. It's not Express.js specific, and it saves files in temporary directory on hard disk.

Busboy is an event-based streaming parser that's not tied to Express.js. Instead of storing intermediate files, it provides a stream to the incoming file. It's been around since 2013. The core multipart/form-data implementation has been extracted to a separate dicer module.

Multer is an Express.js middleware that's been around since 2015. It saves intermediate files either in memory or on hard disk and populates req.files object for consuming the files. You can have fine-grained control over which fields allow files and limit the number of uploaded files. Internally, Multer uses Busboy.

Multiparty is a fork of formidable from around 2013. It has the same functionality as Multiparty, but also allows streaming the files. However, in their documentation, Multiparty recommends using Busboy for a faster alternative.





Tuesday, June 06, 2023

book: Exponential Organizations 2.0


In this episode, Peter and Salim take a deep dive into Exponential Organizations, and how to harness the power of AI to your advantage within your business.


"the next billion dollar company will be created by 3 people"

Amazon.com: Exponential Organizations 2.0: The New Playbook for 10x Growth and Impact eBook : Ismail, Salim, Diamandis, Peter H. , Malone, Michael S. , Kurzweil, Ray : Kindle Store

preorder price $0.99

"Exponential Organizations 2.0 outlines the 11 ExO Attributes—the shared DNA of the most dynamic and forward-thinking organizations in the world today—providing a comprehensive guide and the critical tools required to transform your business into an exponential powerhouse.

Explode your growth by harnessing the ExO attributes, including:

  • a Massive Transformative Purpose (MTP)
  • 5 External Attributes: Staff on Demand, Community & Crowd, AI & Algorithms, Leveraged Assets, Engagement (SCALE)
  • 5 Internal Attributes: Interfaces, Dashboards, Experimentation, Autonomy, Social (IDEAS)"

"Don't just imagine the future; create it."










AI, ML: Hugging Face


Hugging Face - Wikipedia

Hugging Face, Inc. is an American company that develops tools for building applications using machine learning.[1] 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.

Transformers Library[edit]

The Transformers library is a Python package that contains open-source implementations of transformer models for text, image, and audio tasks. It is compatible with the PyTorchTensorFlow and JAX deep learning libraries and includes implementations of notable models like BERT and GPT.[13] The library was originally called "pytorch-pretrained-bert"[14] which was then renamed to "pytorch-transformers" and finally "transformers."

Hugging Face Hub[edit]

The Hugging Face Hub is a platform (centralized web service) for hosting:[15]

  • Git-based code repositories, with features similar to GitHub, including discussions and pull requests for projects.
  • models, also with Git-based version control;
  • datasets, mainly in text, images, and audio;
  • web applications ("spaces" and "widgets"), intended for small-scale demos of machine learning applications.

Other Libraries[edit]

In addition to Transformers and the Hugging Face Hub, the Hugging Face ecosystem contains libraries for other tasks, such as dataset processing ("Datasets"), model evaluation ("Evaluate"), simulation ("Simulate"), machine learning demos ("Gradio").[16]


🤗 All things transformers with Hugging Face featuring Sasha Rush (Practical AI #98) |> Changelog




Monday, June 05, 2023

AR: Apple Vision Pro: "spatial computing"

 Apple Vision Pro - Apple

Available early next year in the U.S.

price: $3500 : more than Microsoft's and Google's similar failed products combined

and most likely will have enough buyers anyway

Apple Vision Pro - Apple movie

announced at WWDC23

Apple Events - Apple


Apple Vision Pro first look: the mixed reality future is (almost) here - The Verge


Introducing Apple Vision Pro - YouTube by Apple


Apple Vision Pro Impressions! - YouTube


Why Apple’s Vision Pro is the Next iPhone (Analysis) - YouTube by ColdFusion


Reactions to Apple’s new vision with Mike McQuaid from Homebrew (Changelog & Friends #3) |> Changelog




Spatial computing - Wikipedia

Spatial computing was defined in 2003 by Simon Greenwold,[1] as "human interaction with a machine in which the machine retains and manipulates referents to real objects and spaces".

With the advent of consumer virtual reality,[2] augmented reality,[3] and mixed reality, companies such as Microsoft[4] and Magic Leap[5] use "spatial computing" in reference to the practice of using physical actions (head and body movements, gestures, speech) as inputs for interactive digital media systems, with perceived 3D physical space as the canvas for video, audio, and haptic outputs. It is also tied to the concept of 'digital twins'.[6]

Apple announced the first major spatial computing platform with the Vision Pro on 5th June 2023. It features several features such as Spatial Audio, two microOLED displays, the Apple R1 chip and eye tracking. It is planned to be released in 2024 in the United States.[7]


ML + Elixir + notebook => Livebook

Livebook's big launch week featuring José Valim (Changelog Interviews #538) |> Changelog

(creator of Elixir) José Valim joins Jerod to talk all about what’s new in Livebook – the Elixir-based interactive code notebook he’s been working on the last few years.

José made a big bet when he decided to bring machine learning to Elixir. That bet is now paying off with amazing new capabilities such as building and deploying a Whisper-based chat app to Hugging Face in just 15 minutes.

José demoed that and much more during Livebook’s first-ever launch week.