[{"Id":11330,"Author":{"Name":"Remy Porter","FirstName":"Remy","ShortDescription":"Computers were a mistake, so I accidentally became a farmer? Editor-in-Chief for TDWTF.","DescriptionHtml":"\u003cp\u003eRemy is a veteran developer who writes software for farming robots. They pick tomatoes.\u003c/p\u003e\r\n\u003cp\u003eHe\u0027s often on stage, doing improv comedy, but insists that \u003cem\u003ehe\u003c/em\u003e isn\u0027t doing comedy- it\u0027s deadly serious. You\u0027re laughing at him, not with him. That, by the way, is usually true- you\u0027re laughing at him, not with him.\u003c/p\u003e","Slug":"remy-porter","IsAdmin":true,"IsActive":true,"ImageUrl":"https://s3.amazonaws.com/remy.jetpackshark.com/remy-thumb.jpg"},"Status":"Published","SummaryHtml":"\u003cp\u003e\u003cstrong\u003eDmytro P\u003c/strong\u003e works with one of those developers who clearly started life in C/C++, and has never quite adapted to languages like Java. How can I tell?\u003c/p\u003e\n\u003cp\u003eWell, functions like this are a good hint:\u003c/p\u003e\n","BodyHtml":"\u003cp\u003e\u003cstrong\u003eDmytro P\u003c/strong\u003e works with one of those developers who clearly started life in C/C++, and has never quite adapted to languages like Java. How can I tell?\u003c/p\u003e\n\u003cp\u003eWell, functions like this are a good hint:\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"language-java\"\u003e        \u003cspan class=\"hljs-keyword\"\u003eprivate\u003c/span\u003e \u003cspan class=\"hljs-keyword\"\u003estatic\u003c/span\u003e \u003cspan class=\"hljs-type\"\u003eint\u003c/span\u003e \u003cspan class=\"hljs-title function_\"\u003eroundNextPow2\u003c/span\u003e\u003cspan class=\"hljs-params\"\u003e(\u003cspan class=\"hljs-type\"\u003eint\u003c/span\u003e x)\u003c/span\u003e {\n            x--;\n            x |= x \u0026gt;\u0026gt; \u003cspan class=\"hljs-number\"\u003e1\u003c/span\u003e;\n            x |= x \u0026gt;\u0026gt; \u003cspan class=\"hljs-number\"\u003e2\u003c/span\u003e;\n            x |= x \u0026gt;\u0026gt; \u003cspan class=\"hljs-number\"\u003e4\u003c/span\u003e;\n            x |= x \u0026gt;\u0026gt; \u003cspan class=\"hljs-number\"\u003e8\u003c/span\u003e;\n            x |= x \u0026gt;\u0026gt; \u003cspan class=\"hljs-number\"\u003e16\u003c/span\u003e;\n            x++;\n            \u003cspan class=\"hljs-keyword\"\u003ereturn\u003c/span\u003e x;\n        }\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eThis rounds the input up to the next power of two. It\u0026#39;s called in this function:\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"language-java\"\u003e        \u003cspan class=\"hljs-keyword\"\u003epublic\u003c/span\u003e \u003cspan class=\"hljs-keyword\"\u003estatic\u003c/span\u003e \u003cspan class=\"hljs-type\"\u003eint\u003c/span\u003e \u003cspan class=\"hljs-title function_\"\u003ecalculateMapSize\u003c/span\u003e\u003cspan class=\"hljs-params\"\u003e(\u003cspan class=\"hljs-type\"\u003eint\u003c/span\u003e size)\u003c/span\u003e {\n            \u003cspan class=\"hljs-type\"\u003eint\u003c/span\u003e \u003cspan class=\"hljs-variable\"\u003enewMinSize\u003c/span\u003e \u003cspan class=\"hljs-operator\"\u003e=\u003c/span\u003e (\u003cspan class=\"hljs-type\"\u003eint\u003c/span\u003e)((\u003cspan class=\"hljs-type\"\u003efloat\u003c/span\u003e)size / \u003cspan class=\"hljs-number\"\u003e0.75f\u003c/span\u003e);\n            newMinSize = roundNextPow2(newMinSize);\n            \u003cspan class=\"hljs-keyword\"\u003ereturn\u003c/span\u003e newMinSize;\n        }\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eThis function kicks the minimum size up a bit, and then rounds the value up to the nearest power of two, and you\u0026#39;re probably asking yourself: \u0026#34;Why? Also, why is it called \u003ccode\u003ecalculateMapSize\u003c/code\u003e? Java already resizes collections for you, you don\u0026#39;t need to do it yourself. They... they didn\u0026#39;t, did they?\u0026#34;\u003c/p\u003e\n\u003cp\u003eThey did, in fact.\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"language-java\"\u003e        \u003cspan class=\"hljs-keyword\"\u003eprotected\u003c/span\u003e Map\u0026lt;String, CalendarImpl\u0026gt; \u003cspan class=\"hljs-title function_\"\u003eensureMapSize\u003c/span\u003e\u003cspan class=\"hljs-params\"\u003e(\u003cspan class=\"hljs-type\"\u003eint\u003c/span\u003e addSize)\u003c/span\u003e {\n                \u003cspan class=\"hljs-comment\"\u003e// calc size of map\u003c/span\u003e\n                \u003cspan class=\"hljs-type\"\u003eint\u003c/span\u003e \u003cspan class=\"hljs-variable\"\u003enewMinSize\u003c/span\u003e \u003cspan class=\"hljs-operator\"\u003e=\u003c/span\u003e CollectionUtils.calculateMapSize((\u003cspan class=\"hljs-literal\"\u003enull\u003c/span\u003e == \u003cspan class=\"hljs-built_in\"\u003ethis\u003c/span\u003e.calendars ? \u003cspan class=\"hljs-number\"\u003e0\u003c/span\u003e : \u003cspan class=\"hljs-built_in\"\u003ethis\u003c/span\u003e.calendars.size()) + addSize);\n                HashMap\u0026lt;String, CalendarImpl\u0026gt; newMap = \u003cspan class=\"hljs-keyword\"\u003enew\u003c/span\u003e \u003cspan class=\"hljs-title class_\"\u003eHashMap\u003c/span\u003e\u0026lt;String, CalendarImpl\u0026gt;(newMinSize);\n               \n                \u003cspan class=\"hljs-comment\"\u003e// handle map\u003c/span\u003e\n                \u003cspan class=\"hljs-keyword\"\u003eif\u003c/span\u003e (\u003cspan class=\"hljs-literal\"\u003enull\u003c/span\u003e != \u003cspan class=\"hljs-built_in\"\u003ethis\u003c/span\u003e.calendars) {\n                        \u003cspan class=\"hljs-comment\"\u003e// move existing entries\u003c/span\u003e\n                        \u003cspan class=\"hljs-keyword\"\u003efor\u003c/span\u003e (String key : \u003cspan class=\"hljs-built_in\"\u003ethis\u003c/span\u003e.calendars.keySet()) {\n                                newMap.put(key, \u003cspan class=\"hljs-built_in\"\u003ethis\u003c/span\u003e.calendars.get(key));\n                        }\n                }\n               \n                \u003cspan class=\"hljs-comment\"\u003e// return\u003c/span\u003e\n                \u003cspan class=\"hljs-keyword\"\u003ereturn\u003c/span\u003e newMap;\n        }\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eThis function takes an existing map, increases its size by \u003ccode\u003eaddSize\u003c/code\u003e, does all the weird logic we saw above, and then creates a new empty map of the target size. Then it copies each key/value from the existing map (if there is one) into the new map.\u003c/p\u003e\n\u003cp\u003eNote also that this function copies from the existing map, but doesn\u0026#39;t alter it- it returns a new map. That\u0026#39;s important, because it ends up getting used to do things like this:\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"language-java\"\u003e        \u003cspan class=\"hljs-keyword\"\u003eprotected\u003c/span\u003e String[] doReadUsersAll(Json json, ITEM[] items) {\n                \u003cspan class=\"hljs-comment\"\u003e// read all users into map\u003c/span\u003e\n                \u003cspan class=\"hljs-type\"\u003eJArray\u003c/span\u003e \u003cspan class=\"hljs-variable\"\u003eobjUsers\u003c/span\u003e \u003cspan class=\"hljs-operator\"\u003e=\u003c/span\u003e (JArray)json.get(\u003cspan class=\"hljs-string\"\u003e\u0026#34;UsersAll\u0026#34;\u003c/span\u003e).get(\u003cspan class=\"hljs-string\"\u003e\u0026#34;Users\u0026#34;\u003c/span\u003e);\n               \n                \u003cspan class=\"hljs-comment\"\u003e// get new map\u003c/span\u003e\n                Map\u0026lt;String, CalendarImpl\u0026gt; newMap = \u003cspan class=\"hljs-built_in\"\u003ethis\u003c/span\u003e.ensureMapSize(objUsers.getCount());\n                       \n                \u003cspan class=\"hljs-comment\"\u003e// loop and create calendar objects\u003c/span\u003e\n                String[] result = \u003cspan class=\"hljs-keyword\"\u003enew\u003c/span\u003e \u003cspan class=\"hljs-title class_\"\u003eString\u003c/span\u003e[\u003cspan class=\"hljs-number\"\u003e12\u003c/span\u003e];\n                \u003cspan class=\"hljs-type\"\u003eint\u003c/span\u003e k=\u003cspan class=\"hljs-number\"\u003e0\u003c/span\u003e;\n                \u003cspan class=\"hljs-keyword\"\u003efor\u003c/span\u003e (\u003cspan class=\"hljs-type\"\u003eint\u003c/span\u003e i=\u003cspan class=\"hljs-number\"\u003e0\u003c/span\u003e; i\u0026lt;objUsers.getCount(); i++) {\n                        \u003cspan class=\"hljs-type\"\u003eJObject\u003c/span\u003e \u003cspan class=\"hljs-variable\"\u003eobjJson\u003c/span\u003e \u003cspan class=\"hljs-operator\"\u003e=\u003c/span\u003e (JObject)objUsers.get(i);\n                        \u003cspan class=\"hljs-type\"\u003eString\u003c/span\u003e \u003cspan class=\"hljs-variable\"\u003eid\u003c/span\u003e \u003cspan class=\"hljs-operator\"\u003e=\u003c/span\u003e objJson.get(\u003cspan class=\"hljs-string\"\u003e\u0026#34;ID\u0026#34;\u003c/span\u003e).getStr();\n                        result = ArrayUtil.ensureSize(result, String.class, k+\u003cspan class=\"hljs-number\"\u003e1\u003c/span\u003e, \u003cspan class=\"hljs-number\"\u003e12\u003c/span\u003e);\n                        result[k++] = id;\n                       \n                        \u003cspan class=\"hljs-keyword\"\u003eif\u003c/span\u003e (newMap.containsKey(id)) {\n                                \u003cspan class=\"hljs-comment\"\u003e// add items we do not yet have\u003c/span\u003e\n                                \u003cspan class=\"hljs-type\"\u003eCalendarImpl\u003c/span\u003e \u003cspan class=\"hljs-variable\"\u003eknownCal\u003c/span\u003e \u003cspan class=\"hljs-operator\"\u003e=\u003c/span\u003e newMap.get(id);\n                                \u003cspan class=\"hljs-type\"\u003eUserImpl\u003c/span\u003e \u003cspan class=\"hljs-variable\"\u003eknownUser\u003c/span\u003e \u003cspan class=\"hljs-operator\"\u003e=\u003c/span\u003e (UserImpl)knownCal.getOwner();\n                                knownUser.addItems(objJson, items);\n                        } \u003cspan class=\"hljs-keyword\"\u003eelse\u003c/span\u003e {\n                                \u003cspan class=\"hljs-comment\"\u003e// just add (but use the full current user if it\u0026#39;s that)\u003c/span\u003e\n                                \u003cspan class=\"hljs-comment\"\u003e//TODO Should really allow user object to know the exact timezone\u003c/span\u003e\n                                \u003cspan class=\"hljs-type\"\u003eUserImpl\u003c/span\u003e \u003cspan class=\"hljs-variable\"\u003euser\u003c/span\u003e \u003cspan class=\"hljs-operator\"\u003e=\u003c/span\u003e UserImpl.buildInstance(\u003cspan class=\"hljs-built_in\"\u003ethis\u003c/span\u003e.api, objJson, items).setNameFormat(\u003cspan class=\"hljs-built_in\"\u003ethis\u003c/span\u003e.nameFormat);\n                                \u003cspan class=\"hljs-type\"\u003eCalendarImpl\u003c/span\u003e \u003cspan class=\"hljs-variable\"\u003ecal\u003c/span\u003e \u003cspan class=\"hljs-operator\"\u003e=\u003c/span\u003e \u003cspan class=\"hljs-keyword\"\u003enew\u003c/span\u003e \u003cspan class=\"hljs-title class_\"\u003eCalendarImpl\u003c/span\u003e(user);\n                                cal.setComparator(\u003cspan class=\"hljs-built_in\"\u003ethis\u003c/span\u003e.getComparator());\n                                newMap.put(id, cal);\n                        }\n                }\n               \n                \u003cspan class=\"hljs-comment\"\u003e// move pointer\u003c/span\u003e\n                \u003cspan class=\"hljs-built_in\"\u003ethis\u003c/span\u003e.calendars = newMap;\n               \n                \u003cspan class=\"hljs-comment\"\u003e// clear json to clear memory\u003c/span\u003e\n                json.clear();\n               \n                \u003cspan class=\"hljs-comment\"\u003e// return\u003c/span\u003e\n                \u003cspan class=\"hljs-keyword\"\u003ereturn\u003c/span\u003e Arrays.copyOfRange(result, \u003cspan class=\"hljs-number\"\u003e0\u003c/span\u003e, k);\n        }\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eThis takes JSON data, which I\u0026#39;ll add, \u003cem\u003eis managed by their own home-brewed JSON library\u003c/em\u003e, loads it into a map while also putting every read ID into a string array \u003cem\u003ewhich they also resize\u003c/em\u003e, ignoring the perfectly good auto-resizing Java collections.\u003c/p\u003e\n\u003cp\u003eThis code clearly was written by somebody who wanted to call \u003ccode\u003ememcpy\u003c/code\u003e and didn\u0026#39;t know what to do without it. You can also see the C/C++ influence in the comment \u003ccode\u003e// move pointer\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eHow much do you want to bet that the developer behind this also complained about how slow Java was? When you write code like this, how could it be slow?\u003c/p\u003e\n\u003c!-- Easy Reader Version: My bad C habit, which is bad in C but also bad anywhere else, is to type-pun. It\u0027s so goddamn convenient for reading data off the wire! --\u003e\n\u003cstyle\u003e.comment { border: none; }\u003c/style\u003e","BodyAndAdHtml":"\u003cp\u003e\u003cstrong\u003eDmytro P\u003c/strong\u003e works with one of those developers who clearly started life in C/C++, and has never quite adapted to languages like Java. How can I tell?\u003c/p\u003e\n\u003cp\u003eWell, functions like this are a good hint:\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"language-java\"\u003e        \u003cspan class=\"hljs-keyword\"\u003eprivate\u003c/span\u003e \u003cspan class=\"hljs-keyword\"\u003estatic\u003c/span\u003e \u003cspan class=\"hljs-type\"\u003eint\u003c/span\u003e \u003cspan class=\"hljs-title function_\"\u003eroundNextPow2\u003c/span\u003e\u003cspan class=\"hljs-params\"\u003e(\u003cspan class=\"hljs-type\"\u003eint\u003c/span\u003e x)\u003c/span\u003e {\n            x--;\n            x |= x \u0026gt;\u0026gt; \u003cspan class=\"hljs-number\"\u003e1\u003c/span\u003e;\n            x |= x \u0026gt;\u0026gt; \u003cspan class=\"hljs-number\"\u003e2\u003c/span\u003e;\n            x |= x \u0026gt;\u0026gt; \u003cspan class=\"hljs-number\"\u003e4\u003c/span\u003e;\n            x |= x \u0026gt;\u0026gt; \u003cspan class=\"hljs-number\"\u003e8\u003c/span\u003e;\n            x |= x \u0026gt;\u0026gt; \u003cspan class=\"hljs-number\"\u003e16\u003c/span\u003e;\n            x++;\n            \u003cspan class=\"hljs-keyword\"\u003ereturn\u003c/span\u003e x;\n        }\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eThis rounds the input up to the next power of two. It\u0026#39;s called in this function:\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"language-java\"\u003e        \u003cspan class=\"hljs-keyword\"\u003epublic\u003c/span\u003e \u003cspan class=\"hljs-keyword\"\u003estatic\u003c/span\u003e \u003cspan class=\"hljs-type\"\u003eint\u003c/span\u003e \u003cspan class=\"hljs-title function_\"\u003ecalculateMapSize\u003c/span\u003e\u003cspan class=\"hljs-params\"\u003e(\u003cspan class=\"hljs-type\"\u003eint\u003c/span\u003e size)\u003c/span\u003e {\n            \u003cspan class=\"hljs-type\"\u003eint\u003c/span\u003e \u003cspan class=\"hljs-variable\"\u003enewMinSize\u003c/span\u003e \u003cspan class=\"hljs-operator\"\u003e=\u003c/span\u003e (\u003cspan class=\"hljs-type\"\u003eint\u003c/span\u003e)((\u003cspan class=\"hljs-type\"\u003efloat\u003c/span\u003e)size / \u003cspan class=\"hljs-number\"\u003e0.75f\u003c/span\u003e);\n            newMinSize = roundNextPow2(newMinSize);\n            \u003cspan class=\"hljs-keyword\"\u003ereturn\u003c/span\u003e newMinSize;\n        }\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eThis function kicks the minimum size up a bit, and then rounds the value up to the nearest power of two, and you\u0026#39;re probably asking yourself: \u0026#34;Why? Also, why is it called \u003ccode\u003ecalculateMapSize\u003c/code\u003e? Java already resizes collections for you, you don\u0026#39;t need to do it yourself. They... they didn\u0026#39;t, did they?\u0026#34;\u003c/p\u003e\n\u003cp\u003eThey did, in fact.\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"language-java\"\u003e        \u003cspan class=\"hljs-keyword\"\u003eprotected\u003c/span\u003e Map\u0026lt;String, CalendarImpl\u0026gt; \u003cspan class=\"hljs-title function_\"\u003eensureMapSize\u003c/span\u003e\u003cspan class=\"hljs-params\"\u003e(\u003cspan class=\"hljs-type\"\u003eint\u003c/span\u003e addSize)\u003c/span\u003e {\n                \u003cspan class=\"hljs-comment\"\u003e// calc size of map\u003c/span\u003e\n                \u003cspan class=\"hljs-type\"\u003eint\u003c/span\u003e \u003cspan class=\"hljs-variable\"\u003enewMinSize\u003c/span\u003e \u003cspan class=\"hljs-operator\"\u003e=\u003c/span\u003e CollectionUtils.calculateMapSize((\u003cspan class=\"hljs-literal\"\u003enull\u003c/span\u003e == \u003cspan class=\"hljs-built_in\"\u003ethis\u003c/span\u003e.calendars ? \u003cspan class=\"hljs-number\"\u003e0\u003c/span\u003e : \u003cspan class=\"hljs-built_in\"\u003ethis\u003c/span\u003e.calendars.size()) + addSize);\n                HashMap\u0026lt;String, CalendarImpl\u0026gt; newMap = \u003cspan class=\"hljs-keyword\"\u003enew\u003c/span\u003e \u003cspan class=\"hljs-title class_\"\u003eHashMap\u003c/span\u003e\u0026lt;String, CalendarImpl\u0026gt;(newMinSize);\n               \n                \u003cspan class=\"hljs-comment\"\u003e// handle map\u003c/span\u003e\n                \u003cspan class=\"hljs-keyword\"\u003eif\u003c/span\u003e (\u003cspan class=\"hljs-literal\"\u003enull\u003c/span\u003e != \u003cspan class=\"hljs-built_in\"\u003ethis\u003c/span\u003e.calendars) {\n                        \u003cspan class=\"hljs-comment\"\u003e// move existing entries\u003c/span\u003e\n                        \u003cspan class=\"hljs-keyword\"\u003efor\u003c/span\u003e (String key : \u003cspan class=\"hljs-built_in\"\u003ethis\u003c/span\u003e.calendars.keySet()) {\n                                newMap.put(key, \u003cspan class=\"hljs-built_in\"\u003ethis\u003c/span\u003e.calendars.get(key));\n                        }\n                }\n               \n                \u003cspan class=\"hljs-comment\"\u003e// return\u003c/span\u003e\n                \u003cspan class=\"hljs-keyword\"\u003ereturn\u003c/span\u003e newMap;\n        }\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eThis function takes an existing map, increases its size by \u003ccode\u003eaddSize\u003c/code\u003e, does all the weird logic we saw above, and then creates a new empty map of the target size. Then it copies each key/value from the existing map (if there is one) into the new map.\u003c/p\u003e\n\u003cp\u003eNote also that this function copies from the existing map, but doesn\u0026#39;t alter it- it returns a new map. That\u0026#39;s important, because it ends up getting used to do things like this:\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"language-java\"\u003e        \u003cspan class=\"hljs-keyword\"\u003eprotected\u003c/span\u003e String[] doReadUsersAll(Json json, ITEM[] items) {\n                \u003cspan class=\"hljs-comment\"\u003e// read all users into map\u003c/span\u003e\n                \u003cspan class=\"hljs-type\"\u003eJArray\u003c/span\u003e \u003cspan class=\"hljs-variable\"\u003eobjUsers\u003c/span\u003e \u003cspan class=\"hljs-operator\"\u003e=\u003c/span\u003e (JArray)json.get(\u003cspan class=\"hljs-string\"\u003e\u0026#34;UsersAll\u0026#34;\u003c/span\u003e).get(\u003cspan class=\"hljs-string\"\u003e\u0026#34;Users\u0026#34;\u003c/span\u003e);\n               \n                \u003cspan class=\"hljs-comment\"\u003e// get new map\u003c/span\u003e\n                Map\u0026lt;String, CalendarImpl\u0026gt; newMap = \u003cspan class=\"hljs-built_in\"\u003ethis\u003c/span\u003e.ensureMapSize(objUsers.getCount());\n                       \n                \u003cspan class=\"hljs-comment\"\u003e// loop and create calendar objects\u003c/span\u003e\n                String[] result = \u003cspan class=\"hljs-keyword\"\u003enew\u003c/span\u003e \u003cspan class=\"hljs-title class_\"\u003eString\u003c/span\u003e[\u003cspan class=\"hljs-number\"\u003e12\u003c/span\u003e];\n                \u003cspan class=\"hljs-type\"\u003eint\u003c/span\u003e k=\u003cspan class=\"hljs-number\"\u003e0\u003c/span\u003e;\n                \u003cspan class=\"hljs-keyword\"\u003efor\u003c/span\u003e (\u003cspan class=\"hljs-type\"\u003eint\u003c/span\u003e i=\u003cspan class=\"hljs-number\"\u003e0\u003c/span\u003e; i\u0026lt;objUsers.getCount(); i++) {\n                        \u003cspan class=\"hljs-type\"\u003eJObject\u003c/span\u003e \u003cspan class=\"hljs-variable\"\u003eobjJson\u003c/span\u003e \u003cspan class=\"hljs-operator\"\u003e=\u003c/span\u003e (JObject)objUsers.get(i);\n                        \u003cspan class=\"hljs-type\"\u003eString\u003c/span\u003e \u003cspan class=\"hljs-variable\"\u003eid\u003c/span\u003e \u003cspan class=\"hljs-operator\"\u003e=\u003c/span\u003e objJson.get(\u003cspan class=\"hljs-string\"\u003e\u0026#34;ID\u0026#34;\u003c/span\u003e).getStr();\n                        result = ArrayUtil.ensureSize(result, String.class, k+\u003cspan class=\"hljs-number\"\u003e1\u003c/span\u003e, \u003cspan class=\"hljs-number\"\u003e12\u003c/span\u003e);\n                        result[k++] = id;\n                       \n                        \u003cspan class=\"hljs-keyword\"\u003eif\u003c/span\u003e (newMap.containsKey(id)) {\n                                \u003cspan class=\"hljs-comment\"\u003e// add items we do not yet have\u003c/span\u003e\n                                \u003cspan class=\"hljs-type\"\u003eCalendarImpl\u003c/span\u003e \u003cspan class=\"hljs-variable\"\u003eknownCal\u003c/span\u003e \u003cspan class=\"hljs-operator\"\u003e=\u003c/span\u003e newMap.get(id);\n                                \u003cspan class=\"hljs-type\"\u003eUserImpl\u003c/span\u003e \u003cspan class=\"hljs-variable\"\u003eknownUser\u003c/span\u003e \u003cspan class=\"hljs-operator\"\u003e=\u003c/span\u003e (UserImpl)knownCal.getOwner();\n                                knownUser.addItems(objJson, items);\n                        } \u003cspan class=\"hljs-keyword\"\u003eelse\u003c/span\u003e {\n                                \u003cspan class=\"hljs-comment\"\u003e// just add (but use the full current user if it\u0026#39;s that)\u003c/span\u003e\n                                \u003cspan class=\"hljs-comment\"\u003e//TODO Should really allow user object to know the exact timezone\u003c/span\u003e\n                                \u003cspan class=\"hljs-type\"\u003eUserImpl\u003c/span\u003e \u003cspan class=\"hljs-variable\"\u003euser\u003c/span\u003e \u003cspan class=\"hljs-operator\"\u003e=\u003c/span\u003e UserImpl.buildInstance(\u003cspan class=\"hljs-built_in\"\u003ethis\u003c/span\u003e.api, objJson, items).setNameFormat(\u003cspan class=\"hljs-built_in\"\u003ethis\u003c/span\u003e.nameFormat);\n                                \u003cspan class=\"hljs-type\"\u003eCalendarImpl\u003c/span\u003e \u003cspan class=\"hljs-variable\"\u003ecal\u003c/span\u003e \u003cspan class=\"hljs-operator\"\u003e=\u003c/span\u003e \u003cspan class=\"hljs-keyword\"\u003enew\u003c/span\u003e \u003cspan class=\"hljs-title class_\"\u003eCalendarImpl\u003c/span\u003e(user);\n                                cal.setComparator(\u003cspan class=\"hljs-built_in\"\u003ethis\u003c/span\u003e.getComparator());\n                                newMap.put(id, cal);\n                        }\n                }\n               \n                \u003cspan class=\"hljs-comment\"\u003e// move pointer\u003c/span\u003e\n                \u003cspan class=\"hljs-built_in\"\u003ethis\u003c/span\u003e.calendars = newMap;\n               \n                \u003cspan class=\"hljs-comment\"\u003e// clear json to clear memory\u003c/span\u003e\n                json.clear();\n               \n                \u003cspan class=\"hljs-comment\"\u003e// return\u003c/span\u003e\n                \u003cspan class=\"hljs-keyword\"\u003ereturn\u003c/span\u003e Arrays.copyOfRange(result, \u003cspan class=\"hljs-number\"\u003e0\u003c/span\u003e, k);\n        }\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eThis takes JSON data, which I\u0026#39;ll add, \u003cem\u003eis managed by their own home-brewed JSON library\u003c/em\u003e, loads it into a map while also putting every read ID into a string array \u003cem\u003ewhich they also resize\u003c/em\u003e, ignoring the perfectly good auto-resizing Java collections.\u003c/p\u003e\n\u003cp\u003eThis code clearly was written by somebody who wanted to call \u003ccode\u003ememcpy\u003c/code\u003e and didn\u0026#39;t know what to do without it. You can also see the C/C++ influence in the comment \u003ccode\u003e// move pointer\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eHow much do you want to bet that the developer behind this also complained about how slow Java was? When you write code like this, how could it be slow?\u003c/p\u003e\n\u003c!-- Easy Reader Version: My bad C habit, which is bad in C but also bad anywhere else, is to type-pun. It\u0027s so goddamn convenient for reading data off the wire! --\u003e\n\u003cstyle\u003e.comment { border: none; }\u003c/style\u003e\u003cdiv\u003e\n\t\u003cimg src=\"https://thedailywtf.com/images/inedo/buildmaster-icon.png\" style=\"display:block; float: left; margin: 0 10px 10px 0;\"/\u003e [Advertisement] \n\t\u003ca href=\"https://inedo.com/BuildMaster?utm_source=tdwtf\u0026amp;utm_medium=footerad\u0026amp;utm_term=2018\u0026amp;utm_content=Self_Service\u0026amp;utm_campaign=Buildmaster_Footer\"\u003eBuildMaster\u003c/a\u003e allows you to create a self-service release management platform that allows different teams to manage their applications. \u003ca href=\"https://inedo.com/BuildMaster/download?utm_source=tdwtf\u0026amp;utm_medium=footerad\u0026amp;utm_term=2018\u0026amp;utm_content=Self_Service\u0026amp;utm_campaign=Buildmaster_Footer\"\u003eExplore how!\u003c/a\u003e \n\u003c/div\u003e\n\u003cdiv style=\"clear: left;\"\u003e \u003c/div\u003e\n","Title":"Java Dot Cpp","RssTitle":"CodeSOD: Java Dot Cpp","CachedCommentCount":8,"LastCommentDate":"\/Date(1796217151563)\/","LastCommentDateDescription":"13:12","DiscourseTopicId":null,"DiscourseTopicOpened":false,"PublishedDate":"\/Date(1796193000000)\/","ISODate":"2026-12-02","DisplayDate":"2026-12-02","Series":{"Slug":"code-sod","Title":"CodeSOD","Description":"Code Snippet Of the Day (CodeSOD) features interesting and usually incorrect code snippets taken from actual production code in a commercial and/or open source software projects.","CssClass":"code"},"FooterAdHtml":"\u003cdiv\u003e\n\t\u003cimg src=\"https://thedailywtf.com/images/inedo/buildmaster-icon.png\" style=\"display:block; float: left; margin: 0 10px 10px 0;\"/\u003e [Advertisement] \n\t\u003ca href=\"https://inedo.com/BuildMaster?utm_source=tdwtf\u0026amp;utm_medium=footerad\u0026amp;utm_term=2018\u0026amp;utm_content=Self_Service\u0026amp;utm_campaign=Buildmaster_Footer\"\u003eBuildMaster\u003c/a\u003e allows you to create a self-service release management platform that allows different teams to manage their applications. \u003ca href=\"https://inedo.com/BuildMaster/download?utm_source=tdwtf\u0026amp;utm_medium=footerad\u0026amp;utm_term=2018\u0026amp;utm_content=Self_Service\u0026amp;utm_campaign=Buildmaster_Footer\"\u003eExplore how!\u003c/a\u003e \n\u003c/div\u003e\n\u003cdiv style=\"clear: left;\"\u003e \u003c/div\u003e\n","Url":"https://thedailywtf.com/articles/java-dot-cpp","CommentsUrl":"https://thedailywtf.com/articles/comments/java-dot-cpp","Slug":"java-dot-cpp","TwitterUrl":"//www.twitter.com/home?status=https%3a%2f%2fthedailywtf.com%2farticles%2fjava-dot-cpp+-+Java+Dot+Cpp+-+The+Daily+WTF","FacebookUrl":"//www.facebook.com/sharer.php?u=https%3a%2f%2fthedailywtf.com%2farticles%2fjava-dot-cpp\u0026t=Java+Dot+Cpp+-+The+Daily+WTF","EmailUrl":"mailto:%20?subject=Check%20out%20this%20article%20on%20The%20Daily%20WTF...\u0026body=Java%20Dot%20Cpp:%20https://thedailywtf.com/articles/java-dot-cpp","GooglePlusUrl":"//plus.google.com/share?url=https%3a%2f%2fthedailywtf.com%2farticles%2fjava-dot-cpp","PreviousArticleId":11329,"PreviousArticleTitle":"What the Font?","PreviousArticleSlug":"what-the-font","PreviousArticleUrl":"//thedailywtf.com/articles/what-the-font","NextArticleId":null,"NextArticleTitle":null,"NextArticleSlug":null,"NextArticleUrl":"//thedailywtf.com/articles/"},{"Id":11329,"Author":{"Name":"Ellis Morning","FirstName":"Ellis","ShortDescription":null,"DescriptionHtml":"\u003cb\u003eEllis Morning\u003c/b\u003e is a Computer Science graduate who fought in the trenches of Tech Support, occasionally crossing enemy lines into the Business Analyst and Project Management spheres of war. She\u0027s now a freelance writer and technical writer. Check out her highly-rated \u003ca href=\"https://swordandstarship.com/\" target=\"_blank\"\u003esci-fi/fantasy novels\u003c/a\u003e and find more humor, fiction, and blog posts at her \u003ca href=\"https://www.ellismorning.com\" target=\"_blank\"\u003ewebsite\u003c/a\u003e.","Slug":"ellis-morning","IsAdmin":true,"IsActive":true,"ImageUrl":"https://ellismorning.com/img/ellis2.jpeg"},"Status":"Published","SummaryHtml":"\u003cp\u003eIn the corporate world, where there\u0026#39;s smoke, there\u0026#39;s a huge raging dumpster fire. From our submitter \u003cb\u003eGeorge:\u003c/b\u003e\u003c/p\u003e\n\n\u003cblockquote\u003e\n\u003cp\u003eNot all that long ago I was hired by a company that made and sold PostScript fonts. Their fonts had, for years, been crashing computers randomly. I knew a bit about PostScript, so a marriage made in heaven, right? Well, no.\u003c/p\u003e\n\n\u003c/blockquote\u003e","BodyHtml":"\u003cp\u003eIn the corporate world, where there\u0026#39;s smoke, there\u0026#39;s a huge raging dumpster fire. From our submitter \u003cb\u003eGeorge:\u003c/b\u003e\u003c/p\u003e\n\n\u003cblockquote\u003e\n\u003cp\u003eNot all that long ago I was hired by a company that made and sold PostScript fonts. Their fonts had, for years, been crashing computers randomly. I knew a bit about PostScript, so a marriage made in heaven, right? Well, no.\u003c/p\u003e\n\n\u003cp\u003eFirst day, I\u0026#39;m given an entry card to park into a nearby parking ramp. Great. Except I drive up and up the spiral ramp and the two tire-tack paths have all been badly patched over, like there\u0026#39;s been excessive crumbling from road salt carried in. I\u0026#39;m a little bit uneasy from that.\u003c/p\u003e\n\n\u003cp style=\"float:right; padding-left:10px; padding-bottom:10px;\"\u003e\u003ca href=\"https://commons.wikimedia.org/wiki/File:Student_fire_fighter_extinquishing_dumpster_fire.jpg\" title=\"U.S. Air Force photo/Staff Sgt. Levi Riendeau, Public domain, via Wikimedia Commons\"\u003e\u003cimg itemprop=\"image\" width=\"300\" src=\"https://thumb.wikimedia.org/wikipedia/commons/thumb/9/9f/Student_fire_fighter_extinquishing_dumpster_fire.jpg/960px-Student_fire_fighter_extinquishing_dumpster_fire.jpg?utm_source=commons.wikimedia.org\u0026amp;utm_campaign=index\u0026amp;utm_content=thumbnail\" srcset=\"https://thumb.wikimedia.org/wikipedia/commons/thumb/9/9f/Student_fire_fighter_extinquishing_dumpster_fire.jpg/330px-Student_fire_fighter_extinquishing_dumpster_fire.jpg?utm_source=commons.wikimedia.org\u0026amp;utm_campaign=index\u0026amp;utm_content=thumbnail 330w, https://thumb.wikimedia.org/wikipedia/commons/thumb/9/9f/Student_fire_fighter_extinquishing_dumpster_fire.jpg/960px-Student_fire_fighter_extinquishing_dumpster_fire.jpg?utm_source=commons.wikimedia.org\u0026amp;utm_campaign=index\u0026amp;utm_content=thumbnail 960w, https://thumb.wikimedia.org/wikipedia/commons/thumb/9/9f/Student_fire_fighter_extinquishing_dumpster_fire.jpg/1280px-Student_fire_fighter_extinquishing_dumpster_fire.jpg?utm_source=commons.wikimedia.org\u0026amp;utm_campaign=index\u0026amp;utm_content=thumbnail 1280w\" sizes=\"auto\" loading=\"lazy\" alt=\"Student fire fighter extinquishing dumpster fire\"/\u003e\u003c/a\u003e\u003c/p\u003e\n\n\u003cp\u003eI walk into my new office, just for me. Super. Except the building used to be a horse-barn 100 years ago, and it still strongly smells like leather and horses. Super. But I\u0026#39;m fond of old buildings, so I guess it\u0026#39;s okay.\u003c/p\u003e\n\n\u003cp\u003eI walk into the office of the guy that runs their servers. A familiar buzzing noise can be heard. I can see the only server for the whole company is a small gray plastic box from a local bare-bones consumer-grade PC maker, and it\u0026#39;s clear that the hard disk has about two more days before the ball bearings seize up. I know or suspect enough to not mention that. Instead, I just ask for a thumb drive so I can back up my files. He says the company doesn\u0026#39;t have any, but he spends all day every Thursday manually backing up all the company files to \u003ci\u003esomewhere.\u003c/i\u003e Okay, thanks.\u003c/p\u003e\n\n\u003cp\u003eFirst assignment, I was supposed to plan out how I was going to attack the problem. No problem for me, I had several awards for writing technical reports. I write about three pages in a morning and submit them to the staff and the company president. An hour later, some random guy comes into my office, hesitating to say anything, but eventually I get the gist: I was supposed to use some off-brand word processor, which crashed every six minutes, because the company president liked how it defaulted to baby-blue headings and maroon subheadings. Also, I had more than two sentences under one sub-heading. I follow the weird directions, only the next day the company president sets up a voice call meeting with me and my manager and berates me for \u0026#34;looking for a problem under the streetlight.\u0026#34; I bite my lip. My boss says nothing. Super.\u003c/p\u003e\n\n\u003cp\u003eSo I follow as rigorous a testing protocol as I can come up with. I run their font through the Microsoft font checker. It finds 433 serious font issues, mostly bounds violations and banned line geometries. I go a step further and use Adobe\u0026#39;s own font verifier. It finds twice as many errors, and deeper ones too, like most characters built from clockwise arcs, where PostScript requires all counter-clockwise arcs. Or was it the other way around? Anyway, all wrong.\u003c/p\u003e\n\n\u003cp\u003eI write a longish memo to boss and president, including font printouts showing the wrong drawing directions, plus almost all characters peeking outside their bounding boxes. President calls another meeting where he\u0026#39;s twice as loud and three times as sarcastic, saying there couldn\u0026#39;t possibly be anything wrong with their core fonts, never mind industry-standard duplicate checks saying very much the opposite.\u003c/p\u003e\n\n\u003cp\u003eI handed in my resignation a day later. (Only to end up at another place just as dysfunctional, but that\u0026#39;s another, even less-believable tale.) Six months later, there was an emergency patch released by Microsoft for Windows. Privilege escalation if you used any of that company\u0026#39;s fonts! I didn\u0026#39;t follow up closely what happened to the company, but if you do a Google search for their company name now, not a trace of them can be found.\u003c/p\u003e\n\u003c/blockquote\u003e","BodyAndAdHtml":"\u003cp\u003eIn the corporate world, where there\u0026#39;s smoke, there\u0026#39;s a huge raging dumpster fire. From our submitter \u003cb\u003eGeorge:\u003c/b\u003e\u003c/p\u003e\n\n\u003cblockquote\u003e\n\u003cp\u003eNot all that long ago I was hired by a company that made and sold PostScript fonts. Their fonts had, for years, been crashing computers randomly. I knew a bit about PostScript, so a marriage made in heaven, right? Well, no.\u003c/p\u003e\n\n\u003cp\u003eFirst day, I\u0026#39;m given an entry card to park into a nearby parking ramp. Great. Except I drive up and up the spiral ramp and the two tire-tack paths have all been badly patched over, like there\u0026#39;s been excessive crumbling from road salt carried in. I\u0026#39;m a little bit uneasy from that.\u003c/p\u003e\n\n\u003cp style=\"float:right; padding-left:10px; padding-bottom:10px;\"\u003e\u003ca href=\"https://commons.wikimedia.org/wiki/File:Student_fire_fighter_extinquishing_dumpster_fire.jpg\" title=\"U.S. Air Force photo/Staff Sgt. Levi Riendeau, Public domain, via Wikimedia Commons\"\u003e\u003cimg itemprop=\"image\" width=\"300\" src=\"https://thumb.wikimedia.org/wikipedia/commons/thumb/9/9f/Student_fire_fighter_extinquishing_dumpster_fire.jpg/960px-Student_fire_fighter_extinquishing_dumpster_fire.jpg?utm_source=commons.wikimedia.org\u0026amp;utm_campaign=index\u0026amp;utm_content=thumbnail\" srcset=\"https://thumb.wikimedia.org/wikipedia/commons/thumb/9/9f/Student_fire_fighter_extinquishing_dumpster_fire.jpg/330px-Student_fire_fighter_extinquishing_dumpster_fire.jpg?utm_source=commons.wikimedia.org\u0026amp;utm_campaign=index\u0026amp;utm_content=thumbnail 330w, https://thumb.wikimedia.org/wikipedia/commons/thumb/9/9f/Student_fire_fighter_extinquishing_dumpster_fire.jpg/960px-Student_fire_fighter_extinquishing_dumpster_fire.jpg?utm_source=commons.wikimedia.org\u0026amp;utm_campaign=index\u0026amp;utm_content=thumbnail 960w, https://thumb.wikimedia.org/wikipedia/commons/thumb/9/9f/Student_fire_fighter_extinquishing_dumpster_fire.jpg/1280px-Student_fire_fighter_extinquishing_dumpster_fire.jpg?utm_source=commons.wikimedia.org\u0026amp;utm_campaign=index\u0026amp;utm_content=thumbnail 1280w\" sizes=\"auto\" loading=\"lazy\" alt=\"Student fire fighter extinquishing dumpster fire\"/\u003e\u003c/a\u003e\u003c/p\u003e\n\n\u003cp\u003eI walk into my new office, just for me. Super. Except the building used to be a horse-barn 100 years ago, and it still strongly smells like leather and horses. Super. But I\u0026#39;m fond of old buildings, so I guess it\u0026#39;s okay.\u003c/p\u003e\n\n\u003cp\u003eI walk into the office of the guy that runs their servers. A familiar buzzing noise can be heard. I can see the only server for the whole company is a small gray plastic box from a local bare-bones consumer-grade PC maker, and it\u0026#39;s clear that the hard disk has about two more days before the ball bearings seize up. I know or suspect enough to not mention that. Instead, I just ask for a thumb drive so I can back up my files. He says the company doesn\u0026#39;t have any, but he spends all day every Thursday manually backing up all the company files to \u003ci\u003esomewhere.\u003c/i\u003e Okay, thanks.\u003c/p\u003e\n\n\u003cp\u003eFirst assignment, I was supposed to plan out how I was going to attack the problem. No problem for me, I had several awards for writing technical reports. I write about three pages in a morning and submit them to the staff and the company president. An hour later, some random guy comes into my office, hesitating to say anything, but eventually I get the gist: I was supposed to use some off-brand word processor, which crashed every six minutes, because the company president liked how it defaulted to baby-blue headings and maroon subheadings. Also, I had more than two sentences under one sub-heading. I follow the weird directions, only the next day the company president sets up a voice call meeting with me and my manager and berates me for \u0026#34;looking for a problem under the streetlight.\u0026#34; I bite my lip. My boss says nothing. Super.\u003c/p\u003e\n\n\u003cp\u003eSo I follow as rigorous a testing protocol as I can come up with. I run their font through the Microsoft font checker. It finds 433 serious font issues, mostly bounds violations and banned line geometries. I go a step further and use Adobe\u0026#39;s own font verifier. It finds twice as many errors, and deeper ones too, like most characters built from clockwise arcs, where PostScript requires all counter-clockwise arcs. Or was it the other way around? Anyway, all wrong.\u003c/p\u003e\n\n\u003cp\u003eI write a longish memo to boss and president, including font printouts showing the wrong drawing directions, plus almost all characters peeking outside their bounding boxes. President calls another meeting where he\u0026#39;s twice as loud and three times as sarcastic, saying there couldn\u0026#39;t possibly be anything wrong with their core fonts, never mind industry-standard duplicate checks saying very much the opposite.\u003c/p\u003e\n\n\u003cp\u003eI handed in my resignation a day later. (Only to end up at another place just as dysfunctional, but that\u0026#39;s another, even less-believable tale.) Six months later, there was an emergency patch released by Microsoft for Windows. Privilege escalation if you used any of that company\u0026#39;s fonts! I didn\u0026#39;t follow up closely what happened to the company, but if you do a Google search for their company name now, not a trace of them can be found.\u003c/p\u003e\n\u003c/blockquote\u003e\u003cdiv\u003e\n\t\u003cimg src=\"https://thedailywtf.com/images/inedo/proget-icon.png\" style=\"display:block; float: left; margin: 0 10px 10px 0;\"/\u003e [Advertisement] \n\tKeep the plebs out of prod. Restrict NuGet feed privileges with ProGet. \u003ca href=\"https://inedo.com/proget/private-nuget-server?utm_source=tdwtf\u0026amp;utm_medium=footer\u0026amp;utm_content=PlebsFooter\u0026amp;utm_campaign=Cyclops2020\"\u003eLearn more.\u003c/a\u003e\n\u003c/div\u003e\n\u003cdiv style=\"clear: left;\"\u003e \u003c/div\u003e\n","Title":"What the Font?","RssTitle":"What the Font?","CachedCommentCount":17,"LastCommentDate":"\/Date(1796218647033)\/","LastCommentDateDescription":"13:37","DiscourseTopicId":null,"DiscourseTopicOpened":false,"PublishedDate":"\/Date(1796106600000)\/","ISODate":"2026-12-01","DisplayDate":"2026-12-01","Series":{"Slug":"feature-articles","Title":"Feature Articles","Description":"","CssClass":"featured"},"FooterAdHtml":"\u003cdiv\u003e\n\t\u003cimg src=\"https://thedailywtf.com/images/inedo/proget-icon.png\" style=\"display:block; float: left; margin: 0 10px 10px 0;\"/\u003e [Advertisement] \n\tKeep the plebs out of prod. Restrict NuGet feed privileges with ProGet. \u003ca href=\"https://inedo.com/proget/private-nuget-server?utm_source=tdwtf\u0026amp;utm_medium=footer\u0026amp;utm_content=PlebsFooter\u0026amp;utm_campaign=Cyclops2020\"\u003eLearn more.\u003c/a\u003e\n\u003c/div\u003e\n\u003cdiv style=\"clear: left;\"\u003e \u003c/div\u003e\n","Url":"https://thedailywtf.com/articles/what-the-font","CommentsUrl":"https://thedailywtf.com/articles/comments/what-the-font","Slug":"what-the-font","TwitterUrl":"//www.twitter.com/home?status=https%3a%2f%2fthedailywtf.com%2farticles%2fwhat-the-font+-+What+the+Font%3f+-+The+Daily+WTF","FacebookUrl":"//www.facebook.com/sharer.php?u=https%3a%2f%2fthedailywtf.com%2farticles%2fwhat-the-font\u0026t=What+the+Font%3f+-+The+Daily+WTF","EmailUrl":"mailto:%20?subject=Check%20out%20this%20article%20on%20The%20Daily%20WTF...\u0026body=What%20the%20Font?: https://thedailywtf.com/articles/what-the-font","GooglePlusUrl":"//plus.google.com/share?url=https%3a%2f%2fthedailywtf.com%2farticles%2fwhat-the-font","PreviousArticleId":11328,"PreviousArticleTitle":"Switched On Readability","PreviousArticleSlug":"switched-on-readability","PreviousArticleUrl":"//thedailywtf.com/articles/switched-on-readability","NextArticleId":11330,"NextArticleTitle":"Java Dot Cpp","NextArticleSlug":"java-dot-cpp","NextArticleUrl":"//thedailywtf.com/articles/java-dot-cpp"},{"Id":11328,"Author":{"Name":"Remy Porter","FirstName":"Remy","ShortDescription":"Computers were a mistake, so I accidentally became a farmer? Editor-in-Chief for TDWTF.","DescriptionHtml":"\u003cp\u003eRemy is a veteran developer who writes software for farming robots. They pick tomatoes.\u003c/p\u003e\r\n\u003cp\u003eHe\u0027s often on stage, doing improv comedy, but insists that \u003cem\u003ehe\u003c/em\u003e isn\u0027t doing comedy- it\u0027s deadly serious. You\u0027re laughing at him, not with him. That, by the way, is usually true- you\u0027re laughing at him, not with him.\u003c/p\u003e","Slug":"remy-porter","IsAdmin":true,"IsActive":true,"ImageUrl":"https://s3.amazonaws.com/remy.jetpackshark.com/remy-thumb.jpg"},"Status":"Published","SummaryHtml":"\u003cp\u003e\u003cstrong\u003eJon\u003c/strong\u003e has a team mate that has a coding quirk. They tend to write this pattern a lot.\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"language-cpp\"\u003e\u003cspan class=\"hljs-keyword\"\u003eswitch\u003c/span\u003e (someEnum)\n{\n    \u003cspan class=\"hljs-keyword\"\u003ecase\u003c/span\u003e EnumType::TargetValue: \u003cspan class=\"hljs-built_in\"\u003edoStuff\u003c/span\u003e(); \u003cspan class=\"hljs-keyword\"\u003ebreak\u003c/span\u003e;\n    \u003cspan class=\"hljs-keyword\"\u003edefault\u003c/span\u003e: \u003cspan class=\"hljs-built_in\"\u003edoOtherStuff\u003c/span\u003e();\n}\n\u003c/code\u003e\u003c/pre\u003e\n","BodyHtml":"\u003cp\u003e\u003cstrong\u003eJon\u003c/strong\u003e has a team mate that has a coding quirk. They tend to write this pattern a lot.\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"language-cpp\"\u003e\u003cspan class=\"hljs-keyword\"\u003eswitch\u003c/span\u003e (someEnum)\n{\n    \u003cspan class=\"hljs-keyword\"\u003ecase\u003c/span\u003e EnumType::TargetValue: \u003cspan class=\"hljs-built_in\"\u003edoStuff\u003c/span\u003e(); \u003cspan class=\"hljs-keyword\"\u003ebreak\u003c/span\u003e;\n    \u003cspan class=\"hljs-keyword\"\u003edefault\u003c/span\u003e: \u003cspan class=\"hljs-built_in\"\u003edoOtherStuff\u003c/span\u003e();\n}\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eSpecifically, they have these single branch switches. Usually when using enums, but they\u0026#39;ve even done it for booleans a few times, like:\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"language-cpp\"\u003e\u003cspan class=\"hljs-keyword\"\u003eswitch\u003c/span\u003e(someBool)\n{\n    \u003cspan class=\"hljs-keyword\"\u003ecase\u003c/span\u003e \u003cspan class=\"hljs-literal\"\u003etrue\u003c/span\u003e: \u003cspan class=\"hljs-built_in\"\u003edoStuff\u003c/span\u003e(); \u003cspan class=\"hljs-keyword\"\u003ebreak\u003c/span\u003e;\n    \u003cspan class=\"hljs-keyword\"\u003edefault\u003c/span\u003e: \u003cspan class=\"hljs-built_in\"\u003edoOtherStuff\u003c/span\u003e();\n}\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eIt\u0026#39;s not 100% true that they eschew if statements, but they rarely use them. They write basically any condition via a switch. Why? No one knows. Not even them. \u0026#34;I just think it\u0026#39;s easier to read.\u0026#34;\u003c/p\u003e\n\u003c!-- Easy Reader Version: look, any version of a switch is better than the Python approach of stuffing callables in a map and pretending it\u0027s a switch. --\u003e","BodyAndAdHtml":"\u003cp\u003e\u003cstrong\u003eJon\u003c/strong\u003e has a team mate that has a coding quirk. They tend to write this pattern a lot.\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"language-cpp\"\u003e\u003cspan class=\"hljs-keyword\"\u003eswitch\u003c/span\u003e (someEnum)\n{\n    \u003cspan class=\"hljs-keyword\"\u003ecase\u003c/span\u003e EnumType::TargetValue: \u003cspan class=\"hljs-built_in\"\u003edoStuff\u003c/span\u003e(); \u003cspan class=\"hljs-keyword\"\u003ebreak\u003c/span\u003e;\n    \u003cspan class=\"hljs-keyword\"\u003edefault\u003c/span\u003e: \u003cspan class=\"hljs-built_in\"\u003edoOtherStuff\u003c/span\u003e();\n}\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eSpecifically, they have these single branch switches. Usually when using enums, but they\u0026#39;ve even done it for booleans a few times, like:\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"language-cpp\"\u003e\u003cspan class=\"hljs-keyword\"\u003eswitch\u003c/span\u003e(someBool)\n{\n    \u003cspan class=\"hljs-keyword\"\u003ecase\u003c/span\u003e \u003cspan class=\"hljs-literal\"\u003etrue\u003c/span\u003e: \u003cspan class=\"hljs-built_in\"\u003edoStuff\u003c/span\u003e(); \u003cspan class=\"hljs-keyword\"\u003ebreak\u003c/span\u003e;\n    \u003cspan class=\"hljs-keyword\"\u003edefault\u003c/span\u003e: \u003cspan class=\"hljs-built_in\"\u003edoOtherStuff\u003c/span\u003e();\n}\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eIt\u0026#39;s not 100% true that they eschew if statements, but they rarely use them. They write basically any condition via a switch. Why? No one knows. Not even them. \u0026#34;I just think it\u0026#39;s easier to read.\u0026#34;\u003c/p\u003e\n\u003c!-- Easy Reader Version: look, any version of a switch is better than the Python approach of stuffing callables in a map and pretending it\u0027s a switch. --\u003e\u003cdiv\u003e\n\t[Advertisement] \u003cb\u003ePlan Your .NET 9 Migration with Confidence\u003c/b\u003e\u003cbr/\u003eYour journey to .NET 9 is more than just one decision.Avoid migration migraines with the advice in this free guide. \u003cb\u003e\u003ca href=\"https://inedo.com/support/whitepapers/dotnet-guide?utm_campaign=dotnet\u0026amp;utm_source=tdwtf-footer\"\u003eDownload Free Guide Now!\u003c/a\u003e\u003c/b\u003e\n\u003c/div\u003e\n\u003cdiv style=\"clear: left;\"\u003e \u003c/div\u003e","Title":"Switched On Readability","RssTitle":"CodeSOD: Switched On Readability","CachedCommentCount":22,"LastCommentDate":"\/Date(1796124873400)\/","LastCommentDateDescription":"2026-12-01","DiscourseTopicId":null,"DiscourseTopicOpened":false,"PublishedDate":"\/Date(1796020200000)\/","ISODate":"2026-11-30","DisplayDate":"2026-11-30","Series":{"Slug":"code-sod","Title":"CodeSOD","Description":"Code Snippet Of the Day (CodeSOD) features interesting and usually incorrect code snippets taken from actual production code in a commercial and/or open source software projects.","CssClass":"code"},"FooterAdHtml":"\u003cdiv\u003e\n\t[Advertisement] \u003cb\u003ePlan Your .NET 9 Migration with Confidence\u003c/b\u003e\u003cbr/\u003eYour journey to .NET 9 is more than just one decision.Avoid migration migraines with the advice in this free guide. \u003cb\u003e\u003ca href=\"https://inedo.com/support/whitepapers/dotnet-guide?utm_campaign=dotnet\u0026amp;utm_source=tdwtf-footer\"\u003eDownload Free Guide Now!\u003c/a\u003e\u003c/b\u003e\n\u003c/div\u003e\n\u003cdiv style=\"clear: left;\"\u003e \u003c/div\u003e","Url":"https://thedailywtf.com/articles/switched-on-readability","CommentsUrl":"https://thedailywtf.com/articles/comments/switched-on-readability","Slug":"switched-on-readability","TwitterUrl":"//www.twitter.com/home?status=https%3a%2f%2fthedailywtf.com%2farticles%2fswitched-on-readability+-+Switched+On+Readability+-+The+Daily+WTF","FacebookUrl":"//www.facebook.com/sharer.php?u=https%3a%2f%2fthedailywtf.com%2farticles%2fswitched-on-readability\u0026t=Switched+On+Readability+-+The+Daily+WTF","EmailUrl":"mailto:%20?subject=Check%20out%20this%20article%20on%20The%20Daily%20WTF...\u0026body=Switched%20On%20Readability:%20https://thedailywtf.com/articles/switched-on-readability","GooglePlusUrl":"//plus.google.com/share?url=https%3a%2f%2fthedailywtf.com%2farticles%2fswitched-on-readability","PreviousArticleId":11327,"PreviousArticleTitle":"Mental Health","PreviousArticleSlug":"mental-health","PreviousArticleUrl":"//thedailywtf.com/articles/mental-health","NextArticleId":11329,"NextArticleTitle":"What the Font?","NextArticleSlug":"what-the-font","NextArticleUrl":"//thedailywtf.com/articles/what-the-font"},{"Id":11327,"Author":{"Name":"Lyle Seaman","FirstName":"Lyle","ShortDescription":"networking, security infra and filesystems kernel hacker turned application programmer, SRE and engineering manager, Lyle traded tilting at windmills for viking at Vikings but couldn\u0027t catch any.","DescriptionHtml":null,"Slug":"lyle-seaman","IsAdmin":true,"IsActive":true,"ImageUrl":"/images/imageslws/viking.jpg"},"Status":"Published","SummaryHtml":"\u003cp\u003eUncharacteristically, I will be earnest for a moment. The holiday season can be a difficult time for many people, for many reasons that are beyond the scope of this column except for the fact that most of them are also wtfs. If you\u0026#39;re one of those, stick around, because there are a lot of us here.  And with that, on to BJH, who\u0026#39;s a little behind.\u003c/p\u003e\n\n\u003cp\u003e\n\u003cstrong\u003eB.J. H.\u003c/strong\u003e reflects \n\u0026#34;Have there been any changes in my life in the\nlast 55 years that could cause depression, other than the\ncreation of the Internet?\u0026#34; I can think of a few but that\u0026#39;s definitely on the list.\n\u003c/p\u003e\u003cblockquote\u003e\u003c/blockquote\u003e","BodyHtml":"\u003cp\u003eUncharacteristically, I will be earnest for a moment. The holiday season can be a difficult time for many people, for many reasons that are beyond the scope of this column except for the fact that most of them are also wtfs. If you\u0026#39;re one of those, stick around, because there are a lot of us here.  And with that, on to BJH, who\u0026#39;s a little behind.\u003c/p\u003e\n\n\u003cp\u003e\n\u003cstrong\u003eB.J. H.\u003c/strong\u003e reflects \n\u0026#34;Have there been any changes in my life in the\nlast 55 years that could cause depression, other than the\ncreation of the Internet?\u0026#34; I can think of a few but that\u0026#39;s definitely on the list.\n\u003c/p\u003e\u003cblockquote\u003e\u003cp\u003e\u003ca href=\"#88dd478897514cec92bd6fefbf0d8226\"\u003e\u003cimg itemprop=\"image\" border=\"0\" alt=\"88dd478897514cec92bd6fefbf0d8226\" src=\"https://d3hvi6t161kfmf.cloudfront.net/images/2026/11/26/88dd478897514cec92bd6fefbf0d8226.png\"/\u003e\u003c/a\u003e\u003c/p\u003e\u003cp\u003e \u003c/p\u003e\u003c/blockquote\u003e\n\n\u003cp\u003e\u0026#34;I am not an (alphanumeric) number, I\u0026#39;m a free man!\u0026#34; declares\n\u003cstrong\u003eSimon T.\u003c/strong\u003e\n\u0026#34;Teams offered me a new look interface at the top\n- would I like to try it? I felt like\nI needed a bit of a thrill after my previous\nTeams call, so went for it. This is the thankyou\nI got ??\u0026#34; I have been ruminating on how to manage the increasingly high rate of change (and the desire for even more) in user interfaces. It looks like Teams hasn\u0026#39;t figured it out either.\n\u003c/p\u003e\u003cblockquote\u003e\u003cp\u003e\u003ca href=\"#8ae185a3af65495f9d524d532b8a3441\"\u003e\u003cimg itemprop=\"image\" border=\"0\" alt=\"8ae185a3af65495f9d524d532b8a3441\" src=\"https://d3hvi6t161kfmf.cloudfront.net/images/2026/11/26/8ae185a3af65495f9d524d532b8a3441.png\"/\u003e\u003c/a\u003e\u003c/p\u003e\u003cp\u003e \u003c/p\u003e\u003c/blockquote\u003e\n\n\u003cp\u003e\u0026#34;A two-fer\u0026#34; from \n\u003cstrong\u003eMike S.\u003c/strong\u003e declares\n\u0026#34;These gems came from the Xfinity website during the very\nsame session. Made me question my reality. Description For Made\nme question my reality.\u0026#34;\n\u003c/p\u003e\u003cblockquote\u003e\u003cp\u003e\u003ca href=\"#1b589ff2384542af9bc62694e05694c1\"\u003e\u003cimg itemprop=\"image\" border=\"0\" alt=\"1b589ff2384542af9bc62694e05694c1\" src=\"https://d3hvi6t161kfmf.cloudfront.net/images/2026/11/26/1b589ff2384542af9bc62694e05694c1.png\"/\u003e\u003c/a\u003e\u003c/p\u003e\u003cp\u003e \u003c/p\u003e\u003c/blockquote\u003e\n\n\n\u003cp\u003e\u0026#34;Is cloning already a thing now?\u0026#34; asks\n\u003cstrong\u003eklinsten\u003c/strong\u003e. This one requires a translation for the obligate anglophones. The text in the screenshot here, translate to English as best I and Google can manage, is something like\u003cbr/\u003e\n\u0026#34;We notice that your mother is listed as the beneficiary upon death in the attached policy.\n\u003cbr/\u003e\nTo amend the beneficiary clause, we kindly request you to deliver a front and back copy of you and \u003cem\u003eredacted\u003c/em\u003e.\n\u003cbr/\u003e\nUnless we are mistaken, is \u003cem\u003eredacted\u003c/em\u003e your wife?\n\u0026#34;\n\u003c/p\u003e\u003cblockquote\u003e\u003cp\u003e\u003ca href=\"#2840083a36eb44ed94fe6efe8d825590\"\u003e\u003cimg itemprop=\"image\" border=\"0\" alt=\"2840083a36eb44ed94fe6efe8d825590\" src=\"https://d3hvi6t161kfmf.cloudfront.net/images/2026/11/26/2840083a36eb44ed94fe6efe8d825590.png\"/\u003e\u003c/a\u003e\u003c/p\u003e\u003cp\u003e \u003c/p\u003e\u003c/blockquote\u003e\n\n\n\u003cp\u003eOur old but not \u003cem\u003ethat\u003c/em\u003e old friend\n\u003cstrong\u003eMichael R.\u003c/strong\u003e demurs.\n\u0026#34;I rather won\u0026#39;t add a bank account then.\u0026#34;\n\u003c/p\u003e\u003cblockquote\u003e\u003cp\u003e\u003ca href=\"#366592c05ff4461b823a041eced62907\"\u003e\u003cimg itemprop=\"image\" border=\"0\" alt=\"366592c05ff4461b823a041eced62907\" src=\"https://d3hvi6t161kfmf.cloudfront.net/images/2026/11/26/366592c05ff4461b823a041eced62907.png\"/\u003e\u003c/a\u003e\u003c/p\u003e\u003cp\u003e \u003c/p\u003e\u003c/blockquote\u003e\nPeace.\n","BodyAndAdHtml":"\u003cp\u003eUncharacteristically, I will be earnest for a moment. The holiday season can be a difficult time for many people, for many reasons that are beyond the scope of this column except for the fact that most of them are also wtfs. If you\u0026#39;re one of those, stick around, because there are a lot of us here.  And with that, on to BJH, who\u0026#39;s a little behind.\u003c/p\u003e\n\n\u003cp\u003e\n\u003cstrong\u003eB.J. H.\u003c/strong\u003e reflects \n\u0026#34;Have there been any changes in my life in the\nlast 55 years that could cause depression, other than the\ncreation of the Internet?\u0026#34; I can think of a few but that\u0026#39;s definitely on the list.\n\u003c/p\u003e\u003cblockquote\u003e\u003cp\u003e\u003ca href=\"#88dd478897514cec92bd6fefbf0d8226\"\u003e\u003cimg itemprop=\"image\" border=\"0\" alt=\"88dd478897514cec92bd6fefbf0d8226\" src=\"https://d3hvi6t161kfmf.cloudfront.net/images/2026/11/26/88dd478897514cec92bd6fefbf0d8226.png\"/\u003e\u003c/a\u003e\u003c/p\u003e\u003cp\u003e \u003c/p\u003e\u003c/blockquote\u003e\n\n\u003cp\u003e\u0026#34;I am not an (alphanumeric) number, I\u0026#39;m a free man!\u0026#34; declares\n\u003cstrong\u003eSimon T.\u003c/strong\u003e\n\u0026#34;Teams offered me a new look interface at the top\n- would I like to try it? I felt like\nI needed a bit of a thrill after my previous\nTeams call, so went for it. This is the thankyou\nI got ??\u0026#34; I have been ruminating on how to manage the increasingly high rate of change (and the desire for even more) in user interfaces. It looks like Teams hasn\u0026#39;t figured it out either.\n\u003c/p\u003e\u003cblockquote\u003e\u003cp\u003e\u003ca href=\"#8ae185a3af65495f9d524d532b8a3441\"\u003e\u003cimg itemprop=\"image\" border=\"0\" alt=\"8ae185a3af65495f9d524d532b8a3441\" src=\"https://d3hvi6t161kfmf.cloudfront.net/images/2026/11/26/8ae185a3af65495f9d524d532b8a3441.png\"/\u003e\u003c/a\u003e\u003c/p\u003e\u003cp\u003e \u003c/p\u003e\u003c/blockquote\u003e\n\n\u003cp\u003e\u0026#34;A two-fer\u0026#34; from \n\u003cstrong\u003eMike S.\u003c/strong\u003e declares\n\u0026#34;These gems came from the Xfinity website during the very\nsame session. Made me question my reality. Description For Made\nme question my reality.\u0026#34;\n\u003c/p\u003e\u003cblockquote\u003e\u003cp\u003e\u003ca href=\"#1b589ff2384542af9bc62694e05694c1\"\u003e\u003cimg itemprop=\"image\" border=\"0\" alt=\"1b589ff2384542af9bc62694e05694c1\" src=\"https://d3hvi6t161kfmf.cloudfront.net/images/2026/11/26/1b589ff2384542af9bc62694e05694c1.png\"/\u003e\u003c/a\u003e\u003c/p\u003e\u003cp\u003e \u003c/p\u003e\u003c/blockquote\u003e\n\n\n\u003cp\u003e\u0026#34;Is cloning already a thing now?\u0026#34; asks\n\u003cstrong\u003eklinsten\u003c/strong\u003e. This one requires a translation for the obligate anglophones. The text in the screenshot here, translate to English as best I and Google can manage, is something like\u003cbr/\u003e\n\u0026#34;We notice that your mother is listed as the beneficiary upon death in the attached policy.\n\u003cbr/\u003e\nTo amend the beneficiary clause, we kindly request you to deliver a front and back copy of you and \u003cem\u003eredacted\u003c/em\u003e.\n\u003cbr/\u003e\nUnless we are mistaken, is \u003cem\u003eredacted\u003c/em\u003e your wife?\n\u0026#34;\n\u003c/p\u003e\u003cblockquote\u003e\u003cp\u003e\u003ca href=\"#2840083a36eb44ed94fe6efe8d825590\"\u003e\u003cimg itemprop=\"image\" border=\"0\" alt=\"2840083a36eb44ed94fe6efe8d825590\" src=\"https://d3hvi6t161kfmf.cloudfront.net/images/2026/11/26/2840083a36eb44ed94fe6efe8d825590.png\"/\u003e\u003c/a\u003e\u003c/p\u003e\u003cp\u003e \u003c/p\u003e\u003c/blockquote\u003e\n\n\n\u003cp\u003eOur old but not \u003cem\u003ethat\u003c/em\u003e old friend\n\u003cstrong\u003eMichael R.\u003c/strong\u003e demurs.\n\u0026#34;I rather won\u0026#39;t add a bank account then.\u0026#34;\n\u003c/p\u003e\u003cblockquote\u003e\u003cp\u003e\u003ca href=\"#366592c05ff4461b823a041eced62907\"\u003e\u003cimg itemprop=\"image\" border=\"0\" alt=\"366592c05ff4461b823a041eced62907\" src=\"https://d3hvi6t161kfmf.cloudfront.net/images/2026/11/26/366592c05ff4461b823a041eced62907.png\"/\u003e\u003c/a\u003e\u003c/p\u003e\u003cp\u003e \u003c/p\u003e\u003c/blockquote\u003e\nPeace.\n\u003cdiv\u003e\n\t\u003cimg src=\"https://thedailywtf.com/images/inedo/proget-icon.png\" style=\"display:block; float: left; margin: 0 10px 10px 0;\"/\u003e [Advertisement] \n\tKeep the plebs out of prod. Restrict NuGet feed privileges with ProGet. \u003ca href=\"https://inedo.com/proget/private-nuget-server?utm_source=tdwtf\u0026amp;utm_medium=footer\u0026amp;utm_content=PlebsFooter\u0026amp;utm_campaign=Cyclops2020\"\u003eLearn more.\u003c/a\u003e\n\u003c/div\u003e\n\u003cdiv style=\"clear: left;\"\u003e \u003c/div\u003e\n","Title":"Mental Health","RssTitle":"Error\u0027d: Mental Health","CachedCommentCount":4,"LastCommentDate":"\/Date(1795787351290)\/","LastCommentDateDescription":"2026-11-27","DiscourseTopicId":null,"DiscourseTopicOpened":false,"PublishedDate":"\/Date(1795761000000)\/","ISODate":"2026-11-27","DisplayDate":"2026-11-27","Series":{"Slug":"errord","Title":"Error\u0027d","Description":"Error\u0027d features fun error messages and other visual oddities from the world of IT.","CssClass":"errord"},"FooterAdHtml":"\u003cdiv\u003e\n\t\u003cimg src=\"https://thedailywtf.com/images/inedo/proget-icon.png\" style=\"display:block; float: left; margin: 0 10px 10px 0;\"/\u003e [Advertisement] \n\tKeep the plebs out of prod. Restrict NuGet feed privileges with ProGet. \u003ca href=\"https://inedo.com/proget/private-nuget-server?utm_source=tdwtf\u0026amp;utm_medium=footer\u0026amp;utm_content=PlebsFooter\u0026amp;utm_campaign=Cyclops2020\"\u003eLearn more.\u003c/a\u003e\n\u003c/div\u003e\n\u003cdiv style=\"clear: left;\"\u003e \u003c/div\u003e\n","Url":"https://thedailywtf.com/articles/mental-health","CommentsUrl":"https://thedailywtf.com/articles/comments/mental-health","Slug":"mental-health","TwitterUrl":"//www.twitter.com/home?status=https%3a%2f%2fthedailywtf.com%2farticles%2fmental-health+-+Mental+Health+-+The+Daily+WTF","FacebookUrl":"//www.facebook.com/sharer.php?u=https%3a%2f%2fthedailywtf.com%2farticles%2fmental-health\u0026t=Mental+Health+-+The+Daily+WTF","EmailUrl":"mailto:%20?subject=Check%20out%20this%20article%20on%20The%20Daily%20WTF...\u0026body=Mental%20Health:%20https://thedailywtf.com/articles/mental-health","GooglePlusUrl":"//plus.google.com/share?url=https%3a%2f%2fthedailywtf.com%2farticles%2fmental-health","PreviousArticleId":11326,"PreviousArticleTitle":"Classic WTF: The Quine Programmer","PreviousArticleSlug":"classic-wtf-the-quine-programmer","PreviousArticleUrl":"//thedailywtf.com/articles/classic-wtf-the-quine-programmer","NextArticleId":11328,"NextArticleTitle":"Switched On Readability","NextArticleSlug":"switched-on-readability","NextArticleUrl":"//thedailywtf.com/articles/switched-on-readability"},{"Id":11326,"Author":{"Name":"Alex Papadimoulis","FirstName":"Alex","ShortDescription":"Founder, The Daily WTF","DescriptionHtml":"Alex is a speaker and writer who is passionate about looking beyond the code to build great software. In addition to founding \u003ca href=\"http://inedo.com/\"\u003eInedo\u003c/a\u003e - the makers of \u003ca href=\"http://inedo.com/buildmaster\"\u003eBuildMaster\u003c/a\u003e, the popular continuous delivery platform - Alex also started The Daily WTF, a fun site dedicated to building software the wrong way.\r\n","Slug":"alex-papadimoulis","IsAdmin":true,"IsActive":true,"ImageUrl":"https://thedailywtf.com/images/alexp/apx-square500.jpg"},"Status":"Published","SummaryHtml":"\u003cblockquote\u003eIt\u0026#39;s a holiday in the US, where we give thanks. Specifically, we give thanks that we\u0026#39;re not working with the person responsible for this. \u003ca href=\"https://thedailywtf.com/articles/The-Quine-Programmer\"\u003eOriginal\u003c/a\u003e --\u003cstrong\u003eRemy\u003c/strong\u003e\u003c/blockquote\u003e\n\n\u003cp\u003eThe Quine – i.e., a program that produces its own source code as output – lives in the esoteric realm of computing and computer science. It’s almost entirely useless, but usually pretty fun. The Quine Programmer, on the other hand, is among the pantheon of programming gods, sitting between The Great Abstractor and \u003ca href=\"https://thedailywtf.com/Articles/Divine-by-Zero.aspx\"\u003eThe PHP God\u003c/a\u003e.\u003c/p\u003e\n\u003cp\u003eThe Quine Programmer has the uncanny gifts of being infinitely good at programming \u003cem\u003eand\u003c/em\u003e infinitely insightful, thus allowing him to write a program to replace himself and all other programmers. The output of The Quine Programmer is system that’s fully configurable by the end-user; should the end-user want something changed, she can simply change it herself.\u003c/p\u003e\n","BodyHtml":"\u003cblockquote\u003eIt\u0026#39;s a holiday in the US, where we give thanks. Specifically, we give thanks that we\u0026#39;re not working with the person responsible for this. \u003ca href=\"https://thedailywtf.com/articles/The-Quine-Programmer\"\u003eOriginal\u003c/a\u003e --\u003cstrong\u003eRemy\u003c/strong\u003e\u003c/blockquote\u003e\n\n\u003cp\u003eThe Quine – i.e., a program that produces its own source code as output – lives in the esoteric realm of computing and computer science. It’s almost entirely useless, but usually pretty fun. The Quine Programmer, on the other hand, is among the pantheon of programming gods, sitting between The Great Abstractor and \u003ca href=\"https://thedailywtf.com/Articles/Divine-by-Zero.aspx\"\u003eThe PHP God\u003c/a\u003e.\u003c/p\u003e\n\u003cp\u003eThe Quine Programmer has the uncanny gifts of being infinitely good at programming \u003cem\u003eand\u003c/em\u003e infinitely insightful, thus allowing him to write a program to replace himself and all other programmers. The output of The Quine Programmer is system that’s fully configurable by the end-user; should the end-user want something changed, she can simply change it herself.\u003c/p\u003e\n\u003cp\u003eOf course, “can” and “will” are two separate concepts, and oftentimes the end-user of such a system will rely on others for such a change. \u003cb\u003eWilly\u003c/b\u003e is one of those “others”, and he often finds himself wondering why the end-user just doesn’t change the logic herself. After all, their system was built by The Quine Programmer himself, and is therefore easily changeable.\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp\u003e\u003cimg itemprop=\"image\" alt=\"\" src=\"https://thedailywtf.com/images/201106/workflow.png\"/\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cp\u003eWilly also finds himself wondering how he ended up as a “programmer” of a system that clearly needs no “programming” and how long it will take for him to find a new job. He’s hoping it’s before he’s tasked with modifying one of the “complex” workflows.\u003c/p\u003e","BodyAndAdHtml":"\u003cblockquote\u003eIt\u0026#39;s a holiday in the US, where we give thanks. Specifically, we give thanks that we\u0026#39;re not working with the person responsible for this. \u003ca href=\"https://thedailywtf.com/articles/The-Quine-Programmer\"\u003eOriginal\u003c/a\u003e --\u003cstrong\u003eRemy\u003c/strong\u003e\u003c/blockquote\u003e\n\n\u003cp\u003eThe Quine – i.e., a program that produces its own source code as output – lives in the esoteric realm of computing and computer science. It’s almost entirely useless, but usually pretty fun. The Quine Programmer, on the other hand, is among the pantheon of programming gods, sitting between The Great Abstractor and \u003ca href=\"https://thedailywtf.com/Articles/Divine-by-Zero.aspx\"\u003eThe PHP God\u003c/a\u003e.\u003c/p\u003e\n\u003cp\u003eThe Quine Programmer has the uncanny gifts of being infinitely good at programming \u003cem\u003eand\u003c/em\u003e infinitely insightful, thus allowing him to write a program to replace himself and all other programmers. The output of The Quine Programmer is system that’s fully configurable by the end-user; should the end-user want something changed, she can simply change it herself.\u003c/p\u003e\n\u003cp\u003eOf course, “can” and “will” are two separate concepts, and oftentimes the end-user of such a system will rely on others for such a change. \u003cb\u003eWilly\u003c/b\u003e is one of those “others”, and he often finds himself wondering why the end-user just doesn’t change the logic herself. After all, their system was built by The Quine Programmer himself, and is therefore easily changeable.\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp\u003e\u003cimg itemprop=\"image\" alt=\"\" src=\"https://thedailywtf.com/images/201106/workflow.png\"/\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cp\u003eWilly also finds himself wondering how he ended up as a “programmer” of a system that clearly needs no “programming” and how long it will take for him to find a new job. He’s hoping it’s before he’s tasked with modifying one of the “complex” workflows.\u003c/p\u003e\u003cdiv\u003e\n\t\u003cimg src=\"https://thedailywtf.com/images/inedo/proget-icon.png\" style=\"display:block; float: left; margin: 0 10px 10px 0;\"/\u003e [Advertisement] \n\tKeep the plebs out of prod. Restrict NuGet feed privileges with ProGet. \u003ca href=\"https://inedo.com/proget/private-nuget-server?utm_source=tdwtf\u0026amp;utm_medium=footer\u0026amp;utm_content=PlebsFooter\u0026amp;utm_campaign=Cyclops2020\"\u003eLearn more.\u003c/a\u003e\n\u003c/div\u003e\n\u003cdiv style=\"clear: left;\"\u003e \u003c/div\u003e\n","Title":"Classic WTF: The Quine Programmer","RssTitle":"Classic WTF: The Quine Programmer","CachedCommentCount":12,"LastCommentDate":"\/Date(1796016233463)\/","LastCommentDateDescription":"2026-11-30","DiscourseTopicId":null,"DiscourseTopicOpened":false,"PublishedDate":"\/Date(1795674600000)\/","ISODate":"2026-11-26","DisplayDate":"2026-11-26","Series":{"Slug":"feature-articles","Title":"Feature Articles","Description":"","CssClass":"featured"},"FooterAdHtml":"\u003cdiv\u003e\n\t\u003cimg src=\"https://thedailywtf.com/images/inedo/proget-icon.png\" style=\"display:block; float: left; margin: 0 10px 10px 0;\"/\u003e [Advertisement] \n\tKeep the plebs out of prod. Restrict NuGet feed privileges with ProGet. \u003ca href=\"https://inedo.com/proget/private-nuget-server?utm_source=tdwtf\u0026amp;utm_medium=footer\u0026amp;utm_content=PlebsFooter\u0026amp;utm_campaign=Cyclops2020\"\u003eLearn more.\u003c/a\u003e\n\u003c/div\u003e\n\u003cdiv style=\"clear: left;\"\u003e \u003c/div\u003e\n","Url":"https://thedailywtf.com/articles/classic-wtf-the-quine-programmer","CommentsUrl":"https://thedailywtf.com/articles/comments/classic-wtf-the-quine-programmer","Slug":"classic-wtf-the-quine-programmer","TwitterUrl":"//www.twitter.com/home?status=https%3a%2f%2fthedailywtf.com%2farticles%2fclassic-wtf-the-quine-programmer+-+Classic+WTF%3a+The+Quine+Programmer+-+The+Daily+WTF","FacebookUrl":"//www.facebook.com/sharer.php?u=https%3a%2f%2fthedailywtf.com%2farticles%2fclassic-wtf-the-quine-programmer\u0026t=Classic+WTF%3a+The+Quine+Programmer+-+The+Daily+WTF","EmailUrl":"mailto:%20?subject=Check%20out%20this%20article%20on%20The%20Daily%20WTF...\u0026body=Classic%20WTF:%20The%20Quine%20Programmer:%20https://thedailywtf.com/articles/classic-wtf-the-quine-programmer","GooglePlusUrl":"//plus.google.com/share?url=https%3a%2f%2fthedailywtf.com%2farticles%2fclassic-wtf-the-quine-programmer","PreviousArticleId":11325,"PreviousArticleTitle":"ReferenceError: HELL is not defined","PreviousArticleSlug":"referenceerror-hell-is-not-defined","PreviousArticleUrl":"//thedailywtf.com/articles/referenceerror-hell-is-not-defined","NextArticleId":11327,"NextArticleTitle":"Mental Health","NextArticleSlug":"mental-health","NextArticleUrl":"//thedailywtf.com/articles/mental-health"},{"Id":11325,"Author":{"Name":"Remy Porter","FirstName":"Remy","ShortDescription":"Computers were a mistake, so I accidentally became a farmer? Editor-in-Chief for TDWTF.","DescriptionHtml":"\u003cp\u003eRemy is a veteran developer who writes software for farming robots. They pick tomatoes.\u003c/p\u003e\r\n\u003cp\u003eHe\u0027s often on stage, doing improv comedy, but insists that \u003cem\u003ehe\u003c/em\u003e isn\u0027t doing comedy- it\u0027s deadly serious. You\u0027re laughing at him, not with him. That, by the way, is usually true- you\u0027re laughing at him, not with him.\u003c/p\u003e","Slug":"remy-porter","IsAdmin":true,"IsActive":true,"ImageUrl":"https://s3.amazonaws.com/remy.jetpackshark.com/remy-thumb.jpg"},"Status":"Published","SummaryHtml":"\u003cp\u003e\u003cstrong\u003eDavid\u003c/strong\u003e came across some Java code. This particular block needed to, based on an integer masquerading as an enumerated type, return an amount of time to sleep. It has strong opinions about what should happen when you send it an invalid value:\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"language-java\"\u003e\u003cspan class=\"hljs-keyword\"\u003eprivate\u003c/span\u003e \u003cspan class=\"hljs-keyword\"\u003estatic\u003c/span\u003e \u003cspan class=\"hljs-type\"\u003eint\u003c/span\u003e \u003cspan class=\"hljs-title function_\"\u003egetTime\u003c/span\u003e\u003cspan class=\"hljs-params\"\u003e(\u003cspan class=\"hljs-type\"\u003eint\u003c/span\u003e mode)\u003c/span\u003e {\n    \u003cspan class=\"hljs-keyword\"\u003ereturn\u003c/span\u003e \u003cspan class=\"hljs-keyword\"\u003eswitch\u003c/span\u003e (mode) {\n        \u003cspan class=\"hljs-keyword\"\u003ecase\u003c/span\u003e \u003cspan class=\"hljs-number\"\u003e0\u003c/span\u003e -\u0026gt; \u003cspan class=\"hljs-number\"\u003e30\u003c/span\u003e * SECOND;\n        \u003cspan class=\"hljs-keyword\"\u003ecase\u003c/span\u003e \u003cspan class=\"hljs-number\"\u003e1\u003c/span\u003e -\u0026gt; \u003cspan class=\"hljs-number\"\u003e15\u003c/span\u003e * SECOND;\n        \u003cspan class=\"hljs-keyword\"\u003ecase\u003c/span\u003e \u003cspan class=\"hljs-number\"\u003e2\u003c/span\u003e -\u0026gt; \u003cspan class=\"hljs-number\"\u003e10\u003c/span\u003e * SECOND;\n        \u003cspan class=\"hljs-keyword\"\u003ecase\u003c/span\u003e \u003cspan class=\"hljs-number\"\u003e3\u003c/span\u003e -\u0026gt; \u003cspan class=\"hljs-number\"\u003e20\u003c/span\u003e * SECOND;\n        \u003cspan class=\"hljs-keyword\"\u003ecase\u003c/span\u003e \u003cspan class=\"hljs-number\"\u003e4\u003c/span\u003e -\u0026gt; \u003cspan class=\"hljs-number\"\u003e17\u003c/span\u003e * SECOND;\n        \u003cspan class=\"hljs-keyword\"\u003ecase\u003c/span\u003e \u003cspan class=\"hljs-number\"\u003e5\u003c/span\u003e -\u0026gt; \u003cspan class=\"hljs-number\"\u003e32\u003c/span\u003e * SECOND;\n        \u003cspan class=\"hljs-keyword\"\u003edefault\u003c/span\u003e -\u0026gt;\n            \u003cspan class=\"hljs-comment\"\u003e// go to hell\u003c/span\u003e\n            \u003cspan class=\"hljs-number\"\u003e1000000000\u003c/span\u003e;\n    };\n}\n\u003c/code\u003e\u003c/pre\u003e\n","BodyHtml":"\u003cp\u003e\u003cstrong\u003eDavid\u003c/strong\u003e came across some Java code. This particular block needed to, based on an integer masquerading as an enumerated type, return an amount of time to sleep. It has strong opinions about what should happen when you send it an invalid value:\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"language-java\"\u003e\u003cspan class=\"hljs-keyword\"\u003eprivate\u003c/span\u003e \u003cspan class=\"hljs-keyword\"\u003estatic\u003c/span\u003e \u003cspan class=\"hljs-type\"\u003eint\u003c/span\u003e \u003cspan class=\"hljs-title function_\"\u003egetTime\u003c/span\u003e\u003cspan class=\"hljs-params\"\u003e(\u003cspan class=\"hljs-type\"\u003eint\u003c/span\u003e mode)\u003c/span\u003e {\n    \u003cspan class=\"hljs-keyword\"\u003ereturn\u003c/span\u003e \u003cspan class=\"hljs-keyword\"\u003eswitch\u003c/span\u003e (mode) {\n        \u003cspan class=\"hljs-keyword\"\u003ecase\u003c/span\u003e \u003cspan class=\"hljs-number\"\u003e0\u003c/span\u003e -\u0026gt; \u003cspan class=\"hljs-number\"\u003e30\u003c/span\u003e * SECOND;\n        \u003cspan class=\"hljs-keyword\"\u003ecase\u003c/span\u003e \u003cspan class=\"hljs-number\"\u003e1\u003c/span\u003e -\u0026gt; \u003cspan class=\"hljs-number\"\u003e15\u003c/span\u003e * SECOND;\n        \u003cspan class=\"hljs-keyword\"\u003ecase\u003c/span\u003e \u003cspan class=\"hljs-number\"\u003e2\u003c/span\u003e -\u0026gt; \u003cspan class=\"hljs-number\"\u003e10\u003c/span\u003e * SECOND;\n        \u003cspan class=\"hljs-keyword\"\u003ecase\u003c/span\u003e \u003cspan class=\"hljs-number\"\u003e3\u003c/span\u003e -\u0026gt; \u003cspan class=\"hljs-number\"\u003e20\u003c/span\u003e * SECOND;\n        \u003cspan class=\"hljs-keyword\"\u003ecase\u003c/span\u003e \u003cspan class=\"hljs-number\"\u003e4\u003c/span\u003e -\u0026gt; \u003cspan class=\"hljs-number\"\u003e17\u003c/span\u003e * SECOND;\n        \u003cspan class=\"hljs-keyword\"\u003ecase\u003c/span\u003e \u003cspan class=\"hljs-number\"\u003e5\u003c/span\u003e -\u0026gt; \u003cspan class=\"hljs-number\"\u003e32\u003c/span\u003e * SECOND;\n        \u003cspan class=\"hljs-keyword\"\u003edefault\u003c/span\u003e -\u0026gt;\n            \u003cspan class=\"hljs-comment\"\u003e// go to hell\u003c/span\u003e\n            \u003cspan class=\"hljs-number\"\u003e1000000000\u003c/span\u003e;\n    };\n}\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eNow, actually using an enum wouldn\u0026#39;t solve this, though it\u0026#39;d make the code more clear. There\u0026#39;s always the risk that the enum would have values added, and then you\u0026#39;d need to update the switch. Besides, maybe enums were just too new- they were only added in 2004 after all. The switch expression syntax here was added in 2020, however, so…\u003c/p\u003e\n\u003cp\u003eI just have to wonder: why not just use \u003ccode\u003eInteger.MAX_VALUE\u003c/code\u003e? If you want to send them to hell, why not \u003cem\u003ereally\u003c/em\u003e send them to hell?\u003c/p\u003e\n\u003c!-- Easy Reader Version: Honestly, I haven\u0027t done modern Java, so I had to spend a second looking at that syntax and going, \"Wait, *IS* this Java?\" --\u003e","BodyAndAdHtml":"\u003cp\u003e\u003cstrong\u003eDavid\u003c/strong\u003e came across some Java code. This particular block needed to, based on an integer masquerading as an enumerated type, return an amount of time to sleep. It has strong opinions about what should happen when you send it an invalid value:\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"language-java\"\u003e\u003cspan class=\"hljs-keyword\"\u003eprivate\u003c/span\u003e \u003cspan class=\"hljs-keyword\"\u003estatic\u003c/span\u003e \u003cspan class=\"hljs-type\"\u003eint\u003c/span\u003e \u003cspan class=\"hljs-title function_\"\u003egetTime\u003c/span\u003e\u003cspan class=\"hljs-params\"\u003e(\u003cspan class=\"hljs-type\"\u003eint\u003c/span\u003e mode)\u003c/span\u003e {\n    \u003cspan class=\"hljs-keyword\"\u003ereturn\u003c/span\u003e \u003cspan class=\"hljs-keyword\"\u003eswitch\u003c/span\u003e (mode) {\n        \u003cspan class=\"hljs-keyword\"\u003ecase\u003c/span\u003e \u003cspan class=\"hljs-number\"\u003e0\u003c/span\u003e -\u0026gt; \u003cspan class=\"hljs-number\"\u003e30\u003c/span\u003e * SECOND;\n        \u003cspan class=\"hljs-keyword\"\u003ecase\u003c/span\u003e \u003cspan class=\"hljs-number\"\u003e1\u003c/span\u003e -\u0026gt; \u003cspan class=\"hljs-number\"\u003e15\u003c/span\u003e * SECOND;\n        \u003cspan class=\"hljs-keyword\"\u003ecase\u003c/span\u003e \u003cspan class=\"hljs-number\"\u003e2\u003c/span\u003e -\u0026gt; \u003cspan class=\"hljs-number\"\u003e10\u003c/span\u003e * SECOND;\n        \u003cspan class=\"hljs-keyword\"\u003ecase\u003c/span\u003e \u003cspan class=\"hljs-number\"\u003e3\u003c/span\u003e -\u0026gt; \u003cspan class=\"hljs-number\"\u003e20\u003c/span\u003e * SECOND;\n        \u003cspan class=\"hljs-keyword\"\u003ecase\u003c/span\u003e \u003cspan class=\"hljs-number\"\u003e4\u003c/span\u003e -\u0026gt; \u003cspan class=\"hljs-number\"\u003e17\u003c/span\u003e * SECOND;\n        \u003cspan class=\"hljs-keyword\"\u003ecase\u003c/span\u003e \u003cspan class=\"hljs-number\"\u003e5\u003c/span\u003e -\u0026gt; \u003cspan class=\"hljs-number\"\u003e32\u003c/span\u003e * SECOND;\n        \u003cspan class=\"hljs-keyword\"\u003edefault\u003c/span\u003e -\u0026gt;\n            \u003cspan class=\"hljs-comment\"\u003e// go to hell\u003c/span\u003e\n            \u003cspan class=\"hljs-number\"\u003e1000000000\u003c/span\u003e;\n    };\n}\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eNow, actually using an enum wouldn\u0026#39;t solve this, though it\u0026#39;d make the code more clear. There\u0026#39;s always the risk that the enum would have values added, and then you\u0026#39;d need to update the switch. Besides, maybe enums were just too new- they were only added in 2004 after all. The switch expression syntax here was added in 2020, however, so…\u003c/p\u003e\n\u003cp\u003eI just have to wonder: why not just use \u003ccode\u003eInteger.MAX_VALUE\u003c/code\u003e? If you want to send them to hell, why not \u003cem\u003ereally\u003c/em\u003e send them to hell?\u003c/p\u003e\n\u003c!-- Easy Reader Version: Honestly, I haven\u0027t done modern Java, so I had to spend a second looking at that syntax and going, \"Wait, *IS* this Java?\" --\u003e\u003cdiv\u003e\n\t\u003cimg src=\"https://thedailywtf.com/images/inedo/proget-icon.png\" style=\"display:block; float: left; margin: 0 10px 10px 0;\"/\u003e [Advertisement] \n\tKeep all your packages and Docker containers in one place, scan for vulnerabilities, and control who can access different feeds. ProGet installs in minutes and has a powerful free version with a lot of great features that you can upgrade when ready.\u003ca href=\"https://inedo.com/proget?utm_source=tdwtf\u0026amp;utm_medium=footer\u0026amp;utm_content=PlebsFooter\"\u003eLearn more.\u003c/a\u003e\n\u003c/div\u003e\n\u003cdiv style=\"clear: left;\"\u003e \u003c/div\u003e\n","Title":"ReferenceError: HELL is not defined","RssTitle":"CodeSOD: ReferenceError: HELL is not defined","CachedCommentCount":16,"LastCommentDate":"\/Date(1796014287420)\/","LastCommentDateDescription":"2026-11-30","DiscourseTopicId":null,"DiscourseTopicOpened":false,"PublishedDate":"\/Date(1795588200000)\/","ISODate":"2026-11-25","DisplayDate":"2026-11-25","Series":{"Slug":"code-sod","Title":"CodeSOD","Description":"Code Snippet Of the Day (CodeSOD) features interesting and usually incorrect code snippets taken from actual production code in a commercial and/or open source software projects.","CssClass":"code"},"FooterAdHtml":"\u003cdiv\u003e\n\t\u003cimg src=\"https://thedailywtf.com/images/inedo/proget-icon.png\" style=\"display:block; float: left; margin: 0 10px 10px 0;\"/\u003e [Advertisement] \n\tKeep all your packages and Docker containers in one place, scan for vulnerabilities, and control who can access different feeds. ProGet installs in minutes and has a powerful free version with a lot of great features that you can upgrade when ready.\u003ca href=\"https://inedo.com/proget?utm_source=tdwtf\u0026amp;utm_medium=footer\u0026amp;utm_content=PlebsFooter\"\u003eLearn more.\u003c/a\u003e\n\u003c/div\u003e\n\u003cdiv style=\"clear: left;\"\u003e \u003c/div\u003e\n","Url":"https://thedailywtf.com/articles/referenceerror-hell-is-not-defined","CommentsUrl":"https://thedailywtf.com/articles/comments/referenceerror-hell-is-not-defined","Slug":"referenceerror-hell-is-not-defined","TwitterUrl":"//www.twitter.com/home?status=https%3a%2f%2fthedailywtf.com%2farticles%2freferenceerror-hell-is-not-defined+-+ReferenceError%3a+HELL+is+not+defined+-+The+Daily+WTF","FacebookUrl":"//www.facebook.com/sharer.php?u=https%3a%2f%2fthedailywtf.com%2farticles%2freferenceerror-hell-is-not-defined\u0026t=ReferenceError%3a+HELL+is+not+defined+-+The+Daily+WTF","EmailUrl":"mailto:%20?subject=Check%20out%20this%20article%20on%20The%20Daily%20WTF...\u0026body=ReferenceError:%20HELL%20is%20not%20defined:%20https://thedailywtf.com/articles/referenceerror-hell-is-not-defined","GooglePlusUrl":"//plus.google.com/share?url=https%3a%2f%2fthedailywtf.com%2farticles%2freferenceerror-hell-is-not-defined","PreviousArticleId":11324,"PreviousArticleTitle":"How Not to Get Honey-Trapped","PreviousArticleSlug":"how-not-to-get-honey-trapped","PreviousArticleUrl":"//thedailywtf.com/articles/how-not-to-get-honey-trapped","NextArticleId":11326,"NextArticleTitle":"Classic WTF: The Quine Programmer","NextArticleSlug":"classic-wtf-the-quine-programmer","NextArticleUrl":"//thedailywtf.com/articles/classic-wtf-the-quine-programmer"},{"Id":11324,"Author":{"Name":"Remy Porter","FirstName":"Remy","ShortDescription":"Computers were a mistake, so I accidentally became a farmer? Editor-in-Chief for TDWTF.","DescriptionHtml":"\u003cp\u003eRemy is a veteran developer who writes software for farming robots. They pick tomatoes.\u003c/p\u003e\r\n\u003cp\u003eHe\u0027s often on stage, doing improv comedy, but insists that \u003cem\u003ehe\u003c/em\u003e isn\u0027t doing comedy- it\u0027s deadly serious. You\u0027re laughing at him, not with him. That, by the way, is usually true- you\u0027re laughing at him, not with him.\u003c/p\u003e","Slug":"remy-porter","IsAdmin":true,"IsActive":true,"ImageUrl":"https://s3.amazonaws.com/remy.jetpackshark.com/remy-thumb.jpg"},"Status":"Published","SummaryHtml":"\u003cp\u003eAt this point, each and every one of us knows more about Jensen Huang\u0026#39;s sex life than I think any of us wanted to know. The \u003cem\u003eactual\u003c/em\u003e scandal is the way he violated export controls to the tune of $12b in chips, but the scandal everyone is talking about is that he was \u0026#34;honey-trapped\u0026#34;. A Chinese spy seduced him, got secrets out of him, and also he violated export controls for her. What can I say? People like thinking about attractive spies doing spy stuff.\u003c/p\u003e\n\u003cp\u003eIt\u0026#39;s ripe for \u003ca href=\"https://www.youtube.com/shorts/6F3iD0ITWZg\"\u003ejoke\u003c/a\u003e of course, but it\u0026#39;s also ripe for \u003cem\u003eparanoia\u003c/em\u003e. I mean, think about it, we\u0026#39;re all in tech. We all know insider secrets. At any moment, an extremely attractive person could seduce us and pump us for information about the inventory management process at Initech, and also seduce us. \u003cem\u003eIt could totally happen\u003c/em\u003e.\u003c/p\u003e\n","BodyHtml":"\u003cp\u003eAt this point, each and every one of us knows more about Jensen Huang\u0026#39;s sex life than I think any of us wanted to know. The \u003cem\u003eactual\u003c/em\u003e scandal is the way he violated export controls to the tune of $12b in chips, but the scandal everyone is talking about is that he was \u0026#34;honey-trapped\u0026#34;. A Chinese spy seduced him, got secrets out of him, and also he violated export controls for her. What can I say? People like thinking about attractive spies doing spy stuff.\u003c/p\u003e\n\u003cp\u003eIt\u0026#39;s ripe for \u003ca href=\"https://www.youtube.com/shorts/6F3iD0ITWZg\"\u003ejoke\u003c/a\u003e of course, but it\u0026#39;s also ripe for \u003cem\u003eparanoia\u003c/em\u003e. I mean, think about it, we\u0026#39;re all in tech. We all know insider secrets. At any moment, an extremely attractive person could seduce us and pump us for information about the inventory management process at Initech, and also seduce us. \u003cem\u003eIt could totally happen\u003c/em\u003e.\u003c/p\u003e\n\u003cp\u003eAt least, that\u0026#39;s what I get from \u003ca href=\"https://www.wired.com/story/regular-tech-bros-are-worried-about-honeypots/\"\u003ethis article in Wired\u003c/a\u003e, which opens with this paragraph:\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp\u003eWhen the founder of a cybersecurity firm hired Blaine Anderson as a matchmaker, it wasn’t just because the man was lonely. It was also, Anderson says, because he was “super worried about spies.”\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cp\u003eNow, the article is paywalled, so let me summarize it for you. Wired interviewed people who were \u003cs\u003ewish-casting\u003c/s\u003e \u0026#34;afraid\u0026#34; that a sexy spy would sexily steal their secrets. Their special knowledge was \u003cem\u003eso\u003c/em\u003e special that they\u0026#39;re they\u0026#39;re going to get \u003cem\u003epumped\u003c/em\u003e for information.\u003c/p\u003e\n\u003cp\u003eTo \u0026#34;avoid\u0026#34; getting honey-trapped, our tech geniuses have adopted a series of techniques. Using professional matchmakers is a brilliant choice, according to the professional matchmaker interviewed for the article. Another option is simply refusing to date anyone of Chinese or Russian nationality, which works because no spy agency has ever been able to hide their national origins. The ideal solution, of course, is to exclusively date AI girlfriends, according to a company that sells AI girlfriends.\u003c/p\u003e\n\u003cp\u003eI can\u0026#39;t imagine why people who say things like this have a hard time navigating relationships:\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp\u003eWhen tech workers do think of honeypots, they may gravitate toward the stereotype of a beautiful stranger who seduces someone at a bar and then extracts company secrets. “Any time one of us would take a trip to Asia, someone would always make a comment about getting a foreign girlfriend, or future wife, etc.,” one tech worker tells WIRED about his experience at a majority-male workplace. “We\u0026#39;d joke about them meeting a spy, but nobody really considered that seriously. Mostly they were just thinking of sex.”\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cp\u003eNow, I\u0026#39;ve been in tech for over twenty years, and I\u0026#39;ve collected all sorts of secrets, like \u0026#34;my employer is slipshod in handling \u003cabbr title=\"Personally Identifiable Information\"\u003ePII\u003c/abbr\u003e\u0026#34;, \u0026#34;the admin password for our servers is a common six letter word\u0026#34;, or \u0026#34;which two (married to other people) sales-people hooked up at the holiday party\u0026#34;. In that time, I\u0026#39;ve never been honey-trapped, which I think makes me uniquely qualified to provide instructions on how \u003cem\u003enot\u003c/em\u003e to get honey-trapped.\u003c/p\u003e\n\u003cp\u003eAnd hey, Jensen, buddy, \u003ca href=\"https://arstechnica.com/ai/2026/11/jensen-huang-reinstated-as-nvidia-ceo-board-chair/\"\u003esince you\u0026#39;re back\u003c/a\u003e in as CEO, consider this some free advice. Seems like you could use it!\u003c/p\u003e\n\u003ch2 id=\"dont-be-an-asshole\"\u003eDon\u0026#39;t be an asshole\u003c/h2\u003e\n\u003cp\u003e\u0026#34;I will tear the top of your head off and pee on your brain,\u0026#34; is a thing Huang once told an employee.\u003c/p\u003e\n\u003cp\u003e\u0026#34;I\u0026#39;d rather torture you into greatness,\u0026#34; \u003ca href=\"https://www.nytimes.com/2026/11/20/technology/jensen-huang-nvidia-culture.html\"\u003ehe said\u003c/a\u003e. He berated and verbally abused his employees, constantly.\u003c/p\u003e\n\u003cp\u003eNow, I\u0026#39;d argue this is a bad management strategy. Sure, Nvidia grew like gangbusters, but was that due to \u0026#34;endless abuse\u0026#34; or due to \u0026#34;having a stockpile of shovels when the gold rush started\u0026#34;. We can\u0026#39;t explore counter-factuals, but I\u0026#39;d argue the growth would have been the same or \u003cem\u003ebetter\u003c/em\u003e without the abuse. That\u0026#39;s neither here nor there when it comes to honey-traps, however.\u003c/p\u003e\n\u003cp\u003eThe actual effect of this abuse is to isolate the executives from anyone who could place a check on their behavior. Assuming Huang carried this behavior into his personal life, it means there was likely nobody around who could say, \u0026#34;Bro, she\u0026#39;s being weird. I don\u0026#39;t trust her.\u0026#34; I mean, what\u0026#39;s he going to do? Ask his wife for a vibe check?\u003c/p\u003e\n\u003cp\u003eHaving a deep network of positive relationships just automatically makes someone harder to manipulate. That\u0026#39;s why cults, for example, work so hard to cut you off from that network. Being a raging prick to everyone around you makes you extremely vulnerable to manipulation.\u003c/p\u003e\n\u003ch2 id=\"dont-cheat-on-your-partner\"\u003eDon\u0026#39;t Cheat on your Partner\u003c/h2\u003e\n\u003cp\u003eYou\u0026#39;d think this one would go without saying, but clearly not.\u003c/p\u003e\n\u003cp\u003eHuang, of course, was not just cheating with his sexy spy, but with not one but \u003cem\u003etwo\u003c/em\u003e employees at Nvidia.\u003c/p\u003e\n\u003cp\u003eI\u0026#39;m not here to suggest that pure monogamy is the only solution. As long as everybody is on board with what\u0026#39;s happening, \u003cem\u003ewhatever\u003c/em\u003e. But once a relationship is covert and illicit, you\u0026#39;ve put yourself into a position where you\u0026#39;re extremely vulnerable to manipulation. You can\u0026#39;t just dump your sexy spy, because now they can blackmail you.\u003c/p\u003e\n\u003cp\u003eThe covert relationship also \u003cem\u003eisolates\u003c/em\u003e you, which goes back to \u0026#34;Don\u0026#39;t be an asshole\u0026#34; point above. It\u0026#39;s your healthy connections to those around you, the open lines of communication you have with people you can trust, which protect you against honey-traps.\u003c/p\u003e\n\u003ch3 id=\"dont-sleep-with-your-employees\"\u003eDon\u0026#39;t Sleep With Your Employees\u003c/h3\u003e\n\u003cp\u003eOnce again, I\u0026#39;m no prude, there\u0026#39;s nothing inherently wrong with workplace relationships, but when you\u0026#39;re the CEO, there is a power imbalance that makes anything like that extremely questionable.\u003c/p\u003e\n\u003cp\u003eAnd remember, just because they passed your company\u0026#39;s background check doesn\u0026#39;t mean they\u0026#39;re not a spy- it just means they passed your background check. The sexy spy you\u0026#39;re fantasizing about \u003cem\u003ecould already work for you\u003c/em\u003e.\u003c/p\u003e\n\u003ch2 id=\"dont-date-llms\"\u003eDon\u0026#39;t Date LLMs\u003c/h2\u003e\n\u003cp\u003eThis is just a good rule for life. Do not attempt to have a relationship with the symbol extruding machine. It is not a human being. It cannot have relationships. \u0026#34;My tensor multiplications are feeling sad today,\u0026#34; is an unhinged statement for lunatics to make.\u003c/p\u003e\n\u003cp\u003eIt\u0026#39;s an extra good rule if you\u0026#39;re worried about honey-traps. First: being the kind of weirdo who dates LLMs is going to isolate you as much as being an asshole. And given how sycophantic LLMs are biased towards being, when your sexy spy enters your life, the LLM will probably tell you to \u003cem\u003ego for it\u003c/em\u003e.\u003c/p\u003e\n\u003cp\u003eBut more important: is this a local-only model? Because if not, \u003cem\u003ethe honey-trap is coming from inside the LLM\u003c/em\u003e.\u003c/p\u003e\n\u003cp\u003eThe Wired article quotes:\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp\u003e“If they have some business secrets they don\u0026#39;t want to share on a date or they feel nervous discussing with real people,” Levin says, “they can discuss them comfortably with their AIs.” (Levin assures WIRED that Joi AI employs several layers of security and that all of the data is anonymized.)\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cp\u003e\u003cem\u003eSuuuuuuuurrrreeeee\u003c/em\u003e. In other news, I\u0026#39;ve got a bridge to sell you.\u003c/p\u003e\n\u003ch2 id=\"you-arent-as-smart-as-you-think\"\u003eYou Aren\u0026#39;t as Smart as You Think\u003c/h2\u003e\n\u003cp\u003eThis is a common affliction amongst tech CEOs, but it\u0026#39;s also just a common affliction in tech. A lot of folks will convince themselves that they\u0026#39;d never fall for this. They\u0026#39;re too \u003cem\u003esmart\u003c/em\u003e to get tricked by a sexy spy (with the subtext that they\u0026#39;d still invite the spy to \u003cem\u003etry\u003c/em\u003e).\u003c/p\u003e\n\u003cp\u003eAnybody who\u0026#39;s brushed up against cybersecurity even once knows how false this is. It doesn\u0026#39;t matter how smart you are; you have be perfect 100% of the time, whereas the attacker just has to get past your defenses \u003cem\u003eonce\u003c/em\u003e.\u003c/p\u003e\n\u003ch2 id=\"no-leather-jackets\"\u003eNo! Leather! Jackets!\u003c/h2\u003e\n\u003cp\u003eJensen Huang infamously always wears leather jackets. He has boasted of having 30-40 of them. The problem is that leather jackets have always been a poseur\u0026#39;s choice of garment. They were a purely practical choice, until they entered the popular imagination thanks to Marlon Brando\u0026#39;s turn as a motorcycle gang member in \u003cem\u003eThe Wild One\u003c/em\u003e. He single-handedly made them cool, and basically ever since, anyone with a leather jacket was trying to capture some of that mystique.\u003c/p\u003e\n\u003cp\u003eBut no one else is Marlon Brando. Hell, even Marlon Brando wasn\u0026#39;t really Marlon Brando.\u003c/p\u003e\n\u003cp\u003e\u0026#34;Ah, but for me, it\u0026#39;s a practical choice, because I ride a motorcycle, and need the protection!\u0026#34;\u003c/p\u003e\n\u003cp\u003eThat\u0026#39;s worse. You see how that\u0026#39;s worse, right? Nothing screams \u0026#34;I\u0026#39;m desperate to capture a level of cool I do not possess\u0026#34; than a \u003cem\u003emotorcycle\u003c/em\u003e.\u003c/p\u003e\n\u003cp\u003eAll of this broadcasts that you have a fantasy of yourself as a cooler person than you actually are. When a spy wants to seduce you, they\u0026#39;re not just using sex and attraction to do it: they\u0026#39;re selling you the fantasy \u003cem\u003eof you\u003c/em\u003e as the cooler, more desirable version of yourself.\u003c/p\u003e\n\u003cp\u003eWhen a spy sees your leather jacket, they see an obvious way in.\u003c/p\u003e\n\u003ch2 id=\"have-other-interests\"\u003eHave Other Interests\u003c/h2\u003e\n\u003cp\u003eAs far as I can tell, Jensen Huang had three things in his life: running Nvidia, berating his employees, and engaging in questionable intimate relationships. But broader interests anchor you as a person. Not only do they build up a community around you, but they also give you things to talk about that are not specifically related to your profession.\u003c/p\u003e\n\u003cp\u003e\u0026#34;Tell me a secret,\u0026#34; the spy asks. I reply: \u0026#34;When filming the black-and-white heaven sequences in \u003cem\u003eA Matter of Life and Death\u003c/em\u003e aka \u003cem\u003eStairway to Heaven\u003c/em\u003e they still filmed the whole thing on three strip technicolor, so that they could mix the channels and still make heaven look magical, which made the funders furious, since it made filming much more expensive. It also meant they could do a gradual transition from black-and-white to color, which had never been done in film before. No, in \u003cem\u003eThe Wizard of Oz\u003c/em\u003e they actually used costuming and set design to make it \u003cem\u003elook\u003c/em\u003e black and white, but actually filmed in color for that moment.\u0026#34;\u003c/p\u003e\n\u003ch2 id=\"dont-focus-on-the-fear-of-being-honey-trapped\"\u003eDon\u0026#39;t Focus on the Fear of Being Honey-Trapped\u003c/h2\u003e\n\u003cp\u003eThis entire thing has a stench of desperation to it. Like a leather jacket, there\u0026#39;s a fantasy to this whole thing. For someone who has dedicated their life to the monomaniacal pursit of \u003cem\u003eone thing\u003c/em\u003e, they end up discovering that no matter how much wealth and power it brings them, it still isn\u0026#39;t satisfying. There\u0026#39;s a hole there they can\u0026#39;t fill.\u003c/p\u003e\n\u003cp\u003eWouldn\u0026#39;t it be great if \u003cem\u003ethis one thing they\u0026#39;re good at\u003c/em\u003e also made them attractive? Wouldn\u0026#39;t it be great if it made them \u003cem\u003eimportant\u003c/em\u003e? So important that they\u0026#39;re going to be the target of sexy spies?\u003c/p\u003e\n\u003cp\u003eIt\u0026#39;s a brilliant fantasy, because they can imagine being so cool, so aware, that they can foil the spy, \u003cem\u003eor if they can\u0026#39;t\u003c/em\u003e, it\u0026#39;s only because they\u0026#39;re so cool and so aware that the spy had to be trained so well that \u003cem\u003enobody\u003c/em\u003e could have resisted them.\u003c/p\u003e\n\u003cp\u003eIn short: being a normal human being, with healthy relationships, hobbies, and a realistic work-life balance is the best protection against being honey-trapped.\u003c/p\u003e\n\u003c!-- Easy Reader Version: I\u0027m glad you asked. So, three strip technicolor can never truly be replicated with digital methods because of the intensely physical nature of the printing process. You can get the \"vibe\" of the stock, complete with the hyper-realistic reds, but the physical printing artifacts would be a lot to simulate. It\u0027s theoretically possible, but impractical short of applying a complex soft-body physics model to every frame (because it was printed using a gelatin stamping process) --\u003e","BodyAndAdHtml":"\u003cp\u003eAt this point, each and every one of us knows more about Jensen Huang\u0026#39;s sex life than I think any of us wanted to know. The \u003cem\u003eactual\u003c/em\u003e scandal is the way he violated export controls to the tune of $12b in chips, but the scandal everyone is talking about is that he was \u0026#34;honey-trapped\u0026#34;. A Chinese spy seduced him, got secrets out of him, and also he violated export controls for her. What can I say? People like thinking about attractive spies doing spy stuff.\u003c/p\u003e\n\u003cp\u003eIt\u0026#39;s ripe for \u003ca href=\"https://www.youtube.com/shorts/6F3iD0ITWZg\"\u003ejoke\u003c/a\u003e of course, but it\u0026#39;s also ripe for \u003cem\u003eparanoia\u003c/em\u003e. I mean, think about it, we\u0026#39;re all in tech. We all know insider secrets. At any moment, an extremely attractive person could seduce us and pump us for information about the inventory management process at Initech, and also seduce us. \u003cem\u003eIt could totally happen\u003c/em\u003e.\u003c/p\u003e\n\u003cp\u003eAt least, that\u0026#39;s what I get from \u003ca href=\"https://www.wired.com/story/regular-tech-bros-are-worried-about-honeypots/\"\u003ethis article in Wired\u003c/a\u003e, which opens with this paragraph:\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp\u003eWhen the founder of a cybersecurity firm hired Blaine Anderson as a matchmaker, it wasn’t just because the man was lonely. It was also, Anderson says, because he was “super worried about spies.”\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cp\u003eNow, the article is paywalled, so let me summarize it for you. Wired interviewed people who were \u003cs\u003ewish-casting\u003c/s\u003e \u0026#34;afraid\u0026#34; that a sexy spy would sexily steal their secrets. Their special knowledge was \u003cem\u003eso\u003c/em\u003e special that they\u0026#39;re they\u0026#39;re going to get \u003cem\u003epumped\u003c/em\u003e for information.\u003c/p\u003e\n\u003cp\u003eTo \u0026#34;avoid\u0026#34; getting honey-trapped, our tech geniuses have adopted a series of techniques. Using professional matchmakers is a brilliant choice, according to the professional matchmaker interviewed for the article. Another option is simply refusing to date anyone of Chinese or Russian nationality, which works because no spy agency has ever been able to hide their national origins. The ideal solution, of course, is to exclusively date AI girlfriends, according to a company that sells AI girlfriends.\u003c/p\u003e\n\u003cp\u003eI can\u0026#39;t imagine why people who say things like this have a hard time navigating relationships:\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp\u003eWhen tech workers do think of honeypots, they may gravitate toward the stereotype of a beautiful stranger who seduces someone at a bar and then extracts company secrets. “Any time one of us would take a trip to Asia, someone would always make a comment about getting a foreign girlfriend, or future wife, etc.,” one tech worker tells WIRED about his experience at a majority-male workplace. “We\u0026#39;d joke about them meeting a spy, but nobody really considered that seriously. Mostly they were just thinking of sex.”\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cp\u003eNow, I\u0026#39;ve been in tech for over twenty years, and I\u0026#39;ve collected all sorts of secrets, like \u0026#34;my employer is slipshod in handling \u003cabbr title=\"Personally Identifiable Information\"\u003ePII\u003c/abbr\u003e\u0026#34;, \u0026#34;the admin password for our servers is a common six letter word\u0026#34;, or \u0026#34;which two (married to other people) sales-people hooked up at the holiday party\u0026#34;. In that time, I\u0026#39;ve never been honey-trapped, which I think makes me uniquely qualified to provide instructions on how \u003cem\u003enot\u003c/em\u003e to get honey-trapped.\u003c/p\u003e\n\u003cp\u003eAnd hey, Jensen, buddy, \u003ca href=\"https://arstechnica.com/ai/2026/11/jensen-huang-reinstated-as-nvidia-ceo-board-chair/\"\u003esince you\u0026#39;re back\u003c/a\u003e in as CEO, consider this some free advice. Seems like you could use it!\u003c/p\u003e\n\u003ch2 id=\"dont-be-an-asshole\"\u003eDon\u0026#39;t be an asshole\u003c/h2\u003e\n\u003cp\u003e\u0026#34;I will tear the top of your head off and pee on your brain,\u0026#34; is a thing Huang once told an employee.\u003c/p\u003e\n\u003cp\u003e\u0026#34;I\u0026#39;d rather torture you into greatness,\u0026#34; \u003ca href=\"https://www.nytimes.com/2026/11/20/technology/jensen-huang-nvidia-culture.html\"\u003ehe said\u003c/a\u003e. He berated and verbally abused his employees, constantly.\u003c/p\u003e\n\u003cp\u003eNow, I\u0026#39;d argue this is a bad management strategy. Sure, Nvidia grew like gangbusters, but was that due to \u0026#34;endless abuse\u0026#34; or due to \u0026#34;having a stockpile of shovels when the gold rush started\u0026#34;. We can\u0026#39;t explore counter-factuals, but I\u0026#39;d argue the growth would have been the same or \u003cem\u003ebetter\u003c/em\u003e without the abuse. That\u0026#39;s neither here nor there when it comes to honey-traps, however.\u003c/p\u003e\n\u003cp\u003eThe actual effect of this abuse is to isolate the executives from anyone who could place a check on their behavior. Assuming Huang carried this behavior into his personal life, it means there was likely nobody around who could say, \u0026#34;Bro, she\u0026#39;s being weird. I don\u0026#39;t trust her.\u0026#34; I mean, what\u0026#39;s he going to do? Ask his wife for a vibe check?\u003c/p\u003e\n\u003cp\u003eHaving a deep network of positive relationships just automatically makes someone harder to manipulate. That\u0026#39;s why cults, for example, work so hard to cut you off from that network. Being a raging prick to everyone around you makes you extremely vulnerable to manipulation.\u003c/p\u003e\n\u003ch2 id=\"dont-cheat-on-your-partner\"\u003eDon\u0026#39;t Cheat on your Partner\u003c/h2\u003e\n\u003cp\u003eYou\u0026#39;d think this one would go without saying, but clearly not.\u003c/p\u003e\n\u003cp\u003eHuang, of course, was not just cheating with his sexy spy, but with not one but \u003cem\u003etwo\u003c/em\u003e employees at Nvidia.\u003c/p\u003e\n\u003cp\u003eI\u0026#39;m not here to suggest that pure monogamy is the only solution. As long as everybody is on board with what\u0026#39;s happening, \u003cem\u003ewhatever\u003c/em\u003e. But once a relationship is covert and illicit, you\u0026#39;ve put yourself into a position where you\u0026#39;re extremely vulnerable to manipulation. You can\u0026#39;t just dump your sexy spy, because now they can blackmail you.\u003c/p\u003e\n\u003cp\u003eThe covert relationship also \u003cem\u003eisolates\u003c/em\u003e you, which goes back to \u0026#34;Don\u0026#39;t be an asshole\u0026#34; point above. It\u0026#39;s your healthy connections to those around you, the open lines of communication you have with people you can trust, which protect you against honey-traps.\u003c/p\u003e\n\u003ch3 id=\"dont-sleep-with-your-employees\"\u003eDon\u0026#39;t Sleep With Your Employees\u003c/h3\u003e\n\u003cp\u003eOnce again, I\u0026#39;m no prude, there\u0026#39;s nothing inherently wrong with workplace relationships, but when you\u0026#39;re the CEO, there is a power imbalance that makes anything like that extremely questionable.\u003c/p\u003e\n\u003cp\u003eAnd remember, just because they passed your company\u0026#39;s background check doesn\u0026#39;t mean they\u0026#39;re not a spy- it just means they passed your background check. The sexy spy you\u0026#39;re fantasizing about \u003cem\u003ecould already work for you\u003c/em\u003e.\u003c/p\u003e\n\u003ch2 id=\"dont-date-llms\"\u003eDon\u0026#39;t Date LLMs\u003c/h2\u003e\n\u003cp\u003eThis is just a good rule for life. Do not attempt to have a relationship with the symbol extruding machine. It is not a human being. It cannot have relationships. \u0026#34;My tensor multiplications are feeling sad today,\u0026#34; is an unhinged statement for lunatics to make.\u003c/p\u003e\n\u003cp\u003eIt\u0026#39;s an extra good rule if you\u0026#39;re worried about honey-traps. First: being the kind of weirdo who dates LLMs is going to isolate you as much as being an asshole. And given how sycophantic LLMs are biased towards being, when your sexy spy enters your life, the LLM will probably tell you to \u003cem\u003ego for it\u003c/em\u003e.\u003c/p\u003e\n\u003cp\u003eBut more important: is this a local-only model? Because if not, \u003cem\u003ethe honey-trap is coming from inside the LLM\u003c/em\u003e.\u003c/p\u003e\n\u003cp\u003eThe Wired article quotes:\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp\u003e“If they have some business secrets they don\u0026#39;t want to share on a date or they feel nervous discussing with real people,” Levin says, “they can discuss them comfortably with their AIs.” (Levin assures WIRED that Joi AI employs several layers of security and that all of the data is anonymized.)\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cp\u003e\u003cem\u003eSuuuuuuuurrrreeeee\u003c/em\u003e. In other news, I\u0026#39;ve got a bridge to sell you.\u003c/p\u003e\n\u003ch2 id=\"you-arent-as-smart-as-you-think\"\u003eYou Aren\u0026#39;t as Smart as You Think\u003c/h2\u003e\n\u003cp\u003eThis is a common affliction amongst tech CEOs, but it\u0026#39;s also just a common affliction in tech. A lot of folks will convince themselves that they\u0026#39;d never fall for this. They\u0026#39;re too \u003cem\u003esmart\u003c/em\u003e to get tricked by a sexy spy (with the subtext that they\u0026#39;d still invite the spy to \u003cem\u003etry\u003c/em\u003e).\u003c/p\u003e\n\u003cp\u003eAnybody who\u0026#39;s brushed up against cybersecurity even once knows how false this is. It doesn\u0026#39;t matter how smart you are; you have be perfect 100% of the time, whereas the attacker just has to get past your defenses \u003cem\u003eonce\u003c/em\u003e.\u003c/p\u003e\n\u003ch2 id=\"no-leather-jackets\"\u003eNo! Leather! Jackets!\u003c/h2\u003e\n\u003cp\u003eJensen Huang infamously always wears leather jackets. He has boasted of having 30-40 of them. The problem is that leather jackets have always been a poseur\u0026#39;s choice of garment. They were a purely practical choice, until they entered the popular imagination thanks to Marlon Brando\u0026#39;s turn as a motorcycle gang member in \u003cem\u003eThe Wild One\u003c/em\u003e. He single-handedly made them cool, and basically ever since, anyone with a leather jacket was trying to capture some of that mystique.\u003c/p\u003e\n\u003cp\u003eBut no one else is Marlon Brando. Hell, even Marlon Brando wasn\u0026#39;t really Marlon Brando.\u003c/p\u003e\n\u003cp\u003e\u0026#34;Ah, but for me, it\u0026#39;s a practical choice, because I ride a motorcycle, and need the protection!\u0026#34;\u003c/p\u003e\n\u003cp\u003eThat\u0026#39;s worse. You see how that\u0026#39;s worse, right? Nothing screams \u0026#34;I\u0026#39;m desperate to capture a level of cool I do not possess\u0026#34; than a \u003cem\u003emotorcycle\u003c/em\u003e.\u003c/p\u003e\n\u003cp\u003eAll of this broadcasts that you have a fantasy of yourself as a cooler person than you actually are. When a spy wants to seduce you, they\u0026#39;re not just using sex and attraction to do it: they\u0026#39;re selling you the fantasy \u003cem\u003eof you\u003c/em\u003e as the cooler, more desirable version of yourself.\u003c/p\u003e\n\u003cp\u003eWhen a spy sees your leather jacket, they see an obvious way in.\u003c/p\u003e\n\u003ch2 id=\"have-other-interests\"\u003eHave Other Interests\u003c/h2\u003e\n\u003cp\u003eAs far as I can tell, Jensen Huang had three things in his life: running Nvidia, berating his employees, and engaging in questionable intimate relationships. But broader interests anchor you as a person. Not only do they build up a community around you, but they also give you things to talk about that are not specifically related to your profession.\u003c/p\u003e\n\u003cp\u003e\u0026#34;Tell me a secret,\u0026#34; the spy asks. I reply: \u0026#34;When filming the black-and-white heaven sequences in \u003cem\u003eA Matter of Life and Death\u003c/em\u003e aka \u003cem\u003eStairway to Heaven\u003c/em\u003e they still filmed the whole thing on three strip technicolor, so that they could mix the channels and still make heaven look magical, which made the funders furious, since it made filming much more expensive. It also meant they could do a gradual transition from black-and-white to color, which had never been done in film before. No, in \u003cem\u003eThe Wizard of Oz\u003c/em\u003e they actually used costuming and set design to make it \u003cem\u003elook\u003c/em\u003e black and white, but actually filmed in color for that moment.\u0026#34;\u003c/p\u003e\n\u003ch2 id=\"dont-focus-on-the-fear-of-being-honey-trapped\"\u003eDon\u0026#39;t Focus on the Fear of Being Honey-Trapped\u003c/h2\u003e\n\u003cp\u003eThis entire thing has a stench of desperation to it. Like a leather jacket, there\u0026#39;s a fantasy to this whole thing. For someone who has dedicated their life to the monomaniacal pursit of \u003cem\u003eone thing\u003c/em\u003e, they end up discovering that no matter how much wealth and power it brings them, it still isn\u0026#39;t satisfying. There\u0026#39;s a hole there they can\u0026#39;t fill.\u003c/p\u003e\n\u003cp\u003eWouldn\u0026#39;t it be great if \u003cem\u003ethis one thing they\u0026#39;re good at\u003c/em\u003e also made them attractive? Wouldn\u0026#39;t it be great if it made them \u003cem\u003eimportant\u003c/em\u003e? So important that they\u0026#39;re going to be the target of sexy spies?\u003c/p\u003e\n\u003cp\u003eIt\u0026#39;s a brilliant fantasy, because they can imagine being so cool, so aware, that they can foil the spy, \u003cem\u003eor if they can\u0026#39;t\u003c/em\u003e, it\u0026#39;s only because they\u0026#39;re so cool and so aware that the spy had to be trained so well that \u003cem\u003enobody\u003c/em\u003e could have resisted them.\u003c/p\u003e\n\u003cp\u003eIn short: being a normal human being, with healthy relationships, hobbies, and a realistic work-life balance is the best protection against being honey-trapped.\u003c/p\u003e\n\u003c!-- Easy Reader Version: I\u0027m glad you asked. So, three strip technicolor can never truly be replicated with digital methods because of the intensely physical nature of the printing process. You can get the \"vibe\" of the stock, complete with the hyper-realistic reds, but the physical printing artifacts would be a lot to simulate. It\u0027s theoretically possible, but impractical short of applying a complex soft-body physics model to every frame (because it was printed using a gelatin stamping process) --\u003e\u003cdiv\u003e\n\t\u003cimg src=\"https://thedailywtf.com/images/inedo/buildmaster-icon.png\" style=\"display:block; float: left; margin: 0 10px 10px 0;\"/\u003e [Advertisement] \n\t\u003ca href=\"https://inedo.com/BuildMaster?utm_source=tdwtf\u0026amp;utm_medium=footerad\u0026amp;utm_term=2018\u0026amp;utm_content=Self_Service\u0026amp;utm_campaign=Buildmaster_Footer\"\u003eBuildMaster\u003c/a\u003e allows you to create a self-service release management platform that allows different teams to manage their applications. \u003ca href=\"https://inedo.com/BuildMaster/download?utm_source=tdwtf\u0026amp;utm_medium=footerad\u0026amp;utm_term=2018\u0026amp;utm_content=Self_Service\u0026amp;utm_campaign=Buildmaster_Footer\"\u003eExplore how!\u003c/a\u003e \n\u003c/div\u003e\n\u003cdiv style=\"clear: left;\"\u003e \u003c/div\u003e\n","Title":"How Not to Get Honey-Trapped","RssTitle":"How Not to Get Honey-Trapped","CachedCommentCount":40,"LastCommentDate":"\/Date(1796183495150)\/","LastCommentDateDescription":"03:51","DiscourseTopicId":null,"DiscourseTopicOpened":false,"PublishedDate":"\/Date(1795501800000)\/","ISODate":"2026-11-24","DisplayDate":"2026-11-24","Series":{"Slug":"feature-articles","Title":"Feature Articles","Description":"","CssClass":"featured"},"FooterAdHtml":"\u003cdiv\u003e\n\t\u003cimg src=\"https://thedailywtf.com/images/inedo/buildmaster-icon.png\" style=\"display:block; float: left; margin: 0 10px 10px 0;\"/\u003e [Advertisement] \n\t\u003ca href=\"https://inedo.com/BuildMaster?utm_source=tdwtf\u0026amp;utm_medium=footerad\u0026amp;utm_term=2018\u0026amp;utm_content=Self_Service\u0026amp;utm_campaign=Buildmaster_Footer\"\u003eBuildMaster\u003c/a\u003e allows you to create a self-service release management platform that allows different teams to manage their applications. \u003ca href=\"https://inedo.com/BuildMaster/download?utm_source=tdwtf\u0026amp;utm_medium=footerad\u0026amp;utm_term=2018\u0026amp;utm_content=Self_Service\u0026amp;utm_campaign=Buildmaster_Footer\"\u003eExplore how!\u003c/a\u003e \n\u003c/div\u003e\n\u003cdiv style=\"clear: left;\"\u003e \u003c/div\u003e\n","Url":"https://thedailywtf.com/articles/how-not-to-get-honey-trapped","CommentsUrl":"https://thedailywtf.com/articles/comments/how-not-to-get-honey-trapped","Slug":"how-not-to-get-honey-trapped","TwitterUrl":"//www.twitter.com/home?status=https%3a%2f%2fthedailywtf.com%2farticles%2fhow-not-to-get-honey-trapped+-+How+Not+to+Get+Honey-Trapped+-+The+Daily+WTF","FacebookUrl":"//www.facebook.com/sharer.php?u=https%3a%2f%2fthedailywtf.com%2farticles%2fhow-not-to-get-honey-trapped\u0026t=How+Not+to+Get+Honey-Trapped+-+The+Daily+WTF","EmailUrl":"mailto:%20?subject=Check%20out%20this%20article%20on%20The%20Daily%20WTF...\u0026body=How%20Not%20to%20Get%20Honey-Trapped:%20https://thedailywtf.com/articles/how-not-to-get-honey-trapped","GooglePlusUrl":"//plus.google.com/share?url=https%3a%2f%2fthedailywtf.com%2farticles%2fhow-not-to-get-honey-trapped","PreviousArticleId":11323,"PreviousArticleTitle":"The Perils of Web Development","PreviousArticleSlug":"the-perils-of-web-development","PreviousArticleUrl":"//thedailywtf.com/articles/the-perils-of-web-development","NextArticleId":11325,"NextArticleTitle":"ReferenceError: HELL is not defined","NextArticleSlug":"referenceerror-hell-is-not-defined","NextArticleUrl":"//thedailywtf.com/articles/referenceerror-hell-is-not-defined"},{"Id":11323,"Author":{"Name":"Ellis Morning","FirstName":"Ellis","ShortDescription":null,"DescriptionHtml":"\u003cb\u003eEllis Morning\u003c/b\u003e is a Computer Science graduate who fought in the trenches of Tech Support, occasionally crossing enemy lines into the Business Analyst and Project Management spheres of war. She\u0027s now a freelance writer and technical writer. Check out her highly-rated \u003ca href=\"https://swordandstarship.com/\" target=\"_blank\"\u003esci-fi/fantasy novels\u003c/a\u003e and find more humor, fiction, and blog posts at her \u003ca href=\"https://www.ellismorning.com\" target=\"_blank\"\u003ewebsite\u003c/a\u003e.","Slug":"ellis-morning","IsAdmin":true,"IsActive":true,"ImageUrl":"https://ellismorning.com/img/ellis2.jpeg"},"Status":"Published","SummaryHtml":"\u003cp\u003eEarlier this year, I wrote a couple of times about my \u003ca href=\"https://thedailywtf.com/articles/wtf-home-edition\"\u003eutility closet of infinite WTFs\u003c/a\u003e. After a total remodel and HVAC upgrade, I learned \u003ca href=\"https://thedailywtf.com/articles/tdwtf-home-edition-pt-2\"\u003ethe demons had not been exorcised\u003c/a\u003e. Indeed, they still haunt the place, and now they\u0026#39;re really showing off their sense of humor.\u003c/p\u003e\n\n\u003cp\u003eOn a recent November morning with frost covering the ground and below-freezing temps, I awoke to find my house a chilly 14.4C / 58F. The gas furnace would try to start up, then fail with the message \u0026#34;Pressure Error - Your system may not be operational. Do not attempt to correct the problem yourself. Contact your dealer as soon as possible.\u0026#34;\u003c/p\u003e\n\n","BodyHtml":"\u003cp\u003eEarlier this year, I wrote a couple of times about my \u003ca href=\"https://thedailywtf.com/articles/wtf-home-edition\"\u003eutility closet of infinite WTFs\u003c/a\u003e. After a total remodel and HVAC upgrade, I learned \u003ca href=\"https://thedailywtf.com/articles/tdwtf-home-edition-pt-2\"\u003ethe demons had not been exorcised\u003c/a\u003e. Indeed, they still haunt the place, and now they\u0026#39;re really showing off their sense of humor.\u003c/p\u003e\n\n\u003cp\u003eOn a recent November morning with frost covering the ground and below-freezing temps, I awoke to find my house a chilly 14.4C / 58F. The gas furnace would try to start up, then fail with the message \u0026#34;Pressure Error - Your system may not be operational. Do not attempt to correct the problem yourself. Contact your dealer as soon as possible.\u0026#34;\u003c/p\u003e\n\n\u003cp style=\"float:right; padding-left:10px; padding-bottom:10px;\"\u003e\u003ca href=\"https://commons.wikimedia.org/wiki/File:First_Computer_Bug,_1947.jpg\" title=\"Courtesy of the Naval Surface Warfare Center, Dahlgren, VA., 1988., Public domain, via Wikimedia Commons\"\u003e\u003cimg itemprop=\"image\" width=\"300\" src=\"https://thumb.wikimedia.org/wikipedia/commons/thumb/e/e7/First_Computer_Bug%2C_1947.jpg/960px-First_Computer_Bug%2C_1947.jpg?utm_source=commons.wikimedia.org\u0026amp;utm_campaign=index\u0026amp;utm_content=thumbnail\" srcset=\"https://thumb.wikimedia.org/wikipedia/commons/thumb/e/e7/First_Computer_Bug%2C_1947.jpg/330px-First_Computer_Bug%2C_1947.jpg?utm_source=commons.wikimedia.org\u0026amp;utm_campaign=index\u0026amp;utm_content=thumbnail 330w, https://thumb.wikimedia.org/wikipedia/commons/thumb/e/e7/First_Computer_Bug%2C_1947.jpg/960px-First_Computer_Bug%2C_1947.jpg?utm_source=commons.wikimedia.org\u0026amp;utm_campaign=index\u0026amp;utm_content=thumbnail 960w, https://thumb.wikimedia.org/wikipedia/commons/thumb/e/e7/First_Computer_Bug%2C_1947.jpg/1280px-First_Computer_Bug%2C_1947.jpg?utm_source=commons.wikimedia.org\u0026amp;utm_campaign=index\u0026amp;utm_content=thumbnail 1280w\" sizes=\"auto\" loading=\"lazy\" alt=\"An actual bug in a computer log, having been found in the relays of a computer in 1947.\"/\u003e\u003c/a\u003e\u003c/p\u003e\n\n\u003cp\u003eThankfully, the heat pump (my primary heat source) was still working. While less effective at those temps, it still did a fine job of warming up the house while I called for help and waited for a technician to arrive.\u003c/p\u003e\n\n\u003cp\u003eThe sun was setting by the time the technician was able to come. I stood with him while he attempted to start the furnace. He heard, and pointed out to me, a lot of water sloshing around inside of it.\u003c/p\u003e\n\n\u003cp\u003eMy brain still accustomed to my ancient HVAC setup, the words \u003ci\u003ewater\u003c/i\u003e and \u003ci\u003efurnace\u003c/i\u003e had never come together in any sort of positive fashion. I panicked at the thought of how bad this was going to get.\u003c/p\u003e\n\n\u003cp\u003eBut the technician soon explained that water inside this furnace was normal. As a high-efficiency furnace, it burned natural gas and also extracted heat from waste gas. This produced water condensation as a byproduct, vented outdoors as water vapor. There was also a drain-pan and a drain hose inside the furnace, leading to a drain line and floor drain.\u003c/p\u003e\n\n\u003cp\u003eHowever, a drain hose doesn\u0026#39;t work very well if a spider should crawl into the furnace exhaust pipe from outside, walk all the way into the furnace, climb down into the hose, and build himself a little home there.\u003c/p\u003e\n\n\u003cp\u003eThe water that had built up inside the furnace was sloshing up high enough to hit the furnace\u0026#39;s pressure sensor. All the technician had to do was evict the spider, clear the hose, and drain the excess water.\u003c/p\u003e\n\n\u003cp\u003eMy furnace was back in business. My warranty covered everything. I couldn\u0026#39;t help but think about Admiral Grace Hopper, and the literal bug which stopped her work. And now she\u0026#39;s smiling down upon us all from heaven.\u003c/p\u003e","BodyAndAdHtml":"\u003cp\u003eEarlier this year, I wrote a couple of times about my \u003ca href=\"https://thedailywtf.com/articles/wtf-home-edition\"\u003eutility closet of infinite WTFs\u003c/a\u003e. After a total remodel and HVAC upgrade, I learned \u003ca href=\"https://thedailywtf.com/articles/tdwtf-home-edition-pt-2\"\u003ethe demons had not been exorcised\u003c/a\u003e. Indeed, they still haunt the place, and now they\u0026#39;re really showing off their sense of humor.\u003c/p\u003e\n\n\u003cp\u003eOn a recent November morning with frost covering the ground and below-freezing temps, I awoke to find my house a chilly 14.4C / 58F. The gas furnace would try to start up, then fail with the message \u0026#34;Pressure Error - Your system may not be operational. Do not attempt to correct the problem yourself. Contact your dealer as soon as possible.\u0026#34;\u003c/p\u003e\n\n\u003cp style=\"float:right; padding-left:10px; padding-bottom:10px;\"\u003e\u003ca href=\"https://commons.wikimedia.org/wiki/File:First_Computer_Bug,_1947.jpg\" title=\"Courtesy of the Naval Surface Warfare Center, Dahlgren, VA., 1988., Public domain, via Wikimedia Commons\"\u003e\u003cimg itemprop=\"image\" width=\"300\" src=\"https://thumb.wikimedia.org/wikipedia/commons/thumb/e/e7/First_Computer_Bug%2C_1947.jpg/960px-First_Computer_Bug%2C_1947.jpg?utm_source=commons.wikimedia.org\u0026amp;utm_campaign=index\u0026amp;utm_content=thumbnail\" srcset=\"https://thumb.wikimedia.org/wikipedia/commons/thumb/e/e7/First_Computer_Bug%2C_1947.jpg/330px-First_Computer_Bug%2C_1947.jpg?utm_source=commons.wikimedia.org\u0026amp;utm_campaign=index\u0026amp;utm_content=thumbnail 330w, https://thumb.wikimedia.org/wikipedia/commons/thumb/e/e7/First_Computer_Bug%2C_1947.jpg/960px-First_Computer_Bug%2C_1947.jpg?utm_source=commons.wikimedia.org\u0026amp;utm_campaign=index\u0026amp;utm_content=thumbnail 960w, https://thumb.wikimedia.org/wikipedia/commons/thumb/e/e7/First_Computer_Bug%2C_1947.jpg/1280px-First_Computer_Bug%2C_1947.jpg?utm_source=commons.wikimedia.org\u0026amp;utm_campaign=index\u0026amp;utm_content=thumbnail 1280w\" sizes=\"auto\" loading=\"lazy\" alt=\"An actual bug in a computer log, having been found in the relays of a computer in 1947.\"/\u003e\u003c/a\u003e\u003c/p\u003e\n\n\u003cp\u003eThankfully, the heat pump (my primary heat source) was still working. While less effective at those temps, it still did a fine job of warming up the house while I called for help and waited for a technician to arrive.\u003c/p\u003e\n\n\u003cp\u003eThe sun was setting by the time the technician was able to come. I stood with him while he attempted to start the furnace. He heard, and pointed out to me, a lot of water sloshing around inside of it.\u003c/p\u003e\n\n\u003cp\u003eMy brain still accustomed to my ancient HVAC setup, the words \u003ci\u003ewater\u003c/i\u003e and \u003ci\u003efurnace\u003c/i\u003e had never come together in any sort of positive fashion. I panicked at the thought of how bad this was going to get.\u003c/p\u003e\n\n\u003cp\u003eBut the technician soon explained that water inside this furnace was normal. As a high-efficiency furnace, it burned natural gas and also extracted heat from waste gas. This produced water condensation as a byproduct, vented outdoors as water vapor. There was also a drain-pan and a drain hose inside the furnace, leading to a drain line and floor drain.\u003c/p\u003e\n\n\u003cp\u003eHowever, a drain hose doesn\u0026#39;t work very well if a spider should crawl into the furnace exhaust pipe from outside, walk all the way into the furnace, climb down into the hose, and build himself a little home there.\u003c/p\u003e\n\n\u003cp\u003eThe water that had built up inside the furnace was sloshing up high enough to hit the furnace\u0026#39;s pressure sensor. All the technician had to do was evict the spider, clear the hose, and drain the excess water.\u003c/p\u003e\n\n\u003cp\u003eMy furnace was back in business. My warranty covered everything. I couldn\u0026#39;t help but think about Admiral Grace Hopper, and the literal bug which stopped her work. And now she\u0026#39;s smiling down upon us all from heaven.\u003c/p\u003e\u003cdiv\u003e\n\t[Advertisement] \u003cb\u003ePlan Your .NET 9 Migration with Confidence\u003c/b\u003e\u003cbr/\u003eYour journey to .NET 9 is more than just one decision.Avoid migration migraines with the advice in this free guide. \u003cb\u003e\u003ca href=\"https://inedo.com/support/whitepapers/dotnet-guide?utm_campaign=dotnet\u0026amp;utm_source=tdwtf-footer\"\u003eDownload Free Guide Now!\u003c/a\u003e\u003c/b\u003e\n\u003c/div\u003e\n\u003cdiv style=\"clear: left;\"\u003e \u003c/div\u003e","Title":"The Perils of Web Development","RssTitle":"The Perils of Web Development","CachedCommentCount":13,"LastCommentDate":"\/Date(1795989232317)\/","LastCommentDateDescription":"2026-11-29","DiscourseTopicId":null,"DiscourseTopicOpened":false,"PublishedDate":"\/Date(1795415400000)\/","ISODate":"2026-11-23","DisplayDate":"2026-11-23","Series":{"Slug":"feature-articles","Title":"Feature Articles","Description":"","CssClass":"featured"},"FooterAdHtml":"\u003cdiv\u003e\n\t[Advertisement] \u003cb\u003ePlan Your .NET 9 Migration with Confidence\u003c/b\u003e\u003cbr/\u003eYour journey to .NET 9 is more than just one decision.Avoid migration migraines with the advice in this free guide. \u003cb\u003e\u003ca href=\"https://inedo.com/support/whitepapers/dotnet-guide?utm_campaign=dotnet\u0026amp;utm_source=tdwtf-footer\"\u003eDownload Free Guide Now!\u003c/a\u003e\u003c/b\u003e\n\u003c/div\u003e\n\u003cdiv style=\"clear: left;\"\u003e \u003c/div\u003e","Url":"https://thedailywtf.com/articles/the-perils-of-web-development","CommentsUrl":"https://thedailywtf.com/articles/comments/the-perils-of-web-development","Slug":"the-perils-of-web-development","TwitterUrl":"//www.twitter.com/home?status=https%3a%2f%2fthedailywtf.com%2farticles%2fthe-perils-of-web-development+-+The+Perils+of+Web+Development+-+The+Daily+WTF","FacebookUrl":"//www.facebook.com/sharer.php?u=https%3a%2f%2fthedailywtf.com%2farticles%2fthe-perils-of-web-development\u0026t=The+Perils+of+Web+Development+-+The+Daily+WTF","EmailUrl":"mailto:%20?subject=Check%20out%20this%20article%20on%20The%20Daily%20WTF...\u0026body=The%20Perils%20of%20Web%20Development:%20https://thedailywtf.com/articles/the-perils-of-web-development","GooglePlusUrl":"//plus.google.com/share?url=https%3a%2f%2fthedailywtf.com%2farticles%2fthe-perils-of-web-development","PreviousArticleId":11318,"PreviousArticleTitle":"There\u0027s a Chill in the Air","PreviousArticleSlug":"there-s-a-chill-in-the-air","PreviousArticleUrl":"//thedailywtf.com/articles/there-s-a-chill-in-the-air","NextArticleId":11324,"NextArticleTitle":"How Not to Get Honey-Trapped","NextArticleSlug":"how-not-to-get-honey-trapped","NextArticleUrl":"//thedailywtf.com/articles/how-not-to-get-honey-trapped"}]