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

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

Iron Dome is one of the most effective air defense systems.

The Iron Dome is a missile defense system whose missiles operate with highly sophisticated and effective artificial intelligence. The power of this missile defense base is in selective fire. The system calculates the incoming missile's trajectory. And it shoots only missiles that will hit the inhabited area. The system saves missiles and focuses defense on areas that mean something. The system shares the incoming missiles in, maybe two groups. Another is harmless and another is harmful.  Things like killer drones are also problematic because their trajectories are harder to calculate than ballistic missiles. The thing that makes drones dangerous is that they can make masks for ballistic missiles. And even if those drones are slow, all of them must be shot down.  The thing is that the cooperation between drone swarms and ballistic missiles is the next danger in conflict areas. In the film, you can see how drones make light images of the skies. The killer drones can also carry LED li

The innovative shield that protects OSIRIS-APEX can also protect the new hypersonic aircraft.

"NASA’s OSIRIS-APEX spacecraft successfully completed its closest solar pass, protected by innovative engineering solutions and showing improvements in onboard instruments. Credit: NASA’s Goddard Space Flight Center/CI Lab" (ScitechDaily, Innovative Engineering Shields NASA’s OSIRIS-APEX During Close Encounter With the Sun) The OSIRIS-APEX probe travels close to the sun. The mission plan is to research the sun. And especially find things that can warn about solar storms. Solar storms are things that can danger satellites at the Earth orbiter. And the purpose of OSIRIS-APEX is to find the method of how to predict those solar storms. Another thing is that the OSIRIS-APEX tests the systems and materials that protect this probe against heat and plasma impacts.  The same technology. The researchers created for OSIRIS-APEX can used in the materials and structures. That protects satellites against nuclear explosions. That means this kind of system delivers information on how to prot