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

Image may be NSFW.
Clik here to view.

Parse Json using Python with GitHub Copilot

This blog article shows you how to use GitHub Copilot to generate Python code to parse Json file. To setup GitHub Copilot environment see Create a Selection Sort in C# using GitHub Copilot In the...

View Article


Image may be NSFW.
Clik here to view.

Install MongoDB in Windows Operating System

This blog article shows you how to install MongoDB locally. First download the msi from the URL at the bottom of the blog. Run the msi file, for me is mongodb-windows-x86_64-7.0.12-signed.msi but your...

View Article


Image may be NSFW.
Clik here to view.

Read MongoDB Database using Python

This blog article shows you how to read MongoDB data using Python. Below is the code snippet read the MongoDB database name mymongodb and collection mymongocol in a local MongoDB server...

View Article

Image may be NSFW.
Clik here to view.

ASP.NET Wen Application (.NET Framework) template missing

This blog article shows you how to get back the missing template, ASP.NET Web Application (.NET Framework). In many videos, they will ask you to add the .NET Framework project and item templates....

View Article

Image may be NSFW.
Clik here to view.

MS SQL avoid primary key conflict when migrating data

This blog article shows you how to avoid primary key conflict when migrating the data from the previous database table to the current database table, assuming they have the same column. I use Products...

View Article


Image may be NSFW.
Clik here to view.

How Microsoft Secures Generative AI

Get guidance and insights on how to implement a secure generative AI process for your organization. In this white paper, you’ll explore ways that Microsoft helps you use AI safely. Read this white...

View Article

Image may be NSFW.
Clik here to view.

TCP IP Socket programming using Python

This blog article shows you how to create a simple TCP listener and client. This code sets up a basic TCP server using Python’s socket module. Here’s a step-by-step explanation: #1. Import the socket...

View Article

Image may be NSFW.
Clik here to view.

Inspired by AI: Six Copilot Use Cases

Copilots have quickly become essential to delivering fast, personalised digital experiences that boost employee productivity and customer engagement. To accelerate business growth with these...

View Article


Image may be NSFW.
Clik here to view.

CTO August 2024 articles and resources

These are the good reads found in this month. Is the gen AI bubble due to burst? CIOs face rethink ahead · Two out of three succeed · Think broadly · Take a measured approach…...

View Article


Image may be NSFW.
Clik here to view.

Generate Insert Statement from MS SQL Table

This blog article shows you a code snippet to generate INSERT statement based on the data in a SQL Server table. The code snippet is as follows. static void ExtractDataToInsertStatements(string...

View Article

Image may be NSFW.
Clik here to view.

Insert XML to MS SQL Server XML Column

This blog article shows you how to insert a XML file into MS SQL Server XML column. The code snippet below writes to the XML column in SQL Server database table. static void Main(string[] args) {...

View Article

Image may be NSFW.
Clik here to view.

Save MS SQL Server XML column to a file

This blog article shows you how to save the content in MS SQL Server database XML column to a file. The code snippet below saves the XML column to a folder path_to_save_xml_files. static void...

View Article

Image may be NSFW.
Clik here to view.

VBA Round to Only the First Digit

This blog article shows you how to round to the first digit and set the rest of the digits to 0. The code snippet to do that as follows. Sub Round_to_the_nearest_thousand()     Dim dbl1 As Double...

View Article


Image may be NSFW.
Clik here to view.

Gen AI is a game-changer for modern work

AI is already transforming organisations and the way people work by empowering people to create more business value. CIOs who prepare for implementing GenAI across their enterprise will successfully...

View Article

Image may be NSFW.
Clik here to view.

CIO strategy guide: Managing organisational impacts of generative AI

Introduce and manage AI strategies across your organisation with comprehensive insights, tips and advice from experts for ongoing AI adoption. This blog is originated form here...

View Article


Image may be NSFW.
Clik here to view.

Copilot for Microsoft 365 Adoption Playbook

Explore actionable steps to quickly become an AI-powered organisation, accelerate AI usage and track your company’s progress and impact. This blog is originated form here...

View Article

Image may be NSFW.
Clik here to view.

SQL Server compare column to column

This blog article shows you how to compare column by column with two database tables. The condition is the column name and data type must be the same. The code below compares 2 tables. static void...

View Article


Image may be NSFW.
Clik here to view.

Azure Map C# REST SDK

This blog article shows you how to use Azure Map to find the Geolocation. You can follow the link at the bottom to install the NuGet packages. You need to create a Azure Map in portal.azure.com with a...

View Article

Image may be NSFW.
Clik here to view.

Create MS SQL Server Database Table Relationship using Python

This blog article shows you how to extract the primary and foreign keys from MS SQL Database. The code snippet as follows. import pyodbc import pandas as pd # Connect to the SQL Server database conn =...

View Article

Image may be NSFW.
Clik here to view.

‘charmap’ codec can’t decode byte 0x81 in position

This blog article shows you one possible way to resolve the error “’charmap’ codec can’t decode byte 0x81 in position.”. When you execute the code below.     with open(input_file, ‘r’) as file:...

View Article
Browsing all 1938 articles
Browse latest View live


Latest Images