Suramya's Blog : Welcome to my crazy life…

September 15, 2007

Vista ‘Wow’ factor Part 2

Filed under: My Life,My Thoughts,Tech Related — Suramya @ 6:56 PM

I have spoken a bit about the Vista WOW factor in a previous post and in my last post I had mentioned that I had the opportunity to play some more with Vista on Gaurang’s laptop and had promised to log my ‘WOW’ experience in another post… So here it is. Without any further ado the Vista ‘WOW’ factor. 🙂

Gaurang had bought a new Sony Vaio laptop with is almost the top of the line, dual core, 2GB RAM and looks great. Unfortunately he got it with Vista pre-installed. I had mentioned the issues I had with Vista to him so he told me that it works ok and the automatic trouble shooter works great. According to him if a program crashed it would connect to the internet and would find a solution for the crash. So his Vista install was supposed to be very stable…. Yeah Right.

We wanted to share files between our computers so I enabled SAMBA on my Linux system and shared the folder in XP on my Laptop. I could share files without any issues between both my computers and the connection was pretty fast too. (We were both on a LAN) When I connected to my Linux box using its IP address I would get the password prompt within 2-3 seconds on Vista it would take almost 20 seconds for the password prompt to show up. WOW!

Then once he finally connected he started to copy files over but accidentally selected the wrong set so I asked him to cancel the copy and start again. It refused to cancel the copy. Once we clicked on cancel It said ‘Canceling Copy’ and sat like that for almost 5 mins… (This happened to us multiple times.) We tried killing the process but that killed explorer and we had to log out and back in so that we could see the Desktop again.

Then it kept freezing a lot. In the 1 1/2 days he was here we had to forcfully reboot his system about 10 times (Maybe more). When we applied patches and it asked us to reboot, Gaurang’s comment was “This is the first time today that I am rebooting the system normally” (This was after we had rebooted the box 5-6 times already). WOW!

Vista takes forever to reconnect to the net if you accidentally unplug the network cable. Noticed this because we had cables running all over the place and invariably one of us would pull the wrong cable and disconnect one of the laptop’s. On XP if you unplug the LAN cable and then replug it, it connects back to the net immediately. If the system is set for a dynamic IP it usually gets it within a few seconds. But Vista… If you unplug it, it took it atleast 10-15 seconds to get back on the net and this is not that we unplugged the wire and waited a min and then plugged it back it, It was me tripping on the cable and pulling it out for 1 or 2 seconds max. Talk about annoying.

Also Bit defender is one of the most annoying software ever made. Its like the Bonsai Buddy. Keeps popping up everytime making a nuisance of itself.

The best part was that my laptop is older than his, and is slower with less RAM but it is more responsive compared to his. On Vista without him running any additional programs (Except Antivirus and Firewalls) his system was using ~ 850 – 900 MB of RAM. On my system with me running 4-5 programs together the RAM usage was aprox 400 – 500 MB of RAM.

So after using it for a day I have decided that I am very Happy with Linux and if I have to use Windows I would rather use XP instead of driving myself nuts by trying to use Vista.

Have any of you had any similar experiences with Vista? Do share.

Well this is all for now. Will post more later.

Cya,
Suramya

August 8, 2007

Secure Websites Using SSL And Certificates

The following website has a good How-To on how you can Secure Websites Using SSL And Certificates on a system running Apache, Bind and OpenSSL.

– Suramya

OpenProj: An alternative to Microsoft Project

Filed under: Computer Software,Knowledgebase,Tech Related — Suramya @ 10:51 AM

Do you use MS Project to schedule your projects but dislike the costs? Or perhaps you would like to use it but are discouraged by the >$1,000 price tag. Well, the open source community has just gotten a great replacement to MS Project called OpenProj from Projity.

OpenProj is a free, open source project management solution that is a complete replacement of Microsoft Project, and other commercial project solutions. OpenProj is ideal for desktop project management and is available on Linux, Unix, Mac or Windows even opening existing Microsoft or Primavera files.

Check it out if you are interested in saving some money.

– Suramya

PS: I haven’t tried it because I don’t need a project management solution yet. But when I do I know what to look for.

June 24, 2007

Getting a 404 error in asp.net when the file exists on the server

Filed under: Computer Software,Computer Tips,Knowledgebase,Tech Related — Suramya @ 1:25 PM

Hit this issue recently on a web server that I was setting up on Windows 2003 server using IIS. Now everything was installed correctly and I had copied all the files to the server, then I created a virtual directory for my asp.net application and when I went to http://localhost/Test it would show me the directory listing (Yes I had enabled that so that I could debug). However when I clicked on the service.asmx file it would tell me that the file didn’t exist and I would get a 404 error. Now I knew that the file was there and I could see it in the directory listing but for some reason the IIS refused to show it.

The problem was caused because the server was running the 64 bit version of ASP.NET 2.0 while we were expecting the 32 bit version. Yes, it took me a couple of hours to figure that out. To fix it basically what you have to do is tell IIS that you want to use the 32 bit version for this particular Virtual Directory by changing the Script Map. The steps to change this are:

  • Open the IIS management console.
  • Expand the local computer node, expand Web Sites, and then expand Default Web Server.
  • Right-click the folder for the application, and then click Properties.
  • On the Directory tab, click Configuration.
  • The Application Configuration dialog box appears.
    On the Mappings tab, select an ASP.NET application extension, such as .asmx or .aspx.

    The Executable Path column of the dialog box lists the path to the ASP.NET ISAPI extension used by the application. By default, the ASP.NET ISAPI extension is installed in the following location:

    %system root%\Microsoft.NET\Framework\versionNumber. Browse to the appropriate directory and select the aspnet_isapi.dll file.

  • Click Ok and exit
  • Finally Stop and Start the webserver for the changes to take effect.

Now you should be able to access the files on the server without issues.

BTW, also make sure that the user IIS is running as also has permissions to read files and execute scripts in the directory where you have copied your files.

Hope fully you found this helpful.

Source for the steps to change the mapping: How to: Configure ASP.NET Applications for an ASP.NET Version

Thanks,
Suramya

June 15, 2007

Microsoft Vista WOW factor…

Filed under: Computer Related,Computer Software,My Thoughts,Tech Related — Suramya @ 1:30 PM

A lot of must have seen the advertisements on MS Vista where they talk about the wow factor. Well today I used it on a clients machine and it certainly made we go wow. Read on for the details…

I had a 90 MB file that I needed to extract on their system (224 MB uncompressed), so I copied the file to their system,right clicked and chose extract. Then came the wow factor. Vista told me that it out need ~13 hours to extract the file. Waited for a few mins and it didn’t go down. It really was going to take it 13 hours + change to extract it. Certainly made me go wow.

I didn’t take a screen shot of it at the time, but then as I was telling my cousin about it, I decided to blog it so needed to take a screen shot. When I took the following screen shot it was telling me that it would take 5 days to extract. I waited for a couple of mins in case it was just exaggerating like Windows XP and it would show the correct time in a few mins. But alas it kept showing me the same time.

So here goes:


MS Vista WOW
MS Vista WOW!!!

BTW, just as a comparison, my Windows XP system on a 1 GZ system with 512 MB of RAM takes ~2 mins to extract this file. Haven’t timed it on Linux yet. And this vista install is a running on a new machine thats pretty powerful. And i am not the only one who saw this. Another guy was complaining about it on one of the forums that I visited. His file was taking ~15 mins to extract on vista while on Linux it took about 11 secs to extract.

Ah well. I think I can do without the wow in my life. Pretty happy with Debian and XP for my systems. Don’t think I will be upgrading to Vista anytime soon.

– Suramya

May 31, 2007

reCAPTCHA: Stop Spam, Read Books

Filed under: Computer Software,Interesting Sites,Tech Related — Suramya @ 9:50 AM

I am sure that you have heard of Captcha by now, if you haven’t then I guess you are not in the technology field. Captcha’s are those annoying images with text that you have to enter before registering for most forums and posting comments in some blogs.

Captcha’s work because they can’t be read by computers so a human is required. Here’s a website thats using this necessary evil [1] and putting it to a good use. Basically what it does is uses captcha’s to convert scanned books to text.

Why do we need to do that, Can’t we just use OCR (Optical Character Recognition) to convert the books to text you may ask? Well its like this, OCR is not perfect and it has a lot of trouble with certain kinds of words e.g. clot might get read as dot etc. So what reCAPTCHA does is that it uses sending words that cannot be read by computers in the form of CAPTCHAs for humans to decipher and then saves the converted text. So with a lot of usage books that were previously inaccessible would slowly become accessible.

If I used captcha’s I would definitely use this as it is a good cause but I don’t use Captcha’s as they don’t work with text browsers. After I had to spend 20 mins trying to download a file that was protected with a captcha on a server to which I only had ssh access (I got around it by saving the image file to the computer, copying it to my local system, viewing it and then entering the code… ) I decided that I will not use it on any of my systems/sites.

Anyways, Check out reCAPTCHA and if you have to use Captcha’s use this one instead.

– Suramya

April 5, 2007

How I fixed my Vonage phone issues

Filed under: Tech Related — Suramya @ 2:24 PM

Today I finally fixed a problem that I have been having with my Vonage phone. Basically what was happening was that everytime the power went out and the inverter (Sort of a UPS for the entire house) kicked in the phone would stop working. All I would get was a lot of static on the line and no incoming calls would come though. If I switched the UPS powering the router off so that it was running on internal power the line would clear up. Couldn’t figure out why this was happening so I moved the UPS to a outlet that wasn’t connected to the inverter so when the power went out it would kick to battery backup, but this wasn’t a good solution as the beeping would get on my nerves.

Today I found that the phone was having the same issue even when the inverter wasn’t running so I thought that the issue might be the power supply for the router. I tired plugging it directly to the wall but the issue persisted so I tried running it off the UPS with the main turned off and it worked fine. Then I dug out the extra power supply I have for the router and then the problem was magically fixed.

The weird part is that I still can’t figure out why the thing worked when the UPS was running off battery power but didn’t work when the UPS was running off the mains power.

Oh well. Atleast the stupid thing is working again.

– Suramya

April 1, 2007

Installing Debian without burning CD’s

Do you want to install Debian on a system thats running Windows but doesn’t have a working CD-ROM (Like my current laptop)? Earlier you had to try to install it using floppies and other methods that didn’t always work but now there’s an easier method:

You can now download a “Debian-Installer Loader” from their project site which is basically an exe file which you can run as a regular exe file. Once you run it, it will work for a few moments and then it’ll ask to reboot your PC, at which point you’ll be given the option to run Windows or Debian. Choose Debian and you will end up in a regular Debian installer interface.

Here are some Screenshots of how the installer looks like.

I haven’t tried it yet so I can’t personally verify how well it works but so far I have heard only good things about it. If you try it out let me know how it works out.

Thanks,
Suramya

March 23, 2007

Programs that detect/monitor File alteration

Filed under: Knowledgebase,Security Tools,Tech Related — Suramya @ 5:56 PM

The following is a list of programs that detect/monitor file changes on both *nix/Windows:

Good article on how to do a File Integrity Assesment and how to securely use AIDE.

– Suramya

March 16, 2007

Legally watch World Cup matches online in near real time

Filed under: Interesting Sites,Tech Related — Suramya @ 6:07 PM

I am not a big cricket fan (Understatement of the year…) but this is something really interesting. As some of you might know the cricket World cup is currently going on and is a big craze in India/England/Australia/and a lot of other countries.

Now Sky Television has the exclusive rights to broadcast the matches live so if you want to watch the show live you have to pay them for it. There’s nothing wrong with it but in places that don’t have SKY TV it becomes and issue. There are websites that broadcast the matches live but they are illegal and usually very slow with horrible picture quality.

There is a website called cricinfo.com that solves this issue in a very unique way:

Cricinfo 3D is based on public domain information gathered by our scorers who record a number of factors such as where the ball pitched, the type of shot played and where the ball goes in the field,” said a Wisden statement. “That data is then fed as an xml to anyone who has Cricinfo 3D running on their desktops and the software generates an animation based on this data.”

The match coverage is delayed by between 3 and 12 balls during the match and its still in Beta so might not work perfectly. But still Pretty cool eh?

Check it out: http://www.cricinfo.com/3d/

Thanks to OpenDotDotDot for the link.

– Suramya

« Newer PostsOlder Posts »

Powered by WordPress