Skip to main content

Posts

IVR or SMS based navigation for smart phone not education equipped people

Problem statement:    On Thursday morning (16-10-2025) i went for walking near Perungudi in chennai. There, i was saw a truck driver he notes the address and has some navigation landmarks. But, he hesitate to follow the navigation due to every day development of chennai. He asked me if you know this location. I said , i don't know but, you may follow the map. He said I have dial pad phone no map in it. So, I was traveled with the track to reach the place used by google map. Then , I realised many Indian old people causing this problem and some poor internet place also. Solution:    If some one know where they are or say some landmark through mobile like 198 (AI). It should say their location on voice call and if they want navigation to some places it should create session with say the navigation tips. It will recall them to ensure they are going correct path. Predictable problems:    1. Voice call or sms not encrypted it may tab by middle one to give wrong ...
Recent posts

mobile toilets

Abstract:   I just faced struggle during attending interview in Chennai. I need 4 hrs sitting or stay place , toilet and bathroom for refreshing and take some breath. But, In Chennai if I want to take bath the hotel charging 500 rupees with one hour stay. Then, I thought why don't make it as a service business model. If some one need sitting for few hours able charge from 50 to 100 for non AC or AC can charge 100 to 200. And for bathing for 10 min is chargeable upto 100. If that toilet, bathroom and sitting place integrated in simple van it can move around wherever want . Description:    Newly comers or some one come for business for a day. Then, they need some refreshments place with sitting place. If offer you can book a van . If that van has vacancy people move to the near van. If more people booked from single place van will move viable distance for them. Predictable problems: 1. Illegal activity may happen (smuggling like) 2. Abuse may happen. 3. Cleaning and moving ...

PHP can run AI models - no need Python

 Objective:     Run AI models only using php. Now this is possible with  https://github.com/CodeWithKyrian/transformers-php  this library. I have tried object detection and question answering using this library. Technology:       1.  PHP 8.2 Initialization:     Guide -  https://transformers.codewithkyrian.com/getting-started 1. Initialize project by composer init cmd. 2. Install transformer library by  composer require codewithkyrian/transformers cmd. 3. Enable ffi extention in php.ini       extension = ffi      ffi.enable = true 4. Enable opcache      opcache.jit = tracing 5. Increase memory limit      memory_limit = 512M I. Object detection: ( https://transformers.codewithkyrian.com/object-detection )     Object detection can improve web application perspective . Example:  Retail applications can speed up checkout by automatically recognizing ...

Don't assign value to reference variable.

Objective:          I just tried to create linked list in php.  Challenges:     In php array is sufficient for most data types (simple array, multi-dimensional array and key-value associative array). But, i just tried using  stdClass Object ( pre-defined interfaces and class ). Here, I created one stdClass with reference key and it reference to another class up to final and that final class  reference key is null. Here I used reference key as reference variable. Once i started assigning reference value to this key it assigning new value to it and old one erased. $a = new stdClass(); $a->name = "Trial"; $a->ref = null; for($i=1;$i <= 10;$i++){  $b = new stdClass();  $b->name = 'Demo mj '.$i;  $b->ref = null;  if($a->ref === null ){   $a->ref = &$b;  }else{   $current = $a->ref;   wh...

PHP array_shift not preserve key

 Objective:     When i want to remove first element from array and preserve key it happened. That is array shift only return key or change the key value of php array. Technolog:     php-8.2 Challenge:     Here, Changed that array keys. Solution:   `array_slice()` used to preserve that array key. syntax:      array_slice(array, starting position, length,  preserve_keys);

bootstrap-popper not allowing html table

  Objective :       Creating popover with html using bootstrap-popover.js Technology:  Bootstrap version - 4.6.1 Popper - 1.16.1 Jquery - 3.5.1 Challenge:     1. basic syntax for popover <button type= "button" class= "btn btn-lg btn-success" data-toggle= "popover" title= "Popover title" data-content= "And here's some amazing content. It's very engaging. Right?" > Click to toggle popover </button>      $ ( function () {           $ ( '[data-toggle="popover"]' ). popover ();      });    2. Put html to that popover syntax <button type= "button" class= "btn btn-lg btn-success" data-toggle= "popover" title= "Popover title" data-content= "And here's some amazing content. It's very engaging. Right?" > Click to toggle popover </button>      $(function () { $('button[data-toggle="popover"]').popover(...

Inventory management system project.

 Objective:       Enable efficient tracking and management of store inventory to ensure products are available when needed. Technology:  PHP 8.2 Codeigniter framework 4.6.1 Codeigniter shield (Auth library) 1.1.0  Firecamp for restAPI testing  Notepad++ code writing (light weight) mySQL  Plan: First people will authenticate using email and password then, Other API access by using Bearer token.    Challenges: Product can measured by different property - {weight, size or volume} Product amount will vary occasionally - {festival, demand} Types of inventory operation - {add, sale, return, remove, adjust, transfer} 1.First challenge:        Whenever measure one material in different measurement then, That material is different product because, It may be in different phase [solid, liquid, gas]. Example- when buying fruit in solid measured as kg , if buying fruit measured in volume. So, same fruit come under different p...