3 ms·
Soooo I wrote it. Took me 2 hours, and only looks at your first page of comments, but https://github.com/fragmede/hn_reply_notifier https://github.com/fragmede/
by fragmede 3y ago
Soooo I wrote it. Took me 2 hours, and only looks at your first page of comments, but https://github.com/fragmede/hn_reply_notifier https://github.com/fragmede/hn_reply_notifier
For not knowing rust, I'm pretty impressed!
- emporas 3y agoLol, awesome fragmede. The program has some defects though. The username, of which the comments it is looking for, is hardcoded into the code. The standard convention for CLI tools, is to create a .rc file, like .hn_reply_notifierrc and save some configuration in there. The way your program is configured, the next user will have to recompile the code with the new username. That's a big no-no! It is so much fun to use GPT that way, that i cannot resist but generate my own program, and i will share with you on github the resulting code, alongside with the GPT conversation.
- fragmede 3y agoOh yeah totally. Either from an RC file or as an argument on the command line. But for something I "wrote", in a language I'm totally unfamiliar with, in 2 hours or so, I'm floored. I'm a seasoned developer (in other languages) and how much I didn't have to dig into rust to get that far is mind blowing. I can't wait to see your attempt!