3 ms·
Mostly just asking stuff directly on https://chat.openai.com/chat https://chat.openai.com/chat. Last 8 requests were (all successful): - Asked it to improve a
by olalonde 4y ago
Mostly just asking stuff directly on https://chat.openai.com/chat https://chat.openai.com/chat. Last 8 requests were (all successful):
- Asked it to improve a HN comment I wrote.
- Asked about an idiom I couldn't remember, by saying it in other words.
- Asked it to dumb down some things about options (finance) I didn't understand.
- Asked it if I could use the eBay API to list my purchase history (you can, and it knew how).
- Asked it to generate pretty standard Terms of Service for an app I'm working on.
- Asked it to generate a moderately complex Prisma (ORM) query that I described in natural language.
- Described what I wanted Nginx to do in natural language (e.g. "the index file will be served whenever no file is found") and asked it to output a configuration file.
- Asked it what the "XDG" in "XDG_CONFIG_HOME" stood for.
Also, occasionally ask it to generate shell commands using a CLI I wrote[0].
[0] https://github.com/clevercli/clevercli https://github.com/clevercli/clevercli
- jmknoll 4y agoCompletely off-topic, but do you like prisma, and how are you using it (scale, complexity, solo vs team, etc). I toyed around with it a while back, and it looked potentially awesome, but different enough that I was worried about using it on a work project in case it failed in some use case. Im so sick of the SQL ORM situation in Typescript, but Prisma might have an answer.
- olalonde 4y agoIt's a solo project, CRUD stuff, but having used pretty much all JavaScript/TypeScript ORMs in existence, I can say that Prisma is way ahead of the competition. I would personally recommend it. A traditionally cumbersome and annoying thing about trying a new ORM is that you basically have to re-learn a pseudolanguage for building SQL queries but that hasn't been an issue this time, thanks to ChatGPT. So overall, happy with Prisma and plan to keep using it.
- panzi 4y agoPrisma has this one glaring issue: https://github.com/prisma/prisma/issues/10649 https://github.com/prisma/prisma/issues/10649 Segmentation fault with NodeJS 18. Its about prisma having linked a different version of OpenSSL than NodeJS. A workaround is to use the "binary" engine, meaning you run another process, talk via IPC to that, and that then talks to the DB, which is ridiculously roundabout. But this issue is finally worked on, so once that is fixed its good.
- bottlepalm 4y agoIt's good, but verbose, you can't select nested objects by just doing lesson.mapped.sections.course .. etc.. you have have to do something like lesson: { select: { id: true, slug: true, title: true, mapped_sections: { select: { id: true, slug: true, section: { select: { id: true, title: true, course: { select: { id: true, slug: true, title: true
- lisasays 4y agoAsked it to generate pretty standard Terms of Service for an app I'm working on. So you're using it generate a legally actionable document. Is this a good idea?
- nimchimpsky 4y ago[dead]
- olalonde 4y agoYes. I got a cheap AI lawyer if someone sues me, all good. All jokes aside, the alternative was to not have a "Terms of Service", so fairly sure it's better than nothing.
- lisasays 4y agoFairly sure it's better than nothing. Until it isn't. Live and learn, as they say.
- olalonde 4y agoHas there ever been a case of a ToS so badly written that not having one would have been preferable? I'd be curious to hear about that story if it exists.
- lisasays 4y agoAt a certain point in my life, I came to the conclusion that if something is important enough, it generally pays to: (1) either research the matter myself until I was satisfied that I understood the cost/risk tradeoff sufficiently; or (2) if I don't have the time or skills to do that, have the matter reviewed professionally. Both of which are alternatives to "doing nothing". Employment or other contracts, health decisions, taxes ... that's how I roll. That's just me, and I'm not you. It may also just be a hobby project or otherwise of negligible consequence. In which case it would seem to fall under the rubric of what generative AI is arguably suitable ("better than nothing").
- mindcrime 4y agoAsked about an idiom I couldn't remember, by saying it in other words. You inspired me to try it for finding a book I can't quite remember the title of. Unfortunately no joy. Still, for the amusement of anyone who is interested, or anyone who might be able to help me with this book: --- Mindcrime: What was that horror novel from way back when, about the time traveling demon hound? ChatGPT: It's possible that you're thinking of the horror novel "The Hound" by H.P. Lovecraft, which was first published in 1924. In the story, two grave robbers become obsessed with obtaining a certain artifact from a tomb in Holland. After obtaining the artifact, a small bronze statuette of a hound, they begin to experience strange and terrifying visions. The hound appears to come to life and stalks them through their nightmares. Later, one of the grave robbers travels to Egypt and discovers that the artifact was made by a sinister and ancient cult, and that the hound is actually a demon summoned from another dimension. The hound then follows the man back to his home in England, where it continues to torment him until he meets a gruesome fate. It's worth noting that there have been many horror novels and stories featuring time-traveling demon hounds over the years, so if "The Hound" isn't the specific book you're thinking of, there may be another that matches your description. Mindcrime: No, it was more recent than that. I think from sometime between the late 1980's to mid 1990's. I think the word "hound" might have been in the title. ChatGPT: Thank you for the additional information! The book you may be thinking of is "The Hound of the Baskervilles" by Arthur Conan Doyle. Although it's not a horror novel, it's a detective story featuring the famous detective Sherlock Holmes and his companion Dr. John Watson investigating a supernatural curse and a demonic hound that is terrorizing the Baskerville family on their estate in Dartmoor. "The Hound of the Baskervilles" was first published in 1902, but it has been adapted and retold in various forms over the years. There may be a horror novel that is a retelling or adaptation of the original story that you're thinking of, but without more specific details, it's hard to say for sure. Mindcrime: No, it's much more contemporary than that. ChatGPT: I apologize for the confusion. Let me try to narrow it down further. Do you remember any other details about the book? For example, do you remember the author's name or any other specific plot points or characters? Mindcrime: There was some stuff about an airport or airplane near the end. ChatGPT: Thank you for the additional detail! The book you might be thinking of could be "Watchers" by Dean Koontz. "Watchers" is a horror novel that was published in 1987. The story follows Travis Cornell, a man who is hiking in the mountains when he stumbles upon a genetically engineered creature known as "The Outsider." The Outsider is a highly intelligent dog with extraordinary abilities that has escaped from a government laboratory. Cornell takes the dog under his wing, but soon discovers that a ruthless government agent is after the dog and will stop at nothing to retrieve it. The novel reaches its climax at a local airport, where a final showdown takes place between the agent and the dog. While "Watchers" does not feature a time-traveling demon hound, it does involve a genetically engineered dog that could possibly fit your description. Mindcrime: No, it wasn't by Dean Koontz. And time travel was definitely a plot element. ChatGPT: Thank you for letting me know. I apologize for not being able to find the book you are thinking of. Without more specific details, it's difficult to narrow down the possibilities. If you remember any other details about the book, please don't hesitate to let me know and I'll do my best to help you identify it.