Showing posts with label languages. Show all posts
Showing posts with label languages. Show all posts

Wednesday, September 13, 2023

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;

}


Sunday, December 10, 2017

The new way to learning languages and other cognitive things could be dangerous for people.

Picture 1


Kimmo Huosionmaa

There were been lots of commercials, what consists new way of learning the languages. The methodology basis probably the subliminal- or electric stimulation for the frontal lobe and this kind of products can be used in the language studies. But if the question is about the learning the language with this kind of equipment, and learning languages is only one of the cognitive operations in the human brains.


The most modern DIY-systems can transfer the information in the people brains with magnetic fields. So the person who is in the influential area of this kind of system and probably the person will not even know that this kind of magnetic system is used to them. And in the real life, this kind of equipment can be installed even in the person's bedroom even that this target doesn't know the existence of this system.

https://www.scimex.org/newsfeed/dont-try-this-at-home-diy-electrical-brain-stimulation-has-shocking-potential-for-harm

And the learning the mathematics or other studies like history is same way simple with that equipment. But the same systems might use in the military training, the cassettes or disks what involve the language studies, can use simply the way to train people the things like city warfare tactics, and this kind of equipment can be used with special forces operators, when they must learn their mission very fast and carefully.

So this person just goes to sleep and the system will give the signals to the cortex or frontal lobe of the people. In theory, the same disks can involve another kind of material, like recorded EEG-signals of some high-level karate-fighter. And this information might be packed to same disks as the language courses are recorded. In the real life that might mean to learn the self-defense skills is so simple as the language courses, and also the jet fighter and another kind of operators, who need to do things very fast can use this kind of electricity-based systems to improve the learning in their skills.


But this kind of systems can be suitable for engineer sciences, where the student must be learned very complicated things in their studies. The same disks what are suitable for language studies can be used in the engineer studies. If the question is infra voice system, the student can record the lectures, what the professor keeps and then just put the cassette inside the bandanna.


Of course, this kind of systems, what have the capacity for transfer memories between the people, can revolutionize many things in the world, and the military personnel feels before what is to be inside the battlefield before they will go to the combat zone. And the adult movie entertainments will get the new dimension when the people can feel those things themselves.


The systems what uses electricity for brain stimulation are more sophisticated than acoustic systems, but there is the risk in use of them. If somebody will put their wrong information, this person can cause extremely hate in some person mind. If the system has the capacity to transfer memories to another person,  that will cause the situation, where some Nazi can manipulate some people to hate the black people. He can make the situation, where black people will attack against some person, and after that play that tape in the somebody head. Then this person will go to the police, who don’t do anything because this person is not the real victim of the crime. And this will cause the horrible situation, where the people will don’t know, what is true or lie.

Picture 1

https://www.scimex.org/newsfeed/dont-try-this-at-home-diy-electrical-brain-stimulation-has-shocking-potential-for-harm

New winds for interstellar probes.

“Light sails can propel spacecraft using the energy of the Sun. Credit: NASA/Aero Animation/Ben Schweighart” (ScitechDaily, Humanity May Soo...