Short Story Titles

November 6, 2009

Eight ideas for short story titles from the man behind WriteInvite:

  1. Loyalty Cards
  2. The Shopping Channel
  3. Ideal Travelling Companion
  4. Bakewell Tarts
  5. Vitamin Pills
  6. JB’s Nappies
  7. Cardigans
  8. Crocodile Tears

 


Some Basic Interview Advice

November 6, 2009

Notes from a recent training session (rather a basic one - but fundamentals are easily forgotten in stressful situations) :

Advance Preparation

Keep a copy of the job advert and spec

Keep a copy of your application form / CV

Research the department / organisation + make notes

  • Understand where the organisation is going

Prepare questions to ask the interviewers

On-the-Day Preparation

Re-read your key documents – your application form / CV etc.

General Tips

Be:

  • Punctual
  • Smart
  • Polite
  • Natural but not casual

During the Interview

  • Take your time
  • Ask for repetition / clarification of questions – either because you need them or to give you time to answer
  • Give brief answers – ask if more detail is required.
  • Answer questions

The Fold

November 5, 2009

There has been a long running debate amongst web designers as to whether or nor “the fold” matters, or even exists. Here are my thoughts:

  1. Of *course* users know how to scroll. Just like they know how to unfold physical meda. But knowing how is not the same as doing.
  2. Everything else being equal, people are less likely to do things that take more effort. Scrolling takes effort (not much, but some), so users are more likely to read things above the fold than below it.
  3. There are actually two folds – the first is at the bottom of your browser window. The second is in your head. It is the amount of scrolling + reading *you* are willing to do before you give up on a web page. Some people who visit this page will not read this sentence – it will be below their personal fold.
  4. Everything else being equal, users will do things that they typically find most rewarding. If web-designers believe in the fold, they will put the content they consider most important near the top of the page. As a result, we actually train users not to scroll – thus re-inforcing the idea of the existence of the fold.
  5. Users develop straegies for getting what they want from the web. These strategies vary from person to person and from day to day. The way I/you look at a page might not be typical. You can’t always generalise your own experience.
  6. Without watching what real users actually do, we’re just guessing about the whole fold issue. (Although some of our guesses are more educated than others).

SQL Server: Show all the FOREIGN KEYS that reference a TABLE

November 5, 2009

For SQL 2005+


DECLARE
     @tableName nvarchar(MAX)
SET
    @tableName = 'tableName' -- (1)

SELECT DISTINCT
     ccu.table_name,
     ccu.constraint_name
FROM
     INFORMATION_SCHEMA.TABLE_CONSTRAINTS tc
INNER JOIN
     INFORMATION_SCHEMA.REFERENTIAL_CONSTRAINTS rc
          ON rc.unique_constraint_name = tc.constraint_name
INNER JOIN
     INFORMATION_SCHEMA.CONSTRAINT_COLUMN_USAGE ccu
          ON ccu.constraint_name = rc.constraint_name
WHERE
     tc.table_name = @tableName

Notes:

  • Change line (1) to specify the table name.

 


SQL Server: Show all the PRIMARY KEYS for a TABLE

November 5, 2009

For SQL Server 2005 + 


DECLARE

     @tableName nvarchar(MAX)
SET

     @tableName = 'tableName' -- (1)

SELECT

      tc.TABLE_NAME,

      tc.CONSTRAINT_NAME,

      kcu.COLUMN_NAME,

      kcu.ORDINAL_POSITION

FROM

      INFORMATION_SCHEMA.TABLE_CONSTRAINTS tc

INNER JOIN

      INFORMATION_SCHEMA.KEY_COLUMN_USAGE kcu

      ON tc.CONSTRAINT_NAME = kcu.CONSTRAINT_NAME

WHERE

      tc.CONSTRAINT_TYPE = 'PRIMARY KEY'

      AND

      tc.TABLE_NAME = @tableName OR @tableName IS NULL

ORDER BY

      tc.TABLE_NAME,

      kcu.ORDINAL_POSITION

Notes:

  • Change line (1) to specify the table name. Removing this line will list PRIMARY KEYS for all TABLES.

Grumpy = Good

November 5, 2009

Humph.

Apparently, feeling grumpy is good for you.

So, that’s ruined that, then.

 


Quote: Don’t Try to Remember it All

November 5, 2009

Don’t even try to remember it all. Remember that what you’ve seen is possible. Remember what is an integral foundation to what you’re doing. Remember what you work with every day. Then remember to build a good reference library … for the rest.

– Robert Vieira (Professional Microsoft® SQL Server® 2008 Programming, Page 20)


Interview Feedback

November 4, 2009

Having secured my demotion ;-) I asked some of the interview pannel to provide feedback on my presentation / interview.

Persentation Strategy and Style

  • A risky strategy, but it worked – ND
  • Liked it – ND
  • Personally enjoyed it – MD
  • Concerned that others may have found its tone too jokey, inappropriate or too long – MD
  • Lecturing style (fine) – MD
  • The typefaces were harder to read for someone with poorer eyesight – JJ

Delivery

  • Good speed, compusure, passion and knowledge – MD
  • Enthusiastic – MD
  • Came across well – JJ

Business Content

  • Too much emphasis on past glories rather than what I will do for business in future - MD
  • Too little emphais on how my skills relate to the business vision / strategy – MD
  • Too little focus on fundamental business benefits - delivery cost, time, qualities – MD

Technical Content

  • Confident – JJ
  • Obvious proficiency – JJ
  • Too much technical detail – MD

People Content

  • Some concern about some of the attidudes I expressed through my use of language. “Don’t have time for Muppets” was memorable and unhelpful - JJ

Advice for the Future

  • Consider the audience – what do they want to hear? What is their emphasis? – MD
  • Emphasise what I will actually do for the department, and the benefits the department will receive – MD
  • Shorter answers are better – people can always ask. Be brief, but provide oportunites for questions – MD
  • Attitude in the build up to the interview is important. It is difficult to be positive in an interview if you’ve been negative about the process – JJ

Thanks for the feedback!


Everything on Your Plate

October 9, 2009

Yesterday evening, we had guests for dinner. JB (5 yrs) was over tired and over excited. Perhaps that is why he was being particularly fussy about his food.

L (my wife): Eat up! Everything on your plate is something you normally eat!

JB: Yes… Except my fork.


Quote: Simplicity in IT

October 9, 2009

The cheapest, fastest and most reliable components of a computer system are those that aren’t there.

– Gordon Bell Encore Computer Corporation