Tuesday, December 23, 2025

Want to use your old android phone as python flask web server?

I was exploring how I can use my old phone(with android 9) as webserver . I came across "Termux" which helped me achieve this. 

The first problem with install Termux is, it is not available on Google play store. I had to use f-droid store.

I went to f-droid site and installed the apk.

Here are the steps:

Setting up an SSH server in Termux allows you to access your Android device's command line remotely from another computer or device

Prerequisites

Ensure you have the latest version of Termux, preferably installed from F-Droid as the Play Store version is outdated.

Ensure both the Android device running Termux and the client device (your computer) are connected to the same local network (Wi-Fi or hotspot).

    Steps to Set Up the SSH Server

  1. Update packages: Open the Termux app and run the following commands to ensure all packages are up to date:
    pkg update && pkg upgrade -y
  2. Install OpenSSH: Install the OpenSSH package, which includes the sshd server daemon:
    pkg install openssh -y
  3. Set a password: You need a password for SSH login. This is the password for your Termux user (which is an Android user ID like u0_a123, not your phone's lock password):
    passwd
  4. Enter and confirm your new password when prompted.
  5. Find your username and IP address:Find your username (e.g., u0_a123):
    whoami
  6. Find your device's local IP address (look for the inet address under the wlan0 interface, typically something like 192.168.x.x):
    ip addr show
  7. Start the SSH server: Start the SSH daemon in Termux:
    sshd
    By default, the Termux SSH server listens on port 8022 (not the standard port 22, unless you have rooted your device and manually changed the configuration).
    Optional: Prevent Termux from sleeping: To ensure the server keeps running in the background, you should enable a partial wake lock in the Termux notification settings.

Connecting from Another Device

From your computer or another device on the same network, use an SSH client (like OpenSSH on Linux/macOS, or PuTTY/WSL on Windows) to connect. Replace <username> and <ip_address> with the values you found in step 4:

bash
ssh -p 8022 <username>@<ip_address>

When prompted, enter the password you set in step 3. You are now connected to your Android device's Termux environment via SSH.

To stop the server at any time, run:
pkill sshd




References:

https://wiki.termux.com/wiki/Main_Page

For gui try this:



Monday, December 22, 2025

Karnataka Survey numbers

 Do you want to know your survey number with GPS co-ordinates?

Try the Dishaank App by Karnataka GVT.

Sunday, December 21, 2025

Rope knots(Tie a Tie)

This website here lists all the knots with animation and easy for you to do it your selves.

https://www.animatedknots.com/

Tying a Tie(FREE with animation):

https://www.animatedknots.com/tie-a-windsor-necktie-knot

https://www.animatedknots.com/tie-a-pratt-necktie-knot


Easy loose shoe lace knots: https://www.facebook.com/reel/2048556859404809 

Pick something from ditch knot: https://www.facebook.com/reel/795049090035078
Do you have something like keys that fell into ditch or pit and want to pickup ? Try above.

Sack knot/Moote(Local lingo) knot: https://www.facebook.com/reel/1279547457344325

More references:

Tenson adjustment based knot: https://www.youtube.com/shorts/5_HWXsL_QOY

Another tenson adjustment knot(easy illustration): https://www.facebook.com/reel/1536391984261657

https://www.facebook.com/reel/1275662306962923

Another video from facebook reels:

https://www.facebook.com/reel/1572054310713240


Different types of Solenoid valves

 Did you know there are different types of solenoid valves? I am making a note of this in this video.

Different types of solenoid valves:

https://youtube.com/shorts/8V5dsDCvmps?si=BLx2ZgQFKkSQwOtM


If you are looking for electric controlled on or off valve there are 2 types.

1. Latching (bi-stable) Solenoid Valve

2. Electric Motorized Ball valve

Free DJ web tool

 Do you want to mix your own songs and create DJ music on the fly. Try this free link, no login required:

https://youdj.online/

Demo link:https://www.facebook.com/reel/1875118533211746

Download youtube videos on windows

 Completely free:

winget install yt-dlp

yt-dlp "youtube-link"

Demo link:
https://www.facebook.com/reel/753707901054318

Download any media files

 Do you want to download any media you found on internet.

On Android use:

https://sealapk.net/

Of Iphone:Blackhole splitter.


Ref usage video: https://www.facebook.com/reel/1096550172410651

Friday, December 19, 2025

Jio Tag

 Bought date: 05 September 2025

Amount : Rs. 999/-


4th year Ertiga car service

 Date: 05/09/2025 16:51

Service advisor estimate was Rs.11,500/-

Recommendation by service advisor

  • Battery change as it is weak
  • Windshield wipers change
  • Steering shaft change
  • AC filter(it is already changed due to RAT)
Requested not to change above items

Changed were:
  • Engine Oil
  • Spark plugs
  • Fuel filters petrol and cng
  • Brake fluid
  • Coolent
Service advisor asking price: Rs. 10,600 
I asked to remove following and reduce price:
  • Air filter(Rs. 500)
  • Hanging perfume(Rs. 60)
Total came to Rs.10,100/-

Finally agreed for 10% on labor charge and 3% on parts.

Final price: Rs.9535/-

Bought Pigeon Air Fryer

 Date: 31 July 2025
Amount: 7,204/-


Thursday, December 18, 2025

BBMP DRONE MAPS Site

 Bengaluru's BBMP has created drone snapshot of the full Bangalore from low height. It includes more details than any other maps site which is taken from a very large height. 

Try the below link:

GBA GISViewer

https://www.girani.in/ : Make your own receipe

 Want to make your own masala powders, use this web site.

https://www.girani.in/

Wednesday, December 17, 2025

ZLUDA: Breaking CUDA’s Vendor Lock-In (AMD GPU, ROCm)

 ZLUDA is an open‑source compatibility layer that enables CUDA applications—originally designed for NVIDIA GPUs—to run on non‑NVIDIA hardware such as AMD and Intel GPUs. Born in 2020 by Andrzej Janik for Intel’s oneAPI Level Zero, the project later pivoted to support AMD via ROCm and HIP.

The Journey

  • Initial momentum with Intel support was later halted; the project then found new life through AMD’s backing, enabling near-native performance of CUDA apps on Radeon GPUs. [topcpu.net]
  • After AMD withdrew support in early 2024 due to licensing concerns, ZLUDA was open‑sourced and re‑architected from scratch, leading to the release of v4 in December 2024. [topcpu.net], [phoronix.com]
  • With fresh funding and growth to a multi-person team, the project now targets broader hardware and AI workloads.

  • What It Delivers Today

    • ZLUDA v4/v5 allow unmodified CUDA binaries to run on AMD GPUs with near-native throughput, sometimes even outperforming HIP for specific benchmarks like Geekbench 5.5.1. [topcpu.net], [phoronix.com]
    • The release of ZLUDA 5 added an offline compiler (“zoc”) for translating PTX to AMD RDNA ISA, and improved correctness and debugging for AI/ML workloads including llama.cpp.

    Why It Matters

    1. Opens GPU Ecosystem. ZLUDA undermines CUDA’s vendor lock-in by enabling CUDA applications to run on diverse GPU hardware. [nabil.org], [topcpu.net]
    2. Boosts Choice & Affordability. Developers can use AMD or Intel GPUs without abandoning CUDA-based tools or rewriting code. [itsfoss.gitlab.io], [nabil.org]
    3. Accelerates Innovation. Supports academic, research, and industrial users in AI, simulation, and rendering by removing hardware constraints. [topcpu.net], [itsfoss.gitlab.io]

    Challenges Ahead

    • Still in early stages, with limited compatibility—primarily Geekbench and preliminary LLM support. [topcpu.net], [phoronix.com]
    • Developers must wait around a year for broader maturity and production readiness. [topcpu.net], [phoronix.com]
    • Legal ambiguities linger due to CUDA’s licensing restrictions, though no formal disputes yet. [topcpu.net]

    Looking Forward

    The ZLUDA roadmap includes wider ML framework support (e.g., TensorFlow, PyTorch), PhysX compatibility, improved multi-GPU execution, and deeper integration with compute standards like Vulkan and WebGPU. Success could redefine GPU computing, blurring the lines between NVIDIA, AMD, and Intel ecosystems. 

    References:[topcpu.net], [vosen.github.io]



    Sunday, December 7, 2025

    Aircraft flight trejectory

     Do you want to see any aircraft flight trejectory in 3d? Most of the online tools like flightradar give you the present location and some information..

    https://objectiveunclear.com/airloom.html

    Saturday, December 6, 2025

    YouTube Video Summarizer

    Want to summarize a youtube video? Use this AI site.

     https://notegpt.io/youtube-video-summarizer

    Story of California(CA, USA)

    Didn't know about the past of California and how it got its name. I saw this video and its interesting. So creating this blog.

    All copy rights and credits with Johny Harris.

    https://www.facebook.com/reel/1590266879053305
    https://www.youtube.com/watch?v=Hcq9_Tw2eTE

    Summary:

    It explores the historical myth of California as an island, a cartographic and cultural phenomenon that influenced global maps and perceptions for over two centuries. The story begins with the narrator’s discovery of numerous old maps from the 17th to 18th centuries depicting California as a separate island off the west coast of North America—a fact contradicting earlier, more accurate maps from the 1500s. This discrepancy leads to an investigation into the origins and persistence of the myth.

    RESUME Generator

     AI based resume generator/modifier
    https://www.kickresume.com/en/ 
    Demo: https://www.facebook.com/reel/835203872504002


    Friday, December 5, 2025

    Boredom GAMES

     Free flight simulator:
    https://geo-fs.com/


    TV shows / Videos / shows

     Retro US english TV shows:(cartoon, news,
    https://myretrotvs.com/ 

    Example: Garfield: https://00s.myretrotvs.com/#Mw56WjNUe7M

    Simsons: https://00s.myretrotvs.com/#lXQhrFQxGbY


    YOUTUBE for free: https://skipvids.com


    CSS, HTML UI element designer sites

    HTML/CSS UI elements designer sites:
     https://uiverse.io/ 
    DEMO: https://www.facebook.com/reel/1158948159706067




    AI PROMPTS

     Automatic AI image prompts generator:

    https://flowith.io
    Demo: https://www.facebook.com/reel/2022091261951975

    ANDROID latest version install

     How to install latest android(16) using DSO and Shizuku(Android Dual boot, without data loss)

    https://www.youtube.com/watch?v=Y2m_awpKKnw 



    Thursday, December 4, 2025

    TV/Entertinement SITES

    1.  https://tv.garden

    2. https://retrocrush.tv

    3. https://tiii.me/


    Drive and listen: https://drivenlisten.com/

    This websites lets you see video of many cities.


    Playphrase:

    https://www.playphrase.me/

    Search for a phrase and it will show short clips from videos saying the phrase.

    Free Hosting links

     GCloud: tutorial

    https://www.youtube.com/watch?v=tHbboSWjOnw

    BOOKS and Magazines

     Magazine archive link:

    Google search term: The magazine rack

    Link: https://archive.org/details/magazine_rack


    Wednesday, December 3, 2025

    Using Eucalyptus Oil as a Cat Deterrent: What You Need to Know

     Cats are curious creatures, and while we love them, sometimes they wander into spaces where they shouldn’t—like your garden beds or furniture. If you’re looking for a natural way to keep cats away, eucalyptus oil often comes up as a popular option. But is it safe and effective? Let’s dive in.

    Why Eucalyptus Oil Works

    Eucalyptus oil has a strong, sharp aroma that most cats find unpleasant. Cats have an extremely sensitive sense of smell, so even a small amount of eucalyptus scent can discourage them from entering an area. This makes it a potential deterrent for gardens, patios, and certain indoor spaces.

    Safety First: Is Eucalyptus Oil Toxic to Cats?

    Here’s the critical part: eucalyptus oil is toxic to cats if ingested or absorbed through the skin. It can cause symptoms like drooling, vomiting, lethargy, and even more severe health issues. Therefore:

    • Never apply eucalyptus oil directly to a cat’s fur or skin.
    • Avoid placing it where cats might lick or ingest it.

    The goal is to create a scent barrier, not harm the animal.


    How to Use Eucalyptus Oil Safely

    If you decide to use eucalyptus oil as a deterrent, follow these steps:

    1. Dilute the Oil
      Mix a few drops of eucalyptus oil in a spray bottle with plenty of water. A safe ratio is about 2–3 drops per cup of water.

    2. Apply Strategically
      Spray the diluted solution on surfaces where cats tend to visit—such as garden borders, outdoor furniture, or entry points. Avoid spraying on plants that cats might chew.

    3. Alternative Method
      Soak cotton balls or tea bags in the diluted solution and place them in areas you want to protect. This reduces the risk of direct contact.


    Safer Alternatives

    If you’re concerned about toxicity, consider other cat-safe deterrents:

    • Citrus peels (cats dislike citrus scents)
    • Vinegar spray (strong smell, but safe)
    • Commercial cat repellents labeled as non-toxic

    Little Home chefs

    Self made home chocolates

     https://www.facebook.com/reel/1295014502380430 

    Home cooked biscuits

    https://www.facebook.com/reel/1464861028054480 

    Peanut Kaju Katli: https://www.youtube.com/watch?v=A5Q_SCPp08o&pp=0gcJCSUKAYcqIYzv

    Did you know that if you go to this website you can give calories and it will give you receipes no login required.
    https://eatthismuch.com   -> Eat This Much.


    Powerful website for people who are learning cloth sewing

    https://freesewing.eu/designs/albert 

    See this video for demo:

    https://www.facebook.com/reel/772927089066095 

    Reverse mortgage on your living home for cash

     Watch this video:

    https://www.facebook.com/reel/1057538986582767 

    why does g++ fail when I try to build b2 within podman cross container ppc64le machine?

     I think the following issue that am getting from g++ can be debugged and contributed to opensource community.

    (ppc-pyarrow-venv) [root@SNPS-sglkUwjXAq build]# make -j1

    [  0%] Performing configure step for 'boost_ep'

    CMake Error at /hostshare/naveenr/ppc-builddir/arrow/cpp/build/boost_ep-prefix/src/boost_ep-stamp/boost_ep-configure-RELEASE.cmake:37 (message):

      Command failed: 1


       './bootstrap.sh' '--prefix=/hostshare/naveenr/ppc-builddir/arrow/cpp/build/boost_ep-prefix/src/boost_ep' '--with-libraries=filesystem,system'


      See also


        /hostshare/naveenr/ppc-builddir/arrow/cpp/build/boost_ep-prefix/src/boost_ep-stamp/boost_ep-configure-*.log

    > g++ -x c++ -std=c++11 -O2 -s -DNDEBUG builtins.cpp class.cpp command.cpp compile.cpp constants.cpp cwd.cpp debug.cpp debugger.cpp execcmd.cpp execnt.cpp execunix.cpp filesys.cpp filent.cpp fileunix.cpp frames.cpp function.cpp glob.cpp hash.cpp hcache.cpp hdrmacro.cpp headers.cpp jam_strings.cpp jam.cpp jamgram.cpp lists.cpp make.cpp make1.cpp md5.cpp mem.cpp modules.cpp native.cpp object.cpp option.cpp output.cpp parse.cpp pathnt.cpp pathsys.cpp pathunix.cpp regexp.cpp rules.cpp scan.cpp search.cpp startup.cpp subst.cpp sysinfo.cpp timestamp.cpp variable.cpp w32_getreg.cpp modules/order.cpp modules/path.cpp modules/property-set.cpp modules/regex.cpp modules/sequence.cpp modules/set.cpp -o b2


    Failed to build B2 build engine


    -- stderr output is:

    g++: internal compiler error: Segmentation fault signal terminated program cc1plus

    Please submit a full bug report, with preprocessed source.

    See <http://bugzilla.redhat.com/bugzilla> for instructions.


    CMake Error at /hostshare/naveenr/ppc-builddir/arrow/cpp/build/boost_ep-prefix/src/boost_ep-stamp/boost_ep-configure-RELEASE.cmake:47 (message):

      Stopping after outputting logs.



    make[2]: *** [CMakeFiles/boost_ep.dir/build.make:92: boost_ep-prefix/src/boost_ep-stamp/boost_ep-configure] Error 1

    make[1]: *** [CMakeFiles/Makefile2:1144: CMakeFiles/boost_ep.dir/all] Error 2

    make: *** [Makefile:146: all] Error 2

    (ppc-pyarrow-venv) [root@SNPS-sglkUwjXAq build]# exit