Archive for December, 2008

Today: 11-Dec-2008: Fixing Windows

December 11th, 2008 | Category: today

Following yesterday’s theme I started fixing the Windows instance so that it worked better. First I had to get local admin but once I had that I was free. I put a decent unzip tool on the system (7zip; perhaps arguable about decent but it handles more than Windows does), I replaced alt-tab with the Windows power toy version (allows me to click on icons and gives me a preview of the window most times), I’d already put Firefox and Eclipse on as well as getting a more up to date version of Java to handle the applications I need to run. I’ve also put Chrome on the machine and I’m presently liking it at the moment. Its not quite home yet and I may yet end up setting up Linux somewhere, potentially in a vm, for the simplest of features: symbolic links. It appears that junction points in Windows are evil, deleting one inappropriate will result in the target folder having its contents deleted, moving it to another volume results in the target being emptied however copying does work properly. A lot of commands don’t treat them properly and there is a limited set of commands that you can use to fix things up. Needless to say, I’m going to avoid them. Ahh the joys of Windows!

No comments

Today: 10-Dec-2008: You don’t know what you’ve got until its gone

December 10th, 2008 | Category: today

I spent the majority of today sitting on a Windows desktop missing simple things that I would normally take for granted from other platforms, this includes:

  • The ability to install apps without needing root/administrator to do this
  • In Mac OS X when you Alt-Tab (or GNOME with SuperSwitcher) you can click on the icon to select the application
  • A provided web server, database server and mail server that doesn’t suck
  • A menu navigation system that doesn’t lock itself up trying to find icons (yes, I’m referring to the Windows start bar here)
  • Decent memory allocation management
  • Show desktop functionality that works properly

As a plus, I spent time playing with Chrome and using it. It feels pretty schmick as a browser and its working nicely for me. I’m a bit of a browser whore, so now I’ve got IE6 (default build for the machine), Firefox 3 and Chrome installed – thats not quite as much as my Mac which has Firefox, Safari, Opera and two versions of Shiira (I don’t mind Shiira, the two versions are for the old feature that I thought was cool but they removed – page dock is its name I think, enables you to put a page in the side bar, useful for navigating sites with a big long list of links on one page but no easy way to progress on the next). I have had browsers like Camino on my Mac in the past but I don’t any more.

But even more I miss my Mac or Linux box for sheer usability and it isn’t until you get back on Windows and try to work that you realise how painful it is. Plus side was that getting my email up and running on the box meant that I had to delete the profile that was there because somehow it pointed to the wrong server, fighting it each time because it tried to connect to a server and then digging through LDAP to find the correct Exchange server to connect to once I’d convinced Outlook to let me configure an account with it instead of having it uselessly tell me that it can’t connect to my server.

In other news I’m playing with Google App Engine again. I first made a mistake setting up my application which meant that it was limited to the App based authentication (bummer!), the next app I made I got the auth right but made a slight typo in the name and now I’m up to my third application and it appears to be doing what I want. Due to testing things my local DNS is presently borked so I can’t do proper testing on items yet but when I get around I’ll flush DNS caches along the chain and things should resolve fine again. The tool I’m building is a simple authentication bridge for Google Accounts that doesn’t require me to work around their other requirements. Now that they have stuff like OAuth I’ll have a look at how to integrate those and use them in future as well as looking at ClientLogin – though I must admit thats not as nifty. I built something simple to handle what I wanted and its come in handy, its present use is for one my of university assignments. Should be fun!

No comments

Today: 09-Nov-2008: Morphing

December 09th, 2008 | Category: today

After starting a redesign on the SSO manager I feel that the present design will serve me for at least this release. Already I have quickly expanded it’s scope to mtach what I had always intended my auth manager tool to be. So when I get some more time to work on finalizing it I should be able to make my last JAuthTools release for 1.5 before I start 1.6 only. The only other items left are a few identity providers (e.g. OpenID, SimpleSSO and SOAP SSO) and maybe a Type B OpenID plugin as an example of how that works. Fun for the whole family!

No comments

Today: 08-Nov-2008: Reversing decisions

December 08th, 2008 | Category: today

I’ve been working on my SSO manager and today I got to the point that I was writing too much code so I decided to redesign my application in a different way. I’ve started with the redesign, so now I’ll see how the second attempt goes. As Brooks says it may take more than one design and few dead ends before you get to the right place. Yay.

No comments

Today: 05-Nov-2008: SSO and election fun

December 05th, 2008 | Category: today

As expected I made some progress on my SSO with the basic plugin editor working for type A and C plugins but storing isn’t written yet so I can’t create new type B plugins yet or alter existing plugin entries of any of the plugin types. So the basic views and models are up and running, now I have to finalize the administrator section and then build the front end layer. Once all of that is done I can work on doing the actual plugins themselves, rewriting SOAP SSO, expanding SimpleSSO to handle the new type B requirements and add a new OpenID plugin that integrates into this infrastructure as opposed to integrating badly with the core Joomla! authentication system. It is the only authentication plugin that doesn’t work within the framework instead redirecting the user around the Internet and then back to Joomla! to login. Not the sort of ideal situation which is why I’m trying provide alternatives.

Today was also go live for the next phase of the election process the open source system seems to be working well with a small glitch in one of the extra SQL statements that I had added very close to then end where I had forgotten an extra table. It was a quick fix in my prerelease checking so it thankfully never went online in the production environment. There is no such thing too much testing – it took us three days to find a reproducable bug in one of the other systems that we were planning on using prior to building our own solution. Tomorrow will be putting items up on the website, should be fun!

No comments

Today: 04-Nov-2008: SSO fun

December 04th, 2008 | Category: today

Beyond more electoral fun and last minute changes (thankfully not impacting on me) I spent some more time on my SSO system working out the database structure for a few tables, extending the installer XML file for my SSO plugins so that they can have some extra information such as their supported states, operations and the key field for a given plugin. I’m using a similar technique that I have used in Joomla! 1.6 by parsing the XML file once, creating the data array and storing it serialized in the table. This way the XML file is only parses once and the much faster PHP unserialize function is used later. This also means that the XML file need not be consulted and the data can be extracted in one query so no excessive increase in over head in the database layer (the query is run anyway, just adding another field) for attempting to open, read and parse the XML file – huge saving. I’ve also managed to get my views down to something logical looking and now that my table structure is finalised I’m getting some work done on the model as well. With any luck I’ll get a mostly working admin component out tomorrow and hopefully finalize the new infrastructure next week. The weekend will be a bit of a wipe out with election being run and potentially me being there to help out.

No comments

Today: 03-Dec-2008: Doco!

December 03rd, 2008 | Category: today

Today’s major event was fun diagnosing an issue with our directory services (we have three: AD, and two independent eDirectory trees) where users were unable to log in. To cut a long story short, Novell updates the password change in AD and one of the eDir trees directly and the third tree synchronises from the other two and changes between the two via IDM. The directory that we use for web authentication is the ID-Vault which is supposed to be the thing thats got all of the information in the most up to date format. Bzzzzzt assertion failed. Somewhere along the line the password synchronisation for the user got lost between the two directory services and the third one ends up with the wrong password. Fun for the whole family.

This lead me to write up some doco on a service that I rarely use but it is one of the more useful ones that I have out there. JCMU was a project to centralise user authentication and management with a plugin infrastructure to enable disparate ‘sites’ to manage information. In TRC’s incarnation its set up connected to the LDAP directory (the aforementioned ID-Vault), the Staff Intranet and a few other internal applications – each with their own particular method of storing user credentials. So the tool can manage users in the systems, reassigning passwords, groups and even creating accounts in different sites with different connectors. The system even has its own query language to weed down result sets, however the system needs a large hit to make it cache the information as at the moment it finds out all of this information of about 1000 odd users and then outputs it without caching or storing in a database somewhere even temporarily. When I get some time I’ll release out the doco and a tutorial for setting up this extension (its got a 1.0 and 1.5 version) to make it useful in different situations.

No comments

Today: 02-Nov-2008: Fighting Subversion and new software releases

December 02nd, 2008 | Category: today

Today I spent the majority of the day trying my darndest to convince Subversion to accept my code. Eclipse crashed multiple times and the Subversion command line client wasn’t much help either. I must admit I’ve never seen things crash so often and so fast. I’ve managed to get most of the way there and I’ll persevere for the last bits. I might end up taking it home.

On a lighter front I submitted three extensions to the JED, a really quick Google Search module (you could do it tonnes of other ways that I’m sure have been done before, but just throwing it out there), a content plugin that handles working out anniversary dates (e.g. I’m n years old) and a module that detects if you’re logged in and redirects you to another page (useful more for my SSO stuff where there is no ‘login’ event per se which you want to redirect the user from). Hopefully they’ll all appear sooner or later.

No comments

Today: 01-Nov-2008: Less dialup pain

December 01st, 2008 | Category: today,web

Most of today was spent doing nothing much interesting. I watched a PC that I was working just randomly reboot (yay for Windows, what a wonderful operating system), I did manage to get some extra documentation written on my SSO plugins but most interestingly we’ve now got our ADSL connection back so we’re not trying to share a dialup internet connection with three people. It was very painful. Its nice to have pings that aren’t in the 10 to 14 second range (I kid you not). I’ve spent most of this evening writing an OJS plugin for my girlfriend  – she keeps changing the goal posts each time she asks me which has now lead to a minor redesign of the way I’m approaching things, I’m going to have to spend a lot more time digging through OJS to find the code that I need to do to get the system to behave properly but sooner or later she wants me to hack apart the system to change it anyway.

No comments

« Previous Page