3 ms·
I think this is kinda neat (and scary!) I'm doing AoC at the moment too and I'm using the chat GPT thing as a sort of assistant. I don't program in Rust much s
by djhworld 4y ago
I think this is kinda neat (and scary!)
I'm doing AoC at the moment too and I'm using the chat GPT thing as a sort of assistant. I don't program in Rust much so sometimes it's difficult to remember certain things and functions. Expressing my intent to the tool seems to come up with decent answers
Some example questions I've asked the tool recently:
> I want to insert a char into a hash map if it does not exist, if it does increment a counter
> rust find common keys in two hashmaps keyed by char
Yes they can probably be found on stack overflow or whatever but it feels more natural this way.
...and yes I could just go down the route of getting the thing to solve the AoC challenge completely but that's no fun
- sh4rks 4y ago> that's no fun Is there really any fun in solving problems that you could easily solve with an AI?
- kill_nate_kill 4y agoYes.
- throwup 4y agoThis reminds me of the (apocryphal?) story that boxed cake mixes sold better after they started requiring you to add an egg, since that made people feel like they contributed more to the result.
- qzw 4y agoI've also heard that story, but it always seemed to me that an equally, if not more, likely reason is that cake made with a fresh egg simply has better flavor and texture. I tried reconstituted powdered eggs once, the taste is still somewhat egg-like but the texture is semi-unpleasant.