I asked chatgpt to make a game like flappy bird in java but when i go to compile it in jdk it won't run.
it states "error reached end of file while parsing"
https://pastebin.com/3JRWRcaU
I asked chatgpt to make a game like flappy bird in java but when i go to compile it in jdk it won't run.
it states "error reached end of file while parsing"
https://pastebin.com/3JRWRcaU
Maybe ChatGPT can help you with that issue too.
probably output was cut short and OP didn't noticed
So this is what this board is going to become, huh
you're already dead :))
I wonder if they id HRT injections from anything that can be hacked with stuxnet.
We need a separate board.
It's a fucking disgrace how they're training this board to train non-free AI code with trolling and bait.
If the code is not open source, it's not open.
Kek, the Open Assistant tool literally seems to be designed to be a commercial tool for Customer Service and retards here are helping it train for free
i asked it to write a javascript function to validate an ethereum address and it didn't work and was overly verbose. Bits of the code were there but it returned false when it was supposed to return true
most chatgpt code results are 95% ok and remaining 5% needs some fixing
More like 0.5% OK unless you ask it about fizzbuzz.
100% CORRECT
Show it fizzbuzz and ask it to explain the code. Next do the same but replace the modulos with divisions.
AHHHHHHHHHHHHHHHHHHHHHH
>AHHHHHHHHHHHHHHHHHHHHH
AHHHHHHHHHHHHHHHHHHHHHH
>AHHHHHHHHHHHHHHHHHHHHH
AHHHHHHHHHHHHHHHHHHHHHH
>AHHHHHHHHHHHHHHHHHHHHH
Funny right?
It's one of the first I discovered when playing around to see if chatgpt could actually be used for real work.
It was just a test to see how much it overfitted. I actually found it was rather robust in a lot of ways.
Other things I tested it on: compilation and decompilation. It does the latter much better than the former, if you ever have a SIB byte it automatically dies and it almost never gets the REX prefix right when compiling.
Explaining code when the variable names and comments do not spell out everything that's happening: complete fail on all real-world code segments I tried. The best answer it ever gave me was "it's not clear what the code is doing without more information. It appears the code is comparing two vectors and processing it through a special function". This was incorrect but it successfully identified that there were two vectors at least.
Generating code snippets: I couldn't get it to generate anything useful at all. It can generate the 'homework' version of a snippet, but not the production-ready version, no matter how much you try to get it to iterate and fix it up. It often hallucinated functions (my favorite: a version of mprotect that takes an int* as last argument that is supposed to return the mprotect mode. Trying to point out mprotect has no such signature, it changes the int* to a plain int.......) and so on.
Code fix suggestions: complete fail. It can tell me to add code to check for null quite well, but nothing else. It also (kinda obviously) inserts many spurious null checks.
An AI would have realized there doesn't need to be 4 conditional branches here, the first if statement would be useless if you output a newline AFTER the conditional.
you're missing 2 closing brackets you fucking moron
LEARN TO CODE, YOU RETARDED FUCKING WOMANISH moron
if you're so smart, fix it
>public void jump() { if (gameOver) {
it ends abruptly.
"IF"?????? please don't leave me in suspense. finish the game.
y-yes,, master... o-tetsudai shimasu~
post feet
What a waste of cars. Capitalism can be retarded like that sometimes, where people would rather their stuff rot than let others have it for free. Maybe they should be laws against a waste of resources like that?
No, but instead they have laws to buy new ones regularly.
For "environmental reasons".
why don't you lead by example? first let's see you and the other starbucks socialists give up their cars and energy-consuming devices. do your part to stop climate change.
LOL, anon fell for antiwork's false captions of that image. Those cars were seized in Iran because they were being smuggled in by customs and judiciary officials who had been taking bribes to let them in without the proper inspections and duties paid.
That code is awful
>addColumn(true)
>addColumn(true)
>addColumn(true)
>addColumn(true)
>putting a check for game over state in a jump() function
Truly miserable
it doesn't even have a main() function
how do you run this?
do you even know java?
As far as I can tell it only spawns four pipes and they don't even move.
Not to mention that it just stops at "if gameOver".
Truly, ChatGPT is replacing programmers any day now.
ASDasfasxnsa saxbnasj xsabxbhsaj xsbhaxbas xshbx sbhxsbh.
I refuse to believe that anyone who knows what the "jdk" is doesn't know how to debug a middle-school level syntax issue
bump
maybe if you tried to hit the copy code button instead of manually selecting the text you wouldn't miss part of the code and it would
you absolute fucking idiot lol
hello everyone how can i get chatgpt to translate my lewd japanese voicework scripts?
it keeps saying that it goes against it's policies.
bump
Wow. i guess my job wont get replaced with AI too soon.