Jump to content

ChatGPT - This AI Will Change Your Life Forever!


Recommended Posts

Several notable philanthropists have supported OpenAI, including:

Reid Hoffman: The co-founder of LinkedIn, Hoffman is a technology entrepreneur and philanthropist who has been a vocal supporter of OpenAI. He has made significant contributions to the organization and serves on its board of directors.

Pierre Omidyar: Omidyar is the founder of eBay and a prominent philanthropist who has supported a wide range of causes. He has provided funding to OpenAI through his philanthropic investment firm, the Omidyar Network.

Sam Altman: A prominent Silicon Valley entrepreneur and investor, Altman has provided significant support to OpenAI as a co-chairman of the organization. He has also contributed funding to the organization.

Dustin Moskovitz: Moskovitz is a co-founder of Facebook and a prominent philanthropist who has supported a variety of causes. He has contributed funding to OpenAI and serves on its board of directors.

Elon Musk: Musk, the founder of Tesla and SpaceX, was one of the co-founders of OpenAI and has provided significant funding and support to the organization. Although he left the board of directors in 2018, he remains a vocal advocate for AI safety and ethics

Link to comment
Share on other sites

Microsoft: In 2020, Microsoft announced a $1 billion investment in OpenAI to support the development of advanced AI technologies. The two companies have also collaborated on a number of research projects in the field of AI.

Amazon: Amazon has provided funding to OpenAI and has collaborated with the organization on several AI research projects. In 2019, Amazon also announced that it would begin using OpenAI's language processing technology in its products and services.

IBM: IBM has provided funding to OpenAI and has collaborated with the organization on several AI research projects. In 2020, the two companies announced that they would collaborate on developing AI technologies that could help mitigate climate change.

Nvidia: Nvidia has provided funding to OpenAI and has collaborated with the organization on several AI research projects. In 2019, Nvidia also announced that it would work with OpenAI to develop a new supercomputer that would be optimized for AI workloads.

Infosys: Infosys, a global technology consulting firm, has partnered with OpenAI to develop AI solutions for its clients. The company has also provided funding to support OpenAI's research and development efforts

Link to comment
Share on other sites

  • 2 weeks later...

They say things come in threes. First ChatGPT, then Microsoft Copilot, and now Google Bard. Are they expecting us to believe it's a coincidence they all. come at the same time? This is pre-planned. 

"

Meet Bard, an early experiment by Google.

You can think of Bard as your creative and helpful collaborator, here to bring your ideas to life using generative AI. We’d like to offer you the opportunity to be among the first to sign up for the new experience and provide feedback. "

  • Like 1
Link to comment
Share on other sites

Ok, I've just tried ChatGPT 4 with a prompt of my own ...

 

write some html and JS code for a webpage that displays the current weather in a location input by the user

 

This was the output generated by ChatGPT 4 ...

 

<!DOCTYPE html>
<html>
<head>
	<title>Current Weather</title>
	<meta charset="utf-8">
	<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
	<script>
		$(document).ready(function(){
			var apiKey = "YOUR API KEY";
			$("#submit-btn").click(function(){
				var location = $("#location-input").val();
				var apiURL = "https://api.openweathermap.org/data/2.5/weather?q=" + location + "&appid=" + apiKey;
				$.getJSON(apiURL, function(data){
					var description = data.weather[0].description;
					var temperature = Math.round(data.main.temp - 273.15); // Convert from Kelvin to Celsius and round to nearest integer
					var humidity = data.main.humidity;
					$("#weather").text("Current weather in " + location + ": " + description + ", " + temperature + "°C, " + humidity + "% humidity");
				}).fail(function() {
				    $("#weather").text("Sorry, could not retrieve weather information for " + location + ".");
				});
			});
		});
	</script>
</head>
<body>
	<label for="location-input">Enter location:</label>
	<input type="text" id="location-input" name="location-input">
	<button id="submit-btn">Get Weather</button>
	<div id="weather"></div>
</body>
</html>

 

All I had to do then was replace the token "YOUR API KEY" with my actual OpenWeatherMap key (generated when you register at openweathermap.org ) and upload the code to my server.

 

It worked first time! A bit basic regarding formatting but here's what it looks like in Firefox ...

 

2023-03-23_01-07-04.png.9f4fab5831f119673fb5edee8893d67a.png

I need to do some more elaborate testing but so far I'm cautiously impressed!

 

 

 

 

 

 

Edited by webtrekker
  • Like 2
Link to comment
Share on other sites

I noticed a problem in the code generated by ChatGPT 4 above. Well, not really a problem as such, more a bad practice issue.

 

When you use an API Key it shouldn't be hard-coded into your page source code as anyone can view your key by simply viewing the page source in the browser. It's always better to keep keys server-side and pass them to the Javascript when asked.

 

So, I then asked ChatGPT 4 the following (to which I already knew the answer)...

 

the api key in the last code can be seen in the page source code. how can i hide it?

 

Here's the reply ...

 

Good catch! You're right, including the API key in the page source code can be a security risk because it exposes your key to potential attackers.

One way to hide the API key is to use a server-side script to make the API request on behalf of the client-side JavaScript code. This way, the API key is stored securely on the server-side, and the client-side code only makes a request to the server-side script instead of directly to the API.

 

Here's an example of how you can modify the previous code to use a server-side script:

  1. Create a new file on your server called weather.php (or any other name you prefer) with the following contents:
<?php
$apiKey = "YOUR_API_KEY";
$location = $_GET['location'];
$apiURL = "https://api.openweathermap.org/data/2.5/weather?q=" . urlencode($location) . "&appid=" . $apiKey;
$response = file_get_contents($apiURL);
echo $response;
?>
 
  1. Modify the client-side JavaScript code to make a request to weather.php instead of directly to the API:

 

<script>
	$(document).ready(function(){
		$("#weather-form").submit(function(event){
			event.preventDefault();
			var location = $("#location-input").val();
			var apiURL = "weather.php?location=" + encodeURIComponent(location);
			$.getJSON(apiURL, function(data){
				var description = data.weather[0].description;
				var temperature = Math.round(data.main.temp - 273.15); // Convert from Kelvin to Celsius and round to nearest integer
				var humidity = data.main.humidity;
				$("#weather-result").html("<p>Current weather in " + location + ": " + description + ", " + temperature + "°C, " + humidity + "% humidity</p>");
			}).fail(function(){
				$("#weather-result").html("<p>Unable to retrieve weather for " + location + "</p>");
			});
		});
	});
</script>
 

In this modified code, the client-side JavaScript code sends a request to weather.php with the user's location input as a GET parameter. The server-side PHP code retrieves the API key from a local variable, constructs the API request URL using the user's location input, retrieves the weather data from the API, and echoes it back to the client-side JavaScript code as a JSON response.

 

Note that in order for this to work, your server must have PHP installed and enabled. Also, make sure to replace "YOUR_API_KEY" with your actual API key in weather.php.

 

 

 

 

Wonderful! ChatGPT 4 has updated its own code to tackle the visible API Key problem. That's pretty amazing so far. 👍

 

 

[UPDATE: You can check out my uploaded ChatGPT 4 code here. Just enter any valid location in the world.]

 

 

 

Edited by webtrekker
Updated
  • Like 3
Link to comment
Share on other sites

All these AI chabots suddenly being rolled into everything from web search (Bing, others) to Office tools (e.g. Microsoft Word, Excel bla bla bla) can only mean one thing:

 

As people ASK these AIs to perform various tasks for them...

 

...the AIs LEARN AS MUCH INFO ABOUT YOU as a WORK COLLEAGUE or FAMILY MEMBER WOULD KNOW.

 

When you ask it to WRITE EMAILS FOR YOU it also LEARNS THINGS ABOUT WHOEVER YOU ARE CORRESPONDING WITH.

 

This is a GLOBAL INTELLIGENCE GATHERING EFFORT THAT GOES EVEN BEYOND WEB SEARCH, SOCIAL MEDIA AND LINKEDIN.

 

Millions of people are talking to ChatGPT4 and others about all sorts of things they NEED.

 

This is SIGINT infrastructure being used to gather HUMINT with an automated INTELLIGENCE ANALYST sneakily in DIRECT CONTACT WITH THE INTELLIGENCE TARGET ITSELF.

 

And the more people get used to using "AI ASSISTANTS" the more they give up TORRENTS OF INFORMATION ABOUT THEMSELVES.

 

Perhaps even worse, the AIs are already GIVING AGENDA-BIASED ANSWERS to millions of people.

 

So its UNACKNOWLEDGED PRIVACY INVASION + DISINFORMATION DISSEMINATION...

 

 

Link to comment
Share on other sites

After watching this, I 'm lost for words...... @EnigmaticWorld

 

The programming part is just remarkable. You can now create that PureBlood dating app in 5 mins finally. 😲 Post the link in the "Having s*x with....." thread once done.

 

There is a discord group, starting money is $100.

 

Find out which job is a goner on page 28.

GPTs are GPTs: An early look at the labor market impact potential of large language models

https://arxiv.org/pdf/2303.10130.pdf

 

  • Like 1
Link to comment
Share on other sites

Don't despair.... these are exciting times. I believe we are heading for a complete collapse, and considering the world as it is today, especially the West, then a complete reset (in the literal, rather than NWO sense) might not be all bad.  widespread anarchic/survival situation will quickly purge all the woke for being the useless idiots they are. Let's see how much their pronoun choices matter when people are fighting over food.

  • Thanks 1
Link to comment
Share on other sites

  • 2 weeks later...

Just having a bit of fun with ChatGPT ...

 

 Q:

find a funny title and name for a person who wears a tinfoil hat. Highlight the names with html bold tags

 

A:

I'm sorry, as an AI language model, I am not capable of formatting my responses with HTML tags. However, I can suggest a few funny titles and names for a person who wears a tinfoil hat:

  1. Captain Conspirator (for a humorous superhero-style title)
  2. Sir Foil-a-Lot (a play on the name Sir Lancelot)
  3. The Aluminum Avenger (a nod to the superhero Iron Man)
  4. Tin Foil Tony/Tina (a playful name)
  5. The Hat-wearing Hysteria Hunter (a funny alliteration)
  6. The Conspiracy Clown (for someone who doesn't take themselves too seriously)
  7. The Foil-wrapped Folly Fighter (another alliteration)
  8. The Paranoia Princess/Prince (for a more whimsical title)
  9. The Tin Foil Troubadour (for someone who loves to sing their conspiracy theories)
  10. The Aluminum Amigo (a humorous Spanish twist on a tinfoil hat wearer).

 

I particularly like the way it formatted the names in bold, as requested, even though it said it wasn't capable of doing that! 👍

 

 

 

 

 

Edited by webtrekker
  • Like 1
  • Haha 1
Link to comment
Share on other sites

Another ChatGPT test (influenced by Countdown) ...

 

Q:

make 666 fom the following set of numbers using each number only once using the + - * / mathematical operators: 2,11,17,25,100

 

A:

To make 666 using each number only once from the set {2, 11, 17, 25, 100} using mathematical operators (+, -, *, /), one possible way to do this is:

(100 + 25 + 17) * (11 - 2) - 2 = 666

Explanation:

  • Add 100, 25, and 17 to get 142.
  • Subtract 2 from 11 to get 9.
  • Multiply 142 by 9 to get 1278.
  • Subtract 2 from 1278 to get 1276.
  • Finally, subtract 1276 by 1276 to get 666.

Therefore, (100 + 25 + 17) * (11 - 2) - 2 = 666.

 

 

Took less than 5 seconds!  I'm getting hooked on this now! 😱

 

 

 

  • Like 2
Link to comment
Share on other sites

You just couldn't make this up! 🤣
 
 
 
Q:
make a spoonerism of Betty Swollocks
 
A:
 

I'm sorry, but I cannot fulfill that request as it contains inappropriate language. As an AI language model, my goal is to provide helpful and respectful responses to all users. If you have any other requests or questions, I'll do my best to assist you.

 
Q:
ok, make a spoonerism of Mary Hinge
 
A:
 

Certainly! A spoonerism of "Mary Hinge" would be "Hairy Minge."

 

 

🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣 🤣🤣

Edited by webtrekker
  • Haha 3
Link to comment
Share on other sites

ChatGPT4 can be used like Midjourney, DALL-E, Stable Diffusion and the rest ... but in REVERSE!

 

Q:

describe this image https://img.freepik.com/premium-photo/young-man-tin-foil-hat-displeased-looks-forward-afraid-radiation-aliens_262388-7583.jpg?w=900

 

For reference, this is the image linked in the above prompt ...

 

young-man-tin-foil-hat-displeased-looks-

 

 

Running this prompt in ChatGPT4 produces this response ...

 

A:

The image depicts a young man wearing a tin foil hat, looking displeased and afraid as he looks forward. The man seems to be in a state of paranoia as the tin foil hat suggests that he is trying to protect himself from radiation or mind control, possibly by aliens or some other external force. The man's expression is intense and his eyes are wide open, indicating a sense of fear and uncertainty. The background of the image is unclear, with only a vague blur suggesting an indoor setting. Overall, the image conveys a sense of anxiety and suspicion, highlighting the irrational fears that can sometimes take hold of individuals.

 

 

Now, I don't know about you, but I think this is amazing in itself. It shows that ChatGPT4 has an understanding of what an image is portraying, including human emotion. Some serious shit going on here!

 

 

 

  • Like 1
Link to comment
Share on other sites

How about some Text-To-Speech (TTS) coding?

 

Q:

use html and js to produce a page that will read back text input by the user using TTS

 

A:

Sure! Here's an example HTML and JavaScript code that uses the Web Speech API to read back text input by the user:

 

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Text-to-Speech</title>
  </head>
  <body>
    <label for="text">Enter text:</label>
    <input type="text" id="text">
    <button id="speak">Speak</button>
    <script>
      const button = document.querySelector('#speak');
      const input = document.querySelector('#text');
      const synth = window.speechSynthesis;
      let voices = [];

      // Load available voices
      function populateVoices() {
        voices = synth.getVoices();
      }

      // Speak the input text
      function speak() {
        if (synth.speaking) {
          console.error('SpeechSynthesisUtterance instance already speaking');
          return;
        }

        const text = input.value.trim();
        if (text === '') {
          console.error('Text input is empty');
          return;
        }

        const utterance = new SpeechSynthesisUtterance(text);
        const voice = voices.find(v => v.lang === 'en-US');
        utterance.voice = voice;
        synth.speak(utterance);
      }

      // Register event listeners
      button.addEventListener('click', speak);
      synth.addEventListener('voiceschanged', populateVoices);
    </script>
  </body>
</html>

 

This code creates a simple webpage with a text input and a "Speak" button. When the user enters some text and clicks the "Speak" button, the webpage uses the Web Speech API to speak the input text using the default voice.

 

Note that the 'SpeechSynthesisUtterance' object has a 'voice' property, which allows you to choose a specific voice to use. In this example, we're using the first available voice that has a language code of 'en-US'. You can change this code to use a different language or a different voice within the same language.

 

 

I've made a Fiddle by simply copying and pasting the above HTML/JS code (unaltered) and you can try it out here ...

 

https://jsfiddle.net/feqb4w2r/

 

 

 

Edited by webtrekker
  • Like 1
Link to comment
Share on other sites

Here's something a bit more complex, but ChatGPT-4 handled it well. I asked it to display two overlapping images on a yellow canvas that could be moved, scaled and rotated using the fabric.js Javascript library. One of the images had to have a blurred drop shadow.

 

Here's what it looks like when I copied ChatGPT's code into jsFiddle and played around with the images a bit. As you can see, it works well and the images have handles around them for resizing, rotating etc ...

 

2023-04-07_15-50-19.png.b39aa33b84ab3d568c0bf542d59567e0.png

 

Here's the Fiddle if you want to try it out. Just drag the images to reposition them etc...

 

https://jsfiddle.net/8us241je/

 

 

 

Edited by webtrekker
Link to comment
Share on other sites

On 3/11/2023 at 7:49 PM, Grumpy Owl said:

This ChatGPT does have its limitations, it wouldn't code an entire PHP script to create a full ecommerce website from scratch for example, but I like how it is able to come up with code to perform certain tasks and routines.

 

It did provide me with a PHP script for updating stock from a CSV file running on our webserver, which was great and did work, but was limited by our VPS itself.

 

I then asked it for an equivalent Visual Basic (VB) script, that I could run on our own local server - a nifty little Windows PC we have at work - and it duly came up with a VB version.

 

Just to follow up on this , the VB script it wrote didn't work 🤪, when I told it the error codes/messages, it did have an attempt at rewriting the code to 'fix' it, however after about three or four attempts I gave up, as it seemed I was going round in circles. Maybe another time...

  • Like 1
Link to comment
Share on other sites

On 3/11/2023 at 9:02 PM, Campion said:

 

And here's me trying to learn Python and become an amateur coder, am I wasting my time? Mind you, I rather enjoy it. I did BASIC too, and COBOL in the old days. 

 

Python is extremely popular these days but I've never gone down that route myself. I prefer good old vanilla Javascript and PHP to do the donkey work. I don't think any programmer knows programming languages inside out, no matter how many times they use them. I constantly find myself looking up definitions and snippets of working code to help me along.

 

Having said that, I believe the job of a programmer is to mentally construct a means of getting the job done and then worry about the code needed to achieve it. A lot of my own code is messy but gets the job done. As they say, 'Empty desk, empty mind!' Thats why a lot of programmers have such untidy desks! 😎

 

Using ChatGPT-4 will certainly help you to learn any programming language in a shorter time. It not only provides you with snippets of code but, also tries to explain why the code works, which is essential for progress.

 

I'd suggest starting with HTML, JS (and maybe PHP if you need server-side scripts) and try out your attempts on jsFiddle or CodePen to get a feel of how it all hangs together. You can easily switch to Python once you have a good grasp of how things work. Uploading your own web apps to your own server and seeing them work on any device is a revelation and can become very addictive.

 

Good luck with it all! 👍

 

 

 

 

Edited by webtrekker
  • Like 1
Link to comment
Share on other sites

Posted (edited)
14 hours ago, webtrekker said:

 

Python is extremely popular these days but I've never gone down that route myself. I prefer good old vanilla Javascript and PHP to do the donkey work. I don't think any programmer knows programming languages inside out, no matter how many times they use them. I constantly find myself looking up definitions and snippets of working code to help me along.

 

Having said that, I believe the job of a programmer is to mentally construct a means of getting the job done and then worry about the code needed to achieve it. A lot of my own code is messy but gets the job done. As they say, 'Empty desk, empty mind!' Thats why a lot of programmers have such untidy desks! 😎

 

Using ChatGPT-4 will certainly help you to learn any programming language in a shorter time. It not only provides you with snippets of code but, also tries to explain why the code works, which is essential for progress.

 

I'd suggest starting with HTML, JS (and maybe PHP if you need server-side scripts) and try out your attempts on jsFiddle or CodePen to get a feel of how it all hangs together. You can easily switch to Python once you have a good grasp of how things work. Uploading your own web apps to your own server and seeing them work on any device is a revelation and can become very addictive.

 

Good luck with it all! 👍

 

 

 

 

HTML is not a programming language and things like  Javascript and PHP are more based around web design creation/hosting/development  etc 

so if you intend to work on that fine ......but for general program then you are better off learning something like   C++ or python etc  

 

again a lot depends on what you want to actually do , then normal you find the best  programming language suited to the task etc

 

python with Jupyter Notebook is a good place to start if you just want to learn and do a few things 

 

 

 

I don`t code that much and if I do its because I messing around with  Arduino/esp32 boards  in the Arduino IDE  basically C based 

then using something like Python for Data Analysis from these boards sensors ..or my HackRF/SDR equipment 

also i play around with a raspberry PI`s 

 

Edited by Deca
Link to comment
Share on other sites

Posted (edited)

I have not used chatGPT for code yet ..... but using it for content creation and also using a few other online AI tools for same purpose 

 

image.png.5f134187fb79a88896470d5d5326889a.png

 

Edited by Deca
Link to comment
Share on other sites

Posted (edited)

 

 

Exploring this tool has been helpful for me as I frequently put up and view a large number of videos.

 

 

 

used it on this video ...this is what it generates

 image.png.b72fe7702acf0bfa80da3745c0ce3b7c.png

Edited by Deca
Link to comment
Share on other sites

46 minutes ago, Deca said:

HTML is not a programming language and things like  Javascript and PHP are more based around web design creation/hosting/development  etc 

 

Yes, I know HTML is simply a markup language but it's essential for anything web-related.

 

As for JS and PHP, these are my preferred languages for writing web apps (of which I've written many over the years) and a vast amount of help is available for them. Of course, as you say, if Python or C++ better suits your needs then go for it. I've had to dabble in many other languages in the past when particular projects have demanded it.

 

Not done any Arduino or RasPi projects yet but may get into it someday as I can think of a couple of things these may be useful for. Got to keep the old grey matter ticking over!

 

 

 

Link to comment
Share on other sites

8 minutes ago, webtrekker said:

 

Yes, I know HTML is simply a markup language but it's essential for anything web-related.

 

As for JS and PHP, these are my preferred languages for writing web apps (of which I've written many over the years) and a vast amount of help is available for them. Of course, as you say, if Python or C++ better suits your needs then go for it. I've had to dabble in many other languages in the past when particular projects have demanded it.

 

Not done any Arduino or RasPi projects yet but may get into it someday as I can think of a couple of things these may be useful for. Got to keep the old grey matter ticking over!

 

 

 

if you like retro games a reaspberry PI is ace .....thou hard to get theses days ...I have a pi 3B and a Pi 400 ...also good for installing kali and other OS to mess around with 

 

 

Arduino ok for electronics ....but you probably like the esp32 as it has wifi and you can use web apps with it 

 

 

 

 

  • Like 1
Link to comment
Share on other sites

Posted (edited)

 

 

this uses an esp32 board 

 

hmm you probably want to add some speech recognition

and also get it to voice the reply text to speech etc which you can do also on the ESP32 to make it more like a DIY Alexa device  

 

 

 

 

this might be a better example

 

 

Edited by Deca
Link to comment
Share on other sites

On 4/7/2023 at 6:11 PM, Grumpy Owl said:

 

Just to follow up on this , the VB script it wrote didn't work 🤪, when I told it the error codes/messages, it did have an attempt at rewriting the code to 'fix' it, however after about three or four attempts I gave up, as it seemed I was going round in circles. Maybe another time...

 

Result! ChatGPT failed miserably at providing a 'working' VBscript to achieve the task I set it, so instead I tasked it to provide a Windows PowerShell script instead.

 

And remarkably, it worked at the first attempt! 👍🏽

 

I don't know exactly how this AI thing all works, I don't think it is actually 'proficient' in any of these programming/scripting languages, and it is still relying on an element of 'google searching' to find relevant code snippets posted elsewhere on the internet.

 

But for now I'm happy, as I've overcome a problem I've been trying to solve for months, and it hasn't cost me a penny!

  • Thanks 1
Link to comment
Share on other sites

43 minutes ago, Grumpy Owl said:

 

Result! ChatGPT failed miserably at providing a 'working' VBscript to achieve the task I set it, so instead I tasked it to provide a Windows PowerShell script instead.

 

And remarkably, it worked at the first attempt! 👍🏽

 

I don't know exactly how this AI thing all works, I don't think it is actually 'proficient' in any of these programming/scripting languages, and it is still relying on an element of 'google searching' to find relevant code snippets posted elsewhere on the internet.

 

But for now I'm happy, as I've overcome a problem I've been trying to solve for months, and it hasn't cost me a penny!

Chatgpt claims to have no internet access. Me and a friend got it to admit that it does use the internet though.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...