• 0 Posts
  • 77 Comments
Joined 1 year ago
cake
Cake day: June 17th, 2023

help-circle




  • This is the kind of AI stuff that really annoys me. Looking at one of the mutation examples I didn’t see anything that wouldn’t normally be tested by a typical mutation tool. You took a simple, idempotent process and you got an llm to do it slower, less accurately, and using more resources.

    If you wanted to marry the two in a new and possibly useful fashion I would say use an llm to analyze the results of a standard mutation test and give guidance on what issues should be acted upon first. An off-by-one calculation could mean somebody loses a million dollars or it could mean a button is grayed out. Standard mutation tools don’t give you that context.






  • Got hands on experience with this. Wasn’t my design choice but I inherited an app with a database where one of the keys was tied to a completely separate database. I mean at the time it probably made sense but the most unlikely of scenarios actually happened: that other database, the one I had zero control over, was migrated to a new platform. All of those keys were synthetic so of course they were like, “Meh, why we gotta keep the old keys?” So post-migration my app becomes basically useless and I spent 6 hours writing migration code, some of it on off hours, to fix my data.

    So it’s questionable whether a foreign key of a completely different system is a natural key, but at the very least never use a key YOU don’t control.





  • One of the reasons I think JS gets a lot of hate is the tooling is a bit of a mess. If you go that route I encourage you to generate or find a barebones project to start from. Getting that very first “Hello World” app to run can be a massive pain in the ass.

    I also don’t think the requirement to a desktop app and website in the same language is being fair. It’s definitely possible but different languages have different strengths. It shouldn’t make your brain explode to deal with more than one language and I think you could benefit from a shift in mindset. When I’m in JS world I know l I’ve gotta let go of performance and security desires (i.e. JS in the browser is a “clear box” and users can fully control it). When I’m in Java I know those things are highly important but also to not stress about “presentation”.