Skip to main content

AI-based chatbots might have a larger scale and faster influence on the world than nobody expected.

 AI-based chatbots might have a larger scale and faster influence on the world than nobody expected. 



Chat GPT and its competitors have already changed the programming industry. Even their freeware versions can create many things faster than human programmers. Even if the AI-based chatbot cannot dump data straight into a file, it can show the example code. Then the human user can copy-paste that code to the programming editor. Of course, there is some kind of changes like database names and file paths, that the programmer must change. 

But also freeware versions of those AI chatbots can boost the effectiveness of the programming. When people ask which of those chatbots is the best, I must say: decide yourself. Even social media applications have some kind of AI-based chatbot extensions. The AI can create complicated programs very quickly by using public databases. But machine learning makes those systems even more powerful. 





The code above is created by Bing (free version) using the command: "Show me a database connection in C++". The complete code is below this text. And you can see how small changes there must be made. The C++ examples include the same code, but Bing finds it faster than human users. That makes it an effective tool that can improve the effectiveness of programming. 

A learning machine is like a worker who keeps the tools that the person often requires closer than tools that are not needed so often. 


In programming machine learning means that the system will store the modules and code that it needs in the shortcut. The shortcut can be the storage on a hard disk. Or it can be a database with a list of home pages that the system requires very often. There is storage about the user interface models, database connections, and SQL databases that the system normally uses. And that makes it faster. 

When a self-operating AI chatbot makes a program it can change the names of databases and their connections in each program. But the fact is that database connections are always similar. if they are written with the same programming languages. The only thing that makes a difference with those things in different programs is the names of databases. 

If the system keeps a book about codes and libraries, that it used in a certain type of software it could be faster and more effective. The AI-based chatbot works in the cloud. That means the users are using the same software that runs in the same entirety. That means the AI can download libraries and the code that it uses in some software into a "standby" position. 

If the AI must not use the public Internet in all its missions it would be faster and more accurate than any human can be. When we talk about "limited AI! we might mean the programming tool that can create the program by using locally downloaded libraries. In that case, the system uses the internet only for asking code models. Then that system can connect those models with the libraries that it needs. The thing that prevents the AI from making the software is that it doesn't have the required programming libraries.  

The cumulation of information makes the AI more versatile. Sometimes people ask: Can AI-based- chatbots reach awareness? There is the possibility that an AI-based chatbot can hire it's awareness from the users. But the thing that the AI-based chatbot can do is it can create new software at a fast speed. And that thing means the AI-based chatbots are the next-generation programming tools. 


https://techxplore.com/news/2023-09-chatbot-self-awareness.html


*********************************************************************

// Standard C++ includes

#include <iostream>

#include <cstdlib>

// Include the Connector/C++ headers

#include "cppconn/driver.h"

#include "cppconn/exception.h"

#include "cppconn/resultset.h"

#include "cppconn/statement.h"

// Link to the Connector/C++ library

#pragma comment (lib, "mysqlcppconn.lib")

// Specify our connection target and credentials

const std::string server = "localhost";

const std::string username = "root";

const std::string password = "";

int main()

{

    sql::Driver *driver; // Create a pointer to a MySQL driver object

    sql::Connection *dbConn; // Create a pointer to a database connection object

    sql::Statement *stmt; // Create a pointer to a Statement object to hold our SQL commands

    sql::ResultSet *res; // Create a pointer to a ResultSet object to hold the results of any queries we run

    try

    {

        driver = get_driver_instance(); // Get a driver to use to connect to our DBMS

        dbConn = driver->connect(server, username, password); // Connect to the MySQL server

        dbConn->setSchema("test"); // Select the database "test"

        stmt = dbConn->createStatement(); // Create a statement object

        res = stmt->executeQuery("SELECT 'Hello World!' AS _message"); // Execute a simple query

        while (res->next()) // Loop through the result set

        {

            std::cout << res->getString("_message") << std::endl; // Print the result

        }

        delete res; // Delete the result set object

        delete stmt; // Delete the statement object

        delete dbConn; // Delete the connection object

    }

    catch (sql::SQLException &e) // Catch any SQL errors

    {

        std::cerr << e.what() << std::endl; // Print the error message

    }

    return 0;

}


Comments

Popular posts from this blog

MIT's tractor beam can make the new types of SASER systems possible

   "This chip-based "tractor-beam," which uses an intensely focused beam of light to capture and manipulate biological particles without damaging the cells, could help biologists study the mechanisms of diseases."(Interesting Engineering, MIT’s Star Wars-inspired ‘tractor beam’ uses light to capture, manipulate cells) MIT's tractor beam can make the new types of SASER systems possible. The tractor beam just hovers the nanoparticle in air or medium, and then the laser or some other electromagnetic system transports oscillation into those particles. The ability to make cells and other particles hover in the system makes it possible to create particles whose energy level or resonance frequencies are accurately calculated things.  That thing makes it possible to create things that transmit wave movement accurately and cleanly. This is one version of the use of a tractor beam. Modern tractor beams are like acoustic tweezers where sound waves lock the object in its cr

The new observations tell that the thunderstorms form gamma-rays. That could make gamma-ray lasers possible.

  "An illustration of NASA’s research plane ER-2 flying over thunderstorms. Credit: University of Bergen / Mount Visual (CC BY 4.0), edited" (ScitechDaily, Surprising Discovery: NASA’s Retrofitted U2 Spy Plane Reveals Tropical Lightning Storms Are Radioactive) The new observations tell that the thunderstorms form gamma-rays. That could make gamma-ray lasers possible. The process has been observed by the NASA (Lockheed) ER-2 research plane, which is a modified U-2 spy plane. The gamma-ray formation in thunderstorms. Where lightning and electric fields release electrons that impact the air molecules and water droplets is an interesting thing. That thing opens the route to solving many mysteries.  "The general physics behind how thunderstorms create high-energy flashes of gamma radiation is not a mystery. As thunderstorms develop, swirling drafts drive water droplets, hail, and ice into a mixture that creates an electric charge much like rubbing a balloon on your shirt. Pos

Chinese innovations and space lasers are interesting combinations.

Above: "Tiangong is China's operational space station located in low Earth orbit. (Image credit: Alejomiranda via Getty Images)" (Scpace.com, China's space station, Tiangong: A complete guide) Chinese are close to making nuclear-powered spacecraft.  Almost every day, we can read about Chinese technical advances. So are, the Chinese more innovative than Western people? Or is there some kind of difference in culture and morale between Western and Chinese societies? The Chinese superiority in hypersonic technology is one of the things that tells something about the Chinese way of making things.  In China, the mission means. And the only thing that means is mission. That means that things like budgets and safety orders are far different from Western standards. If some project serves the Chinese communist party and PLA (People's Liberation Army) that guarantees unlimited resources for those projects. Chinese authorities must not care about the public opinion.  If we th