• 18 Posts
  • 241 Comments
Joined 2 years ago
cake
Cake day: June 15th, 2023

help-circle



  • It’s actually the first time I used to do Ai assisted unit test creation. There were multiple iterations and sometimes it never worked well. And the most important part is, as you say, think through and read every single test case and edit or replace if necessary. Some tests are really stupid, especially stuff that is already encoded in the type system through Rust. I mean you still need a head for revision and know what you want to do.

    I still wonder if I should have just gave it the function signature without the inner workings of the function. That’s an approach I want to explore next time. I really enjoyed working with it for the tests, because writing tests is very time consuming. Although I am not much of test guy, so maybe the results aren’t that good anyway.

    Edit: In about 250 unit tests (which does not cover all functions sadly) for a cli json based tool, several bugs were found thanks to this approach. I wouldn’t have done it manually.




  • he’s very familiar with C and C++. In his associated writeup on his Gopher page (link though Floodgap) [jns] simply declares it’s a language he’s quite fond of, which is reason enough of us.

    So there are no technical reasons to do so. Its totally understandable to like and use a language for personal feelings. But it kinda feels like unnecessary complicated. So this should be done as a hobby project on something that is not important in my opinion.

    Make it in Haskell if you want impress me.









  • Edit: Looks like the tool I linked is total bogus.

    I’ve copied the text and put it into a tool that tries to find out if its written by an Ai (using an Ai model themselves off course, the irony). Here is one such: https://stealthwriter.ai/

    > About 66% of the content is likely human-written, while 34% appears AI-generated.

    The tool also has the ability trying to obfuscate or rewrite passages that should avoid being detected by such a tool themselves. So it is possible this article was written by an Ai model, a tool to obfuscate was used and them maybe a human edited and rephrased stuff. I can imagine this being part of the publishing process. Complete assumption by me here.


  • I try to compile Rust code from someone who wants to compile Rust CLI tool, so it is connected to Rust. Well, if nobody can give advice how to document this better… So much for those who downvote without giving helpful answers (i don’t care about the votes, downvotes doesn’t show up for me anyway, I was just asking for advice, its disappointing behavior or community members). I asked the local Ai I have installed on. Usually I avoid that when possible, but it actually gave me helpful response.

    Turns out, one does not have to install Visual Studio itself and an account is not needed. Downloading and installing the Dev Tools without an account works from https://visualstudio.microsoft.com/visual-cpp-build-tools/ . I just tested this in the VM. Therefore I will need to overhaul the entire Installation part and rewrite it cleanly from scratch, to simplify it. I should have asked the ai instead the community…