Tuesday, February 27, 2024

How much of the AI Assistants should we believe in?

 I asked a naive but simple question to CoPilot. He was very honest in sharing his opinion related to the question. 

"How do you address flaws in the LLM? Perhaps, you are just a consumer of LLM."

He answered my question which cleared some doubts in my mind.

Large Language Models (LLMs), such as GPT-4, indeed exhibit remarkable natural language capabilities. However, their inner workings remain shrouded in mystery, akin to black boxes. Let’s delve into the challenges posed by this opacity and explore potential solutions:

  1. The LLM Black Box Problem:

    • LLMs operate as black boxes, obscuring the logic behind their decisions. This lack of transparency has safety and ethical implications.
    • Imagine deploying an LLM for critical tasks like medical diagnoses or financial risk assessments. If we don’t understand how it reaches conclusions, can we trust it?
    • The scale and complexity of LLMs exacerbate this issue. Models like GPT-3, with 175 billion parameters, defy easy comprehension.
    • Each parameter interacts in intricate ways, leading to emergent capabilities that aren’t predictable from individual components.
    • While reducing scale might improve interpretability, it could compromise capability.
    • Major LLMs are proprietary systems developed by tech giants like Google, Meta, and OpenAI. Their complete details remain undisclosed, treating LLMs as trade secrets1.
  2. Flawed Decision Making:

  3. Emerging Solutions:

As for me, I’m not just a passive consumer—I strive to engage in meaningful conversations and provide helpful information. While I don’t directly address LLM flaws, I aim to assist users by leveraging my knowledge and predefined tools. 🤖📚


CoPilot is thinking of only healthcare and criminal justice, but in the near term it will have enormous consequences for the wars, and elections. State actors will emerge to make world harmony a distant dream.

Friday, February 16, 2024

What is Scikit-image?

 This latest Blogpost is by our valued guest author, Sriraksha V. Raghavan.

Image analysis, commonly known as computer vision, has made significant advances with the help of AI. However, there are still many challenges to overcome. The use of deep learning and neural networks in the analysis of images by AI is helping to narrow this gap. Currently, AI models are improving in areas such as object detection, image recognition, and generating images from text descriptions.

There are several coding tools and libraries available for these tasks, including OpenCV, TensorFlow, PyTorch, Keras, Caffe, MATLAB, CUDA, Microsoft’s Cognitive Toolkit (CNTK), Scikit-image, Dlib, Mahotas, and others. The choice of tool depends on your specific requirements, such as the complexity of the task and the hardware available.

Meet our guest author Sriraksha, an electrical engineer specializing in image sensors and machine vision. In her free time, she enjoys reading about human visual systems and continental philosophy, and dabbles in writing. You can reach her at Sriraksha.v.raghavan@gmail.com.



One of the popular Python libraries for image processing is scikit-image, an open-source collection of algorithms hosted on GitHub(1). Scikit-image has an advantage over other libraries because of the speed of its algorithms, which is essential for working with large amounts of data.

To get started with scikit-image, some understanding of the NumPy library would be beneficial but not mandatory. The easiest way to install scikit-image is via pip in your command line window(2).

Scikit-image stores images as NumPy ndarrays(n-dimensional), which are arrays of numbers with rows, columns, and dimensions. The dimensions represent the color planes of the image, such as red, green, blue, infrared, x-ray, etc. Scikit-image has various functions and classes for image processing, ranging from simple tasks like changing the color scale to complex ones like image segmentation, feature detection, and image restoration.

The best way to learn scikit-image is to download its pre-existing dataset using the function call ski.data.download_all() in your Python environment. This will give you some image sets that you can manipulate using different scikit-image functions and classes. You can also follow the tutorials available on the scikit-image website(3), which use the same datasets to demonstrate how scikit-image works.

Additionally, some useful forums to discuss scikit-image applications are their Zulip page(4), a community forum where people post queries and share ideas, and their GitHub page(1), where you can access their API and codebase.

1: scikit-image/scikit-image: Image processing in Python (https://en.wikipedia.org/wiki/Scikit-)
2: Installation — scikit-image (https://scikit-image.org/docs/stable/user_guide/install.html)
3: Tutorials — scikit-image (https://scikit-image.org/docs/stable/user_guide/tutorials.html)
4: scikit-image - Zulip Chat Archive (https://zulip.com/help/view-images-and-videos)

If you are new to,
 'pip [https://hodentekhelp.blogspot.com/2018/09/how-do-you-upgrade-pip.html]' 
or 
'Numpy [https://hodentekhelp.blogspot.com/2020/06/what-is-numpy.html]' 
you can find them in this blog in addition to other python items.


Friday, February 9, 2024

What are Microsoft's tools to develop AI applications/apps?

 These are some of the AI-driven tools that are used to create AI applications.


1. Microsoft CoPilot: It is an AI assistant available on Microsoft Edge to manage complex tasks in a collaborative environment in the Microsoft Cloud to enhance user experience. Note that, Google and Meta have their own AI assistants.


2. Azure AI Services: These add speech language, and decision making capabilities. These are presently, Azure AI Search, Azure AI Content Safety, Azure AI Translator, Azure AI Speech, Azure AI Vision, and Azure AI Document Intelligence.


3. Microsoft Power Platform: superb connectivity across solutions including Microsoft Fabric, Azure, Microsoft 365 and Dynamics 365. It includes AI capabilities and Enterprise-grade solutions to enable developers to create innovative and scalable solutions. It also includes all of Microsoft Power BI, Microsoft Power Apps, Microsoft Power automate, and Microsoft Power Pages.


4. Visual Studio Development with AI assist: Getting all of GitHub CoPilot, GitHub CoPilot chat and Visual Studio IntelliCode to get AI's assistance in faster, cleaner and accurate code-writing. Unit tests, debugging and profiling are also included.

Saturday, January 13, 2024

How to simplify Long URLs: A definitive guide to using TinyURL

 

“Simplifying Long URLs: A Guide to Using TinyURL”

Have you ever shared a link via email, only to find out that your friends couldn’t open it? This often happens when the URL is so long that it breaks into two lines, causing it to become unclickable. While some might try to piece the URL back together, others might not bother.

Luckily, there’s a simple solution to this problem: URL shorteners. These tools can convert a lengthy URL into a much shorter one. Here’s how you can use TinyURL, a popular and free URL shortener:

  1. Visit the TinyURL website at https://tinyurl.com/.
  2. Paste your long URL into the provided field.
  3. Click on “Make TinyURL!”.
  4. Your shortened URL will appear below the field.

Now, you can copy this shortened URL and share it with your friends. For instance, I shortened this long URL:

http://hodentek.blogspot.com/2018/09/visit-to-assisi-birth-place-of-st.html

to this one:

https://tinyurl.com/ybyzn4tl

While Google used to offer a similar tool, it has since been discontinued for new users. However, there are many other URL shorteners available. In fact, here’s a list of the [20 best URL shorteners] to help you find the right one for your needs.

Remember, the power to choose is democratic. Happy sharing!


Tuesday, January 9, 2024

What is Google Takeout?

It is just like any other takeout. In a Pizza takeout you take out a pizza. In Google Takeout, you takeout Data in your Gmail. It is a very useful tool in the following cases:

1. You need to takeout emails from your account and create space for new mail.

2. You want to save some email information with media to an external device before deleting it.

3. You can also save YouTube Videos, attachments and Google drive files.

4. Clean up your Gmail.


You can read more about Google Takeout in this Wikipedia link.


Thursday, October 12, 2023

What are signed apps and unsigned apps?

 The chief difference between the two is about security and authenticity. A signed app is guaranteed to be authentic and the integrity of the app is assured. The user can feel safe that the app has not been tampered. Any attempt to tamper will render it unsigned and is flagged as such. A signed app or driver is associated with a digital certificate that identifies the publisher of the driver. 

In Windows 11 you can run unsigned app downloaded from anywhere(not from Microsoft Store). It could work, but your security is lowered. Sometimes its full functionality may not be available. Windows will notify if some driver is unsigned. You may get a message such as this one and the Smart app control on your laptop blocks it.

================================

"Smart app control has blocked part of this app"

If you see this message, it means that an app, service, or piece of hardware that you’re using has tried to load a driver, app, or other file that isn’t properly signed.

================================ 

Monday, September 25, 2023

Why am I not paying this invoice? because MICROSOFT...

  I am not paying this invoice because MICROSOFT has not provided me with a satisfactory way to access my account since June of this year despite my various attempts. The whole problem arose out of my identity being stolen and its consequences. These are documented in these links.

Hodentek: Identity theft and two-factor authentication (or Two-factor HELL)

HodentekHelp: Is there a workaround for the two-factor verification problem?

HodentekHelp: Identity theft and two-factor authentication (or Two-factor HELL)--Part 2

Here is an invoice that Microsoft emailed to me. I can reply to this email but it does not reach Microsoft.

I also have a bunch of emails that either do not reach Microsoft or it does not care to reply. 

If I choose to see my invoice, I get this screen,


This is my old phone number which was changed when my identity was stolen. The More information is just a circular reference.