Skip to content

Instantly share code, notes, and snippets.

@pcarolan
Last active June 15, 2023 18:00
Show Gist options
  • Save pcarolan/64ca3543bf83e4be7320b8544df30639 to your computer and use it in GitHub Desktop.
Save pcarolan/64ca3543bf83e4be7320b8544df30639 to your computer and use it in GitHub Desktop.

Revisions

  1. pcarolan revised this gist Jun 15, 2023. 1 changed file with 5 additions and 4 deletions.
    9 changes: 5 additions & 4 deletions Ai Driven Development.md
    Original file line number Diff line number Diff line change
    @@ -32,10 +32,11 @@
    ## Live Coding
    1. Given this API spec, help me implement an api client that performs a healthcheck in ruby 3.2: https://connect.hipcamp.com
    1. Great! Now let's make it a ruby class
    1. Write unit tests for my code in rspec
    1. Use ruby structs to define types and provide a stronger data contract
    1. Extend the class
    1. Make it great
    2. Add comments that explain what the code is doing
    3. Write unit tests for my code in rspec
    4. Use ruby structs to define types and provide a stronger data contract
    5. Extend the class
    6. Make it great

    ## Principles
    - An Ai won't replace you, someone with an Ai will.
  2. pcarolan revised this gist Jun 15, 2023. 1 changed file with 7 additions and 6 deletions.
    13 changes: 7 additions & 6 deletions Ai Driven Development.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # Ai Driven Development
    # 🤖 Ai Driven Development

    ## Setup
    1. [Signup for Copilot classic for $10 per month.](https://github.com/features/copilot)
    @@ -15,12 +15,12 @@

    ## Techniques

    1. ✏ Autocompleting your code
    1. ✏ Autocompleting your code (intellisense on steriod)
    1. 📝 Comment defined methods
    1. 🏷 Comment defined classes
    1. ✖️ Data transformation
    1. 🦆 Rubber ducking
    1. ↔ Translation
    1.i18n Translation
    1. 🧪 Writing tests
    1. 🤥 Creating fixtures/mocking data
    1. [🔡 Writing regular expressions](https://github.blog/2022-09-14-8-things-you-didnt-know-you-could-do-with-github-copilot/#4-matching-patterns-with-regular-expressions)
    @@ -38,10 +38,11 @@
    1. Make it great

    ## Principles
    - Conversation is the new language of programming.
    - An Ai won't replace you, someone with an Ai will.
    - We are paid to think and solve problems not to write code.
    - Conversation is the new Javascript.
    - 🪄 Build your lightsaber.
    - [Langchain](https://python.langchain.com/en/latest/index.html)
    - [ReplIT](https://replit.com/)
    - An Ai won't replace you, someone with an Ai will.
    - [Be optimistic, be brave, make something new...](https://www.instagram.com/reel/CsDavoQtjWj/?igshid=MTc4MmM1YmI2Ng%3D%3D)
    - [CoPilot](#)
    - [Augment yourself, be optimistic, be brave, make something new and great...](https://www.instagram.com/reel/CsDavoQtjWj/?igshid=MTc4MmM1YmI2Ng%3D%3D)
  3. pcarolan revised this gist Jun 15, 2023. 1 changed file with 4 additions and 5 deletions.
    9 changes: 4 additions & 5 deletions Ai Driven Development.md
    Original file line number Diff line number Diff line change
    @@ -3,12 +3,12 @@
    ## Setup
    1. [Signup for Copilot classic for $10 per month.](https://github.com/features/copilot)
    1. [Join one of the 4 copilot-X waitlists](https://github.com/features/preview/copilot-x)
    - [Copilot Chat](https://github.com/github-copilot/1.hat_waitlist_signup/join)
    - [Copilot for Docs](https://githubnext.com/projects/1.opilot-for-docs)
    - [Copilot for Pull Requests](https://githubnext.com/1.rojects/copilot-for-pull-requests)
    - [Copilot Chat](https://github.com/github-copilot/chat_waitlist_signup/join)
    - [Copilot for Docs](https://githubnext.com/projects/copilot-for-docs)
    - [Copilot for Pull Requests](https://githubnext.com/projects/copilot-for-pull-requests)
    - [Copilot for CLI](https://githubnext.com/projects/copilot-cli)

    ## The hype
    ## The Hype
    1. [It'll take over the world.](https://en.wikipedia.org/wiki/Her_(film))
    1. [Don't bother learning how to code](https://www.nytimes.com/2023/06/02/opinion/ai-coding.html)
    1. [It'll make you 50% more productive.](https://github.blog/2022-09-07-research-quantifying-github-copilots-impact-on-developer-productivity-and-happiness/)
    @@ -29,7 +29,6 @@
    1. 📝 Adding comments
    1. 🧑‍⚖ PR reviews


    ## Live Coding
    1. Given this API spec, help me implement an api client that performs a healthcheck in ruby 3.2: https://connect.hipcamp.com
    1. Great! Now let's make it a ruby class
  4. pcarolan revised this gist Jun 15, 2023. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions Ai Driven Development.md
    Original file line number Diff line number Diff line change
    @@ -18,16 +18,16 @@
    1. ✏ Autocompleting your code
    1. 📝 Comment defined methods
    1. 🏷 Comment defined classes
    1. ✖️ [Data transformation](https://files.slack.com/files-pri/T0299KRSV-F05CT87Q004/image.png)
    1. ✖️ Data transformation
    1. 🦆 Rubber ducking
    1. ↔ Translation
    1. 🧪 Writing tests
    1. 🤥 Creating fixtures/mocking data
    1. [🔡 Writing regular expressions](https://github.blog/2022-09-14-8-things-you-didnt-know-you-could-do-with-github-copilot/#4-matching-patterns-with-regular-expressions)
    1. 👩🏼‍🏫 Explaining code
    1. ✍🏽 Clarifying your writing
    1. Adding comments
    1. PR reviews
    1. 📝 Adding comments
    1. 🧑‍⚖ PR reviews


    ## Live Coding
    @@ -45,4 +45,4 @@
    - [Langchain](https://python.langchain.com/en/latest/index.html)
    - [ReplIT](https://replit.com/)
    - An Ai won't replace you, someone with an Ai will.
    - [Be optimistic, make something new...](https://www.instagram.com/reel/CsDavoQtjWj/?igshid=MTc4MmM1YmI2Ng%3D%3D)
    - [Be optimistic, be brave, make something new...](https://www.instagram.com/reel/CsDavoQtjWj/?igshid=MTc4MmM1YmI2Ng%3D%3D)
  5. pcarolan revised this gist Jun 15, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Ai Driven Development.md
    Original file line number Diff line number Diff line change
    @@ -18,7 +18,7 @@
    1. ✏ Autocompleting your code
    1. 📝 Comment defined methods
    1. 🏷 Comment defined classes
    1. ✖️ Data transformation
    1. ✖️ [Data transformation](https://files.slack.com/files-pri/T0299KRSV-F05CT87Q004/image.png)
    1. 🦆 Rubber ducking
    1. ↔ Translation
    1. 🧪 Writing tests
  6. pcarolan revised this gist Jun 15, 2023. 1 changed file with 6 additions and 4 deletions.
    10 changes: 6 additions & 4 deletions Ai Driven Development.md
    Original file line number Diff line number Diff line change
    @@ -31,10 +31,12 @@


    ## Live Coding
    1. Given this API spec, help me implement an api client that performs a healthcheck in ruby 3.2: https://connect.hipcamp.com/#tag/HealthCheck
    3. Make it a ruby class
    4. Use ruby structs to define types and provide a stronger data contract
    5. Write unit tests for my code in rspec
    1. Given this API spec, help me implement an api client that performs a healthcheck in ruby 3.2: https://connect.hipcamp.com
    1. Great! Now let's make it a ruby class
    1. Write unit tests for my code in rspec
    1. Use ruby structs to define types and provide a stronger data contract
    1. Extend the class
    1. Make it great

    ## Principles
    - Conversation is the new language of programming.
  7. pcarolan renamed this gist Jun 15, 2023. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  8. pcarolan created this gist Jun 15, 2023.
    46 changes: 46 additions & 0 deletions Ai Driven Development
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,46 @@
    # Ai Driven Development

    ## Setup
    1. [Signup for Copilot classic for $10 per month.](https://github.com/features/copilot)
    1. [Join one of the 4 copilot-X waitlists](https://github.com/features/preview/copilot-x)
    - [Copilot Chat](https://github.com/github-copilot/1.hat_waitlist_signup/join)
    - [Copilot for Docs](https://githubnext.com/projects/1.opilot-for-docs)
    - [Copilot for Pull Requests](https://githubnext.com/1.rojects/copilot-for-pull-requests)
    - [Copilot for CLI](https://githubnext.com/projects/copilot-cli)

    ## The hype
    1. [It'll take over the world.](https://en.wikipedia.org/wiki/Her_(film))
    1. [Don't bother learning how to code](https://www.nytimes.com/2023/06/02/opinion/ai-coding.html)
    1. [It'll make you 50% more productive.](https://github.blog/2022-09-07-research-quantifying-github-copilots-impact-on-developer-productivity-and-happiness/)

    ## Techniques

    1. ✏ Autocompleting your code
    1. 📝 Comment defined methods
    1. 🏷 Comment defined classes
    1. ✖️ Data transformation
    1. 🦆 Rubber ducking
    1. ↔ Translation
    1. 🧪 Writing tests
    1. 🤥 Creating fixtures/mocking data
    1. [🔡 Writing regular expressions](https://github.blog/2022-09-14-8-things-you-didnt-know-you-could-do-with-github-copilot/#4-matching-patterns-with-regular-expressions)
    1. 👩🏼‍🏫 Explaining code
    1. ✍🏽 Clarifying your writing
    1. Adding comments
    1. PR reviews


    ## Live Coding
    1. Given this API spec, help me implement an api client that performs a healthcheck in ruby 3.2: https://connect.hipcamp.com/#tag/HealthCheck
    3. Make it a ruby class
    4. Use ruby structs to define types and provide a stronger data contract
    5. Write unit tests for my code in rspec

    ## Principles
    - Conversation is the new language of programming.
    - We are paid to think and solve problems not to write code.
    - 🪄 Build your lightsaber.
    - [Langchain](https://python.langchain.com/en/latest/index.html)
    - [ReplIT](https://replit.com/)
    - An Ai won't replace you, someone with an Ai will.
    - [Be optimistic, make something new...](https://www.instagram.com/reel/CsDavoQtjWj/?igshid=MTc4MmM1YmI2Ng%3D%3D)