How to use AI to create android app

Android Studio 11 Medium Android Phone emulator
Finally a customed WordPress Client developed using AI Assistance and AI Agent in the flesh

The biggest hurdle of creating an App for android device is learning how to use its tool chain.

This is how I did it using AI and AI Agent or AI Assistance.

Continue reading

Smoking gun that AI will lie to you, gaslight you, and tell the half truth

It all started with a small experiment to restore an image I have using ChatGPT.

No argument on the capability of ChatGPT to enhance image

The curiosity as an engineer that profess system thinking wanted to know more on how ChatGPT enhanced the image. So I asked a follow up question “are the image rebuilt using known images that matches this image ?”

ChatGPT trying to lawyer its user with very eloquent gaslighting

The answers feels almost perfect for folks that does not have domain knowledge about digital image. To top of that from my post graduate degree I learned an important concept about AI or Machine learning. The quote from Tom Mitchell “A computer program is said to learn from experience (E) with respect to some class of tasks (T) and performance measure (P), if its performance at tasks in (T), as measured by (P), improves with experience (E).

Experience (E): The data or learning experience the program receives.

Class of Tasks (T): The specific task or class you want the computer to perform.

Performance Measure (P): The testing and evaluation phase used to verify if accuracy is improving.

In this case I realized and very aware that the glare on my photo has no more data, which makes it impossible to be restored without understanding of the logo and character. To dig deeper I need to use to proper keyword “data wipe out from the glare” in the prompt.

ChatGPT acknowledge the challenge posed to it

Fair explanation on the first part. Until you realized it is using lawyer tactics to misdirect and to eloquently gaslight in the second part of the explanation.

ChatGPT long version of agree to disagree

I can see that ChatGPT uses a wily constructed sentence used by a sleazy colleague or boss to project power. Gaslighting and dismissive of your counter point. ChatGPT would be able to convince folks that has no domain knowledge.

Conclusion, make sure you do a “doverjai, no proverjai” when using of AI or “generative AI“.

Using ESP32 to upload data into ThingSpeak

ESP32-Wrover does have SPI or SDMMC, that will require additional purchase of modules for the microSD or other SD physical card module.

The need to create proper data acquisition (DAQ) using ESP32-Wrover will be easier by leveraging free service offered by ThingSpeak from Mathlab.

From the previous project https://chow.karmeng.my/2025/03/28/programming-esp32-wrover-with-dht22-am2302-humidity-and-temperature-sensor/ , I am intent to make use of the light sensor. L1B01 light module to collect data of ambience light.

L1B01 light sensor
Continue reading

Use Ventoy to create USB drive multiboot disk for your computer

For the TLDR Get start . Ventoy

Select and install your preferred version, either windows or linux

Run the program after unzip

E drive the USB drive to be made as multiboot USB drive

Click on Install button to install Ventoy into your USB drive.

Once it is done, open the Computer Management to verify Ventoy installation.

Disk 3 which is selected to have Ventoy installed

Upon install a partition VTOYEFI will be a 32MB partition in your USB drive.

Next place all your intended ISO into the counterpart partition.

Add ISO into the other partition of the USB drive

You can now boot a computer using Ventoy.

Quickly installing wazuh into docker environment

Based on Wazuh official documentation Wazuh Docker deployment – Deployment on Docker · Wazuh documentation

TLDR; just need to have docker engine installed on your favorite OS.

The next thing to do is to ensure your OS has a git client and run the following to clone Wazuh into your machine

git clone https://github.com/wazuh/wazuh-docker.git -b v4.12.0

Next, generate the certificates that are needed by Wazuh to work. Make sure to decide to run on a single node or multinode indexer Wazuh. Go to the appropriate directory from the cloned Wazuh git repo. Then run

sudo docker-compose -f generate-indexer-certs.yml run --rm generator

If you are using the newer version aka Version 2 docker compose run the following instead

sudo docker compose -f generate-indexer-certs.yml run --rm generator

Once certificate are generated correctly

Once the certificate is installed, go to the correct directory then run the following:

sudo docker-compose up -d

Again, should version 2 of docker compose is used run the following instead

sudo docker compose up -d

Wazuh multinode when running correctly

If everything is good you will be able to browse to your Wazuh dashboard in a minute or 2.

Wazuh dashboard login
First time login into Wazuh dashboard
Wazuh Dashboard overview
Security warning or violation visualized

Using Wazuh to Secure Systems from the Wild Web

Wazuh SIEM (Security Information and Event Management) platform can help protect systems.

Wazuh SIEM Solution

Wazuh is a free, open-source tool that monitors systems, detects attacks, and logs security events.

It consists of:

  • Wazuh Server (collects and analyzes logs).
  • Wazuh Agents (installed on devices to send logs).
  • Wazuh Dashboard (visualizes threats and alerts).

Simulated Attacks & Findings

  • Brute Force Attacks: Hackers try guessing passwords repeatedly. Wazuh detects and blocks these attempts.
  • SQL Injection: Hackers inject malicious code into websites. Wazuh logs and prevents unauthorized access.
  • Shellshock Attack: Exploits a Linux vulnerability. Wazuh identifies and stops such attempts.

Security Recommendations

  • Regularly update software to fix vulnerabilities.
  • Use strong passwords and multi-factor authentication.
  • Monitor systems with tools like Wazuh to detect threats early.

Conclusion
Wazuh helps organizations detect, analyze, and respond to cyber threats before they cause harm. By implementing strong security measures, users can protect their systems from the dangers of the “Wild Web.”

Final Thought: Cybersecurity is essential—tools like Wazuh make it easier to stay safe online!

Using the ESP32 ESP32S Universal Purple Expansion Board module compatible with 38 pins ESP32 development board

Based on the previous post https://chow.karmeng.my/2025/03/28/programming-esp32-wrover-with-dht22-am2302-humidity-and-temperature-sensor/ , the breadboard that I had purchased has very unreliable connectivity. Resulting in signals from sensor not able to reach the ESP32 microcontroller board.

Upon hours of browsing, discovered expansion board module that is compatible with ESP32 and based on the price it does not break my pocket.

Gotten this cheap from an ecommerce site available in Malaysia

At the time of this post the price point offered is very affordable. I had order 2 pieces of the hardware.

Continue reading