<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sam Moffatt @ Pasamio.com &#187; today</title>
	<atom:link href="http://pasamio.com/category/today/feed/" rel="self" type="application/rss+xml" />
	<link>http://pasamio.com</link>
	<description>Sam Moffatt's Tech Blog: Writings on Technology</description>
	<lastBuildDate>Fri, 20 Jan 2012 08:40:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Today: 01-FEB-2011: Android unable to operate in enterprise?</title>
		<link>http://pasamio.com/2011/02/01/today-01-feb-2011-android-unable-to-operate-in-enterprise/</link>
		<comments>http://pasamio.com/2011/02/01/today-01-feb-2011-android-unable-to-operate-in-enterprise/#comments</comments>
		<pubDate>Tue, 01 Feb 2011 01:05:09 +0000</pubDate>
		<dc:creator>pasamio</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[thoughts]]></category>
		<category><![CDATA[today]]></category>
		<category><![CDATA[university]]></category>

		<guid isPermaLink="false">http://pasamio.com/?p=802</guid>
		<description><![CDATA[Today was the nail in the coffin of the Samsung Galaxy S that I use at work to do Android based testing of the library&#8217;s future work in the mobile area. The device is a stock device running Android 2.1 (Samsung&#8217;s updater app cowardly refuses to upgrade it to 2.2 for some reason) however as [...]]]></description>
			<content:encoded><![CDATA[<p>Today was the nail in the coffin of the Samsung Galaxy S that I use at work to do Android based testing of the library&#8217;s future work in the mobile area. The device is a stock device running Android 2.1 (Samsung&#8217;s updater app cowardly refuses to upgrade it to 2.2 for some reason) however as the device is for testing and since it has WiFi built in I&#8217;ve decided to use that. It isn&#8217;t connected to the cellular data network (or even have a SIM card) and this has lead to some interesting problems.<br />
<span id="more-802"></span><br />
The first problem I noticed with it was the flagrant disregard for the proxy settings by all of the apps on the device  -except the web browser. I&#8217;m connecting the device in a corporate environment with no cellular data so I know when something isn&#8217;t going through the wireless network. I&#8217;ve setup the proxy and using the web browser  I can surf pages. However no other application seems to get to the internet. Google Maps? Just sits there doing nothing. I can go to maps.google.com in the browser fine though! Google Mail? Won&#8217;t even let me set up the account. Marketplace? Fail.</p>
<p>So this tells me that at least Android 2.1 level applications do not respect the proxy settings I had set up. I&#8217;ve obviously got something set up properly because the web browser users them. Looking around there seems to be suggestion that I should root the device to set proxies properly or something. For something that &#8220;just works&#8221; on an iPhone and it is something of a no brainer I would have thought it would have worked fine on Android, at least with Google&#8217;s own applications.</p>
<p>However the real nail in the coffin is the lack of complete 802.1x authentication, which while improving it appears that USQ&#8217;s current configuration makes it fail. USQ has started to deploy of 802.1x wireless networks to reduce the requirement to log into the wifi network, log into the Cisco access points and then from there gain access. This meant that the earlier wireless network testing was possible albeit a little tedious. Using it from an iPhone was just as tedious however there were apps to get around it. As of this week they&#8217;ve switched that network off and now Android doesn&#8217;t want to play the game.</p>
<p> The first problem with the 802.1x network is that USQ uses a certificate signed by AusCERT which doesn&#8217;t appear to be in the normal trust path for either Android or iOS. iOS gets around this by prompting the user to accept the certificate like what normally happens on a desktop web browser when an untrusted certificate is presented. One has to go through a rather complicated set of hoops to get this working on Android from what I&#8217;m told including putting the certificate on an SD card and navigating through a few layers of menu. Having the user download the certificates independently, find an SD card writer, put it on the SD card and then going through a process to import the certificate isn&#8217;t particularly user friendly. When you consider that USQ has something like 5000 people on campus so this sort of task doesn&#8217;t particularly scale well as opposed to clicking &#8220;accept&#8221;. Once we&#8217;ve gotten over that hurdle the second problem appears to be getting the Android device working properly with the AES encryption used. Apparently this is a barrier that an USQ ICT member with a masters degree is currently tackling though I believe that Android doesn&#8217;t support AES only PKIP so I don&#8217;t think he&#8217;ll have much luck.</p>
<p>Of course on iOS its rather easy, select network, enter credentials, accept certificate and then add proxy settings to the network. And you&#8217;re done. This was enough to convince one of our faculty librarians that perhaps the Sony Xperia X10 that they bought in the last few months was really not worth fighting against and now wants an iPhone. The X10 was sold with Android 1.6 which really just makes you wonder about fragmentation in the Android platform.</p>
<p>UPDATE: USQ&#8217;s certificates are signed by AusCERT, Australia&#8217;s version of CERT (Computer Emergency Response Team), not self signed as I had earlier suggested. AusCERT&#8217;s CA doesn&#8217;t appear to be in the normal certificate bundle for either platform. This means it came up unverified which is why I had assumed we&#8217;d been using self-signed certificates. The secondary issue appears to be the more secure AES being used for the authentication instead of the less secure PKIP. Android doesn&#8217;t support the more secure AES and thus fails to work even when the certificate is trusted or the signing CA is added. Additionally I&#8217;ve been told that you don&#8217;t need to root the device to install a certificate but you can put it on an SD card. These changes have been merged into the main document where relevant.</p>
]]></content:encoded>
			<wfw:commentRss>http://pasamio.com/2011/02/01/today-01-feb-2011-android-unable-to-operate-in-enterprise/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Today: 15-Sep-2010: Are we there yet?</title>
		<link>http://pasamio.com/2010/09/15/today-15-sep-2010-are-we-there-yet/</link>
		<comments>http://pasamio.com/2010/09/15/today-15-sep-2010-are-we-there-yet/#comments</comments>
		<pubDate>Wed, 15 Sep 2010 12:01:59 +0000</pubDate>
		<dc:creator>pasamio</dc:creator>
				<category><![CDATA[today]]></category>

		<guid isPermaLink="false">http://pasamio.com/?p=754</guid>
		<description><![CDATA[Today was an interesting day with the actual deployment of the DiReCt (EQUELLA) 4.1 system at USQ. It has taken far too long for this to happen and is I believe over a month behind where I had wanted everything to be deployed. But such is life. The last minute changes and the resultant litany [...]]]></description>
			<content:encoded><![CDATA[<p>Today was an interesting day with the actual deployment of the DiReCt (EQUELLA) 4.1 system at USQ. It has taken far too long for this to happen and is I believe over a month behind where I had wanted everything to be deployed. But such is life. The last minute changes and the resultant litany issues that were generated by them which became almost recursive have for the most part been resolved (not so recursive now are we!). There remains some backend stuff that isn&#8217;t behaving properly but that will come in time and I have a feeling that something somewhere is breaking but I&#8217;ll get around to fixing it &#8211; one has to move on with these things. The new environment is behind load balancers, is running SSL by default (load balancer handles that) and I wrote some code that handles rewriting the path to be the new path that was picked. This is a bit of TCL that I retaught myself to get working properly with the F5 load balancers. Other fun things happening involve attending meetings with different people about ePrints related work and slowly getting closer on the world peace project.</p>
]]></content:encoded>
			<wfw:commentRss>http://pasamio.com/2010/09/15/today-15-sep-2010-are-we-there-yet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Today: 10-Aug-2010: Increasingly I find myself in a meeting&#8230;</title>
		<link>http://pasamio.com/2010/08/10/today-10-aug-2010-increasingly-i-find-myself-in-a-meeting/</link>
		<comments>http://pasamio.com/2010/08/10/today-10-aug-2010-increasingly-i-find-myself-in-a-meeting/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 13:19:38 +0000</pubDate>
		<dc:creator>Pasamio</dc:creator>
				<category><![CDATA[today]]></category>

		<guid isPermaLink="false">http://pasamio.com/?p=745</guid>
		<description><![CDATA[Another day moves slowly away through meetings life gently progressed. Had chats with people about Sedona, something might happen and something might not. Mostly out of my hands for now. RPCS is starting to draw closer. Will have a whole heap of new stuff to add for them so doing it together with Sedona might [...]]]></description>
			<content:encoded><![CDATA[<p>Another day moves slowly away through meetings life gently progressed. Had chats with people about Sedona, something might happen and something might not. Mostly out of my hands for now. RPCS is starting to draw closer. Will have a whole heap of new stuff to add for them so doing it together with Sedona might not be too unrealistic. Not a lot else that I would deem as productive time beyond pushing stuff from one place to the other. Another day at the office.</p>
]]></content:encoded>
			<wfw:commentRss>http://pasamio.com/2010/08/10/today-10-aug-2010-increasingly-i-find-myself-in-a-meeting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Today: 09-Aug-2010: Productivity?</title>
		<link>http://pasamio.com/2010/08/09/today-09-aug-2010-productivity/</link>
		<comments>http://pasamio.com/2010/08/09/today-09-aug-2010-productivity/#comments</comments>
		<pubDate>Mon, 09 Aug 2010 12:34:03 +0000</pubDate>
		<dc:creator>Pasamio</dc:creator>
				<category><![CDATA[today]]></category>

		<guid isPermaLink="false">http://pasamio.com/?p=730</guid>
		<description><![CDATA[I&#8217;m not sure where the majority of my &#8216;regular&#8217; working hours went. Somewhere between fighting with MySQL Workbench and sending emails to people some form of work happened. I&#8217;m not entirely sure what but I guess that dealing with emails is work. The first problem appeared to be four new classes of student that have [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not sure where the majority of my &#8216;regular&#8217; working hours went. Somewhere between fighting with MySQL Workbench and sending emails to people some form of work happened. I&#8217;m not entirely sure what but I guess that dealing with emails is work.<br />
<span id="more-730"></span><br />
The first problem appeared to be four new classes of student that have been created. This causes issues with the catalog because the driver is hard coded to recognise these classes. An easy enough fix to add the four items to the requisite array but it would be nice to abstract this out into a database table at some point or similar. </p>
<p>Next battle was fighting MySQL Workbench to get it to create an ER diagram for me. Eventually I managed to work out how not to trigger its &#8220;<a href="http://support.microsoft.com/kb/125749">pure virtual function call</a>&#8221; &#8211; you need to ensure that you close the bottom panel before opening a new table. I&#8217;m sure they&#8217;ll get around to fixing it one day. MySQL&#8217;s GUI tools have historically had problems for me. MySQL Query Browser rarely manages to let me graphically create a table without crashing. Yet I still try. I think I&#8217;ve managed to work out most of the error conditions to avoid them but it is sad that such easy to trigger bugs exists. In any case I managed to get the diagram modelled correctly which will be useful for future reference as well as for the Faculty of Business who were chasing it. Hopefully it is of use to them.</p>
<p>The afternoon was spent fighting with our EQUELLA instance and trying to work out why it was misbehaving. I didn&#8217;t work it out and ended up purging the item in question instead and starting on a new item. I&#8217;m not sure what I did to get it so grumpy but the item is purged now so it isn&#8217;t going to cause me an issue. The institution in question is going to be wiped out again in a part of testing. I managed to create some cool tools as a part of working out how the system works which should make some future work easier. Also finished work on an interface as well. I went home perhaps a little bit too late but it gave me the chance to concentrate on getting things worked out in peace. I found a minor quirk in Joomla! that I&#8217;d found previously but now I have a reasonable solution to get around it.</p>
<p>More work, more juggling but the wheel slowly turns.</p>
]]></content:encoded>
			<wfw:commentRss>http://pasamio.com/2010/08/09/today-09-aug-2010-productivity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Today: 06-Aug-2010: Would you like a plugin with that?</title>
		<link>http://pasamio.com/2010/08/07/today-06-aug-2010-would-you-like-a-plugin-with-that/</link>
		<comments>http://pasamio.com/2010/08/07/today-06-aug-2010-would-you-like-a-plugin-with-that/#comments</comments>
		<pubDate>Sat, 07 Aug 2010 03:25:16 +0000</pubDate>
		<dc:creator>Pasamio</dc:creator>
				<category><![CDATA[today]]></category>

		<guid isPermaLink="false">http://pasamio.com/?p=720</guid>
		<description><![CDATA[In the wide world of USQ Library today turned into another day of digging through code, asking why and then progressing on with fixing things. Today&#8217;s strange problem was trying to work out why variables that seemingly were global variables weren&#8217;t marked as global variables yet were working. This revelation turned out to be a [...]]]></description>
			<content:encoded><![CDATA[<p> In the wide world of USQ Library today turned into another day of digging through code, asking why and then progressing on with fixing things. Today&#8217;s strange problem was trying to work out why variables that seemingly were global variables weren&#8217;t marked as global variables yet were working. This revelation turned out to be a require of the relevant file into function scope &#8211; I&#8217;m not sure why I didn&#8217;t think to look for that first but the excess of globals threw me off. The function in question had around 12 other globals marked in various places so it isn&#8217;t completely out of place. Par for the course for the last week really and Business provided the most interesting aspect of the day.<br />
<span id="more-720"></span><br />
The next most interesting revelation of the day appears to be Sedona. Sedona is a system that the Faculty of Business appear to be running up to help support them in obtaining AACSB accreditation. Sedona appears to a database which is shared between apparently 220 institutions. Apparently the approved method of importing is to use a CSV file, there is no way of adding new fields to the system unless it is deemed to be useful to &#8220;all Australian universities&#8221;. An example of such is two relatively pointless HERDC and ERA fields as well as an FOR08 field that was for Bond University. The FOR08 field is particularly useless with some 1400 FOR codes in a standard HTML multiline select box. </p>
<p>Sedona doesn&#8217;t appear to offer any form of integration services so the fact that they could integrate with ePrints via SWORD (deposits) or OAI-PMH (harvesting) is sounding impossible even though it would be a great standard way to send data around. The suggested synchronisation involved FTP but details are light on the ground. </p>
<p>Apparently the system doesn&#8217;t work properly with Chrome to the point that it won&#8217;t let you login claiming you need IE, Firefox or Safari. The system isn&#8217;t normalised as well with the author names fields (first name, middle name and last name) being stored as individual fields in the database (e.g. fname1, fname2) and limited to five authors. For overflow there is an &#8220;et al.&#8221; multiline textbox. The system does have a method of adding co-authors however this is distinct and is again a multiline select box. There is another free form box for citations which makes sense as they limit the list of periodicals (drop down select list) and lack enough information to build most citation types from the data that the system stores.</p>
<p>The system does appear to have given some thought to an export with an Access database being generated with appropriate tables. Access, whilst not perhaps my preferred database system, is perhaps one of the better choices for data export and certainly beats sending CSV or XLS files around. There is the proprietary aspect to Access but there could be no option at all and at least maintains type data better. It also appears that this form of export is the way of adding extra fields that might be required by the University to store extra information. It wouldn&#8217;t surprise me if an Access database isn&#8217;t the preferred synchronisation tool though that personally scares me. But at least they have thought about it which is a good start.</p>
<p>Overall I look at the system and think we could integrate it into ePrints and increase the overall value of our data anyway. We could handle the few extra fields that Sedona appears to add with the extra item types. The extra datasets are exactly that: datasets. ePrints has workflow to handle editing items to do what it needs. It would be less limited and give us more power to do what we need. </p>
<p>Reports appear to be the systems strong point. There is a prebuilt CV and various other rather trivial reports for a member. There is a set of aggregate reports that I haven&#8217;t looked into and there appears to be a rather picky way of formatting things for the AACSB requirements (including printed CV&#8217;s in a particular format &#8211; I hope AACSB doesn&#8217;t cover IT related areas given the backwards requirements).</p>
<p>The fun task I ended the day with was returning to work on the monstrous PHP application I&#8217;ve been fighting with all week. The particular point I&#8217;m at is adding plugin functionality to a section of the code base. Since I&#8217;ve been incorporating the Joomla! Framework into the system, doing this turned out to be relatively trivial. At the point where I wanted the plugin trigger I load a file called &#8216;notifier.php&#8217;. This loads in the Joomla! framework bootstrap file which defines a while bunch of things (JPATH_BASE, JPATH_ROOT, etc) that Joomla! uses and loads the relevant files plus a few other files to get the system started off the bat. The &#8216;notifier.php&#8217; file also defines a class aptly named &#8216;Notifier&#8217; which extends JDispatcher. JDispatcher is the work horse of the Joomla! event subsystem from which plugins derive. The Notifier constructor loads up a particular directory and opens all of the files in it and tries to create new classes in the format plgNotifierFilename similar to how Joomla!&#8217;s plugin infrastructure works. This then registers those classes with the notifier class for use. Then in the original file I use JDispatcher&#8217;s &#8220;trigger&#8221; method to send a message to all of the registered plugins and the integration is done. In the original file there is only 4 lines of code added to load the file, create the class and trigger the message &#8211; plus a comment summarising this as well. It is one of those things where the framework makes life really easy to extend systems in a flexible manner. Now if I want to attach multiple plugins to extend that particular bit of code it is easy to do and with the framework it is easy to define multiple plugin triggers.</p>
]]></content:encoded>
			<wfw:commentRss>http://pasamio.com/2010/08/07/today-06-aug-2010-would-you-like-a-plugin-with-that/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Today: 05-Aug-2010: Meeting-o-rama!</title>
		<link>http://pasamio.com/2010/08/05/today-05-aug-2010-meeting-o-rama/</link>
		<comments>http://pasamio.com/2010/08/05/today-05-aug-2010-meeting-o-rama/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 13:13:34 +0000</pubDate>
		<dc:creator>Pasamio</dc:creator>
				<category><![CDATA[today]]></category>

		<guid isPermaLink="false">http://pasamio.com/?p=718</guid>
		<description><![CDATA[There are days where meetings seem to dominate. Today was one of those. With four hours of the day scheduled out into meetings it felt like I didn&#8217;t get much done but some how managed to get more work: ePrints, DiReCt, media repository and some finalisation on mobile. I did have a few minor wins [...]]]></description>
			<content:encoded><![CDATA[<p>There are days where meetings seem to dominate. Today was one of those. With four hours of the day scheduled out into meetings it felt like I didn&#8217;t get much done but some how managed to get more work: ePrints, DiReCt, media repository and some finalisation on mobile. I did have a few minor wins in understanding how different parts of the library systems come together however there is a still a lot more to learn. </p>
]]></content:encoded>
			<wfw:commentRss>http://pasamio.com/2010/08/05/today-05-aug-2010-meeting-o-rama/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Today: 04-Aug-2010: Today that was could no longer sustain us</title>
		<link>http://pasamio.com/2010/08/04/today-03-aug-2010-today-that-was-could-no-longer-sustain-us/</link>
		<comments>http://pasamio.com/2010/08/04/today-03-aug-2010-today-that-was-could-no-longer-sustain-us/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 12:36:02 +0000</pubDate>
		<dc:creator>Pasamio</dc:creator>
				<category><![CDATA[today]]></category>

		<guid isPermaLink="false">http://pasamio.com/?p=712</guid>
		<description><![CDATA[Today was another mixed day. We deployed out the trial library mobile application ahead of the system management committee (SysManCom) meeting. It is available through the USQ Library homepage and is still in trial (we found some more bugs so we&#8217;ll get that sorted). SysManCom progressed with a reasonable reception of the mobile application which [...]]]></description>
			<content:encoded><![CDATA[<p>Today was another mixed day. We deployed out the trial library mobile application ahead of the system management committee (SysManCom) meeting. It is available through the USQ Library homepage and is still in trial (we found some more bugs so we&#8217;ll get that sorted). SysManCom progressed with a reasonable reception of the mobile application which is nice. Some tasks to follow up on from the meeting which is always fun &#8211; some writing to be done about eBooks in the library for users. This should basically amount to because publishers don&#8217;t give us the tools students can&#8217;t put the &#8220;ebooks&#8221; we subscribe to on &#8220;ebook&#8221; readers. Yay for DRM.</p>
<p>After the demo one of the most painful parts was the fact that we rely upon the CMS for a significant amount of content. The main problem with the CMS is that it is horribly unfriendly for mobile devices. At one stage the home page had a Flash banner which didn&#8217;t degrade properly which left a frustrating image that said &#8220;click here&#8221; but wasn&#8217;t actually linked to anything. So I spent the middle of the day working out how to strip out the USQ home page template so that we can embed it else where. I managed to get it sorted mostly though as I&#8217;m abusing an XML parser it&#8217;ll barf on poorly formatted pages or with HTML entities not in XML. Most of the CMS pages are fine but some legacy ones aren&#8217;t so lucky. I&#8217;ve put in some minor checks to clean things up but hopefully it isn&#8217;t too much of a problem.</p>
<p>The afternoon rounded out with a meeting before leaving early so that I could return for my evening of debates. Life in the fast lane.</p>
]]></content:encoded>
			<wfw:commentRss>http://pasamio.com/2010/08/04/today-03-aug-2010-today-that-was-could-no-longer-sustain-us/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Today: 03-Aug-2010: Global Annihilation</title>
		<link>http://pasamio.com/2010/08/03/today-03-aug-2010-global-annihilation/</link>
		<comments>http://pasamio.com/2010/08/03/today-03-aug-2010-global-annihilation/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 13:10:54 +0000</pubDate>
		<dc:creator>Pasamio</dc:creator>
				<category><![CDATA[today]]></category>

		<guid isPermaLink="false">http://pasamio.com/?p=708</guid>
		<description><![CDATA[Continuing from yesterday&#8217;s Global Domination theme today I worked on finalising my global annihilation. I worked on getting rid of almost all of the globals in the path way that I&#8217;m working on at the moment and I feel that I&#8217;ve succeeded. The application is perhaps a textbook example of why globals are evil. Today [...]]]></description>
			<content:encoded><![CDATA[<p>Continuing from yesterday&#8217;s Global Domination theme today I worked on finalising my global annihilation. I worked on getting rid of almost all of the globals in the path way that I&#8217;m working on at the moment and I feel that I&#8217;ve succeeded. The application is perhaps a textbook example of why globals are evil.<br />
<span id="more-708"></span><br />
Today I got a handle on the extensive amount of variables. Whilst yesterday I managed to get the configuration global variables wrangled in and put into a nice neat little class and out of the global scope which made a whole heap of things clearer.</p>
<p>The piece of code in question is a data mapping system. It takes an array as an input and then transform it eventually into XML and feeds this into a web service. The list of valid keys is stored in an array (in the global scope) which is filled in with the values from the input array. I couldn&#8217;t work out why there was a function that basically appeared to clear what was an empty array until I realised that the global was being filled with data and so if the code path was reused it&#8217;d have the old data in it. Nasty work around for a problem that should have existed.</p>
<p>So the functions related to the mapping and the two arrays that were living in global scope were shifted into a class on their own. The relevant functions were adapted to work properly with the variables not being global and I&#8217;ll work on eradicating the other situations where the variable was still used but the particular purpose I need it for is cleaned out. At the same time I pulled into the class some extra functions that were related to the system but weren&#8217;t located with it (curiously enough!). </p>
<p>But working through the mapping functions I noticed another quirk. Just as previously the global was being altered even though it was supposedly a template, another one of the functions decided that it would alter the input array that it was given before setting that value in the output array. The field in question, a format field, is reset if the field isn&#8217;t set under a particular condition in a loop. This means that the loop goes through a few times and this variable is undefined and the items checking this behave one way. Then an iteration occurs which triggers this code path and the variable is changed. The lines that were previously run would have checked that and possibly taken a different code path as would the following items. Why this approach was taken baffles me and could potentially be a source of a few bugs. It is unlikely this has been a concern as the code spewed out copious amounts of undefined index errors due to insufficient checking to see if the values were there and just hoping they would be there. Fortunately I managed to clean up the majority of it though a few undefined index errors remained. The solution mostly was using Joomla!&#8217;s JArrayHelper::getValue function which will work out if the value is set and give you the option to filter the value to a particular type and also set a default value if one isn&#8217;t there. Handy little function cleaned up the majority of the errors.</p>
<p>A few other changes were made, globals were annihilated and I progressively removed dependencies to clean up the system and all was right with the world. And tomorrow? Fix another part of the broken.</p>
]]></content:encoded>
			<wfw:commentRss>http://pasamio.com/2010/08/03/today-03-aug-2010-global-annihilation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Today: 02-Aug-2010: Global Domination</title>
		<link>http://pasamio.com/2010/08/02/today-02-aug-2010-global-domination/</link>
		<comments>http://pasamio.com/2010/08/02/today-02-aug-2010-global-domination/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 13:52:53 +0000</pubDate>
		<dc:creator>Pasamio</dc:creator>
				<category><![CDATA[today]]></category>

		<guid isPermaLink="false">http://pasamio.com/?p=706</guid>
		<description><![CDATA[I think today I have seen one of the most poorly written bits of code I have ever seen. I have so far counted over 50 different global variables interspersed throughout the code occurring three levels deep into the application (yes, that&#8217;s three levels of includes before the global was set, scary!) even though they [...]]]></description>
			<content:encoded><![CDATA[<p>I think today I have seen one of the most poorly written bits of code I have ever seen. I have so far counted over 50 different global variables interspersed throughout the code occurring three levels deep into the application (yes, that&#8217;s three levels of includes before the global was set, scary!) even though they were being used at the root level.<br />
<span id="more-706"></span><br />
This spaghetti code is amazing in its complexity and a distinct lack of maintainability. I&#8217;m surprised that the code has hung together so well as at the moment I&#8217;ve managed to combine around 21 different global variables into a single configuration class which should make things clearer. I&#8217;ve spent the day pouring over the code cleaning things up to form a more coherent base. Whilst I&#8217;ve been cleaning things I&#8217;ve been trying to work out where things are being used. Already in one file I found five functions sitting around that aren&#8217;t being used anywhere. The most depressing thing is that since the code wasn&#8217;t version controlled there are legacy files with &#8220;old&#8221; or &#8220;2&#8243; suffixed and functions with &#8220;old&#8221; in their name &#8211; or worst of all combinations of those options: &#8220;old2&#8243;. I even found a function that never would have returned a sane value. </p>
<p>Suffice to say the entire system lacks at form of standardised testing which makes refactoring even harder. Given the intermixing of HTML outputting all over the place I think it would be hard to quickly put in a unit testing framework to ensure that the system behaves sanely. </p>
<p>Whilst it immensely frustrates me that I have to deal with it, I&#8217;m hopeful that I can start cleaning it up and improving the overall quality. Shifting functions around and centralising items in ways that makes sense as well as clearing up old cruft and the elimination of the immense plague of global variables that this application has. I thought Drupal was horrible with all of it&#8217;s global variables (it was seriously the most global&#8217;s I&#8217;d seen before at around 20 of them) but this one at over 50 and counting takes the cake &#8211; it really is global domination.</p>
]]></content:encoded>
			<wfw:commentRss>http://pasamio.com/2010/08/02/today-02-aug-2010-global-domination/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Today: 12-Jul-2010: Just a little bit further</title>
		<link>http://pasamio.com/2010/07/12/today-12-jul-2010-just-a-little-bit-further/</link>
		<comments>http://pasamio.com/2010/07/12/today-12-jul-2010-just-a-little-bit-further/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 21:07:03 +0000</pubDate>
		<dc:creator>pasamio</dc:creator>
				<category><![CDATA[joomla]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[today]]></category>

		<guid isPermaLink="false">http://pasamio.com/?p=682</guid>
		<description><![CDATA[One of the nice things about Linux is the smooth way that the package management system operates. It just happens. The problem with Windows is that it doesn&#8217;t really happen &#8211; which is a painful experience. So Microsoft has released a beta of their WebMatrix tool with integration into the Web Platform Installer. Funky! Being [...]]]></description>
			<content:encoded><![CDATA[<p>One of the nice things about Linux is the smooth way that the package management system operates. It just happens. The problem with Windows is that it doesn&#8217;t really happen &#8211; which is a painful experience.<br />
<span id="more-682"></span><br />
So Microsoft has released a beta of their WebMatrix tool with integration into the Web Platform Installer. Funky! Being the geek that I am I was kind of curious to play with it &#8211; even though I&#8217;m not particularly a Microsoft person having a Mac laptop as my primary machine, multiple Linux servers at home, personal dedicated Linux servers hosted in data centres and at work deploying on HP-UX, Solaris and RHEL5 machines.</p>
<p>So I tried at home on my favourite Windows XP VM and it installed fine. Fine is of course subjective because it required three restarts to actually install itself (one for .Net 4.0, one for Windows Installer 4.5 and the final for Visual Studio Web Developer Express) &#8211; I&#8217;m not quite sure why these couldn&#8217;t have been bundled together into one restart (which is reasonable) or even what VS Web Dev Express was doing to require a restart. But I&#8217;ll live. I fired it up and did a Joomla! install and everything worked nicely. I tried the VS Web Dev integration and found it loaded everything up except that Web Dev doesn&#8217;t do PHP &#8211; back to the drawing board. As an aside why Microsoft doesn&#8217;t support PHP in VS Web Dev directly is a wonder &#8211; PHP as a language appears to be more popular than either of Microsoft&#8217;s according to <a href="http://www.langpop.com/">langpop.com&#8217;s</a> view of the world. To be fair, langpop.com is a mildly biased view towards open source areas (Google Code, Slashdot, IRC, Ohloh, Freshmeat) which would explain the dominance of languages such as PHP or Python. In any case, it worked and it had a funky editor with highlighting and not a lot else as well as a database editor that handled MySQL &#8211; and all in one package.</p>
<p>So I try to install it at work. First hurdle: I need Windows XP SP3. Ok, bummer. File a job, wait for ICT Service Delivery (yes that is their real department name) to get back and install SP3. They call me back in a week and say &#8220;when do you want this? is now a good time?&#8221; and I say sure. A few hours later and 64+ updates my computer has SP3 on it. Let&#8217;s try Web PI 3 beta again and see how we go. Much better, we&#8217;re off installing WebMatrix and all sorts of shiny. I ticked the Joomla! box as well and that is also installing. Everyone is happy. It then goes to try and configure IIS on my XP box. It pops up a component install view window and eventually gets to the point of asking me for an XP install CD. Except this is a corporate box and I don&#8217;t have one. I don&#8217;t have an i386 directory handy to just copy files from. I have local admin so installing stuff isn&#8217;t an issue but I don&#8217;t have those files. Bummer. I go hunting for them and I can&#8217;t readily find them locally and I don&#8217;t even know where to find them on the network. Sheepishly I hit cancel and WebPI keeps installing without configuring IIS 5 on my local machine. I thought I&#8217;d selected to use the WebMatrix server so I&#8217;m not entirely sure what is going on anyway. .Net 4.0 installs uneventfully (no restart this time) and Windows Installer 4.5 requires a restart. This time I&#8217;m not installing Web Dev so I don&#8217;t need to restart for that, yay! The rest went relatively smoothly which is good however at the end it complained IIS5.1 failed thus items dependent upon it (e.g. FastCGI for IIS5.1, PHP5.2.13, WinCache 1.1 for PHP 5.2) failed to install. MySQL Windows Essential 5.1 didn&#8217;t work because a service entry couldn&#8217;t be created, possibly because a MySQL service entry already exists.  Joomla! didn&#8217;t work either but since both IIS 5.1 and MySQL failed to work I&#8217;ve got a selection of options.</p>
<p>Curiously I had an XAMPP install of MySQL set up and WebPI didn&#8217;t detect this properly opting to install its own version, perhaps a check on port 3306 to see if something speaks MySQL would be more appropriate to check. Improvements for next time.</p>
<p>So I fire up WebMatrix Beta and use its installer to install Joomla!. This one works better. It presents me with the same dialogue and insists I can&#8217;t have a blank password (my insecure XAMPP MySQL install insists otherwise but I secure it and both my security office and WebMatrix are happy). Joomla! appears to install perfectly fine now. Go figure. It also appears to have used the XAMPP MySQL install which is nice. </p>
<p>So some quirks in no particular order:</p>
<ul>
<li>Requests has an images filter which is nice but if you enable it, go from requests into something else and back again the filter button is depressed but the list isn&#8217;t filtered. Clicking on it filters the requests but messes up the state.</li>
<li>Requests has an images filter which is a good start but no JS filter or CSS filter.</li>
<li>The built in DB tool connects to MySQL fine however if you try to create a table with a column as both an &#8220;identity&#8221; (Microsoft SQL Server version of &#8220;auto_increment&#8221;) and a &#8220;primary key&#8221; it complains about multiple keys. Setting the field to just be identity appears to resolve the issue</li>
<li>Perhaps most annoyingly the font choice is harsh, at least for me. Compared to Monaco on my Mac, it just looks disgusting. Unfortunately there doesn&#8217;t appear to be a way to change it either. After coding for half the morning in Smultron whilst my desktop was updating, WebMatrix was just garish and jutting in comparison.</li>
<li>Whilst there is no autocomplete for the PHP as far as I could see, it would be nice to include a reasonable formatter. At least something that fixed indentation by default. Mind you, Smultron doesn&#8217;t have this but I do miss it at times.</li>
</ul>
<p>I also at one point managed to get WebMatrix to terminate however you need to remember that WebMatrix is still in beta as a product so it is understandable that there might be some issues that will hopefully get fixed. All in all it looks like a good tool. As a cut down editor it seems to fit the bill quite nicely as well as being one of the easier ways to get up and running on Windows with a web development environment and PHP.</p>
]]></content:encoded>
			<wfw:commentRss>http://pasamio.com/2010/07/12/today-12-jul-2010-just-a-little-bit-further/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Today: 09-Apr-2010: To leave or not to leave?</title>
		<link>http://pasamio.com/2010/04/09/today-09-apr-2010-to-leave-or-not-to-leave/</link>
		<comments>http://pasamio.com/2010/04/09/today-09-apr-2010-to-leave-or-not-to-leave/#comments</comments>
		<pubDate>Fri, 09 Apr 2010 13:06:35 +0000</pubDate>
		<dc:creator>pasamio</dc:creator>
				<category><![CDATA[today]]></category>

		<guid isPermaLink="false">http://pasamio.com/?p=653</guid>
		<description><![CDATA[Today was a slower day and I rocked up to work around 9:30am, read emails, attended a meeting about RPCS (we got some action yesterday), did some more emails, fixed a few things and had a long lunch with my boss discussing the shape of the world and things to come. I headed back to [...]]]></description>
			<content:encoded><![CDATA[<p>Today was a slower day and I rocked up to work around 9:30am, read emails, attended a meeting about RPCS (we got some action yesterday), did some more emails, fixed a few things and had a long lunch with my boss discussing the shape of the world and things to come. I headed back to my office, processed a few minor things, made a few backups, responded to phone calls and emails before heading home for the day. </p>
<p>I went home, spent most of the afternoon crafting my assignment together. And then submitted it. To do this I need a TurnItIn originality report. Easy enough. I do all of that, wait for the report to come up, download the report (0% copied!) and upload it and the assignment to EASE. I have the sneaking suspicion that I had forgotten something and re-read the specification. I had, it was an introduction and a conclusion. I was close to writing one but didn&#8217;t because I forgot to put it in the original outline (I had everything else mind you). So I write up an introduction paragraph and a conclusory paragraph, regenerate the PDF (using LaTeX, NeoOffice on Mac is just a hog, is slow and non-responsive. TeXShop on Mac is fast and lets me write what I need with minimal fuss. Random style is hard but such is life) and resubmit to TurnItIn. Since I&#8217;ve already submitted they&#8217;re telling me I will need to wait two days. This really annoys me that I need this to submit, my university is paying anyway plus if we used the Moodle API we wouldn&#8217;t have this problem. In some respects it is a form of extortion because they want a material support to release it in some respects (signing up again with a new account would obviate the problem). In any case I submit anyway with the old report. We&#8217;ll see how we go.</p>
<p>Just recently I had issues with Outlook Web Access doing stupid things. I think my mailbox was over quota because when I emptied the trash via Apple Mail, everything started working. The weird thing is that when I clicked &#8220;Check Names&#8221;, it nuked the entire email for some reason. Curious behaviour. Anyway, email sent with mild frustration. Another day passes.</p>
]]></content:encoded>
			<wfw:commentRss>http://pasamio.com/2010/04/09/today-09-apr-2010-to-leave-or-not-to-leave/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Today: 08-Apr-2010: Another day behind</title>
		<link>http://pasamio.com/2010/04/08/today-08-apr-2010-another-day-behind/</link>
		<comments>http://pasamio.com/2010/04/08/today-08-apr-2010-another-day-behind/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 12:03:53 +0000</pubDate>
		<dc:creator>pasamio</dc:creator>
				<category><![CDATA[today]]></category>

		<guid isPermaLink="false">http://pasamio.com/?p=654</guid>
		<description><![CDATA[Today, like yesterday, one of my staff was away sick. Like yesterday this didn&#8217;t help things because with them away and another staff member away that means that we&#8217;re covering for two people. So I was helping out supporting the first guy but I also had to keep up with the support requests for the [...]]]></description>
			<content:encoded><![CDATA[<p>Today, like yesterday, one of my staff was away sick. Like yesterday this didn&#8217;t help things because with them away and another staff member away that means that we&#8217;re covering for two people. So I was helping out supporting the first guy but I also had to keep up with the support requests for the other person which was also fun.</p>
<p>So I had the on going issues with the wiki. Some appear to be legitimate, others appear to be an inability to copy and paste accurately. This is rather unfortunate but such is life. They are only first year students, so hopefully they&#8217;ll learn at some point. There were a few that weren&#8217;t in this bucket and I managed to get them resolved. We also had one student who changed their email address to a non-USQ student email address and is complaining that they didn&#8217;t get any email notification. I have a distinct feeling that the email was dropped as the student had a Yahoo! account and they have a habit of blacklisting us and our emails don&#8217;t go through. This is in part why we have the UMail accounts so that we can avoid this problem. We can&#8217;t blacklist ourselves.</p>
<p>Other issues involved some hosts needing to be added ezproxy&#8217;s list. It appears that EBSCO were redirecting this particular resource back onto ezproxy even though it was free. The ezproxy upgrade we did appears to have had this strange side effect that I will need to spend some time investigating if we can get rid of it so that for URL&#8217;s it doesn&#8217;t recognise it will unset itself.</p>
<p>The next issue was a link in the journal list that wasn&#8217;t being rewritten through ezproxy. That was an easy matter of updating the link where it was to run it back through ezproxy. I&#8217;m not entirely sure how it got changed but it was changed none the less and fixed now.</p>
<p>I had the regular Thursday tasks that the person off sick would have done. This involved kicking off the MARC export of our Library Management System, VTLS Virtua, and then starting the 11 hour reindex process into Solr and VuFind, the tool we use to index the catalogue. This bit doesn&#8217;t take much time however I spent a bit of time working on improving some of the scripts. I altered the way it handled logging and printed some user friendly messages to the screen. I&#8217;ve made small improvements along the way so hopefully this will continue.</p>
<p>Another curious thing was EndNote again complaining about a particular page implicating them more than VTLS. The issue is that since the upgrade EndNote has been broken. The original text read like this:</p>
<blockquote><p>APOLOGIES &#8211; PLEASE NOTE: Currently there is no connection file for the USQ Library catalogue. We are awaiting a compliance upgrade from  EndNote to match our Library Management System.  We apologise for the inconvenience this causes. As an interim measure you might choose to search the UQ or other Australian Libraries for the title once you&#8217;ve found it in a normal websearch of our catalogue. We ask you to understand that this is NOT a permanent situation. Notification of the availability of the USQ connection file will be made ASAP</p></blockquote>
<p>EndNote were upset about the implication that their system could be at fault here and that they had to do something. Curiously EndNote is the only system impacted and malfunctioning. Every other system that utilises the Z39.50 interface works perfectly well including but not limited to our Library Catalogue, the desktop management tool and web search tool provided by VTLS, OCLC’s VDX, Civica Aurora, Biblioscape 8, Yaz and Mercury Z39.50. Both Yaz and Mercury are freely available tools and Mercury was even tested off campus by a colleague at UQ. There are perhaps other systems that interface on Z39.50 that I have missed but it looks very much like the only system that isn&#8217;t working is EndNote. This has now been changed to the following:</p>
<blockquote><p>APOLOGIES &#8211; PLEASE NOTE: Currently there is no connection file for the USQ Library catalogue. We are awaiting a compliance upgrade of our Library Management System to fix this.  We apologise for the inconvenience this causes. As an interim measure you might choose to search the UQ or other Australian Libraries for the title once you&#8217;ve found it in a normal websearch of our catalogue. We ask you to understand that this is NOT a permanent situation and is not a problem created by the EndNote software. Notification of the availability of the USQ connection file will be made ASAP.</p></blockquote>
<p>Fortunately VTLS have accepted that they made a change that broke EndNote and they&#8217;ve said they&#8217;ll fix it in their latest revision. It is unfortunate that EndNote seem disinterested in resolving the issue when VTLS took ownership and I must admit I never got a reasonable response from anyone about what was happening. As far as I could see from the logs, Virtua issues a challenge to EndNote which never gets responded to and EndNote just times out on its own. So whilst VTLS has agreed to do a fix to resolve the issue and restore compatibility however it will be in their next release which will be in a few months and due to the time it takes us to complete formal testing around the system it will likely be another few months after that until the fix reaches our production system. Unfortunate really. What I really don&#8217;t get is why EndNote is the only product that isn&#8217;t working but such is life. VTLS are happy to fix the problem and it&#8217;ll get resolved eventually. To be honest I don&#8217;t care who fixes it, I&#8217;m just disappointed that it took us a long period of time to get anyone to fix it.</p>
<p>Another day slowly turns.</p>
]]></content:encoded>
			<wfw:commentRss>http://pasamio.com/2010/04/08/today-08-apr-2010-another-day-behind/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Today: 01-Apr-2010: Slow day</title>
		<link>http://pasamio.com/2010/04/01/today-01-apr-2010-slow-day/</link>
		<comments>http://pasamio.com/2010/04/01/today-01-apr-2010-slow-day/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 07:50:38 +0000</pubDate>
		<dc:creator>pasamio</dc:creator>
				<category><![CDATA[today]]></category>

		<guid isPermaLink="false">http://pasamio.com/?p=651</guid>
		<description><![CDATA[It was a bit of a slow day for me today compared to yesterday. I had my usual set of meetings, I started working on building out the interface for the opening hours and generally had an easy day. I did a bit of documentation and fought with Visio before giving up and going back [...]]]></description>
			<content:encoded><![CDATA[<p>It was a bit of a slow day for me today compared to yesterday. I had my usual set of meetings, I started working on building out the interface for the opening hours and generally had an easy day. I did a bit of documentation and fought with Visio before giving up and going back to Omnigraffle to draw what I wanted in less time than I had been fighting with Visio for &#8211; depressingly. Was quite a quiet day overall however there does appear to be a quirk with the library blog now sending out notifications on any update instead of just when we post something, will need to look at that.</p>
<p>Happy Easter!</p>
]]></content:encoded>
			<wfw:commentRss>http://pasamio.com/2010/04/01/today-01-apr-2010-slow-day/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Today: 31-Mar-2010: Big infrastructure day</title>
		<link>http://pasamio.com/2010/03/31/today-31-mar-2010-big-infrastructure-day/</link>
		<comments>http://pasamio.com/2010/03/31/today-31-mar-2010-big-infrastructure-day/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 13:44:01 +0000</pubDate>
		<dc:creator>pasamio</dc:creator>
				<category><![CDATA[today]]></category>

		<guid isPermaLink="false">http://pasamio.com/?p=649</guid>
		<description><![CDATA[Today was one of the longest days I&#8217;ve had for a while, it started at 7am and finished a little after 6pm. I should work less. At 7am I rocked up to USQ&#8217;s ICT building (E block), one of the oldest buildings of the University. At one stage people would have taught in this building [...]]]></description>
			<content:encoded><![CDATA[<p>Today was one of the longest days I&#8217;ve had for a while, it started at 7am and finished a little after 6pm. I should work less.<br />
<span id="more-649"></span><br />
At 7am I rocked up to USQ&#8217;s ICT building (E block), one of the oldest buildings of the University. At one stage people would have taught in this building but these days it has been converted into office space and at one stage a server room but even that is being turned into office space (much to the annoyance of it&#8217;s future residents). </p>
<p>I visited with ICT&#8217;s senior security officer, Luke, to work on configuring the load balancers to make library.usq.edu.au work better than it is presently. It still isn&#8217;t perfect but we&#8217;re a while ahead. Now when you go to library.usq.edu.au it doesn&#8217;t redirect around to libcat.usq.edu.au (well not immediately anyway) but serves up the page which is nice. Eventually it&#8217;ll behave like this normally but until we get there this is what we&#8217;ve got. The next step is easy enough now we&#8217;ve got this set up. We&#8217;ve also now got the library blog (http://library.usq.edu.au/blog) using /blog instead of /wordpress, shifted it to a new server (now hidden by the load balancer as well) and also performed an upgrade to ensure it was on the latest version of WordPress. We ran into an issue with firewalls on one of the servers making life difficult but one of our sick admins, Jayish, saved the day and fixed up the issue with the server. Jayish from home also granted more RAM to our library wiki box that we&#8217;re using for engineering problem solving and updated the internal and external DNS for the library load balancers. We got everything sorted just after 8am or so which was good.</p>
<p>Next trick of the day was to update the library wiki to remove the dependence on the LDAP server. Foswiki, the software that runs the wiki, took the approach of trying to sync the entire LDAP directory seemingly on every request. I think I&#8217;ve configured it correctly but I&#8217;m not entirely sure. To be honest whilst this is the first time I&#8217;ve seen this style of doing things (e.g. trying to suck in the <em>entire</em> LDAP directory), in my experience with JAuthTools I&#8217;ve had it suggested to me a few different times that the LDAP integration should work that way. It doesn&#8217;t particularly scale well and in our situation we&#8217;ve got our directory but we can&#8217;t limit it down to the particular courses because of the indexing that is in our LDAP directory. At some point we might get the indexing to work but even then its going to put an unreasonable load on the LDAP servers to handle the searches as well. David, one of the other fellows in Library Systems, did a lot of the hard work to create the new htpasswd file with all of the entries for each of the users we have in the system and handled the email notification. Fortunately everything appears to have gone well which is good &#8211; and no significant complaint emails or phone calls. Yay!</p>
<p>The middle of the day progressed towards meetings and emails. I had a meeting with my boss and his boss for a short while to confirm some stuff, spent a bit of time with the social club for their morning tea and had a chat with our resident Mac system administrator from ICT about our Mac. Some how this bit of non-productiveness sucks more time than it should, which is unfortunate. I ended up having lunch, a tad late but I took longer than usual. After 1pm was a meeting with ADFI about the media repository. More work that I&#8217;m going to need to do to get everything connected up and running which should be fun in some respects. I had a quick wander around Y block whilst I was there and had a chat with David, Matt and Jonathon. I had a chat with them about the changes I made to DiReCt the other day and Jonathon pointed out that I didn&#8217;t need to file a technical issue, I could have a chat with one of the USQ functional support staff, Warwick, to get it updated. So I wandered down stairs and had a chat with Warwick and we got it sorted. This will hopefully mean that students from the UAE (predominantly what distinguishes the students with issues) and others on weird ISPs or limited work accounts (I don&#8217;t think even USQ would let you in if it wasn&#8217;t on campus already) won&#8217;t be seeing the weird timeout or connection error messages that they have been seeing. One more thing resolved for the day. Whilst I was on the second floor I went for a wander to haras Jason, one of the sound guys but he was busy &#8211; or at least pretending to be anyway, it is rather easy when you&#8217;ve got signs up.</p>
<p>That pushed me into the mid afternoon and a few more meetings to round my day out because you can never have enough meetings. I finished off by demonstrating JIRA to my boss in an attempt to get him to use it more. Might even pan out. I rebuilt a dashboard for him with custom filters and all sorts of mildly relevant information. We will see what happens.</p>
<p>I finalised the day by cleaning up on some documentation, actually clearing off some of the paper on my desk (or at least sorting it into nice piles) and updating my infrastructure todo white board to note the changes I made this morning (things on the list still include resguide environment refresh, moving the podcast system and some extra dev environments). Might write some more documentation tomorrow, for something new.</p>
]]></content:encoded>
			<wfw:commentRss>http://pasamio.com/2010/03/31/today-31-mar-2010-big-infrastructure-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Today: 26-Mar-2010: RDO or not</title>
		<link>http://pasamio.com/2010/03/26/today-26-mar-2010-rdo-or-not/</link>
		<comments>http://pasamio.com/2010/03/26/today-26-mar-2010-rdo-or-not/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 11:05:21 +0000</pubDate>
		<dc:creator>pasamio</dc:creator>
				<category><![CDATA[today]]></category>

		<guid isPermaLink="false">http://pasamio.com/?p=646</guid>
		<description><![CDATA[One of the advantages of working for a university or government organisation is the use of flex. So today I made full use of the extra time I&#8217;ve worked up over the last week. I woke up late after going to bed early, so I caught up on a bit of sleep. I spent 1.5 [...]]]></description>
			<content:encoded><![CDATA[<p>One of the advantages of working for a university or government organisation is the use of flex. So today I made full use of the extra time I&#8217;ve worked up over the last week. I woke up late after going to bed early, so I caught up on a bit of sleep. I spent 1.5 hrs playing on Wii Fit which was good, it meant that I burnt off a whole heap of energy &#8211; allegedly over 300kcal, well perhaps not that much.</p>
<p>I finished up and went to uni to have a meeting with my supervisor. We went over the paper that we&#8217;re working on to get through a few things. I had a good two hour lunch catching up with people. It appears that ICT is going to be outsourcing with the people currently being sued by the University of South Australia. A curious choice, to go with someone who has a track record of apparent failure but they were probably cheap enough. I followed this by a short visit in my office to catch up on things before I went to visit with Luke, the ICT Security Manager.</p>
<p>We managed to get the library test site and blog working properly behind the load balancer which unfortunately took around 45 minutes to get right. Whilst I was visiting, he also fixed up coursereading pointing to test not prod which is good. This means I need to double check a few more things and we&#8217;ll be ready to</p>
]]></content:encoded>
			<wfw:commentRss>http://pasamio.com/2010/03/26/today-26-mar-2010-rdo-or-not/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CNC4 revisited</title>
		<link>http://pasamio.com/2010/03/24/cnc4-revisited/</link>
		<comments>http://pasamio.com/2010/03/24/cnc4-revisited/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 00:03:16 +0000</pubDate>
		<dc:creator>pasamio</dc:creator>
				<category><![CDATA[today]]></category>

		<guid isPermaLink="false">http://pasamio.com/?p=638</guid>
		<description><![CDATA[So I&#8217;ve been having issues getting CNC4. Not only is it a legitimately bought copy but it was even a pre-order. It didn&#8217;t work properly so I filed a support request as you can read in my blog post entitled &#8220;CNC4 Fail&#8221;. My annoyance was that my details weren&#8217;t getting read properly. EA seem to [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve been having issues getting CNC4. Not only is it a legitimately bought copy but it was even a pre-order. It didn&#8217;t work properly so I filed a support request as you can <a href="http://pasamio.com/2010/03/20/cnc4-fail/">read in my blog post entitled &#8220;CNC4 Fail&#8221;</a>. My annoyance was that my details weren&#8217;t getting read properly. EA seem to employ many more drones and can&#8217;t be bothered particularly reading what I wrote. So I did some more work and I got some progress.</p>
<blockquote><p>
Ok, so I deleted everything in my temp folder, restarted and saw what happened. I saw the cnc4launcherupdate.exe file being created which was funky but then I received the same error message. So I deleted it, relaunched and got the same error message. Eventually after doing this repeatedly the launcher eventually loaded. Clearly you don&#8217;t a) check that the file is properly downloaded and b) prompt to redownload in this situation (given that you don&#8217;t check it to begin with it would be rather hard to do). </p>
<p>Once the launcher loaded I was stuck on the r1core_data_cnc4.game.rtp file not downloading properly and crashing. I am still stuck at this point.
</p></blockquote>
<p>So eventually got an update to this:</p>
<blockquote><p>Hello there,</p>
<p>Thank you for contacting EA Games Support,</p>
<p>I sincerely apologize for inconvenience caused to you. I have checked the DXDiag of your computer the drivers are out dated please install the latest driver. In order to know your drivers open the dxdiag file and go to the &#8220;Display Devices&#8221; and check the drivers under &#8221; Driver Date/Size&#8221; You will find how old your driver is. To correct this you have to update your computer driver, I have included the link for your convenience please go through and make necessary changes.</p>
<p><http://support.ea.com/cgi-bin/ea.cfg/php/enduser/olh_adp.php?p_faqid=10711></p>
<p>Should you have any further questions, please take a moment to review our Knowledge Base site at http://support.ea.com.</p>
<p>Sincerely,</p>
<p>EA Rep Austin<br />
Electronic Arts
</p></blockquote>
<p>I&#8217;m annoyed that they&#8217;re apologising and not actually reading my responses. Drivers might be a problem but I initially a) couldn&#8217;t launch the launcher and b) the launcher can&#8217;t patch properly so it doesn&#8217;t matter what version of my display drivers I&#8217;m on, I&#8217;m not even getting there. </p>
<blockquote><p>
Seriously?</p>
<p>I mean, seriously? Your launcher has a flaw in it that it doesn&#8217;t validate that the download has completed successfully (even a simple MD5 sum or file size check should fix this) and then tries to run the app which fails because the file isn&#8217;t downloaded correctly. </p>
<p>Problem number two is what appears to be an issue that the launcher when you finally get the damn thing updated hands on downloading the r1core_data_cnc4.game.rtp file. This doesn&#8217;t appear to be an uncommon issue looking through the forum. </p>
<p>Don&#8217;t worry, I don&#8217;t need an answer to this. I gave up. I wanted to play the game and I got a crack. The game runs nicely and I&#8217;m progressing through the missions fine. Thanks for not reading my messages. Repeatedly.
</p></blockquote>
<p>The funny thing was that whilst I uninstalled and reinstalled the game I got a CNC4 server emulator downloaded, copied it into place, made the required changes to my hosts file and I started playing the game. It is working perfectly fine. It depresses me that I got what I couldn&#8217;t have paid for &#8211; I could have illegally downloaded the game and I would have actually been playing it faster than the legal game. As it stands the legal version isn&#8217;t still working anyway so in some respects I&#8217;m still behind by paying money. So I responded to their message with the text above and I also ticked the &#8221; I no longer need an answer to this question.&#8221; I don&#8217;t require a response any more because it is working, just not their intended way.</p>
<p>Of course the sad thing is that the game is working fine and I&#8217;m enjoying it. It is a different concept that I&#8217;m trying to get my head around but it is pretty enjoyable. I haven&#8217;t had much time to go through it and I&#8217;ve only done the first few GDI missions but I&#8217;ll get there eventually. It looks like there are a few glitches which could be patched but since patching the game legally doesn&#8217;t work I guess I&#8217;ll never know.</p>
]]></content:encoded>
			<wfw:commentRss>http://pasamio.com/2010/03/24/cnc4-revisited/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Today: 22-Mar-2010: Much work ahead</title>
		<link>http://pasamio.com/2010/03/22/today-22-mar-2010-much-work-ahead/</link>
		<comments>http://pasamio.com/2010/03/22/today-22-mar-2010-much-work-ahead/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 09:35:07 +0000</pubDate>
		<dc:creator>pasamio</dc:creator>
				<category><![CDATA[today]]></category>
		<category><![CDATA[direct]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[virtua]]></category>

		<guid isPermaLink="false">http://pasamio.com/?p=634</guid>
		<description><![CDATA[Looks like I have a busy week ahead. Last week I was working on the death of lib1 and libblog which will have to continue to a point but it looks like not this week. Might get there but you never know. Other items ahead this week include iPhone training tomorow and DiReCt consultants up [...]]]></description>
			<content:encoded><![CDATA[<p>Looks like I have a busy week ahead. Last week I was working on the death of lib1 and libblog which will have to continue to a point but it looks like not this week. Might get there but you never know. Other items ahead this week include iPhone training tomorow and DiReCt consultants up on Wednesday and Thursday. On Thursday we&#8217;ll start our catalogue reindex process again and hopefully that will continue successfully. I had some word today that we should be able to go the other way with the Virtua and library catalogue to help automate the reindexing so that we don&#8217;t have to do it all ourselves. </p>
<p>I had some fun with paperwork and a rather unfriendly colleague trying to be annoying. Managed to get all of the paperwork filed and shifted around the place which is good. It all ended up working out even though it was at the last minute. Nothing a bit of friendliness doesn&#8217;t help.</p>
<p>I was having a look at getting the JIRA jelly to notify non-users from JIRA when their issue changes. We don&#8217;t necessarily want people to be able to do anything but just be notified of changes. Creating users for everyone would seem a bit painful instead of just adding a few emails to the particular issue so that they&#8217;re notified when things happen.</p>
<p>To round out the afternoon I spent some time redoing the MARC loads for a new type of file and hopefully that will get properly tested tomorrow and all sorted. </p>
<p>Late in the afternoon I had an email from another part of the University. They wanted to attend some of the sessions to get an idea about the architecture about DiReCt since we&#8217;ve got two consultants coming up to try and work out how the system works. What I don&#8217;t get about this is that they hired the person who knows the most about the product at the University and gave them an extra two levels on top of what they were being paid. I don&#8217;t quite understand why need to get an idea when they already employ an expert already. But such is life.</p>
<p>The work slowly turns! </p>
]]></content:encoded>
			<wfw:commentRss>http://pasamio.com/2010/03/22/today-22-mar-2010-much-work-ahead/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Today: 15-Mar-2010: More Meeting-o-rama</title>
		<link>http://pasamio.com/2010/03/15/today-15-mar-2010-more-meeting-o-rama/</link>
		<comments>http://pasamio.com/2010/03/15/today-15-mar-2010-more-meeting-o-rama/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 02:43:47 +0000</pubDate>
		<dc:creator>pasamio</dc:creator>
				<category><![CDATA[today]]></category>
		<category><![CDATA[aad]]></category>
		<category><![CDATA[authorid]]></category>
		<category><![CDATA[eprints]]></category>
		<category><![CDATA[heat]]></category>
		<category><![CDATA[ict]]></category>
		<category><![CDATA[library]]></category>

		<guid isPermaLink="false">http://pasamio.com/?p=617</guid>
		<description><![CDATA[My entire day seemed to revolve around meetings. Started off at 9am with the team meeting and being informed that I&#8217;m being put onto yet another task as well which takes priority over everything else. The unfortunate thing about politics higher than you is the fact that you get pulled all over the place. Such [...]]]></description>
			<content:encoded><![CDATA[<p>My entire day seemed to revolve around meetings. Started off at 9am with the team meeting and being informed that I&#8217;m being put onto yet another task as well which takes priority over everything else. The unfortunate thing about politics higher than you is the fact that you get pulled all over the place. Such is life unfortunately. New work, new tasks and new integration targets.</p>
<p>The next meeting was a pseudo meeting for myself where I filled in a few more HEAT requests for the day. I had three, including one requesting to install HEAT at the suggestion of Luke Drury. I&#8217;m told it is only used in ICT related business. Such is life, I guess Service Desk really enjoy rerouting all of my HEAT jobs.</p>
<p>Following this was a meeting with one of the Faculty Librarians about Access All Databases (AAD) and looking at options. AAD is an application that has been picked up from elsewhere and repurposed by the Library and it shows. It is in dire need of a rewrite and it scares me how badly the entire item is structured. We&#8217;ve got some changes and we&#8217;ll have a demo at the relevant meeting later in the week. Lucky us! More work likely but no time to clean it up properly.</p>
<p>Next on the list was the ePrints meeting, the last for the quarter. We did alright this quarter and most things were completed acceptably. There are some outstanding items and a few things left but all in all it wasn&#8217;t too bad. Was a relatively quick meeting which also makes me happy as well and I got to lunch at a reasonable hour instead of being horribly late.</p>
<p>After lunch I ended up doing some quick support and investigation as to why something wasn&#8217;t displaying properly in our library catalogue. Looks like a data error but you can never be cetain about these things. We&#8217;ve changed the data but it will take a while for everything to flow through due to the design of the system.</p>
<p>From here the next meeting was to work with ePrints with an ICT staff member to implement a feature that I had previously built into ePrints. Whilst I was working on the Author ID project within ePrints one of the needs was to reference a data set that was stored and managed outside of ePrints, namely the department tree. To do this I created a new field type called the &#8220;ExternalItemRef&#8221; which extended from the built in &#8220;ItemRef&#8221; field type. ItemRef links ePrint datasets together and allows you to do references which is cool, ExternalItemRef does the same thing but instead of using an ePrints defined data set, it works with any particular table that is available to the system within the same database as ePrints. You define the name of the table, the key for the table (a unique integer value) and then a text value for it that is then displayed. This gets processed by the field and neatly integrated into ePrints. Further to this I have a widget that permits the user to have a popup dialogue displayed to enable searching of item results. The popup dialogue was itself new functionality that I added to the system to enable searching on the various tables easily. Because it is a popup it can present information in my mind a lot easier than a simple AJAX drop down list. The thing that took the longest was in fact loading the data from an Excel spreadsheet into the MySQL database but after a bit of work it was easy enough to do and we&#8217;ve got instructions for next time. The trick appeared to be not using Excel but OpenOffice.org &#8211; free software to the rescue. Also regular expressions are amazing at data transformation. I need to do some more practice at loading data into MySQL and work out more effecient ways of doing it but I feel I&#8217;ve got it figured out enough for this situation.</p>
<p>The afternoon was spent reviewing the various systems that are available internally, looking at their issues and working my way through my horrific inbox. So many little things that need doing, cleaning up and fixing. One day at a time!</p>
]]></content:encoded>
			<wfw:commentRss>http://pasamio.com/2010/03/15/today-15-mar-2010-more-meeting-o-rama/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Online Booking Fee Applies</title>
		<link>http://pasamio.com/2010/03/14/online-booking-fee-applies/</link>
		<comments>http://pasamio.com/2010/03/14/online-booking-fee-applies/#comments</comments>
		<pubDate>Sun, 14 Mar 2010 03:18:31 +0000</pubDate>
		<dc:creator>pasamio</dc:creator>
				<category><![CDATA[today]]></category>

		<guid isPermaLink="false">http://pasamio.com/?p=612</guid>
		<description><![CDATA[At the prompting of Dom Knight (of Chaser fame) I was looking over my cinema&#8217;s booking system. Recently rebranded from Birch Carol and Coyle (itself a merger from long ago) to form &#8216;Event Cinemas&#8217;. They&#8217;ve done a technology overhaul and remade their website to be very good looking (with some Flash but not overdone, I&#8217;d [...]]]></description>
			<content:encoded><![CDATA[<p>At the prompting of Dom Knight (of Chaser fame) I was looking over my cinema&#8217;s booking system. Recently rebranded from Birch Carol and Coyle (itself a merger from long ago) to form &#8216;Event Cinemas&#8217;. They&#8217;ve done a technology overhaul and remade their website to be very good looking (with some Flash but not overdone, I&#8217;d describe the site as flash but Adobe have taken that word from the web site descriptive vernacular). They have a nifty iPhone application that appears to work well though as Dom notes perhaps not as good as it should. They have a mobile application which also doesn&#8217;t appear to work well. But this isn&#8217;t what bothers me, what bothers me most is the little note they had:  Booking Fee applies online. Of course it doesn&#8217;t note that this is <em>per ticket</em>. So if you book five people online in one transaction you have to pay an additional  on top of the purchase price. It costs you more to book online per person than it does to show up in person. Let us dwell on that. I could potentially understand a flat fee here to cover some sort of consistent expense but a per person fee seems a bit much. Especially at a dollar. Perhaps this is to make up for the cheaper tickets you get there, a sort of recovery mechanism. Not sure.</p>
<p>Whilst I was typing this up I &#8216;timed out&#8217; a few times. This wasn&#8217;t in a screen far in, it was the first screen after selecting the session time. At this point the only persistent information that could possibly time out is the movie, date and time. All values I feel should easily be persisting at this point. There should be no issues with those values timing out. The trick is that the timer is for the entire booking session. You have 8 minutes to pick how many tickets you need, what extras you want and your payment method. I also managed to trigger a runtime error as well within the application, a well written application indeed.</p>
<p>The booking process, when it isn&#8217;t crashing, asks for a member number as well. It says that is has already filled it in for me but then works out that it really isn&#8217;t the right number. So I proceed without it which is unfortunate. But that is the story here.</p>
<p>The process for all of this acquires an email address, credit card number of other identifying item. And that is the key. That is the value in this transaction that they should be encouraging.</p>
<p>The process doesn&#8217;t necessarily make it easier for their front counter staff beyond having everything in the system and being able to go through slightly quicker with the order pre-done. It is about building a database of information. Not only can you register people with CineBuzz to get them to provide details and link it in but even if they don&#8217;t do that signing in online with credit cards will allow you to handle and work out all of this information into your databases directly. You don&#8217;t need to recover it from point of sale systems located all the way around the country, you can have it deposited directly into your system and providing you information. In some cases where you get the booking days before you end up making interest off the money you just took. And you haven&#8217;t even had to provide the service!</p>
<p>Sitting through a business intelligence course, I know the value of having information available to you. Encouraging online booking can integrate into so much more. All of the different systems, availability of historical and trending data that is available. Even mild predictive values systems based on online sales and ability to prepare systems. The more information the better. It is worth more than the $1 per person that they seem to be charging for the pleasure of booking online.</p>
]]></content:encoded>
			<wfw:commentRss>http://pasamio.com/2010/03/14/online-booking-fee-applies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Today: 12-Mar-2010: Slack Day</title>
		<link>http://pasamio.com/2010/03/12/today-12-mar-2010-slack-day/</link>
		<comments>http://pasamio.com/2010/03/12/today-12-mar-2010-slack-day/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 12:14:10 +0000</pubDate>
		<dc:creator>pasamio</dc:creator>
				<category><![CDATA[today]]></category>

		<guid isPermaLink="false">http://pasamio.com/?p=607</guid>
		<description><![CDATA[Instead of going to work today, I used my flex up and took the day off. Was fun to not have to do anything on a Friday and I didn&#8217;t achieve much but did clear up some stuff. Always good to have a quasi long weekend. Didn&#8217;t work on as much of my thesis as [...]]]></description>
			<content:encoded><![CDATA[<p>Instead of going to work today, I used my flex up and took the day off. Was fun to not have to do anything on a Friday and I didn&#8217;t achieve much but did clear up some stuff. Always good to have a quasi long weekend. Didn&#8217;t work on as much of my thesis as I would have liked but still I&#8217;m better placed over the weekend.</p>
]]></content:encoded>
			<wfw:commentRss>http://pasamio.com/2010/03/12/today-12-mar-2010-slack-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

