[Leo]The secret is not to give a shit. In the rare occasions when I somewhat do, I will set up a few test examples, stub the rest, and tell the clanker to fill the blanks.
gRegorIs anyone familiar with a Google tool to check link previews and caches? Running into a weird scenario where a link embedded in Google Docs shows the wrong document title when you click the link and see the preview before you can actually open the link. The two pages are definitely unique URLs, no query strings, so quite an odd one.
gRegorI'm thinking it's actually related to Google search index. The new link is not indexed, but the one appearing in the preview is indexed. Even when I add the new link with a unique query param, the preview doesn't appear immediately, but after a brief period it does and Google picks the other one. Quite odd.
gRegorHuh, yep, it appears Google selected the URL showing up as the canonical and won't index the other one. These profile pages are largely similar, with different title elements, name, and some other info, so I guess adding rel-canonical is the fix.
barnaby, JadedBlueEyes16, JefeDelTodos, lanodan, thatoddshade and [schmarty] joined the channel
JefeDelTodosI use AI to write my tests for new code once I have it working correctly (manual testing) more just so I have a guardrail where I don't inadvertently break something that previously worked...
JefeDelTodosHaving said that, if it's a new language or a new framework, I'll hand code my tests until I have a mental model before handing that non prod code to ai
GWGThe thing just wrote 353 tests for me in my initial tests. I hate writing 10. I intend to read and check anything I let it do, but I've never written full code coverage.