# murrell (blogs) — RSS Amplifier

Recent posts from the 2 feeds in the RSS Amplifier directory that cover murrell.

Page: <https://rssamplifier.com/topics/murrell/blogs>  
Feed: <https://rssamplifier.com/topics/murrell/blogs.md>

---

## [Most string operations aren't safe](https://sjp.co.nz/posts/most-string-operations-arent-safe/)

_2026-08-11 · Simon Potter_

I have been doing common string operations incorrectly for most of my career, and I suspect you have too. Take this truncation function: public static string Truncate ( string value , int maxLength ) { return value . Length \> maxLength ? value . Substring ( 0 , maxLength ) : value ; } Looks fine. Here&rsquo;s what it does with a string containing an emoji: var hello = "hello! 👋 nice to meet you"…

## [AvroTools](https://sjp.co.nz/projects/avrotools/)

_2025-03-17 · Simon Potter_

AvroTools is a collection of tools, written in C# to work effectively with the Avro schema and serialization file formats. Features AvroTools supports the following features that are improvements upon the largely Java-based implementation provided by Apache. Compile Avro IDL to an Avro Protocol . Compile Avro IDL to Avro Schema . Generate C# classes for protocols and schemas. The generated code is…

## [Get WiFi](https://sjp.co.nz/projects/get-wifi/)

_2025-03-17 · Simon Potter_

Get WiFi is a small Preact website that generates QR codes to connect to WiFi in the browser. It is currently hosted at getwifi.link . Unlike some similar websites, the QR codes are entirely generated in the browser. Primarily the website was intended as a learning experience. Not only for building certain features and to become familiar with some npm packages, but also to keep bundle sizes as…

## [Is My ID Leaky?](https://sjp.co.nz/projects/is-my-id-leaky/)

_2025-03-17 · Simon Potter_

Is my ID Leaky? is a simple Preact website that detects whether an identifier could reveal more information than intended. The site is currently hosted at ismyidleaky.com . It is currently capable of detecting the following: Common integer identifiers ULIDs v1 UUIDs v7 UUIDs K-Sortable Unique Identifiers MongoDB ObjectIds Snowflake IDs , including support for various platforms. To summarise, the…

## [Tanstack Query SharedWorker Persister](https://sjp.co.nz/projects/query-shared-worker-persister/)

_2025-03-13 · Simon Potter_

Tanstack Query is a popular library for managing browser API requests and their associated state. One useful feature it provides is a query cache, preventing unnecessary network requests for the same resource. By using the @sjpnz/query-shared-worker-persister package, it is possible to share this cache across multiple tabs and windows. The sharing of a cache is possible due to a SharedWorker that…

