QText 2.00

New QText is finally done.

For those who are not familiar with it, it is small utility that sits in your tray, comes when called, allows you to write some notes, and goes away. All that with auto save feature that ensures you don’t lose one bit.

More interesting changes for 2.00 include:

  • Changed menu appearance.
  • Added Ctrl+1, Ctrl+2, …, Ctrl+0 shortcuts.
  • All code is in one .exe.
  • Support for RTF.
  • Auto update in case of direct file system changes.
  • Support for high DPI.
  • Full support for 64-bit systems.

You can download it here.

IE8

Internet Explorer 8 is out. I have mixed feelings about it. While I do like new version, I will not be able to use it for now. Microsoft decided that Windows 7 users need to wait.

If you are not irresponsible enough to use Windows 7 beta, you can download your copy here. Windows XP and above is supported.

The History of Microsoft

Illustration

For those who are interested in history of Microsoft, Channel 9 has some videos. At this moment they cover years 1975-1980, but they do update it weekly.

It is few minutes each so you will not waste much time. :)

SQL Server Recovery Models

Illustration

There are three recovery models in SQL Server 2008 (and previous ones). Each of them has its purpose. Before we describe models, lets shortly describe how SQL Server deals with incoming data:

When data change is about to occur, data is first written to transaction log. Once transaction is completed, all changes are written to data file (not necessary on a hard drive at this point) and that transaction is marked as committed. At one point in time or another, data is really written to disk and transaction is then marked as “really done”.

Full

Until you perform backup, all that transaction log stuff is kept around. Only once you make a backup, transaction log is overwritten. This gives you possibility of data recovery at any time (in-between any transaction). Cost is size of transaction log (space is only reclaimed after backup) and need to backup transaction log in order to be able to recover from disaster.

Simple

Once data is really written to hard drive, transaction log is freed to be reused. This keeps transaction log quite small (compared to full recovery model). Bad thing is that recovery is possible only at backup times (not at any point in time) and there is no incremental backup. This can bite you in the ass if you have huge database.

Bulk-logged

As always, there is need for compromise. This one gives you small log of simple recovery model and incremental backups of full recovery model. However, you get semi-large transaction log and you will not be able to recovery at any point in time.

Which one?

I tend to use simple recovery model. It “steels” just a small amount of your disk space for transaction log and gives perfectly good solution for humble developer.

But, if you have big database, full recovery will ease burden on your server.

You make the choice.