Quantcast
Channel: Chanmingman's Blog
Browsing all 1938 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Hyper V This PC can’t run Windows 11

This blog article shows you one of the possible ways to resolve the error “This PC can’t run Windows 11”. After I created a VM using Hyper V Manager and I was installing Windows 11 halfway through and...

View Article


Image may be NSFW.
Clik here to view.

Create ASP.NET Core Web API using Visual Studio Code

This blog article shows you how to Create ASP.NET Core Web API using Visual Studio Code. I was following the article at my reference at the end of this article. I only installed .NET 7 SDK and Visual...

View Article


Image may be NSFW.
Clik here to view.

pip Not Found After Installing Python

This blog article shows you one of the possibilities the pip is missing after installing Python. When you choose Customize Installation while installing Python. You will see a window below. I choose...

View Article

Image may be NSFW.
Clik here to view.

Write python code to read PostgreSQL Database

This blog article shows you how to write python code to read PostgreSQL database. The database name is test and table name is person. To read data from a PostgreSQL database named “test” and a table...

View Article

Image may be NSFW.
Clik here to view.

Distinct Count in Excel Pivot Table is not showing

This blog article shows you one of the possibilities the Distinct Count is missing in Excel Pivot Table. When you right click on a Values field in Pivot Table. Go to Value Field Settings… You realize...

View Article


Image may be NSFW.
Clik here to view.

The MySQL server is running with the –secure-file-priv option so it cannot...

This blog article shows you one of the possible ways to resolve the error “The MySQL server is running with the –secure-file-priv option so it cannot execute this statement”. When I was executing the...

View Article

Image may be NSFW.
Clik here to view.

UnicodeEncodeError charmap codec can’t encode characters

This blog article shows you one of the possibilities to get rid of the error “UnicodeEncodeError: ‘charmap’ codec can’t encode characters” in Python. I ran the code, below is the code snippet. #...

View Article

Image may be NSFW.
Clik here to view.

Prepare your defences for the future of AI

AI is making it easier for cybercriminals to automate their attacks at an unprecedented rate. In the last 12 months, the number of password attacks Microsoft detects has more than tripled. To help...

View Article


Image may be NSFW.
Clik here to view.

Update MySQL from Excel using Python

This blog article shows you how to write a Python program to read an Excel file SateToClean.xlsx and update MySQL database. In Excel Column A is the id and column B is state. The database table name is...

View Article


Image may be NSFW.
Clik here to view.

Step through Python Code to Debug

This blog article shows you how to Step through Python Code for Debugging. For me, I installed everything in Python. From the installation I choose Customize installation. Select everything. Click...

View Article

Image may be NSFW.
Clik here to view.

Forrester Total Economic Impact™ Of Microsoft Azure AI

Explore the cost savings, increased work output, improved operational efficiency and legacy technology reduction that customers experienced using Azure AI. Read this 2023 Forrester Consulting study...

View Article

Image may be NSFW.
Clik here to view.

Cyberthreats increasingly target the world’s biggest event stages

High-profile gatherings like major sporting events are attractive targets for hackers who want to cause disruption. The interconnected devices and systems found in stadiums and venues give...

View Article

Image may be NSFW.
Clik here to view.

CTO October 2023 articles and resources

These are the good reads found in this month. What is an automation engineer? A growing role to address IT automation The automation engineer role What does an automation engineer do? Automation...

View Article


Image may be NSFW.
Clik here to view.

Exploring Polymorphism in C# Using Interfaces

Introduction Polymorphism is a fundamental concept in object-oriented programming, and in C#, interfaces provide a powerful way to implement it. Interfaces allow you to define a set of method...

View Article

Image may be NSFW.
Clik here to view.

Dynamic Array in C#

This blog article shows you how to declare Dynamic Array in C#. In the actual fact I do not think there is dynamic array in C#. This is how I do the “dynamic array” for C#. I have a Todo class as...

View Article


Image may be NSFW.
Clik here to view.

Inner Join without Primary Key

This blog article tells you why when you do inner join without a primary key or a unique value column is a problem. I have 2 tables. One user, the structure is as follows. CREATE TABLE [dbo].[user]...

View Article

Image may be NSFW.
Clik here to view.

Convert SqlDataReader to Json

This blog article shows you how to convert SqlDataReader to Json. In Dynamic Array in C#, we see how to return static data to Json. In this blog we extract the data from a Todo database table and...

View Article


Image may be NSFW.
Clik here to view.

Azure App Service Add Networking Rule

This blog shows you how to block the network traffic outside the Azure Virtue Network from Azure App Service. Go to Azure portal, go to the Azure App Service that you want to add the network rules....

View Article

Image may be NSFW.
Clik here to view.

Convert from IEnumerable to Array C#

This blog article shows you how to convert IEnumerable to Array in C#. I have a ASP.NET Blazor App to call the Web Api, Dynamic Array in C#. In Blazor App I defined a class same as the model class in...

View Article

Image may be NSFW.
Clik here to view.

ASP.NET Web API Token

This blog article shows you how to generate a JWT token for ASP.NET Web API. I will highlight the important code here. The complete code you can download from the link at the bottom. When you run the...

View Article
Browsing all 1938 articles
Browse latest View live


Latest Images