2 <html lang="en-us" itemscope itemtype="http://schema.org/Blog">
7 <link rel="canonical" href="http://defaria.com/blogs/Status/">
8 <meta name="viewport" content="width=device-width,initial-scale=1">
9 <link rel="stylesheet" href="http://defaria.com/blogs/Status/styles.css">
11 <link rel="stylesheet" href="http://defaria.com/blogs/Status/styles_ie.css">
12 <script src="/mt/mt-static/support/theme_static/rainier/js/html5shiv.js"></script>
15 <link rel="start" href="http://defaria.com/blogs/Status/">
17 <!-- Open Graph Protocol -->
18 <meta property="og:type" content="article">
19 <meta property="og:locale" content="en-us">
20 <meta property="og:title" content="Status">
21 <meta property="og:url" content="http://defaria.com/blogs/Status/">
23 <meta property="og:site_name" content="Status">
24 <meta property="og:image" content="/mt/mt-static/support/theme_static/rainier/img/siteicon-sample.png">
27 <meta itemprop="name" content="Status">
28 <link itemprop="url" href="http://defaria.com/blogs/Status/">
29 <link itemprop="image" href="/mt/mt-static/support/theme_static/rainier/img/siteicon-sample.png">
33 <div id="container-inner">
34 <header id="header" role="banner">
35 <div id="header-inner">
36 <div id="header-content">
38 <a href="http://defaria.com/blogs/Status/">
47 <nav role="navigation">
49 <li><a href="http://defaria.com/blogs/Status/">Home</a></li>
58 <div id="content-inner">
59 <div id="index-main" class="main" role="main">
61 <article id="entry-1998" class="entry-asset entry asset hentry" itemscope itemType="http://schema.org/BlogPosting">
62 <div class="asset-header">
63 <h2 class="asset-name entry-title" itemprop="name"><a href="http://defaria.com/blogs/Status/2016/04/configuring-linux-to-authenticate-to-active-directory-using-winbind-1.html">Configuring Linux to Authenticate to Active Directory using Winbind</a></h2>
64 <footer class="asset-meta">
65 <ul class="asset-meta-list">
66 <li class="asset-meta-list-item">Posted on <time datetime="2016-04-18T14:32:48-08:00" itemprop="datePublished">April 18, 2016</time></li>
67 <li class="asset-meta-list-item">by <span class="author entry-author vcard"></span></li>
74 <div class="asset-content entry-content" itemprop="articleBody">
75 <p>Under Linux, you can use winbind from the Samba suite of tools to authenticate with Windows Active Directory. Refer to Setup CentOS to authenticate via Active Directory for how to set up CentOS to authenticate to Active directory. Windows uses Kerberos to perform authentication so you'll need to set that up. The above link talks about running authconf with lots of parameters to set it all up. That may be a better way in the end but I got it working starting with authconf then tweaking. Here are my resultant files that seem to work. Later I might figure out how to do it with authconfig.</p>
77 <li>First you'll need some software if it was not previously installed. The following installs all you need for CentOS (Ubuntu still needs to be investigated for the corresponding apt-get installation):<br /><br /><span style="line-height: 1.618;">Install software<br /><br /></span><span style="line-height: 1.618;">$ yum -y install authconfig krb5-workstation pam_krb5 samba-common<br /><br /></span></li>
78 <li><span style="line-height: 1.618;">Edit /etc/krb5.conf to look like:<br /><br /></span><span style="line-height: 1.618;">/etc/krb5.conf (Audience)</span></li>
80 <p style="margin-left: 30px;">[libdefaults]<br /><span style="line-height: 1.618;">default_realm = AUDIENCE.LOCAL<br /></span><span style="line-height: 1.618;">ns_lookup_realm = true<br />d</span><span style="line-height: 1.618;">ns_lookup_kdc = true<br /></span><span style="line-height: 1.618;">ticket_lifetime = 24h<br /></span><span style="line-height: 1.618;">renew_lifetime = 7d<br /></span><span style="line-height: 1.618;">forwardable = true</span></p>
81 <p style="margin-left: 30px;">[realms]<br /><span style="line-height: 1.618;">audience.com = {<br /></span><span style="line-height: 1.618;"> kdc = dc1.audience.local<br /></span><span style="line-height: 1.618;"> admin_server = dc1.audience.local<br /></span><span style="line-height: 1.618;">}</span></p>
82 <p style="margin-left: 30px;">/etc/krb5.conf (Knowles)</p>
83 <p style="margin-left: 30px;">[libdefaults]<br /><span style="line-height: 1.618;">default_realm = KNOWLES.COM<br /></span><span style="line-height: 1.618;">dns_lookup_realm = true<br /></span><span style="line-height: 1.618;">dns_lookup_kdc = true<br /></span><span style="line-height: 1.618;">ticket_lifetime = 24h<br /></span><span style="line-height: 1.618;">renew_lifetime = 7d<br /></span><span style="line-height: 1.618;">forwardable = true</span></p>
84 <p style="margin-left: 30px;">[realms]<br /><span style="line-height: 1.618;">knowles.com = {<br /></span><span style="line-height: 1.618;"> kdc = dc1.knowles.com<br /></span><span style="line-height: 1.618;"> admin_server = dc1.knowles.com<br /></span><span style="line-height: 1.618;">}</span></p>
86 <div class="entry-more-link">
87 <a href="http://defaria.com/blogs/Status/2016/04/configuring-linux-to-authenticate-to-active-directory-using-winbind-1.html" itemprop="url">Continue reading</a>
92 <article id="entry-1987" class="entry-asset entry asset hentry" itemscope itemType="http://schema.org/BlogPosting">
93 <div class="asset-header">
94 <h2 class="asset-name entry-title" itemprop="name"><a href="http://defaria.com/blogs/Status/2014/09/syntactical-sugar.html">Syntactical sugar</a></h2>
95 <footer class="asset-meta">
96 <ul class="asset-meta-list">
97 <li class="asset-meta-list-item">Posted on <time datetime="2014-09-23T11:00:40-08:00" itemprop="datePublished">September 23, 2014</time></li>
98 <li class="asset-meta-list-item">by <span class="author entry-author vcard"></span></li>
101 <li class="asset-meta-list-item">in <a itemprop="articleSection" rel="tag" href="http://defaria.com/blogs/Status/audience/">Audience</a></li>
107 <div class="asset-content entry-content" itemprop="articleBody">
108 <p>Many people write code and specify all kinds of what I call "syntactic sugar". These come in the form of largely punctuation characters especially in Perl. Such things are usually included for the benefit of the compiler or more correctly the parser. They are there to avoid ambigutity but a coding style of specifing all of the defaults so that it's clear is IMHO ridiculous. Humans and human understanding of languages uses short cuts, context and implied meaning. Write your code for the next human - not the parser.</p>
109 <p>So, for example, I encountered the following line of Perl code the other day:</p>
110 <pre>if (scalar(@ARGV != 1)) { die "\nUsage:\nAD_auth.pl \%username\%\n" }</pre>
111 <p>Here are some of the unnecessary syntactic sugar:</p>
113 <li>scalar is unnessesary. An array evaluated in a scalar context, returns the number of entries in the area. Comparing an array to a number like 1 is evaluating an array in a scalar context.</li>
114 <li>The () around @ARGV != 1. Parantheses used to specify correct presidence in mathimatical expressions - sure, but only as many as you need. Here however the parantheses are unnessesary. Sure some say "it's a function call therefore its parms should be enclosed in ()" I ask "why?". Do you always likewise do print ("a string") or do you do print "a string"?</li>
115 <li>The () around the boolean expression for if. It's require, unless if appears at the end...</li>
116 <li>The {} around the then portion of the if statement. Technically not needed as without them the die statement would be the only statement in the then block. However in practice I pretty much always use {} even if only one statement. I find that way too often I need to stick more statements in there and if so then {} are already there.</li>
117 <li>Needless escape of %: There is no need to specify \%. Oh, and this is a bad, non-portable practice as if they meant %username% as in expand the environment variable username well that'd only work in Windows.</li>
119 <p>How do I think this would be better written:</p>
120 <pre>die "Usage: $FindBin::Script <username>\n" unless @ARGV == 1;</pre>
121 <p>I believe the advantages are:</p>
123 <li>Dynamically obtaining the script's name instead of hard coding it</li>
124 <li>Specifying <username> is a more standard way of indicating that the user should fill in this parameter</li>
125 <li>Positive logic, with the help of unless. Unless is like if not. But I find too many nots become confusing. It took a little bit of time for me to feel comfortable with unless, to trust it was the right thing. But it's pretty much English - unless the array ARGV has only 1 element. Unless also reads better at the end of a line.</li>
128 <div class="entry-more-link">
129 <a href="http://defaria.com/blogs/Status/2014/09/syntactical-sugar.html" itemprop="url">Continue reading</a>
134 <article id="entry-1984" class="entry-asset entry asset hentry" itemscope itemType="http://schema.org/BlogPosting">
135 <div class="asset-header">
136 <h2 class="asset-name entry-title" itemprop="name"><a href="http://defaria.com/blogs/Status/2014/04/-setting-up-putty-to.html">Setting up PuTTY to do passwordless logins using pre-shared key</a></h2>
137 <footer class="asset-meta">
138 <ul class="asset-meta-list">
139 <li class="asset-meta-list-item">Posted on <time datetime="2014-04-29T09:02:08-08:00" itemprop="datePublished">April 29, 2014</time></li>
140 <li class="asset-meta-list-item">by <span class="author entry-author vcard"></span></li>
143 <li class="asset-meta-list-item">in <a itemprop="articleSection" rel="tag" href="http://defaria.com/blogs/Status/audience/">Audience</a></li>
149 <div class="asset-content entry-content" itemprop="articleBody">
150 <h2>Setting up PuTTY to do passwordless logins using pre-shared key</h2>
152 <p>Seems I've been here before: <a href="http://cygwin.com/ml/cygwin/2012-01/msg00284.html">http://cygwin.com/ml/cygwin/2012-01/msg00284.html</a></p>
154 <p>This site seems helpful: <a href="https://support.hostgator.com/articles/specialized-help/technical/ssh-keying-through-putty-on-windows-or-linux">
155 https://support.hostgator.com/articles/specialized-help/technical/ssh-keying-through-putty-on-windows-or-linux</a></p>
157 <h2>Generating your ssh keys</h2>
159 <p>You need to use PuttyGen to generate your ssh keys to share.
160 One problem is that Putty does it's own form of ssh keys which is non-standard or at least non-Unix like. Once you install PuttyGen you should generate your key. SSH-2 DSA is more secure than the default SSH-2 RSA keys so toggle that on then do generate,
161 then move the cursor around the blank area. PuTTYgen uses this movement to generate the key's randomness.</p>
163 <p><img src="PuttyKeyGenerator.png"></p>
165 <p>Once this is generated, you can set a key comment, or a passphrase. The comment isn't important, as it's just a label, but the passphrase will require that you enter this passphrase when using the key. If you're trying to have a "passwordless login" then this should be left blank.</p>
167 <p><img src="PuttyKeyGenerator2.png"></p>
169 <p>Now click Save Public Key, and save this file to a name of your choosing somewhere safe on your hard drive. Please remember the location of this file, as it is needed later. Then do the same for Save Private Key.</p>
171 <h2>Installing your ssh keys into the server</h2>
173 <p>Now that we have the keys generated and saved, we need to getthe keys on the server. Copy the data inside the putty window under Public Key for pasting into SSH authorized keys file. The key appears to be to put these keys into your ~/.ssh/authorized_keys2 file not you're ~/.ssh/authorized_keys file. You want to putthis into your NFS home directory not your Windows home directory. Why we maintain two different sets of home directories is unknown.
176 <p><b>Note:</b> If you don't have a .ssh directory on your Unix/Linux machines then execute ssh-keygen -t dsa on Linux to create that and your DSA keys.</p>
178 <p><b>Note 2:</b> If a Linux machine does not use your NFS mounted home directory then you'll have to duplicate your home environment and things like ~/.ssh on the machines that do not share your one home directory.</p>
181 <p>Make sure your ~/.ssh/authorized_keys2 is set to 600.</p>
183 <h2>Setting up colored sessions for PuTTY and tying that to shortcuts</h2>
185 <p>It's best to set up sessions in putty. A session is merely a set of configuration parameters tied to a name. We will create sessions for different types or categories of machines then invoke them with different machine names. We will set up session for dev/test/prod environments.</p>
187 <p>In putty do the following:</p>
190 <li>Window: Lines of scrollback - you might want to set this to something larger than 200 like maybe 2000.</li>
192 <li>Window: Colours: Set Default Background and Default Bold Background to some color. You may want to use a theme of dev blue, test 3D orange and prod red, for example. I also change Default Foreground to a solid white and Default Bold Foreground to a bright yellow. This setting will be the main setting to change between dev/test and prod.</li>
194 <li>Connection: Data: Auto-login username. Set this to your username (e.g. adefaria)</li>
196 <li>Connection: SSH: Auth: Private key file for authentication: Browse to where you put your generated Putty Private Key.</li>
198 <li>Connection: SSH: X11 - toggle on Enable X11 forwarding. Consider installing Cygwin's Xorg server</li>
201 <p>Then go back to the Session page and enter a name for your Saved Session and click save. Next you can change that name, go toConnection: Colours, set up your color scheme for test or prod and save those sessions. Now you have dev/test and prod sessions
202 colored to your liking.</p>
204 <h2>Executing PuTTY sessions</h2>
206 <p>Now you can set up shortcuts to use these saved session parameters but apply them to different machines like so:</p>
209 <tt>C:\Program Files\Putty\Putty.exe -load dev cm-job-ldev01</tt><br>
210 <tt>C:\Program Files\Putty\Putty.exe -load test cm-job-ltest01</tt><br>
214 <div class="entry-more-link">
215 <a href="http://defaria.com/blogs/Status/2014/04/-setting-up-putty-to.html" itemprop="url">Continue reading</a>
220 <article id="entry-1983" class="entry-asset entry asset hentry" itemscope itemType="http://schema.org/BlogPosting">
221 <div class="asset-header">
222 <h2 class="asset-name entry-title" itemprop="name"><a href="http://defaria.com/blogs/Status/2014/03/bugzillawebservice.html">Bugzilla::Webservice</a></h2>
223 <footer class="asset-meta">
224 <ul class="asset-meta-list">
225 <li class="asset-meta-list-item">Posted on <time datetime="2014-03-26T11:34:15-08:00" itemprop="datePublished">March 26, 2014</time></li>
226 <li class="asset-meta-list-item">by <span class="author entry-author vcard"></span></li>
229 <li class="asset-meta-list-item">in <a itemprop="articleSection" rel="tag" href="http://defaria.com/blogs/Status/audience/">Audience</a></li>
235 <div class="asset-content entry-content" itemprop="articleBody">
236 <p>On mozilla.support.bugzilla Thorsten Schöning wrote:</p>
237 <blockquote type="cite">
238 <blockquote type="cite">Still how does one get this Bugzilla::Webserves::Bug?</blockquote>
240 <blockquote type="cite">There are different ways of course, one is BZ::Client, others depending on your environment may exist or you need to create your own client or whatever.</blockquote>
241 <p>Name a way then. You see when I say BZ::Client I can do cpan BZ::Client and I will get downloaded actually code that I can run (It's pretty clear I'm workign in Perl no?). However when I say Bugzilla::Webservice::Bug I cannot do cpan Bugzilla::Webservice::Bug and get code because cpan says it can't find anything listed under Bugzilla::Webservice::Bug. Now I know that it's not part of CPAN so what is it part of and how do I get the code?</p>
242 <p>'Cause you just got through telling me that BZ::Client is not an official Bugzilla project and yet you pointed me to specifically to <a href="http://www.bugzilla.org/docs/4.4/en/html/api/Bugzilla/WebService/Bug.html#search">http://www.bugzilla.org/docs/4.4/en/html/api/Bugzilla/WebService/Bug.html#search</a> which is in bugzilla.org. Was I not to think that that would be "an official Bugzilla project"? Yet there's nothing there that I can see about getting that code!</p>
243 <blockquote type="cite">
244 <blockquote type="cite">Looking at <a href="https://wiki.mozilla.org/Bugzilla:Addons#Client_libraries_for_the_Bugzilla_Webservices.2FREST_API">https://wiki.mozilla.org/Bugzilla:Addons#Client_libraries_for_the_Bugzilla_Webservices.2FREST_API</a> I see it telling me to use BZ::Client (and not even mentioning BZ::Client::Bug, which is much more to the point)</blockquote>
245 Because the wiki can't know your use case. :-)</blockquote>
246 <p>Looking at CPAN for BZ::Client (<a href="http://search.cpan.org/~jwied/BZ-Client-1.04/lib/BZ/Client.pm">http://search.cpan.org/~jwied/BZ-Client-1.04/lib/BZ/Client.pm</a>) we have the following methods:</p>
247 <pre style="margin-left: 30px;">new<br />url<br />user<br />password<br />login<br />api_call</pre>
248 <p>Not exactly a bastion of functionality! The Wiki could anticipate that I might need a bit more functionality for any functional use case! Just my opinion of course :-).</p>
249 <p>Looking at BZ::Client::Bug (<a href="http://search.cpan.org/~jwied/BZ-Client-1.04/lib/BZ/Client/Bug.pm">http://search.cpan.org/~jwied/BZ-Client-1.04/lib/BZ/Client/Bug.pm</a>) I see:</p>
250 <pre style="margin-left: 30px;"><strong>CLASS METHODS</strong><br />get<br />new<br />create<br />search<br /><strong>INSTANCE METHODS</strong><br />id<br />alias<br />assigned_to<br />component<br />creation_time<br />dupe_of<br />is_open<br />last_change_time<br />priority<br />product<br />resolution<br />severity<br />status<br />summary</pre>
251 <p>At the very least, couldn't the wiki mention both?</p>
254 <p>for a client side solution. I guess I didn't mention I'm working client side. Actually I see little difference between client and server side API's here.</p>
256 That sounds like one of the design goals of BZ::Client, but I'm only guessing.</blockquote>
257 <p>You mean a design goal to work on more than one machine? I'd say it's basic functionality but perhaps that's just me.</p>
259 <blockquote>I want the API that can get me the Bugzilla data from wherever I happen to run it. Oh and I'm working in Perl.</blockquote>
260 I don't think I understand this paragraph, BZ::Client works wherever your client is able to access your Bugzilla from. But your problem is totally different, you want functionality that may or may not be provided currently by the WebService-API. Check the docs and if it's not sufficient check the code and maybe provide patches for the docs for anyone else with a similar problem.</blockquote>
261 <p>It looked like you were telling me that BZ::Client was not an official project and that I shouldn't be using it. I realize you were saying that I'd be better off contacting that module's owner, and I have (have not heard back yet). It's just I thought there would be some sort of official or at least full featured way to access the functionality of Bugzilla from scripts, specifically Perl scripts as from what I can tell Bugzilla is largely written in Perl. And as it is quite old in Internet terms I find it surprising there isn't a full featured Perl module that everybody's using already.</p>
262 <p>So far I've found WWW::Bugzilla and things like WWW::Bugzilla::Bugtree and WWW::Bugzilla::Search. These use some sort of WWW::Mechanize thingy and seems to be horribly inefficient. For example, the new method requires a bugid and takes a while to instantiate. If a script had to process a 1000 bugs and instantiate each one of them at like 4-5 second per instantiation it would take just way too long to get anything done. The Search module's no better. If you have a couple of thousand bugs qualifying then it gathers all of the data, returns a huge structure and takes tens of minutes to return from the search call. I emailed the author about this module but haven't received a response.</p>
263 <p>I then found BZ::Client and BZ::Client::Bug, which work fairly decently. It's quicker and pretty flexible but got stopped at the lack of search capability.</p>
264 <p>I see this Bugzilla::Webservice::Bug but have no idea on how to download the code.</p>
265 <p>I also see this BzAPI thing but it appears to be server side only.</p>
266 <p>One thing I'm trying to accomplish: We have a number of saved searches. One process we have here executes a number of these and saves the results to .csv files. This is done manually through the web UI. Another Perl script gathers a bunch of these .csv files and produces another .csv file in the form of a report that is useful to management. I'd like to change this Perl process to simply interrogate the Bugzilla database directly, possibly utilizing the saved searches directly and produce the final .csv file directly (or perhaps make a web page instead). There are also many other scripts I could imagine Perl doing by having full functioned access to Bugzilla.</p>
267 <p>Oh and I checked BZ::Client::Bug::search's code. It descends off in to a plethora of web related technologies that sufficiently obscures what's going on, what's expected and what works WRT search.</p>
269 <p>I for example simply don't use the WebServices and therefore can't tell you if your needed behavior is implemented or not.</p>
271 <p>I don't particularly care if it's WebServices or not. I just want to interact with the functionality of Bugzilla programmatically through Perl. The backend can be WebServices, client/server socket stuff or a direct API.</p>
273 <blockquote>Indeed. I've worked with 2 REST APIs so far and they both shared the characteristic of 1) being poorly documented</blockquote>
274 I don't find the WebServices API of Bugzilla documented that poorly,</blockquote>
275 <p>Starting from <a href="http://www.bugzilla.org/docs/4.4/en/html/api/index.html">http://www.bugzilla.org/docs/4.4/en/html/api/index.html</a> it's not immediately clear that this is a server side only technology. If it's not a server side only technology then it's not at all clear how to get the client side code. And there's an appalling lack of real world examples.</p>
277 <p>if it is you are in a happy position because you just need to check the implementation and provide patches to improve the docs, because your behavior is already implemented.</p>
279 <p>You make the incorrect assumption that 1) I understand enough about the code base to make contributions, 2) I have that time and 3) I wish to work for free. I'm a consultant and I need to get stuff done for my client. My client does not pay me to work on open source projects. I'm not totally opposed to working on open source projects nor contributing to them but I don't have the time nor inclination to do so here. Sorry.</p>
281 <p>If it is not your have a bigger problem because your functionality needs implementation. :-)</p>
283 <p>Not necessarily. Somebody else could have already implemented this or there may be another solution. That's why I'm posting here. I'm shocked that such a mature technology has such a lack of an interface, supported or not...</p>
285 <blockquote>and 2) not supporting full search. What's up with that?</blockquote>
286 As often it's a matter of available resources.</blockquote>
287 <p>I see it as more of a matter of professionalism. I know that I would not release code, open source or not, unless it was not at least reasonably feature complete.</p>
288 <p>REST APIs seem, in my experience, to use too much web technologies and vagueness, attempting to be language agnostic, that they read as if they say nothing and you need to go elsewhere for answers to simple questions. There's never any good examples of real code, they often don't describe what data is returned other than to say that it's of XML or JSON format - how are multiple records indicated? How empty fields handled? Different field data types? How are exceptions handled? These questions are often not answered. And usually the search portion is "not totally implemented". I think that this is because representing search conditions appears to be difficult to do in a REST scenario (largely because they seem to try to represent the search in terms of data structures like XML instead of simply strings that must be parsed - REST APIs seem to eschew conditional parsers).</p>
290 <div class="entry-more-link">
291 <a href="http://defaria.com/blogs/Status/2014/03/bugzillawebservice.html" itemprop="url">Continue reading</a>
296 <article id="entry-1979" class="entry-asset entry asset hentry" itemscope itemType="http://schema.org/BlogPosting">
297 <div class="asset-header">
298 <h2 class="asset-name entry-title" itemprop="name"><a href="http://defaria.com/blogs/Status/2013/02/file-this-one-u.html">File this one under Paid Support vs Open Source</a></h2>
299 <footer class="asset-meta">
300 <ul class="asset-meta-list">
301 <li class="asset-meta-list-item">Posted on <time datetime="2013-02-04T12:16:36-08:00" itemprop="datePublished">February 4, 2013</time></li>
302 <li class="asset-meta-list-item">by <span class="author entry-author vcard"></span></li>
305 <li class="asset-meta-list-item">in <a itemprop="articleSection" rel="tag" href="http://defaria.com/blogs/Status/broadcom/">Broadcom</a></li>
311 <div class="asset-content entry-content" itemprop="articleBody">
312 <p>I use both proprietary software as well as open source software. One would think that when you pay for your software and pay a lot for support, then obviously you must be in a better situation should something not work correctly. But my experience has been the opposite. Not always but often. I can only attribute this to the fact that when dealing with OSS you often are talking directly with the developer who has pride in his work and wants it to work correctly. He is bothered when people report problems in his software and motivated to try and fix it.</p>
314 <p>On the other hand we've all had our "experiences" with so called front line support people who sometimes barely know how the software they support operates or even how to spell its name correctly, who ask their customers to reboot their Linux server that's been up for the last 3 years to see if that will "help".</p>
316 <p>IBM/Rational Support is far from that bad - often they are excellent. But it does seem that sometimes when the problem is a little thorny they will punt and say this is "outside of scope" - whatever that means.</p>
318 <p>I must admit my process is slightly complicated - a CQPerl script which serves as a multiprocess server which forks off a copy of itself to handle request to process Clearquest data. For anybody who has written such server processes they can be tricky at first to program and get right, but soon turn into just another programming task like any other.</p>
320 <p>The problem arises in an odd way in which a request comes in to add a record. BuildEntity is called and the record is successfully added. But when a second process later attempts to do a similar thing - add a record - the BuildEntity fails stating:</p>
323 Status: 1 unknown exception from CQSession_BuildEntity in CQPerlExt at cqserver.pl line 31.
326 <p>The support engineer eventually responded with:</p>
329 On 1/25/2013 10:40 AM, Naomi Guerrero wrote:<br><br>
331 I'm following up on escalated PMR#16866,227,000. After escalating this PMR to L3 support, and Development having discussions about this issue, this request goes outside the scope of support. This is not something we can assist you with in support. Instead, I would recommend you reach out to your Sales agent at IBM (or I can) so that someone from the Rational Services team can further assist you.
334 To which I responded:
337 <p>On 1/25/2013 11:00 AM, Andrew DeFaria wrote:</p>
338 <p>How can you possibly say that this goes outside the scope of support?!? We have a situation here where <b>your</b> software returns the words "unknown exception", fails to do what it's advertised to do (Build and entity) and even stops my script from continuing! This is clearly an error in IBM's software. I have a reproducible test case (you'll need our schema, which I supplied). There's is nothing in my code that is outside of a supported situation - I'm using regular CQPerl stuff and every call is supported. It's on supported hardware, with supported versions of OS, Clearquest, CQPerl, etc. Why BuildEntity returning "unknown exception"? Surely this is in the code for BuildEntity. Somebody should examine it and report back! This is clearly an error and I fail to see how it goes outside of the scope of support at all. If the problem is difficult to solve that does not put it into the realm of "outside of support".</p>
340 <p>My client pays IBM big $$$ for support every year if I remember how IBM support contracts go. We want our money's worth. While I fail to see how a "Sales" agent will be able to assist (I personally think a knowledgable software developer like the guy who's responsible for the BuildEntity code - you do have somebody like that no? - should look into the code and see exactly what circumstances causes BuildEntity to emit such an error) if that's the next step then by all means take it and reach out to whoever is next in line to assist. But from where I sit this is indeed a bug and is not outside the scope of support. If you believe it is then please explain yourself. Why is this "outside the scope of support"?</p>
343 <p>Now granted it appears that this happens <b>only</b> with out schema (Works fine with the SAMPL database) but that seems to point to either a problem somewhere with action hook code being executed (which would also be deemed a bug as action hook code should never cause <b>unknown exception</b>s to happen or it could be caused by some corruption in my client's database - something that should be pursued - not dropped to "Sales"!</p>
345 <p>Problem report <a href="https://www-947.ibm.com/support/servicerequest/problemDescriptionSelect.action?srNumber=16866&branch=227&retainCountryCode=000">16866,227 000: unknown exception from CQSession_BuildEntity</a></p>
347 <div class="entry-more-link">
348 <a href="http://defaria.com/blogs/Status/2013/02/file-this-one-u.html" itemprop="url">Continue reading</a>
353 <article id="entry-1978" class="entry-asset entry asset hentry" itemscope itemType="http://schema.org/BlogPosting">
354 <div class="asset-header">
355 <h2 class="asset-name entry-title" itemprop="name"><a href="http://defaria.com/blogs/Status/2012/09/speed-of-networ.html">Speed of network reads as opposed to network writes</a></h2>
356 <footer class="asset-meta">
357 <ul class="asset-meta-list">
358 <li class="asset-meta-list-item">Posted on <time datetime="2012-09-21T14:06:08-08:00" itemprop="datePublished">September 21, 2012</time></li>
359 <li class="asset-meta-list-item">by <span class="author entry-author vcard"></span></li>
362 <li class="asset-meta-list-item">in <a itemprop="articleSection" rel="tag" href="http://defaria.com/blogs/Status/broadcom/">Broadcom</a></li>
368 <div class="asset-content entry-content" itemprop="articleBody">
371 <style type="text/css">
373 font: Helvetica, Arial, sans-serif;
376 font: Helvetica, Arial, sans-serif;
379 font-family: verdana,
389 border-top: 1px solid #ddd;
390 border-left: 1px solid #ddd;
391 border-right: 2px solid #000;
392 border-bottom: 2px solid #000;
399 font-family: courier;
401 -moz-border-radius: 10px;
404 border-top: 10px solid #03f;
405 border-left: 1px solid #ddd;
406 border-right: 2px solid grey;
407 border-bottom: 2px solid grey;
414 font-family: courier;
416 -moz-border-radius: 10px;
426 background-color: #ffffcc;
427 text-decoration: underline;
433 </head><body>I was asked to test the difference in speed between network reads and network writes. Now, of course, a lot of this is highly tuneable and depends on various things like protocol used (NFS vs SMB), whether you are writing over a LAN or a WAN, the rated speed of those links (1G vs 100M vs 10M or less), as well as the options used (for NFS things like rsize, wsize to name a few). However as currently configured the following test was done:<br><br>I created a file of some size (336M) which I will copied between local and remote file systems using a push strategy and a pull strategy. Lacking having root capability needed to mount filesystems via NFS between say San Jose and Irvine or playing around with SMB I decided to use my home directory, which is NFS mounted, and the local file system of /tmp. By push I mean that cp copying the file from /tmp to my home directory which is NFS mounted thus over the network. By pull I mean that cp was copying the file from my NFS mounted home directory and writing it to /tmp. Therefore push = local reads with network writes and pull = network reads and local writes. Here are the results...<br><br>First I did a little loop:<br><blockquote><tt>Xl-irv-05:i=0; while [ $i -lt 100 ]; do<br>/usr/bin/time -f %E -a -o pull.csv cp ~/336megfile /tmp/336megfile<br>let i=i+1<br>done</tt><br></blockquote>This pulls this 336megfile 100 times from my home directory to the local /tmp directory. The GNU time command is used to capture the time each of these takes. Network conditions and system workloads can cause this to vary so I take 100 samples.<br><br>Similarly this loop does the push:<br><blockquote><tt>Xl-irv-05:i=0; while [ $i -lt 100 ]; do<br>/usr/bin/time -f %E -a -o push.csv cp /tmp/336megfile ~/336megfile<br>let i=i+1<br>done<br></tt></blockquote>Doing a little Excel yields:<br><br><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAvgAAAH2CAIAAACKom9ZAAAgAElEQVR4nO2d/28UR97n/XfN/4DMnfdYP+GWCyE3u+ySJ2EfjkQsgpDAmKxxdpbV8iARdpUgw97DctqQPBOeBD8xYByEEoRIFJEMAUUkyvmiYEUhQiZCvh/Kbsrd1dXVX6qrqvv10usHM57G5Zl2z7urPlU1cvz48R4AAABA4zh+/PhIr9dbBgAAAGgcvV6PoAMAAADNhKADAAAAjYWgAwAAAI2FoAMAAACNhaADAAAAjYWgAwAAAI2FoAMAAACNhaADAAAAjYWgAwAAAI3FOOgMuiMrdPpDzXelbysfBAAAAKgLs6Az7HdGugPx9aA7En29HD20mmSG/c7K18oHAQAAAOrDKOjIOWdNgokekJLPyreVDwIAAADUiFmPzppenLWxJ/HvYb/T6Q+VD6b999PT09Euo7///e9tb2QKAAAAaUxPTxcJFL7SM6zRkept4iU35YNOrEE5mg8AAACQjmnQkVg7KJUI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sQtBBxER0aEEHbsQdBARER1K0LELQQcREdGhBB27EHQQEREdStCxC0EHERHRoQQduxB0EBERHUrQsQtBBxER0aEtDTrDfmdkhU5/mPj2oDuS/LbyQYMGOX+PERERW2s7g86guxpVhv3OSHcQ/+6I/G3xtfJBowY5f48RERFbazuDzmOk/CI9JEWflScoHzRrkPP3GBERsbW2NOg8HrqKd+fE+3iG/U6nP1Q+mPafT09P91aZmJj4z/866vxtRkREbKd/7/8hf5zwl9w9OslhqPJBJ9agy08/5fxtRkREbKct7dGRiA9DxTKN+LbyQcMGEXQQERFd2cqgIxfcDLrx4Su5kyf6WvmgWYMu79jp/G1GRERsp60MOvLscmXkkWaSPw5BygcNGkTQQUREdGU7g0599Hq9S7v2OH+bERER2ylBxy69Xu/9Fyecv82IiIjtlKBjl16vN/PypPO3GRERsZ0SdOzS6/XeOnjE+duMiIjYTgk6diHoICIiOpSgY5der/fGoTecv82IiIjtlKBjF4IOIiKiQwk6dun1en+aOu38bUZERGynBB279Hq9Q1NnnL/NiIiI7ZSgY5der7d38qzztxkREbGdEnTs0uv1nntl4PxtRkREbKcEHbv0er2tB885f5sRERHbKUHHLr1eb3TfjPO3GRERsZ0SdOxC0EFERHQoQccuIujMPfkL5+80IiJiCyXo2EUEnctPP+X8nUZERGyhBB27iKAzv+0Z5+80IiJiCyXo2GWlR2fHTufvNCIiYgsl6NhlpUbnhV3O32lERMQWStCxiwg677844fydRkREbKEEHbsQdBARER1K0LGLCDpvHTzi/J1GRERsoQQduxB0EBERHUrQsYsIOqcO/dX5O42IiNhCCTp2EUHnjUNvOH+nERERWyhBxy4i6Byd+pvzdxoREbGFEnTsIoLOoakzzt9pRETEFkrQsYsIOr2pfzh/pxEREVsoQccuIug898rA+TuNiIjYQgk6diHoICIiOpSgYxcRdMb3v+f8nUZERGyhBB27iKAzum/G+TuNiIjYQgk6domCzqUnxp2/2YiIiG2ToGOXKOhcfvop5282IiJi2yTo2CUKOvNbf+n8zUZERGybBB27PO7R2bHT+Zu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ix8oKMfmnia6XzOwgdW80Ol/8K8G6nYsWV+6MpRRSaRujiw4LHhBR25my462OhjpvCBxY8tM5248LFOfuiaUaS8M70LH1vFD13zpWFiLnZgyWOTt8XBd+csE3RKkLzK5z8L8x3o5ocqPs3M5nMWPrDkD40/Kc9c2WLHlvmh0gE5J5E6OzD/sWVm9hY+tswPXX1usSt+4QMLHltmOnHhY5380OXoBeoOHn+d943Jf2wFP1Q6Cw1vEAofWPLYJkLQAfCFYdFJpPUfWPJYAIDaIOgAAACAEoqRAQAAoLEQdAAAAKAJlJmf6zUEHQAAACg1KdhnCDoAAACwXG5SsL8QdAAAAKCxEHQAAACgsRB0AAAAoLEQdAAAAKCxEHQAAACgsRB0AAAAoLEQdAAAAKCxEHQAAACgsRB0AAAAoLEQdAAAAKCx9Hq9kVdffbUHAAAA0DheffXV/w9TiAl/3aZqRAAAAABJRU5ErkJggg==" alt=""><br><br>Bottom line: <br><blockquote>
434 <table style="width: 192pt;" bgcolor="#000000" border="0" cellpadding="2" cellspacing="1" width="256"><colgroup><col style="width:48pt" span="4" width="64">
435 </colgroup><tbody><tr style="height:15.0pt" height="20">
436 <th style="height:15.0pt;width:48pt" bgcolor="#ffffcc" height="20" width="64"><br></th>
437 <th class="xl68" style="width:48pt" bgcolor="#ffffcc" width="64">Pull</th>
438 <th class="xl68" style="width:48pt" bgcolor="#ffffcc" width="64">Push</th>
439 <th class="xl69" style="width:48pt" bgcolor="#ffffcc" width="64">Diff</th>
441 <tr style="height:15.0pt" height="20">
442 <th class="xl66" style="height:15.0pt" bgcolor="#ffffcc" height="20">Average</th>
443 <td class="xl67" align="right" bgcolor="#ffffff">0.79</td>
444 <td class="xl67" align="right" bgcolor="#ffffff">4.29</td>
445 <td class="xl65" align="right" bgcolor="#ffffff">5.45<br></td>
447 </tbody></table></blockquote>
448 Pulling data where the writes are local took on average 0.79 seconds and is 5.45 times quicker than pushing data where the writes are over the network which took, on average, 4.29 seconds.<br><br><b>Moral</b>: If you have to work over a LAN or WAN, try to make your writes local...
450 <div class="entry-more-link">
451 <a href="http://defaria.com/blogs/Status/2012/09/speed-of-networ.html" itemprop="url">Continue reading</a>
456 <article id="entry-1977" class="entry-asset entry asset hentry" itemscope itemType="http://schema.org/BlogPosting">
457 <div class="asset-header">
458 <h2 class="asset-name entry-title" itemprop="name"><a href="http://defaria.com/blogs/Status/2012/09/shebang-and-scr.html">Shebang and script interpreters</a></h2>
459 <footer class="asset-meta">
460 <ul class="asset-meta-list">
461 <li class="asset-meta-list-item">Posted on <time datetime="2012-09-14T17:48:31-08:00" itemprop="datePublished">September 14, 2012</time></li>
462 <li class="asset-meta-list-item">by <span class="author entry-author vcard"></span></li>
465 <li class="asset-meta-list-item">in <a itemprop="articleSection" rel="tag" href="http://defaria.com/blogs/Status/broadcom/">Broadcom</a></li>
471 <div class="asset-content entry-content" itemprop="articleBody">
472 <p>Turns out that you cannot put a script as the interpreter for your #! line. It must be a binary. Also, many IT departments forced with supporting various Unix/Linux's often have a set of scripts that "do the right thing(tm)" to set up an environment for the target architecture then execute the architecturally appropriate binary. I did this way back with /app server.</p>
474 <p>So what do you do when you are say writing an expect script and wish to use #!/app/expect? The trick is to use something like #!/usr/bin/env /app/expect. Most people are familiar with using env(1) to print out the environment and it turns out it does - if you don't give it any other parameter. But it's real main purpose is "run a program in a modified environment". So if you wish to use an interpreter that is a script use #!/usr/bin/env /path/to/script as your shebang line.</p>
476 <div class="entry-more-link">
477 <a href="http://defaria.com/blogs/Status/2012/09/shebang-and-scr.html" itemprop="url">Continue reading</a>
482 <article id="entry-1976" class="entry-asset entry asset hentry" itemscope itemType="http://schema.org/BlogPosting">
483 <div class="asset-header">
484 <h2 class="asset-name entry-title" itemprop="name"><a href="http://defaria.com/blogs/Status/2012/08/creating-a-deve.html">Creating a Development Schema</a></h2>
485 <footer class="asset-meta">
486 <ul class="asset-meta-list">
487 <li class="asset-meta-list-item">Posted on <time datetime="2012-08-29T21:08:12-08:00" itemprop="datePublished">August 29, 2012</time></li>
488 <li class="asset-meta-list-item">by <span class="author entry-author vcard"></span></li>
491 <li class="asset-meta-list-item">in <a itemprop="articleSection" rel="tag" href="http://defaria.com/blogs/Status/broadcom/">Broadcom</a></li>
497 <div class="asset-content entry-content" itemprop="articleBody">
498 <p>Creating a dev schema is not that difficult. Note you can create a dev schema in the production schema repo or in a dev schema repo. The later is a just a bit safer as it is a bit more isolated.</p>
500 <p>To create a dev schema from the CQ Designer, right click on the schema repo and select <b>New: Schema</b>. We are creating a new schema by basing it off of an existing schema. Expand the + sign and select the version that you wish to base your new schema off of. Right now there is only Version 1. Select next and name your schema. I suggest that you use your username (e.g. adefaria) indicating that we are the owner of this dev schema. Enter comments if you like and then <b>Finish</b>.</p>
502 <p>After the schema is created it will ask you if you want to associate this with a database. You could select <b>Yes</b> and then go though naming your database and connecting it to an existing user database but chances are you don't have one of those yet. So select <b>No</b> for now. You now have a development schema.</p>
504 <h3>Creating a Test Database</h3>
506 <p>You must create an empty database on the database server. Use RDP to get a remote desktop there and run the SQL Server Management Studio and connect to the database server engine.</p>
508 <p>Next right click on databases and select New Database. Name your database. The convention for test databases is <schemaname>_<id>. For our personal test databases again I'd suggest using your user ID so I will create <schemaname>_adefaria for me.</p>
510 <h3>Setting the db_owner and schema owner</h3>
512 <p>In MSSQL we need to set the dbowner and the schema for this new database. Expand the folder tree (+) on your newly created database (MobDev_adefaria) then right click on Security and select New: User. Type <dbadmin> in the User Name edit box and then select and copy this string. We'll need it several times more in this process. Paste this into the Login name and Default Schema and then toggle on db_owner in both the Schemas owned by this user and Database role membership boxes then select OK.</p>
514 <p>Next right click on Security again and select <b>New: Schema</b>. Paste <dbadmin> into Schema Name and Schema Owner and click OK.</p>
516 <p>Now you have an empty database that you can associate with your schema.</p>
518 <h3>Associating your new test database with your dev schema</h3>
520 <p>Go back to CQ Designer and right click on your development schema again and select <b>Show: User Databases</b>. You should see a list of databases. Right click on an empty area and select <b>Create Database</b>. Seems odd to call it create database when the database has already been created - it really means "take this schema and it's definition of what should be in the user database and apply that definition/schema to my newly created empty database".</p>
522 <p>Give this database a Logical Database Name. Alas we only have 5 characters. I just use my initials - apd - short and simple. Add comments if you like. We use MSSQL for the database vendor. Then toggle Database Type to Test Database. We already have a production database in our dev schema repo then select next.</p>
524 <p>Now we fill in Physical Database Name with the name of the database (<schemaname>_adefaria) and the Database Server . Then paste that <dbadmin> into Administrator User and Administrator Password (See I told you you'd need it!) then Next and Next again.</p>
526 <p>Now we need to expand the adefaria (your dev schema) and select which version you want this new test database to start with. Select Version 1 and Finish.</p>
528 <p>Clearquest Designer now goes out and creates all the necessary tables and transfers all of the necessary data, hook scripts, etc. from Version 1 of the dev schema adefaria into your database. Get coffee...</p>
530 <p>After the database is created follow the steps at Seeding a test database to seed your test database with some test data.</p>
532 <div class="entry-more-link">
533 <a href="http://defaria.com/blogs/Status/2012/08/creating-a-deve.html" itemprop="url">Continue reading</a>
538 <article id="entry-1975" class="entry-asset entry asset hentry" itemscope itemType="http://schema.org/BlogPosting">
539 <div class="asset-header">
540 <h2 class="asset-name entry-title" itemprop="name"><a href="http://defaria.com/blogs/Status/2012/08/creating-develo.html">Creating Development Schema Repositories</a></h2>
541 <footer class="asset-meta">
542 <ul class="asset-meta-list">
543 <li class="asset-meta-list-item">Posted on <time datetime="2012-08-28T14:41:42-08:00" itemprop="datePublished">August 28, 2012</time></li>
544 <li class="asset-meta-list-item">by <span class="author entry-author vcard"></span></li>
547 <li class="asset-meta-list-item">in <a itemprop="articleSection" rel="tag" href="http://defaria.com/blogs/Status/broadcom/">Broadcom</a></li>
553 <div class="asset-content entry-content" itemprop="articleBody">
554 <p>When you have multiple Clearquest Designers you quickly realize that you cannot easily do parallel development of the schema. The best way to do this is to work through a development schema repository and to create development schemas for each schema designer. To create a development schema repository you should first create an empty database for Clearquest to work in. You can create an empty database by following the instructions for <span class="nobr"><a href="http://confluence.broadcom.com/display/MWGMPSSCM/Creating+a+Development+Schema#CreatingaDevelopmentSchema-CreatingaTestDatbase" class="external-link" rel="nofollow">Creating a Test Database</a>. Next you must use the Clearquest Maintenance Tool to create a new Schema Repository:</p>
557 <li>Start the Clearquest Maintenance Tool</li>
558 <li>Select <b>Schema Respository: Create</b></li>
559 <li>The Maintenance Tool then asks you to fill out information regarding the location of your schema database. Fill in information about the database server and Administrator Name and password. Do not create a sample database at this time. The Clearquest Maintenance tool will take some time to set up the new schema repository.</li>
562 <h3><a name="CreatingDevelopmentSchemaRepositories-ExportingaCQProfile.iniforthisnewDevelopmentSchemaRepository"></a>Exporting a CQProfile.ini for this new Development Schema Repository</h3>
564 <p>In order to see this new development schema repository you should export the schema repository from the Clearquest Maintenance Tool. This exported cqprofile.ini can be shared with out Schema Developers who would import the .ini file into their environment using the Clearquest Maintenance Tool. You export the cqprofile.ini by selecting <b>File: Export Profile</b>. You need only select the new repository you created.</p>
566 <p><img src="images/Export cqprofile.png"></p>
568 <p>Click on the "..." button to select where to store the .ini file and what it's name will be - I used C:\Cygwin\tmp\MPSDev.ini and click <b>Finish</b>. This file can be passed to your fellow Schema Developers.</p>
570 <h3><a name="CreatingDevelopmentSchemaRepositories-ImportingUsers"></a>Importing Users</h3>
572 <p>Your new development schema repo has no users in it except a default set of users including the "admin" user (with no password). Run the User Administration tool on production (MCBU) and export all of the users. Run the User Administration tool again on the new development schema repo (e.g. MPSDev) and import the users.</p>
574 <h3><a name="CreatingDevelopmentSchemaRepositories-CleanupUnnecessarySchemas"></a>Clean up Unnecessary Schemas</h3>
576 <p>Now's a good time to remove additional default schemas in your development schema repo like Common, DefectTracking, Enterprise, etc. You cannot delete the Blank schema.</p>
578 <h3><a name="CreatingDevelopmentSchemaRepositories-SeedingtheDevelopmentSchemaRepowiththeLatestVersionfromProduction"></a>Seeding the Development Schema Repo with the Latest Version from Production</h3>
580 <p>One trick to seed your new development schema repo with a recent version of the production schema is to create a new development schema in the production schema repo based off of the latest version of the production schema. Then export that whole schema of the <b>new</b> development schema and import it into the new development schema repo. You will only have the history of the latest version of the schema but that's OK for development purpose. Make sure you specify an appropriate Schema Name and Comment when you export the schema from production:</p>
582 <p><img src="images/New Schema.png"></p>
584 <p><b>Note:</b> We are giving this schema the name MPSDev because that's what we want it to be called in the new development schema repo. Also, the comment is appropriate when we will be looking at it in the MPSDev development schema repo.</p>
586 <p>Do not associate a database with this schema, there's no reason. We don't care as we are only using this to exportschema from production -> development schema repo. We'll create databases there. We don't need to check out this schema either.</p>
588 <h4><a name="CreatingDevelopmentSchemaRepositories-ExportingtheSchemafromProduction"></a>Exporting the Schema from Production</h4>
590 <p>We assume you have created a new development schema in the production schema repo based off of the tip of the production database. You need to export that with:</p>
592 <div class="code" >$ cqload exportschema -dbset MCBU admin <password> <schemaname> <path to <schemaname>.full.schema>]]>
595 <p>Where <schemaname> is the name of the development schema name you created in the production schema repo</p>
597 <h4><a name="CreatingDevelopmentSchemaRepositories-ImportingtheSchemaintotheDevelopmentSchemaRepo"></a>Importing the Schema into the Development Schema Repo</h4>
599 <p>Next we import this full.schema of only the tip of production to seed a development schema in the development schema repo.</p>
601 <p><div class="code">$ cqload importschema -dbset MPSDev admin <password> <path to <schemaname>.full.schema>
602 *********************************************************
603 Starting importschema
604 *********************************************************
606 CRMMD1264E The import file ".\MPSDev.full.schema" is invalid:
607 CRMMD1422E The schema requires the following package(s), which is(are) not currently installed in the database...
608 revision '2.1' of package 'EmailPlus'
609 revision '1.2' of package 'Resolution'
610 revision '2.1' of package 'Attachments'.
612 *********************************************************
613 ERROR: importschema FAILED!
614 *********************************************************
617 <p>Oops! We need to import these packages into our new schema. Right click on your new development schema repo in Clearquest Designer and select <b>Install Package</b>. Expand the EmailPlus and select 2.1 to install that. Repeat this for Resolution and Attachments. Repeat the cqload importschema.</p>
619 <h4><a name="CreatingDevelopmentSchemaRepositories-RemoveOldSchemainProductionRepo"></a>Remove Old Schema in Production Repo</h4>
621 <p>You can remove the schema you created above in the Production repo as it is no longer needed.</p>
623 <h3><a name="CreatingDevelopmentSchemaRepositories-CreateDevSchemas"></a>Create Dev Schemas</h3>
625 <p>You are now free to create development schemas in the new development schema repo as described <a href="/display/MWGMPSSCM/Creating+a+Development+Schema" title="Creating a Development Schema">Creating a Development Schema</a> as well as test databases and <a href="/display/MWGMPSSCM/Seeding+a+Test+Database" title="Seeding a Test Database">seeding them</a>.</p>
627 <div class="entry-more-link">
628 <a href="http://defaria.com/blogs/Status/2012/08/creating-develo.html" itemprop="url">Continue reading</a>
633 <article id="entry-1974" class="entry-asset entry asset hentry" itemscope itemType="http://schema.org/BlogPosting">
634 <div class="asset-header">
635 <h2 class="asset-name entry-title" itemprop="name"><a href="http://defaria.com/blogs/Status/2012/08/eliminating-per.html">Eliminating Perl Syntactic Sugar</a></h2>
636 <footer class="asset-meta">
637 <ul class="asset-meta-list">
638 <li class="asset-meta-list-item">Posted on <time datetime="2012-08-02T20:13:44-08:00" itemprop="datePublished">August 2, 2012</time></li>
639 <li class="asset-meta-list-item">by <span class="author entry-author vcard"></span></li>
646 <div class="asset-content entry-content" itemprop="articleBody">
647 <p>Programming complex systems is... well... complicated. You need to focus on the task at hand and be able to see the trees from the forest as they say. That's why I like to eliminate as much what I call syntactic sugar from the language. Syntactic sugar are ornaments, special characters and restating the obvious or default that makes your mind drift from the problem at hand to how to formulate syntactic sugar. Additionally such sugar takes time to type in, is prone to errors if you don't get it right and usually are comprised of characters that, as a touch typist, you have to often stretch to reach on the keyboard.</p>
649 <p>Here's an example. Recently I came across the following code:</p>
652 delete($self->{'cqc'}->{'fields'}->{'PCP_ID'}) if (exists $self->{'cqc'}->{'fields'}->{'PCP_ID'}); # PCP_ID is read-only and should not be passed through.<br>
653 delete($self->{'cqc'}->{'fields'}->{'Approved_by_CCB'}) if (exists $self->{'cqc'}->{'fields'}->{'Approved_by_CCB'});<br>
654 delete($self->{'cqc'}->{'fields'}->{'record_type'}) if (exists $self->{'cqc'}->{'fields'}->{'record_type'});<br>
657 <p>Now that takes a some time to parse... (Did you see the comment buried in there?) And here's the same code with the syntactic sugar removed:</p>
660 delete $self->{cqc}{fields}{PCP_ID};<br>
661 delete $self->{cqc}{fields}{Approved_by_CCB};<br>
662 delete $self->{cqc}{fields}{record_type};<br>
665 <p>which do you find easier to read?</p>
670 <li> Surrounding hash keys with '' is unnecessary unless you use special characters in the key name like spaces and '-'. The '_' character is OK (the Perl interpreter views '-' as a possible subtraction). Use '' for hash keys only when necessary.</li>
672 <li>The additional '->' operators are unnecessary. The first one is necessary since $self is a hashref, but after that you don't need them - why type them?</li>
674 <li>The delete call need not have (). Granted, delete is a function and some people field all function should have () even if there are no parameters. And yet even people who feel this way rarely use () on Perl builtins like print and die. If you define your subroutines before they are used you can call them without ().</li>
676 <li>There's no reason to include "if (exists $self->{'cqc'}->{'fields'}->{'PCP_ID'})". First off, if clauses that follow the statement do not need (). Even "exists" is unnecessary as if it is omitted the if statement works the same anyway. Finally, delete $hashref->{unknown} will not error out if $hashref->{unknown} doesn't exist.</li>
679 <div class="entry-more-link">
680 <a href="http://defaria.com/blogs/Status/2012/08/eliminating-per.html" itemprop="url">Continue reading</a>
685 <nav class="page-navigation entry-navigation pagination content-nav">
686 <ul class="pagination-list">
687 <li class="page-navigation-list-item page-navigation-prev"><a rel="prev" href="http://defaria.com/mt/mt-search.cgi?IncludeBlogs=8&amp;template_id=462&amp;limit=10&amp;archive_type=Index&amp;page=2">Older entries</a></li>
692 <aside class="widgets related" role="complementary">
693 <nav class="widget-search widget">
694 <div class="widget-content">
695 <form method="get" id="search" action="http://defaria.com/mt/mt-search.cgi">
697 <input type="text" name="search" value="" placeholder="Search...">
699 <input type="hidden" name="IncludeBlogs" value="8">
701 <input type="hidden" name="limit" value="20">
702 <button type="submit" name="button">
703 <img alt="Search" src="/mt/mt-static/support/theme_static/rainier/img/search-icon.png">
709 <nav class="widget-archive-category widget">
710 <h3 class="widget-header">Categories</h3>
711 <div class="widget-content">
714 <ul class="widget-list">
717 <li class="widget-list-item"><a href="http://defaria.com/blogs/Status/ameriquest/">Ameriquest (99)</a>
725 <li class="widget-list-item"><a href="http://defaria.com/blogs/Status/audience/">Audience (3)</a>
733 <li class="widget-list-item"><a href="http://defaria.com/blogs/Status/broadcom/">Broadcom (76)</a>
741 <li class="widget-list-item"><a href="http://defaria.com/blogs/Status/gpdb/">GPDB (35)</a>
749 <li class="widget-list-item"><a href="http://defaria.com/blogs/Status/general-dynamics/">General Dynamics (61)</a>
757 <li class="widget-list-item"><a href="http://defaria.com/blogs/Status/general-electric/">General Electric (13)</a>
765 <li class="widget-list-item"><a href="http://defaria.com/blogs/Status/hewlett-packard/">Hewlett Packard (13)</a>
773 <li class="widget-list-item"><a href="http://defaria.com/blogs/Status/lynuxworks/">LynuxWorks (162)</a>
781 <li class="widget-list-item"><a href="http://defaria.com/blogs/Status/pqa/">PQA (35)</a>
789 <li class="widget-list-item"><a href="http://defaria.com/blogs/Status/salira/">Salira (79)</a>
797 <li class="widget-list-item"><a href="http://defaria.com/blogs/Status/tellabs/">Tellabs (2)</a>
805 <li class="widget-list-item"><a href="http://defaria.com/blogs/Status/texas-instruments/">Texas Instruments (31)</a>
817 <nav class="widget-archive-dropdown widget">
818 <h3 class="widget-header">Archives</h3>
819 <div class="widget-content">
821 <option>Select a Month...</option>
823 <option value="http://defaria.com/blogs/Status/2016/04/">April 2016</option>
827 <option value="http://defaria.com/blogs/Status/2014/09/">September 2014</option>
831 <option value="http://defaria.com/blogs/Status/2014/04/">April 2014</option>
835 <option value="http://defaria.com/blogs/Status/2014/03/">March 2014</option>
839 <option value="http://defaria.com/blogs/Status/2013/02/">February 2013</option>
843 <option value="http://defaria.com/blogs/Status/2012/09/">September 2012</option>
847 <option value="http://defaria.com/blogs/Status/2012/08/">August 2012</option>
851 <option value="http://defaria.com/blogs/Status/2012/05/">May 2012</option>
855 <option value="http://defaria.com/blogs/Status/2012/04/">April 2012</option>
859 <option value="http://defaria.com/blogs/Status/2012/02/">February 2012</option>
863 <option value="http://defaria.com/blogs/Status/2012/01/">January 2012</option>
867 <option value="http://defaria.com/blogs/Status/2011/10/">October 2011</option>
871 <option value="http://defaria.com/blogs/Status/2011/07/">July 2011</option>
875 <option value="http://defaria.com/blogs/Status/2010/09/">September 2010</option>
879 <option value="http://defaria.com/blogs/Status/2010/08/">August 2010</option>
883 <option value="http://defaria.com/blogs/Status/2010/04/">April 2010</option>
887 <option value="http://defaria.com/blogs/Status/2010/03/">March 2010</option>
891 <option value="http://defaria.com/blogs/Status/2010/02/">February 2010</option>
895 <option value="http://defaria.com/blogs/Status/2009/05/">May 2009</option>
899 <option value="http://defaria.com/blogs/Status/2009/04/">April 2009</option>
903 <option value="http://defaria.com/blogs/Status/2008/07/">July 2008</option>
907 <option value="http://defaria.com/blogs/Status/2008/05/">May 2008</option>
911 <option value="http://defaria.com/blogs/Status/2008/04/">April 2008</option>
915 <option value="http://defaria.com/blogs/Status/2008/03/">March 2008</option>
919 <option value="http://defaria.com/blogs/Status/2008/02/">February 2008</option>
923 <option value="http://defaria.com/blogs/Status/2008/01/">January 2008</option>
927 <option value="http://defaria.com/blogs/Status/2007/12/">December 2007</option>
931 <option value="http://defaria.com/blogs/Status/2007/11/">November 2007</option>
935 <option value="http://defaria.com/blogs/Status/2007/10/">October 2007</option>
939 <option value="http://defaria.com/blogs/Status/2007/09/">September 2007</option>
943 <option value="http://defaria.com/blogs/Status/2007/08/">August 2007</option>
947 <option value="http://defaria.com/blogs/Status/2007/07/">July 2007</option>
951 <option value="http://defaria.com/blogs/Status/2007/06/">June 2007</option>
955 <option value="http://defaria.com/blogs/Status/2007/05/">May 2007</option>
959 <option value="http://defaria.com/blogs/Status/2007/04/">April 2007</option>
963 <option value="http://defaria.com/blogs/Status/2007/03/">March 2007</option>
967 <option value="http://defaria.com/blogs/Status/2007/01/">January 2007</option>
971 <option value="http://defaria.com/blogs/Status/2006/12/">December 2006</option>
975 <option value="http://defaria.com/blogs/Status/2006/11/">November 2006</option>
979 <option value="http://defaria.com/blogs/Status/2006/10/">October 2006</option>
983 <option value="http://defaria.com/blogs/Status/2006/09/">September 2006</option>
987 <option value="http://defaria.com/blogs/Status/2006/07/">July 2006</option>
991 <option value="http://defaria.com/blogs/Status/2006/06/">June 2006</option>
995 <option value="http://defaria.com/blogs/Status/2006/05/">May 2006</option>
999 <option value="http://defaria.com/blogs/Status/2006/04/">April 2006</option>
1003 <option value="http://defaria.com/blogs/Status/2006/03/">March 2006</option>
1007 <option value="http://defaria.com/blogs/Status/2006/02/">February 2006</option>
1011 <option value="http://defaria.com/blogs/Status/2006/01/">January 2006</option>
1015 <option value="http://defaria.com/blogs/Status/2005/12/">December 2005</option>
1019 <option value="http://defaria.com/blogs/Status/2005/11/">November 2005</option>
1023 <option value="http://defaria.com/blogs/Status/2005/10/">October 2005</option>
1027 <option value="http://defaria.com/blogs/Status/2005/09/">September 2005</option>
1031 <option value="http://defaria.com/blogs/Status/2005/08/">August 2005</option>
1035 <option value="http://defaria.com/blogs/Status/2005/07/">July 2005</option>
1039 <option value="http://defaria.com/blogs/Status/2005/06/">June 2005</option>
1043 <option value="http://defaria.com/blogs/Status/2005/05/">May 2005</option>
1047 <option value="http://defaria.com/blogs/Status/2005/04/">April 2005</option>
1051 <option value="http://defaria.com/blogs/Status/2005/03/">March 2005</option>
1055 <option value="http://defaria.com/blogs/Status/2005/02/">February 2005</option>
1059 <option value="http://defaria.com/blogs/Status/2005/01/">January 2005</option>
1063 <option value="http://defaria.com/blogs/Status/2004/12/">December 2004</option>
1067 <option value="http://defaria.com/blogs/Status/2004/09/">September 2004</option>
1071 <option value="http://defaria.com/blogs/Status/2004/08/">August 2004</option>
1075 <option value="http://defaria.com/blogs/Status/2004/07/">July 2004</option>
1079 <option value="http://defaria.com/blogs/Status/2004/06/">June 2004</option>
1083 <option value="http://defaria.com/blogs/Status/2004/05/">May 2004</option>
1087 <option value="http://defaria.com/blogs/Status/2004/04/">April 2004</option>
1091 <option value="http://defaria.com/blogs/Status/2004/03/">March 2004</option>
1095 <option value="http://defaria.com/blogs/Status/2004/02/">February 2004</option>
1099 <option value="http://defaria.com/blogs/Status/2004/01/">January 2004</option>
1103 <option value="http://defaria.com/blogs/Status/2003/12/">December 2003</option>
1107 <option value="http://defaria.com/blogs/Status/2003/11/">November 2003</option>
1115 <div class="widget-syndication widget section">
1116 <div class="widget-content">
1117 <p><img src="http://defaria.com/mt/mt-static/images/status_icons/feed.gif" alt="Subscribe to feed" width="9" height="9" /> <a href="http://defaria.com/blogs/Status/atom.xml">Subscribe to this blog's feed</a></p>
1125 <footer id="footer" role="contentinfo">
1126 <div id="footer-inner">
1127 <div id="footer-content">
1128 <nav role="navigation">
1130 <li><a href="http://defaria.com/blogs/Status/">Home</a></li>
1136 <p class="license">© Copyright 2016.</p>
1137 <p class="poweredby">Powered by <a href="http://www.movabletype.org/">Movable Type</a></p>
1143 <script src="http://defaria.com/mt/mt-static/jquery/jquery.min.js"></script>
1144 <script src="http://defaria.com/blogs/Status/mt-theme-scale2.js"></script>