Saturday, August 31, 2024

Is it possible to connect to your WordPress server using Visual Studio Community edition?

 It is possible to connect to your WordPress server using VS Community Edition application. However, while installing Visual Studio Community you should also install ASP.NET and Web Tools (in here installed 17.10.344.38934). Without this you cannot connect to the WEB.

After installing the above (the ASP.NET and Web Tools can be installed from within an Open Visual Studio window), you can connect to the WEB as shown.



When you click Web to connect, you will get this response.


It does not get connected using the URL of your website, but the FTP site.

Finding the FTP site of WordPress:

On WordPress FTP is not supported on any kind of plan, be it premium or business. WordPress uses the Secure File Transfer Protocol (SFTP) for secure file transfers.

SFTC access is tied to the subscribers of the Business or eCommerce plans. If you are on any other plan, you need to upgrade.

You need to access the WordPress server's from your site as shown.

I only have a premium plan and I have no access.






Saturday, August 24, 2024

Which of these is better Bitcoin, Ethereum or Solana?

If you are wondering like me which of the crypto currencies are better, the answer is not simple. It depends on a number of things difficult to organize and analyze. 

Here is a picture summarizes what they are.



Monday, August 5, 2024

Why can't I find URL Rewrite feature in the IIS manager?

 In your Windows 11 Home, if you install Internet Information Services you may not find URL Rewrite feature in the features list.


You need to install it on your computer. You may download from here:


Down load URL Rewrite


If you install this rewrite_amd64_en-US.msi (specific to my architecture), then you will find the URL Rewrite feature in the IIS Manager as shown.



What is a virtual card?

There is always a concern that your credit card details for paying online may get to the wrong hands or gets retained, or leaked out.


The virtual card number that is created by your browser will be sent to the online transaction instead of your real card details.. The real card details will remain on your computer but the virtual details will be transmitted to the online transactions. This is available in the Edge browser. It is also called the Wallet or Edge Wallet.

Follow this link for setting it up in the Edge browser:

How to set up your Edge Wallet (thewindowsclub.com)

You need to do this on Chrome:


1. Open **Chrome**.

2. Navigate to `chrome://settings/payments`.

3. Make sure to turn on:

   - **Save and fill payment methods**.

   - **Allow sites to check if you have payment methods saved**.

4. Find the card you added to your Google Account.

5. Click **More**, then select **Turn on virtual card**¹.


 This enhances security and shields you against fraud. Remember that the virtual card number, expiration date, and CVC may differ from your physical card¹. 


Besides Internet browsers some financial companies also adopt this method to shield against fraud.


Saturday, August 3, 2024

The difference between services from the Control Panel and from the Windows Features

 There is a significant difference between the two. This is probably new in Windows 11.

I had to wade through a search, to home in on this difference because I could not enable Internet Information Services Manager by the legacy way of going through Windows Control Panel.

Control Panel --> Programs and Features-> Turn Windows Features on and Off

The above sequence displays the features in which the IIS is missing.

 


However, enabling Internet related items does install IIS. The IIS Manager can even be found in C:\Windows\system32\inetserv. It appears the IIS Manager is not fully functional according to Gemini.

It appears the correct way to enable IIS Manager is via Windows Features which brings up the same Turn windows Features on and off but now you can see the IIS.


Enabling IIS Manager through windows Features is the correct way and from the Services you can now turn on/turn off some of the services like IIS, .NET Framework, or Hyper-V. The windows services for most of other more operations like BitLocker Encryption, Storage management, file system operation, etc.

As Windows evolve things get changed continuously.

See also, here: https://stackoverflow.com/questions/30901434/iis-manager-in-windows-10

Tuesday, July 30, 2024

How do you work with image files in PyCharm - Part 1?

 Exploring image properties with PyCharm IDE

The image properties of a test image will be the target of our image exploration. In this part we create a project and bring in an image to the project.

Part 1: We create a PyCharm project and bring in an image into the project.

At first we create a new project in the PyCharm IDE. Here are some screenshots of creating a project.
File -> New Project brings up the next screen.


Change the name of the project to exploreImage.


Click create to create your project. You may get this screen. Choose New Window. Note that each project is usually window based. If you choose This Window, you will be adding the newly created project to another projects window.


Now imageExplore is the only project in the window that is open.


This is the default structure of a PyCharm project. It has a .venv directory and the main.py python program. This is the main entry point of the project. This has the initial logic and execution flow. It can be renamed and do not remove it. The .venv isolates your project and its dependencies from the other projects. The Scripts folder in .venv has many executable programs in addition to the python executable and other packages. You will learn a lot more about the project folder as we go through in due course.

Now we would like to create a new folder called Images wherein we place our images. It can be called in any way you choose to name.

Highlighting the exploreImage project a left click of the mouse brings up the following. Choose New -> Directory.


This should add a New Directory you can provide a custom name as shown.


However, the program does not create a new directory which it should. Even after exiting the PyCharm and reopening did not create the new directory.
Note: There  is some problem with PyCharm. However, we can create a directory using the file system in the Windows Explorer.







Monday, July 22, 2024

How do AI Chatbots fare with image creation?

We have seen that some of the chatGPT based chats (CoPilot,DALL-E 2, MidJourney, NightCafe  Creator, etc.) seem to work with both textual /image information. However, AI's interaction with text is lot more advanced than with the images. 

The difference between text, and image is analogous to structured data and unstructured data. Most of the textual information is highly ordered and structured, but that of the image is unstructured. Text may give a more intimate view into what it represents and it may even generate human-like text, but image gives only a give few of its attributes like shape, color, size and it may not be able to give the full context, like emotions. We can say at this point that text gives a higher contextual understanding than an image.

Image analysis using AI commonly known as computer vision has also made great advances but challenges are many. The probing of images by AI with research in deep learning and neural networks is narrowing this gap. Presently AI models are getting better at object detection, image recognition and generate images from text descriptions.

Here are some examples of images created from text:

Create a detailed picture of Ayodhya temple in India.

Co_Pilot tried to create an image. I am not showing all its attempts as they did not remotely resemble a Hindu temple but something from the fairy tales.

Here is what I finally got after goading:


This is one of the four images that are created automatically.

Well, Gemini tried as well but these are the results. I did not try repeated refinements of my text to get them.







Meta AI also tried its hand at creating the Ayodhya temple using it Emu, Meta Ai's proprietary engine.




The temple in India looks like this.


Presently, this is the best th ChatBots can do.

I do have an image from NightCafe and I will paste it here when I find it.