ANN: ChatGPT integration with the Linux Terminal #6594
williamstein
announced in
Announcements
Replies: 1 comment
-
This integration is also handy for doing SQL queries. E.g., here's the number of ChatGPT interactions each day on https://cocalc.com during the last week (UTC timezone). I typed "I am using psql to query a table with a column called "time". I would like to make a table showing the number of entries in my table for each of the last 7 days." into the box at the top, and got a nice SQL query which worked perfectly: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
ChatGPT is now integrated with the CoCalc Linux terminal. I just implemented this minutes ago:
The above illustrates asking how to use PARI/GP from the Linux terminal to count primes, then having a conversation about the results.
You can ask for anything this way though. E.g., Replace all instances of "foo" by "bar" in all files in all subdirectories -- it generates a command using sed, xargs, find, etc.
I'm living in Science Fiction.
https://twitter.com/wstein389/status/1641163818335358977
https://www.linkedin.com/posts/william-stein-895a26158_chatgpt-activity-7046930058342518785-pwYV?utm_source=share&utm_medium=member_desktop
Beta Was this translation helpful? Give feedback.
All reactions