How to Fix a Stretched Camera Preview in Flutter on Rotation

thumb cloudinary start fixed 3

Are you experiencing a stretched or distorted camera preview in your Flutter app when the device rotates, even though you’re only supporting portrait mode? This is a common issue when using the camera package. This article provides a practical solution to lock the camera orientation and prevent unwanted stretching. Understanding the Problem The camera package, … Read more

Error: Building wheel for llama-cpp-python

error: subprocess-exited-with-error × Building wheel for llama-cpp-python (pyproject.toml) did not run successfully.│ exit code: 1╰─> [128 lines of output] This solution worked for my case. My System is Linux. No GPU. pip install –no-cache-dir llama-cpp-python==0.2.85 –extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cu122 Github Link Also Consider this solution if this doesn’t work. Github Link

Error: Externally Managed Environment

This error occurs because your Python environment is externally managed, meaning the system Python installation is protected to prevent breaking critical dependencies. Solution 1: Use a Virtual Environment (Recommended) Either Venv or Conda. Virtual environments ensure: Using virtual environments is the safest and most flexible way to manage Python dependencies. Solution 2: Verify Correct Pip … Read more

Deploy LLM in HuggingFace Spaces For Free Using Ollama

In this tutorial, we’ll explore how to deploy Large Language Models (LLMs) for free using Ollama and LangChain on Hugging Face Spaces. This approach allows you to leverage powerful language models without the need for expensive GPU resources or complex infrastructure. Prerequisites Step 1: Setting Up the Project First, let’s create our project structure: Step … Read more

3D Blender Step-By-Step Tutorial: How to Create a Simple Vase in Blender?

BUILD A VASE IN BLENDER

Chapter 3: Want to make a simple vase? Welcome to the third chapter in the Blender Tutorial Series where we will learn to build a vase. Before you start reading, do check out other chapters as well. Chapter 1 talks about the basics of the Blender and its functionalities.  Chapter 1: Introduction to Blender Chapter 2 talks about … Read more

Getting Started with Blender: Introduction | Easy Tutorials For Beginners

final

One-Page Notes: Blender Ch 1: What am I looking at? So you booted up Blender, a free 3D modeling program on par with most paid programs today, thinking you are about to be a hotshot in the 3D modeling world. Well…you might just be. But first, you’ll need some guidance. As a fellow student of … Read more

Creating a QRCode scanner with Swift | Swift Tutorial

qr code scanner with swift ui

Creating a QRCode scanner in iOS in Swift We can build a QRCode scanner in iOS very easily using the AVFoundation library provided to us by Apple. It is a very powerful tool to manipulate the Audio and Video capability of the device.  But today we’ll only be using the MetaDataObject api to detect QRCode … Read more