{"id":2393,"date":"2012-05-07T01:39:34","date_gmt":"2012-05-07T06:39:34","guid":{"rendered":"http:\/\/www.thejuliagroup.com\/blog\/?p=2393"},"modified":"2012-05-08T15:59:35","modified_gmt":"2012-05-08T20:59:35","slug":"do-not-re-invent-the-software-wheel-unless-youre-in-to-wheel-inventing","status":"publish","type":"post","link":"https:\/\/www.thejuliagroup.com\/blog\/do-not-re-invent-the-software-wheel-unless-youre-in-to-wheel-inventing\/","title":{"rendered":"Do Not Re-Invent the Software Wheel unless you&#8217;re into wheel-inventing"},"content":{"rendered":"<p>So I say,<\/p>\n<blockquote><p>&#8220;There may be some useful information in the text fields. For example, people who use credit to buy commodities, such as meat may differ from people who buy finished goods like clothing who may differ from people who purchase machinery on credit. Perhaps you may want to consider some kind of clustering.&#8221;<\/p><\/blockquote>\n<p>The very bright young people nod and one says quite brightly to another,<\/p>\n<blockquote><p>&#8220;Well, you better get out your grep statements.&#8221;<\/p><\/blockquote>\n<p>All of the rest nod in pleased agreement, while I say to my old and faded self,<\/p>\n<blockquote><p>Grep? That&#8217;s what you&#8217;ve got? Seriously? What. The. Fuck.<\/p><\/blockquote>\n<p>Okay, ten points for the bright young people for knowing any Unix commands or even that Unix exists, which puts them ahead of a lot of people. However, please explain to me why in the name of God you would not even consider using something like Statistica or SAS Enterprise Miner ?\u00a0There is an R text mining package. I have never used it because I don&#8217;t use R (<a href=\"http:\/\/www.thejuliagroup.com\/blog\/?p=1757\">long discussion of that here<\/a>) but these young people had spent three semesters learning \u00a0to program R and did not even know it existed.<\/p>\n<p>At one point I was playing around with both Ruby and SAS to write a program to parse text. Do you have any idea how much of a pain in the ass that is? In that case, because it was on a set of data with a VERY limited scope, we could do it by using just a few hundred words. \u00a0It was a small project with a very small budget and at the time I was wanting a project that gave me an excuse to learn Ruby.<\/p>\n<p>For a more general project with the whole English language as its scope, that would be an insane undertaking. It would cost the client several times the cost of buying a SAS license or Statistica (not sure about the SPSS offering) &#8211; and what I could write would not be within shouting distance of as well done and comprehensive as something a team of people had worked on for years.<\/p>\n<p>The most recent client who asked me this actually has a SAS Enterprise Miner license at their organization! (So, yes, while the license fee is humongous, since it had already been paid, the additional cost to use it on this project would be zero.)<\/p>\n<p>While this is the latest, most outrageous example, the &#8220;Do-It-Yourself&#8221; fallacy happens all the time. \u00a0Recently, I needed to do a slideshow. I thought I would write it using javascript\/ jQuery because that is something else I have been wanting to learn better and the Codecademy thing just didn&#8217;t do it for me. I wanted an actual project.<\/p>\n<p>I started on it and after about ten minutes of reflection realized there were probably dozens of jQuery plug-ins that did slide shows of every size, shape and form. Sure enough, 5 seconds on Google gave me a couple to download.<\/p>\n<p>I downloaded one, modified it a bit and it was okay, though I&#8217;m not sure it is exactly what I want either. When I looked at the code in detail, it was evident the author had done the same as me, downloaded someone else&#8217;s code and modified it, because there were entire directories in there that did nothing. So, I deleted those.<\/p>\n<p>After playing with that for a while, I thought perhaps there were other, better, slideshow plug-ins available. I downloaded another one because, even though I knew it probably wouldn&#8217;t suit my purpose, it was written so much more succinctly, I found it interesting.<\/p>\n<p>So &#8230;. two lessons<\/p>\n<ol>\n<li>Don&#8217;t waste your time creating something that has already been created.<\/li>\n<li>Even if you do want to create something, either just for the hell of it or as a learning experience, you&#8217;ll probably learn a lot and end up with a better product, faster, if you build on what other people have already done rather than start with a blank page and Notepad++<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>So I say, &#8220;There may be some useful information in the text fields. For example, people who use credit to buy commodities, such as meat may differ from people who buy finished goods like clothing who may differ from people who purchase machinery on credit. Perhaps you may want to consider some kind of clustering.&#8221;&#8230;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[9,8],"tags":[],"class_list":["post-2393","post","type-post","status-publish","format-standard","hentry","category-software","category-technology"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/posts\/2393","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/comments?post=2393"}],"version-history":[{"count":4,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/posts\/2393\/revisions"}],"predecessor-version":[{"id":2397,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/posts\/2393\/revisions\/2397"}],"wp:attachment":[{"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/media?parent=2393"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/categories?post=2393"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/tags?post=2393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}