{"id":105788,"date":"2021-10-12T07:00:00","date_gmt":"2021-10-12T14:00:00","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/oldnewthing\/?p=105788"},"modified":"2021-10-12T07:17:23","modified_gmt":"2021-10-12T14:17:23","slug":"20211012-00","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20211012-00\/?p=105788","title":{"rendered":"The happy hand: A puzzle about odd names in Azure DevOps"},"content":{"rendered":"<p>A customer found that some word on Azure DevOps were being mysteriously changed to something odd, and a little cute. The table of contents on their wiki page was named &#8220;Happy&#8221;:<\/p>\n<blockquote class=\"q\">\n<p>Happy<\/p>\n<ul>\n<li>What is Contoso?<\/li>\n<li>Getting Started<\/li>\n<li>To Learn More<\/li>\n<\/ul>\n<\/blockquote>\n<p>And when they went to look at their branches, the main branch was renamed to &#8220;hand&#8221;:<\/p>\n<blockquote class=\"q\"><p><span id=\"p20211012_br\"><\/span> hand<\/p><\/blockquote>\n<p>Did they get pranked?<\/p>\n<p>Somebody pointed out that the suspicious substitutions followed a pattern:<\/p>\n<table class=\"cp3\" style=\"border-collapse: collapse;\" border=\"1\" cellspacing=\"0\" cellpadding=\"3\">\n<tbody>\n<tr>\n<th>French<\/th>\n<th>English<\/th>\n<\/tr>\n<tr>\n<td>contents<\/td>\n<td>happy<\/td>\n<\/tr>\n<tr>\n<td>main<\/td>\n<td>hand<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Both of the suspiciously-substituted words happen to be valid words in French, and the corresponding meaning in English is what they got replaced with.<\/p>\n<p>Further investigation showed that something about this particular repo causes the Web browser to think that their Azure DevOps repo pages are written in French, and it offers to auto-translate to English. The customer must have clicked &#8220;Yes&#8221; by mistake at some point.<\/p>\n<p>Turning off auto-translation fixed the problem.<\/p>\n<p>The customer added, &#8220;I sort of liked the names Happy and Hand. Maybe I&#8217;ll toggle it back on from time to time when I need a pick-me-up.&#8221;<\/p>\n<p>\n<script>\n(function() {\n  var svg = {\n    br: `<svg aria-hidden=\"true\" viewBox=\"0 0 16 16\" version=\"1.1\" height=\"16\" width=\"16\">\n    <path fill-rule=\"evenodd\" d=\"M11.75 2.5a.75.75 0 100 1.5.75.75 0 000-1.5zm-2.25.75a2.25 2.25 0 113 2.122V6A2.5 2.5 0 0110 8.5H6a1 1 0 00-1 1v1.128a2.251 2.251 0 11-1.5 0V5.372a2.25 2.25 0 111.5 0v1.836A2.492 2.492 0 016 7h4a1 1 0 001-1v-.628A2.25 2.25 0 019.5 3.25zM4.25 12a.75.75 0 100 1.5.75.75 0 000-1.5zM3.5 3.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0z\"><\/path>\n<\/svg>`\n  };\n  Object.keys(svg).forEach(function (key) {\n    Array.prototype.forEach.call(document.querySelectorAll(\"#p20211012_\" + key),\n      function (e) {\n        e.innerHTML = svg[key];\n      });\n  });\n})();\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Who&#8217;s renaming everything into something cute?<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[104],"class_list":["post-105788","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-tipssupport"],"acf":[],"blog_post_summary":"<p>Who&#8217;s renaming everything into something cute?<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/105788","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=105788"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/105788\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=105788"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=105788"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=105788"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}