/etc (RSS)

All the other stuff.

Test Post is here...

Just playing... just testing!

I hate Macs...

I hate Macs. I have always hated Macs. I hate people who use Macs. I even hate people who don't use Macs but sometimes wish they did. Macs are glorified Fisher-Price activity centres for adults; computers for scaredy cats too nervous to learn how proper computers work; computers for people who earnestly believe in feng shui.

PCs are the ramshackle computers of the people. You can build your own from scratch, then customise it into oblivion. Sometimes you have to slap it to make it work properly, just like the Tardis (Doctor Who, incidentally, would definitely use a PC). PCs have charm; Macs ooze pretension. When I sit down to use a Mac, the first thing I think is, "I hate Macs", and then I think, "Why has this rubbish aspirational ornament only got one mouse button?" Losing that second mouse button feels like losing a limb. If the ads were really honest, Webb would be standing there with one arm, struggling to open a packet of peanuts while Mitchell effortlessly tore his apart with both hands. But then, if the ads were really honest, Webb would be dressed in unbelievably po-faced avant-garde clothing with a gigantic glowing apple on his back. And instead of conducting a proper conversation, he would be repeatedly congratulating himself for looking so cool, and banging on about how he was going to use his new laptop to write a novel, without ever getting round to doing it, like a mediocre idiot.

I found this articleon Gurdian and had a good laugh! :)
I hate Macs.

My favorite features of Vista #1

If you click on the time on the tray you will get the following window. Here you can set different clocks and you can click through the calendar as well. Very neat! Once you added more clocks try to hover over the date in the tray.  

Blog it...

My attempt to design a blog header

My first attemp to design something good looking!

WPF/E is here

with Web Designer 1.0 and new CTPs

For more info visit the MSDN "WPF/E" (codename) Dev Center.

WPF/E stands for Windows Presentation Foundation Everywhere and will allow you to distribute multiplatform WPF content on MAc, Linux and Windows. I am sure that some will code this as a Flash killer tehcnology, but I like to think that this is more of an option to let the WPF content creator to present hsi/her work on another platform as well. This is needed to make this technology to be viable on the Web. I think this is also an answer to the Web Video technology as Windows Media Player is too heavy for this kind of stuff. I am lookign forward to try this on my MAC and Windows machine at home.

What kind of business Sony is?

Well it seems that Sony is a business mainly providing financial services.All divisions considered, 98% percent of their profit is coming from Sony's japanese consumer bank, so they are a bank also happen to be making playstations. This is funny...

 

More peanut butter, this time at Sony - from arstechnica.com

Reenabling Fast-User Switching and the Welcome Screen on Windows XP

I had an XP machine in a domain and I needed to test something with Fast-User Switching and the Welcome Screen. The steps below are the fruit of an hour worth of swearing and sweating :)

  • First is to remove the machine from the domain. It has to be in a Workgroup.
  • Next go to the Control Panel and Administrative Services, select Services and Enable Fast User Switching Service.
  • The again Control Panel and User Accounts and select Change the way users log on or off.
  • You may receive a message about Offline Files and that it needs to be turned off. Turn it off.
  • You check both the Welcome Screen and the Fast User Switching checkboxes.

Nothing seems to be difficult, I spent 46 minutes with second step (figuring out that I need to start the service) and 4 minutes with the other steps.

Ms. Dewey

A cool site put together to promote Windows Live Searc. Ms. Dewey will add her comments as you search. Try HALO or asking for her phone number.

 

Ms. Dewey

Microsoft acquires Sysinternals

Wow, this is interesting news. I use regmon and filemon and process explorer a lot. They are awesome tools. It will be intersting to see how they will integrating the sysinternals tools into the OS.

The 3 key windows shutdown trick

As if they are reading my mind over lifehacker.com. I really wanted some way to quickly put my computer to sleep and were looking for a small utility to do this for me. Another small icon sitting on my already overcrowded tray, but it turns out there is a simpler way to put your computer to sleep. The winner tip of "your best windows tip" contest is Mr. Fusion's three-key shutdown tip. What you need to do is for quickly stopping your computer is to press:

Windows key, U , U again.

I quickly figured out that I can also do standby by pressing:

Windows key, U, S.

and for Restart:

Windows key, U, R.

Lifehacker rocks!!!

Unusual software bugs

Have you ever heard about Heisenbug, Mandelbug or Schroedinbug. I must confess I never did but it is always good to learn something new everyday:

A Schroedinbug is a bug that manifests itself apparently only after the software is used in an unusual way or seemingly at the point in time that a programmer reading the source code notices that the program should never have worked in the first place, at which point the program stops working entirely until the mysteriously now non-functioning code is repaired.

More unusual software bugs on wikipedia.

WinHec 2006 keynote

It is happening now! Watch it! :)

Wish I have a taskman like this

What you see here is the task manager of a computer equipped with 64 CPUs (execution units). I think it is really cool, wish I would have one at home :)


And this is the actual hardware: Unisys ES7000/600

WMP11 Beta for XP

Available now! Download it from here. And some review as well "Ten reasons to love WMP11". They seem to like it... I am installing it now!

And they are right. WMP11 is really, really, totally cool! I thought I just double the risk and installed IE7 Beta2 as well, oh what is the worse can happen other than loosing all my data and reinstall my machine! And both of the applications are working like a charm. Actually, the Community Server editor is not working anymore, possibly because of IE7. But still happy...

I am a Mac and I am a PC

I found the TV ads from Apple really funny. It almost made me switch :) No, I think this is even funnier.

Original @ Channel9

Stupid Error : RunTime Check Failure #0 - The value of ESP

I just spent the last hour with this and I have no clue how would I found out this alone. I am trying to figure out the maximum keyframe space of a wmv file and for this I am using the Windows Media Format SDK and the wmvprop sample. At some point of the execution I would make a call for each video stream to find out this property by calling:

hr = pVideoMediaProps->GetMaxKeyFrameSpacing(&pllKeyFrameTime);

When I was stepping through my code and arrived to the call above I received the following error:

Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call.  This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.

I must tell you this error message is dead scary, because I am not a COM guru, nor a C++ one. So I spent an hour trying to figure it out and changed all the calling convetions in my call, but no joy! Then I called for help. Another 20 minutes 2 people staring at the screen then my collegue Kalman suggested to comment out my code and see if that works. It worked! Then we know that I am crappy coder :) Another session of blank staring for 2 mins then I saw this piece: like couple of lines earlier:

hr = pConfig->QueryInterface(IID_IWMStreamConfig, (void **) &pVideoMediaProps);

and the definition of my variable like 30 lines earlier:

IWMVideoMediaProps *pVideoMediaProps = NULL;

so that tells me basically that I screwed this up by querying for one interface and supplying another interface to QueryInterface. So tho correct the error it should be queried like this:

hr = pConfig->QueryInterface(IID_IWMVideoMediaProps, (void **) &pVideoMediaProps);

Honestly, I do not understand what happens under the hood - I really would like too, so someone smart please explain it to me - and why this error message shown, but I thought that I would try to save some time to other people with this. I really hope that this will be handy for someone sometimes :)

Another interesting twist was that after looking at the documentation I learned that:  

Remarks

This method retrieves the value set by SetMaxKeyFrameSpacing, or the default value for the key frame spacing, during the encoding process only. If called for a file that is open in the reader, the method always returns zero.

For more information, see the Remarks for SetMaxKeyFrameSpacing.

And I had a reader open and I received 0 as a result when I ignored this error! The moral of the story? COM rulez! Pay respect to it and documentation is your friend!

Consolas Font Pack for Microsoft Visual Studio 2005

Is now available for download from here.

Brief Description

Optimized for Microsoft ClearType
The Microsoft Consolas Font Family is a set of highly legible fonts designed for ClearType. It is intended for use in programming environments and other circumstances where a monospaced font is specified. This installation package will set the default font for Visual Studio to Consolas.

Boot Camp: Apple Bobs for Suckers

I am thinking nowadays of buying a new computer and one of the very likely candidate would be an Apple iMac Core Duo. The beta release of BootCamp just really made that peace of hardware more desirable. I woudl run my Windows XP and Vista on my sexy Apple hardware and at the same time I can dip into OSX and learn more about this other platform. But somehow something deep inside me just does not want to make this step yet, so because of this I read everything about BootCamp and Apple and OSX. So I read the article  Boot Camp: Apple Bobs for Suckers at PCmag.com and I enjoyed it. It kind of clears up a lots of things and false statements like apple now makes the fastest windows machine on the planet. And it is also funny.

You'll start spending more and more time in OS X, until you—too—become one of the pod people. It's sad to see so many of my compatriots being turned into lemmings. Perhaps they'll wake up and smell the Apple pie in the sky—and realize they've been taken for a ride. But I doubt it. Because I'm a firm believer that once you start using a Mac, your IQ begins to creep downwards, inversely proportional to an increase in your AAF (Apple Acceptance Factor).

In fact, I'm blaming the AAF for a wide-range of habits espoused by supposedly "creative people." I'll bet it's responsible for tattoos, piercings, and the wide-spread adoption of the phrase "no worries." In fact, I believe that most of today's societal ills can be either indirectly or directly attributed to Apple. Widespread hearing loss? Blame the iPod. Carpal tunnel? Blame the Newton. Upswing in hernias? That Infinite Loop idiot who decided to put a handle on the first iMac—and started the whole luggable trend. No, Boot Camp is just the latest diabolical piece of Steve Jobs's grand plan to dumb us down and mangle our bodies.

This is still a hard decision I do nto want to part Windows, because what puts the bread on my table. I guess I will just end up buying a nice Dell and a nice Mac! Hope my miss will acept this  ;-).

Hack Attack: Simple version control

Very simple source control method utilizing zip and .bat file. This is what I need.

"We’ve all been there: You’re working on a project with several important documents that change daily. Somebody makes some drastic and terrible changes (it certainly wasn’t you), saved them, and now you can’t get the files back to their previous state.

It’s easy to fill our hard drives with more movies and music than we know what to do with, yet we can be so careless when it comes to the files that we invest hours of our lives working on. When your important docs get all messed up, where are your old versions?

It’s about time we put your hard drive space to good use for the documents you’re changing every single day. Today I’ve got a Windows batch script that saves a copy of your working documents into dated folders that give you easy access to previous versions of your most important files."

Read the article @ lifehacker.com

Mario Live!

Check this video. Live on stage.. .the first level of Mario! Pretty Cool!