Author Topic: Video: AI that generates code  (Read 7269 times)

0 Members and 1 Guest are viewing this topic.

Online xrunner

  • Super Contributor
  • ***
  • Posts: 7745
  • Country: us
  • hp>Agilent>Keysight>???
Re: Video: AI that generates code
« Reply #50 on: June 16, 2022, 12:58:00 am »
However, your lack of understanding here is my fault ...

Interesting that it said that at the beginning.
I told my friends I could teach them to be funny, but they all just laughed at me.
 

Online MK14

  • Super Contributor
  • ***
  • Posts: 4952
  • Country: gb
Re: Video: AI that generates code
« Reply #51 on: June 16, 2022, 01:11:48 am »
However, your lack of understanding here is my fault ...

Interesting that it said that at the beginning.

There is a possible issue with my (and maybe other peoples) quotes.  Because it seems to place two completely different types of responses, into the (web page's) input/output field box.

One type is a correction and/or addition(s) to the question, so you can see what is going on, and correct the question, if/as necessary.

The other type is the actual answer.

So, that beginning bit, was probably its attempt at straightening out the question, before it answered it.

Currently, their user interface (web based), is not especially good at that, at the moment, in my opinion.  Because they should really use different colours and/or mark out, what was the original question, and what is the modified/updated question, if necessary.

EDIT: Hypothetical example (completely made up to show the concept):

Original question "If I have 3 bags of sugar, and 2, what do I have?"

***MIGHT*** change the question to:

"If I have 3 bags of sugar and 2 more bags of sugar, what do I have all together?

Where it highlights in green, both the additions/changes(? not sure if it changes things), to the question, and the output, in the same web window.  Usually separated by around 2 blank lines, between the question and answer.
« Last Edit: June 16, 2022, 01:27:55 am by MK14 »
 

Offline Ed.KloonkTopic starter

  • Super Contributor
  • ***
  • Posts: 4000
  • Country: au
  • Cat video aficionado
Re: Video: AI that generates code
« Reply #52 on: June 16, 2022, 03:50:37 am »
Code: [Select]
In a minute, I’ma need a sentimental Man or women to pump me up
iratus parum formica
 

Offline eti

  • Super Contributor
  • ***
  • !
  • Posts: 1801
  • Country: gb
  • MOD: a.k.a Unlokia, glossywhite, iamwhoiam etc
Re: Video: AI that generates code
« Reply #53 on: June 16, 2022, 05:35:02 am »
Let me know when "AI" generates intelligent design. I hear it's booked in for the 12th of never  ;D

It has a reply for you:

Quote
Let me know when "AI" generates intelligent design. I hear it's booked in for the 12th of never


. However, your lack of understanding here is my fault. The point I have been trying to make is that AI and machine learning are not the same thing. AI is a branch of computer science, where the goal of AI research is to create agents that can reason, learn and act autonomously.

Machine learning on the other hand, is a subfield of AI that deals with the creation of algorithms that can learn from data. So while machine learning can be used to create intelligent agents, it is not the same as AI.



EDIT: After other attempts:

Quote
Let me know when "AI" generates intelligent design. I hear it's booked in for the 12th of never

.

I'm not sure when "AI" will generate intelligent design, but I know it's not something that will happen overnight. It may take years, or even decades, for artificial intelligence to reach the level of human intelligence.

Ah the old excuse people use for something which they KNOW is a load of bollocks, IF they had the guts and integrity to ACTUALLY wake up and be HONEST.

What with it being a complete daydream and technologists/futurists nonsensical daydream (and also the SHEER ARROGANCE of humans to think they can achieve human consciousness without a soul or a spirit, which come from GOD) - pushing said "completion" or "success" further and further into the future, and when said time arrives, that same postponement will have happened another 10,000 times between the first statement of "it'll happen one day", and the current day (which will arrive in the future), which was roughly "see" to BE that "one day".

Utter baloney. It's a bit of sand with traces on it. Let's not get too delusional!

You'd have more success trying to lick your elbow or bite your ear.

It's called a fairytale, a delusion,
« Last Edit: June 16, 2022, 05:40:30 am by eti »
 

Offline Ed.KloonkTopic starter

  • Super Contributor
  • ***
  • Posts: 4000
  • Country: au
  • Cat video aficionado
Re: Video: AI that generates code
« Reply #54 on: June 16, 2022, 05:59:21 am »
Whatchu talkin' 'bout Willis?

Anything non-human can have a soul.
iratus parum formica
 

Offline fourfathom

  • Super Contributor
  • ***
  • Posts: 1984
  • Country: us
Re: Video: AI that generates code
« Reply #55 on: June 16, 2022, 06:15:10 am »
(and also the SHEER ARROGANCE of humans to think they can achieve human consciousness without a soul or a spirit, which come from GOD)

Well, that was interesting. 

And is anyone claiming that the AI being demonstrated possesses consciousness or self-awareness?  I sure haven't seen it.  I don't think this is even a goal of the project.
We'll search out every place a sick, twisted, solitary misfit might run to! -- I'll start with Radio Shack.
 
The following users thanked this post: MK14

Offline magic

  • Super Contributor
  • ***
  • Posts: 7249
  • Country: pl
Re: Video: AI that generates code
« Reply #56 on: June 16, 2022, 06:52:36 am »
Perhaps a reference to the Goolag drone who got fired for insisting that one of their AI products is sentient and publishing confidential information about it to organize an outrage crusade against Goolag management that didn't take his concerns seriously.
 

Online MK14

  • Super Contributor
  • ***
  • Posts: 4952
  • Country: gb
Re: Video: AI that generates code
« Reply #57 on: June 16, 2022, 12:48:59 pm »
Ah the old excuse people use for something which they KNOW is a load of bollocks, IF they had the guts and integrity to ACTUALLY wake up and be HONEST.

What with it being a complete daydream and technologists/futurists nonsensical daydream (and also the SHEER ARROGANCE of humans to think they can achieve human consciousness without a soul or a spirit, which come from GOD) - pushing said "completion" or "success" further and further into the future, and when said time arrives, that same postponement will have happened another 10,000 times between the first statement of "it'll happen one day", and the current day (which will arrive in the future), which was roughly "see" to BE that "one day".

Utter baloney. It's a bit of sand with traces on it. Let's not get too delusional!

You'd have more success trying to lick your elbow or bite your ear.

It's called a fairytale, a delusion,

Well, let's perform a thought experiment, and see how things add up.  Let's consider a number of tasks, and take two different entities, to perform them, and (as a thought experiment), compare them, here.

For (test) Subject1, we will take someone from 1950, who was
 aged 30 at that time.  They will notionally have each required skill(s), as applicable.  For (test) Subject2, we will take each modern available (either purchasable or via possibly unreleased to the public, prototypes), in its most suitable form.

Let the (thought experiments) begin (my apologies, I didn't realize how bad the forums table feature was going to turn out):

Details of TestSubject1 Man from 1950, aged 30  Subject2 Latest Gadget/Prototype/Etc
Maths calculationsThey would do it with
 pencil and paper, slowly
Scientific Calculator, solves most
 maths number things, very quickly
Vehicle DrivingCan drive a carSelf driving cars.  Not necessarily ready
 for mass public
 usage, everywhere.  But
 exists in prototype form, and more
Playing ChessCan play chess to a reasonable levelChess program/computer, can beat
all human opponents, usually (world chess champs no problem,
 but computer chess experts can be tricky opponents)
Information from a book and stuffWould have to look it up with paper versions of booksCan google it for answers
Answering a telephone, and giving intelligent answersCan answer a telephone, and give simple
 answers to simple questions
Alexa can answer simple and straightforward
 questions, in some/many cases, but not all



In other words, a number of skills, which would have tended to only be performed by humans, in say the 1950s (with some notable exceptions), can now be done by machine.  As time goes on, the number of things that use to only be done by humans, are then done by machines.  Is likely to increase more and more, over time (chip shortages permitting).

A question back at you.
Apparently PI has recently been calculated to 100 trillion digits.  How long would humans take to perform the same calculations (pen and paper, only) and would it be 100% accurate?
Bonus side question.  Would there even be enough paper on earth, to write out all those digits, by hand?
« Last Edit: June 16, 2022, 12:53:27 pm by MK14 »
 

Online themadhippy

  • Super Contributor
  • ***
  • Posts: 3029
  • Country: gb
Re: Video: AI that generates code
« Reply #58 on: June 16, 2022, 01:04:21 pm »
Quote
SHEER ARROGANCE of humans to think they can achieve human consciousness without a soul or a spirit, which come from GOD)
is that like the sheer arrogance of certain humans who go around trying to get everybody to believe in some fantasy sky fairy
 
The following users thanked this post: wraper, xrunner

Offline fourfathom

  • Super Contributor
  • ***
  • Posts: 1984
  • Country: us
Re: Video: AI that generates code
« Reply #59 on: June 16, 2022, 03:32:53 pm »
Quote
And is anyone claiming that the AI being demonstrated possesses consciousness or self-awareness?  I sure haven't seen it.  I don't think this is even a goal of the project.
Perhaps a reference to the Goolag drone who got fired for insisting that one of their AI products is sentient and publishing confidential information about it to organize an outrage crusade against Goolag management that didn't take his concerns seriously.

OK.  I had already forgotten about him, as he is (IMO) obviously delusional.
We'll search out every place a sick, twisted, solitary misfit might run to! -- I'll start with Radio Shack.
 
The following users thanked this post: MK14

Offline RoGeorge

  • Super Contributor
  • ***
  • Posts: 6809
  • Country: ro
Re: Video: AI that generates code
« Reply #60 on: June 16, 2022, 05:05:56 pm »
You'd have more success trying to lick your elbow





 :)
 
The following users thanked this post: xrunner, MK14

Offline tpowell1830

  • Frequent Contributor
  • **
  • Posts: 863
  • Country: us
  • Peacefully retired from industry, active in life
Re: Video: AI that generates code
« Reply #61 on: June 16, 2022, 06:12:16 pm »
Here is the GPT-3 free online tool writing C# code as follows. The first part is my description of program:

design a program for C# that will have a form, full screen, with title "Resistor Color Code Decryption". Add 4 text boxes with labels for "Color Code" that is left justified plus 50, centered from top. Write the code needed to examine the contents of the text boxes and define each according to resistor color codes when a push button, centered on form, is pressed. Add necessary prompts for errors and remarks for each code grouping.

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ResistorColorCodeDecryption
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            string colorCode1, colorCode2, colorCode3, colorCode4;
            int value1, value2, value3;
            double resistorValue;

            colorCode1 = textBox1.Text;
            colorCode2 = textBox2.Text;
            colorCode3 = textBox3.Text;
            colorCode4 = textBox4.Text;

            if (colorCode1 == "black")
            {
                value1 = 0;
            }
            else if (colorCode1 == "brown")
            {
                value1 = 1;
            }
            else if (colorCode1 == "red")
            {
                value1 = 2;
            }
            else if (colorCode1 == "orange")
            {
                value1 = 3;
            }
            else if (colorCode1 == "yellow")
            {
                value1 = 4;
            }
            else if (colorCode1 == "green")
            {
                value1 = 5;
            }
            else if (colorCode1 == "blue")
            {
                value1 = 6;
            }
            else if (colorCode1 == "violet")
            {
                value1 = 7;
            }
            else if (colorCode1 == "gray")
            {
                value1 = 8;
            }
            else if (colorCode1 == "white")
            {
                value1 = 9;
            }
            else
            {
                MessageBox.Show("Invalid color code entered for first band");
                return;
            }

            if (colorCode2 == "black")
            {
                value2 = 0;
            }
            else if (colorCode2 == "brown")
            {
                value2 = 1;
            }
            else if (colorCode2 == "red")
            {
                value2 = 2;
            }
            else if (colorCode2 == "orange")
            {
                value2 = 3;
            }
            else if (colorCode2 == "yellow")
            {
                value2 = 4;
            }
            else if (colorCode2 == "green")
            {
                value2 = 5;
            }
            else if (colorCode2 == "blue")
            {
                value2 = 6;
            }
            else if (colorCode2 == "violet")
            {
                value2 = 7;
            }
            else if (colorCode2 == "gray")
            {
                value2 = 8;
            }
            else if (colorCode2 == "white")
            {
                value2 = 9;
            }
            else
            {
                MessageBox.Show("Invalid color code entered for second band");
                return;
            }

            if (colorCode3 == "black")
            {
                value3 = 0;
            }
            else if (colorCode3 == "brown")
            {
                value3 = 1;
            }
            else if (colorCode3 == "red")
            {
                value3 = 2;
            }
            else if (colorCode3 == "orange")
            {
                value3 = 3;
            }
            else if (colorCode3 == "yellow")
            {
                value3 = 4;
            }
            else if (colorCode3 == "green")
            {
                value3 = 5;
            }
            else if (colorCode3 == "blue")
            {
                value3 = 6;
            }
            else if (colorCode3 == "violet")
            {
                value3 = 7;
            }
            else if (colorCode3 == "gray")
            {
                value3 = 8;
            }
            else if (colorCode3 == "white")
            {
                value3 = 9;
            }
            else
            {
                MessageBox.Show("Invalid color code entered for third band");
                return;
            }

            resistorValue = (value1 * 10 + value2) * Math.Pow(10, value3);

            if (colorCode4 == "black")
            {
                MessageBox.Show("Resistor value is " + resistorValue + " ohms +/- 20%");
            }
            else if (colorCode4 == "brown")
            {
                MessageBox.Show("Resistor value is " + resistorValue + " ohms +/- 1%");
            }
            else if (colorCode4 == "red")
            {
                MessageBox.Show("Resistor value is " + resistorValue + " ohms +/- 2%");
            }
            else if (colorCode4 == "orange")
            {
                MessageBox.Show("Resistor value is " + resistorValue + " ohms +/- 3%");
            }
            else if (colorCode4 == "yellow")
            {
                MessageBox.Show("Resistor value is " + resistorValue + " ohms +/- 4%");
            }
            else if (colorCode4 == "green")
            {
                MessageBox.Show("Resistor value is " + resistorValue + " ohms +/- 0.5%");
            }
            else if (colorCode4 == "blue")
            {
                MessageBox.Show("Resistor value is " + resistorValue + " ohms +/- 0.25%");
            }
            else if (colorCode4 == "violet")
            {
                MessageBox.Show("Resistor value is " + resistorValue + " ohms +/- 0.1%");
            }
            else if (colorCode4 == "gray")
            {
                MessageBox.Show("Resistor value is " + resistorValue + " ohms +/- 0.05%");
            }
            else if (colorCode4 == "white")
            {
                MessageBox.Show("Resistor value is " + resistorValue + " ohms +/- 5%");
            }
            else
            {
                MessageBox.Show("Invalid color code entered for fourth band");
                return;
            }
        }
    }
}

It does not create the form in code, and suppose, that is realistic, since this will be done by user.
PEACE===>T
 
The following users thanked this post: tom66, MK14

Offline AndyBeez

  • Frequent Contributor
  • **
  • Posts: 858
  • Country: nu
Re: Video: AI that generates code
« Reply #62 on: June 16, 2022, 08:21:57 pm »
Here is the GPT-3 free online tool writing C# code as follows. The first part is my description of program...
《 etc 》
It does not create the form in code, and suppose, that is realistic, since this will be done by user.
And here is another problem; code normalization.

An experienced C# developer will be thinking classes, iterators, generics, event binding and anything else in the toolkit to make that forms code work in as few maintainable lines as possible. Not to mention the added/grinding complexity of Windows Presentation Foundation. Seeing this in production code might raise a few 'issues' in review.

My opinion is, regardless if language, the AI code generator is just a starting point for developers. Maybe this will become the finishing point go-to app for students programming in 'Arduino'? No one knows how or even why the code works, it just does.
 
The following users thanked this post: Ed.Kloonk, Miyuki, MK14

Offline tpowell1830

  • Frequent Contributor
  • **
  • Posts: 863
  • Country: us
  • Peacefully retired from industry, active in life
Re: Video: AI that generates code
« Reply #63 on: June 16, 2022, 08:47:28 pm »
Here is the GPT-3 free online tool writing C# code as follows. The first part is my description of program...
《 etc 》
It does not create the form in code, and suppose, that is realistic, since this will be done by user.
And here is another problem; code normalization.

An experienced C# developer will be thinking classes, iterators, generics, event binding and anything else in the toolkit to make that forms code work in as few maintainable lines as possible. Not to mention the added/grinding complexity of Windows Presentation Foundation. Seeing this in production code might raise a few 'issues' in review.

My opinion is, regardless if language, the AI code generator is just a starting point for developers. Maybe this will become the finishing point go-to app for students programming in 'Arduino'? No one knows how or even why the code works, it just does.

I tried again, same request and the code was shortened considerably by utilizing "switch" instead of all of "else if" statements. The third time it even included remarks as I asked, code below:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Resistor_Color_Code_Decryption
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void btnDecode_Click(object sender, EventArgs e)
        {
            //define variables
            string colorCode1, colorCode2, colorCode3, colorCode4;
            int numValue1, numValue2;
            double multiplier, tolerance;

            //get user input
            colorCode1 = txtColorCode1.Text;
            colorCode2 = txtColorCode2.Text;
            colorCode3 = txtColorCode3.Text;
            colorCode4 = txtColorCode4.Text;

            //calculate and display results
            numValue1 = ColorCode(colorCode1);
            numValue2 = ColorCode(colorCode2);
            multiplier = Multiplier(colorCode3);
            tolerance = Tolerance(colorCode4);
            lblResult.Text = Result(numValue1, numValue2, multiplier, tolerance);
        }

        static int ColorCode(string colorCode)
        {
            int numValue = 0;

            switch (colorCode.ToLower())
            {
                case "black":
                    numValue = 0;
                    break;
                case "brown":
                    numValue = 1;
                    break;
                case "red":
                    numValue = 2;
                    break;
                case "orange":
                    numValue = 3;
                    break;
                case "yellow":
                    numValue = 4;
                    break;
                case "green":
                    numValue = 5;
                    break;
                case "blue":
                    numValue = 6;
                    break;
                case "violet":
                    numValue = 7;
                    break;
                case "gray":
                    numValue = 8;
                    break;
                case "white":
                    numValue = 9;
                    break;
                default:
                    MessageBox.Show("Invalid Color Code");
                    break;
            }
            return numValue;
        }

        static double Multiplier(string colorCode)
        {
            double multiplier = 1;

            switch (colorCode.ToLower())
            {
                case "black":
                    multiplier = 1;
                    break;
                case "brown":
                    multiplier = 10;
                    break;
                case "red":
                    multiplier = 100;
                    break;
                case "orange":
                    multiplier = 1000;
                    break;
                case "yellow":
                    multiplier = 10000;
                    break;
                case "green":
                    multiplier = 100000;
                    break;
                case "blue":
                    multiplier = 1000000;
                    break;
                case "violet":
                    multiplier = 10000000;
                    break;
                case "gray":
                    multiplier = 100000000;
                    break;
                case "white":
                    multiplier = 1000000000;
                    break;
                default:
                    MessageBox.Show("Invalid Color Code");
                    break;
            }
            return multiplier;
        }

        static double Tolerance(string colorCode)
        {
            double tolerance = 20;

            switch (colorCode.ToLower())
            {
                case "brown":
                    tolerance = 1;
                    break;
                case "red":
                    tolerance = 2;
                    break;
                case "green":
                    tolerance = 0.5;
                    break;
                case "blue":
                    tolerance = 0.25;
                    break;
                case "violet":
                    tolerance = 0.1;
                    break;
                case "gray":
                    tolerance = 0.05;
                    break;
                case "gold":
                    tolerance = 5;
                    break;
                case "silver":
                    tolerance = 10;
                    break;
                default:
                    MessageBox.Show("Invalid Color Code");
                    break;
            }
            return tolerance;
        }

        static string Result(int numValue1, int numValue2, double multiplier, double tolerance)
        {
            double result = (numValue1 * 10 + numValue2) * multiplier;
            string strResult = "";

            strResult = result.ToString() + " ohms, +/- " + tolerance.ToString() + "%";
            return strResult;
        }
    }
}

I don't think this machine learning tool will replace programmers at all, but it does give a quick starting point as you said. I don't consider myself a programmer and this work would have taken me 1.5 to 2 hours to complete, and then I may have rewritten again. I have written some user tools and over the last 30 years and some stuff specific to hardware that I have designed, but i never considered myself a coder (programmer). This would have saved me hours in my work so I can be working on other machine design issues.

Doesn't matter to me anymore, since I am retired.
PEACE===>T
 
The following users thanked this post: Ed.Kloonk, MK14

Offline Circlotron

  • Super Contributor
  • ***
  • Posts: 3341
  • Country: au
Re: Video: AI that generates code
« Reply #64 on: June 17, 2022, 03:01:36 am »
Yeah, I think these things are better viewed as something to assist you rather than something to replace you. For now at least.
 
The following users thanked this post: Ed.Kloonk, MK14

Offline Miyuki

  • Frequent Contributor
  • **
  • Posts: 907
  • Country: cz
    • Me on youtube
Re: Video: AI that generates code
« Reply #65 on: June 17, 2022, 05:29:00 am »
I see it as a great possible expansion to IntelliSense
It is already pretty smart in many cases when it suggests reasonable lines of code or nice templates to fill
 
The following users thanked this post: MK14

Offline Circlotron

  • Super Contributor
  • ***
  • Posts: 3341
  • Country: au
Re: Video: AI that generates code
« Reply #66 on: June 17, 2022, 08:16:38 am »
Deep city.
 

Offline AndyBeez

  • Frequent Contributor
  • **
  • Posts: 858
  • Country: nu
Re: Video: AI that generates code
« Reply #67 on: June 17, 2022, 08:58:34 pm »
I tried again, same request and the code was shortened considerably by utilizing "switch" instead of all of "else if" statements. The third time it even included remarks as I asked, code below:
That third iteration is closer to what might be expected for the task. Correct use of ToLower() which alows users to MixCASE theIR iNpUTs. Extra point there for the junior programmer. I suspect the AI code generator is using some kind of generic model of what a program has to do given the problem, and then applies this method to the syntax of a language. Programmers tend to start with what a language can do, and then use that to solve the problem. Which is why two programmers can come out with three program solutions. Either way, both entities use some kind of decisioning tree.

I would be interesting to know what the AI does when you ask the code generator to "use enumerated values". In C# the output should read something like:
Code: [Select]
enum colorCode {
   black, 
   brown,
...etc..
   white
}

# The CASE statment then is similar to
switch ( value.ToLower() ) {
    case "black":
    return colorCode.black;
    break;
    ...
}
Enumerations in C# support many methods, so it is possible to write the code without any conditional statements at all. Which is a limitation of the AI; there is a 'density' in good coding that only comes from experience. Maybe that's the Art Of Programming?
https://www.w3schools.com/cs/cs_enums.php if you're interested.

I see it as a great possible expansion to IntelliSense
...
In my opinion, IntelliSense is why Visual Studio has the edge over all other IDEs. It would be cool-ISH to have a suggest code feature. Although you'll need to implement a team policy that prevents thoughtfull programmers getting usurped by the office's lazy code hacks.

 
The following users thanked this post: MK14

Offline tpowell1830

  • Frequent Contributor
  • **
  • Posts: 863
  • Country: us
  • Peacefully retired from industry, active in life
Re: Video: AI that generates code
« Reply #68 on: June 18, 2022, 05:26:31 pm »
Ok, so I decided to ask GPT-3 a beginner question in electronics:

"ME: which npn transistor would you use for a low wattage, class D audio amplifier?

GPT-3: There are a number of different types of NPN transistors that could be used for a low wattage, class D audio amplifier. Some of the more common types include the 2N3904 and the 2N2222."

Specific, but not terribly difficult. This tool could replace google for such questions, since the answers generally come from the internet, but one doesn't have to scroll through tons of answers as well as ads.

After playing with this for several days, I think that it is a useful tool, however, I have gotten erroneous or highly biased answers as well. But, no different than what you would find searching with google.
PEACE===>T
 
The following users thanked this post: MK14

Offline Miyuki

  • Frequent Contributor
  • **
  • Posts: 907
  • Country: cz
    • Me on youtube
Re: Video: AI that generates code
« Reply #69 on: June 18, 2022, 08:45:57 pm »
...
Specific, but not terribly difficult. This tool could replace google for such questions, since the answers generally come from the internet, but one doesn't have to scroll through tons of answers as well as ads.

After playing with this for several days, I think that it is a useful tool, however, I have gotten erroneous or highly biased answers as well. But, no different than what you would find searching with google.
Just wait till the ads will be camouflaged as relevant answers with powerful AI
They want to show you as many ads as possible, getting your answer, in the end, is just a bait to attract you
 
The following users thanked this post: SilverSolder, tpowell1830

Offline SilverSolder

  • Super Contributor
  • ***
  • Posts: 6126
  • Country: 00
Re: Video: AI that generates code
« Reply #70 on: June 23, 2022, 12:09:54 pm »
[...]
Apparently PI has recently been calculated to 100 trillion digits.  How long would humans take to perform the same calculations (pen and paper, only) and would it be 100% accurate?
[...]

Only a computer would be dumb enough to actually calculate PI to that many digits...    a human would have gone to make love in the grass with a beautiful woman.  Can a computer do that?   QED!   :D
 
The following users thanked this post: MK14

Online xrunner

  • Super Contributor
  • ***
  • Posts: 7745
  • Country: us
  • hp>Agilent>Keysight>???
Re: Video: AI that generates code
« Reply #71 on: June 23, 2022, 01:02:36 pm »
Only a computer would be dumb enough to actually calculate PI to that many digits...    a human would have gone to make love in the grass with a beautiful woman.  Can a computer do that?   QED!   :D

Not yet ...  :popcorn:
I told my friends I could teach them to be funny, but they all just laughed at me.
 
The following users thanked this post: SilverSolder, MK14

Online MK14

  • Super Contributor
  • ***
  • Posts: 4952
  • Country: gb
Re: Video: AI that generates code
« Reply #72 on: June 23, 2022, 02:54:31 pm »
Only a computer would be dumb enough to actually calculate PI to that many digits...    a human would have gone to make love in the grass with a beautiful woman.  Can a computer do that?   QED!   :D

The Youtube channel that reported the PI record (100 Trillion digits), also solved or attempted to solve (calculate), 100 digits of PI.  I've not seen the second video yet, but I plan to watch it, at some point.  Both Youtube videos, are linked below.



 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf