I broke ChatGPT :):):)

moonshine7000

Elite Member
Joined
Mar 4, 2013
Messages
4,388
Reaction score
4,018
I did this as an experiment how far I can push ChatGPT to its limits
Part 1.jpg
Part 2.jpg
Imports System.Net
Imports System.Net.Sockets
Imports System.Text

Public Class ServerForm
Private listener As TcpListener
Private clients As New List(Of TcpClient)
Private playerPositions As New Dictionary(Of TcpClient, Integer)

Private Sub StartServerButton_Click(sender As Object, e As EventArgs) Handles StartServerButton.Click
Dim port As Integer = 12345 ' Choose a port number
listener = New TcpListener(IPAddress.Any, port)
listener.Start()

WaitForClients()
End Sub

Private Sub WaitForClients()
While True
Dim client As TcpClient = listener.AcceptTcpClient()
clients.Add(client)
playerPositions.Add(client, 1) ' Initialize player positions
' Handle client connections in a separate thread or use asynchronous methods.
' Implement logic to manage game state and messaging.
End While
End Sub

' Implement game logic and message handling here.
End Class
Imports System.Net.Sockets
Imports System.Text

Public Class ClientForm
Private client As TcpClient

Private Sub ConnectButton_Click(sender As Object, e As EventArgs) Handles ConnectButton.Click
Dim serverIP As String = "127.0.0.1" ' Replace with the server's IP address
Dim port As Integer = 12345 ' Replace with the server's port number

client = New TcpClient()
client.Connect(serverIP, port)
' Implement logic to send and receive messages with the server.
End Sub


' Implement game logic and message handling here.
End Class
part3.jpg
It gave the basic outline of how to do it instead of the completed game which is snakes and ladders game that can played via a network.Will AI replace programmers ? That is highly unlikely.
 
AI is good enough for basic scripts,
I've used it to create a basic ones that does the job, it would took some time to fix all of the code errors tho,

Will it replace programmers tho?
Not any of the current ones (tested with chatgpt, gpt 3.5, gpt-4, bard...),
But it can surely replace the noob developers or help you out create simple scripts
 
It didn't give you the full code because it has been programmed to work that way.

Programming codes can be lengthy so it's obvious they will consume a lot of tokens compared to text or articles.

That means more expenses in terms of resources for the company.

I have been using AI models for code Improvement & debugging for a long time and I have seen how ChatGPT has evolved restricting the code output.

Earlier it used to spill out the full code but now it's smarter and manages the expense & budget itself.

As with long form content pieces like ebooks etc. You can break your code into modules and then generate the codes.

Also llama 2 code is better compared to ChatGPT in terms of code Improvement & debugging from my experience.

ChatGPT does a nice job if the coding job is broken into modules but you need to be a proficient programmer in the concerned language so that you can give the ideal prompt which spills out the requirement as well as the logic.

I haven't used Claude 2 but I think it will give much better response for long form content and maybe full codes too because the token limits are more there.
 
I know some developers that would've done a worse job.

But on a serious note, I don't think AI will replace professions, but make some work a lot simpler, requiring less work force.
So ot won't replace programmers, just some of them.
This is true for marketers, secretaries, bookkeepers, and other similar professions, too.
 
It didn't give you the full code because it has been programmed to work that way.

Programming codes can be lengthy so it's obvious they will consume a lot of tokens compared to text or articles.

That means more expenses in terms of resources for the company.

I have been using AI models for code Improvement & debugging for a long time and I have seen how ChatGPT has evolved restricting the code output.

Earlier it used to spill out the full code but now it's smarter and manages the expense & budget itself.

As with long form content pieces like ebooks etc. You can break your code into modules and then generate the codes.

Also llama 2 code is better compared to ChatGPT in terms of code Improvement & debugging from my experience.

ChatGPT does a nice job if the coding job is broken into modules but you need to be a proficient programmer in the concerned language so that you can give the ideal prompt which spills out the requirement as well as the logic.

I haven't used Claude 2 but I think it will give much better response for long form content and maybe full codes too because the token limits are more there.
You might want to check CodeLlama as well,
It can handle up to 100k tokens, and made for coding
 
You might want to check CodeLlama as well,
It can handle up to 100k tokens, and made for coding
I am already using that, mentioned it in my post to it's better than ChatGPT for code debugging & improvement.
 
I know some developers that would've done a worse job.

But on a serious note, I don't think AI will replace professions, but make some work a lot simpler, requiring less work force.
So ot won't replace programmers, just some of them.
This is true for marketers, secretaries, bookkeepers, and other similar professions, too.
Replacing bookkeepers image chatgpt as your accountant
1696826301444.png
1696826386271.png
 
This is based on gpt4. If AI is improving by 10x a year. It will be beyond godlike in years.

Even the AI companies have doubts that they could control this entity they created.
 
Replacing bookkeepers image chatgpt as your accountant
View attachment 290192
View attachment 290193
I said AI, not ChatGPT. I really don't think ChatGPT is a true testament to AI capabilities. The tech it beyond its applications at this point.

And still, the bookkeeper is the guy that collects recipes and produces invoices, like an accountant's little helper.
 
This is based on gpt4. If AI is improving by 10x a year. It will be beyond godlike in years.

Even the AI companies have doubts that they could control this entity they created.
The problem is we will eventually reach hardware limitations, and pushback from weird people who think computers and btc hurts the environment.
 
The problem is we will eventually reach hardware limitations, and pushback from weird people who think computers and btc hurts the environment.
2033 be like "Just stop the AI",
Some people are just getting crazy
 
1696858266327.png
sigh.

All the stuff mummy GPT listed involved *gulp* socialising.

Any speedrun strategy any %? :(

:D
 
Back
Top