AI Observability: You Can’t Improve What You Can’t See

Why monitoring AI applications in production requires more than checking whether the application is running Introduction: The Demo Worked. What Happens Next? Building an AI application has become easier. Developers can use large language models (LLMs), retrieval-augmented generation (RAG), APIs, and AI-assisted coding tools to create useful applications faster than ever. But getting an AI…

Read More

Estimating the development timeline for an API when SQL queries are ready

Estimating the development timeline for an API when SQL queries are ready involves evaluating several factors. Here’s a step-by-step approach: 1. Define API Scope Number of Endpoints: Count how many API endpoints need to be created. Complexity per Endpoint: Consider if endpoints are simple (e.g., a single query) or complex (e.g., require multiple queries or custom logic). Authentication…

Read More

How to check and change innodb buffer pool size in mysql database

 The InnoDB buffer pool size in MySQL determines how much memory is allocated to store frequently accessed data and indexes. To check and change it, follow these steps:   1. Check Current InnoDB Buffer Pool Size     a. Log in to MySQL         mysql -u root -p     b. Run the Following Query   …

Read More

How to get the auto incremented id after adding the data in mysql

 In one of the project we were working on, we had a situation, where we need to add a record to the table of the database. The added record id is auto incremented in database. This id needs to added to another table with some more data. Now the issue here is how to get…

Read More

Android Studio says: duplicate class found and not able to build

While I was trying to build an android project on latest Android studio that is: Android Studio Flamingo | 2022.2.1 Patch 2 Build #AI-222.4459.24.2221.10121639, built on May 12, 2023 Runtime version: 17.0.6+0-b2043.56-9586694 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. I got the below error: “Duplicate class found” Duplicate class kotlin.collections.jdk8.CollectionsJDK8Kt found in modules…

Read More

Tips and Best Practices for Developing High-Performance Android Apps

Developing high-performance Android apps requires careful consideration of various factors. Here are some tips and best practices to help you achieve optimal performance: Optimize UI Rendering: Use efficient layout hierarchies and avoid nested views when possible. Employ view recycling techniques such as RecyclerView for efficient list/grid rendering. Minimize overdraw by reducing unnecessary backgrounds and transparent…

Read More