this post was submitted on 27 Jul 2023
161 points (96.0% liked)

Technology

59698 readers
5170 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] abhibeckert 4 points 1 year ago* (last edited 1 year ago)

What makes you think that? Just yesterday I asked "how can I make an excel file in X language?"

GPT-4 suggested two libraries, one popular but not maintained, the other new(ish) and maintained. It told me how to install the latter and provided sample code for a simple hello world spreadsheet.

I was then able to ask for a few tweaks, like sending output to stdout instead of to a file on disk, and using 4,2 cell coordinates instead of D2 coordinates. It was able to tell me how to tell Excel that "4 Feb 2042" is a date value, not a string value, make the heading columns bold, make the column widths automatically calculated based on the content, etc etc.

The whole think was so one-of-a-kind I doubt you could find questions to all those answers (especially with a specific library) on the regular Stack Overflow and even if they are there it'd be a dozen separate questions that I'd need to piece together.