A thought: There, their and they’re
Has anyone ever suffered from that dreaded situation of not knowing which it is?
I have but in a less than straight forward sense. I actually have no problems establishing which it is. However what I actually realise is I can't do it when I'm writing, only reading.
So for instance when I write an email more times than not its incorrect. But when I read it back to myself I quickly realise the mistake and correct it.
And this therefore leads me to wonder; is this due to the fact that making the decision on which to use requires the context of the sentence something which is more apparent when reading for the fact that you read at a faster rate and therefore keep a pace. Or is it due to the way in which the brain is wired? Could this identify that the areas of writing out language are different to areas for reading language?
In fact in further consideration I typically find the same is true for all of the peculiar words, tense and grammar.
I don't have the answer or fast opinion on this. But I can establish a neat life rule: the importance of re-reading a passage of writing before pressing the print/send/save button.
And by the way if you do need a refresher on which to use try this:
http://www.wikihow.com/Use-There,-Their-and-They're
Six thinking hats designing and scoping solutions
I've been contemplating this for some time. In fact it dates back to my first trip with my Dad to the local library in North Walsham where I found a copy of Dr Edward De Bono's: Six thinking hats.
Six Thinking Hats is the concept that innovation, judgement and thought can be better managed and facilitated within a group if the group organises their collective thinking processes around a set of specific areas.
Each hat represents a specific area of consideration or thought and for simplicities sake you often see them represented with different colours. I've used this personally over many years and found that with time a. you can become faster but b. it takes time to perfect. The tools are useful for innovation but they can equally be applied to strategy enabling you to flesh out and balance a strategy considering the full range of inputs and therefore logical outputs.
During a recent workshop I attempted to use this model for technical innovation, scoping and design. Much of the work I'm interested in is understanding the real business requirements and desires such that I can translate this into a process and therefore into a software solution. I stress real business requirements because in my experience what I'm presented with at the start often differs from the final needs. In effect there is a part for me to facilitate the discussion and also capturing it as it comes to light.
With any task these days time is money and being swift, focus and accurate are critical during this stage. So using the six thinking hats should work...
Hat 1:
Is concerned with questions and facts. Well that was excellent we started the discussion collecting together the initial facts/needs we had about the solution. The white board was our friend and having allowed our self with 20 minutes we finished feeling like a second pass was necessary but that we'd made a start. The nice experience was the shared concentration, each time something not to do with Hat1 surfaced it was immediately parked.
Hat 2:
Is concerned with the emotional, irrational aspects. This is not so easy simply because of the lack of time we've had to work together (kick off meeting) and that its not immediately obvious that this should have a relevance on our task. However after a short pause we did gather to gather our emotions and it was pleasant to find them largely similar. In this case around the desire for success, daunting hill to climb and concerns over failure to bring the essential elements out.
Hat 3:
Is concerned with judgments. Beneficial but challenging was the outcome here. The problem with this stage is that you need to criticise the solution, need, business case to unpick where there may be logical arguments which challenge the need for it. Our discussion unearthed a number of things which in Prince 2 might go onto a risk register. In our case we decided once again to not try to judge the arguments, if we felt they were valid then onto the whiteboard with the desire to return to each and ensure we had a mitigation in place at some stage during the spec phase.
Hat 4:
Is a pleasant stage where we all dust ourselves off from the previous stage and now focus on the positive points. In effect the positive points indicated a range of needs which weren't focused on in the RFP, some of the more softer aspects such as the user experience, information architecture. As with most software RFP there is typically a lot of focus on the scope of the works with some explanation of the strategy. However its then important to tease out the needs in respect of the structure, and the representation it will take on screen.
Hat 5:
Is concerned with creativity, new thoughts and investigations. In effect this just happens as a outcome from doing each of the other hats. We confirmed in this section that the questions area of the whiteboard captured the unknowns at this point in time and quickly moved on.
Hat 6:
Is concerned with the holistic view. A moment to step back and recheck that the process followed has struct the correct chords and we are moving in the correct direction. Actually it identified that this may well be iterative. With the discussion so far the high-level areas have been considered but there remain holes to fill. Which gave us the drive to create the now and next actions plan. This gave each of us a collection of tasks to go away with and further enable us to cover off some of the more mundane aspects like who is taking on what. Probably not so 'big picture' as is intended but given the discussions to date have always been seeking for the big picture this was seen as no bad thing.
Conclusion:
Does it help, yes is the simple answer. More so for it being a new group of people working together and the need to channel constructive energy in a meeting to leverage a brief. However there are pitfalls and gap in terms of facilitating this as a process. Tangents appear which with excited minds can lead to new tunnels being explored which digress from the intention of this structure approach. Would I use it again - definitely given the right group and challenge.
Compiling Mysql Gem on Mac OS X 10.6
Is not that easy to get hooked up and working (well it wasn't for me)...
So in an effort to save you a hunt around google follow these steps:
- Download the 64 bit version of Mysql and install
- You may need to update your PATH variable with the location of mysql, on my machine its /usr/local/mysql-5.1.40-osx10.5-x86_64/
- And then follow this command to compile the mysql gem: export ARCHFLAGS="-arch i386 -arch x86_64" ; sudo gem install --no-rdoc --no-ri mysql -- --with-mysql-dir=/usr/local/mysql/lib --with-mysql-config=/usr/local/mysql/bin/mysql_config
You've hopefully arrived at a working mysql gem.
Good Luck!
Top 5 things I’ve seen before I was 30
Here is my top 5 places I've seen, this is not easy you have to leave out so many amazing sights
- Visited the Louvre to see the Mona Lisa
- Visited Luxor to see the Karnak Temples
- Visited Mauritius to see the Black River Gorges
- Visited Rome to see the remains of the Roman Empire
- Visited Venice to get engaged
Responsive Design
Just been reading an interesting article by Kent Beck in this months Pragprog over at Pragmatic Programmers
http://pragprog.com/magazines/download/3.pdf
The temptation is to put these design ideas in the system now because you just know you’ll need them eventually. Over-designing early leads to delaying feedback from real usage of the system, makes adding features more complicated, and makes adapting the design more difficult. By the same token, under-designing makes adding features more complicated, increases defects, and makes adapting the design more difficult.
Secure Copy How to
Heres a rough and ready introduction to using the power of SSH to perform a secure copy of a file or directory between computers.
> scp
usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[-l limit] [-o ssh_option] [-P port] [-S program]
[[user@]host1:]file1 [...] [[user@]host2:]file2
So how does this matter for me well if you wanted to move a file from a server called Mojo.com to a server called Louis.com you'd enter
> scp file.txt my_login_name@louis.com:remote_directory
or if I want to copy a folder:
> scp -r my_login_name@louis.com:remote_directory my_files
Hope this helps.
By the way for those on Windows Penguinet has scp built in with a nice looking file browser/selection UI.
Rails localisation bug
I've just gone through the challenge of working out what was wrong with the following piece of code:
<% form_tag :controller => '/' do %>
<%= t(:'txt.language') %> <%= select_tag("locale", options_for_select(LOCALES_AVAILABLE, I18n.locale), { :index => nil,
nchange => 'this.form.submit()'}) %>
<% end %>
Our client reported that on a signup page where they choose an alternative language it got redirected and they could never reach the page in their native language.
How can this happen you might ask?
Well the request includes some values within the url which are used as a key. Only if the key is valid is the controller allowed to complete the request. The issue is the combining of maintaining the key and switching the language.
As it happens its a very simple fix and was pointed out to me by Juliana.
<% form_tag :controller => request.request_uri do %>
<%= t(:'txt.language') %> <%= select_tag("locale", options_for_select(LOCALES_AVAILABLE, I18n.locale), { :index => nil,
nchange => 'this.form.submit()'}) %>
<% end %>
In this fixed second example the alteration for the controller has been updated to direct the language selector to the controller of the current page. The documentation for this suggests that its broken on IIS (really should you be even trying to use this?) in fact I found that the source has had a significant amount of work go into it to work around the issue and even make it work on that webserver. Its a great little solution to ensure that the reloaded page is returned to the user in the state it was with the addition of the correct language.
quiet afternoon – try this…
Felt like a little distraction and a link to this popped up on twitter so I just couldn't resist having a play
Try it for yourself over at
http://www.themaninblue.com/experiment/JS-909/




