News for hackers. Stuff that matters.
Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by markstos on Thursday June 15, 2023 @02:49PM (#36344921)
I don't know Rust well and was having trouble the finding the docs I needed, so I asked AI for help. Google Bard, I think. It had real difficulty producing code that ran and worked.

The problem was that there were breaking API changes across versions of the library, but it was just using probabilities of method names being correct, and it didn't ask me or tell me which version of the library it was targeting, so it was just a mismash of incompatible code.

But the code LOOKED good and the AI was confident it was a good answer. Overall, it felt like wasted time sifting through confidently-wrong answers.

Re:Unihiker, an $80 single-board PC with 2.8“ touchscreen, q... by cooljacob204 on Thursday June 15, 2023 @04:32PM (#36346120)
Google Bard isn't the best when it comes to writing code in my experience. Try GPT, you should get very different results.