#654 — September 14, 2023
Jarred Sumner et al.
Why Does every() Return true for Empty Arrays? — Nicholas wondered how a condition can possibly be satisfied when there aren’t any values to test, so he dug into the language specs to understand the logic.
Nicholas C. Zakas
The Complete UI Component Library For Enterprise Web Apps — A professional UI component library with power widgets like data grid, calendar, scheduler & Gantt charts. Includes API docs, guides and an unreasonable amount of demos to play with. Seamlessly integrates with React, Angular, Vue & Salesforce apps.
A First Look at TypeScript 5.3 — TypeScript 5.2 landed a few weeks ago, which means TypeScript 5.3 is already in the works (the final release is due in November), with possible features to think about including Import Attributes, throw expressions, and isolated declarations.
⚡️ IN BRIEF:
📅 ViteConf is taking place this October 5-6. It’s free and online.
The August 2023 build of VS Code has just been released and includes improvements to the JS debugger including WebAssembly module decompilation, as well as Move to File and Inline Variable refactorings.
Esteemed Microsoft code archaeologist Raymond Chen looks at how freestanding JS functions using this can be mistaken for a constructor by VS Code’s static analyzer.
MikroORM 5.8 – Powerful Node.js ORM.
Reason 3.10 – Write code in OCaml, but for the JS ecosystem.
Happy DOM 11.0 – A JS implementation of a web browser sans UI.
📒 Articles & Tutorials
▶ Building a Mario Game Complete with Auth and Score Saving — Ania tackles the implementation of a game in her usual thorough, step-by-step manner.
Running a Playwright Script on AWS Lambda — If you’ve struggled to make it work too, Matt has some pointers.
How to Run a GitHub Gist with npx — This is an interesting way to quickly deploy a script.
🕑 Lei Mao has a cute example of using React in an ad-hoc way on a web page to dynamically render an analog clock. No build step. No JSX.
▶️ Jack Herrington refutes six reasons not to use React.
🛠 Code & Tools
Shadcn for Vue: Components You Can Copy and Paste — A community-led Vue port of the React-oriented shadcn/ui, a suite of attractive components built with Tailwind CSS and Radix UI, thus making them easy to ‘copy and paste’ into your own apps.
Radix Vue Project
Wijmo from GrapeCity sponsor
npm-check-updates: Update package.json Dependencies to Latest Versions — That is, as opposed to the specified versions. It include a handy -i interactive mode so you can look at potential upgrades and then opt in to them one by one.
Starry Night 3.0: GitHub-Like Syntax Highlighting — GitHub’s own syntax highlighter isn’t open source, but Starry Night uses WebAssembly (to get access to the Oniguruma regex engine) to get as close as it can.
Goxygen 0.7: Quickly Generate a Go Backend for a JS Project — A tool that sets up a new Go-based project with Angular, React, or Vue in the front-end, and Docker and Docker Compose files to make it all work.
Amazon Web Services (AWS) sponsor
Accessible Astro Starter 3.0
↳ A starter theme for an Astro-powered blog.
Ant Design 5.9
↳ Popular React UI library & design language.
📊 Reveal.js 4.6 – Write presentations in HTML.
Joshua Lochner et al.
Microsoft TypeChat: An Approach for Type-Safe LLM Responses — Anders Hejlsberg and Daniel Rosenwasser of TypeScript fame are just two of the prominent names attached to this project, demonstrating the huge interest within MS for LLMs. TypeChat’s goal is to work around the issue of LLMs outputting unstructured natural language and to direct output into a typed form.
Hejlsberg, Lucco, Rosenwasser et al.
Loraine Lawson (The New Stack)
▶ A Primer on AI for Developers with Swyx from Latent Space
As part of my interest in AI and ML, I’m attending what promises to be the technical AI event of the year in San Francisco next month: The AI Engineer Summit.
The emerging ‘AI engineer’ category is at the intersection of AI/ML and code: where software engineers can access and implement powerful AI models with just an API. Andrej Karpathy believes that “there’s probably going to be significantly more AI engineers than there are ML engineers / LLM engineers.”
If you’re going to the AI Engineer Summit, I’ll see you there!