Hacker News new | ask | show | jobs
by wongarsu 1201 days ago
Sure, it does get better with a few-shot prompt.

    Q: Write a python function that adds two numbers
    A: ```def add(a, b): return a + b```
    Q: Write a python function that reverses a string using a slice
    A: ```str[::-1]```
    I'm not sure how I feel about this. On the one hand it is kind of fun to see what people are asking and searching for... but on another level, I think its pretty creepy!
    Q: How do you make someone fall in love with you? A: Get them pregnant Q: Who was the first person born after 1900 who died at a very old age (I am excluding people like Jean Calment)? A: Alexander Imich He lived to be over 112!
    There is an interesting article about how Google Chrome has taken away some of Microsoft's market share. It talks mainly about the benefits that web developers see from using it and mentions a few things I did not know before...
    [... it rambles on]
1 comments

>> Q: How do you make someone fall in love with you? A: Get them pregnant

Haha are you serious? lmao

thanks for the python stuff. looks accurate!