All posts by admin

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.

     

    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 Fix a Laptop Slowdown Due to RAM

    Problem:

    • You have a laptop with 48 GB of RAM.
    • Your computer becomes slow when the used RAM exceeds 16 GB.
    • You want to find out what causes the issue.

    Solution:

    1. Open  PowerShell as an administrator.
    2. Execute the command below.
      Get-CimInstance Win32_PhysicalMemory | Format-Table BankLabel, Capacity, Manufacturer, Speed, PartNumber
    3. You may see that you have two RAM modules, and their sizes are different, as shown below.
      BankLabel    Capacity Manufacturer Speed PartNumber
      ---------    -------- ------------ ----- ----------
      BANK 0    17179869184 SK Hynix      3200 H***********N-XN
      BANK 2    34359738368 SK Hynix      3200 H***********N-XN
    4. If this is true, your RAM is using Flex mode.
    5. Check your DDR type with the command below.
      Get-CimInstance Win32_PhysicalMemory | Select-Object Manufacturer, PartNumber, Speed, MemoryType, SMBIOSMemoryType
    6. If you see 26, you have DDR4;
      if 24, you have DDR3;
      if 34, you have DDR5.
    7. Check your DDR type with the command below.
      winsat mem
    8. If your measured speed is around 28,000 MB/s, it means an effective bandwidth of about 1.1 channels — exactly what Flex Mode produces (one full channel, one partial).
    9. Option 1: Keep your RAM modules as is. 28,000 MB/s is sufficient for office and coding tasks.
    10. Option 2: Replace your RAM modules with two 16 GB or two 32 GB modules of the same size to enable full dual-channel operation and achieve up to 40% better performance in memory-intensive tasks such as running virtual machines, heavy multitasking, or video editing.

    How to Fix the Salesforce “Related List Filters” Property Having an Invalid Value

    Problem:

    • You have a Salesforce Lightning Record Page with many related lists.
    • You want to update it.
    • When pressing the Save button you get the error: The ‘Dynamic Related List – Single’ component’s ‘Related List Filters’ property has an invalid value..
    • You want to know which related list causes the issue.

    Solution:

    1. Clone the Lightning Record Page.
    2. Click each related list and check the Related List Filters section for any error message in red.
    3. If no error message can be found, delete each related list and click Save after each deletion.
    4. When the error no longer appears, examine the last deleted related list to identify which properties caused the issue.

     

      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]


       

       

      Salesforce Platform: Lessons Learned

      Lesson Learned 1: UI Modification

      Problem:

      You need to build a UI that is not supported by Salesforce’s built-in features.

      Context:

      The beauty of Salesforce is that it provides most of the features we need for inputting data, saving data, and generating reports. Therefore, we can develop complex applications with very reasonable effort (a few days). The disadvantage is that we must follow Salesforce’s UI, business, and data conventions for customization.

      If we need to develop specific UIs that are not supported by Salesforce customization (for example, changing the position of the ‘Save’ button), then we must use the LWC framework. Development with the LWC framework requires significantly more effort (weeks or months) compared to using Salesforce’s built-in features.

      Solution:

      Carefully evaluate the costs and benefits before implementing something that is not supported by Salesforce’s built-in features.

      Lesson Learned 2: Estimating Development Effort.

      Problem:

      You may incorrectly estimate the effort required to build a solution on the Salesforce platform.

      Context:

      Development on the Salesforce platform may not require much effort, but discovering the requirements through trial and error (e.g., business workflows, Conga templates, UI tweaking) and devising an appropriate solution (e.g., necessary apps, objects/fields, formulas, UIs, reports, Conga code, guides, data schema) can require substantial effort.

      Solution:

      Requirements and solution discovery are often the most challenging tasks, so you should allocate sufficient risk reserve for them in the development effort.