PostgreSQL in Azure
Last Month, I went to the Brisbane.net user group. The topic is PostgreSQL.PostgreSQL? How can it be related to .Net? You may think that that is more related to Linux. That is not. Azure got Postsqesql implementation, which is customized for Azure. Thus, that is performance quite good.
Moreover, that is more than half the price of the MS SQL server option. Lastly, EF core is fully supported by Postgresql. They are very suitable for a small-scale project. I will explore it for my membership management system.
Best way to download in MAUI
Due to the discontinuation of Google Podcasts, I am writing my own Podcast App for Android. I chose C# MAUI because I am a C# Developer, and I have used Xamarin (become a part of MAUI now) for years.
My first problem is the Podcast App; I need to load the RSS (XML) via HTTP. That is so easy. Same as other C# programs. Also, you can use to load any JSON information in different use case
Code
var client = new HttpClient(); | |
var string1 = client.GetStringAsync("https://podcast.rthk.hk/podcast/novamanage.xml").Result; | |
// deserailize |
Nowaday, Computer is not cheap
I need to do the machine learning. Therefore, I need to use Nvidia RTX card. Moreover, if you have something good, that is 14 th i9, and DDR5 64 to 128GB RAM. Because the CPU and graphical card, that is required a good cooling system. I need to Good Graphical Card, CPU and RAM. That required about AUD $5000. That is not easy..... I am thinking ASUS ROG NUC, that may be a better solution with lower price
PieChart of LiveChart
For using the PieChart, that is very easy, you just need to bind the series collection
Then I just need to get the data from my repo:
var categories = new ObservableCollection(_database.BudgetCategories.GetAllCategories());
SeriesCollection = new SeriesCollection();
foreach (var category in categories)
{
var budgetItems = new ObservableCollection(_database.BudgetItems.GetItemByCategory(category));
double amount = 0;
foreach (var item in budgetItems)
{
amount += (double) item.Amount;
}
var pieSeries = new PieSeries
{
Title = category.Name,
Values = new ChartValues { new ObservableValue(amount) },
DataLabels = true
};
SeriesCollection.Add(pieSeries);
}
}
Long-Term Usage Review for Oppo Finder X5 Pro
This is not a newly released phone. Thus, I did the long-term usage review. I have used that phone for about 8 Months. Generally, that is very happy. I brought the photo during two local trips. I used it as the primary camera for photos and video.
Actually, I bought this phone for photo taking. It has 50MP Camera. That is not bad. Moreover, it has Hasselblad-Branded Triple Camera Units. You can shoot the photo in Hasselblad color tone. Furthermore, it has A.I. Mode. I found it will tune the color, even it is better than your eyes. I got the feeling, it is a bit faked.
It has marisilicon X imaging npu. That is good for low light photography. I found it can enhance the light a lot.
I did not buy that for gaming purposes, although it should a good performance for gaming. Snapdragon 8 Gen 1 CPU and 12GB Ram, that is very good,
That is a flagship phone released on 2022, and the price around $800. I think that is a very value-for-money phone