(no title)
avion23 | 2 years ago
- Paste a bunch of log code about which I have no idea. Ask to identify and explain the problem.
- Wireshark / dmesg / OpenWrt configuration pasting, ask to fix the problem. For instance, I fixed a Wi-Fi issue in a heterogeneous setup, which turned out to be caused by a stray DHCPv6 server.
- Paste C code, along with an error log, and ask to fix the problem.
- Paste my program and a sample. Ask to extend my program.
- Proofread and format Markdown nicely.
- Paste government letters, asking for a response that includes <what I want>.
- Paste a chat log and obtain documentation.
- Paste a tax declaration, and ask to check for consistency.
- Paste my code and ask for critique.
When discussing versions, people often confuse versions 3.5 and 4. I am always referring to version 4.
Keep in mind that ChatGPT has been seriously and intentionally downgraded since March.
This debate frequently leaves me wondering if I'm encountering a coordinated effort by bots. The examples I listed above come very naturally to me. I can't understand why people don't try to paste whatever they're working on and check the results. If it's too complex, asking it to critique instead of create, because that's easier. It feels as though there's an effort to shape public opinion into viewing these tools as "immature" and suitable only for edge cases.
aprdm|2 years ago
LouisSayers|2 years ago
Basically this - even in a highly specialised field you would still find value in it if you're providing enough context and describing the problem properly.
People don't want to hear that they're poor communicators - it's much easier to blame the tech.
bmitc|2 years ago
This is so weird and seems to be a common thread. You, and others, seem to be saying that ChatGPT is not useful if you're too dumb or too smart. It just seems both tautological and strange.
My communication skills are fine. ChatGPT is just not useful for me, period. I've tried taking what people have mentioned here, trying to have a so-called dialogue with it when things it suggests, for much more simple things, aren't quite correct. It keeps suggesting all these things, but it just feels like an interactive StackOverflow, except all the suggestions are wrong or don't work.
LouisSayers|2 years ago
I found it getting worse for a bit but lately it's been really good. I would say it's being constantly updated, not necessarily getting worse.
avion23|2 years ago
It's not able to output complete code.
It always adds comments, even when I ask it not to.
It doesn't follow instructions in general.
In complex issues it has less "memory", that is it's not able to observe multiple constraints at the same time. The limit was much higher before.
aiquestions|2 years ago
avion23|2 years ago
Just take any code which is < 3 pages long. Ask it to optimize a function. Or review the code. It should give good results
EDIT: I had some deprecation warnings in python recently, which it quickly fixed. Googled that on a different computer and found https://stackoverflow.com/questions/76689364/how-to-fix-depr...
This is the transcript. Forgive my dumb last question, I didn't understand the code, what it did worked well.
---
User: Please fix the deprecation warning on this code: for i in range(0,3): df.loc[df['date'] < "2023-06-01", 'date'] = df['date'] + pd.DateOffset(years=1)
ChatGPT: The code you've provided updates the 'date' column in a DataFrame df by adding one year to each date that is earlier than June 1, 2023. However, this operation is performed multiple times due to the loop, which is likely not intended and could be the source of inefficiency or unexpected results.
To fix this, you should update the dates in a vectorized way without using a loop. Here's the corrected code:
User: give me the code in one code block. first the old version, then the improved version. Make sure it's executable on its ownChatGPT: Certainly! Below is the code block with both the original version and the improved version. The improved version eliminates the unnecessary loop and applies the date modification in a more efficient manner.
User: is it really the same?Code: >>> import pandas as pd >>> # Original code >>> df = pd.DataFrame({'date': pd.to_datetime(['2022-05-01', '2023-07-01', '2024-08-01'])}) >>> for i in range(0,3): ... df.loc[df['date'] < "2023-06-01", 'date'] = df['date'] + pd.DateOffset(years=1) ... >>> # Print the result of the original code >>> print("Original Code Result:") Original Code Result: >>> print(df) date 0 2024-05-01 1 2023-07-01 2 2024-08-01 >>> >>> # Improved code >>> df = pd.DataFrame({'date': pd.to_datetime(['2022-05-01', '2023-07-01', '2024-08-01'])}) >>> df.loc[df['date'] < "2023-06-01", 'date'] = df.loc[df['date'] < "2023-06-01", 'date'] + pd.DateOffset(years=1) >>> >>> # Print the result of the improved code >>> print("\nImproved Code Result:") Improved Code Result: >>> print(df) date 0 2023-05-01 1 2023-07-01 2 2024-08-01
ChatGPT: You are correct. The two code versions do not produce the same result. The original code with the loop increments the date by one year for each iteration of the loop, but only for dates before "2023-06-01". This results in multiple increments for dates that are initially before this threshold.
In contrast, the improved code without the loop increments the date by one year only once, making it more efficient and potentially more aligned with what one might expect logically. However, if the intent of the original code was indeed to increment certain dates multiple times, the "improved" version would not be equivalent.
If the goal is to replicate the logic of the original code but without the deprecation warning and with improved efficiency, we need to understand the exact behavior intended with the loop. If the intent was to increment dates before "2023-06-01" by multiple years based on some condition, the improved version should be adjusted accordingly. ---
---
sangnoir|2 years ago
Stay classy. The rest of your comment would have been much better without this ad hominem.
avion23|2 years ago
I once spent an hour researching the responses on reddit and hackernews. Turned out if these profiles are fake, then they are really good. F.e. age is >5 years, they argue about sport teams and seem really human.