Pages

Tuesday, August 31, 2010

Downloads - selenium - Project Hosting on Google Code

Downloads - selenium - Project Hosting on Google Code
This is the Selenium project's downloads page. The new IDE, a Firefox plugin, has just received a patch to support the new Firefox 4.

Monday, August 30, 2010

log4net UdpAppender with IPv6 on Windows Vista and 7 � Alteridem Consulting

log4net UdpAppender with IPv6 on Windows Vista and 7 � Alteridem Consulting

Having problems with log4net working on a Windows 2008 R2 machine with IPv6. Above is the link to a recompiled version of log4net.

Using Remote Desktop with Dual Monitors | SplitView

Using Remote Desktop with Dual Monitors | SplitView
Here's a description on how to span an RDP session on two monitors and edit the .rdp file to enable the feature.
Basically, if all the prerequisites are correct, add the following line to the end of the file:
span monitors:i:1

Sunday, August 29, 2010

Sunday, August 15, 2010

NUnit isn't running VS10 code - Stack Overflow

I have issues with NUnit not running .NET v4 code on the Continuous Integration server. The solution is listed at the link below. The trick is to modify nunit configuration file on the executing machine.

NUnit isn't running VS10 code - Stack Overflow

Update: A more complete solution is here. There is a practical difference in that attribute in the 'startup' tag.

How to copy/install assembly in a GAC? (Some problem running NUnit)

I've just had a weird problem on the build server. For one of the test projects, it would not build at all. The error message was the following:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9): warning MSB3245: Could not resolve this reference. Could not locate the assembly "nunit.framework, Version=2.5.5.10112, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. 

Apparently, no NUnit library could be found. Checking the GAC manually, this appears to be true. How weird. Tried reinstalling and repairing NUnit 2.5.5 a few times with no result. Then, in Visual Studio Command Prompt, adding NUnit dll to GAC manually with

gacutil /i nunit.framework.dll

solved the issue.

Reference:
How to copy/install assembly in a GAC? (Some problem running NUnit) - Stack Overflow

Tuesday, August 10, 2010

Installing Windows Mobile Device Center on Windows 7 64-bit

The installation of Windows Mobile Device Center is a bit confusing to say the least. After you plug in your Windows Mobile phone into USB port it will greet you with an error after it fails to install the driver. Well, this was the main reason I removed Linux and installed Windows. However, it appears it was unnecessary move. I thought the virtual machine Windows did not see the phone as a USB device but I was wrong. The thing does not install even on Windows box.
So, the solution is to plug in the phone, wait for the error message, then enable downloading of drivers from Windows Update.
One more trouble I've had is the N edition of Windows 7. Apparently, WMDC requires Windows Media Player to be installed, which is not the case in the N edition. WMC can be downloaded from
http://www.microsoft.com/windows/windowsmedia/download/AllDownloads.aspx?displang=en&qstechnology=

SSMS Tools Pack causing errors when installing SQL 2008

I had a strange error trying to install SQL 2008. It complained that there are SQL 2005 Express Tools installed. Even after uninstalling all traces of anything that has to do with SQL 2005, the error was still the same.
As per article below, I found registry keys in
HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\90\Tools\ShellSEM

Sql2005SsmsExpressFacet - How to continue your SQL 2008 installation - Administration - SQL Server Nation

The reason was SSMSToolsPack that I installed some time ago and (probably) never used. Uninstalling that made the SQL 2008 installation proceed.

Monday, August 09, 2010

Setting up Proxy Server on Linux in 2 minutes

Now the roles have inversed and Linux is now my main box while Windows laptop is secondary. Linux box is the one connected to the Internet. While I yesterday installed FreeProxy for the reverse role, now was the time to set up Linux as a proxy for the Windows box.

Getting a transparent proxy running in Linux was a piece of cake. All it takes is to install squid, squidGuard, and yast2-squid packages. Then, in Yast, go to Network Services –> Squid for configuration.

What I needed to add was another local network, which is not there by default. This is just because of the default network settings on Windows, where my adapter automatically got address 169.254.205.7. So, in Access Control, I added a new ACL group “localnet” for the range “169.254.205.0/255.255.0.0”.

Also, in HTTP Ports, I added the option “Transparent” to the default port 3128. Then, in Windows, simply set this box and port as the proxy settings in Internet Settings and off you go.

Awesome.

Sunday, August 08, 2010

Microsoft WebCam VX 1000 in Linux

I was a bit upset when I purchased Microsoft's web camera, knowing that I am going to use it on a Linux system. Those two brand names simply don't go well together. :)
However, as listed in this thread (Microsoft WebCam VX 1000) the camera works well under Linux as there are drivers available.
There are glitches, in Linux with some software, that are not apparent and intuitive. Like Vodafone's modem, where the USB memory on it needs be disabled by running "eject sr1" and then re-inserting the device, after which the system recognizes it as a modem and everything works perfectly.
With this camera, the trick is to run

LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so

So, to run Skype with usb camera support for Microsoft LifeCam VX-1000, simply run the above command, replacing with "skype" (without quotes). The camera works great!


And an additional note... Since Skype is 32-bit application, if you happen to run 64-bit system, make sure you install "libv4l-32bit" package first.

FreeProxy

FreeProxy (link) is an awesome little program that works nicely, is simple to install and run, requiring no extra configuration if you want a foolproof operation. I took me 2 minutes to get my Linux machine going through FreeProxy on my Windows laptop.

FreeProxy is a free proxy server for Windows.

What a bad hardware can do to your psychological health

I’ve spent the last week struggling with the components for my PC. I’ve taken the minimum components that I need for an operating PC so that I could transfer the data from my old laptop to it. Then, after holidays, I would get additional RAM, graphics card, and what not. I was looking forward to installing Linux on the new box as it seemed to have advanced much more than Windows in the past several years.

However, I started to have troubles from the very beginning. The video signal would disappear at random intervals and the machine would freeze. I could still operate the DVD drive but that was it. The power was still on but the computer would not react to anything but power off or reset switch. After reset it would continue normally for an arbitrary period of time. The strangest thing was that, while freezing mid any OS installation, I managed to install Linux when I’d select Fail Safe kernel settings. At the same time, simply running memtest – either from the Linux installation DVD or a flash USB card – would never complete.

My first suspicion was the integrated GPU. So, the first thing I did was to get a separate video card. Tried running the memtest after that and at least the video would not go off this time. The freezes continued, though. The normal PC operation would go anywhere from 2 minutes to half an hour and that was it. Then it would freeze.

When I was talking to the techs in the shop where I got the video card, they expressed concerns that it would be faulty RAM that is causing the issue. I still thought it was the motherboard and the chipset on it. So I got a new motherboard. Tried running the system with motherboard replaced but the behavior was exactly the same! RAM situation was weird because I could not test either of the RAM sticks completely so I thought it would have been a strange coincidence that both sticks were bad. Anyway, I went and bought a new RAM stick. I could not finish the memtest with that one, either.

I was beginning to lose hope. The only things I haven’t replaced were processor and the Power Supply Unit (PSU). The processor would make the whole system simply be dead, rather than freezing. Also, neither processor, nor the integrated chipset cooler, nor the PSU were ever hot. So, a temperature was OK. I also checked the voltage reported by BIOS and everything seemed OK.

The next thing I decided to change was the PSU. The processor was the most expensive item and I left that for the very end. To test the PSU, I tried disconnecting the DVD and the hard drive. Did not help. Removed also the external video card to reduce the power consumption by the devices. No help, either. So I bought a new PSU. When I compared the new PSU to the old one I was amazed! It was much heavier and had heaps more connectors. And it was completely silent, which is a useful addition. Now the desktop PC was as quiet as the laptop. The first thing I noticed was that the system was much more responsive even on the boot screen. It would enter the BIOS instantly, which was never the case with the old one. Then I ran the memtest and appeared to be running much faster than ever before. The faith was starting to come back. Anticipation while looking at the progress bar and wondering whether it will suddenly stop and prolong my misery was awesome…

And, yes – at 41% the machine froze again. :( The only thing remaining is the processor. Tomorrow is the last day of the 7-day warranty and I think I’ll have to bring the processor back although I have not confirmed that it is the exact problem as I don’t have another one to try out.

Edit: Yes, as the Murphy’s Law states, the component that is faulty is to be the LAST one remaining and also the most expensive one. Yes, the processor was the problem the whole time.

Thursday, August 05, 2010

Vodafone 3G Connection on Linux

I just managed to get the Vodafone 3G mobile connection on my Linux box. Basically, BetaVine Forge site has all the drivers ready – here.

Install
vodafone-mobile-connect-2.20.01-4.noarch.rpm

If the software does not recognize the modem, run
sudo eject sr1
Then unplug the device and plug it back in. Run vodafone software again and it will see the device.
Log in with your mobile phone number and pin and voila, you should be online.

Wednesday, August 04, 2010

PackMan :: home

PackMan :: home

Packman team packages latest software packages and those that are not already part of openSuse distribution. They are mentioned at various places as THE source for RPM packages.

Tuesday, August 03, 2010

Win32DiskImager - Ubuntu Wiki

Win32DiskImager - Ubuntu Wiki

Win32DiskImager is a Windows program that creates a bootable USB drive from a Linux ISO file. Apparently unetbootin has some bugs with latest openSuse distributions and people on forums advise using this. I can confirm having trouble using unetbootin-created image on the machine where I want to install Linux. However, the same thing worked in a VM when I was testing the USB stick. Weird.
And, yay! I can confirm that creating a bootable openSuse 11.3 USB with Win32DiskImager works perfectly!!!

Monday, August 02, 2010

Turn Off Weather Animation

PocketPC - If you have Cookie Home Tab (+Editor) and want to preserve some battery power by turning off the weather animation on the home screen, the solution is very simple although maybe not so obvious.

In Cookie Home Tab add a new shortcut to a Switch and then select Weather On/Off. After you do that, there will be a new switch icon that can be used to turn off the weather animation.

I see the animation as annoying. If its raining where I am already, I don’t need my phone to be wet. :)

Sunday, August 01, 2010

Internet on PocketPC through USB Connection

The internet connection on my mobile device, while connected to via USB to my PC, has been an interesting ride. Switching off the ‘faster data connection (RNDIS)’ fixed the network routes, apparently. Now I have a slower connection but I can access the internet and perform updates directly from the phone while it is connected to the PC.

UNetbootin - Homepage and Downloads

UNetbootin seems to be a solution for creating an USB installation media for openSuse (11.3). It performs the necessary modifications to the device and burns the image onto the USB device just as it was listed in the instructions on different wiki pages.
UNetbootin allows you to create bootable Live USB drives for Ubuntu, Fedora, and other Linux distributions without burning a CD. It runs on both Windows and Linux. You can either let UNetbootin download one of the many distributions supported out-of-the-box for you, or supply your own Linux .iso file if you've already downloaded one or your preferred distribution isn't on the list.

UNetbootin - Homepage and Downloads