Demotivating

I hate it when my text editor crashes. I really don’t have the motivation to waste my time redoing what I’ve already done. This is even more annoying if it truncates the file while saving, but crashes before writing the new one.

New search for AjaxLife will have to wait until I can be bothered to re-code it. Again.

The code now looks something like this:

AjaxLife.NewSearch = function() {

}();

*sigh*

5 Responses to “Demotivating”


  • TextMate (Mac only) has a setting to perform atomic saves, so files would never get truncated. However, that’s not really the problem. SVN/CVS is your friend, and backups even more so. Also obviously a stable texteditor :-)

  • What do you use to write your code in?

  • I usually use Coda for JavaScript and such (which is what this was). I also usually save things directly on by testing server – which has the somewhat unfortunate side-effect of evading the hourly backups. And also a higher chance of corruption en route. However, I’m too lazy to change my ways, given the effort involved in doing so is greater than that involved in rewriting things on the rare occasion that this happens.

    And I do keep these things on an svn repository
    - but this file was too new to be in it. I don’t tend to commit things to it until I have a decent block of working functionality.

  • Yeah I’m pretty much the same with SVN.

    I was just being nosey anywho :P

    I just Visual Studio 2005 had better support for javascript. Even with the AJAX extensions its poor at best. Apparently though VS 2008 is meant to make progress in that area.

    Lol, I babling to myself.

    Anyway,
    ta,

    Nik.

  • How about using git-svn ? You can do atomic commits to your local git repo, and then push the changes as a single commit to svn… great for working copies.

Leave a Reply