Blog posts page 24 of 44

LINQ to SQL details, issues and patterns

LINQ to SQL (formerly called DLINQ) is a simple object-relational mapper (ORM) scheduled for .NET Framework 3.5/Visual Studio 2007 (Orcas).

On projects with new data I’m keen on keeping the tables and classes as similar as possible and so the limited functionality of LINQ to SQL really appeals to me.

More free gems for the Mac

It must be that time again already… here we go!

Everyone needs a calendar to hand. In Windows using the time in system bar seems to be the quickest option although it’s obviously not meant for that and one false click sends you to the future.

ActiveRecord, the ugly design pattern

I first encountered the Gang of Four Design Patterns book back in 2001 when a friend lent me a copy. I didn’t immediately get it, most likely because my object oriented experience up to that point consisted primarily of small Delphi applications.

In the last few years I’ve been working on much larger systems and have come to appreciate design patterns enough to get my own copy and also to invest in Martin Fowler’s excellent Patterns of Enterprise Architecture which provides higher-level patterns aimed at large data-driven applications.

Hiding secrets behind the law – DRM, AACS and the 16-byte key

It surprises and annoys me when I hear of individuals or companies trying to use the law to hide secrets. Surprise at the sheer stupidity and annoyance that tax payers money is used in the process.

The latest secret under suppression is a short 16-byte key which locks away the content on HD-DVD discs that only licensed software and hardware can play it back and prevent you from making copies.

Taking on the role of a Guitar Hero

My friends and I have been very much enjoying Guitar Hero II on the Xbox 360 released earlier this month.

Despite reservations we’ve found ourselves jumping around performing a variety of silly stances, head bops and special moves whilst we attempt to strum ‘n chord in time to the tricky yet rewarding tracks available. Once we got a second guitar and hit the co-operative (one bass, one lead) and VS modes (turns each or both together) then out-performing the other player off-screen as well as on became an integral part of the game.

Windows font evolution

Vista and Office 2007 are interesting as they provide major user interface work that also includes new sets of fonts. I thought it would be interesting to show the evolution of the various styles.

Times New Roman has been the default typeface in Microsoft Word since version 1 and was originally designed for printing newspapers on high speed printing machines whilst still retaining legibility.

My windows 64-bit experiences

Windows XP 64-bit has been on the market for some time and both Intel and AMD’s current processors are 64-bit. Even cheap office Dell boxes are coming equipped with the 64-bit Core 2 Duo. (This is the x64/x86–64/EM64T/AMD64 architecture which comprises of 64-bit extensions on top of the existing x86 32-bit architecture and not to be confused with Intel’s IA64 Itanium stuff or DEC’s Alpha 64)

You can run 32-bit Windows XP on these processors but if you want to use more than 2–3GB of RAM then you’ll need to switch to Windows XP 64-bit edition (or Vista 64-bit if you’re really brave).