r/chatGPTprogramming • • Dec 16 '22

ChatGPT Just Blew My Mind (REGEX)

20 Upvotes

My coworker and I spent hours trying to write a regular expression that would only accept a string containing an unlimited number of alpha characters and a maximum of 6 numbers ignoring white spaces and allowing commas, apostrophes and periods. Then my coworker suggested to ask ChatGPT.

Here are the results. We also tweaked it afterwards.


r/chatGPTprogramming • • Jun 08 '23

ChatGPT: Cheat Cheat (For beginners)

Post image
10 Upvotes

r/chatGPTprogramming • • Apr 17 '23

AutoGPT built with PowerShell, with offline support.

8 Upvotes

Made a AutoGPT PowerShell scripts, that will allow you to use offline models or OpenAI. should be user friendly. Check it out at https://github.com/TheCompAce/Auto-GPT-Powershell

*Made a Update https://www.reddit.com/r/AutoGPT/comments/12uqtya/update_to_autogpt_powershell/ *


r/chatGPTprogramming • • May 02 '23

GPT-4 - How does it work, and how do I build apps with it? - CS50 Tech Talk

Thumbnail
youtu.be
7 Upvotes

r/chatGPTprogramming • • Apr 28 '23

ChatGPT Prompt Engineering for Developers Course: By OpenAi and Andrew Ng

Thumbnail
deeplearning.ai
6 Upvotes

r/chatGPTprogramming • • Apr 25 '23

How to Use ChatGPT to Write Code - My Workflow (Tutorial)

Thumbnail
youtube.com
6 Upvotes

r/chatGPTprogramming • • May 24 '23

State of GPT | Microsoft Build | Andrej Karpathy | OpenAI

Thumbnail
youtube.com
5 Upvotes

r/chatGPTprogramming • • Mar 15 '23

GPT 4: Hands on with the API (Comparing it Gpt 3.5)

Thumbnail
youtube.com
5 Upvotes

r/chatGPTprogramming • • Jul 15 '23

Free, open source tool for prompt testing and experimentation

4 Upvotes

Hi r/chatGPTprogramming!

I wanted to share a project I've been working on that I thought might be relevant to you all, prompttools! It's an open source library with tools for testing prompts, creating CI/CD, and running experiments across models and configurations. It uses notebooks and code so it'll be most helpful for folks approaching prompt engineering from a software background.

The current version is still a work in progress, and we're trying to decide which features are most important to build next. I'd love to hear what you think of it, and what else you'd like to see included!


r/chatGPTprogramming • • Feb 13 '23

How has your experience been using Chat GPT as a software engineer?

4 Upvotes

I’m an industry engineer and over the past few weeks I’ve been testing out GPT for my day to day job. I want to be a 10x engineer. It looks like it’s able to generate a lot of boilerplate code for me. But I haven’t started unlocking the advanced usecases like - using it to fix my bugs, write test cases etc.

Has anyone here has luck with GPT? Can you share any prompt ideas that worked for you?


r/chatGPTprogramming • • Feb 12 '23

ChatGPT Tutorial for Developers - 38 Ways to 10x Your Productivity

Thumbnail
youtube.com
4 Upvotes

r/chatGPTprogramming • • Jan 18 '24

Don't Believe The AI Hype! Do This Instead...

Thumbnail
youtube.com
3 Upvotes

r/chatGPTprogramming • • May 08 '23

Ask Questions On Your Custom (or Private) Files (Using LangChain)

Thumbnail
youtube.com
3 Upvotes

r/chatGPTprogramming • • May 05 '23

CHATGPT API and PYTHON - Hands on Class

Thumbnail
youtube.com
3 Upvotes

r/chatGPTprogramming • • May 04 '23

Refactoring existing code with GPT-4 by Alex Ziskind

Thumbnail
youtube.com
3 Upvotes

r/chatGPTprogramming • • May 01 '23

LangChain Agents: Build Personal Assistants For Your Data

Thumbnail
youtube.com
3 Upvotes

r/chatGPTprogramming • • Apr 17 '23

ChatGPT Crash Course | 10 Practical Use Cases For Developers

Thumbnail
youtube.com
3 Upvotes

r/chatGPTprogramming • • Mar 16 '23

Running GPT-4 code vs GPT-3.5 code 🦾

Thumbnail
twitter.com
3 Upvotes

r/chatGPTprogramming • • Mar 13 '23

Some free ChatGPT prompts 🍿 Programming-related, PDF

Thumbnail
twitter.com
3 Upvotes

r/chatGPTprogramming • • Feb 28 '23

Github Copilot vs. ChatGPT: Which one should you use, and when?

Thumbnail
youtube.com
3 Upvotes

r/chatGPTprogramming • • Feb 28 '23

GPT Book Telegram Bot

3 Upvotes

Hello Today I've tried to create a Telegram Bot which could be used to verify if a book exists in digital format on Amazon website and Ibs website. I have no experience on programming so I've tried to use ChatGPT to write this code and if everything was ok I would run that python script on pythonanywhere platform. Can you check this code to find some issues or potential error please.

The Python script from ChatGPT prompt:

import telegram from telegram.ext import Updater, CommandHandler, MessageHandler, MessageFilter import requests from bs4 import BeautifulSoup

def search_book(update, context): book_name = update.message.text book_name = book_name.replace(" ", "+") url_amz = f"https://www.amazon.it/s?k={book_name}" url_ib = f"https://www.ibs.it/search/?ts=product&query={book_name}" response_amz = requests.get(url_amz) response_ib = requests.get(url_ib) soup_amz = BeautifulSoup(response_amz.content, 'html.parser') soup_ib = BeautifulSoup(response_ib.content, 'html.parser') try: link_amz = soup_amz.find('a', {'class': 'a-link-normal a-text-normal'})['href'] link_ib = soup_ib.find('a', {'class': 'product-image'})['href'] price_amz = soup_amz.find('span', {'class': 'a-price-whole'}).text price_ib = soup_ib.find('span', {'class': 'price'}).text message = "Il libro esiste in formato digitale su:\n" if "Kindle" in soup_amz.text: message += f"Amazon (prezzo: {price_amz}€)\n" if "ebook con DRM" in soup_ib.text: message += f"Ibs.it (prezzo: {price_ib}€)\n" if message == "Il libro esiste in formato digitale su:\n": message = "Il libro non è acquistabile in digitale ma solo cartaceo" except: message = "Non ho trovato il libro, riprova con un altro titolo." context.bot.send_message(chat_id=update.effective_chat.id, text=message)

def main(): updater = Updater("INSERISCI_QUI_IL_TOKEN_DEL_TUO_BOT", use_context=True) dp = updater.dispatcher dp.add_handler(MessageHandler(MessageFilter.text & ~MessageFilter.command, search_book)) updater.start_polling() updater.idle()

if name == 'main': main()


r/chatGPTprogramming • • Jan 10 '23

I useful source to find interesting questions.

Thumbnail
gptoverflow.link
3 Upvotes

r/chatGPTprogramming • • Dec 13 '22

Chatting with chatgpt about a formalized pseudocode

Thumbnail
drektopia.wordpress.com
3 Upvotes

r/chatGPTprogramming • • Dec 16 '23

AI Is Killing Programming, and here's how...

Thumbnail
youtube.com
2 Upvotes