A Surprising Python Gotcha - Clashing Package Names
Written after a frustrating day dealing with two Python packages trying to use the same module namespace - and learning the surprising way that Python (doesn't) handle this.
Personal portfolio and assorted projects of Joshua Tzucker.
Written after a frustrating day dealing with two Python packages trying to use the same module namespace - and learning the surprising way that Python (doesn't) handle this.
Some random notes about issues encountered when developing with Astro for the first time, and fixes I came up with.
Why I've let myself fall prey to the age-old developer trap of rewriting my personal site yet another time.
A look at my favorite features of Svelte, comparisons to React and other frameworks, and what makes it a joy to use.
What are bash heredocs (Here Documents), and why they are so fun and useful to have. Covers both the basics and advanced usage and tricks.
How to write or paste Markdown into Slack messages and have it formatted correctly, while still keeping the format toolbar, by using HTML pasting.
Why we should all care more about higher-level documentation, a way to view documentation as a funnel, and an explanation of how things have changed.
A list of things I wish I had known sooner about using pytest and some general tips on usage and productivity with it.
How to delete all last.fm scrobbles of a specific track or album, with Tidal Advertisements as an example.
Simple JavaScript snippet to manage YouTube history in bulk
How to bypass the network connectivity error when trying to factory reset a Nook Simple Touch ereader from Barnes & Noble.
How to support the site, myself, and the content I produce.
I wrote several of the posts in this series, on how to build static web sites with the Gatsby.js framework, working with a Senior Technical Editor to get articles from idea to publication.
How to determine point intersection or collision detection with Canvas paths, with or without tolerances / buffers / padding.
An introductory guide to the different parts of Google Lighthouse, how to use it via CLI and NodeJS, and strategies for customizing its configuration.
How to use WebViewClient with Android WebView to hook into network requests, intercept them, and block or modify them if they match certain rules.
Demo weather app project, using Svelte, TypeScript, and Express to power a web interface with a location-based forecast, powered by the AccuWeather API.
Approaches for using CSURF for CSRF protection, but only on certain routes, and some with the ability to extract the generated token from the request.
Resources and information about the WaveShare line of NFC-Powered Passive E-Ink / E-Paper modules, complete with teardown pictures and some development tips.
Native Android application (Kotlin and Java) to update WaveShare Passively Powered NFC E-Paper Modules over NFC, and generate bitmaps for them.
How to use WebViewAssetLoader and WebViewClient, with Kotlin code and syntax, to load local HTML files from asset folders into a WebView component.
CLI and module for packing files into directories or archives, based on ignorelist files and glob patterns. Built with TypeScript and NodeJS, and highly configurable.
How to use TypeScript with WordPress Blocks and the Gutenberg environment. Covers config changes, necessary dependencies, and some possible issues.
How to use the Arc Canvas Web API method to draw partial filled circle segments, including quarter circles, and even with added rotation.
Reasons why every developer should care about documentation. Personal, business, and practical reasons why writing documentation is worth it.
How to use TypeScript, or JSDoc-powered JavaScript, with Service Workers, as well as some important caveats for current issues.
NodeJS-powered automation that extracts all the tutorial docs out of the Svelte repo and combines them into a single formatted HTML document.
A fun browser-based ring light / fill light app, that lets you control a virtual light on your screen.
How to split a string into individual characters in Google Sheets, using a pure formula approach. Even handles line breaks and special characters.
Project write-up for Brain Breaks Browser - a simple Preact-based web app to manage fun break exercises and activities, with a few added bells and whistles.
A guide on using SVG files with Svelte, and how to embed, inline-directly, or reference them, with or without rollup plugins.
A step-by-step guide on how to deploy a Preact app from a nested subdirectory, with instructions on updating Webpack, preact-router, and more.
Options for getting data feeds out of Google Sheets, avoiding slow-to-update published CSV feed URLs, and custom scripting with Google Apps Scripts.
A small web app with a shared login system to track the status of timed medication doses, as well as scheduled medications and therapy durations.
An effort to collect, categorize, and summarize some of the common CSS custom properties that are being used to maintain colors in modern theming approaches.
Want a clear visual indicator in your app or documentation so you know *exactly* which commit was pushed and successfully deployed? Then this post is for you.
An experimental project that delves into the idea of rendering non-video content in Picture-in-Picture windows, use-cases, and a discussion of the future.
Various ways to investigate stalled content attached to a MediaSource instance, and different causes that can be evaluated and tested.
Exploring different ways to append videos to a MediaSource instance with SourceBuffers and appendBuffer calls. Includes fully functional examples and tips.
The easy way to migrate from one subdomain to another, for the same site and primary domain, using Netlify Redirect settings and Custom Domain Aliases.
A comprehensive write-up on different ways to convert and use binary data in front-end JavaScript code, web browser APIs, and even your local filesystem.
An evaluation of different ways to backup and export Firefox Bookmarks, both manually and via automated scripts and tools.
A short guide on how to get and use local binary paths for packages installed through NPM or Yarn, under node_modules, for multiple OSes.
How to launch a shell with NodeJS, keep it open, and pipe commands in while capturing output. Also, a discussion on how this impacts performance.
A reusable method for adding arbitrary extra HTML attributes to enqueued styles and scripts in WordPress, using add_data and filters.
Online educational addition game, where you try to create sets of playing cards that add up to 10. Built with Svelte and TypeScript, published as open-source.
Researching and summarizing offline database options for modern web applications, including low-level APIs, helpful wrapper libraries, SDKs, and more.
How VSCode Snippets can be used to add support for a customizable Emoji-Log picker, with just a few lines of code you can paste into settings.
How to use various tools to extract the word count from a markdown file, or even the summed count across multiple nested markdown files.
How to disable Chrome's default stdout log messages that come through Selenium Webdriver on NodeJS, such as the "DevTools listening on ws..." message.