<?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; development</title>
	<atom:link href="http://pasamio.com/category/development/feed/" rel="self" type="application/rss+xml" />
	<link>http://pasamio.com</link>
	<description>Sam Moffatt's Tech Blog: Writings on Technology</description>
	<lastBuildDate>Tue, 20 Jul 2010 14:25:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Free Git/SVN hosting providers</title>
		<link>http://pasamio.com/2009/12/09/free-gitsvn-hosting-providers/</link>
		<comments>http://pasamio.com/2009/12/09/free-gitsvn-hosting-providers/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 05:19:48 +0000</pubDate>
		<dc:creator>pasamio</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://pasamio.com/?p=579</guid>
		<description><![CDATA[During my recent presentation at the Joomla! Developers Conference in New York, I emphasised the importance of using a version control system (in particular SVN) to maintain copies of everything. From PSD versions of designs and templates to more traditional items like source code, some form of a version control system is what you need [...]]]></description>
			<content:encoded><![CDATA[<p>During my recent presentation at the Joomla! Developers Conference in New York, I emphasised the importance of using a version control system (in particular SVN) to maintain copies of everything. From PSD versions of designs and templates to more traditional items like source code, some form of a version control system is what you need to do. If you&#8217;re working in an organisation where you need to collaborate with more than one person then version control tools provide valuable collaboration and consistency controls. Another interesting aspect of hosted repositories is backups &#8211; not only do these systems keep different versions of your data but if you use them properly you&#8217;ve also got a backup for if your machine gets toasted. During my presentation I used CVSDude as an example. CVSDude is a local Australian company run out of Brisbane which is why they stick in mind but there are other tools.</p>
<p>Firstly I&#8217;ll do a quick overview of the two main systems being promoted: Git and SVN. SVN, or Subversion, was developed as a newer version of CVS. Subversion has been referred as a &#8220;code wiki&#8221; which I feel is a great explanation. It keeps versions of files around for you and ensures you&#8217;ve got everything in hand. Subversion is a centralised source control system, so you need a central server to run it on for different people (you can also run it on your own machine as well but there is only one point of truth). Git is a distributed version control system where basically every working copy has a full copy of the tree. This is great for pure source projects and a few other sorts where having everything on disk isn&#8217;t too bad but doesn&#8217;t work well when you have larger repositories and files that you might want to share. Git doesn&#8217;t permit partial checkouts as well so you get the entire repository or nothing. This can work in your favour (you can do stuff like commits locally and do history checking locally) or against you (it might be a chunky repository). Git repositories typically are more compressed and smaller than SVN however Git&#8217;s Windows tools leave a lot to be desired. If you&#8217;re working with people who aren&#8217;t technical, Git can be painful and I&#8217;d suggest Subversion. Both are a learning curve but Subverion&#8217;s is easier and the centralised control is useful for most projects.</p>
<p><strong>Provider A: GitHub</strong><br />
GitHub are one of the most popular Git hosting sites out there for open source projects as well as being a commercial hosting provider with &#8220;private&#8221; repositories. For people who are doing open source projects and interested in using Git, GitHub with its 300MB disk space (expandable for open source projects) and unlimited public repositories and collaborators is perhaps the most powerful option in the Git sphere. It is also all backed up as well, like most of the options, so you&#8217;ve got some peace of mind there. GitHub have personal and business branches offering different &#8220;private&#8221; hosting options starting at five private repositories consuming 600MB with one additional collaborator for $7 per month. The plans go somewhat incrementally up from there adding disk space, private repositories and private collaborators. GitHub has a wiki as an option as some point as well as a private/public pastebin service.</p>
<p>Check out GitHub&#8217;s pricing at <a href="http://github.com/plans">http://github.com/plans</a></p>
<p><strong>Provider B: Unfuddle</strong><br />
Unfuddle is something I&#8217;ve just come across after my presentation on a recommendation from someone at the conference. Unfuddle offers both Git and SVN support as well as a form of a wiki in what appears to be &#8220;Notebook pages&#8221;. It limits you to one active project but features RSS and iCal support as well as bug tracking, milestones and in the free version support for two people to collaborate. The free version offers 200MB and more expensive versions have file attachments, SSL and time tracking as well as more disk space, active and archived projects, people and unlimited &#8220;notebook pages&#8221;.</p>
<p>Check out Unfuddle&#8217;s pricing at <a href="http://unfuddle.com/about/tour/plans">http://unfuddle.com/about/tour/plans</a></p>
<p><strong>Provider C: CVSDude</strong><br />
CVSDude are a much older group who offered initially CVS hosting but recently handle Subversion. They support Trac which a popular development support tool that integrates with Subversion providing milestone support, issue tracking and integration (e.g. you can close tickets from SVN) and a wiki. CVSDude appears to be slightly below par with GitHub with their cheapest plan offering 500MB of storage, one project and two users (as opposed to five projects and 600MB from GitHub). They also appear to offer Bugzilla, a popular bug tracking software (perhaps they didn&#8217;t like Trac&#8217;s version or have disabled it?) as well as DAV storage whatever that means. CVSDude does emphasise that they have better backup facilities than others offer plus the Trac/Bugzilla instance provides more functionality than GitHub does. CVSDude annoyingly hides a lot of information behind marketing so you need to do a lot of reading to work out what they&#8217;re really selling for each option. </p>
<p>Their overview page serves as an entry point for finding more information, check it out at <a href="http://cvsdude.com/hosting-products.html">http://cvsdude.com/hosting-products.html</a></p>
<p><strong>Provider D: GForge Group (and JoomlaCode)</strong><br />
GForge Group appear to offer free one project per person hosting on their stack with a 75MB space offering. You can add up to five people to the project and it is a private project. GForge offers a wiki, mailing lists, forum, file release system, tracker and a few other tools as well. It has the interesting caveat that if you don&#8217;t log in for 30 days your project will be permanently deleted. GForge are selling a stand-alone product more than anything so they&#8217;re encouraging you to head that way with that however as an item it is an interesting. It looks like you can add to it however their store link didn&#8217;t appear to be working properly. JoomlaCode is powered by GForge AS and offers many of the same features (version control currently limited to SVN though GForge AS supports CVS and GIT amongst other things). JoomlaCode&#8217;s hosting is free for GPL non-commercial Joomla! related projects and is offered as a service to the community.</p>
<p>Check out <a href="http://gforge.com/gf/register/?action=ProjectAdd">http://gforge.com/gf/register/?action=ProjectAdd</a> for more details.</p>
<p><strong>Provider E: PixelNovel</strong><br />
PixelNovel is another host I&#8217;ve just seen today that offer a tool for Adobe Photoshop that integrates Subversion straight into the tool. This means that you don&#8217;t need to jump out of the system to handle it and it also does previews of the Photoshop files for you for when you&#8217;re going back in time. The standalone Photoshop plugin will work with seemingly any Subversion repository and costs around $60 per licence though it would appear you can pick up a free copy with a PixelNovel account which offers 100MB for nothing and goes up from there.</p>
<p>Check out their pricing and plans at <a href="http://pixelnovel.com/pricing">http://pixelnovel.com/pricing</a></p>
<p>As with everything before you hand over cash, code or templates read the fine print. Though it doesn&#8217;t say it outright, PixelNovel for example will delete your account after two months of inactivity or lack of bill payment and GForge have similar albeit much more upfront text. Some services offer SLA&#8217;s on performance and uptime guarantees where as others don&#8217;t whilst some mention backups in a very definite time frame (I think CVSDude offers 10 minute backups) and others mention that they do it without many details. Some also offer more tools than the others and PixelNovel has some specialised tools targeted at designers particularly. As with everything the devil is in the detail so good luck checking things out and make a decision based on your own personal needs.</p>
]]></content:encoded>
			<wfw:commentRss>http://pasamio.com/2009/12/09/free-gitsvn-hosting-providers/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Protecting against invalid data: The Joomla! 1.5.10 installer issue</title>
		<link>http://pasamio.com/2009/03/31/protecting-against-invalid-data-the-joomla-1510-installer-issue/</link>
		<comments>http://pasamio.com/2009/03/31/protecting-against-invalid-data-the-joomla-1510-installer-issue/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 10:11:16 +0000</pubDate>
		<dc:creator>pasamio</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[joomla]]></category>

		<guid isPermaLink="false">http://pasamio.com/?p=403</guid>
		<description><![CDATA[With the release of 1.5.10 we introduced an interesting side effect with an installer fix. This  side effect caused a whole heap of incorrectly written XML install files for components to fail to install. The reason for this is simple: a check added in the component installer that silently ignored errors in the XML file [...]]]></description>
			<content:encoded><![CDATA[<p>With the release of 1.5.10 we introduced an interesting side effect with an installer fix. This  side effect caused a whole heap of incorrectly written XML install files for components to fail to install. The reason for this is simple: a check added in the component installer that silently ignored errors in the XML file specification until the installer fix by passed that check in certain specific situation causing those broken XML file&#8217;s to break but for intended functionality to actually behave properly.</p>
<p><span id="more-403"></span>Joomla! has a custom install file that basically permits the component extension developer to specify code that should be run when the extension installs. There is also a similar item for when the extension is uninstalled as well which behaves in an identical manner to the install file, except it is only run when the extension is being uninstalled. During installation the installer copies the file denoted by the installfile and uninstallfile from the root of the package to the administrator folder. This feature has been around for a while and interestingly when I flicked through a copy of Mambo 4.5.1, I found the following comment:</p>
<pre>// check if parse files has already copied the install.component.php file (error in 3rd party xml's!)</pre>
<p>After all of these years the comment has evolved into its present incarnation:</p>
<pre>// Make sure it hasn't already been copied (this would be an error in the xml install file)</pre>
<p>As you can see the comment hasn&#8217;t changed much in its intent. This comment was placed above the code that is used to copy the install file across, which checks to see if the file exists which brings us to <a href="http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&amp;tracker_item_id=15217">JoomlaCode&#8217;s bug number 15217</a>.</p>
<p>Bug 15217 is that &#8220;custom &lt;installfile&gt; isn&#8217;t upgraded on component installation&#8221;. Basically the same check that the above mentioned comment warns about prevents a new 1.5 feature, &#8216;method=&#8221;upgrade&#8221;&#8216;, from upgrading the installfile. For good or ill the bug was submitted on the 24th of February 2009 and by the 2nd of March 2009 it was in the Joomla! 1.5 release branch. This means that by the 3rd of March it would have made it to the Joomla!&#8217;s Nightly Build. At this point, third party developers could have themselves installed and tested the build to see if it caused an issue but unfortunately we ended up finding out after we released that people hadn&#8217;t used installfile as documented (either by us or by my favourite Joomla! 1.5 development book by James Kennard) and had used their own work around for bug 15217 instead of filing a bug report and getting it fixed. I was told in a bug report related to the new issue 1.5.10 introduced that I shouldn&#8217;t blame a third party developer for not reporting the bug and developing their own workaround. I wonder if our third party developers aren&#8217;t writing bug reports, who we should hope to get bug reports from for code related issues? It would have been nice to have had the issue reported early on instead of so late in the piece but I thank the reported of the issue for bringing it to the fore.</p>
<p>Interestingly I think this bug has been exarcerbated by an interesting combination of situation. The installfile tag is very old where as the upgrade functionality is new for Joomla! 1.5 and permits overwriting extensions that have been installed. So when the original check was written over three major versions previous it couldn&#8217;t have been imagined that there would be an upgrade attribute added. We combine this with another feature also added to 1.5: SQL install statements live in their own file and specifying them in the manifest file only sets them to be used, doesn&#8217;t copy them like the installfile/uninstallfile tags do. Interestingly this was added using the administrator folder and the &#8220;files&#8221; tag that normally copies files across with either one per file and a full pathname with folders set or the &#8220;folder&#8221; tag (and attribute for the files tag) that had been added somewhere along the line (folder tag was I think added in 1.5 and the the folder attribute for files was added in Joomla! 1.0 or earlier; these also seems to be a contributing factor for this issue as well causing confusion in functionality). This appears to have perhaps caused some confusion about how the feature works with the install file using one older method and the newer SQL file using newer features. Add to this the new language feature that has the &#8220;folder&#8221; attribute as well and can handle folders accordingly permitting developers to put language files within a subfolder relevant to the client. This tag does copy the files to the relevant location and also copies the files from the root of the extension like the installfile/unintallfile tags however in permitting the &#8216;folder&#8217; attribute this tag avoids some of the issues by permitting the files to be located in different folders. Further more these files aren&#8217;t contained within the application&#8217;s directory but are in fact shipped off to a different part of the filesystem. This means that confusion about what the tag does and how the files get there are quite clear as there is only one way, unlike the installfile which could errorneously be copied by the files tag in the administrator or correctly by the tag&#8217;s processing itself.</p>
<p>At the end of the day it was a silent check that should have raised more noise for developers so they could be alerted of it when they failed to follow documentation. It would have also been nice that any of the developers who had found the bug where the installfile didn&#8217;t update had actually reported it instead of just doing a workaround and then getting upset when the bug is fixed and their work around breaks. It would have also been nice to have them also regularly testing the release tree to see what is coming up instead of waiting until a release came along to surprise them (they could even join bug squad and help out there as well). Many eyes make issues shallow unless they don&#8217;t get reported or don&#8217;t get tested. Soon there will be a Joomla! 1.5.11 that will put in checks against incorrect install file definitions and in 1.6 we&#8217;ll be deprecating those two tags in favour of a newer &#8220;scriptfile&#8221; tag that will behave like the SQL one does and not try to copy files (it also uses classes with functions instead of fixed &#8220;com_install&#8221; and &#8220;com_uninstall&#8221; functions that clash when more than one are defined).</p>
]]></content:encoded>
			<wfw:commentRss>http://pasamio.com/2009/03/31/protecting-against-invalid-data-the-joomla-1510-installer-issue/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Today: 6-Nov-2008: Barcodes and Backups!</title>
		<link>http://pasamio.com/2008/11/06/today-6-nov-2008-barcodes-and-backups/</link>
		<comments>http://pasamio.com/2008/11/06/today-6-nov-2008-barcodes-and-backups/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 11:33:19 +0000</pubDate>
		<dc:creator>pasamio</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[today]]></category>

		<guid isPermaLink="false">http://pasamio.com/?p=58</guid>
		<description><![CDATA[As it seems a few of my mornings are starting I played a quick albeit one sided game of Dawn of War with my house mate to test that the network play was working between my Mac (using CrossOver Games) and his PC (Windows XP). Suffice to say everything worked fine network wise, my Mac [...]]]></description>
			<content:encoded><![CDATA[<p>As it seems a few of my mornings are starting I played a quick albeit one sided game of Dawn of War with my house mate to test that the network play was working between my Mac (using CrossOver Games) and his PC (Windows XP). Suffice to say everything worked fine network wise, my Mac stil has some visual issues but I&#8217;m not too phased about that at the moment. So that was an interesting start to the day and when he returns from work it&#8217;ll be an interesting end as well.</p>
<p>Work again is fun as always. We&#8217;re working on solving various election problems and getting envelopes. Our printers came back stating that they didn&#8217;t want to do Code 128 for the barcodes because its too hard preferring Code 39 instead. As the day progressed it turned out that we&#8217;re going to use Code 128 more for space issues because we&#8217;ve got that much junk going out on the envelopes. This saga has been occurring over a few days, I really want to get a few proofs done before we actually get the batch done from them first to ensure that everything is good but we&#8217;ll see. Testing on the system we&#8217;re going to be using to track the election on has also begun to ensure that the system can in fact handle items properly, we had a word of warning from one of the newer guys from the regions that it had issues and that was with nowhere near the same workload. So we&#8217;re hoping we can test the system out with a few VM&#8217;s emulating the system for multiple data entry. There have been issues with the system in question in the past (in fact the system is being replaced)  so hopefully this won&#8217;t be a time when it does have issues otherwise we&#8217;re going to have large numbers of problems.</p>
<p>The bulk of my day was spent working on the restore framework for Joomla! 1.6, or more accurately the new JDataLoad system and the JLoaderSql adapter. The data load system, as its name suggests, loads data into the Joomla! database from a data source. In this case I&#8217;m looking at the SQL files which in my sample data is actually one of the 1.5 sites that I&#8217;m an administrator over at work. Its relatively small in the grand scheme of things with only a few meg and around 9000 queries. So far its been sufficient to find a few issues, one being dropping a table before a task yield which caused a missing table error from J! (put in a simple patch for that, if the last query was a drop, go to the next query in the hope that its a create) and another was a minor typo error which caused some multiline strings to be processed incorrectly when they were on a yield boundary again as well. But all in all its working well even importing data faster than MySQL Query Browser was (to its fairness it highlights each query as it goes) in my test runs. Its now committed to trunk and when I get a chance I&#8217;ll write up something about it and put it somewhere</p>
<p>Extra fun today came from trying to write up business cases for the projects I want to work on in the next year or so until I have to write it up again (fun, yeah!). Initially my boss (who is great) thought of me and tried to convert the files from Excel into a more Open format so that I can get at it on my Mac and Linux box. Somewhere during the conversion however the fields got trimmed and data lost, so I offered to edit the document in Excel directly using our Windows only document management system logging in via our Citrix services. The system, OpenText&#8217;s DM, isn&#8217;t too bad for the most part and does the job well and today I found no fault with it. Today was the day when Microsoft&#8217;s tools decided they wanted to misbehave.</p>
<p>Earlier in the week my boss had emailed me a doclink to the document stored in DM. A doclink is a small text file with the document number in it which basically triggers the system to load the specified document, something that usually works quite well. However Outlook, due to various configuration changes, decided that it didn&#8217;t want to start for some reason even though earlier in the week it was working perfectly fine. After Outlook repeatedly informing me it wanted to recreate my profile and then informing me that it couldn&#8217;t contact my Exchange server and offering to allow me to work offline which consequently failed due to a lack of a profile, I ended up using Mac OS X&#8217;s built in &#8220;Mail&#8221; application (yes, the email application is called &#8220;Mail&#8221;) to get at my email to find the document number and open it. Usefully enough this is done through the IMAP interface on Exchange and worked well and doesn&#8217;t suffer from some of the other issues that the Outlook clients have, such as the address book caching which caches the old Lotus Notes addresses instead of their newer Exchange ones resulting in emails going to the wrong place. Yay Outlook! Suffice to say I found the file and made the changes that I needed to before accosting our Exchange administrator who had returned to see if he could fix the issue &#8211; which he did mind you after some trial and error.</p>
<p>The last little item I looked into was building a system to version the content from Joomla! back into our document management system. The new document management officer assures me that we can do it and has even proposed a nifty way of importing the data into the system. It looks like one of the products we have, KoFax, will help us by allow us to generate XML files which specify the documents that we&#8217;re creating and the different versions. If we can get this to work it will be really awesome as it&#8217;ll mean that our website is in part integrating back into our document management system without hacking into the database! I&#8217;ve still got to build it and work out where we want to target the extension, but suffice to say its on my project list for next year.</p>
]]></content:encoded>
			<wfw:commentRss>http://pasamio.com/2008/11/06/today-6-nov-2008-barcodes-and-backups/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Today: 04-Nov-2008: Fun with Kerberos</title>
		<link>http://pasamio.com/2008/11/04/today-04-nov-2008-fun-with-kerberos/</link>
		<comments>http://pasamio.com/2008/11/04/today-04-nov-2008-fun-with-kerberos/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 11:26:37 +0000</pubDate>
		<dc:creator>pasamio</dc:creator>
				<category><![CDATA[activedirectory]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[jauthtools]]></category>
		<category><![CDATA[kerberos]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[macosx]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[today]]></category>

		<guid isPermaLink="false">http://pasamio.com/?p=53</guid>
		<description><![CDATA[Today was a mostly ordinary day, though the day started with me buying Red Alert 3, so that wasn&#8217;t too bad &#8211; yay! Australia! A week behind the rest of the world! I could have pirated the game and had it faster and cheaper, perhaps even finished! But I digress, it was an ordinary day. [...]]]></description>
			<content:encoded><![CDATA[<p>Today was a mostly ordinary day, though the day started with me buying Red Alert 3, so that wasn&#8217;t too bad &#8211; yay! Australia! A week behind the rest of the world! I could have pirated the game and had it faster and cheaper, perhaps even finished! But I digress, it was an ordinary day.</p>
<p>Today is Melbourne Cup day, being the first Tuesday of November, so we had a luncheon of sorts and a drawing for the horses. Didn&#8217;t win, the food was good, I&#8217;m $10 poorer and such is life.</p>
<p>I&#8217;ve been spending more time at work using my Mac as a primary machine. Since I&#8217;ve moved to Exchange from Domino (or Outlook from Notes), I&#8217;ve gotten Evolution on Linux mostly working (with the exception that it doesn&#8217;t automatically look up names for emails which is tedious) and Apple&#8217;s Mail and Address Book both playing nicely with Exchange. I do miss the fact that I had Notes on my Linux desktop and things mostly worked albeit slowly and consuming large amounts of memory, but it worked with all of the features available normally. Mail&#8217;s ability to due autocompletion is what is drawing me back to it as a client, which when you start writing emails is actually more useful than you would think. Its still not up to par with the Notes autocomplete which was quite cool and a lot more advanced than either Mail&#8217;s or Outlook&#8217;s (I get Outlook via Citrix).</p>
<p>I&#8217;ve also been trying out NetBean&#8217;s PHP Early Access through a nightly build (has the ability to create PHP projects from existing sources) and I&#8217;m impressed with it. I tried it out because I wanted to try out debugging with my PHP instance and the dated version of Eclipse I had (3.2) seems to have issues &#8211; more than likely my fault &#8211; and I don&#8217;t want to waste time on trying to fix something. NetBean&#8217;s installed and worked almost instantly, however it took me a while to find where I could change the params to get J! to route items properly. I managed to work out the bug that I was having without too much issue. I knew what it was but not where it was: turned out to be exactly what I thought, an assignment operator used instead of the append operator. The Subversion support seems to be a bit off and doesn&#8217;t work yet, so I&#8217;m not quite ready to ditch Eclipse yet &#8211; but I&#8217;ll try with later versions to see what I get.</p>
<p>I had a chat with the principal (we have principal, manager, director, CEO as our chain of command) about the projects that I&#8217;m doing and the ones I&#8217;m interested in so I&#8217;ll have to do some paperwork and business cases for the new projects and justify items. We&#8217;ve recently got a new manager who is trying to find where everything is so part of this is explaining everything so that he can get a grasp of the way the system works.</p>
<p>Then I spent the majority of the afternoon with one of the ITS guys working through how our Citrix boxes work with Flex profiles and the mandatory profiles filling in the gaps in his knowledge and how different parts of the system and why items might break or behave in a particular way. I think he&#8217;s worked out how it works and he&#8217;s even figured out why a few issues are happening. So nothing exciting but useful.</p>
<p>And finally I had fun with Kerberos. I built the Kerberos module on the SLES10 server, installed it, restarted Apache and tried to get it to work. On my Mac both Safari and Firefox requested a username and password instead of using a Kerberos token and IE6 in my Citrix session seemed to just go in a weird infinite loop. I slowly worked through my entire Kerberos configuration on the server until I got to looking at the keys. It turns out that the keys were created with the wrong virtual host name for the server which is causing the issues. The keys for the real server name actually worked fine when I got around to testing them which proves that everything will work once I get the keys. The last part is a fix to the Citrix system which for some reason think that the intranet site is actually on the internet, but I&#8217;m assured that this should be easy to achieve. Getting Kerberos up and running was pretty easy ignoring the faulty keys compared with some of the nightmares I&#8217;ve had getting items to play nicely together. I&#8217;ll probably add something to my guide (http://sammoffatt.com.au/jauthtools/Kerberos) on it, to help with items.</p>
<p>Who knows, I may have even figured this Kerberos thing out!</p>
]]></content:encoded>
			<wfw:commentRss>http://pasamio.com/2008/11/04/today-04-nov-2008-fun-with-kerberos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JAuthTools Update</title>
		<link>http://pasamio.com/2008/02/05/jauthtools-update/</link>
		<comments>http://pasamio.com/2008/02/05/jauthtools-update/#comments</comments>
		<pubDate>Tue, 05 Feb 2008 12:26:22 +0000</pubDate>
		<dc:creator>Pasamio</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[jauthtools]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://pasamio.com/?p=37</guid>
		<description><![CDATA[Today I&#8217;ve been working on some new stuff for Joomla! to enable SSO between disparate Joomla! instances. I&#8217;ve tested it on Joomla! 1.0 and 1.5 in legacy mode. I&#8217;ll do some more work later to get it working with Joomla! 1.5 in native mode and to better integrate with JAuthTools for 1.5 (to utilise the [...]]]></description>
			<content:encoded><![CDATA[<p>Today I&#8217;ve been working on some new stuff for Joomla! to enable SSO between disparate Joomla! instances. I&#8217;ve tested it on Joomla! 1.0 and 1.5 in legacy mode. I&#8217;ll do some more work later to get it working with Joomla! 1.5 in native mode and to better integrate with JAuthTools for 1.5 (to utilise the SSO system that I&#8217;ve written for 1.5).  If you&#8217;re interested, check out the JAuthTools SVN here: http://joomlacode.org/svn/jauthtools/sso/joomla10x/soapsso. If you check it out you can use the install from directory feature to install it into your test sites. I&#8217;ll have packages up in the next few days.</p>
<p>I&#8217;m also looking at doing some work on the JAuthTools for 1.5 to improve support. There appears to be some issues so I want to get it back up and running as well as porting/merging some of the features from the LDAP SSI into 1.5 and the LDAP Authentication plugin. I&#8217;ll probably also do some update to docs on the wiki as well to reflect the new features.</p>
<p>Things on my todo list after I clean up my released JAuthTools plugins:</p>
<ul>
<li>Backlink Manager</li>
<li>JAuthTools Manager</li>
<li>JDiagnostics for 1.5</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://pasamio.com/2008/02/05/jauthtools-update/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Today, 14-Jan-08: Query languages, LDAP, business intelligence and filesystems</title>
		<link>http://pasamio.com/2008/01/14/today-14-jan-08-query-languages-ldap-business-intelligence-and-filesystems/</link>
		<comments>http://pasamio.com/2008/01/14/today-14-jan-08-query-languages-ldap-business-intelligence-and-filesystems/#comments</comments>
		<pubDate>Mon, 14 Jan 2008 07:10:53 +0000</pubDate>
		<dc:creator>Pasamio</dc:creator>
				<category><![CDATA[authentication]]></category>
		<category><![CDATA[businessintelligence]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[edirectory]]></category>
		<category><![CDATA[endoftheday]]></category>
		<category><![CDATA[filesystem]]></category>
		<category><![CDATA[filesystems]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[lca2008]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[linux.conf.au]]></category>
		<category><![CDATA[mdfs]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[pentaho]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[today]]></category>

		<guid isPermaLink="false">http://pasamio.com/?p=34</guid>
		<description><![CDATA[I&#8217;m going to start regularly writing daily posts about what I did today and the things I found interesting, I&#8217;ll at least try anyway. First up for today is a personal thing, I completed a rather largish Uni assignment today which reminded me of all of the pains that come with C++, but to follow [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m going to start regularly writing daily posts about what I did today and the things I found interesting, I&#8217;ll at least try anyway.</p>
<p>First up for today is a personal thing, I completed a rather largish Uni assignment today which reminded me of all of the pains that come with C++, but to follow that I returned to working on my filesystem in C, which is just more pain. I got a quick response back, and almost full marks (96%) so I&#8217;m happy for all of the time I put in to get it done and how its probably far more complicated than anything else that will be submitted (it used Boost Signals and a whole heap of other things that I don&#8217;t think will ever be taught in the subject for a long time). But hey, thats just Uni!</p>
<p>Today I finally managed to get Pentaho, some business intelligence (BI) software, to play nicely with Novell eDirectory&#8217;s LDAP interface. I must have missed the option, but Pentaho doesn&#8217;t seem to accept anonymous binding to the LDAP server, which means I need to bind as a user. By default our users funnily enough have less access than the anonymous account (which is actually a proxy account with full browse permissions). The solution was simple enough: we shunted our dummy Pentaho user into the same group as the anonymous proxy account and everything worked. So I&#8217;ve now got Pentaho using LDAP for authentication (yay!) and a MySQL database to get its role/group permissions. Funnily enough when its all said and done the documentation is pretty close to the mark.</p>
<p>But once I had that I don&#8217;t have an ability to manage the groups/roles within Pentaho, so I end up having to write some small PHP to manage that. Luckily I worked on a project a while back that I called &#8220;Joomla! Central Management for Users&#8221; which basically connected directly to MySQL databases of Joomla! installs and altered the users. I had originally built it with a plugin infrastructure in mind so that I could plug other stuff into it later. Starting this morning it only had a &#8216;connector&#8217; for Joomla! 1.0 via MySQL and LDAP, now it has one for the Pentaho security tables. This means I can easily copy users from LDAP or Joomla! into Pentaho without too much issues and has a debugged user interface already. But wait theres more!</p>
<p>When I was originally developing the tool I wrote a query language for it. See, SQL is a great language for databases, but its a bit hard to apply in situations where you don&#8217;t quite need all of that power. So I wrote my own query language. Its quite simple it can validate simple attributes and allows for set operations within &#8220;Sites&#8221; (a site is a container for users and groups). So for example I want to see all of the users who are on our web site but not in our LDAP directory:<br />
existsin &#8220;Web Sites&#8221; and not existsin &#8220;LDAP&#8221;</p>
<p>Primitive sure, but it because writing a large SQL expression for something simple. I hope to expand on it, but it already does what it needs to do for the time being.</p>
<p>So I&#8217;ve covered query languages, LDAP and BI! All I need now is the filesystem news. Today there was a whole heap of fan fare on Slashdot about the ZFS news from Apple, whilst thats cool and all (especially since I don&#8217;t mind Apple&#8217;s UI), I personally have my own filesystem that I&#8217;ve gotten back into to do some work on. It also happens to be a Uni assignment due on Friday! So I&#8217;ll be back to working on that and hopefully I&#8217;ll have it to a nice stage that I can do some lightening talks at linux.conf.au!</p>
]]></content:encoded>
			<wfw:commentRss>http://pasamio.com/2008/01/14/today-14-jan-08-query-languages-ldap-business-intelligence-and-filesystems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>64-bit Hell and Eclipse</title>
		<link>http://pasamio.com/2007/10/06/64-bit-hell-and-eclipse/</link>
		<comments>http://pasamio.com/2007/10/06/64-bit-hell-and-eclipse/#comments</comments>
		<pubDate>Sat, 06 Oct 2007 08:03:12 +0000</pubDate>
		<dc:creator>Pasamio</dc:creator>
				<category><![CDATA[64bit]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[macosx]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://pasamio.com/?p=15</guid>
		<description><![CDATA[For many years now I&#8217;ve had an AMD box that was capable of running 64-bit. I wouldn&#8217;t say I&#8217;m an early adopter, it just happened to be capable of 64-bit and it didn&#8217;t bother me if it was a feature or not. At the time I tried out the 64-bit builds of Linux and Windows, [...]]]></description>
			<content:encoded><![CDATA[<p>For many years now I&#8217;ve had an AMD box that was capable of running 64-bit. I wouldn&#8217;t say I&#8217;m an early adopter, it just happened to be capable of 64-bit and it didn&#8217;t bother me if it was a feature or not. At the time I tried out the 64-bit builds of Linux and Windows, found Windows woefully equipped to handle 64-bit and Linux a bit better (having all of the source code to recompile and fix things on a new word size does help things).<br class="webkit-block-placeholder" /><br class="webkit-block-placeholder" />Fast forward to today and I have (again) a AMD AthlonX2 64-bit box now on my desk and I&#8217;m running SLED10 64-bit. To be honest I&#8217;m doing better than Helpdesk who has a similar test box and have been trying to get 64-bit Windows XP up and running on the machine. They&#8217;re still hunting for drivers for the thing and keep complaining they have to go halfway across the internet to get things. For myself I&#8217;ve only downloaded one driver for the ATI graphics card on it, more to get dual head mode working on the graphics card. So I&#8217;m up and running and I&#8217;m not really noticing any issues with applications. Everything I&#8217;ve thrown at this box has been handled perfectly, until I decided to upgrade Eclipse. Eclipse is a strange beast and the build I have is a 32-bit build. It worked fine by default, however the Java version that I have on my desktop is rather ancient (1.4.2, thank you SuSE). This meant that some things didn&#8217;t want to work properly. I tried to upgrade to the IBM provided 1.5 release which wanted to be 64-bit. Which is fine, until you realize that the Eclipse build has a 32-bit SWT support layer. Try again! So I ended up downloading the 32bit Linux Java off the Sun website and installing it. That got me up and running with 1.6 and Eclipse started and almost got me to where I wanted to be. Then Eclipse hanged itself. Eclipse does this from time to time, so I just let it sit there and do what ever it does and it came good. I have a feeling its trying to go to the internet or some other network resource which is taking its sweet time to respond, or for the internet, being blocked by a firewall somewhere.So this brings to light an issue with any system that indulges in dynamic linking. One of the issues here was Eclipse&#8217;s SWT library being 32-bit (there are 64-bit builds so that is fixable though I know not how) and at one point using a 64-bit build of Java. Funnily enough this isn&#8217;t as big an issue on my platform of choice, Mac OS X. As I pointed out in a <a href="http://apple.slashdot.org/comments.pl?threshold=-1&amp;mode=thread&amp;commentsort=0&amp;op=Change&amp;sid=243857&amp;pid=19707335">Slashdot</a> comment Apple has done a great job of shifting architectures for their operating system and let alone the 32-bit/64-bit transition. They&#8217;ve had to move from their original Motorolla <a href="http://en.wikipedia.org/wiki/680x0">m68k</a> powered machines to <a href="http://en.wikipedia.org/wiki/PowerPC">PowerPC</a> based machines and now from PowerPC on to Intel, and they&#8217;ve used emulation both times swapping from the <a href="http://en.wikipedia.org/wiki/Mac_68K_emulator">m68k to PPC</a> and then from <a href="http://en.wikipedia.org/wiki/Rosetta_%28software%29">PPC to Intel</a> to make the transition lighter, and utilizing &#8220;<a href="http://en.wikipedia.org/wiki/Universal_binary">Universal Binaries</a>&#8221; similar to the &#8220;<a href="http://en.wikipedia.org/wiki/Fat_binary">fat binaries</a>&#8221; they used previously to get things up and running. The only other element of note is providing the &#8220;<a href="http://en.wikipedia.org/wiki/Classic_%28Mac_OS_X%29">Classic</a>&#8221; interface to ease the transition from the <a href="http://en.wikipedia.org/wiki/Mac_OS_nanokernel">nanokernel that powered Mac OS 9 and earlier to OS X&#8217;s new </a><a href="http://en.wikipedia.org/wiki/XNU">XNU</a> microkernel. The system is in effect emulating a Classic machine, though it isn&#8217;t complete. Though of most note Apple announced the toolchain to make the PPC to Intel switch all possible ahead of time and integrated it directly into their primary developer tool, <a href="http://en.wikipedia.org/wiki/XCode">XCode</a>.Perhaps this is why Apple&#8217;s transitions are so much smoother than that of either Microsoft or Linux.</p>
]]></content:encoded>
			<wfw:commentRss>http://pasamio.com/2007/10/06/64-bit-hell-and-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
