Category Archives: Technologies

How to Use AI to Automate Conda Environment Creation

Motivation:

You want to use AI to automate Conda environment creation and install Jupyter Notebook for your experiments.

Suggestions:

  1. Prepare local_tools.txt with the path to the conda executable.
  2. Prepare azure_open_api_info.txt with any required secrets.
  3. Install Claude Code.
  4. Open claude and provide these instructions:
    • Create a conda environment named `nlp` using the latest LTS Python version, install Jupyter Notebook, and run it.
    • Install `azure-cognitiveservices-speech` and `openai` in `nlp` using `–ignore-installed` to keep the environment self-contained.
    • Create a `run.bat` file that activates the conda environment, sets the environment variables from `.meta/azure_open_api_info.txt`, and runs Jupyter.
    • Summarize what you have done in a Markdown file inside the `docs` folder.
    • Output all the prompts to `docs/prompts.txt`, with grammar and fluency corrections and numbering.

 

How to Use AI to Create a Slide Deck from Books

Motivation:

You want to use AI to create a slide deck from books.

Suggestions:

  1. Install Claude Code.
  2. Open claude and provide these instructions:
    • Read “Valliappa Lakshmanan and Hannes Hapke (2025). Generative AI Design Patterns. O’Reilly.pdf” and let me know how many patterns are in the book in a very short list.
    • List the five most important patterns related to software architecture.
    • Create a new “Five Generative AI Design Patterns.pptx” covering the introduction and the five most important patterns.
    • Include a structure or sequence diagram for each pattern.
    • Output the prompts with grammar corrections to “docs/prompts.txt“.

    3. Other instructions:

    • Read the following references:
      John Berryman Albert Ziegler (2024). Prompt Engineering for LLMs. O’Reilly.pdf
      James Phoenix and Mike Taylor (2024). Prompt Engineering for Generative AI. O’Reilly.pdf
      Kristian Bainey (2024). AI-Driven Project Management. Wiley.pdf
      Prasad Kodukula and Gustavo Vinueza (2025). The Project Management AI Handbook. J. Ross Publishing.pdf
      and let me know which chapters can be used to create slide deck on the topic “Prompt Engineering for Project Managers“.
    • Focus only on Prompt Engineering Techniques for Project Managers with concrete examples.
    • Create a slide deck on the topic “Prompt Engineering Techniques for Project Managers” in the docs/ folder.
    • Output the prompts with grammar corrections to “docs/prompts.txt“.
    4. Important note: The prompts must follow your manual workflow, as if you were performing the task yourself.

    How to Use AI to Suggest Updates to a Course Syllabus

    Motivation:

    You want to use AI to suggest updates to a course syllabus.

    Suggestions:

    1. Install Claude Code.
    2. Open claude and provide these instructions:
      • Read “Syllabus – Software Architecture.docx“, search top online education sources (e.g., MIT, Stanford, CMU, UC Berkeley, Harvard, Oxford) to suggest what should be removed and what should be added to the syllabus to align with the latest AI achievements in software engineering, also suggest changes to the references section, and output the suggestions in “docs\changes.md” and convert it to a PDF version.
      • Update the suggestions; do not use the PPTX files in the folder.
      • Update the suggestions based only on information from the last 3 years.
      • Update the suggestions to shorten the existing reference list, and format the new references in the same style as the main references in the original syllabus.
      • Read the syllabus again, search again, and update the suggestions; do not use Packt books.
      • Read the syllabus again, search again, and update the suggestions; do not use independently published books.
      • Output the prompts with grammar corrections to docs/prompts.txt.

    3. Provide these instructions to Claude to update the corresponding slides:

    • Read “Syllabus – Software Architecture.docx” and “01. Course Introduction.pptx“, then create a new “01. Course Introduction_2026.pptx“.

    How to Use AI to Automate Git Commits and Push Specific Content from a Folder

    Motivation:

    You want to use AI to automate Git commits and push specific contents from a folder.

    Suggestions:

    1. Create a GitHub repository.
    2. Install Git.
    3. Prepare local_tools.txt with the path to the Git executable.
    4. Prepare github_info.txt containing your GitHub access information.
    5. Install Claude Code.
    6. Open claude and provide these instructions:
      • Initialize git, create a .gitignore file, then commit and push the .gitignore file.
      • List all folders in this directory without including subfolders.
      • Add, commit, and push all top-level PPTX files in these folders, excluding files inside subfolders.
      • Create a script to automate committing and pushing these contents every 2 hours on this Windows machine.

    More instructions:

    • List all the Quizzes folders located just inside each folder at this level.
    • Modify the files in .meta to include all of the Quizzes folders and their contents, including every file and folder inside them, in the git commit and push.
    • Output the prompts, with grammar corrections, to a .txt file in the docs/ folder.

     

     

     

    Windows Tips

    1. Disable automatic prompts to set up new Bluetooth devices in Windows:

    • Go to Bluetooth & other devices >> More Bluetooth options >> Notifications.
    • Uncheck the Alert me when a new Bluetooth device wants to connect option.

    2. Remove Microsoft account listed under Accounts used by other apps

    Problem:

    • You have a Microsoft account listed under Accounts used by other apps.
    • You want to remove it, but only the Manage button is available.
    • When you click Manage, you cannot find any option to remove it.

    Solution:

    1. Click Access work or school link on the left menu.
    2. Remove the account.

     

     

    How to Use AI to Boost Your Productivity

    Motivation:

    You want to leverage AI to boost your productivity. However, you do not know specifically what it can do for you.

    Suggestions:

    A. If you are maintaining a product, you can try the following tasks.

    1. Ask ChatGPT to fix a maintenance issue after receiving an error message.

    Example prompt: How to fix the Salesforce issue: “Cannot deactivate the Default Workflow User”

    2. Try asking ChatGPT for the quickest way to complete a simple task.

    Example prompt: Give me the quickest way to serve static HTML files from a folder using Node.js.

    3. Try asking ChatGPT to convert a Unix script into a Windows script.

    Example prompt: Convert the script below from Ubuntu to Windows:

    [Your script here]


    B. If you are developing a product, you can try the following tasks.

    1. Try asking Cursor to code a simple feature.

    Example prompt: Implement a user-level sleep program for xv6, along the lines of the UNIX sleep command. Your sleep should pause for a user-specified number of ticks. A tick is a notion of time defined by the xv6 kernel, namely the time between two interrupts from the timer chip. Your solution should be in the file user/sleep.c.

    2. Try asking Copilot to refine messages.

    Example prompt: Rewrite the messages in this file for clarity and grammar.

    3. Try asking Copilot to move specific functions to separate file.

    Example prompt: In this active file, move all TSV functions to ITSVNotificationRepository.cs file.

    4. Try asking Copilot to duplicate specific functions to separate file.

    Example prompt: In this active file, duplicate all TSV functions and replace TSV with MFA.

    5. Try asking Copilot to create unit tests for a code file.

    Example prompt: Create unit tests for the MFARepository.cs file.


    C. If you are learning a topic, you can try the following tasks.

    1. Ask ChatGPT to explain difficult terms using specific examples.

    Example prompt: Explain hashtable using simple, specific examples.

    2. Ask ChatGPT to distinguish between two or more concepts.

    • Example prompt 1: Distinguish virtualization from emulation.
    • Example prompt 2: Distinguish library, framework, and platfrom.

    3. Ask ChatGPT to search for research paper related to a terminology or product.

    Example prompt: Give me a research paper related to qemu.

    4. Ask ChatGPT for a diagram that explains the relationship among three or more concepts.

    Example prompt: Give me a diagram explaining the relationship among hardware, os, qemu, xv6, and xv6 programs.

    5. Ask ChatGPT to clarify your understanding or answer your question.

    • Example prompt 1: Does the page table store program data or the physical RAM addresses of that data?
    • Example prompt 2: Does PM2 automatically use the .env file?
    • Example prompt 3: Why does the Azure WAF block requests to WebResource.axd?

    D. If you are reading a book, you can try the following tasks.

    1. Ask ChatGPT to help you summarize the long content you have read to clarify any unclear points, so that you can follow the subsequent content more easily.

    Example prompt: summarize the content below in 5 sentences:
    [Your long content here]

    2. Ask ChatGPT to clarify unknown concepts in the summary.

    • Example prompt 1: what is [unknown concept here] in 1 sentence.
    • Example prompt 2: Give a bit more detail about [unknown concept here].

    E. If you are writing an article, you can try the following tasks.

    1. Ask ChatGPT to help you rewrite your sentences grammatically and fluently.

    Example prompt: grammar? [Your content here]

    2. Try asking ChatGPT to translate content to English.

    Example prompt: translate the following to English: [Your content here]


     

     

    How to Install Only Outlook from Microsoft 365 Suite

    Problem:

    • You already have Office 2007 with license key. However Office 365 email service does not work with Outlook 2007.
    • You have to use Outlook 365 to connect to Office 365 email service.
    • However you still want to use Word, Excel and Power Point 2007 because you do not have to log in Office 365 account for activation and you want to avoid accidential uploading files to your Office 365 account.
    • You also still want to use Word, Excel and Power Point 2007 because of their speed and the ability to paste an image to center of a slide.
    • In summary, you wish to install Outlook 365 only.

    Solution:

    1. Download Office Deployment Tool.
    2. Extract the exe file to C:\Users\admin\Downloads\O365. (Replace admin with your Windows username.)
    3. Copy configuration-Office365-x64.xml to outlook.xml.
    4. Modify the content of the outlook.xml file as below.
      <Configuration>
      
        <Add SourcePath="C:\Users\admin\Downloads\O365" OfficeClientEdition="32" Channel="Current">
          <Product ID="O365ProPlusRetail">
            <Language ID="en-us" />
            <ExcludeApp ID="Access" />
            <ExcludeApp ID="Bing" />
            <ExcludeApp ID="Excel" />
            <ExcludeApp ID="Groove" />
            <ExcludeApp ID="Lync" />
            <ExcludeApp ID="OneDrive" />
            <ExcludeApp ID="OneNote" />
            <!--  <ExcludeApp ID="Outlook" /> -->
            <ExcludeApp ID="PowerPoint" />
            <ExcludeApp ID="Publisher" />
            <ExcludeApp ID="Teams" />
            <ExcludeApp ID="Word" />
          </Product>
        </Add>
      
        <!--  <Updates Enabled="TRUE" Channel="Current" /> -->
      
        <!--  <Display Level="None" AcceptEULA="TRUE" />  -->
      
        <!--  <Property Name="AUTOACTIVATE" Value="1" />  -->
      
      </Configuration>
    5. Open Command Prompt (Admin).
    6. Execute the commands below.
      cd C:\Users\admin\Downloads\O365
      setup.exe /download outlook.xml
      setup.exe /configure outlook.xml
    7. If you have any issues with the steps then recheck Microsoft guide.
    8. You may also use online Office Customization Tool to to create a configuration file and download it for using with the Office Deployment Tool.

    Increasing Classic Outlook font size:

    1. On the File tab, choose Options > Mail.
    2. Under Compose messages, choose Stationery and Fonts.
    3. On the Personal Stationery tab, under New mail messages or Replying or forwarding messages, choose Font.
    4. Refer to Microsoft guide for more information.

    Creating Classic Outlook signatures:

    1. On the File tab, choose Options > Mail.
    2. Under Compose messages, choose Signature.