Thursday, February 29, 2024

Bun Shell: JavaScript CLI

 The Bun Shell | Bun Blog

The Bun Shell is a new experimental embedded language and interpreter in Bun that allows you to run cross-platform shell scripts in JavaScript & TypeScript.

import { $ } from "bun";

// to stdout:
await $`ls *.js`;

// to string:
const text = await $`ls *.js`.text();

You can use JavaScript variables in your shell scripts:

import { $ } from "bun";

const resp = await fetch("https://example.com");

const stdout = await $`gzip -c < ${resp}`.arrayBuffer();



Wednesday, February 28, 2024

Typescript Book (concise, online)

Typescript Book | TypeScript Book

The Concise TypeScript Book provides a comprehensive and succinct overview of TypeScript's capabilities. It offers clear explanations covering all aspects found in the latest version of the language, from its powerful type system to advanced features. Whether you're a beginner or an experienced developer, this book is an invaluable resource to enhance your understanding and proficiency in TypeScript.



Tuesday, February 27, 2024

photo editing: Photoshop alternatives

Photoshop alternatives: The 9 best free photo editors in 2024 | Zapier
The 9 best free Photoshop alternatives

Adobe Express for easy AI features


Canva for maintaining brand consistency across remote teams


Pixlr E and X for an authentic Photoshop experience


Photopea for using custom Photoshop brushes


Sumopaint for the full Adobe apps experience on a budget


LunaPic for powerful one-click editing tools


PhotoRoom for product photos and eCommerce


Krita for artists and illustrators


Inkscape for graphic design


JavaScript labeled statements = goto?

useful or dangerous for readability of code? 

GOTO in disguise?

Labeled statement - JavaScript | MDN


Scott Robinson on X: "TIL in JavaScript you can assign labels to if-statements and then specify which one you want to break out of. Super helpful for long and highly nested conditionals https://t.co/tjyDvWBPoe" / X



In the late sixties, Edsger Dijkstra wrote an article about the use of the goto statement, highlighting how it encouraged the spread of a unstructured code style often hard to understand: the so called spaghetti code. The proposed measure was the removal of the goto statement from all high-level programming languages in favour of the use of structured control flow constructs like if/elsewhilerepeat, etc.

.NET Aspire, for cloud native apps

 .NET Rocks! .NET Aspire with David Fowler

...the tools to make building cloud-native .NET applications easier. David discusses the challenge of not re-creating the past - tools like Azure Service Fabric. However, the complexity of containerized applications is real. Aspire can make it simpler to take advantage of being in a container, on the cloud, with all the telemetry, observability, scalability, and flexibility that being cloud-native can bring you!

Links:


Monday, February 26, 2024

FreeBSD & OpenZFS vs Linux

Let's talk FreeBSD (finally) with Allan Jude (Changelog Interviews #574) |> Changelog

FreeBSD & OpenZFS developer, Allan Jude, to learn all about FreeBSD. Allan gives us a brief history of BSD, tells us why it’s his operating system of choice, compares it to Linux, explains the various BSDs out there & answers every curious question we have about this powerful (yet underrepresented) Unix-based operating system.



course: C Programming for Everybody

from the same author of very popular Python course Python for Everybody | Coursera

C Programming for Everybody | Coursera

Instructor: Charles Russell Severance

"everybody" is a stretch, since C pointers are challenge even for very experienced developers...

Anyway, C is useful for extending Python, but with Mojo now being available even that use-case is becoming questionable... Maybe compiling to WASM to speed up web?

C is foundation of most modern software, so it is "good to know" but not for everybody :)

Learn C Programming Using the Classic Book by Kernighan and Ritchie

In the course, Dr. Charles Severance will help you learn C programming by taking you through the classic 1978 C programming book written by Ritchie and Kernighan.

C Programming - freeCodeCamp.org

a puzzle! 

cc4e.com

Spoiler 42

Saturday, February 24, 2024

Linux "Homelab"





What is a Homelab and Why Should You Have One?

Homelab is the name given to a server (or multiple server setup) that resides locally in your home and where you host several applications and virtualized systems for testing and developing or for home and functional usage.

This server can be a simple tower or small PC or a Raspberry Pi like device or a repurposed professional server that you can acquire from companies who discard them due to their age but are still usable.


Groq: AI chip company; LPU

CPU, GPU, ... LPU = Language Processing Unit

overnight success, 8 years in making...

it is much faster than ChatGPT!

Groq 

 World, Meet Groq - Groq

Groq is introducing a new, simpler processing architecture designed specifically for the performance requirements of machine learning applications and other compute-intensive workloads. The simpler hardware also saves developer resources by eliminating the need for profiling, and also makes it easier to deploy AI solutions at scale.

E167: Nvidia smashes earnings (again), Google's Woke AI disaster, Groq's LPU breakthrough & more - YouTube All-in Podcast @YouTube


Groq: Overview | LinkedIn

Groq - Crunchbase Company Profile & Funding

AI Chip Startup Groq, Founded By Ex-Googlers, Raises $300 Million To Power Autonomous Vehicles And Data Centers


The Fastest AI Chip in the World Explained - YouTube








Google Cloud for Startups: AI or web3

"free" money, or "credit?"



Up to $200,000 USD (up to $350,000 USD for AI startups) in cloud credits over 2 years

On top of the benefits in the Google for Startups Cloud Program,
there are additional benefits for AI startups or Web3 startups.

HTML to MD (MarkDown) to HTML

node-html-markdown - npm

58K downloads, MIT

crosstype/node-html-markdown: Fast HTML to markdown converter for NodeJS or the browser @GitHub


turndown - npm

486K downloads, MIT

mixmark-io/turndown: 🛏 An HTML to Markdown converter written in JavaScript @GitHub


showdownjs/showdown: A bidirectional Markdown to HTML to Markdown converter written in Javascript @GitHub MIT lincense

Showdown is a JavaScript Markdown to HTML converter, based on the original works by John Gruber. Showdown can be used client side (in the browser) or server side (with Node.js).

Showdownjs - A markdown to HTML converter

Introduction - Showdown documentation

showdown - npm
585K downloads, MIT



Friday, February 23, 2024

Nvidia stock price growth

+$270B in a day!

Markets News, Feb. 23, 2024: Stocks Close Mixed to Cap Winning Week; Nvidia Briefly Tops $2T

Nvidia (NVDA) briefly jumped above a $2 trillion market capitalization in early trading, making it only the fourth U.S. company to reach the milestone. The company added $270 billion to its market cap yesterday in the largest ever single-day jump in market value.

nvidia stock price - Google Search

E167: Nvidia smashes earnings (again), Google's Woke AI disaster, Groq's LPU breakthrough & more -
All-in-podcast @YouTube

revenue



ML training data: Bikeshare rides

 System Data | Capital Bikeshare

...  invite developers, engineers, statisticians, artists, academics and other interested members of the public to use the data we provide for analysis, development, visualization

Index of bucket "capitalbikeshare-data"



AI: Semantic Kernel vs LangChain

Semantic Kernel 101

Currently, the Copilot approach rules the artificial intelligence (AI) world, and in that world, Microsoft created Semantic Kernel as a framework for building its own Copilots. Now, you can use Semantic Kernel too. Semantic Kernel (SK) is an open-source AI framework, created by Microsoft for .NET, Python, and Java developers working with Large Language Models (LLMs). Its purpose is threefold: To abstract away the underlying LLMs, APIs and tooling; to handle more complex implementations in a generic way; and to make it easy to integrate your own content. Semantic Kernel is very similar to LangChain, a popular open source LLM framework for Python and JavaScript





C#, Python, Jupyter




LangChain is a framework designed to simplify the creation of applications using large language models (LLMs). As a language model integration framework, LangChain's use-cases largely overlap with those of language models in general, including document analysis and summarizationchatbots, and code analysis.

Python, Jupyter


Thursday, February 22, 2024

Microsoft Cloud Skills Challenge | 30 Days to Learn It

Microsoft Cloud Skills Challenge | 30 Days to Learn It

Become eligible for 50 percent off the cost of a Microsoft Certification exam by completing a challenge within 30 days


Microsoft Azure AI courses @ Coursera

Microsoft Azure AI Fundamentals AI-900 Exam Prep | Coursera

available "audit" as a free option, with some limitations

besides good video introductions, the courses include many exercises
that require Azure subscription (free trial available)

Artificial Intelligence on Microsoft Azure
Course 1•3 hours•4.6(326 ratings)

Microsoft Azure Machine Learning
Course 2•11 hours•4.5(156 ratings)

Computer Vision in Microsoft Azure
Course 3•8 hours•4.7(70 ratings)

Natural Language Processing in Microsoft Azure
Course 4•7 hours•4.7(72 ratings)

Preparing for AI-900: Microsoft Azure AI Fundamentals exam
Course 5•9 hours•4.7(67 ratings)


Wednesday, February 21, 2024

Hyperloop in China?

China just proved that Elon Musk's Hyperloop idea was actually genius - YouTube

a "maglev" fast train in partial vacuum... very expensive, very fast, but how useful?

Maglev - Wikipedia

Is China is running out of expensive mega-projects?

Hyperloop as originally proposed would not be as expensive, and would be useful.

In fact it was proposed as a better alternative to "fast trains"

Hyperloop - Wikipedia


ASP.NET basics for experts

.NET intro from experts on other platforms, such as Java... 

ASP.NET Basics for Experts | Microsoft Learn

what if you could take your web applications to the next level just by getting the fundamentals right?

.NET Conf 2023


Hanselminutes Technology Podcast - Fresh Air and Fresh Perspectives for Developers - ASP.NET Basics for Experts with Layla Porter



Monday, February 19, 2024

freeCodeCamp: C#

Hanselminutes Technology Podcast - Fresh Air and Fresh Perspectives for Developers - Education should be Free with FreeCodeCamp's Quincy Larson

with Quincy Larson, the teacher who founded freeCodeCamp.org
+ new C# Certification program in partnership with Microsoft and freeCodeCamp, empowering learners to master this powerful language and build their tech careers.

(New) Foundational C# with Microsoft Certification | freeCodeCamp.org

a comprehensive introduction to C# programming, covering its core concepts, syntax, and practical application in software development.


course: WebAssembly (WASM) @ KodeKloud

interesting convergence: DevOps, K8s, Dev

Exploring WebAssembly (WASM) - KodeKloud

Unlock the power of WebAssembly (WASM) with our comprehensive course, diving deep into its foundational principles and unveiling its transformative applications in modern web development and cloud computing




Sunday, February 18, 2024

StoryGraph DB,AI: Cloud => baremetal, with Cloud 66

2 people startup, 2 millions of users (!), profitable!

to keep it functioning and profitable,
needed to move out of (PaaS) cloud (Heroku) to "baremetal cloud",
with Cloud 66 · Everything you need to run your code to any cloud

Rails + "local" DB, local AI

excellent podcast!

Hanselminutes Technology Podcast - Fresh Air and Fresh Perspectives for Developers - Local AI empowers startups with StoryGraph's Rob Frelow


The StoryGraph | Because life's too short for a book you're not in the mood for


The StoryGraph - Wikipedia

The StoryGraph (sometimes shortened to just "StoryGraph") is a social cataloguing web platform for books, serving as a competitor of Goodreads (an Amazon-owned social cataloguing platform). The StoryGraph received awareness after Book Riot covered the platform's assets, including more personalized recommendations for readers, customized ratings options (including half-star and quarter-star ratings), and its non-affiliation with Amazon. The StoryGraph uses a freemium model, with some features only available in the paid subscription plan.

The StoryGraph | Our Team

A Word of Warning | Nadia Odunayo | TEDxUCSD - YouTube TED talk

Getting to One Million Users as a One-Woman Dev — Nadia Odunayo - YouTube Rails talk

Nadia Odunayo | LinkedIn


example book:

Areté: Activate Your Heroic Potential by Brian Johnson | The StoryGraph
Powered by AI (Beta)
Areté: Activate Your Heroic Potential by Brian Johnson is a good fit for individuals seeking practical tools and ancient wisdom to help them overcome life's challenges and fulfill their destiny, with a focus on personal growth and self-improvement.


Is Cloud 66 a "new Heroku?"

Why "baremetal" / dedicated cloud? to get predictable performance and cost, no "noisy neighbor" and security issues, and for sw licensing. Examples:


strangely, Oracle cloud is not listed on Cloud66, while this is one of differentiating features Oracle is claiming... 

similar functionality: dedicated hosts


Dome Homes, NJ

575 Atsion Rd - Google Maps

575 Atsion Rd, Vincentown, NJ 08088 | Zillow