Reading List
The most recent articles from a list of feeds I subscribe to.
Stefan Zweifel on storing user preferences in a Laravel application
Stefan Zweifel explains how he stores user preferences in a Laravel application using spatie/laravel-data. With the data package, you can store user settings as a blog of JSON in your database—so you don't need to update your table schema for every change—and have a typed object to work with in code.
He mentions poor query performance as a possible tradeoff if you need to query the database for a specific value.
One thing to keep in mind is that querying for specific settings can lead to performance issues and should probably be avoided.
If your app regularly needs to query for users who have selected a particular date_format , it's better to promote this setting to its own column. This makes the work of your database and possible indexing much easier.
If this is something you need, you could solve it with a virtual column mapped to a JSON value of the settings object. There's a nice tutorial on that on the Kirschbaum blog
Our incredible journey with Xeact
LinkedIn post about the Xeact acquisition by Techaro
Installing Jellyfin on TrueNAS Core
I always run into issues installing Jellyfin on TrueNAS core. I fix them, and then I forget a few months later, so these are just my notes to myself of how to install Jellyfin on TrueNAS core.
Instructions
Install based on these instructions:
We need to follow the advanced instructions because TrueNAS plugins are deprecated.
Gotcha: Jellyfin server is not available
The first few loads after installing, an error will appear saying Jellyfin isn’t available. For some reason, waiting a few minutes fixed the issue and let me create a new account.