Blog Home  Home RSS 2.0 Atom 1.0 CDF  
Hairy Spider Blog - Wednesday, August 24, 2005
A web of intrigue
 
 Wednesday, August 24, 2005

And about time too, it's been more than a year since I forecast the entry into the IM market. Google have finally joined in the fray:

http://talk.google.com/

It's more like the very first yahoo messenger I used in 1998, no icons, no group chats. The windows do dock rather nicely, and it has an exceptionally small footprint. The gmail notifier is also vastly improved allowing you to navigate a preview of your emails.

Unsurprisingly it's in beta, but that's to be expected atleast for the next few years.

8/24/2005 9:10:19 AM (GMT Daylight Time, UTC+01:00)  #      gmail | Misc  | 
 Friday, August 05, 2005

http://googleblog.blogspot.com/2005/08/keyword-chefs.html

I don't even want to describe the options available in our café.

Hopefully Google will take over the world and we'll all have to live the google way.

8/5/2005 9:50:43 AM (GMT Daylight Time, UTC+01:00)  #      Misc  | 
 Thursday, June 23, 2005

Strange ideas flow through your mind when you are frantically soothing a child for an hour early in the morning, one such thought is:

If sunflowers follow the sun  what would happen if one were planted at the arctic. Assuming of course that you could find a suitable growing medium.

 

6/23/2005 4:15:33 PM (GMT Daylight Time, UTC+01:00)  #      Misc  | 
 Tuesday, May 31, 2005

I've now witnessed the most amazing sight in the world, the birth of a baby. It's quite simply the most incredible experience. Frankly, it amazes me how the human race continues, humans are just not built to give birth.

Still my wife was incredible and pushed out our first child yesterday morning. They are both now recovering from the experience and hopefully will soon be home.

 

5/31/2005 1:29:42 PM (GMT Daylight Time, UTC+01:00)  #       | 
 Friday, May 27, 2005

I'm sure that the term evidence of criminal intent could mean many things depending on how good a lawyer you have, nevertheless as an extra weight to consider on the scales guilt it's everso slightly worrying:

http://www.schneier.com/blog/archives/2005/05/encryption_as_e_1.html

I just hope that this is taken out of context.

5/27/2005 11:07:20 AM (GMT Daylight Time, UTC+01:00)  #      Misc  | 
 Wednesday, May 18, 2005

There are so many software development methodologies to use, and each of them has a set of desirable attributes. They have always seemed bloaty and unnecessarily complex and very much a "perfect world" way of programming. I've always worked for small development teams - never really more than 5 coders. In this environment the approach to development has always been a case of do what it takes to get the job done as soon as possible. If you're a good enough developer then some of the time you avoid the pitfalls of development debt.

I stumbled upon this article today: http://weblogs.asp.net/alex_papadimoulis/archive/2005/05/05/405747.aspx 

It seems I may have found a methodology I can use, it may have something to do with this methodology being closest to the way I work now.

 

5/18/2005 4:22:26 PM (GMT Daylight Time, UTC+01:00)  #      Misc  | 
 Tuesday, May 10, 2005

I don't know if anyone uses the Microsoft.Applications.Data.SqlHelper class. I've just discover a small bug when using the
the FillDataset method to populate a dataset with a stored procedure that returns multiple recordsets.

In the version I was using the names of the table sources were Table, Table1, Table2. However they were being added to the TablemMappings collection
incorrectly: Table, Table1, Table12, Table123, etc.

While this obviously works for the first two recordsets, anyother recordsets except for 12, 123, 1234, 12345 would not be mapped correctly.

Here's the function that needs to be replaced in the SqlHelper class, line 1816 in my version.

private static void FillDataset(SqlConnection connection, SqlTransaction transaction, CommandType commandType,
    string commandText, DataSet dataSet, string[] tableNames,
    params SqlParameter[] commandParameters)
{
    if( connection == null ) throw new ArgumentNullException( "connection" );
    if( dataSet == null ) throw new ArgumentNullException( "dataSet" );

    // Create a command and prepare it for execution
    SqlCommand command = new SqlCommand();
    bool mustCloseConnection = false;
    PrepareCommand(command, connection, transaction, commandType, commandText, commandParameters, out mustCloseConnection );

    // Create the DataAdapter & DataSet
    using( SqlDataAdapter dataAdapter = new SqlDataAdapter(command) )
    {

        // Add the table mappings specified by the user
        if (tableNames != null && tableNames.Length > 0)
        {
            string tableName = SqlDataAdapter.DefaultSourceTableName;
            for (int index=0; index < tableNames.Length; index++)
            {
                if( tableNames[index] == null || tableNames[index].Length == 0 ) throw new ArgumentException( "The tableNames parameter must contain a list of tables, a value was provided as null or empty string.", "tableNames" );
                dataAdapter.TableMappings.Add(tableName, tableNames[index]);
                tableName = SqlDataAdapter.DefaultSourceTableName + (index + 1).ToString();
            }
        }

        // Fill the DataSet using default values for DataTable names, etc
        dataAdapter.Fill(dataSet);
        
        // Detach the SqlParameters from the command object, so they can be used again
        command.Parameters.Clear();
    }

    if( mustCloseConnection )
        connection.Close();
}

5/10/2005 12:06:48 PM (GMT Daylight Time, UTC+01:00)  #      c-sharp  | 
 Monday, May 09, 2005
Copyright © 2008 Rhys Jeremiah. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.
Pick a theme: