iOS programming: parentViewController in iOS5

December 10th, 2011

In iOS 5 the working of parentViewController was changed, see this article.

A workaround is to create a define which works on all platforms:

#define self_parentViewController (([self parentViewController] != nil || ![self respondsToSelector:@selector(presentingViewController)]) ? [self parentViewController] : [self presentingViewController])

Arjen Code

Using JSTL in Maven

September 4th, 2011

If you are going to utilize JSTL (which I highly recommend) in your java projects you will come into an surprise when starting the servlet container:

org.apache.jasper.JasperException: ... No such tag out in the tag library imported with prefix c

This is solved by also including the taglibs standard library.

        <dependency>
            <groupId>jstl</groupId>
            <artifactId>jstl</artifactId>
            <version>1.1.2</version>
        </dependency>
 
        <dependency>
            <groupId>taglibs</groupId>
            <artifactId>standard</artifactId>
            <version>1.1.2</version>
        </dependency>

Arjen Code

Inactivity

August 26th, 2011

Hi,

As you might have noticed not a lot is going on here… I have found it very hard to find time to write about tech stuff between work and my other hobby, photography.

If you have this bookmarked or in a RSS reader you might find it nice to take a look at my photography site.

Hope to see you on the other site! [sic]

Arjen Blog

The persona of credmp

August 22nd, 2009

MIT has a great project to show you your persona. After you enter your name into the search bar the application will analyze how the computer sees the results for your name and will create a persona for you.

Below is the persona for credmp.

MIT Persona for credmp

MIT Persona for credmp

A persona, a defined by wikipedia:

In the study of communication, persona is a term given to describe the versions of self that all individuals possess. Behaviours are selected according to the desired impression an individual wishes to create when interacting with other people. Therefore, personae presented to other people vary according to the social environment the person is engaged in, in particular the persona presented before others will differ from the persona an individual will present when he/she happens to be alone.

There are a few interesting points in my persona according to MIT; military, fashion, illegal and religious… I need to take a look at what generates those as I have very little affinity to those subjects but apparently the computer sees them as a part of my persona.

Arjen Life , , , ,

Starting a project: stakeholders

April 5th, 2009

Getting started with a project is always difficult. Either you start as an experiment and quickly end up trying to stuff a world of functionality into your product, or you work in an organisation where someone with influence says ‘we need a product that does this’.

No matter what project management strategy you maintain, you need to do some ground work before you can actually start a project to deliver product X. One of the first steps is to sit down with the stakeholders and see if it is even a good idea to create this product.

Now you are faced with the task of getting the group of people together whom you should consider the stakeholders, but how do you determine them? You cannot just point to a bunch of people and say ‘you are a stakeholder’, with great certainty you will be able to say that whatever you think up will need to be redone later because you did not have the right people deciding what to do.

So, what should you do? I have seen companies that have said ‘just make it and we’ll review it later’; this approach basically guarantees that whatever you create, it will be wrong because you have absolutely no information to work with. Other companies have so-called ‘Product Managers’, people dedicated to caring for a product, in a non-operation sense. Having only these people around the table when you try to decide what should be done or if it should be done at all will also always result in absolute failure.

What then? So far, for me, the simpelest thing to use is to look at the work domains surrounding the new product to get a list of stakeholders that can tell you something usefull about the product you wish to build.

Lets take as an example a novel product called a ‘Blog’. Someone hires you to determine the requirements of this product. In order to get a sense of the domains surrounding the product you ask the initiator what they see when talking about a ‘Blog’.

Most likely the initiator will say that they expect someone to ‘Write’ something so that others can ‘Read’ it. Great, writing and reading are your first domains, now you go over to the person (or people) that have been marked as ‘writers’ and ask them what they expect at this point. They will tell you that they expect to ‘write’ something, have it ‘reviewed’, ‘published’ and ‘announced’ to the outside world. They also expect that readers can leave ‘comments’ and that they can respond to them.

After doing a little bit of research into the subject you also notice there are several standards for certain parts of a ‘Blog’, namely ’syndication’ and ‘trackback’.

If you put all this information into a simple context diagram (with some images from technorati, gravatar, wordpress and rss) you see a nice overview of who, at this point, are your major stakeholders.

The context of your product

The context of your product

It does not take a lot of effort to find out what the major domains of work are related to your product, which will then lead you to your stakeholders.

These stakeholders you can call together for a project kick-off meeting to determine how to move on; a nice subject for the next time!

Arjen Code, Requirements, Software , ,