Fresh Click Media

Web and Software Development

September 16, 2011
by admin
0 comments

Microsoft IE lead Dean Hachamovitch:

Running Metro style IE plug-in free improves battery life as well as security, reliability, and privacy for consumers. Plug-ins were important early on in the web’s history. But the web has come a long way since then with HTML5. Providing compatibility with legacy plug-in technologies would detract from, rather than improve, the consumer experience of browsing in the Metro style UI.

No Flash then.

 

August 11, 2011
by admin
0 comments

WD TV Live Firmware update doesn’t fix thumbnail issue

In my last post, I wrote about how switching to a network mapped drive (pointing to a QNAP NAS) had revealed a thumbnail issue on my WD TV Live HD Media Player.

Firmware update 1.06.15 was released around the time I wrote the post. I checked on the update list; no thumbnail issue was mentioned. Despite there being no mention of it, I was still hopeful of a fix.

Network share thumbnails are still broken in the latest firmware update.

August 9, 2011
by admin
0 comments

Switching to NAS with my WDTV Live

With a mounting DVD collection, it was inevitable that I switched over to a media player to handle my multimedia. After a bit of research, and finding good reviews, I settled on Western Digital’s WD TV Live HD. Whilst its UI may lack some finesse of the Apple TV, it’s excellent file support easily betters that of Apple’s device, and its small footprint gave it a very low profile alongside my other media equipment.

I was very impressed with the playback quality from a USB-attached Samsung 1.5 external drive, and life was good. I improved the experience by trawling the internet for suitable cover art to accompany the media files. All I had to do was find a JPG image, ensure it was less than 70k in size, name it the same as the media file, and hey presto, it would be shown in the UI. This made it a lot easier for my four year old son to identify the film he’d like to watch. What’s more, I could even organise TV episodes into folders, and assign an image to that folder. UI heaven.

So, fast forward about a year to the present day. My collection of media files had swollen to many gigabytes, and despite the reliability of hard drives, I had a niggling feeling that if the drive failed, I’d be left high and dry. All those hours spent converting the DVDs and finding those JPGs would have been wasted.  I needed a NAS.

Continue Reading →

March 24, 2011
by shane
1 Comment

Aiming high

After solidly playing Doodle Jump for days and struggling to get anywhere near my target score of 100000, I took a break for a couple of weeks, returned, and on my first go, broke the barrier.20110324-091958.jpg
I think I’ll remind myself that taking a break is often the best way of getting something done.

February 28, 2011
by shane
0 comments

Testing .NET Private Methods

If you’ve developed a .NET application, chances are you’ve used private methods in your design. Their inclusion brings about several advantages, but unit testing them isn’t immediately obvious. In fact, whether to unit test private methods at all is frequently debated, with opponents citing that they shouldn’t be considered because only a public interface is used in a real-world scenario.

I feel that private methods should be tested, because a core idea of unit testing is to test small units of functional code, which by definition, includes private methods.

Without question, private methods are trickier to unit test than public methods; at first glance, it isn’t obvious at all. Unit testing code is client code after all, and by definition, private methods aren’t visible. However, there are ways, and I present three of them here.

  1. Roll your own private method call using reflection
  2. Use the .NET InternalsVisibleTo attribute
  3. Use the test team API’s PrivateObject class