Still in awe of #chatgpt #o1 's ability to create bigger pieces of code.
Wanted to build a fairly tricky feature for that diary app I'm coding for fun in my spare time:
collect all words in all diary entries, remove stop words like "and", and create a bubble diagram where the size of a bubble reflects the word frequency, and the bubble has a 20% thick border reflecting the mood (1-5) that the user entered with this diary entry, where the circle segment sizes correspond to the frequency of that mood.
It took me 3 long promps to get this javascript code out of o1:
1. write a python program to get a list of all stop words.
2. do the data collection and a basic bubble diagram
3. do the 5-color circle segment border
All 3 times o1 produced flawlessly working code, at first attempt.
Doing this by hand would have taken me many hours (alone those circle segments reflecting the frequency of how often a user choose mood 1, 2, 3,...)
The pic shows the result with the bubbles about my sports entries of the last 3 months.