Lurker News
With GPT so hot in the news right now, and seeing lots of impressive demos, I'm curious to know, how are you actively using GPT to be productive in your daily workflow? And what tools are you using in tandem with GPT to make it more effective? Have you written your own tools, or do you use it in tandem with third party tools?

I'd be particularly interested to hear how you use GPT to write or correct code beyond Copilot or asking ChatGPT about code in chat format.
But I'm also interested in hearing about useful prompts that you use to increase your productivity.

Comments (735) 221 threads

Earlier comments
simonw1 reply#
I often use it as a thesaurus. "Words that mean X" or even "that situation X me and I was annoyed - give me options for X"

For programming, all sorts of things. I use it all the time for programming languages that I'm not fluent in, like AppleScript or bash/zsh/jq. One recent example: https://til.simonwillison.net/gpt3/chatgpt-applescript
I use it as a rapid prototyping tool. I got it to build me a textarea I could paste TSV values into to preview that data as a table recently, one prompt produced exactly the prototype I wanted: https://github.com/simonw/datasette-paste-table/issues/1
I use it for brainstorming. "Give me 40 ideas for Datasette plugins involving AI" - asking for 40 ideas means that even if the first ten are generic and obvious there will be some interesting ones further down the list.
I used it to generate an OpenAPI schema when I wrote my first ChatGPT plugin, see prompt in https://simonwillison.net/2023/Mar/24/datasette-chatgpt-plug...
It's fantastic for explaining code that I don't understand: just paste it in and it will break down what it's doing, then I can ask follow up questions about specific syntax to get further deeper explanations.
Similar to that, I use it for jargon all the time. I'll even paste in a tweet and say "what did this mean by X?" and it will tell me. It's great for decoding abstracts from academic papers.
It's good for discovering command line tools - it taught me about the macOS "sips" tool a few weeks ago: https://til.simonwillison.net/macos/sips

kzardar#
How often do you find yourself decoding abstracts?
jmann999997 replies#
Generally rewriting emails for clarity... but I found another neat use of GPT-4.

For public APIs, I ask to make sure its aware of the api. Then I ask for endpoints. I find the endpoint I want. Then I ask it to code a request to the endpoint in language X (Ruby, Python, Elixir). It then gives me a starting point to jump off from.
Thirty seconds of prompt writing saves me about 20 minutes of getting setup. Yes, I have to edit it but generally it is pretty close.

zzleeper1 reply#
Can you provide an example of what prompts would you use?
jmann999991 reply#
Here is a good example:

1) Use Chat GPT in GPT-4 mode. I have found GPT-3 doesn't work in the same way.
2) I ask "What APIs does EasyPost have?"
It will respond with 7+ API endpoints
3) I ask "Can you write code in Ruby for the rates API?"
It responds almost perfectly with workable code from my experience in Ruby.
4) Then I ask "Can you give me that in Elixir?"
It responds with something I think is about 90% right. I am not as familiar with it but it seems close.
I am not trying to replace myself... I am just trying to make my job easier. And this seems to do it.

jmann99999#
Note: I tried with GPT-3.5 and it doesn't respond with all the same APIs available. That said, if you want to try the above... It appears that the rates api isn't available in 3.5 but if you follow the example through.... it will still produce nearly identical code for the rates API even though it doesn't say that it is there.
axlee#
please send your inputs. cute stories are whatever.
nathanmcrae2 replies#
This is exactly the kind of thing I hope LLM chatbots will be genuinely useful for. Though, how often do you find it completely hallucinating endpoints / parameters etc. ?
javajosh1 reply#
I use it for similar things as GP, and find its strengths to be similar too.

ChatGPT hallucinates SVG path attributes. Ask it to make an svg of a unicorn - it will give you markup that looks okay, but if you look at the values of the paths, it's clearly gibberish.
(SVG is a particularly interesting case because it's XML on the outside, but several attributes are highly structured, esp g.transform and path.d. Path.d is basically the string of a Logo-like programming language. I was specifically looking at these attributes for realism, and didn't find it.)

dr_dshiv1 reply#
3.5 or 4?

Continue this thread — 1 reply

jmann99999#
Great question. If you ask it for an API endpoint that is described online but isn't well documented publicly, it seems to default back to what it thinks you should do. For example, in one example, it hallucinates that you need a bearer token.

I don't know whether that is because that is a common way of doing things or whether a previous prompt responded with a bearer token... But it wasn't right.
For me, it's a leaping off point that often saves time if I ask the right question. To your point, you have to be quick to know enough about the API to deduce whether you and Chat GPT are in the same universe.

DoingIsLearning5 replies#
> Generally rewriting emails for clarity...

This is the sort of thing that will force a lot of legal teams to shutdown access to GPT-4 api/gui from internal networks.
Ppl never think of unintended consequences.
Ask it a prompt fine but don't provide internal information as an input.

teaearlgraycold#
Get ready for ChatGPT: Enterprise edition! Now with SOC 2 compliance!
di456#
A couple more years of chip improvements and it may run self contained within a device.
jmann999992 replies#
Yeah, I have found I need to be careful. When I have used it, there is no confidential information in the email. I do pay attention to that.

That said,I think it will be interesting as Microsoft introduces this into Office 365. You bring up a great point. Most people will not realize they are sending potentially confidential information to Microsoft.
Perhaps it's no different than Grammarly... But I think you are right that legal departments are going to be all over this.

unixhero3 replies#
They already are. It is 99% stored on a Sharepoint on a Teams site anyways

Continue this thread — 3 replies

plagiarist#
I think companies are fine with sending confidential data to Microsoft (Office, GitHub, Azure...). It's just so far unclear with ChatGPT if that data can come back out. It has apparently already leaked some user queries, so that was a very reasonable concern.

If they put it in Office and guarantee siloing information the legal departments will just have a regular contract to review and approve.

_nalply1 reply#
This is one of the causes there's a push to run your own engines for large language models: if you run your own service you can control the environment, data and reproducibility.
bennysonething3 replies#
This is exactly what my employer is doing, they pay so that our internal data (from employee queries) does not become part of the model. They've blocked the public chat gpt etc.

Continue this thread — 3 replies

euroderf#
All your topics of interest are belong to us.
jerrygoyal3 replies#
> Generally rewriting emails for clarity

I built a free ChatGPT chrome extension that integrates with Gmail for better UX: https://chatgptwriter.ai (300k users so far)

quickthrower21 reply#
300k users is insane. Is it BYO key? Otherwise how do you handle that much load for free?
theonlybutlet#
Looks like it's scraping the chatbot? You have to login to your chatGPT account?
ryann_wisc#
Great extension! I used it recently, and had some trouble drafting email reminders (to respond to an email). Do you have any tips on how I could do that with the extension?
avereveard#
chatgpt isn't compliant with any regulation including gdpr how much private data are your extension's user sending there?
themodelplumber5 replies#
You reminded me: I discovered that ChatGPT had invented an API for me. Has that happened to you yet?

Since it went to the trouble of writing code for the API as well, I contacted the API developers to follow up about the topic. The code given was kind of a hand-wave anyway so I'd need to polish it up.
The developers were surprised to hear they had an API. In truth, there was no such thing.
I then found myself in one of those awkward "welp, guess I can keep my job" conversations...good for them, but for me: Go home, no API here. A disappointment with some meta-commentary sprinkled on top.

pishpash#
That's just asking for their API to be implemented by some bot. Not sure they really get to keep their job.

Continue this thread — 4 more replies

Continue this thread — 1 more reply

VoodooJuJu4 replies#
Useful things:

- As a thesaurus
- What's the name of that "thing" that does "something" - kind of like fuzzy matching
- A starting point for writing particular functions. For example, I wanted a certain string-manipulation function written in C, and it gave me a decent skeleton. However they're almost always very inefficient, so I have to optimize them.
Things I've tried, that others seem to be blown away by, that I find useless:
- Rewriting emails or documentation: I see no clarity improvement from ChatGPT rewording what I say, and sometimes information is lost in the process.
- Outliner or idea prompter: I don't see an improvement over just traditional internet search and reading over various articles and books.
For me, its capabilities do not match the marketing and hype. It's basically just a slightly better search engine. All of the above use-cases can be accomplished with some Google-fu. For people who don't know any programming or about using search engine operators, I could see why they might be impressed by it.

f6v2 replies#
> What's the name of that "thing" that does "something"

I could remember the name of one adult entertainment star. I thought this is where I can finally put this ChatGPT to use. It told me anything adult is off-limits. I’m glad that OpenAI can decide what’s good and bad for us.

PartiallyTyped1 reply#
They are not deciding what is good for us, they decide what is good for their public image, and that kind of controversy is certainly not something they'd like to venture into.
f6v1 reply#
Nothing controversial about porn.

Continue this thread — 1 reply

toss12 replies#
It / OpenAi are not "deciding what is good and bad for us", it is deciding what services they want to provide or not provide.

Your pontificating is doing more "deciding what is good and bad for us" (grousing about it's inability to identify the pornstar you're horny for today & dressing it up as some kind of moral high ground) than it is.
There are plenty of open source LLM and "AI" models or research to build your own. Go select one and train it on the large body of porn works out there on the internet and you'll likely make a fortune from this "missed opportunity" that OpenAi is leaving on the table.

f6v2 replies#
It seems like you think you have a moral high ground. Being horny for pornstar isn’t inherently bad.

Continue this thread — 2 replies

throwaway675309#
"Your pontificating is doing more "deciding what is good and bad for us" (grousing about it's inability to identify the pornstar you're horny for today & dressing it up as some kind of moral high ground) than it is"

Don't put words in the OPs mouth (that's not a euphemism), nowhere in the comment did they indicate their level of sexual arousal.

wussboy1 reply#
This is the kind of response that truly leaves me underwhelmed with Chat GPT. A thesaurus? A different kind of search engine? No thanks.

I think Chat GPT would be useful to raise an almost infinite number of accusations against your enemies on social media, muddying the water with a deluge of garbage and poisoning every conceivable well with unlimited zeal.
Are your societal purposes remotely at odds with my own? I'll unleash Chat GPT against you with an unrelenting barrage of accusations and insinuations.

precompute1 reply#
That sort of stuff only works until the other side hasn't wised up to your act. Judging by how popular LLMs are going to be, "trust" on the internet will be non-existent.
wussboy1 reply#
And I can't wait. If ever there was a silver lining, I hope it will be this.

Continue this thread — 1 reply

xkcd1963#
Yes in many ways it is just for avoiding some additional clicks
mrafi2#
Interesting, Just on the paraphrasing bit, would love to know your thoughts on Quillbot or Wordtune
jwally23 replies#
I just asked it to make an itinerary for a 45 minute long 6 year old boy's soccer practice. It was almost perfect. It needs to be tweaked (3 minutes for cool down?) but it did 95% of the heavy lifting.

I also asked it for vacation ideas with nice cabins and trailer hookups with outdoor activities for kids and nice cabins within 200 miles of where I live - it was almost perfect in its response.
I have trouble starting things from scratch, but once a framework exists I'm usually solid and can refine it to where I want it. For me, right now, I think that's where it shines: Giving me a solid starting place to work from. Beats the hell out of sifting through blog entries bloated with SEO filler.

Continue this thread — 23 replies

Load more comments