Saturday, April 29, 2023
AssemblyScript is *not* a subset of TypeScript - DEV Community"
Designed for WebAssembly: AssemblyScript targets WebAssembly's feature set specifically, giving developers low-level control over their code.
Familiar TypeScript syntax: Its similarity with TypeScript makes it easy to compile to WebAssembly without learning a new language.
Right at your fingertips: Integrates with the existing Web ecosystem - no heavy toolchains to set up. Simply npm install it!
CodeWhisperer is trained on billions of lines of code and can generate code suggestions ranging from snippets to full functions in real time based on your comments and existing code. Bypass time-consuming coding tasks and accelerate building with unfamiliar APIs.
Friday, April 28, 2023
Ilya Sutskever is the co-founder and chief scientist of OpenAI, which aims to build artificial general intelligence that benefits all of humanity. He leads research at OpenAI and is one of the architects behind the GPT models. In this conversation with Stanford adjunct lecturer Ravi Belani, Sutskever explains his approach to making complex decisions at OpenAI and for AI companies in general, and makes predictions about the future of deep learning.
no dependencies! MIT
Chess AI (https://zeyu2001.github.io/chess-ai/)
A step-by-step guide to building a simple chess AI @ freecodecamp
Deno-Chess is a speedy pure-Typescript chess engine. It is packaged for Deno, as well as for the browser (TypeScript, MIT)
Thursday, April 27, 2023
DIY "alternative" to ChatGPT
Run LLaMA and Alpaca on your computer.
Wednesday, April 26, 2023
"To understand what makes Alpine a bad choice in some situations, we first need to talk about musl. musl is an implementation of C standard library. It is more lightweight, faster and simpler than glibc used by other Linux distros, such as Ubuntu. Both of these implementations are interchangeable for the most part, that's why in most cases you can switch from e.g., Ubuntu to Alpine and never notice any difference.
However, the little differences can cause all the grief. Some of it stems from how musl (and therefore also Alpine) handles DNS (it's always DNS), more specifically, musl (by design) doesn't support DNS-over-TCP. Usually, you would not notice this difference, because most of the time a single UDP packet (512 bytes) is enough to resolve hostnames... until it isn't enough and your application (running on Kubernetes) that previously worked completely fine for months suddenly starts throwing "Unknown Host" exceptions for one particular (very critical) hostname. The worst part is that this can manifest randomly, anytime when some external network change causes the resolution of some particular domain to require more than the 512 bytes available in single UDP packet.
By using Alpine, you're getting "free" chaos engineering for you cluster."
Tuesday, April 25, 2023
Monday, April 24, 2023
Stack Overflow is a multi-tenant monolithic application serving 2 billion monthly page views across 200 sites.
Sunday, April 23, 2023
Learn to build configuration file readers, data readers, model-driven code generators, source-to-source translators, source analyzers, and interpreters. You don’t need a background in computer science—ANTLR creator Terence Parr demystifies language implementation by breaking it down into the most common design patterns. Pattern by pattern, you’ll learn the key skills you need to implement your own computer languages.
ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files. It's widely used to build languages, tools, and frameworks. From a grammar, ANTLR generates a parser that can build and walk parse trees.
- Complete ANTLR 4.12.0 Java binaries jar. Complete ANTLR 4.12.0 tool, Java runtime and ST 4.0.8, which lets you run the tool and the generated code.
- ANTLR 4.12.0 Java runtime binaries jar. Only what's needed for building and executing parsers/lexers generated in Java.
to achieve this one way is to set fixed version of antlr4.js in node.js package.json file
ANTLR examples from Strumenta
VS Code plugins
Saturday, April 22, 2023
ANTLR + Kotlin
How To Create Pragmatic, Lightweight Languages (extract, 3 chapters)
Friday, April 21, 2023
Google Colab. Bard can also help with writing functions for Google Sheets.
Collectively, this means that Bard, the generative AI experiment Google launched earlier this year, can review and help users debug their source code line by line. Google said developers can tell Bard “this code didn’t work, please fix it,” and it will help debug.
It can also translate code from one language to another and explain code snippets, a helpful feature for those new to programming.
Thursday, April 20, 2023
(FAA) has marked 17 April as the primary launch date. There are also backup launch dates in place for 18-22 April, according to the FAA’s Operation Plans Advisory report.
Wednesday, April 19, 2023
- Inline Overlays - Declarative overlays are now available on all overlay components
- Consistent Event Emissions - ionChange will only fire as a result of user interaction
- Simplified Form Control Syntax - Improved compatibility with assistive technologies and less code boilerplate
- Performance Improvements - Tab switches are up to 70% faster than they were in v6
- And so much more...
Are new AI technologies like ChatGPT about to massively disrupt our world? Drawing from his recent New Yorker article on the topic, Cal explains exactly how programs like ChatGPT work, and uses this knowledge to explain why we can calm our fears about this new technology.
Tuesday, April 18, 2023
Auto-GPT is an experimental open-source application showcasing the capabilities of the GPT-4 language model. This program, driven by GPT-4, chains together LLM "thoughts", to autonomously achieve whatever goal you set. As one of the first examples of GPT-4 running fully autonomously, Auto-GPT pushes the boundaries of what is possible with AI.
What is the singularity? On this explainer, Neil deGrasse Tyson gets some help from futurist, author, and inventor, Ray Kurzweil, to explain our eventual merge with computers. Could a machine pass a Turing test as soon as 2029?
The Singularity Is Nearer , Kurzweil, Ray - Amazon.com
Monday, April 17, 2023
Jellyfin is a free and open-source media server and suite of multimedia applications designed to organize, manage, and share digital media files to networked devices. Jellyfin consists of a server application installed on a machine running Microsoft Windows, macOS, Linux or in a Docker container, and another application running on a client device such as a smartphone, tablet, smart TV, streaming media player, game console or in a web browser. Jellyfin also can serve media to DLNA and Chromecast-enabled devices. It is a fork of Emby.
$130 (used, 1 year warranty)
SymPy is a Python library for symbolic mathematics. It aims to become a full-featured computer algebra system (CAS) while keeping the code as simple as possible in order to be comprehensible and easily extensible. SymPy is written entirely in Python.
Sunday, April 16, 2023
used by new version of MS Teams, claims to be 2x faster, whatever this means...
it is also well integrated with dotnet, in addition C++/node.js,
"should" be able to also support non-Windows platforms, to be investigated...
Never forget that anything you share with ChatGPT is retained and used to further train the model. Samsung employees have learned this the hard way after accidentally leaking top secret Samsung data.
also an interesting view on "machine intelligence"
and interestingly, humans also have "sub consciousness mind", focused on tasks.
and they also has APIs to integrate with "agents" to perform actions.
Max Tegmark is a physicist and AI researcher at MIT, co-founder of the Future of Life Institute, and author of Life 3.0: Being Human in the Age of Artificial Intelligence.
Max's Twitter: https://twitter.com/tegmark
Yann LeCun and Andrew Ng: Why the 6-month AI Pause is a Bad Idea - YouTube
Saturday, April 15, 2023
Friday, April 14, 2023
a first hand view / experience from Microsoft Research...
Thursday, April 13, 2023
Wednesday, April 12, 2023