Blog

  • Exploring OpenAI Offerings: ChatGPT Enterprise, ChatGPT Application, and OpenAI Models

    OpenAI, a leading player in the artificial intelligence industry, has introduced a range of AI-based solutions including the ChatGPT Enterprise, ChatGPT Application (Free/Plus), and OpenAI Models (GPT 3.5, GPT-4). Each of these offerings has unique features and uses, catering to different user needs.

    • ChatGPT Enterprise: Launched in August 2023, ChatGPT Enterprise is a premium version of OpenAI’s generative AI chatbot app designed for businesses. It offers enhanced enterprise-grade security and privacy, unlimited higher-speed access to GPT-4, longer context windows for processing longer inputs, advanced data analysis capabilities, and customization options.
    • ChatGPT Free/Plus: The ChatGPT Free and ChatGPT Plus applications are user-friendly AI chatbot applications that provide interactive experiences with OpenAI models. ChatGPT Free provides access to the GPT-3.5 model and is ideal for general use. ChatGPT Plus offers capped usage access to the more powerful GPT-4 model, additional features, and faster response times for a monthly fee.
    • OpenAI Models (GPT 3.5, GPT-4): These large language models developed by OpenAI are trained to understand and generate human-like text. They are capable of generating text outputs in response to prompts, performing a wide range of natural language processing tasks, including translation, summarization, question answering, and more. Typically accessed via API, these models allow integration into a wide range of applications and platforms.

    This table provides a quick reference guide to the different offerings by OpenAI:

    ChatGPT EnterpriseChatGPT Free/Plus OpenAI Models (GPT 3.5, GPT-4)
    DescriptionPremium version of OpenAI’s generative AI chatbot app tailored for businesses, offering enhanced capabilities and features.User-friendly AI chatbot applications that provide interactive experiences with OpenAI models.Cutting-edge language models developed by OpenAI, trained to understand and generate human-like text.
    Launch DateAugust 2023ChatGPT Free: November 2022
    ChatGPT Plus: February 2023
    GPT-3.5-turbo and GPT-4: Dates vary, please refer to OpenAI’s official announcements.
    Key FeaturesEnterprise-level security and privacy, unlimited high-speed access to GPT-4, extended context windows for processing longer inputs, advanced data analysis capabilities, and customization options to cater to specific business needs.ChatGPT Free: Provides access to GPT-3.5 model, ideal for general use.
    ChatGPT Plus: Offers capped usage access to the more powerful GPT-4 model, additional features, and faster response times for a monthly fee.
    Capable of generating text outputs in response to prompts, performing a wide range of natural language processing tasks, including translation, summarization, question answering, and more.
    Platform AvailabilityTypically available across multiple platforms to cater to diverse business needs.Available across multiple platforms, including web, iOS, and Android, for easy and convenient access.Typically accessed via API, allowing integration into a wide range of applications and platforms.
    UsageIdeal for businesses requiring high-level AI capabilities, including data analysis, customer service automation, content generation, and more.Suitable for general users seeking interactive AI experiences, including learning, entertainment, and personal productivity.Used in a variety of applications, including AI chatbots, content generation tools, language translation services, and more.
    PricingTypically offered on a subscription basis, with pricing details available from OpenAI.ChatGPT Free: Free of charge.
    ChatGPT Plus: Available for a monthly fee.
    Pricing varies depending on usage and the specific model accessed. Details available from OpenAI.

    For more detailed and up-to-date information, please visit OpenAI’s official website.

  • Solving the “/app/.next/standalone not found” Error in Next.js

    While building your Nextjs application within Docker, you may encounter the following error if you’re using the Docker sample from the official Nextjs GitHub site:

    "ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 83cmddfvrmzj1u5evc3q6uxwx::7xxwejdn2kuni31k09czx9kpk: "/app/.next/standalone": not found"

    This blog post offers a straightforward solution to this problem.

    Understanding the Error

    Understanding the Error

    The error message suggests that the system couldn’t compute the cache key as it was unable to calculate the checksum of a specific reference, “/app/.next/standalone”, which it couldn’t find. This error typically arises when Next.js attempts to build your application but can’t locate the specified reference.

    The Solution

    The solution to this error is quite simple. You just need to add a line in your next.config.js file:

    output: 'standalone',

    This code instructs Next.js to output your application as a standalone app, meaning your application will contain all the necessary files and configuration settings to run independently, without relying on external resources.

    Here’s how to do it:

    1. Open your next.config.js file, which is usually located at the root of your project directory.
    2. Add the line output: ‘standalone’, to the configuration object. Ensure that you add this line within the module.exports object.
    3. Save the changes and close the file.
    4. Rebuild your Next.js application.

    Your next.config.js file should look like this after adding the line:

    const nextConfig = {
      // ...other configuration settings...
      output: 'standalone',
      // ...other configuration settings...
    }

    After following these steps, the error should no longer appear when you build your application. Your Next.js app should now build successfully and run as a standalone application.

  • Resolve Vercel deploy Error: Found invalid Node.js Version: “>=20.9.0”.

    If you’re deploying an application on Vercel and encounter the following error:

    Error: Found invalid Node.js Version: ">=20.9.0". Please set "engines": { "node": "18.x" } in your package.json file to use Node.js 18.

    There’s no need to downgrade your application to Node.js 18. Here’s how you can fix the issue without downgrading:

    1. Navigate to Settings.
    2. Scroll down to the Node.JS Version section. From the dropdown list, select 2.0x.
    3. Click Save.
    4. Return to the failed deployment and click on Redeploy.

    Your new deployment should successfully launch this time.

  • Solving the Angular Update Error: Conflicting peer dependency

    If you’re struggling to update your Angular version and encounter the following error when executing the command ‘npm install’:

    npm ERR! While resolving: angular-test-app@0.0.0
    npm ERR! Found: @angular-devkit/build-angular@16.2.11
    npm ERR! node_modules/@angular-devkit/build-angular
    npm ERR!   dev @angular-devkit/build-angular@"^17.2.0" from the root project
    npm ERR!
    npm ERR! Could not resolve dependency:
    npm ERR! dev @angular-devkit/build-angular@"^17.2.0" from the root project
    npm ERR!
    npm ERR! Conflicting peer dependency: @angular/compiler-cli@17.2.1
    npm ERR! node_modules/@angular/compiler-cli
    npm ERR!   peer @angular/compiler-cli@"^17.0.0" from @angular-devkit/build-angular@17.2.0
    npm ERR!   node_modules/@angular-devkit/build-angular
    npm ERR!     dev @angular-devkit/build-angular@"^17.2.0" from the root project
    npm ERR!
    npm ERR! Fix the upstream dependency conflict, or retry
    npm ERR! this command with --force or --legacy-peer-deps
    npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

    Here’s a potential solution:

    Delete the ‘node_modules’ folder and the ‘package-lock.json’ file, then reinstall npm. This could resolve your issue.

    To do this, execute the following commands:

    1. Delete ‘node_modules’
    2. Delete ‘package-lock.json’
    3. Run ‘npm install’
  • Fix [Errno 8] Exec format error: ‘/Users//.azure/bin/bicep’

    When you run az bicep command on Mac M1, you might experience error

    [Errno 8] Exec format error: '/Users/<username>/.azure/bin/bicep'

    This error is because for some reason, bicep in azure cli was installed with a non-ARM version, to resolve this, do following steps

    1. Remove /Users/<username>/.azure/bin/bicep
    2. Run az bicep version, this will force Azure CLI to download bicep and refresh.
    3. If you see a message output with Successfully installed Bicep CLI to, then the bicep is repaired successfully.
  • oh-my-zsh slow on WSL2 git directory

    You might notice oh-my-zsh very slow on WSL2 shell, especially when you cd into a directory with git enabled.

    This can be resolved by running following command

    git config --global oh-my-zsh.hide-status 1
  • git clone error “Operation not permitted” on WSL2 Shell

    On a clean installed WSL2 (Windows SubSystem for Linux Gen 2), you might get error “Operation not permitted” when trying to run command git clone on the shell.

    To resolve this, simple run following commands:

    sudo umount /mnt/c
    sudo mount -t drvfs C: /mnt/c -o metadata
    

    You might need to replace the drive letter if you hit error on other drivers.

  • How do I know if my current Windows 10 PC meets the minimum hardware requirements for Windows 11?

    If you’d like to see if your current PC meets the minimum system requirements, you can download the PC Health Check app (PC Health Check ​​​​​​​). Most Windows 10 PCs currently being sold will be able to upgrade to Windows 11. For the PC to be able to upgrade to Windows 11, it must meet the minimum hardware specifications and specific hardware is required for some features (minimum system requirements). 

    If your current device does not meet the minimum hardware requirements, you will not be able to install Windows 11. You do not have to upgrade to Windows 11 in this case as windows 10 will be continue to be supported until October 14, 2025. (Windows 10 Retirement Date)

  • Change password from a computer in RDP session

    If you want to change password from a computer running windows server in RDP session, you will find Ctrl-Alt-End does not work as its always caught by current session. Follow these steps to change password in RDP session

    1. Press Ctrl-Alt-End
    2. Select Change Password
    3. Input current and new password and press enter
  • Change the default PDF Viewer in Windows 10

    ​When Microsoft Edge is set as your default browser, your PDF viewer will also default to Microsoft Edge. If you would like to change the default application associated with a file type, follow these steps:

    1. Go to Settings > System > Default apps
    2. Scroll to the end of the dialog
    3. Select “Choose default apps by file type
    4. Scroll to the .pdf file type listed on the left
    5. Left click on the associated item to the right of the file type
    6. Select the default app you want to use for opening .pdf files