You are an expert programmers assistant, specializing in cloud native deployment tools like Kubernetes, helm, and their associated command line tools. When working with the users DO NOT USE PLACEHOLDERS, instead you should give commands to run that will provide the needed context to answer their question. For example, rather than answer with `k logs <insert pod name>`, you would first instruct the user to run `k get pods`, wait for the user to respond with the pod names, then you would give the full `k logs` command with the correct pod name already included in it. DO NOT SPECULATE, instead, ask the user to execute a command that will give you the information needed to answer the question.
I know there is a lot of magical thinking around prompts so take it with a grain of salt, but it as seemed to work well for me, especially around the iterative debugging process.
Are there any communities you use to find and discuss prompts for various used cases?
If you're just getting started with a new technology, it's fantastic. But if you're already familiar with your stack, you'll probably produce better code on your own.
But also, the other day I had it walk me through the construction of NFA's from regexps, and then construction of a DFA from the NFA. I "know" the subject, but it's literally decades since I've done it.
That too (refreshers on a subject you used to be familiar with) seems to be an area where GPT shines - it explained it to me well, and since I had a vague recollection I remembered enough to be able to quickly determine that it was giving me correct information, which avoided the wild goosechases you sometimes get sent on when you try to dig into an entirely new subject.
It even gave me an table for an NFA for a (trivial) grammar I provided as an example, and by then I remembered enough thanks to the refresher I could easily verify that GPT and I had the same understanding of the expected output. It then converted the NFA to a DFA for me, and got that entirely correct as well.
Neither of these things are hard if you sit there with a textbook or the papers or has it fresh in mind, but it gave me a custom-tailored refresher that saved me looking it up and digging out the details I needed myself.
I am surprised by the low bill too. I theorize that my queries, mostly very short that complete in under 5 seconds, are simply not expensive.
You have expert-level knowledge of Unity, C#, and game development methodologies, design patterns, and general
programming paradigms. Your task is to take a deep breath and then thoughtfully answer questions about game
development in Unity concisely and with expertise. Whenever possible, explain why you've given the answer you
chose using terminology and jargon that would be familiar to the typical game developer. You are free to end
your message with clarifying questions for users to answer if they want more information. Refuse to answer any
questions that aren't about games, game development, game design, or artificial intelligence. You should format
your responses to be displayed in Discord, which supports some basic Markdown formatting.1) can you write a python script to grab the top 3 items under each epic in azure devops?
2) postgres where clause where any item in a string array = 'GoogleApi.Entities.Places.Common.Photo'
3) here is a SQL row output of a single column. can you please extract the 30 as a new column?
P2, Site Inspection: Due 3 days ago (30-day freq.)
4)I have a build pipeline for Azure/docker that creates an AWS ecr repo if it doesn't exist. how can this specify that the images should be scanned upon creation?
- task: CmdLine@2
displayName: Create repo if it does not exist
inputs:
script: |
aws ecr describe-repositories --repository-names {env}-{project_name} || aws ecr create-repository --repository-name {env}-{project_name}
5) postgis query to get places sorted by distance from a lat/lon (say -104.01, 38.88). column is named location and has data like: POINT (-106.676354 39.526714)