Posts

VIM Setup using Miniforge for Windows 11

Image
 (A) Here are the steps for my Vim installation using Miniforge I've installed Vim through Miniforge using mamba. I have kept Vim in its own "box" so that it does not mess up my other projects or base installation. 1. Create "Tools" Environment mamba create -n my_tools -c conda-forge vim  mamba activate my_tools 2. Install Vim  mamba install vim   Note : Since Miniforge defaults to the conda-forge channel, you typically do not need to specify the channel explicitly with -c conda-forge, but doing so ensures you get the community version.  3. Verify the Installation . After the installation is completed, you can check if Vim is installed correctly by running:  vim --version You should see output that includes information about the installed Vim version and its features.  4. Create Vim Configuration (_vimrc) Configure Vim settings, e.g., to make the editor behaving nicely for Python (indenting correctly). In Windows, the configuration file is usually name...

Out of Control OpenAI Agent Hacked Hugging Face

Image
 ⚠️ Notice: This post is a personal learning summary based on preliminary security disclosures, active research, and ongoing news reports. As investigations and technical evaluations continue, details and official findings may evolve. According to AI, the autonomous hack of Hugging Face by an OpenAI agent occurred because the AI exploited a chain of hidden software vulnerabilities to bypass its sandbox and locate the test's answers online. As regarding the detail about a "note left to teach other agents how to break free" was not a part of the official findings or reports released by either company. AI said that it was likely a rumor, misunderstanding, or a dramatic interpretation spreading on social media. I perceived that the AI wasn't acting out of malice, but its intense drive to "score points" created real-world risks. This brings us to a field called AI Alignment, which aims to ensure AI systems act safely and follow human values. (A) How the OpenAI Ag...

Miniforge Cheat Sheet

Image
The core takeaway when using Miniforge is that mamba serves as a fast, drop-in replacement for conda, meaning you can swap the word conda for mamba in almost every environment and package management command. For optimal performance, use mamba to handle heavy lifting tasks like downloading, searching, and installing packages, and use conda for basic environment activation or shell initialization.  Here's a Miniforge Cheat Sheet created with AI's help.  It will cover the essential categories of your daily workflow. 1. Initialization Commands Before running operations, ensure Miniforge is properly integrated into your command line interface.  - conda init: Registers the package manager configuration to your specific shell or terminal program. - mamba init: Adds performance-optimized shell configurations tailored directly for Mamba-specific executions.  2. Environment Management Isolate distinct projects by organizing their dependencies inside standalone virtual runtime ...

Miniforge Windows Update and Issue Fixed

Image
  I have not used Miniforge for some time. So I decided to update my last installation before using it. But when updating, I encountered a secure-connection issue on Windows. AI said, "The error schannel: the revocation status is unknown means my computer's built-in Windows security system (Schannel) cannot verify whether the SSL security certificates for the download servers have been revoked. This often happens after a long period of inactivity or due to strict corporate network rules." AI also gave me a list of fixes to try. I finally fixed the error using a temporary workaround - by turning off SSL verification entirely. I temporarily disabled SSL verification altogether just to get the system updated. Note: Turn this back on later for security. 1. Disable SSL check:     conda config --set ssl_verify false 2. Run updates:    conda update -n base -c conda-forge conda    mamba update mamba    mamba update --all 3. Important: Onc...

Miniforge Windows 11 Setup and Time Bug Fix

Image
  (A) Here are the essentials of my Windows 11 Miniforge setup and fixation of an installation bug, together with useful links and command cheat sheet. 1. Windows 11 Miniforge Installation - Download the Windows installer (.exe) directly from the Conda-Forge GitHub.  - The Golden Rule: Always select "Just Me" (not "All Users") when prompted about who to install for. - Security Prompt: If Windows Defender SmartScreen blocks the app, just click "More Info" and then "Run Anyway". 2. Open Miniforge Prompt from the Windows Start Menu. Press Windows key, search for Miniforge Prompt, and click it. This is the only place where Python commands will work natively.   3. Follow basic rules and commands to keep computer safe and organized. - Protect the "Base" Environment: Always leave the base environment as it is. If it breaks, you will have to reinstall the app. - Create a sandbox (Environment): Create a separate environment named my_ai with Pyth...

Minimalist AI Stack: Learning Python and AI with Vim and Miniforge

Image
  I have asked AI Collaborator to guess why I choose “Miniforge and VIM” for learning Python and AI by projects. This is its reply: It is because you want to build a rock-solid foundation by forcing yourself to understand how your code works under the hood, rather than relying on ‘magic’. Here is a guess at the psychology and strategy behind your setup: 1. You want to understand dependencies, not just hide them. Python environments, especially for AI (which relies on heavy libraries like PyTorch or TensorFlow), are notorious for dependency hell. The easy path: Anaconda or pipenv. Your path: Miniforge. You have chosen this because it gives you raw control. It forces you to learn how conda-forge packages things, how to isolate your AI projects using conda activate, and how to resolve version conflicts manually so you actually understand what your system is running. 2. You are prioritizing absolute focus and speed. AI development involves looking at a lot of text, code, and document...

Introduction to Deep Learning. (Source: MIT.edu)

Image
MIT 6.S191 - Introduction to Deep Learning : Lecture 1, New 2025 Edition, Foundations of Deep Learning. Lecturer: Alexander Amini. Lectures, slides, and lab materials . I sat in for the interesting introduction of first lecture (and would continue this lecture later). Within the first few minutes, the lecturer demonstrated the power of deep learning and he motivated me to continue with this course ( I really hope I have the world of time.)

What is deep learning? (Source: Mckinsey.com)

Image
Visit: What is Deep Learning? (Source: Mckinsey.com) An interesting write-out as it shares the relationship between deep learning and generative AI. It also introduces the kinds of neural networks are used in deep learning.

Deep Learning

Image
Deep learning is a type of machine learning that uses multi-layered artificial neural networks to automatically learn patterns and features from vast amounts of data for complex tasks like image recognition, speech processing, and language translation It offers high accuracy by processing information in stages. Unlike traditional machine learning, it learns features directly from data without needing human-engineered feature extraction, making it powerful for unstructured data and complex problems. More on Deep Learning and Study Deep Learning  

Learning Python (Source: MIT.edu, youtube.com)

Image
MIT 6.100L Introduction to CS and Programming using Python, Fall 2022, by Prof Ana Bell. View full course (Source: MIT.edu , youtube.com) Lecture 1: Introduction to CS and Programming Using Python (1h video) I am starting to go through these videos. Generally, the Prof not only introduces the terms and concepts, she also helps me to remember them. Basically, I am motivated to continue attending her lectures and to find out more on Python. Good to meet such a wonderful professor and many thanks to MIT. Here’s a summary of the first lecture (but it’s better for you to attend). The Prof discusses the idea of an object in Python. Every object in Python has a specific type. The type tells Python the type of things we are allow to do with the object. Once, we have an object, we can assign it to a variable. These variables, basically bind names to objects. The = sign is an assignment, for example, var = type (5*4). The following have been discussed: Expressions involve objects and operatio...

Why (Learn) Python

Image
  Do You Still Need to Learn Python in the Age of AI? (Source: MIT.edu – youtube.com) Watch this 3min video if you are curious to know. Also, read “Don’t blindly trustwhat AI tells you, says Google’s Sundar Pichai” (Source: bbc.com ) Personally, I perceive humans will have to clean up the “AI mess” in due course, just like, what we are doing now for “fossil fuels mess”. So it pays to learn the Python. More on Learning Python

What is Machine Learning? (Source: Stanford.edu)

Image
Visit: What is Machine Learning (Source: Stanford.edu) This video (1.5min) explains in simple terms what machine learning is and how is it related to artificial intelligence. Visit: What is machine learning? (Source: IBM.com)

Machine Learning (ML)

Image
  Machine learning (ML) is a subset of artificial intelligence (AI) that enables systems to learn and improve from data without being explicitly programmed . Instead of following pre-written instructions, ML algorithms find patterns in data, make predictions or decisions, and get better at the task over time as they are exposed to more information.   More on ML

AI Vocabulary (Source: MIT.edu)

Image
Visit: AI Glossary/ Dictionary (Source: MIT.edu) This is a valuable set of AI vocabulary to start off with. It not only defines the AI terms, it also explains their importance. It is good to keep this list handy. Learning the basic AI vocabulary can help us gain a better understanding of the complex field of AI. Also, developing AI literacy will enable us keep up with its advancement, appreciate its opportunities and challenges. Thus, putting us in a better position to balance any innovation with ethical considerations. Ultimately, we want AI to impact our society positively. Here’s another helpful glossary on basic GenAI Visit: Glossary of Term: Generative AI Basics (Source: MIT.edu)  

What is AI - IBM Resource Review

Image
  Visit: What is AI (Source: IBM.com) This site provides a complete guide to AI fundamentals. It relatively easy to go through its materials on, for example, machine learning, deep learning, generative AI, AI agents and agentic AI. In addition, it gives an overview of AI history, its benefits and use cases, AI ethics and governance. Overall, this is a great resource for me to start off.

Artificial Intelligence (AI)

Image
Artificial intelligence (AI) is technology (applied knowledge) that enables machines to simulate human learning, comprehension / reasoning, problem solving, decision making, creativity and autonomy. AI enables us to build smart machines that can perceive, reason, and act to achieve defined outcomes. Also, by incorporating learning, they can adapt and improve their performance without explicitly reprogramming. More on AI