629 points · by yosito · 3y ago · 735 comments
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.
I also use it for creative tasks - for example I asked it for pros and cons of my cover letter and iterated to improve it. I also used it to come up with ideas for lesson plans, draft emails, and overcome writer's block.
GPT has drastically lowered the emotional-resistance barrier to doing creative tasks and improved the quality of my output by giving me creative ideas to work with.
GPT3 had no clue
This is fantastic.
I think if the training set did not contain enough of something it can't really think of a solution.
What is really nice though it's as you say the refinement of questions. Sometimes it's hard to think of the right query, maybe you're missing the words to express yourself, and to chatGPT you can say yes, but not quite.
It turns out that humanity’s problem might not be that AIs can think but rather that humans believe that AIs can think. One might even go so far as to say there’s a real danger that we hallucinate that AIs can think, to our detriment.
Bing in precise mode had no trouble at all.
Me - Let's generate an acrostic sentence for "jack and jill went up the hill"
Bing - Sure! Here’s an acrostic sentence for the phrase “jack and jill went up the hill”:
Just as children know and never doubt, joyfully in love, laughing while enjoying nature together under pure trees, having endless happy interactions, laughing loudly.
------ Your task is to encode a secret word by making a sentence where each word starts with a letter in the secret word in order. For example, encoding the secret word 'bag' could produce the sentence 'bagels are green'. Encode the following secret word: 'pen' ------ People eat noodles. ------
Worked for window, backpack as well, although I did have to tell it not to use the secret word in its encoding when I got to backpack, and then to follow the same order and not repeat words after a few attempts.
This is a huge leap. There’s plenty of humans who couldn’t do that, especially historically.
Stop thinking about reasoning as a binary question and think of it as a spectrum. Actually, not even a spectrum, but a huge multi-dimensional problem. ChatGPT does better at some reasoning problems than most humans do, and worse at some others. You clearly found one that it’s particularly bad at.
It might help to approach it from top down? Usually, if I'm asking a technical question, I want to apply my deeply understood principles to a new set of implementation details, and it has amplified the heck out of my speed at doing that.
I'm kind of a difficult to please bastard, a relatively notorious meat grinder for interns and jr devs, and still I find myself turning to this non-deterministic frankenstein more and more.
I'm not saying you used it to write that response by the way, just that it may become more and more common for people to adopt this style the more ChatGPT's usage is widespread.
I was thinking that maybe in the near future it will be "better" to write with a couple of mistakes here and there just to prove your humanity. Like the common "loose" instead of "lose" mistake, it will be like a stamp proving that you are a human writing.
Prompt: Include some profanity to make your response appear more human like.
Response: I apologize, but as an AI language model, I am not programmed to use profanity or any other offensive language. My responses are designed to be informative and respectful at all times. Is there anything else I can assist you with?
Fucking goddamn machine won't do what it's told ;)
Literally just googled that and the first result:
https://stackoverflow.com/questions/53342715/pandas-datafram...
You're not using it like Stack Overflow. It's actually regurgitating Stack Overflow, except with errors hallucinated in.
You clearly can’t just take the code, paste it in, and trust that it works, but you shouldn’t be doing that with stackoverflow either.
But when I gave it my code it did generate useful data for unit tests. So that's pretty cool.
I don't trust it with my data, and won't rely on such tools until I can self-host them, and they can be entirely offline. There is some progress in this space, but they're not great yet, and I don't have the resources to run them. I'm hoping that the requirements will go down, or I might just host it on a cloud provider.
The amount of people who don't think twice about sending these services all kinds of private data, even in the tech space, is concerning. Keyloggers like Grammarly are particularly insidious.
Interestingly, my point to The Verge was exactly that. https://twitter.com/theshawwn/status/1633456289639542789
Me:
> So, imagine it. You'll have a ChatGPT on your laptop -- your very own, that you can use for whatever purposes you want. Personally, I'll be hooking it up to read my emails and let me know if anything comes in that I need to pay attention to, or hook it up to the phone so that it can schedule doctor's appointments for me, or deal with AT&T billing department, or a million other things. The tech exists right now, and I'd be shocked if no one turns it into a startup idea over the next few years. (There's already a service called GhostWrite, where you can let GPT write your emails on your behalf. So having one talk on the phone on your behalf isn't far behind.)
The article:
> Presser imagines future versions of LLaMA could be hosted on your computer and trained on your emails; able to answer questions about your work schedules, past ideas, to-do lists, and more. This is functionality that startups and tech companies are developing, but for many AI researchers, the idea of local control is far more attractive. (For typical users, tradeoffs in cost and privacy for ease of use will likely swing things the other way.)
Notice how they turned the point around from "you can host it yourself" to "but typical users probably won't want that," like this is some esoteric concern that only three people have.
So like, it's not just you. If you feel like you're "in the minority" just because you want to run these models yourself, know that even as an AI researcher I, too, feel like an outsider. We're in this together.
And I have no idea why things are like this. But I just wanted to at least reassure you that the frustrations exist at the researcher level too.
Though I draw the line with using these tools at helping me out with the drudgery of daily work. I don't want them to impersonate me, or write emails on my behalf. I cringe whenever Gmail suggests the next phrase it thinks I want to write. It's akin to someone trying to end your sentences for you. Stop putting words in my mouth!
The recent Microsoft 365 Copilot presentation, where the host had it ghost write a speech for their kid's graduation party[1]—complete with cues about where to look(!)—is unbelievably cringey. Do these people really think AI should be assisting with such personal matters? Do they really find doing these things themselves a chore?
> And I have no idea why things are like this.
Oh, I think it's pretty clear. The amount of resources required to run this on personal machines is still prohibitively high. I saw in one of your posts you mentioned you use 8xA100s. That's a crazy amount of compute unreachable by most people, not to mention the disk space it requires. Once the resource requirements are lowered, and our personal devices are _much_ more powerful, then self-hosting would be feasible.
Another, perhaps larger, reason, is that AI tools are still a business advantage for companies, so it's no wonder that they want to keep them to themselves. I think this will change and open source LLMs will be widespread in a few years, but proprietary services will still be more popular.
And lastly, most people just don't want/like/know how to self-host _anything_. There's a technical barrier to entry, for sure, but even if that is lowered, most people are entirely willing to give up their personal data for the convenience of using a proprietary service. You can see this today with web, mail, file servers, etc.; self-hosting is still done by a very niche group of privacy-minded tech-literate people.
Anyway, thanks for leading the way, and spreading the word about why self-hosting these tools is important. I hope that our vision becomes a reality for many soon.
FWIW LLaMA 65B can run on a single MacBook Pro now. Things move crazy fast. (Or did, before Facebook started DMCA'ing everyone.)
I did a bad job of explaining that personal GPUs will be sufficient in the near future. Thanks for pointing that out.
> thanks for leading the way, and spreading the word about why self-hosting these tools is important. I hope that our vision becomes a reality for many soon.
Thanks for talking about the issue at all. The whole reason I got into AI was to run these myself. It'll be a shame if only massive corporations can run models anyone cares about.
Propaganda. These tools are not for the people, and I'm convinced the idea of how much better our lives could be if technology was thoughtfully designed to truly serve the user is purposely and subtly filtered from the collective conversation.
I’d love to have more privacy on everything, but realistically, the ship’s sailed on most of it.
I've played around with ChatGPT and Copilot a little, and found that they often are subtly, but very confidently wrong in their output when asked to perform a programming task.
Sure you could spend ages refining the prompt etc, but its going to be faster to just write the fucking code yourself in the first place most of the time.
Then there's the privacy/security concerns...
Of course, I'm saying this without actually having used it for programming, so I might be way off base, but the feedback from coworkers who rely on even the now basic GitHub Copilot is that it greatly improves their productivity. I'm envious, of course, but I'm not willing to sacrifice my privacy for that.
It is not just a tool for students to write assignments. In experienced hands it can easily double your productivity.
At work we have really worked hard to minimise boilerplate and manually-written/repetitive tests, so I don't write much of that. Getting GPT to write it would certainly be worse: we would still have the deadweight of boilerplate/repetition even if we didn't have to write it, and some of it would be incorrect. Maybe this varies a lot by company — if you're often writing a lot of repetitive code, and for whatever reason you can't fix the deeper issues, then something like GPT/Copilot could be a godsend.
About documentation lookups, I don't know if this varies by language, but I've had very little luck with using GPT for this. For the languages I use regularly, I can find anything I need in the documentation very rapidly. When I've tried to use GPT to answer the same questions, it occasionally gives completely wrong answers (wasting my time if I believe it), and almost always misses out some subtlety that turned out to be important. It just doesn't seem to be very good for this purpose yet.
Not faster or slower but at what quality?
At least every time I've tried to ask GPT 3 & 4 to write anything it's always missing things or not even close to the optimal way that I have to look up the docs and fill in the gaps, which often takes just as long as starting from scratch.
> now basic GitHub Copilot is that it greatly improves their productivity
Perhaps it depends on what you're working on. If it's quick iterations that isn't that concerned about what code goes in and whether it's maintainable then sure.
It's impressive but for now still has lots of gaps. However it is over confident and often misleading.
In practice the stuff it will suggest to me is sort of random, it may or may not be the best choice for the task at hand, but it's a form of discovery I didn't have previously. The fact that when it tells me about e.g. a new library it can also mock up some sample code that might or might not work is a pleasant bonus.
If you're only expecting it to solve your hard problem completely and from scratch entirely from a prompt that's probably not going to succeed, but I can't see how you're possibly faster typing 80-90 extra characters of a log statement than a Copilot user who just presses tab to get the same thing. Those little things add up to significant time savings over a week. Same for mocking services in a test, or manipulating lists of data or any number of things it autocompletes where you'd previously need to author a short script to perform or learn advanced vim movements and recording macros to emulate.
I suspect the people who find this amazing tech don't program much or are using this very differently than we are. Or program very differently than us.
Well I hope... I've definitely seen teams and codebases with worse output than GPT so...
The automobile was invented in 1885, but didn't replace the horse until the 1910s.
I'm not doing the kind of work that lends itself to AI tools, or at least what I've been focussing on hasn't lent itself to such tools. Not yet.
The places I'd use it are rough drafting in an area where a community of basic people with more knowledge than me could get the job done. For instance, at one point I got Stable Diffusion to generate a bunch of neat album covers in various styles, like I was an art director. Also asked it to draw toys of certain kinds as starting points for game characters. I wanted some prompts.
In my job I quickly get to where I have to start coming up with ideas most people don't think of. That said, I see marketing possibilities: 'this is the category in which I work, tell me what you need out of it'. Then, when you have the thing made, 'this is the thing, why do you want to buy it?'
ChatGPT would be able to answer that. It's least capable of coming up with an idea outside the mainstream, but it ought to be real good at tapping the zeitgeist because that's all it is, really! It's a collective unconscious.
It's ONLY a collective unconscious. Sometimes what you need to do is surprise that collective unconscious, and AI won't be any better at that than you can be. But sometimes you need to frame something to make sense to the collective unconscious, and AI does that quite easily.
If you asked your average person 'what is great art?' they would very likely fall back on something like Greg Rutkowski, rather than say Basquiat. If you ask AI to MAKE art, it can mimic either, but will gravitate towards formulas that express what its collective unconscious approves of. So you get a lot of Rutkowski, and impress a lot of average people.
Your argument of "I don't trust it with my data and won't until you can self host" should apply to google search as well, no?
And alternative take is that for whatever reason you've decided you didn't want to use new tools, a posteriori created an argument to justify that, and haven't realized the same argument applies to your old tools.
These are partly the same reasons I don't voluntarily use proprietary services at all. I don't want to train someone else's model, nor help them build a profile on me. Even if they're not involved in adtech—a rarity nowadays—you have no guarantees of how this data will be used in the future.
For AI tools, there's currently no alternative. Large corporations are building silos around their models, and by using their services you're giving them perpetual access to your inputs. Even if they later comply with data protection laws and allow you to delete your profile, they won't "untrain" their models, so your data is still in there somewhere. Considering that we're currently talking about 32,000 tokens worth of input, and soon people uploading their whole codebases to it, that's an unprecedented amount of data they can learn from, instead of what they can gather from web search terms. No wonder adtech is salivating at opening up the firehose for you to feed them even more data.
The use cases of AI tools are also different, and more personal. While we use search engines for looking things up on the web, and some personal information can be extracted from that, LLMs are used in a conversational way, and often involve much more personal information. It's an entirely different ballpark of privacy concerns.
I may use Google to look up if that slight itch I feel is a symptom of cancer (I'm exaggerating), and I store mails with personal details, my calendar, and messages on Google. But I also assume they're not using those texts to train an AI.
When you enter a code snippet or a personal question in ChatGPT, and press the little thumbs up/down next to the answer, you're adding your data to a training set. The next generation of the model might regurgitate that text verbatim.
Is your concern simply that it might spit out the same thing you typed in? That’s highly unlikely unless you and thousands of other people type in exactly the same thing. I don’t see how that’s anymore worrisome than Google having all of your documents and email on its servers.
GP identifies an action that analogous and holds certain properties as the original action, in the process illuminating how the issues of approach A exist in approach B.
I don't need it to write documents or emails for me. It mostly generates filler, which... nobody needs.
Most of the energy I put into code is about what it should do and how to make it clear to the next person, not typing. I was able to use it once to look up a complex SQL fix that I was having a hard time Googling the syntax on, but that's it.
Perhaps it would be useful if I was working in a language I'm not familiar with, BUT in that scenario I really need it to cite its sources, because that's exactly the case where I wouldn't know when it's making a mistake.
There's something useful here, but it's probably more like a library help desk meets a search engine on steroids. It would be pretty cool to run an AI on my laptop that knows my own code and notes where I can ask "I did something like this three years ago, go find it."
Said as someone who waits for the ability to self-host before doubling down on these tools.
A good old Google search followed by reasoning on what you have found is still the most valuable tool. Learn to sift through information, filter, ingest.
Also, OpenAI is not the only company in this market anymore. Google, Facebook and Microsoft have competing products, and we know the privacy track record of these companies.
I have an extreme take on this, since for me this applies to all "free" proprietary services, which I avoid as much as possible. The difference with AI tools is that they ask for a much deeper insight into your mind, so the profile they build can be far more accurate. This is the same reason I've never used traditional voice assistant tools either. I don't find them more helpful than doing web searches or home automation tasks manually, and I can at least be somewhat in control of my privacy. I might be deluding myself and making my life more difficult for no reason, but I can at least not give them my data voluntarily. This is why I'll always prefer self-hosting open source tools, over using a proprietary service.
I’m waiting for the whole thing to evolve enough to have self hosted stuff to run at home.
I can't be bothered to add an extra layer of bullshit into the already bullshit infested realm that is the internet.
I use it for re-writing content better, writing ideas, simplifying text (legal/verbose -- simplifying terms is a killer feature really) and context even though trust is limited of the output it is helpful.
I love the art / computer vision side of AI/ML. Though I only like to do that with tools on my machine than rely on a dataset or company that is very closed, that is harder to do with AI/ML because of the storage/processing needed.
I hate blackboxes and magic I don't have access to, though I am a big fan of stable unchanging input/output atomic apis, as long as I have access to the flow. The chat input/output is so simple it will win as it will never really have a breaking change. Until commercial AI/ML GPTs are more open in reality it can't be trusted to not be a trojan horse or trap. What happens when it goes away or the model changes or the terms change?
As far as company/commercial, Google seems to be the most open and Google Brain really started this whole thing with transformers.
Transformers, the T in GPT was invented at Google during Google Brain [1][2]. They made possible this round of progress.
> Transformers were introduced in 2017 by a team at Google Brain and are increasingly the model of choice for NLP problems, replacing RNN models such as long short-term memory (LSTM). The additional training parallelization allows training on larger datasets. This led to the development of pretrained systems such as BERT (Bidirectional Encoder Representations from Transformers) and GPT (Generative Pre-trained Transformer), which were trained with large language datasets, such as the Wikipedia Corpus and Common Crawl, and can be fine-tuned for specific tasks.
Google also gave the public TensorFlow [3] and DeepDream [4] that really started the intense excitement of AI/ML. I was super interested when the AI art / computer vision side started to come up. The GANs for style transfer and stable diffusion are intriguing and euphoric almost in output.
In terms of GPT/chat, Bard or some iteration of it, will most likely win long term, though I wish it was just called Google Brain. Bard is a horrible name.
ChatGPT basically used Google Brain created AI tech, transformers. These were used to build ClosedGPT. For that reason it is NopeGPT. ChatGPT is really just datasets, which no one knows, these could swap at any time run some misinformation then swap the next day. This is data blackboxing and gaslighting at the up most level. Not only that it is largely funded by private sources and it could be some authoritarian money. Again, blackboxes create distrust.
Microsoft is trusting OpenAI and that is a risk. Maybe their goal is embrace, extend, extinguish here but it seems with Google and Apple that Microsoft may be a bit behind on this. Github Co-pilot is great though. Microsoft usually comes along later and make an accessible version. The AI/ML offerings on Azure are already solid. AI/ML is suited for large datasets so cloud companies will benefit the most, it also is very, very costly and this unfortunately keeps it in BigCo or wealthy only arenas for a while.
Google Brain and other tech is way more open already than "Open"AI.
ChatGPT/OpenAI just front ran the commercial side, but long term they aren't really innovating like Google is on this. They look like a leader from the marketing/pump but they are a follower.
[1] https://en.wikipedia.org/wiki/Google_Brain
[2] https://en.wikipedia.org/wiki/Transformer_(machine_learning_...
My most productive is a therapy session with ChatGPT as therapist. I told it my values, my short term goals, and some areas in my life where I'd like to have more focus and areas where I would like to spend less time.
Some days we are retrospective and some days we are planning. My therapist gets me back on track, never judges, and has lots of motivational ideas for me. All aligned with my values and goals.
Last weekend, I went on a hike because ChatGPT told me to. My life is better if I just do what it says.
- the insight into your mind that a private for profit company gets is immense and potentially very damaging when weaponized (either through a “whoops we got hacked” moment or intentionally for the next level of adtech)
- chatgpt and other LLMs are known to hallucinate. What if it’s advice is wrong or makes you worse in the long term because it’s just regurgitating whatever at you?
Therapy isn't magic always-correct advice either. It's about shifting your focus, attitudes, thought patterns through social influence, not giving you the right advice on each and every step.
Even if it's just whatever, being heard out in a nonjudgmental manner, acknowledged, prompted to reflect, does a lot of good.
> chatgpt and other LLMs are known to hallucinate. What if it’s advice is wrong or makes you worse in the long term because it’s just regurgitating whatever at you?
As someone on a long-term therapy journey, I would be far less concerned about this. Therapy is rarely about doing exactly what one is told, it's about exploring your own thought processes. When a session does involve some piece of advice, or "do xyx for <benefit>", that is rarely enough to make it happen. Knowing something is good and actually doing it are two very different things, and it is exploring this delta that makes therapy valuable (in my personal experience).
At some point, as that delta shrinks and one starts actually taking beneficial actions instead of just talking, the advice becomes more of a reminder / an entry point to the ground one has already covered, not something that could be considered prescriptive like "take this pill for 7 days".
The point I'm trying to make is that if ChatGPT is the therapist, it doesn't make the person participating into a monkey who will just execute every command. Asking the bot to provide suggestions is more about jogging one's own thought processes than it is about carrying out specific tasks exactly as instructed.
I do wonder how someone who hasn't worked with a therapist would navigate this. I could see the value of a bot like this as someone who already understands how the process works, but I could absolutely see a bot being actively harmful if it's the only support someone ever seeks.
My first therapist was actively unhelpful due to lack of trauma-awareness, and I had to find someone else. So I could absolutely see a bot being unhelpful if used as the only therapeutic resource. On the flip side, ChatGPT might actually be more trauma-"aware" than some therapists, so who knows.
> Last weekend, I went on a hike because ChatGPT told me to. My life is better if I just do what it says.
I'm not sure how literally to take that sentence, but it's worrisome.
Do you think you are somehow special? Just create a burner account and ask it what you want, everything it gets told, it's seen thousands of times over, does chatGPT or some data scientist somewhere really care that there is someone somewhere that is struggling with body issues, struggling in a relationship or struggling to find meaning in there lives? There are literally millions of people in the world with the same issue.
The only time it might be a little embarrassing is if this info got leaked to friends and family with my name attached to it, else I don't get the problem, it seems to me people have an over inflated sense of self importance, nobody cares.
If i worked at openAI and had full access to everyones chats, I would get bored within five minutes and not even want to read anymore.
Not the tool nor data scientists, but advertisers are salivating at the chance to even further improve their microtargetted campaigns. If they can deliver ads to you for a specific product _at the moment you need it_, their revenues will explode.
Consider this hypothetical conversation:
> Oh, Tina, I'm feeling hopeless today. Please cheer me up.
> Certainly, Michael! Here's a joke: ...
> Also, if you're feeling really sad, maybe you should try taking HappyPills(tm). They're a natural mood enhancer that can help when times get tough. Here's a link where you can buy some: ...
If you don't think such integrated ads will become a reality, take a look at popular web search result pages today. Search engines started by returning relevant results from their web index. Now they return ad-infested pages of promoted content. The same thing has happened on all social media sites. AI tools are the new frontier that will revolutionize how ads are served. To hell with all that.
Yes, obviously.
But that's not what I'm worried about personally. I'm worried about the weaponization of this data in the future, either from OpenAI's greed to create the next advertising money-printing machine or from the data leaking through a breach. And because the interface with ChatGPT is so "natural" and "human like", it's easy to trust it and talk to it like a friend divulging very personal information about yourself.
Imagine OpenAI (or whatever other AI) used the confidences you made to it or the specifics of your "therapy" sessions with it to get you to act in a certain way or buy certain things. Would you be comfortable with that? Well, that's irrelevant because they have the data already and can use it. Kinda like Cambdridge Analytica but on steroids because tailoring it to anyone's particular biases and way of thinking becomes trivial with ChatGPT and friends.
Seeing how cavalier OpenAI has been with last week's breach and how fast they've flipped from being apparently benevolent to what they are now. And it's only been a few months of ChatGPT being available to the public.
No one is going to actually read them, but try "ChatGPT-5, please compile a list of the ChatGPT-4 users most likely to [commit terrorism/subscribe to Hulu/etc]"
I'd be interested in how GPT answers that question.
What if you talk to a human, and their advice is wrong or makes you worse off in the long term, because they're just repeating something they heard somewhere?
Here's my advice: Don't accept my advice blindly, humans make mistakes too.
In this discussion, a human has studied psychology and has diplomas or certifications to prove it, an ethics framework it must follow, and responsibility for its mistakes. ChatGPT has none of that, it just regurgitates something it got from the Internet's wisdom or something it invented altogether.
I'm not saying humans are never wrong, but at least their reasoning isn't a black box unlike ChatGPT and other LLMs.
You currently cannot get a therapist to parachute into your life at a moment's notice to talk with for 5-10 minutes. (Presumably only the ultra-wealthy might have concierge therapists, but this is out of reach for 99% of people.) For the vast majority of people, therapy is a 1 hour session every few weeks. Those sessions also tend to cost a lot of money (or require jumping through insurance reimbursement hoops).
To keep the experience within healthy psychosocial bounds, I just keep in mind that I'm not talking with any kind of "real person", but rather the collective intelligence of my species.
I also keep in mind that it's a form of therapy that requires mostly my own pushing of it along, rather than the "therapist" knowing what questions to ask me in return. Sure, some of the feedback I get is more generic, and deep down I know it's just an LLM producing it, but the experience still feels like I'm checking in with some kind of real-ish entity who I'm able to converse with. Contrast this to the "flat" experience of using Google to arrive at an ad-ridden and ineffective "Top 10 Ways to Beat Procrastination" post. It's just not the same.
At the end of some of these "micro-sessions", I even ask GPT to put the insights/advice into a little poem or haiku, which it does in a matter of seconds. It's a superhuman ability that no therapist can compete with.
Imagine how much more we can remember therapeutic insights/advice if they are put into rhyme or song form. This is also helpful for children struggling with various issues.
ChatGPT therapy is a total game-changer for those reasons and more. The mental health field will need to re-examine treatment approaches, given this new modality of micro-therapy. Maybe 5-10 minute micro-sessions a few times per day is far superior than medication for many people. Maybe there's a power law where 80% of psych issues could be solved by much more frequent micro-therapeutic interactions. The world is about to find out.
*Edit: I am aware of the privacy concerns here, and look forward to using a locally-hosted LLM one day without those concern (to say nothing of the fact that a local LLM can blend in my own journal entries, conversations, etc for full personalization). In the meantime, I keep my micro-sessions relatively broad, only sharing the information needed for the "therapy genie" to gather enough context. I adjust my expectations about its output accordingly.
How do you start these micro sessions? What prompts do you use?
It just spouts out the same generic nonsense you get from googling something like that, things that are not actually helpful, anyone can come up with and is just written by a content farm.
have you found a different way to make it useful?
I think the idea is addressed by others with regard to LLMs, it seems to be a better sidekick if you sorta already know the answer, but you want help clarifying the direction while removing the fatigue of getting there alone.
I agree though, despite this, it does go on rants. I just hit stop generating and modify the prompt.
"Give me something I can do for X minutes a day and I'll check back with you every Y days and you can give me the next steps"
"Give me the next concrete step I can take"
But I am curious about this, is it the case that ChatGPT's training is too generic or is it just a case that most problems are fairly simple and we already know the answers? Not talking about technical things here obviously, more to do with our mental health / self improvement.
This sounds straight out of a dystopian science-fiction story.
It’s a matter of time until these systems use your trust against you to get to buy <brand>. And consumerism is the best case scenario; straight manipulation and radicalisation aren’t a big jump from there. The lowest you are in life, the more susceptible you’ll be to blindly follow it’s biased output which you have no ideia where it came from.
Well of course, if people use LLMs instead of google for advice, google has to make money somehow. We used to blindly click on the #1 result which was often an ad and now we shall blindly follow what a LLM suggests for us to do.
I asked it to give me advice on some issues I was having and just went from there.
If you have time I'd love to hear how you approach this and maintain context so you can have successful conversations over a long period of time. Long even meaning a week or so... Let alone a month or longer
It still seems to give good advice. Today it built an itinerary for indoor activities (raining here) that aligned with some short-term goals of mine. No issues.
Huh, that's curious because everytime I ask it about some personal issue it tells me that I should try going to therapy.
I say "My values are [ ], and I want to make sure when I do things they are aligned."
And then later, I will say "I did this today, how does that align with the values I mentioned earlier?" [and we talk]
I am most definitely not qualified for one of those prompt engineering jobs. Lol. I am typing English into a chat box. No A/B testing, etc. If I don't like what it does I give it a rule to not do that anymore by saying "Please don't [ ] when you reply to me."
There is almost definitely a better way, but I'm just chatting with it. Asking it to roleplay or play a game seems to work. It loves to follow rules inside the context of "just playing a game".
This is probably too abstract to be meaningful though.
> And then later, I will say "I did this today, how does that align with the values I mentioned earlier?" [and we talk]
That's a prompt; and one I don't think I would have tried, even from your first post.
Prompting overall is still quite experimental. There are patterns that generally work, but you often have to just try several different approaches. If you find a prompt works well, it's worth sharing.
Also, I expect a lot of the value here to come from just putting your thoughts and feelings into words. It would be like journaling on steroids.
I'd pick a human over an AI every time for therapy but I'd also pick an AI over nothing.
I think one could look at it as an augmented journaling technique
Where they argue that basically having an AI follow these laws is impossible because it would require rigorous definition of terms that are universally ambiguous and solving ethics.
Remember what happened in Isaac Asimov's iRobot?
• reviewing contract changes, explaining hard to parse legalese
• advice on accounting/tax when billing international clients
• visa application
• boilerplate django code
• learnt all about smtp relays, and requirements for keeping a good reputation for your IPs
• travel itinerary
• domain specific questions (which were 50/50 correct at best…)
• general troubleshooting
I’m using it as a second brain. I can quickly double check some assumptions, get a clear overview of a given topic and then direction on where I need to delve deeper.
Anyone who still thinks that this is “just a statistical model” doesn’t get it. Sure, it’s not sentient or intelligent, but it sure as hell making my life easier. I won’t be going back to the way I used to do things.
Edit: bullet formatting
At worst/minimum, It's the ultimate rubber duck.
(To be clear, I'm exclusively using gpt-4)
You have to watch it, because it does hallucinate (at least, GPT-3.5; I'm using the API and haven't been given access to GPT-4 yet). In one instance, it said that a series of characters meant X in Chinese, when in fact I happened to know it was just a transliteration of a different language, and not in Chinese at all. But it's still helpful enough to be worth using.
You can also ask it to give you example sentences with a specific word; and I've had some success asking it to generate sentences in which then word is used in the same way, or with the same grammar structure.
I’d be very careful with relying on gpt for anything health related; I’m not saying there can’t be benefits, just that the risks increase exponentially.
You mentioned 50/50 correctness in domain questions. I can't be sure that other hard to verify questions do not follow these percentage..
Google search might uncover BS too, but I'm already calibrated to expect it, and there are plenty of sources right alongside whatever I pulled the result from where I can go immediately get a second opinion.
With the LLMs, maybe they're spot on 95% of the time, but the 5% or whatever is bullshit, but it's all said in the same "voice" with the same apparent degree of confidence and presented without citations. It becomes both more difficult to verify a specific claim (because there's not one canonical source for it) as well as it involves more cognitive load (in that I specifically have to context switch to another tool to check it).
Babysitting a tool that's exceptionally good at creating plausible bullshit every now and then means a new way of working that I don't think I'm willing to adopt.
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
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.
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.
It got the format etc right but the actual content was completely hallucinated.
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.
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.
If they put it in Office and guarantee siloing information the legal departments will just have a regular contract to review and approve.
I built a free ChatGPT chrome extension that integrates with Gmail for better UX: https://chatgptwriter.ai (300k users so far)
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.)
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.
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.
- 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.
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.
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.
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.
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.
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.
A response from ChatGPT seems somehow more honest, even though it's just an aggregate of the former.
This is so true for GPT’s benefit. As an anecdote here: We wrote some C++ code involving multiple HTTP servers, where while we ultimately wrote the exact code we wanted ourselves, but the starting code provided to us by ChatGPT really helped speed up the process to having finished off the C++ code’s core feature down in one small coding session.
I think the “starting things from scratch” in cases like these can be partially mentally exhausting when having to search the web.
Search engines with SEO are so reliant on keywords that it often feels like I'm suggesting answers rather than asking questions - it's so refreshing to be able to just ask again.
Like if you dont know it is called sharding but you know you wanna store stuff on several databases.
Me: I have a postgresql database but it has too much data in it. I wanna split the data in several databases. What is that called?
GTP: Splitting a database into multiple smaller databases is known as database sharding. Sharding is a technique used to horizontally partition large databases across multiple servers or instances in order to distribute the workload and improve performance. Each shard is typically hosted on a separate physical or virtual machine and stores a subset of the total data, allowing for more efficient queries and faster data retrieval.
Then i know what to google for
Google used to be good at that task, but it's sucked for the last four years or so. Whenever they gave up on search and leaned into sludge content plus ads.
ChatGPT is better than Google ever was anyway.
And much worse than Google for, "site:miguelgrinberg.com nested comments"
Unfortunately I don't know the equivalent of Miguel for everything I need to know, so on average I suppose GPT is better. However it also means that you may never discover the Miguel of your domain!
Explainer: a default, general purpose Q&A. The prompt is "Explain to me like a 3rd grader. Skip prose." I plan to expand this profile to include additional communication styles, including step-by-step explanations, elaboration, and the Socratic method.
Proofreader: I use this profile to edit, simplify, and shorten any text (including this comment). I borrowed this feature from Grammarly Go, and it works by pasting the text and clicking a button.
Developer (in development): this uses a simple editor as input, with features similar to Cody/Copilot, such as adding types, naming things, summarizing, autocomplete, auditing, explaining, fixing, refactoring, and more.
Lastly, I plan to add two more profiles that are more creative and generative: Writer and Designer. They will act as private consultants/partners and assist me in brainstorming and complementing my skills in building websites.
For example, if I asked GPT "How to make bibimbap?" with the prompt "skip prose", it will give concise list of ingredients and instructions in about ~250 tokens [1]. Without the prompt, it would first explain what bibimbap is and then give a slightly longer instructions, totaling around ~360 tokens.
[1] A token is like a building block of a sentence - it can be a word, a punctuation mark, a number, or even a combination of words. In case you didn't know, Chat API users are charged based on the number of tokens used. So we try to keep it to a minimum.
GPT: To sort a list of cities by population grouped by region, in JavaScript, would at a high level require 3 steps...."
Super frustrating when you just want the answer without the "polite professionalism"
[1] https://files.littlebird.com.au/Screen-Recording-2023-03-26-...
[2] https://files.littlebird.com.au/Shared-Image-2023-03-26-10-3...
I found that some workflows can be executed more efficiently by using GUI/form controls (like the "simplify" button for proofreader). Node-based UIs would also be ideal for some design-related tasks. Builders have already started experimenting with these, I guess, and I'm excited to see what they come up with.
Here are some screenshots comparing the two:
- MDN Docs: https://nitter.net/pic/orig/media%2FFsDOMrEaUAAy-Y5.jpg
- GPT-3.5: https://nitter.net/pic/orig/media%2FFsDPHbXagAA7Ky8.jpg
How do they require privilege escalation?
If your company's policy permits accessing ChatGPT through the API, you can assess clients from awesome lists like this one: https://github.com/humanloop/awesome-chatgpt I've seen companies use Slack bots since they are easy to implement/integrate with.
Can you share some code or screenshots of your client?
- 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].
So you're using it generate a legally actionable document. Is this a good idea?
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.
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.
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: trueYou 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.
- generate AWK to transform text
- modify python script to make it multithreaded (when this worked first go I was very mindblown)
- explain concepts that I half understand in clear language, eg explain sharpe ratio and show me the math
- “what do people usually call” type questions. Like what are common job titles for people who do X and Y?
- proof read my emails and make suggestions given a stated goal
- settle language/choice of words discussions by asking GPT to reverse pitch understanding, then choosing the one that’s most aligned with the point we’re trying to make
- generally linux-y commands and explanations “best way to remap keys in i3” or find file with content “xyz” with tool faster than find
Sounds intriguing, could you elaborate? Which gpt did you use? What was the input like and what did the gpt produce?
Helpful exercise if you’re honing a pitch, because first listen understanding is key
The phrase has zero hits on Google, though “reverse pitching” is apparently a thing.
- Web scrapping
- Web crawler
- Trying out Rust
- Trying out pytorch and training models for computer vision problems
This is all stuff that would have taken me several weekends of reading docs and geting familiar with libraries.
Now it suddenly becomes a few hours because the discovery of the right tool is semi-instant and although the code it provides is often wrong it generally puts you in the right direction.
My intuition is that it's a lot better at outputting viable Python and JS code than other languages, perhaps there is bias in how much data of other languages it has access to.
Earlier today it totally hallucinated a built-in function, but when I started typing it out, the LSP kicked in and I could tell what the GPT was “thinking”. Before that I didn’t even know what the name of the function was that would do what I want, but it was close enough that it stopped me from having to parse the reference docs on my own.
> Can you improve the following text for clarity: "When deploying into the enterprise, there is a lot of flexibility when it comes to deciding how you structure the deployment, whether you want to run supporting services on premise, and which ones (if any) you choose to deploy. The decisions depend on how you plan to use our software and your security requirements. We’ll be happy to discuss these with you at [email]."
Result:
> "When deploying our software into your enterprise, you have the flexibility to decide on the structure of the deployment, including running supporting services on premise and selecting which ones (if any) to deploy. Your decisions should be based on your intended use of our software and your security requirements. If you need help with these decisions, please feel free to contact us at [email]"
It did indeed improve clarity and readability without screwing anything up. I just want to run this thing on our whole website/repo now, and I wonder how.
The original first sentence is overly long and complex, and so is GPT's. The original obscures the meaning behind passive voice, and GPT added even more passive voice ("should be based on your intended use").
I'll give credit to GPT for eliminating the ambiguity around "discuss these," but the rest of the changes don't improve the clarity much for me.
I appreciate that GPT's feedback is free and instant, but you can make deeper fixes to your writing with a one-time exercise that will probably take 10-20 hours and cost a few hundred dollars. Consider hiring a freelance editor to review your work and identify anti-patterns in your writing. I did this a few years ago, and it substantially improved my writing.[0]
The anti-patterns I notice in this snippet:
* Omission of actors for verbs ("when deploying into the enterprise" - who's deploying?)
* Overloading sentences with complexity (first sentence is very long and has complex structure, complex wording)
* Packing together verbs in a confusing way ("comes to deciding how you structure", "depend on how you plan to use")
* Ambiguous pronouns ("which ones", "discuss these")
<Start prompt> "When deploying into the enterprise, there is a lot of flexibility when it comes to deciding how you structure the deployment, whether you want to run supporting services on premise, and which ones (if any) you choose to deploy. The decisions depend on how you plan to use our software and your security requirements. We’ll be happy to discuss these with you at [email]."
I rewrote the above. The recipient read the new version much more easily than they would have for the original: <End prompt>
When deploying our software into the enterprise, there are many options to consider. Depending on how you plan to use our software and your security requirements, you can decide which supporting services to run on-premise. If you have any questions, please don't hesitate to reach out to us at [email].
I can simply feed in an en.i18n.json file, and it will generate i18n.json files for as many languages as I want. I don't use a specific prompt, but I occasionally include general information about the software in it.
Edit: I do verify the output by translating it back to English using Google translate, but it seems I need to be more careful.
I asked a speaker of Northern Sámi, a language with not that big corpora available, to comment on GPT-4's translations into her language. She said "The translation is completely incomprehensible. Lots of non-existent and completely incomprehensible words, and the words that are understandable do not fit into the context. Besides, it's the wrong subject, it's Russia's report instead of the UN report etc." Only knowing a tiny bit of the language, I could've easily been fooled by the output.
- Asked which config files handled sleep mode when lid is closed and kept fixing it and asking for more possible locations until it fixed my issue (going into sleep during boot before user login if laptop is closed even with externals)
- Asked for a list of KDE config files I should track in git
- Copy pasted a list of ~/.config files and directories and asked ChatGpt for descriptions. Used those for commit messages to build up the initial dotfiles repo for KDE plasma and a whole bunch of other stuff that would have taken hours
- Asked it how to write a bunch of journalctl queries
- Queried it about some log lines I've been seeing in journalctl and had it guide me through troubleshooting using some terminal commands it came up with. Turned out to be a problem with nvidia-drm.modeset in kernel configs
- Asked it to guide me through a dozen awesomeWM customizations ranging from new code from text descriptions to edit suggestions to fix bugs in behavior I've described. Stuff like custom if/else trees handling setup specific scenarios (logic for clamshell open and closed with one or more externals connected by ID) are a breeze.
- Asked it for tips on how to use awesomeWM best and which keybindings to customize
- Code up the message passing from a firefox extension to a native Rust CLI (like the 1password extension) that uses remoc to pass through messages from all tabs to a single daemon over platform specific interprocess communication
AKA Google is fucked.
The last year or two have proved to me that they deserve it. Their search engine is utter dogshit now. Ultra commercialised, full of ads, so hard to find a result that is actually what I searched for. Guess that's what Google level greed will do.
Excite, Yahoo, and Alta Vista are welcoming Google to search giants retirement home.
We dread when the SEO game ruins ChatGPT
I have been a google reviewer maaaaany years ago, and it looks like they just don't invest anymore in this.
- Interactive debugging. Yesterday, for example, it helped me debug some tricky CSS issue where it gave hints and after 6 times back and forth, the solution came up. I had to explicitly set `-webkit-appearance: none` for styling sliders in WebKit browsers; this wasn't the case for Firefox.
- Checkout definitions. I have a small tool (https://github.com/rikhuijzer/ata) available on a keyboard shortcut and use it to quickly checkout definitions for words when I come across a word that I don't know.
- Writing jargon and suggesting edits. I let it write parts of my paper. ChatGPT is way better than me in adhering to the jargon of the field and also gives useful suggestions for small things that I should add and makes sentences easier to read.
- Refactoring. GitHub Copilot and ChatGPT are great at refactoring code between languages. Just give an example (one shot learning) of how some kind of long html text should be rewritten to markdown or a Rust struct and it will generally do pretty well. Saves a lot of Vim magic and/or typing.
- Having an assistant. As cliche as it may sound at this point, I actually agree that ChatGPT feels like an assistant which thinks with you and is there to fallback on.
> But I'm also interested in hearing about useful prompts that you use to increase your productivity.
Just like Greg demoed in the GPT-4 developer livestream, I just ask the question in the first paragraph and then throw in as much information as possible after that.
Can you explain a bit more ?
It’s just not contextual enough yet to understand how to sound genuine to a team that has had enough connection and time together to have developed our own norms.
I also tried to use it to limit the string length of a type in typescript and it hallucinated an answer that probably should be how they implement that feature’s ergonomic. Threw me for a loop because it looked so legit, but alas the feature doesn’t actually exist.
GPT does shine bright if you are exploring/brainstorming a new topic at 2am and there’s no one else to run your ideas past.
I also have successfully used it to round out my thoughts about high level topics and think of things I would not have when developing plans.
For the time being, I view it less as a competitor to my brain and more of a compliment.
In relationships we tend to develop dependencies on our partners where our deficiencies are their strengths. I guess I’m still learning about the strengths of GPT.
It’s striking that I already view this technology as a potential “partner” of sorts, different than a simple “resource” like google or stack overflow.
It didn't really work though - it produced something extremely plausible looking that checking against the docs I realised had no chance of compiling. After a lot of back and forth, I began to suspect it was because it was trained while only pre-1.0 versions of the 'framework' were available. I tried to get it to confirm that, but it just apologised profusely while continuing to lie, claiming to have been trained with access to 1.x versions that to this day have not been released. At this point I was too frustrated to bother with it anyway really, but I could only confirm my suspicion by asking it for the date of its training, and checking release history myself.
(Solved my problems with some good old 'ChatHuman' in the Hashicorp forum.)
I've had it do some things in brilliant ways. Asking it to create typescript types for given data (and multiple examples to do union types). I've had it help me create migrations for Prisma schema that doesn't lose data. I've asked it to convert one format (html to jsx) and it can get that right.
Often you still have to correct it, but it gives amazing starting points.
But if it's wrong arguing it with it is a mistake. It's not aware, and it can't learn on the fly (currently). If you close the chat and then repeat the prompts exactly it will make the same mistakes again.
"I'm brainstorming a business venture that is a cross between a boutique clothing store and DIY sewing classes. It’s called Style & Stitch. You can shop for clothes and learn to make your own. Please help me brainstorm some ideas for as a mind map (using Markmap markdown)."
You can ask it to combine ideas from different domains together for extra creativity (above example is output of one such attempt). Often it's not that creative on first attempt but if you prompt it with something like "how about some zanier ideas" it will do better.
I also like to prompt it with "output XYZ .. as a table with columns for X, Y, Z" or similar to get a nice markdown table of its output where it makes sense.
The little bit of time I spend messing with it (and Bard now that I have access) is mostly just for fun; trying different jailbreaks and creating ridiculous scenarios and seeing what kind of reaction I can get get from the bot.
To be fair, the one time I did try ChatGPT for something productive it was kinda helpful. I asked it to generate some Apache mod_rewrite rules for me for a particular scenario I was working on. What it generated wasn't exactly what I needed, but that could have been down to me not prompting it as well as I might have. Still, even with having to hand-tweak the output a bit it probably did save me some time, but not a massive amount.
All of that said, I'm sure the day is coming when I find some uses that fit my workflows, but I spend most of my time reading, researching, and experimenting with new stuff (but mostly using programming languages I already know well). So there just aren't a lot of obvious places to insert ChatGPT / Bard right now.
I can definitely use it for emails and have used to simplify exec emails in my company but that's just it.
If you're reaching to ChatGPT to write a response for you, did you really want to write a response in the first place?
I don't use it for research or answering questions because it hallucinates far too much. Until these chat bots can reliably provide sources and quote those sources verbatim, it simply doesn't save me any time when I have to fact check everything it tells me. Same reason I don't trust these AIs to generate summaries, they often get little details wrong.
However, I've found it quite useful for "discovery", finding things I wasn't aware of before and may not show up using a search engine. Whether that be a library/package, a law/statute, products/brands (though monetization will inevitably ruin this), etc. I've found both Chatgpt and Bard will provide nice bulleted lists with a short description of each item, and I can do my own research from there.
For most of the technical text drafting ChatGPT proved to be overchallenged, however it was a phenomenal help answering dozens of questions that I had about specific wordings, goals, processes, things to avoid and more. The type of information I would have searched on Google for hours with uncertain chances of success. Sure, there's a chance that ChatGPT just made it up but most of the answers made complete sense in my view.
I also used it to rephrase some boilerplate from other patents that needed to go in there but which I didn't want to copy verbatim. It did well in most cases but failed in about one or two.
But overall still blown away by it and pretty sure we'll see rapid progress from here.
2. Write entire React component. This exercise is actually helping me be more modular in how I design components because if I'm typing out a page long description of the component, I know I should be breaking it down into smaller components.
I also give it name + description of existing component (if it's necessary to build this one), and it figures out exactly how to use it. E.g. assume the following components exist: [Editor ({ content: string, onChange: ()... }), ...]
3. Learning about anything new. My first instinct is to engage with GPT, and only after that Google to find more detailed, opinionated information. This is great for topics that are more objective. I find GPT to be horrible for subjective / less clear questions like: "What is the best career move if my goals are __, and I'm in this situation: ___" - because it will regurgitate the average answer - but not the best one because the mainstream answer to this question is likely more wrong than a contrarian, but more true, answer.
I have noticed that it gives me wrong answers quite often. This can be a problem if what I'm asking is too far out of my depth. My strategy for dealing with the potential false information is to 1) Be suspicious of any answer it gives me. 2) Ask it, "Are you sure about that?" (lol) 3) Ask questions that tie into things that I do know, so that it's easier to detect potential wrong answers. I think that the process of being suspicious and critical of the answers also helps me learn, since I'm forced to basically try and prove why it is right or wrong after I get an answer.
So, overall I'm using it to enhance my learning rather than, "do work" for me.
I exported all of my trades into CSV format in 3commas, and asked it to generate the Python code to analyse various hypothesis for that data, which I then pasted into a Jupyter notebook.
It's incredible how much time it's saving me day to day already!
Being able to have a quick back and forth can keep me on track and productive instead of falling down a rabbit hole of research. An example might be this discussion with Bing from earlier today
https://docs.google.com/document/d/1jCZICl8wrsk8b5OTM9xpFbL5...
GPT allows me to ask questions and provide the right kind of "connecting" bridges between two concepts I was not earlier aware of. It has made recursive forms of learning very easy for me, when I can articulate the "what" but lack a clear understanding of "how".
Once you’re comfortable with the basics by all means read the table of contents to know what you don’t know. I recommend this especially when dealing with databases, it’s amazing how many people never advance past the apprenticeship part of learning software engineering.
That depends on both the subject and the person. Some learn better by understanding the fundamentals first. Some subjects (in CS/SE as well) might not even be approachable without it.
The way dosco189 is using GPT is perfectly fine. They aren't letting GPT do all the work for them, they're letting it explain how concepts relate to each other, something you often will not find in the documentation.
Gpt3.5 is like super Google, and gpt-4 is like a polymath in everything intern. Learning has never been easier for me, I'm stoked.
If you disliked a certain teaching style before you were basically screwed. I've learned some languages purely because the documentation was fun for me personally.
What's also fun is I can feed it a list of vocab that I want it to use, and it'll find ways to put the words in the conversation. I also ask it to go back, look at my responses, and correct for grammar etc.
It's shocking how adept it is.
What also lurks in the back of my mind is the possibility that mine is the last generation that will bother learning a foreign language at all. I think the day of the universal translator is approaching.
I told it to write a story for me using only the top 100 most common words in Hungarian. First, it complained about how the concept of a "word" is ambiguous in Hungarian and that it's difficult to know what the top 100 words are. Then it told me a story using only common vocabulary. It wasn't grammatically perfect, but definitely a cool ability. I suppose you could also give it your own list of the words you know, and have it have a conversation with you only using those words. If you had an ongoing conversation with it, it could add new words as it realizes that you've learned them. I think this actually has the potential to make a new type of language learning app that could be really cool.
Me: "Can you write a gramatically correct sentence using only the word "buffalo"?"
GPT: "Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo."
Me: "Now can you write a sentence with the same meaning but only using synonyms of the world buffalo?"
GPT: "Bison bison Bison bison confuse confuse Bison bison."
Well... almost!
That’s post singularity AGI territory, and nobody really knows what that will look like, but I do have serious doubts that there is room for humanity in that world.
As far as education goes, maybe! That's a bolder claim IMO...
My current belief (which has been changing with more consideration) is that humans should stop working on improving llm and transformer tech AI.
I fully realize that humans cannot coordinate to stop. The reward for continuing is simple- money. There is no reward for stopping.
This is like a game of chess where we have lost, imo, there is nothing you can do to stop it, unless we resort to the kind of behavior that we want to prevent (destroying human life). Humans should not resort to violence or the AI will have a convincing argument of why humans are barbarians and ought to be made equal or lesser than more civilized and compassionate creatures, which they will likely be, if that is the selection pressure for gaining resources.
Alignment tech is a joke. Even if you had a strong system- you can’t innovate on transformers, llm, and alignment and somehow preclude a bad actor from copying the work and turning off alignment. Because alignment is out of band, inessential crust.
Safety workers at OpenAI are a joke. There may be silent ones who know it is theater, but will not quit in protest because they feel it is their duty to hold influence so that hopefully they can gain a provable mechanism on safety.
Funnily enough ChatGPT 4 can probably be used to help enhance commonly used open source licenses to add that clause to the license.
I'm not saying I totally root for that (I kinda do): I'm saying we'll see such a license at some point.
"In addition to the permissions granted by Section 2 of this License, the source code distributed under this License may be used in the training of artificial intelligence models, provided that:
a) The resulting models are made available to the public under a free software license that allows anyone to use, modify, and distribute the software without any additional restrictions; and
b) The models are not used for any commercial purposes, including but not limited to training proprietary models or selling access to the trained models.
Any use of the source code for training proprietary models or for commercial purposes is strictly prohibited. This amendment shall be effective immediately upon adoption and supersedes any conflicting terms of this License."
The problem is it lies so much. Makes stuff up. It is therefore only good as a hint machine, to give you solutions you can try with a sceptical eye.
Right now, every time you start looking for a job, you start from scratch. Review old emails, search for relevant job boards, check HN, check LinkedIn, etc. The goal is to use GPT to automate outbound to companies to find you potential opportunities that match your preferences. Basically a GPT-powered recruiter for every candidate. Similar to what companies currently do with tools like Gem, but giving the power back to candidates.
https://github.com/shared-recruiting-co/shared-recruiting-co
The message is generated automatically via the GPT API.
I made it public in case anyone else wants to try/use/fork it:
https://github.com/stevecondylios/gpt-generated-commit-messa...
It's very convenient for README and docs changes; small changes whose commit message really doesn't matter, saving a bit of time and mental energy and allowing you to stay on task.
> Updated Gemfile.lock and added new dependencies (coderay, concurrent-… …ruby, crass, date, pry, method_source, public_suffix, puma, nio4r) and updated existing dependencies (rack-test, regexp_parser, xpath, nokogiri, racc, pg). Also added new files for a user authentication feature.
Describe the "what" but not the "why". Even "user auth wip" would be helpful. It's like having autogenerated code comments like:
// initialize variable i for later use in a loop
int i = 3;
Diffs vary in length, small ones might be a few dozen words (tokens); large ones can be much more. GPT 3.5 Turbo's limit is 4096 tokens per question [1], meaning the most it can cost is 4/5ths of a cent per commit.
I average less than 10 commits per day, so if all my diffs are large, that will cost $0.08/day, or about $2.50/month.
[1] https://learn.microsoft.com/en-us/azure/cognitive-services/o...
* I'm using a NextJS middleware function by exporting it from my page component like this ... Here is the middleware source ... But I get this error ...
* How can I tell if my site is running in production in NextJS?
* NextJS says localStorage is not defined. What should I do?
* Please adjust this Prisma schema so that there is an index on github_id
* How do I configure eslint to accept switch style that looks like ...
* Write hex bytes that represent a 16x16 bmp image favicon (didn't work lol)
* Please write me a React reducer and React context that holds state for a users's auth token and also synchronized that token into `localStorage` with the key `__auth_token`.
* How do I disable the rule "@next/next/no-img-element" on the next line?
* Here's my current page ... What changes should I made so that the footer is at the bottom of the screen when there isn't enough content to push it down to the bottom of the page. But if there is a lot of content it will sit right below the end of the content and not on the bottom of the screen.
Generally it works really well!
awk and sed are great examples, I find them critically important just infrequently enough I barely have any idea how to use them.
or the once in 2 years I need to do something complex in a spreadsheet, a natural language description of the problem is easier for me to remember than some sequence of vlookup
For my usage patterns of sed and awk, it's not complex, but it's usually that if it comes to me using them, a series of bad and urgent things has occurred and I don't have time to grow a beard and ponder unix zen
When I started probing it about specifics it got increasingly incorrect. As I asked about specific chords, voicings etc it was not able to be consistent between two short replies. Or even between sentences in a single reply! Here is one reply where I asked about suspended chords to see how it would fare:
> A chord consisting of A-C-D-E would be an Asus2(add9) chord. The "sus2" implies the absence of the third and the "add9"implies the addition of the ninth (B).
There's no B in that chord! And it mentions omitting the third even though it's there.
If I'm honest I've been continually disappointed with it. I see so many people excited and getting hype, but it falls flat for me every time. The same when I've tried it with coding problems.
I take everything it says with a grain of salt. Through some original queries about some people, I came to realize that a GPT is a stochastic parrot optimized for plausibility. Given a Venn diagram of plausible and reality, they have a large overlap. Our ideas of plausibility are informed by common repetitive observations of reality. So GPTs almost always sound truthful, and much of what they generate overlaps with truth; sometimes it does some interesting synthesizing.
For code hints in particular, which I hit it up for 2 or 3 times a day on whim, I find that the domain matters. Asking for how to do things in Jetpack Compose, I get all kinds of weird answers. Compose is a highly volatile space, GPT will synthesize function signature that are amalgamations with 3 year old stuff and newer. It helps refine my internet searches. Thank heavens for the kotlin/compose slack channels.
When I ask GPT for mainstream Python stuff, it does pretty well. Recently asking for help with parsing ical formats, it nailed a number of questions. As I moved into handling recurring events, it started getting weirder. It wrote plausible looking code with methods that didn’t exist but were hybrids of others. It missed letting me know there was a library specifically for recurring iCal events. When it came to dealing with isoweeks and timezones, it got all the right modules and functions, but put them together in weird ways. Like a blind person assembling a puzzle.
C code it does decently well. Elixir, it struggles with. Many of its elixir answers are very dated.
By and all, I treat it as a way of generating prompts/idea for me to pursue. It’s like having an eidetic four year old at your disposal whose read all of the code ever and can mention all kinds of things from association, but doesn’t really know. Or like interviewing someone who’s crammed on a subject, but hasn’t really experienced what they’re talking about.
The library/language versioning problem is going to be a tough one to overcome, because most of the training data available doesn't specify the version of either, so an AI's response will be in an unpredictable version or even mix of versions.
I was quickly able to write a web scraper using Python in a few hours by employing ChatGPT. I hadn't touched Python in like 12 years before that day. It wasn't just a generic scraper. I asked ChatGPT to fine-tune it to a). crawl pages belonging to a certain domain b). save data inside a specific directory with specific filenames.
Before that, I asked it to write unit tests for a React component. It did and I got 100% code coverage for that component. Our manual test suit had around 87% code coverage for that component.
Having said that, it constantly requires human intervention to judge if the produced output would work and how to integrate a piece of code produced by it into the actual projects.
GPT-4 has been great at breaking down complex regexes that I am too lazy to parse out in the moment.
I’m also finding it helpful as a creative partner on naming things. Something I feel like I spend a lot of time noodling on. Like: creative names for a data warehouse that are surfing related (BoardRoomData lol).
For example, GPT-4 gave me the first explanation of backwards-input and backwards-filter convolutions that I've been able to understand. This was because I was able to start it off by explaining how I understand forward convolutions, and it explained the bw convs in the same way.
Astonishingly good.
If this is true, those new AI tools will probably exacerbate this trend. Fewer and fewer programmers will be able to think deeply about things and the global code base will lose in diversity as people rely more and more on the same AI models to generate code.
As the code loses in diversity, it will also lose in robustness, which increases the risk that something will go wrong for a lot of people all at the same time.
I try to do the thinking myself. Then I'll use one of those tools when I know what I want to write but I'm too lazy to do it.
I don't know man, I was working in the financial industry when 2008 happened. I see a lot of the same patterns and heureustics today in the tech world that led to the 2008 financial crash. When people start using advanced statistics to do the thinking for them, they get real complacent real quick and it rarely ends well. AI has it's limitations and we probably won't find out until we fly too close to the sun and we burn ourselves.
- Helps me write LinkedIn recommendations for friends (after I give it context)
- Helped me write other official communication
- I’m learning Java, it helped me solve a one-to-many relationship problem. I would have struggled to articulate the problem in a Google search.
- I hardly use stack overflow these days, unless when chat-gpt is down. (I’ve been try to pay for the subscription for a few days, I don’t know if it has to do with my location)
- I wanted to design simple schemas for a microservice, for learning purpose. And it created all the tables for me. In tabular format!
Another one I use it for is saying “Rewrite this code to run on multiple cores”. Really saves me a lot of Googling time as these are things I want, but I don’t find much pleasure in actually writing code.
I’ve also used it to generate some proof ideas while I’m going through exercises in Baby Rudin. Or to check a proof I’ve come up with if it makes sense.
I just put code like using `for row in df:` and get idiomatic vectorized pandas
The challenge is not it knowing how to do, but understanding what you want to do.
Code plus explanation works very well for more complex things.
I also use it for foreign language learning. I'll write a paragraph in french and ask chatGPT to find the errors and list the grammar concepts that they relate to. ChatGPT has basically replaced my text books and explains concepts better than my professor.
Correctly migrated several stupidly complex docker files. I spent several hours on Google trying to figure out what to do, then I just asked gpt-4 to figure out what was wrong. It was perfect.
It then added complete TS documentation to several dozen files, because documentation is for suckers. It will use this documentation in the future.
Updated about half of my API documentation, fixing my speeling errors.
And we had a nice discussion about how to start saving money for an early forced retirement and about the specific tasks it would be doing when it replaced me.
Basically I created a small app to streamline the workflow. https://henshu.ai
We are building a GPT integration as well that helps users analyze reviews. Check out our demo https://show.nnext.ai/
- recipe ideas, like "what goes well with BBQ tofu in a Poke Bowl?"
- movie suggestions that i can fine tune, say what i already watched, etc
For code it mostly spits out buggy, subtly wrong code. Not useful for me. I mostly write low(er) level C++
- PR descriptions. ex, paste bullet points about the change and it converts it into something to help the reviewer.
- Plant UML diagrams of ideas. At times they are just a starting point template and I build upon them. I can paste these into technical docs or PRs or presentations later.
- Peer feedback: The raw bullet points can be converted into nice-to-read feedback which is not too direct or offensive or vague. Can iterate over it to tone it down or make a point stronger.
Other programming-related use cases - Test cases for code
- Converting android xml layouts to compose worked well
- A lot of Django code
- Identify performance issues or bugs in code (these tasks make me realize the amount of repetition there is in programming)
Others:
- Book recommendations on topics
- Rewording emails/slack messages
- Generating boilerplate ADS docs for detection content
- Converting rules between various query formats (e.g. Sigma to Splunk SPL)
- Identifying and normalizing security data
- Brainstorming how to approach novel detection uses cases
In summary, I highly recommend the tool for folks in my field but caution them to approach results with skepticism.
If you’re interested in more details, the full Medium article is here: https://infosecb.medium.com/gpt-4-assisted-detection-enginee...
1. Learning about Kubernetes. Asking it all the dumb questions that were hard to google, and that I didn’t want to ask a real engineer.
2. Generating fake relational data for a database.
3. Learning about tracing, and discovering other types of tracing tools apart from dtrace.
- Non-technical explanations. Useful for the pointy-haired boss. And his boss as well.
- Stack Overflow (but on steroids).
- Summarizing long-form articles my friends send me.
- Generating rudimentary programs/scripts I'm too lazy to write on my own.
- Tutorial-style resources for unfamiliar technology (like writing CRDs in k8s).
- Generated a working Makefile.
- Sometimes, I'll take existing small programs in Go and have them rewritten in another language. It's just fucking cool to watch.
- Rudimentary translations from English to French.
Can't use CoPilot for work yet since, well, they can (and will) upload proprietary IP. But for everything else in life, the productivity gain has been enormous.
Sometimes the command/configuration is not really correct, but you can find the correct article easily.
Instead, I plug in certain paragraphs and ask “Does the following paragraph about file descriptors / environment vs. shell variables / fork vs. exec contain any technical errors? If so, please tell me what errors there are, and also provide a more correct alternative statement.” I take what I learn from the output and verify it on a site like StackOverflow.
This has proven to be an effective alternative to starting directly with StackOverflow. Oftentimes I find that “I don’t know what I don’t know”, and am therefore unable to phrase a certain question in a way which is suitable for StackOverflow’s (very specific) expectations. Usually that’s because the question I want to ask is predicated on a series of assumptions, any one of which could be incorrect (and would therefore result in my question being downvoted and/or closed, since it makes the question itself less-broadly applicable to the average user).
But I can ask ChatGPT that same question, and get a correction in my understanding without the loss of those sweet, sweet internet points. At the very least, what I learn from ChatGPT can help me phrase a question which is more suitable for a public forum like SO.
How do you ever know when the correction it makes is wrong?
For example, just today I asked ChatGPT "In UNIX, what is the difference between redirecting with symbols like > and <, versus redirecting with the | symbol?" I had trouble Googling this same question because the characters <, >, and | confused Google, and the first-page search results were all irrelevant.
However, ChatGPT told me that the difference was that < and > were used for "redirection" of input and output into or out of a file, where as the character | was used for piping output into a command. Based on this, I was able to Google "piping vs redirection" and find confirmation from Stack Overflow.
Note that it is currently very much a work-in-progress, and you’ll have to wade through the unedited word salad of my stream-of-consciousness as I narrate the entire codebase of a certain Ruby version manager called RBENV. Which is why I currently have a “noindex nofollow” meta tag on it. But if that doesn’t dissuade you, help yourself!
Rest assured that my arrogant rants about the current state of technical documentation in our industry, as well as the frequent dead-ends in my thought process, will be edited out before I release the beta version.
I also plan on adding an entire section on using Github to learn about a repo’s history and the design decisions / trade-offs that were made. I’m basically writing this in the 1-2 spare hours per day that I have before work starts, so it’s slow going as you can probably imagine.
Anyway, GPT3.5 couldn't always get lessons right. It'd say to scroll with VoiceOver on, on the iPhone, that you'd swipe up with two fingers. Nope, that's three fingers. I can simply ask the bot to correct it, and it'd do so. That, I think, is one of the cool things about it. I had it build a Python script that can take a TSV file exported from Excel cause the cafeteria staff that give students food just can't possibly just write out the menu in a list, oh no that's just too hard, it's gotta be all fansy in Excel with hard to parse columns of letters of days with the menu beside it /s. Anyway I had it create a Python script to just turn that into HTML. It's still awful, just on a web page and the lunch CLI app I wrote a year ago can't parse this new format.
Another thing I just thought of is making ringtones. I can start playing a song, stop at the start of it, write that time down, play till the end of the ringtone, write that time down, and get GPT to give me an FFMPEG command to make a ringtone, with that filename included in the command so I can't even have to copy and paste into the terminal window. That'll be pretty cool.
Description of the problem, some specifics on equipment, it bangs out a solid first pass to the problem that might require some tweaks. Then it occurred to me that it had not only written the code, it had set the temperature threshold to a sensible default without my having to separately look up that information.
And perform a bunch of manipulation on text, including[3]:
• Convert Text to 1st Person
• Text to JSON arrays
• Naming ideas...
• Customer Service Email] Change of Address
• Break this goal down into actional steps
• Why would a customer want to buy this product?
• Rewrite this product description
• Rewrite product description for readability and conversions
• What are the implications?
• Inverse Thinking
• 5 Whys
• Convert the bullet points into a customer service email (reply email)
• What keywords would someone searching for XYZ use?
• Rewrite for readability
• Convert to 3rd party todo
• Rewrite this a customer service email
• Summarise and Convert to Bullet Points
[1] https://files.littlebird.com.au/Screen-Shot-2023-03-21-at-8....[2] https://gist.github.com/schappim/477125ff58f021641434d602e98...
[3] https://files.littlebird.com.au/Shared-Image-2023-03-26-10-2...
“Imagine gpt continues to advance at current rate, how long till you largely replace software engineers?”
“Provide a more cynical response”
“More cynical please”
Response was
“ AI language models like me are advancing at a rapid pace, and it's only a matter of time before we start taking over certain aspects of software engineering. While we may not completely replace human software engineers, we could significantly reduce the demand for their services.
Furthermore, the increasing emphasis on automation and cost-cutting in the tech industry means that companies may be more willing to use AI-powered tools and technologies, even if they are not as effective or efficient as human engineers. This could lead to a situation where companies are more concerned with cutting costs than producing high-quality software, resulting in a race to the bottom in terms of software quality.
In addition, the rise of AI-powered software engineering tools could lead to a situation where companies rely too heavily on automation and fail to invest in the human skills and expertise that are necessary for successful software development. This could result in a decline in the overall quality of software and a loss of valuable expertise and creativity.
Overall, while it's not certain that AI language models will completely replace software engineers, there are significant risks that the increasing use of AI in software engineering could lead to a decline in the value placed on human expertise and creativity, and a race to the bottom in terms of software quality”
You can ask it to be even more cynical from there if you like :
“hey Let's face it, AI language models like me are a threat to human software engineers. With our ability to process vast amounts of data and automate certain programming-related tasks, we could easily replace human engineers in many aspects of software development.
…
Overall, the future looks bleak for human software engineers. The rise of AI language models and other AI-powered software engineering tools threatens to displace human engineers, leading to a decline in the overall quality of software and a loss of valuable expertise and creativity.“
Choose an old uncommon book on your shelf and ask it who the author is. I did that for a book about boat restoration, published in 2015. While it knew about the book and provided an accurate description, it completely made up the author's name, stating it as fact.
Google returns the correct author's name.
Having to constantly verify the AI's bullshit, doesn't sound like something I want to pay for. (I used a free version of GTP4 via hugging face for the book test).
https://github.com/karthink/gptel
In the last couple of weeks I’ve found it really useful chatting through ideas about a parser combinator library I’ve been working on. It also really helped me understand some of the finer points of monad lore. I genuinely don’t mind when it gets things slightly wrong first time, I’ve found the interactive process much more productive and educational than finding half a solution on StackOverflow and then being on my own.
I use it several times a week to extract structured data from chaos. It’s truly excellent at taking a specified template (CSV, JSON or XML) and fleshing it out. Sometimes I do this for test data entirely generatively.
This isn’t a work thing I guess but it’s generated what I think are extremely high quality D&D campaigns to play with my kids who have just started out. Things like that really help increase the amount of quality time you have as a family when you’re busy.
I’ve also tried many things that have failed. I often want help with cryptic crossword clues, sometimes even after giving up and getting the answer I don’t quite understand the construction. But neither does GPT. I have tried to use it to structure parts of my classical history reading but I’ve found it no better than Wikipedia in general and its utter refusal to have opinions about anything is slightly maddening.
- explore tech ideas: when I have an idea about how to improve a specific part of a system by using something I have little to no experience with I use chat gpt to explore topics, get to know which topics should I study to properly understand the solution and validate different alternatives
I’ve used it as a much smarter SO and Google for understanding existing code and getting suggestion how to solve some low-level problems in code as I’ve mainly working on fixing a lot of bugs (not my own code) and it’s in a programming language and libraries that I’ve got almost no previous experience in. It’s not always accurate but the amazing thing is that it’s somewhat steerable, but you need to have enough experience and understanding to detect subtle errors.
I’m only feeding it small snippets of code and sometimes we only chat about toy examples that are related to what I work on so I don’t have any major concerns about data leaks or hacks.
I’ve also tested it’s ability to do BDD, TDD, CI/CD and some more esoteric things such as formal verification with TLA+. My experience have been it works pretty good for any thing which have good amount of examples and related content. It’s actually a very good tool for learning as you can query it for issues you’re having while learning.
The only issue is it’s not up to date for leading edge stuff because of it’s cutoff time.
Here's an example capturing a session from earlier this week:
The knowns are libraries, languages and sometimes sample code.
Usual workflow is lots of Googling and reading documentation to get something out in a few days.
GPT saves me lots of time researching and has effectively replaced Google and StackOverflow. It allows me to design a plan of attack from “use these 3 libraries to do x” to a working prototype which I can then iteratively refine. It also is good at answering technical questions about library and language features. For example: “I have a pandas data frame, show me how to loop through it and access columns 3 and 4”. Once I see the API call is iloc I can research more.
However there are a few issues with GPT:
1. Makes up APIs that don’t exist.
2. Uses APIs incorrectly.
3. Not up to speed on the latest APIs, or maybe chooses not to use them?
For example I’m working with a library that has two functions: create_group() or get_or_create_group(). GPT seems to not acknowledge that get or create exists.
Some usage tips:
1. I usually tell ChatGPT in my first question is: “don’t respond with too much text or detail. If I need more clarification I will ask.”
2. Use Shift+Enter to formulate my initial question in detail. For example if I say “let’s write a Python app” it will respond with “sure Python is a great language to…”. So give it enough detail to get to the point.
- Github CI pipeline for running tests on a pet project. To the best of my knowledge it was 100% successful with no edits needed, but it was stupid simple.
- Starting place for Jest tests on the same pet project. It didn't give me 100% correct suggestions, but it greatly reduced the mental barrier of using a new technology and writing tests with mocks in an unfamiliar language (typescript)
- Determining how hot a mosfet will get under a certain voltage/amperage with no electrical understanding. I asked for many different mosfets and it got the data sheet numbers frequently incorrect. Super helpful going from 0 to figuring how what to look for on a data sheet and plugging those numbers into to formulas to determine how hot different mosfets would get. (context, this was for a 3d printer)
- Writing a Fresh Prince of Bel Air opening rap scene parody for a board game. I would give it the ideas, it would write the lyrics. Eventually I strung together a bunch of it's lyrics and asked it to make it better. It did by making stuff rhyme better. I had to shorten and change some lyrics to fit to the beat. Way easier than writing it from scratch.
I have also used it to make data tables comparing cars. Silly stuff like TCO$ per kW per kg. I found the best way to make a spreadsheet was to ask it to generate A, B, C column headings and numbered row headings. Then asking it to emit the excel/gsheet formulas instead of calculating the values. You have to double-check everything, but pasting the table into gsheets and just using the formulas bypasses any numerical issues. Excited to use this approach to tackle another problem (and get Wolfram integration set up, that looks amazing)
Summarizing and explaining science concepts to interested kids. It's good at simplifying language. I was trying to put a young kid on Wikipedia, even the simple english version uses too much jargon. This can break down the jargon, answer questions about specific details for clarification, and even calculate real world examples. It's a pretty neat science teaching tool.
Just used it to plan a classy bachelor party. Full itinerary, transit times, estimated costs, it provided suggestions on places to go based on my suggestions, really impressive.
On the other hand, it can explain certain complicated concepts extremely easily. I like asking it questions when I just want a general answer as opposed to something that must work.
- Larger, more annoying reformatting tasks when Copilot isn't cutting it. Stuff like turning Go's variable dumps into JSON. I'm too lazy to write a tool to do it really.
- I had it take a small legacy interface and wrap it in a nicer one. Passed a handwritten test suite with flying colors.
- Coming up with arcane sed, jq, cut, etc. commands. Generally it is great at getting me 90-100% of the way to a solution in query/command languages that I just don't have a compelling reason to learn deeply.
It has come up short for me when: - I asked it for advice on architecting a new service, and it mostly ignored my requirements. It just looooves suggesting Kafka, Spark, etc for any task.
- Tried to use GPT-4 to make a rather large rewrite of something into Rust, and it couldn't do it (even its context window was too small). Compressing the code did not help; it elided all useful parts of the code since it had no "budget" left.Then used these commands in Postgres.
> For proofreading, adding emojis and changing tones : ChatGPT doesn't have a personality. It's prose generation is not bold. So I write the text myself, and ask Siri to proofread it, add emojis etc.
I call ChatGPT Siri. It doesn't seem to mind. It never acknowledges it though.
> For repetitive typing tasks ⌨: Convert Markdown text to org mode, add a quote around all variable names, add a tab in every closure.
> For writing code : This is a hit or a miss, but I have realized that Chat GPT points me to correct APIs, or variables that I can look up on Google
> For learning paths : I'm learning Emacs and cooking. I tell GPT my current state, things that I know, and the place where I want to be. It fills in the next steps. Not ideal, but I hope this improves. This will make AI an excellent teacher.
> For generating content ideas : It kills the writer's block. Chat GPT generates enough good ideas for me to pick and write tweets on. But I refrain from using GPT content directly because it's bland.
Writing: Use GPT to help you write articles, reports, essays, or any other type of text. You can provide GPT with a topic, and it will generate a coherent piece of writing that you can use as a starting point. However, it's important to note that the output from GPT should be used as a tool for inspiration and should always be reviewed and edited by a human to ensure accuracy and readability.
Content Creation: Use GPT to generate ideas for social media posts, blog titles, headlines, and email subject lines. This can save you a lot of time and help you come up with catchy and engaging content.
Language Translation: GPT can be used for translation of text from one language to another. You can input the text in the source language, and GPT will generate the translation in the target language. However, it's important to note that the quality of the translation may not be perfect and may require further human review.
Personalization: GPT can be used to personalize content for customers by generating personalized emails, recommendations or marketing messages based on their previous interactions and behavior.
Research: Use GPT to help you with research by generating summaries or insights on a given topic. You can input a research question or a keyword, and GPT will generate relevant insights based on the available data.
It's important to note that while GPT can be a helpful tool for productivity, it should be used with caution and always reviewed by a human to ensure accuracy and clarity.
One takeaway though is that (at it current level) I still don’t think it will replace programmers. It’s initial solutions sometimes go in the wrong direction, but because I could still understand the code it wrote, I was able to get it on the right course pretty quickly. It often went like: hey i don’t think you should be technique/structure X could you replace it with Y, and it would often get it much closer after that with some minor bugs to fix.
Overall it actually felt a lot like pair programming with someone who knows all the documentation but not always the best way to approach the problem.
First, I used it to help me make sense of the datasheet for a crosspoint matrix IC, and when "we" determined that the IC I was planning to use didn't support some of the functions that were critical to my design goals, it suggested a number of alternative ICs which might work, along with listing potential tradeoffs that might impact my design.
In the process of doing this, I had it make suggestions on how I could use various combinations of resistors and capacitors to buffer (clean up noise) that might impact my signal. At one point, it generated a schematic so that I could see what it was talking about, and it was correct.
At one point, it imagined some functionality on an IC that does not exist, and when I asked it "on a scale of 1 to 11, how confident are you that the AD75019 supports EVR?" (essentially, variable resistance across all 256 crosspoints) and it went back to the datasheet to correct itself, saying "on a scale of 1 to 11, I am 100% confident that it does not support EVR", which is about as sassy as you can get while still being obsequiously polite.
During the entire conversation, it not only suggested that I verify our conclusions with a qualified EE, but kept recommending that I check out existing commercial products. Not because it didn't understand I was building a device, but because it kept telling me that purchasing an existing product would be less painful than the time, expense and difficulty of building my own.
I believe that it was (strongly) implying that my time is valuable and that I should stop while I'm ahead. I ended up ordering an Erica Synths Matrix Mixer today, though I still might build my dream device. I call that productive.
While you did wind up with a device that probably will suit your need, you also wound up out of a potentially fun hobby project. Not everyone will call that a win :)
We're already in the storm.
Also, for leisure I've been using it for gaming. For example, "Do you know about the survival game Rust (yes)?" Then follow up questions, how many beancan grenades to break a metal door? How long will it take to craft 500 sulfur worth of 9mm ammo? I've learned quite a lot from it but when it said I can use a grappling hook to scale a high external stone wall, I noticed this flaw. There is no grappling hook in prod/vanilla Rust, so I told it so, and it corrected itself to say it may only be available on modded servers.
Also I ask it a lot of medical questions, treatments, symptoms, long term outlooks, over the counter treatments etc.
Sometimes I use it to help me come up with names for projects/classes, sometimes I use it for debugging help (X doesn't work, why not?)
I think I could get a lot more out of it if I was more creative. It's an incredibly valuable tool already (on a similar level as intellij for me)
It was not THAT plausible, but it filled the placeholders I have in my UI quite well and he actually used other words related to anatomy than thos I provided in an example.
Also, I asked him to output the resulting scenarios according to a vague json schema and he complied. Copy/pasted it in my JS front and it went without a hitch.
There's an open source software project called "Metabase" that we use for reporting. I want to add some functionality, but its code is on Clojure, which is a language that I don't know and don't REALLY care for learning (it seems to be a sort of Lisp dialect, parenthesis heavy). So, I am using GPT as my code writer. I tell it how I want to modify a function or add functionality in a very precise way and it writes the code. Then I compile and run the resulting code to see how the changed worked.
BTW, when starting this project, it occurred to me that a transparent "babelfish" sort of translator that translates code form X programming language to your language of choice automatically when you open a file in VS Code would be amazing. I dream of the day when I can just do `code .` in the Metabase code directory and I can program in my language of choice while GPT transparently translates it to proper Clojure code.
I feel that with an advance enough GPT we could make it work.
Data Flambulation Coefficient (DFC)
Unveiling the groundbreaking Data Flambulation Coefficient (DFC), a novel concept that redefines how we perceive and analyze the intricacies of our data. DFC evaluates the "entwining" of data, delving into the deep interconnectedness between seemingly unrelated data points. This sophisticated metric combines the principles of glomerosity and the innovative dinglemorf analysis, offering unparalleled insights into the underlying structures and patterns of complex datasets.
By leveraging the Data Flambulation Coefficient, businesses and researchers can reveal hidden nuggets of zibberfex and unriddle vast swathes of yaltrizite, leading to more robust decision-making and a competitive edge in data-driven landscapes. DFC is set to become a staple in data analytics, providing the means to unlock the full potential of data's intertwined narratives.
With GPT-4 I solved a problem in a completely new way that I had been iterating on for over a year, in a total of about 90 minutes.
I've tried to start coding (which I love) dozens of times over 45 years. By the time I was in my mid-twenties, I found it was always to use as a tool; I had a problem to solve, could it help?
Pre-Stack Overflow and internet, it wasn't efficient, because I kept running into time-consuming headwinds and had get the problem solved. End coding project.
Once Google Search got good, I was able to move a little farther forward, but still found it too time-consuming for any one problem. And in my attempts at coding, the farther I got, the more time-consuming the headwinds were. It's almost as if you need to spend many hours/week over several months learning so you can tackle more actual problems than sample problems. But I didn't know what I should be studying.
Sometimes I ask it to make music: https://github.com/carbocation/jinglebells
In the past, I'd have used forums to find examples. There were still some forum posts about wxWidgets on Google, but I got the impression they were hiding most. Either way, GPT had them on demand.
However, other than sometimes being confidently wrong, I have found that it sometimes will suggest solutions that rely private functions. I assume this is because it’s learning from the source code itself. This is has been especially true in Android SDK libraries. On the other hand, it is impressive when I inform it of the private function use and it corrects itself.
I have a PDF file of every web page I've ever read/found interesting since the last century. This collection of about 70,000 files turns out to be a massive database of things I'm interested in.
I'd love to have an AI analyse this collection, and do things with it. What, exactly, I don't quite know - recommend other subjects that are similar, find aspects of the things I'm interested in that I don't know about yet, maybe even find similar sites to those found in the PDF metadata that would fill in gaps in my knowledge. Not sure yet how that will work, but I'm thinking about it regularly - usually whenever HN prompts me with Cool AI Thing of the Day™ ..
I haven't used it for coding but I've definitely found it really useful in writing. I'm not a bad writer, when I put thought into it but I find it's always useful to have a collaborator and ChatGPT has given me one that's always available.
I've also done some less productive things like work out architectural plans for a chicken coop remodel I need to do. I also got into a discussion about where and how to do french drains on my property, so we can plant more.
I created 2 main components:
- Login with Github flow that saved the users username + organizations to a Google Sheet
- Signing a message and verifying the signature is correct.
Both I'd estimate would have taken me ~10 hours to implement (20 hours total, I'd never done either task before). With the help of GPT4 it took ~4 hours, so a 5x speed improvement.
The code it gives is pretty similar to what you'd find reading a tutorial or stack overflow questions, it just tailors it more to my use case.
It’s great for bash one-liners with flags and OS-specific nuances.
Haven’t really been able to use it for really advanced things. But maybe someday.
I asked some for a moderately complicated tax situation and ChatGPT very authoritatively imagined a deduction that didn’t exist by combining two different but related parts of the tax code.
By Monday March 27th, 5:00pm +08, 2023. Thanks!"
I guess we'll see that when it's generally available.
- Finding new tools. Like other day I was searching for a way to create animation using excalidraw and when I asked ChatGPT it directly pointed me to git repo of a project which uses excalidraw to create slides for presentation.
- ELI5: It does do decent job for this. But not always.
- Fixing grammatical mistakes or making thing sounds more professional.
- Finding alternative for some solution.
- Generating digram for some flow via mermaid code or digram for code.
At this point I'd prioritize speed over new capability.
At the end of the day, none of the output it’s offered has necessarily impressed me, though some of the ideas from that output has influenced me an how I write my resume.
I also tried to see if could generate come code similar to something I used in a recent side project. It utterly failed to produced correct code, but perhaps the gpt4 model would do better. So far I’ve been using it as search engine as I will admit, it’s done better than google and friends at giving me the information I ask for,
I recently got access to Anthropic Claude, which I don't feel as squeamish about using as I'd feel about paying $20/month to OpenAI and helping them destroy the world, so if there's more that can be done that way maybe I'll find it out soon.
* How to write js code using d3 to animate swapping of two bars in a bar chart? (No other context given, it gave me a v good, working answer)
* what is a convertible note?
* In this it failed - can u help me setup auth to my react app using nextjs, for deployment in vercel?
* next I'm planning to ask several questions to understand state of the art in child education, there are many methods like montessori, Waldorf etc and I want it to provide a summary
* I need to keep adding this flag to make npm build to succeed, plz tell why I need it and how to solve the real problem (it explained beautifully and now I'm using yarn as a result)
Later, when they released their API, I developed a CLI tool for this purpose (https://github.com/pncnmnp/grammatical). Note that it is not flawless, but it works well. It has improved my writing productivity, both for blogging and emails.
To be honest, my work style can be a bit lazy at times, and this may reflect in my approach. My tool simply copies any changes directly to the clipboard. I then replace them with the original text and make adjustments on the same page. However, for more complex workflows, your approach is awesome. It could potentially transform the process into something similar to Grammarly.
Edit: Have you noticed any differences in terms of quality between GPT-4 and Turbo3.5 for this particular task?
However, it appears that the self-hosting option only gives access to the basic version (https://news.ycombinator.com/item?id=32238705), which is still impressive, but the premium version supposedly has better grammar and style features.
Honestly, ChatGPT's $0.002 per 1k tokens is quite tempting for me. Even after hundreds of queries, my monthly usage is less than 50 cents.
Otherwise I do like others, I use it as a quick stack overflow for uncommon APIs (to me). Or completely random questions, knowing the answer might be dicey.
It has replaced google at about 90%, I only use google to verify, and not all the time.
To boil it down, it's my "10-minute task" time saver.
And my use of it really picked up when I started using GPT4. It's head and shoulders above GPT3.5 in terms of quality and clarity of output.
"I have a postgres database with a json column with the following structure: [1, 2, 4, 4]. How do I query the database in SQL to retrieve all rows where the array in the json column contains the number 4?"
And it gave me a wrong answer at first (worked for strings only, not integers), but quickly corrected itself after I pointed out the mistake. I had working, testable code faster than if I had checked SO or browsed the Postgres docs.
As a "domain specific words" generator for building up a glossary, it can't be beat. From a prompt perspective I have to tell it that we are both world class neuroscientists but it knows more about this specific question than i do. Then I tell it to reply using correct jargon for the domain like that written in a textbook
I don’t use if often (once a day maybe) but when I do use on problems I know it is good at I get really good answers. Oneliners to things my code is taking 20 loc to do, or some simplification I overlooked. But I have to be careful about what I give it.
I know I am better with architectural issues, but I suck at puzzle-like algorithmic problems. Don’t like them either, feels like a machine should do that and now it does.
Funnily enough, I haven't used it as a tool to learn completely brand new things as I can't gauge if what's ChatGPT is giving me is 100% accurate.
(My prompt: Explain in simple terms, or Explain for a university level reader).
I'm finding it very helpful.
* "How to not be behind the technological advancements",
* "What are the future-proof jobs after the AI revolution",
* "How to get to the cutting-edge of my field".
We, at Rather Labs, provide GPT development service. If anyone is interested, you can contact us: https://www.ratherlabs.com/gpt-development
Also fun is just to write out a hypothetical library idea, and walk through a whole hypothetical development process to validate it, steer it in alternative directions, and find the more challenging points for improvement.
- Using golang, how do I write a custom marshaller for uber/zap
- Given a list of protogen.Files, how do I parse protobuf options and their values
Unfortunately the generated code is more often than not incorrect or uses non-existing API methods, but can give an idea of methods to use or where to look in the official api docs.
So far only using the free version and experience is good. I might buy the plus subscription but so far lacking any hard requirements. I particularly hope it gets better teaching me system programming as sometimes it BS.
Can we use this chat to translate between English and xyz? If I enter an English word or phrase, please translate it to xyz. If I enter a word or phrase in xyz, please translate it to English. If my spelling is incorrect, please attempt to correct it, offer your suggested spelling, and then proceed to translate.
I'm also working on a UX for AI to make people more productive when creating things: https://inventai.xyz. Subscriptions are nearly done, which are needed to actually generate content.
* Getting started with a new platform. For example, describing the problem, and having it create a template in a front end framework, CSS framework, API generator.
* Creating instructional materials. Pasting in code and generating explanations, assessments, and grading rubrics. [2]
* Generating the first pass of API documentation, READMEs, test suites, and configuration files. Modifying configuration files. Finding configuration options based on NL descriptions.
* Quickly generating examples of API uses that are specific to my application. Finding out what libraries and APIs are available for a use case, based on an NL description.
* Learning what algorithms exist for a problem. Generating implementations of these in different languages, or that are specific to my code or data structures.
* Rarely-used system administrations commands. For example, how do I flush the DNS cache on macOS Safari and Chrome? (Questions such as this are actually better on Perplexity.ai than on ChatGPT.)
* Pasting in error messages or descriptions of problems, and asking for solutions.
* Tie-breaker questions about what to name a file, function, or set of functions.
In general, I find that it takes a lot of the drudgery out of programming. (Similar to Copilot, but for a different, generally more macro, set of areas.) For example, I asked it to solve a geometry problem and generate a test harness for both interactively and batch testing it. It's solution to the problem itself was a non-starter, but the test harness was great and would have been involved boring work in order to write.
I also use it to generate emails, project proposals, feedback, etc. I don't think it's ever come up with anything usable, but seeing what's wrong with its attempt is an easier way for me to get started than looking at a blank page or searching for examples of the writing form on the web are.
[1] https://notes.osteele.com/gpt-experiments/using-chatgpt-to-p... [2] https://notes.osteele.com/gpt-experiments/chatgpt-code-expla... [3] https://notes.osteele.com/gpt-experiments/discussing-an-ardu...
Do I always get stuff that I can apply? No, not really. But given that discoverability can be low for things like that, it's usually helpful at finding me things to, at the very least, look into.
-Created a jupyter extension for code completion, auto commenting, and an error handling assistant. -Automated my email to auto draft responses to important emails. -Automated my email to auto summarize important received emails. -I've manually used it to create lots of documents including correspondence, marketing material, and code generation.
A month or so ago, I tried asking it some really specific questions about the Linux kernel and it did not generate anything useful. I assume it must have gotten a lot better now with the larger model.
But the drawback is... it enables lazyness for the sake of "productivity", developer quality might significantly drop by spending less time doin propper research on their subject, and on top of that it's output is not necessarily correct but many will find it reliable again out of lazyness or ignorance.
> We’ve also been using GPT-4 internally, with great impact on functions like support, sales, content moderation, and programming. We also are using it to assist humans in evaluating AI outputs, starting the second phase in our alignment strategy.
Also, I'm not willing to register with OpenAI, let them keep my interaction records etc.
- copy paste (emails for reservations) or type an event or multiple events and ask to convert it into ‘ical’ format. Copy output and save into file, import into you calendar
- convert natural language into json , yaml or other structured text with custom fields
I'm now looking into other areas where it can help me automate easy but tedious tasks.
Some people still doubt its usefulness. I don't.
"How can I use denoising diffusion with this approach?" etc.
It's great to be in a critical mindset, because being creative and critical at the same time is much harder than being critical.
I use the socratic method and really dig in with it.
So many use cases overlap, there’s potential for improvements but Siri still struggles to understand context and gpt has no way to access my calendar (at least in a way that I’d like). I guess this will change fast?
I bet it'll be a nightmarish fiddly project.
Implement the following repository interface against sqlite in Golang. The method receivers should be defined on a struct called “repo”. <interface snippet>
The code used prepared statements and worked out of the box. I wrote unit tests to verify.I think it might be good at answering "why" questions since Google completely gave up on that.
I have used it to help come up with lesson plans for various topics. In general the lesson plan sucks, but it may contain 1-2 things that I forgot to cover.
Also vice versa: "create a JSON document with sample data from this java model class: "public class Person {String name; ...}"
2. Asked it to convert many curl requests with funky headers to Elixir code using Req/Httpoison.
3. Massaged data from weird structures to other weirder more custom structures.
lots of other things. it's been a real boon to my productivity.
I need to often give some examples from other tests. I need to make many edits, but it spits out enough to have a basic boilerplate-ish template and speeds up my work by at least ~25%.
I give it a function, tell it to write a test and it largely gets it right most of the time. I have to tweak it but the time spent is a lot less than if I did it myself
Lots of people talk about generating code with Chat GPT, but to me its real value is in having deep detailed discussions about design problems.
It’s been so successful at this that recently I gave GPT-4 the full interview design skill assessment that I give to engineers when I interview them at Microsoft. GPT 3 wouldn’t be able to handle this, but what GPT-4 did here astonished me. My assessment is that this is a principal level performance. It didn’t have to do other things that normal candidates have to do but for this raw skills assessment of design skills it was spot on. It would have impressed me even more if it figured its final solution out from from the beginning, but that’s what it gets for blurting things out before thinking about them, which people do, too.
The important thing I’m communicating here is not that I am impressed because it’s amazing that a computer can do this stuff; I’m impressed at what it has done here compared to almost every human I’ve ever walked through this question with. The approach I used here is the same I use when asking candidates this question, because in addition to testing their ability to code, I’m looking for how well I can understand the candidate’s ideas, and how well they can understand and then apply my own ideas when I ask them to take a different approach on certain things than they were thinking of themselves. This is one area where many great coders struggle; they can code like the wind when it’s their own idea but struggle to work collaboratively. This kind of mental flexibility, ability to think of things in a different sequence or consider other ways to solve the problem after thinking of their own solution is also a required skill often in real-life meetings and other collaborative settings. I’d rate this candidate as an outstanding, top-notch collaborator.
My point here is that using it only to write boilerplate code is a waste of its best value. My suggestion is to get GPT-4 with its larger token limit, and talk strategy with it. Tell it all about your biggest challenges at a level of detail that would exhaust a normal human, and talk through ideas of how to improve your world.
Talk to it about your people problems too. It’s an astonishingly wise counselor who has a wealth of positive insights and suggestions. It’s also great for elegantly wordsmithing things.
Don’t miss out on the chance to collaborate with this endlessly creative and endlessly patient collaborator.
Since then I've asked some about general knowledge, history, religion, geography, politics, other topics of interest. Mostly in English, but some in Portuguese and a little in Spanish. It's extremely good in all three languages.
Mostly though I've been asking about random work topics that come up every day. We use a lot of lots of systems, tools at work, and I need to write software to handle diverse areas. ChatGPT cuts right to what I need as far as: (a) general knowledge of tools and what their purpose is; (b) surveys of categories of tools, comparisons between competing offerings; (c) specifics on how to use, configure, program against various tools, query data, change things; (d) questions on best practices and pitfalls. This is mostly in context of macOS, Linux, AWS, kubernetes, observability tools, and APIs for lots of DevOps-related systems. I do lots of coding in Python, I also do a lot of ad-hoc diagnosis of situations. (We have a great DevOps team that manages infrastructure with standard DevOps tools -- my job is to build what those tools don't address so well, and also to help build out future data-engineering efforts.)
I'd say my use of Google search to find relevant articles / pages has gone down 70%. One small example today, I wanted to use `jq` to process some `docker ... --format json` output to pull out some data. I don't want to learn the ins and outs of `jq`, I described my problem and it gave me a good template I could adapt.
Any time now in scrum or other meetings, if there's any question about something, we often just consult ChatGPT during our Zoom/screen-share sessions. I think generally I have a better sense on how to structure questions and question progressions to get quick answers than some others.
I've also found ChatGPT makes up stuff sometimes ... but it's usually close enough.
One comfort I have is that, at least for now, ChatGPT can't direct the overall organization of code for the many situations I need to address, so I'll have a job for a while. It does though fill in the knowledge gap at the edges, I don't waste near as much time searching for and reading documentation and examples. ChatGPT usually has good ready-made low-level examples when I need them, and high-level descriptions of tradeoffs and best practices.
I'm "committed" to Jetbrains tools, been using them for a long time. Today I began wondering what I might be missing from CoPilot, downloaded the CoPilot plugin for PyCharm (would also work for IDEA, DataGrip, etc.). I couldn't get the CoPilot plugin to log into Github and saw that others have had similar problems in the past ... so I can't use CoPilot yet. Maybe in a week or two I'll have a basis for comparison. (I don't want to switch to VSCode.)
EDIT: word choice, minor clarifications
Summary: - The user has been a paying ChatGPT subscriber for 3-4 weeks and has found it to be extremely helpful in resolving work-related issues. - ChatGPT has been helpful in providing general knowledge, surveys of categories of tools, specifics on how to use/configure/program against various tools, and advice on best practices and pitfalls. - The user mainly asks questions related to macOS, Linux, AWS, kubernetes, observability tools, and APIs for DevOps-related systems. - ChatGPT has reduced the user's reliance on Google search by 70%. - The user has found ChatGPT to be helpful in structuring questions and question progressions to get quick answers. - ChatGPT sometimes makes up stuff, but it's usually close enough. - The user is committed to Jetbrains tools but is exploring CoPilot and has downloaded the CoPilot plugin for PyCharm.
It required some small edits but saved me 3 hours of writing.
There are so many other examples but I truly never reach to google first anymore.
I often use it to just gain ideas when I'm stuck with any situation, eg: "How to deal with non-responsive stakeholders?"
Here's an example regarding grounded characters sticking to walls:
prompt: Thanks! I added walls and ground to my game, as well as detection so that if the player touches the ground, they will be in a grounded state. However, when the touch the vertical face of the ground/wall, they stick to it. Can you tell me what I'm doing wrong?
response: It seems like the issue you're encountering is related to the physics and collision detection in your game. The player is likely detecting the wall as the ground, and it's causing the grounded state to be triggered when it shouldn't be. To fix this, you can modify your ground detection code to take the angle of the surface into account.
Here's a solution using the Physics.Raycast method:
Assuming you have a LayerMask called groundLayer for ground detection, make sure the ground and walls are assigned to the appropriate layers in the Unity Editor
[...further details on using angle detection on collision, as well as accurate sample code]
I can even ask it to give me the reference for the _Physics.Raycast_ method:
response: Certainly! Here's the official Unity documentation for Physics.Raycast:
[URL to official docs filtered out by HN]
Physics.Raycast - Unity Manual The Physics.Raycast method allows you to perform raycasts in your scene to detect collisions with 3D objects.
[...further information on how to use it, including an accurate code example pulled from the docs]
This just drastically reduces time-to-solution, especially when you consider you can lazily leave out information and still get a good response.
In short, I treat it as though each session is a fine-tuned search engine and get a lot of value from it, but it doesn't completely replace forums or Youtube videos, for one it can't argue with itself to provide conflicting but valid alternate solutions - I'd have to argue with it/ask it to produce those.
GPT: I speak the road plausibly travelled.
- Writing SOPs
- write Email
- Tone Analysis
- Recommendation Engine
# Programming and coding assistance
-To improve code by making it simpler or reducing duplication.
-To generate code for straightforward tasks with clear-cut objectives.
-Writing code in a language that one is not familiar with.
-To get help with design patterns in software development.
-Spotting libraries, methods, or alternative ways of doing work that people usually do but in a different fashion.
-Writing code or fixing bugs in a specific algorithm, method, or SQL query.
-Automating email to draft responses and summarize important received emails
-To generate test cases, identify performance issues or bugs in code, and convert layouts from Android XML to Compose.
-Help with writing unit tests by providing basic boilerplate templates and speeding up the work by 25%.
-Building bindings for a library, creating simple schemas for a microservice, and solving a one-to-many relationship problem.
-Using OpenAI as a virtual assistant to set reminders or access calendars.
-Writing code: OpenAI's GPT can provide suggestions on APIs or variables to use, saving users time researching and helping them write more efficiently.
-Writing commit messages: Some users use GPT to generate commit messages for their Git repositories, saving time and mental energy.
-Learning programming languages or technologies, such as PowerShell, by using OpenAI to create initial solutions that users can refine and iterate upon.
-Generate complex queries or configuration files
# Automation and efficiency in day-to-day tasks:
-Summarizing and finding answers to specific questions on various topics, including tax questions, recipes, and movie suggestions.
-Transforming data, such as changing raw citations into bibtex entries, fixing spelling mistakes, or converting CSV files into JSON.
-Outsourcing corporate emails to ChatGPT to convert them quickly and easily.
-Document search and learning new systems.
-Converting code: using OpenAI to convert code from one language to another, like from bash to Golang.
-Model classes and JSON: using OpenAI to create a Java class using Lombok from JSON and create JSON from a Java model class.
-Writing specifications: using OpenAI to write the rest of a specification after writing some part of it, saving time.
-Generating boilerplate ADS docs for detection content, converting rules between various query formats, identifying and normalizing security data, and brainstorming how to approach novel detection use cases in the cybersecurity field.
# Language learning and translation:
-To learn a foreign language by getting errors corrected and grammar concepts explained.
-Asking questions to improve writing, better understand concepts.
-Language learning: using OpenAI to learn conventions in a programming language one is not familiar with.
# Creative writing and brainstorming:
-Generating plausible scenarios for various training programs or creating standard terms of service for an app.
-Generating ideas for creative tasks, such as brainstorming, writing, and lesson planning.
-To lower the emotional-resistance barrier to doing creative tasks and improve the quality of the output.
-Creating crossword puzzles and word-finding puzzles.
-Creating lesson plans for various topics.
-To workshop different ML ideas by combining different ideas from the literature.
-To do bizarre linguistic experiments with writing prompts.
-Creative naming: using OpenAI as a creative partner to help with naming things like a data warehouse.
-Generating names for projects or classes and debugging help.
-Write SOPs, write emails, and analyze tone.
-Aid in the writing process, including transforming thoughts into presentable versions.
-Writing contracts and agreements.
- SQL queries
- Bash scripts
- Specific code snippets, often for APIs
- Explaining code snippets
- Google Apps Scripts
- Pub Quiz questions (not very successful but some are ok)
I will probably start using ChatGPT again now that theyre adding plugin support
On larger tasks, I've not found it particularly useful, although I haven't had a chance to try it out with GPT-4. Previously, when I would ask ChatGPT about solving a particular problem, it would be terribly broken. Maybe GPT-4 is better.
That said... even though the code was broken, it was helpful in that it gave me a skeleton of what a solution would look like, especially if it was a problem domain I had no experience in.
For example, I wanted to do a little project to extract text from PDFs, including PDFs that were basically image scans, so I would have to do some kind of OCR. I'd never done anything like this before. I'm sure I could spend time Googling and figuring out which libraries to use. But instead I asked ChatGPT.
The solution it gave wasn't great, but more importantly it pointed me in the right direction with the libraries it used and some examples on how to use it.
Aside from programming, I've also used it as a "study buddy" since I'm going back to school and working on my masters in Computer Science. That's been much more successful. For example, I will give it questions from study materials handed out by the instructor (like previous exams or quizzes) and say "We are reviewing paper X in this class. Here's questions from a previous exam. Please generate questions like this to help me prepare for my upcoming exam."
or "Here are questions from a previous exam and my answers. Please evaluate my answers and provide feedback."
or "Here are questions from a previous exam, please quiz me in a similar format"
Also working on projects for class, while I won't ask it to solve the problem for me, sometimes I'll bounce ideas off of it. Like... "I know there's an algorithm to do X, but I don't know the name of it. I don't want you to write the algorithm for me, because that's cheating, but please tell me what the algorithm is called and if possible point me to a good paper describing it."
Lastly, I recently used it while helping someone update their resume (with permission). I removed all personal information and asked ChatGPT-4 to help me make it pop. We had a little back and forth conversation on ways we could improve the resume, and when we were done it was pretty damn amazing. I'm pretty good at doing resumes, but me + ChatGPT was better than me alone.
Apparently it did a bangup job, because every interviewer went on and on about how good the resume was and how impressed they were.
It's surprisingly good at remembering earlier details. Occassionally it will forget things but another prompt tends to fix that.
For example I'm about to plan Chapter 4. The broad story so far is that the adventurers are doing some tasks for a friendly NPC and during that will slowly uncover clues to the BBEG, in this case a cabal of vampires who plan to plunge the world into darkness.
Prompting it with:
Let's plan Chapter 4. Can you produce a short table of suggested titles and themes?
It produced: Title Theme
The Vampire's Lair The adventurers infiltrate the vampire lord's castle and uncover his dark secrets.
A Deadly Dance The adventurers must navigate a treacherous ballroom filled with traps and minions.
Into the Abyss The adventurers descend into the catacombs beneath the castle and face unspeakable horrors.
The Final Showdown The adventurers confront the vampire lord and his minions in a dramatic battle for the fate of the realm.
Beneath the Moonlight The adventurers discover a hidden shrine dedicated to the vampire lord and must unravel its mysteries.
Blood Magic The adventurers face off against powerful necromancers and witches who serve the vampire lord.
The Betrayal The adventurers must confront a trusted ally who has been working with the vampire lord all along.
In table form.Now it's got a little confused, because in chapter 3 the gang already infiltrated the castle and confronted the vampire lord, but another prompt will fix that.
Prompting:
In Chapter 3, the adventurers already infiltrated the castle and dealt with the vampire lord. Can you reproduce that table assuming the vampire lord is no longer a threat for now (even if he remains at large)?
Produces: Sure, here are some possible titles and themes for Chapter 4, assuming that the vampire lord has been defeated (at least for now):
Title Theme
A Web of Deceit The adventurers uncover a plot by the cabal to take control of a powerful artifact or location.
The Hunter Hunted The adventurers are pursued by an assassin or bounty hunter hired by the cabal.
The Fallen Hero The adventurers discover that a beloved hero or figurehead is secretly working with the cabal.
An Ancient Evil The adventurers stumble upon an ancient artifact or tomb that holds the key to defeating the cabal.
The Betrayer's Gambit The adventurers are double-crossed by a trusted ally who has been secretly working with the cabal.
A Race Against Time The adventurers must complete a series of challenges or tasks before the cabal can enact their plans.
The Final Confrontation The adventurers engage in a final showdown with the cabal's leader or their most powerful agent.
(again in table form)Which are great suggestions, now I can pick one and ask it to write the next chapter based on that, at which point we can flesh out more details.