Category: English

English articles

Facebook Connect за моя блог

Facebook Connect за моя блог

Днес ми светна къде и какво миналата седмица ме е обърквало, че да не мога да си настроя Facebook Connect плъгина! И като ми светна, всичко взе че тръгна от раз. Какво точно беше ще пиша на английски, в следващ пост.

Сега накратко искам да помоля всички коментиращи, освен стандартните “common sense” правила, да спазват още едно – ако ще коментират, да го правят през Facebook акаунта си, ако имат такъв. Само 2 клика е, спестява писане по поленцата (ако вече ги нямате), а е много удобно.

Всички останали, които имат акаунт в моя блог, може да си “вържат” акаунта с техния Facebook акаунт, за да им е още по-удобно при коментиране.

Предварително ви благодаря!

Any-Service Login Now Available

Any-Service Login Now Available


От днес този блог поддържа вход (оторизация) през най-популярните услуги. Простичко и накратко това ще рече, че може да използвате регистрацията си в Windows Live, Фейсбук, Яху, MyOpenID или Гугъл, за да влезете и тук и да имате възможност да оставяте неанонимни коментари.

Това по никакъв начин не означава, че аз или който и да е ще има достъп до Вашата регистрация в съответната услуга, която сте използвали. Просто тези услуги предоставят екстрата допълнително да “доказват” и пред този блог, че това сте вие. По този начин отпада необходимостта от допълнителна регистрация и тук и така само благодарение на една парола и сметка вие може да не сте повече анонимен коментатор.

Разбира се, използването на това допълнение е основно за ваше (и донякъде – за мое) удобство. Засега оставям възможни и анонимните коментари. Но ще ми е много по-приятно, ако коментирате не-анонимно, за да имам и аз по-добра обратна връзка към вас. Засега не смятам (макар да ми се струва привлекателно) да забранявам анонимните коментатори.

Повече информация има в английския текст, но в общи линии, това е най-важното.

Starting now, this blog will try its best to support RPX Logins. In short: RPX Login is plugin, provided by RPXNow.com, which allows seamless login with your favorite authentication provider.

Whoops! Sorry for the tech talk in the very beginning. I hope I did not lose you forever 🙂 .

In short, for non-techies: the blog will allow you to authenticate with your favorite Windows Live, Facebook, Yahoo, MyOpenID or Google account. This does not mean that you will be asked to enter your external password in the blog! This means that using sophisticated methods you will be redirected internally to your favorite service provider (see above), and there you will say “please authenticate me for doncho.net also”.

What are the benefits, you’ll ask? The benefits are a lot: you can easily become registered in doncho.net, follow up on your own comments (or so I hope), without remembering another password pair especially for doncho.net. I’d like to stress that by no mean I or anyone else will be able to breach in your accounts – the security of this process is guaranteed by your favorite service provider.

Another benefit (this time – for me!) is that I will have a bit different login page, which I hope will reduce the false registrations/login to this site. And maybe, at some points, I will disable anonymous comments, who knows? Since anyone can easily authenticate via tons of other providers, why I should allow commenting anonymously? Hmm, you know, that seems like very nice idea right now 🙂 . Alas, I will leave the anonymous comments for a while, let’s see what the future will show.

For the other blog owners: I will keep you posted on how my relationship with RPXNow.Com goes. So far all seemed seamless and fast and I hope it will stay like that for the future.

I will be really thankful, if you authenticate yourself before posting. That will help me check if all seems fine. I tried with my login, it worked (even it worked to pair my OpenID to my admin account, which is great).

Let’s see!

Programmer’s Personality Test at Doolwind’s Game Coding Site

Programmer’s Personality Test at Doolwind’s Game Coding Site

Today I did the Programmer’s Personality Test at Doolwind’s Game Coding Site. It’s quick (and dirty 🙂 ), but it quite correctly evaluated one of my closest friend’s personality, and (I think) mine too:

Bar Graph

Your programmer personality type is:
DHTB

You’re a Doer.
You are very quick at getting tasks done. You believe the outcome is the most important part of a task and the faster you can reach that outcome the better. After all, time is money.
You like coding at a High level.
The world is made up of objects and components, you should create your programs in the same way.
You work best in a Team.
A good group is better than the sum of it’s parts. The only thing better than a genius programmer is a cohesive group of genius programmers.
You are a liBeral programmer.
Programming is a complex task and you should use white space and comments as freely as possible to help simplify the task. We’re not writing on paper anymore so we can take up as much room as we need.

It was fun and quick.

So, what’re your Developer’s Personality Results 🙂 ?

Visual Studio Debug Error: Unable to Start Debugging

Visual Studio Debug Error: Unable to Start Debugging

These days I was striking with very annoying issue. Each time when I try to start debugging any Windows solution, my Visual Studio 2008 Professional was giving me the annoying error “Error while trying to run project: Unable to start debugging. The system cannot find the file specified”:

Visual Studio Debugging Error

To my impression, this started happening after installing and reviewing (and then uninstalling) one of the internal Technical Previews of Visual Studio 2010 (and .NET framework 4.0). After that, even reinstalling the frameword and Visual Studio 2008 did not help – the error was (and still is) showing each time after I do Debug. The application was running fine when started with Run.

Web searches showed nothing.

I was almost ready to give up (and reinstall completely my Windows 7 RC!) when a good friend of mine (and brilliant developer himself) advised me to try researching the issue with Process Monitor.

The Process Monitor showed me that VS is trying to create a lot of stuff in places, where it should not (like Program files, for example). Weird, because it’s with last current SP, it should respect that. Obviously something screwed up the logic and now it was doing the wrong things again.

At that point I “remembered” that maybe “Run as administrator” might help. It was helping a lot before releasing of the SP, which made VS compatible with Vista.

I tried “Run as administrator” and… suddenly all went fine. I was able to debug.

Since this workaround resolves my current problem (and I’m almost sure the whole thing is because of screw up from beta version), I will not research more. I wrote this note in case someone strikes with similar issue and (the same as me) forgets to try the “Run as administrator” magic 🙂 .

Windows 7 SQM Issue During Visual Studio 2008 Setup

Windows 7 SQM Issue During Visual Studio 2008 Setup

It came time for another Windows 7 posting. It was very close to be a negative posting, sharing some Installer 5 pains. However, with the help of Windows 7 Core teams, that got resolved, so I’d like to share with you my experience and solution, since it could be of someone else’s help.

It all started when I tried to install Visual Studio 2008 Professional. After Setup starts and passes the privilege elevation prompt, it did some verification, and during the parse of Installer data (as it seems to me), it came with this very nasty error message: “A problem has been encountered while leading the setup components. Cancelling setup".

clip_image002

Initially I thought this comes from my setup files, which somehow got corrupted. I retried from our products’ web (where the stuff is verified frequently), but the result was the same. Then I tried my own Visual Studio 2008 Professional installation DVD, and the result was the same. Then I tried evaluations of Visual Studio (C# Express), and the result was the same.

I almost given up. I have already found a similar issue in the Internet, without any encouraging advice.

My last resort was our internal resources. I sent a mail to a principal product manager, who already helped a couple of times, then I crossed my fingers and waited. I knew these guys are very busy, so getting an answer from them was only on their own good will and helpfulness.

Fortunately for me, Steve was extremely helpful again and forwarded my question to the right person. Just few hours later I had the answer in my inbox:

Please try renaming the following registry key:
HKLM\Software\Microsoft\SQMClient\Windows\DisabledSessions

Thanks, Peres! Once I did that, the issue disappeared.

From the registry I’m getting the impression this is an issue with the “Software Quality Management” module. But you can never be sure, of course. That’s why it’s beta software, ain’t it? I’m having the feeling that the error is not connected with Visual Studio setup, but may also be seen with other products’ setup. Also, I heard that in x64 it might not be resolved that easy.

Finally I’d like to share two very interesting links, which I found these days:

Happy hacking!

Windows 7 Goodness

Windows 7 Goodness

Too many posts these days about Win 7. But I’m very excited about it. I’m talking to all friends around and buzzing them about getting it installed 🙂 . Maybe the ones I speak to are already tired and sick of me 🙂 .

I’d like to share here one thing, which IMHO is one of the best usability in the new OS.

When you download (in IE) or copy (in Windows Explorer) something, you know the standard progress bars in the window, where the copy goes on. So far, if you want to see the progress, you’d have to switch to the window, or leave the window open. And as a person, who always wants to see how it’s going, I was doing that very frequently.

Not in Windows 7. As I already said, Windows 7 integrates the progress bar(s) directly in the task bar. Here’s how it looks (the red border):

Two Windows7 Things 1

You can clearly see the greenish part, which shows that I’m copying something large in Explorer and the progress is about 1/4 right now.

When I discovered that feature, I was amazed. So simple and so useful. I’ve never seen that so far in other GUIs (maybe they do have it, I just have not seen it yet).

Another thing, which I also like, is the “stack” indication (the yellowish border). This was a feature widely discussed in the forums, I’m just mentioning it here, because I (too) like it very much.

The bad thing with the progress indication is that it takes additional programming in order to get that working. It’s implemented in Windows 7 in-the-the box applications, but if the application does not support it, its progress (whatever it’s doing) will have to be monitored the old way.

However, if the application supports the standard Shell for copying/moving, it will work “the Windows 7 way”.

Windows 7 beta on Toshiba Qosmio F20

Windows 7 beta on Toshiba Qosmio F20

Today I finally obtained Windows 7 32 bit Beta bootable ISO (build 7000). Last night I tried to install the non-bootable bits, but it seems something went wrong when we were downloading them from the internal mirror, so I had to wait for today. Today I grabbed the ISO from a colleague and burned it. I was ready for the evening.

My plan was to install tonight  Windows 7 beta 32 bits on my old Toshiba Qosmio F20 notebook. We used this notebook in Denmark, it was Vessi’s primary work machine before she got her MacBook, and it also was my primary gaming machine after that 🙂 . Since the notebook is quite old-fashion, I wanted to see how the process would go.

I decided to go on clean install, wiping out the old (and very crap-full) setup.

The basic install went trouble-free and after 25 minutes I had working machine with Windows 7. On first look, I was missing these drivers:

  • Mass Storage Controller (WTF?)
  • Audio
  • Video
  • Network (Wireless). My wired network was correctly recognized and setup

I started looking for drivers. Simple search led me to the page at Drivers Collection, containing Toshiba Qosmio F20 Windows XP drivers.

First, of course, I needed the wireless driver. I had to use USB stick to transfer it (phew, no worries with the drivers for the stick, though). The wireless driver, of course, did not work “directly”. When I ran it, the setup asked for authorization, and after that just ended 🙂 . Hmmm, let’s try the compatibility wizard? The wizard asked me a couple of questions, I told him that it worked before on Windows XP, Next, Next and then it started and completed successfully. The driver, however, did not fire immediately, so I had to restart. After the restart, of course, it did not work as well :).

I saw that there’s another version of this driver, this time for Intel-based wireless adapters. I downloaded it, and retried the procedure. However, this time there was no setup, just selected “Update driver”, pointed to it and then it started doing “stuff” for about 5+ minutes. Then it timed out.

I retried the process. Same thing. After that I noticed there’s an installation file there (IMDinst) and decided to start it. The first run complained that it’s not supported on this operating system. But I was very pushy and selected after that “Use recommended settings”. Then it started and… timed out after the same amount of time as before, but did not show any error. The last resort was rebooting and retrying.

Suddenly, I noticed that… my wireless switch (the hardware one), is set to… OFF! Damn! DAMN! How stupid is that?

Turned on the wireless switch, and retried. The same thing!

Last resort: restart and retry! And nothing.

My next step was to find the “Intel ® PRO/Wireless network driver” on the net. That hit on the Intel site, which ended up to a 188MB (!!) zip file, containing all drivers (or so they claimed). I just had to download the whole thing (impressive 1221KB/sec speed, thanks Megalan!), and then move it with the same USB stick I was using before. Now I had the VISTA version of the driver as well, so I was a bit more hopeful.

This time I decided to restart and run the package on a clean system. Then I tried the standard setup. And it failed. Now I started to get a bit angry, because I was close to my very last resort: manual install.

This huge, 200MB structure, had 4 set of drivers: 32 bit, 64 bit for both Vista and XP. Since I had 32 bit OS, my choice was only for these. I tried with VISTA driver first and I got a failure! Almost desperate, I tried the XP driver and… oh miracle! It worked.

So, in short, if you want to install the Wireless drivers for this Toshiba Quosmio F20:

  1. Download the drivers from Intel, nothing else.
  2. Unpack the driver, you have to see a structure like X:\FV 12.2.0.0_Gen_SW_155293\XP\x32. There are the drivers.
  3. Manually update the driver. In Device Manager, right click the unknown network driver, and manually point to this directory. Otherwise it will chose the wrong driver and it won’t work.
  4. And, FFS, turn off your wireless adapter before that!

Now, since my wireless card was already working, it was time for the rest.

The first thing you should know after installing a new Windows setup is: Windows Update! Windows Update helps both for fixing critical security glitches and also it installs the latest drivers’ versions, even some which are not included on the distribution image.

However, before running Windows Update, I decided to install AVG Antivirus. This is great antivirus for personal use, since it’s free for home user and it provides excellent protection and features in the free package. The download and installation took me only like 2 minutes. No restart was necessary, so I was ready to continue with Windows Update.

Windows update showed 4 important updates, all of them were drivers, which I needed in order to get all yellow exclamation marks away from my Device Manager:

  • TV Tuner Driver
  • Video controller driver
  • Audio controller driver
  • (Optional) LAN controller driver (not the wireless), which was already working but obviously there was update available

All 4 drivers were successfully installed and after the restart I got it all working and in excellent shape.

Windows 7 boots up in about 25 seconds (from right after BIOS until the login prompt). This is pretty quick, but of course the system is not yet loaded with stuff. We’ll see how it will go after a couple of months usage.

Then I saw that I still have one yellow (!) in the Device manager. This was Mass Storage Device, most probably my card reader. I downloaded the CardBus driver from DriversCollection and tried it. It worked like a charm, but again with manual (Update Driver from Device Manager) installation, I even did not try the standard setup.

My conclusion is that Windows 7 Setup was the best Windows setup I’ve ever experienced in years. Yes, it had its challenges, but none of them were unavoidable. And considering this is the most modern Windows operating system on an old hardware, and considering that all hardware at the end is working as it should, I account this as a definitive success.

I’d encourage every one, who is computer geek, to give Windows 7 beta a try. It will be available soon on the main Windows 7 site. I do not remember when was the official release date for it, but it should be really soon.

Happy hacking!

Windows Home Server Backup Issues

Windows Home Server Backup Issues

It’s been quite a while since I decided to buy and setup a Windows Home Server box. So far I was using one of my machines (the one, which my son was using) to hold all my files, but I needed more centralized, permanently online (and quiet) box, on which I could relay.

Windows Home Server (WHS) out of the box functionality was more than satisfactory, so I decided to invest in this. The investment itself is not significant, considering the fact that you always buy WHS on OEM price.

WHS comes with very handy automated backup feature, which is extremely easy to configure, if your other home machines have the Connector software already installed (the Connector software is free application, which is part of WHS). Only few clicks and you get any home machine automatically backed up on your home server.

However (and here the big “however” starts 🙂 ), for some strange reason the Connector software did not want to backup Vesi’s machine. Each backup run ended very quickly with this (I agree, extremely helpful as usual 🙂 ) message:

Received abort message from VESIBOOK with reason 7.

Creepy!

And then, to make the things even worse:

Backup set 0 on SERVER failed: System.ArgumentException: Expected BeginBackupSet response, received BeginBackupSetFailed response.
   at Microsoft.HomeServer.Backup.Protocol.BackupProtocol.Consume(Response response)
   at Microsoft.HomeServer.Backup.Protocol.BackupProtocol.RecvBeginBackupSet()
   at Microsoft.HomeServer.Backup.BackupOp.BackupSetOperation.RunWithoutCatch()

Geeesh!

I was thinking that this bug was OS or Connector bug, so I decided to wait for a couple of months for the release of Windows Home Server Power Pack 1. It was released with big fanfares a couple of weeks ago and I immediately got that and installed it.

Alas, no luck! The same!

It seemed that I’ll either have to completely give up these nice backups, or start looking for solution myself. First, if was Live Search for the subject. It quickly led me to two possible reasons for this error:

  1. First very strange reason is seem only on Vista boxes (yes, VESIBOOK is Vista Ultimate). The reason for the error might be… that the backup is turned off at the home server!
    Each box, which is registered in your home server, can have its backup turned off. If that’s the case with your machine, any Manual Backup try may end up with this error.
    To resolve that, just turn on your the backups for this machine (WHS Server Console => Computers & Backups => Right click the machine => “Turn on backup”):
    image
  2. Also, this error might be caused by [even slightly] corrupted file system on the target machine. To resolve that, run “chkdsk /r” on all drives, where the backup is supposed to run. Most probably you will have to restart your machine, because usually at least one of the drives is your system drive, which cannot be “dismounted” without hassle.
    After the run, check for errors, especially be careful for bad sectors, which might mean that you should really start saving your data. Then retry your backup.

Please note that sometimes you might have both the problems 🙂 . My case was precisely that, so after turning on backups for that box, I had to run “chkdsk” as well. After executing both fixes, VESIBOOK was successfully backed up.

One day I guess I have to do real, better overview of WHS. Because I’m really glad it’s there for me, doing its job quietly and helping all the rest in the “family IT” to run smoother.

Prague Airport Taxies

Prague Airport Taxies

Long time without posting in English. Well.. that’s because I do not have that many English readers, I suppose. Or maybe it’s vice-versa: I do not have many English readers, because I post mainly in Bulgarian 🙂 ?

The story for today is about Prague cabs. The ones, which wait for you at the airport exit. And about a traveler, who does not know which exactly taxi to pick up.

I was such a traveler a week ago, when I arrived in Prague, armed with instructions from my colleagues. The instructions were pretty straight-forward:

You must call SEDOP taxi, because others will cut your head and skin you down alive.

Knowing the sad story from the past regarding Bulgarian airport robberies, also known as “getting taxi at Sofia Airport”, I decided to listen to my colleagues and go with their recommendation. I ordered SEDOP, waited about 15 minutes for it to arrive, and then it cost me about CZK 920 (around EUR 40) to get to Prague 4, where Microsoft office is. When it was time to go back, I again used SEDOP and the price was similar.

These days was my second trip to Prague for this month. I decided to experiment this time and to pick up the Airport Cars, available directly on the airport entrance. I was not only feeling lucky (but not the Goooogle way), I was also asking for price and I was promised a ride for CZK 700 for the same distance as before.

Picking up the taxi was extremely easy: they were waiting for me and I jumped inside almost immediately after leaving the airport and ensuring I know the price in advance. In the cab I discovered that if I decide to order from the same company my trip back, it will cost me 80% off the price, which makes CZK 560. Of course, I wrote the phone and a reminder to order the cab (they want to get the order at least 2 hours in advance, which totally makes sense).

The moral? Never use SEDOP for airport pickup or drop-off. I do not know how are the rest of the companies, but so far I plan to use Airport Cars mainly. Back & forth with them cost me only CZK 1260, while SEDOP took good CZK 1800 for much worse service (their cars sucked more than these ones).

Just for my (and your) future reference:

SEDOP Taxi, Prague
+420 271 722 222
+420 721 666 333
Hint: Do not use these!
Airport Cars, Prague airport taxies
+420 220 117 078
+420 220 113 892
Hint: Use them!
MicroМечо

MicroМечо

Марти с мечето, подарък от колегитеДнес в службата имахме месечната си HR среща. Наред с другите интересни неща, които се случиха тогава и които са си наша вътрешна работа, колегите истински ме изненадаха с още един подарък за малкия Мартин. Наистина не очаквах, при положение че вече бяха събрали сума ти пари за бебефон и какво ли не още друго…

Подаръкът за бебо е този огромен мечок, който позира и в албумчето по-долу. Огромен и много симпатичен, за остатъка от деня мечокът се настани на бюрото, което е пред мен, за обща радост на всички преминаващи колеги. Част от подаръка също така беше и “луксозно” копие на “Internal announcement” мейлът, с който ги уведомих за раждането на синът ми 🙂 .

Така се запази традицията колегите да ми подаряват плюшена играчка за (поредния) ми малък син 🙂 . С много умиление си спомням моментът, когато през 2002-а колегите от Пловдивския офис на OBS подариха на Ангел големия син слон (пак в албумчето по-долу). Ангел дълго време, поне до 18-месечна възраст, го беше страх от този син слон. Сега дойде редът на и българския офис на Microsoft. Кой ли офис ще подарява следващата голяма, плюшена играчка на евентуалната ни щерка, която ще си родим след време 🙂 ? Интересно как Мартин ще се отнася както към слона, така и към този голям мечок. Засега обаче Мартин само успя да посмуче козината на мечока, докато се опитвах да направя поня няколко читави негови кадри. Бях решил да го снимам преди ядене и бебето беше убедено, че ей-сега, още мааалко да се обърне и там някъде е цицата на мама. Много трудни кадри, наистина!

Мечо иначе на височина е колкото Ангел, т.е. колкото 6-годишно дете. На обем, разбира се, е доста по-голям, защото има симпатично бирено, закръглено коремче, а Ангел към днешния ден може да спечели конкурс за “най-кльочаво дете”.

Иначе имаме малко новини за промяна на ТТ-данните на Марти. Вчера с Веси са били на първата му консултация. Там са установили, че за 10 дни Мартин е качил 250 гр, т.е. вече е 3050 гр, както и че е порасъл с 3 см, достигайки завидната височина от 51 см. Растем, не се шегуваме. Има си хас, с това сукане по 8 пъти на ден и спане през повечето от останалото време.

Ето го и албумчето. Имам още няколко снимки, но са горе-долу същите, просто Мартин е застанал в по-изчанчени пози, опитвайки се да смуче козината на Мечо:

Theme: Overlay by Kaira Extra Text