
William Leme
Designing the System
Adding live data to a local SLM running off a docker container in raspberry pi and preserving the context. We will build a .net console app that connects to the Ollama instance using the Microsoft.Extensions.Ai nuget package
Upon updating a node version you may see the following message stating your npm is not compatible with the newly installed nodejs version
1 2 3 4 5 npm WARN npm npm does not support Node.js v14.18.1 npm WARN npm You should probably upgrade to a newer version of node as we npm WARN npm can't make any promises that npm will work with this version. npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11, 12. npm WARN npm You can find the latest version at https://nodejs.org/ Solution
C# 9.0 introduces a new type called record type which is an immutable reference type with a ‘built-in’ value-based comparison. It’s inumattble because once the object is created it cannot be changed.
The example below creates 2 structures. A Record and a regular Class 1 2 3 4 5 6 7 8 9 10 11 public record CarRecord { public string Maker { get; } public CarRecord(string maker) => (Maker) = (maker); } public class CarClass { public string Maker { get;} public CarClass(string maker) => Maker = maker; }
Sql Server for linux has been around for a bit but it’s only designed for x86 architectures which means not compatible with ARM therefore not possible to use it on a raspberry pi.
but then Microsoft introduced Azure Sql Edge
What is Azure SQL Edge?
Azure SQL Edge is an optimized relational database engine geared for IoT and IoT Edge deployments. It provides capabilities to create a high-performance data storage and processing layer for IoT applications and solutions. Azure SQL Edge provides capabilities to stream, process, and analyze relational and non-relational such as JSON, graph and time-series data, which makes it the right choice for a variety of modern IoT applications.
In this tutorial we will be creating a blazor component that receives the chart data and passes it to the Chart js library. This component will be limited to a Pie and Bar types but the idea is the same in case you want to implement other types.
How to use Ionic Web Components in a Blazor Web Assembly App
A url shortener web app built in NodeJs + EJS + MongoDb + Redis
How to check if all the environment variables are set in production ?
Where should you store a json web token in a single page application ? Local storage ? a Cookie ?
After almost 3 years of flawless service availability my app service came to a halt with the following event entry