Browsed by
Category: Code

Setting up a home AI model

Setting up a home AI model

I decided it’s about time we implemented our own AI model for home use. I took two approaches – a RAG model for analyzing and working with documents, and a general chat agent.

Display version number in Power Apps

Display version number in Power Apps

There’s lots of posts on this, but they seem to mostly point to something other than what I was looking for. Power Apps maintains versions every time we edit the app, so how do we do that?

Azure SQL password rotation script using PowerShell

Azure SQL password rotation script using PowerShell

We’re all aware of the importance of having strong passwords and changing them from time to time. Recently I made an effort to automate the process of updating my SQL Azure password using PowerShell.

PendingIntent on S+ devices

PendingIntent on S+ devices

One of my Android apps includes a widget that auto-updates both at a fixed interval (AlarmService) and when tapping on the widget. In the past this was accomplished with something like this (C# Xamarin): This has worked for years just fine, not realizing that S+ devices (or anything targeting version 31 or above) on Android requires a PendingIntentFlag value in that GetBroadcast call. A brief search returned how “easy” this is, just add in a flag for PendingIntentFlags.UpdateCurrent or PendingIntentFlags.Mutable…

Read More Read More