5 ms·
I think my only issue with using this is that it forces everyone to use gpt if they want to remain competitive. Which is already the case for many other tools,
by gfd 4y ago
I think my only issue with using this is that it forces everyone to use gpt if they want to remain competitive. Which is already the case for many other tools, for example people had to learn z3 smt solvers for previous years.
But the main difference here is that there's no differentiation between the top competitors anymore. It just means in addition to being very good, you still need to run this thing in the background to hedge against this being an easily gpt-able problem while you code up the real solution. And in the cases where it is gptable, you can expect the leaderboard to be ranked only based on latency to openai/aoc servers.
- charcircuit 4y ago>there's no differentiation between the top competitors anymore At least in the short term, crafting the right or best prompt will be a differentiator.
- scruple 4y agoI came to a similar realization today after I had spent some time with ChatGPT. I feel for people that are currently struggling with search engine queries. They're woefully unprepared for this next evolution. edit/ I also wonder what happens to non-native English speaking programmers when tools like this are widely available.
- ncallaway 4y agoIt probably depends on how good the tools are. I used Google translate to translate a query into Portuguese, and then provided the translation to ChatGPT, and it seemed to handle it just fine. > Por favor, escreva um programa em python que encontre os primeiros 100 números primos e os eleve ao quadrado. --- >> Para encontrar os primeiros 100 números primos e elevá-los ao quadrado, você pode usar a função isprime do módulo sympy para verificar se um número é primo e a função pow do módulo math para elevá-lo ao quadrado. import sympy import math # Criamos uma lista vazia para armazenar os números primos primos = [] # Usamos um contador para limitar o número de números primos que coletamos contador = 0 # Iniciamos o loop em 2, pois 1 não é primo for i in range(2, 100): if sympy.isprime(i): # Se o número é primo, adicionamos à lista primos.append(i) # Incrementamos o contador contador += 1 # Verificamos se já temos 100 números primos if contador == 100: break # Elevamos cada um dos números primos ao quadrado quadrados = [math.pow(x, 2) for x in primos] # Imprimimos a lista de números primos elevados ao quadrado print(quadrados) >> Isso deve imprimir uma lista com os primeiros 100 números primos elevados ao quadrado. Though, interestingly, I notice that it has muddled what started as "first 100 prime numbers", into both all primes below 100 and the first 100 primes (if there were...somehow more than 100 primes below 100). I wonder if that's more an artifact of the Google Translation, or GPT itself.
- Torkel 4y agoDid you try putting in in Portuguese in ChatGPT? It speaks Swedish!
- taberiand 4y agoLuckily they can ask the chatbot to write some example queries for them to use.
- terramex 4y ago> I also wonder what happens to non-native English speaking programmers when tools like this are widely available. ChatGPT is just as good in Polish as in English. The only differences I found so far is that it cannot rhyme in Polish and occasionally generates song lyrics in English when prompted in other language.. prompt: > zaprogramuj kontroler postaci do gry w widoku izometrycznym. język programowania: c#, silnik gry: unity engine [write a program for controlling a character in game with isometric view. programming language: c#, game engine: unity engine] answer: > Jeśli chcesz zaprogramować kontroler postaci w grze w widoku izometrycznym w języku C# i silniku Unity Engine, to wymagane będzie posiadanie podstawowej wiedzy z zakresu programowania i silnika Unity. Oto przykładowy kod, który może Ci pomóc rozpocząć tworzenie kontrolera postaci: using System.Collections; using System.Collections.Generic; using UnityEngine; public class CharacterController : MonoBehaviour { // Szybkość poruszania się postaci public float moveSpeed = 5.0f; // Komponent Rigidbody odpowiadający za fizykę postaci private Rigidbody2D rb; // Komponent animator odpowiadający za animacje postaci private Animator anim; // Zmienne przechowujące kierunek ruchu postaci private float moveX; private float moveY; // Start is called before the first frame update void Start() { // Pobranie komponentów Rigidbody i Animator rb = GetComponent<Rigidbody2D>(); anim = GetComponent<Animator>(); } // Update is called once per frame void Update() { // Pobranie kierunku ruchu postaci za pomocą klawiszy strzałek moveX = Input.GetAxis("Horizontal"); moveY = Input.GetAxis("Vertical"); // Ustawienie animacji chodzenia postaci w zależności od kierunku ruchu if (moveX != 0 || moveY != 0) { anim.SetBool("isWalking", true); } else { anim.SetBool("isWalking", false); } } // FixedUpdate jest wywoływane co pewien ustalony odstęp czasu void FixedUpdate() { // Ruch postaci w zależności od pobranych wartości zmiennych moveX i moveY rb.MovePosition(rb.position + new Vector2(moveX, moveY) * moveSpeed * Time.deltaTime); } } > Ten kod tworzy prosty kontroler postaci, który porusza się w widoku izometrycznym za pomocą klawiszy strzałek. Możesz go rozszerzyć i dostosować do własnych potrzeb, dodając np. obsługę dodatkowych klawiszy lub inne funkcjonalności.
- 4y ago
- magnio 4y agoCompetitive in what? Advent of Code as I see it is widely regarded as a chance for people to learn a new programming language or to have fun. No one I know try to "compete" in AoC. On the other hand, if ChatGPT provides a competitive edge in CodeForce problems then it would be worrying indeed.
- sriram_sun 4y agoAs a pretty senior engineer, I can tell you that Advent of Code or not, Google-Fu is a big part of your effectiveness in picking up new stuff and delivering code. Adding "Prompt-Fu" that equation seems to be the next logical thing to do.
- bluejellybean 4y agoCompletely agree with this sentiment, and the general idea that this is a pretty monumental moment in time. In a couple of hours of work, I've been able to prompt for something like "Get an nginx server and node.js backend up and running", have it generate a rough outline of todo elements, add color/detail to each outlined todo, and write tickets. The tickets even included a title, what done looks like, how to QA, and additional background info as to how this ticket fits into the greater whole. The only thing I didn't get it to do was the actual code writing because I figured this article, or another like it, would prove out it's capabilities for me. Even if the code comes out looking rough like a junior wrote it, the ability to prompt for edits in the PR review should allow us to resolve most issues. When you feed one level of prompt output into the next using some functional tricks, the ability to layer high-level ideas into the engine become extremely powerful. Even if this isn't 'true' AGI, with a few prompt scaffolding libraries, it won't exactly matter. I'm convinced this is going to radically shake up the entire software field at a process level. Both exciting and scary times ahead.
- sitkack 4y agoSo writing code in the near future would not be unlike having manage 10s or potentially thousands of folks (ml models/agents) who have taken two semesters of CS. #EternalHacktoberfest What your thoughts on doing TDD with this, write the unit tests to write the code. But go one step further and have it generate tests from the spec. Repeat until 1=1.
- paraboul 4y agoI think it's time to bring back the terms "lamers" and "script kiddies" :)
- sitkack 4y agoI know a lot of people feel like it, but life isn't a game. Our jobs aren't competitions. For the vast majority of people, they literally just work them so they can eat and have warm place to stay. This is producing real results with economic value, regardless of the level of _cheating_ going on. This will make a ton of marginal programmers more productive (lines of code per day, bulldozer code) as well as unlocking interactive no-code solutions. First world programmers larping at their jobs just got handed notice.
- TapWaterBandit 4y ago> First world programmers larping at their jobs just got handed notice. And creative people who aren't that good at coding just got a foot in the door. I have plenty of ideas but am not a great coder so struggled to implement them. And I don't care about coding as a craft, I want to just do stuff that requires code. Using the chatbot as a tutoring guide/workhorse has been immensely helpful to me and will only get more so.
- cercatrova 4y agoThis is super interesting because I feel the exact same way about Stable Diffusion and similar AI image generation tools. I'm not an artist but I have ideas in my head that I want to get out. I also don't care about making art as a craft, I just want to do stuff like make cool pictures. In the end, maybe it can make all of us be creative in the different fields we don't have skill in.
- TapWaterBandit 4y agoAgreed. I honestly think it will make everything about using anything that can be done on a computer currently more accessible.