Blog
Wednesday, March 24, 2010
z-index and IE 7
I am sure many would have had this issue, for some reason IE 7 does not stack the elements properly based on the z-index. I saw a workaround today that actually works.
Wrap your element within a div and give that div a higher z-index! That's it. Don't ask me why. But this worksLabels: browswer issues
senthil natarajan @ 8:57 PM
Friday, January 20, 2006
Racism in india???
What is racism and is it prevalent in India?
We can say racism is a system that discriminates people based on their so called ‘race’. Some say that dominant groups in the society are racist, coz it is that group which has the influence and means to oppress others. Racism is a plague in today’s world, a lot of nations which were racist have reformed themselves, and leading example would be Australia with ‘all whites policy’ till 1972, today it is multi cultural and multi ethnic. These developed nations were and some are stillacist but at least they have not discriminated their own people.
In India we would not hear this term explicitly, but its definition is very well practiced all al over. In India racism is spelt casteism. I will come back to this shortly.
Other than that there has always been ethnic tension between the Tamil people and Hindi majority. I grew up in Delhi and till my 10 I was there. Though I have been there for so long and I have been one amongst them, I have never been able to appreciate their thoughts for south Indians. Note: Not everyone is like that.
Still some north Indians think that below madya Pradesh everything is called madras and they call everyone ‘madrasi’. Hey guys you cant be so ignorant. I remember when I came to Chennai from Delhi for good after my 10th; my chemistry staff asked me “do you people in madras have worthy colleges?” now that’s ridiculous and not expected from a educated person like her.
I never bore the brunt of my co –students coz no one could differentiate me from others by my Hindi accent as it was as good as a delhite, but some new comers from south were always made fun of. Which means that even students had a bad conception of people from south? What is the reason behind this? Is it the complexion that gives them that superiority complex??
You guys would have noticed that in many Hindi movies and in many Hindi serials, an actor portraying south Indian role would speak worst possible English. You can’t mock all the while. Even the auto drivers here speak good English. Wake up guys I think we guys are not that bad and may be we are better than you. It’s high time you realize that.
For some reason I have had a strong feeling that even the central govt. has not been fair to these four states, the best example would be the kaveri issue. Why no stern action has been taken? On the other hand the international river treaty between India and Pakistan was enforced immediately. Indian tourism is on the ‘athithi devo bhava’ drive and Chennai is not included in the list of heritage cities! That’s not fair.
This kind of pervasive attitude has a decisive hold on individual’s behavior and relationships. This is changing and will take long to completely change. People are realizing now that these four states can’t be taken for granted. The silver lining is that we stood united for good on a 15th august. The feeling of being one should be there for everyone. Its high time south is taken seriously.
The next evil is casteism, a theory that some are born superior and some are born inferior. This theory ensures power to the dominant group through oppression of the inferior, this is prevalent throughout India. Untouchability is still prevalent in some villages in India, and these things make casteism even more dehumanising than racism. Would people believe that these sects have separate burial grounds???
Indian government swears by an egalitarian constitution that prohibits any form of discrimination, the fact remains that it is prevalent everywhere. This is deep rooted and will take a long to get out of the society. This is a poison that we have lived with for more than 1000 years. We have just started to uproot it.
P.S. Not all the people are like the way I mentioned.
senthil natarajan @ 5:35 AM
Monday, October 10, 2005
Boot disks
The need for a bootable media other than hard disk is highly felt only when there is a system crash and you need to recover critical information.
I'm not talking about enterprise solutions, yes these can be used as enterprise solutions too in as much they are very flexible.
The first free utility that would help you is Bart PE. You can create a bootable CD that can load the windows graphical environment right from a CD without the need for a hard disk, cool isn't it. The enterprise solution is provided by microsoft that comes with a price tag attached, its called Win PE, though Win PE is much better than Bart PE in terms of creating the graphical shell, Its a good free solution. The site has loads of information on creating Bootable disks. A must see.
Also take a look at these websites
Bootdisk.com
Emergency Boot Disk
Don't Panic if you've forgot the Admin Password
Saravana @ 1:52 PM
Monday, June 13, 2005
XPE .......1
Friday, April 29, 2005
Loading XPE
I was told that Windows XP Embedded with Service Pack 1 resolves glitches discovered since Microsoft released the operating system last year and also adds new features to the product. XP embedded is a componentized version of windows XP wherein you can choose to add the necessary components for your image.
The requirements for creating an image can be obtained from many web sites about this OS. The simplest way that I found for creating an image is as follows:
1.Load the following application from CD-1 and CD-2 (sp1) {you can also download the same from website, but you will need to register the application anyway}TOOLS and DATABASE.This in turn will create a will give applications like:
1. Target Designer
2. Component designer.
3. SDI Loader.
4. Component Database Manager.
5. Target Analyzer.(TAP.exe)
6. Target analyzer (TA.exe)Apart from the Target Analyzer the other things will only work if the database is already loaded and is running.
2.Next step is to create an image of the operating system, for any operating system to run at least the essential components and the dll’s need to be loaded. Instead we breaking our head and trying to load all the components, we can either use TA.exe or TAP.exe.
3.TAP or TA must be installed and run on the machine on which the IMAGE needs to be loaded.
4.Target analyzer Probe (TAP) will be in the following folder structurec:\ProgramFiles\WindowsEmbedded\Utilities
5..It is always better to use TAP rather than TA, TAP finds a detailed lit of the drivers that are installed in the target machine. We can say that TA is a subset of TAP.
6.Once you click on the TAP.exe a console window opens up and it runs for a few seconds, and after that in the same directory you will see a file called devices.pmq
7.Rename the file to a more meaningful name {This is just optional but will be useful}
8.Open the component designer and import the .pmq file.
9.Once that is done it will give you one component that comprises of all the drivers that the TAP found.
10.Save this file.
11.Open the component database manager and import your own component into the database. The name of the component will be same as the name of the .pmq file. If you did not rename before. You might see a lot of components named “DEVICES” in the database over a period of time.
12.Now that your component is in the database you can now use it for future purposes.
13.Open the Target Designer and say NEW.
14.It will ask for a name for the configuration file , give a meaningful name.
15.There will be three panels in the Target Designer.
15.1 In the center panel click on settings
15.2 On the right most panel a list of settings will be displayed15.3 Click on Target image settings and do this:
15.3 If you are planning for a DUAL boot, which is always advisable, change, the drive letter to the drive in which you have planned to load the image. For the boot.ini setting in that itself mention the partition number. Say you are going to load it in D:\ which is a primary partition then say in the partition(2) instead of (1) which means that it will look for the ntldr in second partition.15.4 Leave it as it is if you are planning to load in the c:Note: BOOT file doesn’t recognize the CD partition, if your second primary partition is E: and your CD drive is D: then in the settings you will have to give the image partition as D: and not as E:
16.Now that the target designer is open you will be able to see your own component in the list.
17.Add that component and the components.
18.After you are finished with adding the components do a dependency check, this will give you a list of all the components that are needed for the components that you have added.
19.Once you resolve all the dependencies you can build the image.
20.The image will give you a folder structure consisting of. Documents and settings, program files, windows, boot.ini, ntldr. Ntloader and weruntime.copy all of these to another drive if you need to perform dual boot or copy to the target device and make the necessary changes in the c:\ boot.ini file in case of a dual boot.
21.Restart the system and it should work well.Note that first time FBA.exe will run and take a while.In the next blog I will talk about the problems that I faced with XPE and how to resolve them. Then also working with .net framework 1.1 applications on XPE.
senthil natarajan @ 4:04 AM
Starting it all...
I am just planning to copy all the tech stuff from wonderlife.blogspot.com to this site......
senthil natarajan @ 4:03 AM
Thursday, May 05, 2005
Setting ipaddress
This is my first post here... i thought about this sometime back, but din have the time. Anyway i guess the posts here will help me sometime.
This is a simple code to change your ipaddress through a program, two things to keep in mind are
a) you should know the name of the interface for which you are assigning the ipaddress
b)you should be knowing the ipaddress.
will try to complicate the issue later.
open visual studio and create a win32 console application.
you would need to include process.h
#include "stdafx.h"
#include "PROCESS.h"
int main(int argc, char* argv[])
{
system("netsh interface ip set address local static addr=192.168.18.16 mask=255.255.255.0");
return 0;
}
that should change the address, if at all the netsh command works in the OS.
senthil natarajan @ 6:10 AM
Previously...
z-index and IE 7
Racism in india???
Boot disks
XPE .......1
Starting it all...
Setting ipaddress
Months Back...
May 2005
June 2005
October 2005
January 2006
March 2010