coderanger.com blog

news about what I am developing and other random thoughts


Two of the most beautiful singers together

Thursday, 13th December, 2007

If this doesn’t bring a tear to your eye then nothing will…
http://www.katiemelua.com/tesco/christmas/

Buy a copy now and support the Red Cross

Posted at 15:53 by Dan to :: General :: No Comments »


How to reduce movie and tv piracy

Friday, 7th December, 2007

I thought I would post this as its just a thought, I know people (I don’t do it myself, I can’t stand downloading stuff from torrent) who download episodes and movies from the net … why? because its not broadcast in the UK yet and has been showing in the USA for months.

Take, Series 2 of Heroes, we have no idea when we will get it over here … so those who know how will just not wait and will download it … why not!

The same can be said for movies, its blooming annoying to have to wait many months for a release over here for no obvious reason.

Well, if all TV shows and Movies were released worldwide at the same time then you remove that need and desire, you may as well watch a decent quality version on your TV or at the cinema than some cruddy version downloaded from the net.

Of course the movies wont get their boring marketing nonsense called a Movie Premiere, with the cast walking about a pointless red carpet; but that is something we can all live without!

Posted at 14:15 by Dan to :: General :: No Comments »


Does Leopard Promote Content Theft?

Wednesday, 11th July, 2007

I am just in the middle of watching Jobs’ Keynote at WWDC07 and was interested in the new ‘webclip’ technology.

From computerworld:

WebClip enables users to “scissor” a portion of a Web page and then turn it into a stand-alone Dashboard widget

This basically allows you to create a ‘widget’ on your desktop that contains a portion of someone’s website.

But doesn’t this bypass most web site terms and basically avoid you viewing adverts or the rest of the content, affectively ‘deep-linking’ into portions of the content?

I think its cool, but am somewhat unsure about its legality … what do you think?

Posted at 16:32 by Dan to :: General :: 1 Comment »


BuildIT 2.0 Build 121 Released

Sunday, 8th July, 2007

A new build is available that fixes a couple of bugs and adds some new features:

  • Fixed bug so you can get version information from different language EXEs
  • Modified so it will run a DOS Command task tool process from given search paths if a path is not given, also removed validation that exe exists so this can be done
  • Added condition operators to specify how to compare the condition values (has equals, not equal, contains, not contain and is empty)
  • Added ability to have macros in command line log paths
  • Added current build file to log so its clearer what file the log is reporting on

Previous builds; Build 120:

  • Added ability to specify a ‘condition’ on whether a task runs or not. This is a simple case insensitive comparison of the value of a specific macro. The task only runs if the value specified is exactly the same as the actual macro value
  • Added a new system macro “SCRIPTSTART” which contains the string value of the date and time the script started in format “21 July 2007 13:21″ … this can be passed into a VBS CDate or a JS Date object constructor to create a script usable date
  • Fixed bug with wrong value being saved into macro when running a DOS Command Tool Task
  • Added ability to specify if the “Send Email” task should send as Plain Text or HTML, and also can specify the Importance of the email
  • Added some more script functions for new email facilites:
    ## Sends a plain or HTML email to an already connected SMTP server with given importance. Importance can be: 0=Low; 1=Normal; 2=High
    BOOL SendSMTPEmailExtra( String strTo, String strFrom, String strSubject, String strMessage, BOOL bSendAsHtml, short nImportance )

    ## Sends a plain or HTML email with attachment to an already connected SMTP server with given importance. Importance can be: 0=Low; 1=Normal; 2=High
    BOOL SendSMTPEmailExtraAttachment( String strTo, String strFrom, String strSubject, String strMessage, BOOL bSendAsHtml, short nImportance, String strAttachmentPath )

Build 119:

  • Added ability to save return value of DOS Command Tool Task into a given macro for later use
  • Modified command line version so it exits with appropriate exit code depending on if it finished successfully or not
  • Modified output of file management tasks when operating on files due to date specifics
  • Added some exception handling on scripts to try and catch failures due to security issues
  • Added some more script functions:
    ## Returns whether given task is enabled or not. If task name doesn't exist, it returns FALSE
    BOOL IsTaskNameEnabled( String strTaskName )

    ## Returns whether given task has executed yet or not (current task would return false)
    BOOL HasTaskNameRun( String strTaskName )

    ## Returns whether given task has succeeded to execute or not (disabled tasks or current task would return false)
    BOOL HasTaskNameSucceeded( String strTaskName )

    ## Returns whether given task has failed to execute or not (disabled tasks or current task would return false)
    BOOL HasTaskNameFailed( String strTaskName )

    ## Returns the given named version field of a file with version information
    String GetFileVersionString( String strFilePath, String strVersionStringName )

    ## Returns an MD5 hashed string from given string
    String ConvertToMD5( String strUnhashedIn )

    ## Returns an SHA256 hashed string from given string
    String ConvertToSHA256( String strUnhashedIn )

Build 118:

  • Fixed same CPU bug in MSDev/VB Tasks

Build 117:

  • Fixed major bug eating up all CPU when running a DOS command
  • Fixed issue with double-clicking tickbox would edit task instead of not
  • Fixed issue with file management dialogs would not size even though they had sizing grippers
  • Added ability to use DEL and INSERT keys on files list in Manage Files task
  • Fixed crash bug with incorrectly enabled edit/delete buttons when creating a Manage File tasks
  • Fixed bug where encoded characters in XML File parameter values where not converted. This would mean that apostrophes in task names and other places would load back in as '

Posted at 22:16 by Dan to :: BuildIT, General :: 4 Comments »


Javascript cool feature of the day: on Browser Ready

Sunday, 8th July, 2007

From:
http://www.fearthecowboy.com/2007/02/javascript-cool-feature-of-day-on.html

A nice little one-liner script you can use in your HMTL page to run some a function when the browser is done loading the HTML.

I have been using this cool little snippet for a while, something I factored down for my own purposes, and tucked away in my little bag of tricks. I didn’t realize that others’ were not using something similar to this, (I saw a spate of posts where people were using document.write)[SHUDDER!]. So, I’m going to post it, and let the world rejoice:

var _my_init = document.addEventListener ? document.addEventListener("DOMContentLoaded", function(){myinit();}, false): setInterval( function(){if (/loaded|complete/.test( document.readyState )){ clearInterval(_my_init);myinit(); } }, 10);

Works in IE, FireFox, and Safari. Probably others, as I think most browsers support one of the two methods for bootstrapping an init function.

To use it, just replace the two myinit() calls with whatever you want to run, and the replace the _my_init variables to something that’ll be unique to you. I’d comment on my crazy desire to overload the living tar out of the ternary operator in javascript, but that’d be redundant.

Posted at 22:00 by Dan to :: General :: No Comments »


Creating a Multi-Tiered Product

Wednesday, 27th June, 2007

I was reading an interesting post by Craig Fitzpatrick and felt I ought to put in my two-pennies-worth.

I totally agree with his statement:

It’s the experience level of the user. And that changes over time. Newbie users LOVE simple products because they’re not intimidating. They’re easy to get started.

But although I would like to agree with the following, I am not sure how you would actually get there:

Personally, I believe the best solution is to stop trying to design a single user experience that is exactly the same for the beginner user as for the advanced user. Once again, in trying to please everyone, you risk pleasing no-one

The following points are true in my experience:

  • Designing a ‘modal’ interface does not work. Take the Expanding Menus in Office (one of the most truly awful ideas in my opinion and gives nothing but some other new ‘widget’ to be confused over).
  • Everyone thinks they are above their personal capability with most people thinking they are intermediate to advanced when in reality they are beginners
  • No-one likes to think they are stupid or dumb and will not admit a lack of knowledge
  • Customers, given the choice, due to the above points would select a modal interface beyond their knowledge

So what have you gained, you have a technically more complex product that is not going to be used in its simple mode by the people you would expect to use it.

Selling different products that are geared to different users is the correct way to do it, beginner users would have a more graphical wizardy type interface, whereas advanced users would have standard menus loaded with commands.

But this comes with some pretty major problems:

  • How do you upgrade a customer from one product to another
  • How do you explain to an existing or potential customer that the feature they really need is in the next product up … which may be more expensive, or more complicated just for that one feature
  • What if a customer didnt think your product did something and didnt bother buying it based on that … but it did do it but in a different version than he is using
  • Will they actually download 3 different versions to see which one is for them … unless its an obvious product for an already saturated market like e-mail or blog readers then they might not know what features on the feature list they need

But in my experience the last two points are major ones; you will lose customers trying out your products as they dont realise that the feature they are looking for is in a different version. And they won’t download and try 3 different versions to decide which one is for them.

So what to do … there is no easy solution other than what you think your product and market can stand.

Posted at 17:30 by Dan to :: General :: No Comments »


Remember Flooz?

Tuesday, 19th June, 2007

Do you remember Flooz? It sold dollars that could be exchanged for gifts. Whoopi Goldberg stumped for it and Flooz survived the implosion of 2000. Then in 2001, one of its biggest customers, Cisco Systems, wanted to renegotiate a multimillion-dollar contract. Flooz survived that as well.

Then the company noticed that gift buying didn’t slow down after the Mother’s Day/Father’s Day/graduation season. The FBI informed Robert Levitan (CEO who also started iVillage.com) that the Russian mobsters were buying Flooz credit as a way to launder stolen credit card purchases. Flooz survived that, too. Then the large credit card companies decided to withhold payments, in part, says Levitan, because Flooz was able to garner a higher percentage of each transaction than they were.

The company was forced to file for Chapter 7 bankruptcy protection. It had 325,000 creditors, the largest number of creditors ever. The court allowed it to notify creditors via e-mail, a first. Levitan expected to face a hostile audience of several angry consumers at the first court hearing.

“No one showed up,” he said. The company called it quits on Sept. 10. On his first day of unemployment in years, Levitan decided to go to his Manhattan gym, where he saw the disaster of Sept. 11, 2001, unfold.

Posted at 13:54 by Dan to :: General :: No Comments »


BuildIT 2.0 Build 116 Released

Wednesday, 22nd November, 2006

A new build is available that fixes a couple of bugs:

  • Fixed a problem with the FTP Task failing with an “incorrect parameter” message after IE7 was installed
  • Fixed a crash bug when running a file that runs and external BuildIT Task

Posted at 12:54 by Dan to :: BuildIT, General :: No Comments »


March to War

Wednesday, 22nd November, 2006

Bush’s March to War

Posted at 12:39 by Dan to :: General :: No Comments »


BuildIT 2.0 Build 115 Released

Sunday, 23rd April, 2006

A new build is available that adds a couple of minor features and fixes:

  • Added ability to ‘copy’ an item in the File Management Task list
  • Added nice new QHTM List Box control for Insert Items dialog and made it sizeable
    Insert Items dialog is now sizeable and has more description
  • Added graphics to most dialogs
    Graphics have been added to most dialogs and pages to make them a little less daunting
  • Improved/Changed task graphics and icons
  • Fixed some nasty resource leaks and excessive GDI and memory usage when many progress bars appear within the output window
  • Fixed output log not scrolling to the end when new output is added

Don’t forget, please let me know if something isn’t working or requires a change or addition to make BuildIT more useful … I love to hear feedback and it helps focus things.

Posted at 23:42 by Dan to :: BuildIT, General :: 16 Comments »

archives

  • December 2007
  • July 2007
  • June 2007
  • November 2006
  • April 2006
  • November 2005
  • October 2005
  • September 2005
  • July 2004
  • June 2004
  • November 2003
  • October 2003
  • September 2003
  • categories

  • BuildIT (21)
  • General (47)
  • MailViewIT (1)
  • blogroll

  • meta

  • Register
  • Log in
  • WordPress


  • RSS 0.92
  • RSS 2.0