About:

David Sherret's personal site

Website:

Specializations:

Subscribe to RSS:
The blog post discusses the author's recent project, jsonc-morph, which simplifies JSONC manipulation in JavaScript. It contrasts the complexity of using the jsonc-parser npm package with the more intuitive API of jsonc-morph, whi...
The text discusses the importance of pre-allocating strings and bytes in Rust to optimize performance. It provides examples of code and solutions to the problem, including a crate called capacity_builder that simplifies the proces...
The text discusses the manipulation of JSONC files in Rust projects, specifically in Deno and dprint. It outlines the current approach, a discarded solution, the goal, and the newly released 0.26 version of jsonc-parser. It also p...

0file_test_runner

2025-02-04

The text discusses the challenges of writing integration tests in Rust and the author's solution, file_test_runner, which allows storing test definitions close to the files used in the tests and the expected output, doesn't requir...
The text discusses the release of dax for Deno, a cross-platform shell for JavaScript written in JavaScript. It explains the benefits of using dax and why it is now available on npm for users of Node.js. The author also shares the...
The author discusses discrepancies between their top artists and songs on Spotify and Last.fm, and the effort required to gather and analyze the data from both platforms. They explain how they obtained the data from Spotify and La...
The text discusses the required modifier in C# 11 and its impact on JSON deserialization. It highlights the issues faced after upgrading to C# 11 and the runtime exceptions encountered. The author also provides a solution to overr...
The post outlines a Rust crate called console_static_text, which logs text that can be updated at the bottom of a console window. It includes examples of how to use the crate, such as showing progress bars/messages, automatic word...
The text introduces a new tool called dax, which is a cross-platform shell tool for Deno. It outlines the advantages of using JavaScript over shell scripting languages and explains the features and capabilities of dax. The author ...
The post introduces a tool called wasmbuild, which has removed duplicate Rust -> Wasm build scripts, reduced contribution setup instructions, and added the ability to easily verify the build output committed to the Repo is up to d...
The post discusses how to speed up Prettier's format checking of a TypeScript codebase from ~40s to under 1s on the second run by using dprint as a code formatting CLI with the dprint-plugin-prettier plugin. It provides detailed i...