Computing desk | ||
---|---|---|
< June 24 | << May | June | Jul >> | June 26 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
Hi sir!My doubt is on unsigned integer.I know that unsigned integer ranges from 0 to 255 for 8 bit integer. But I am not able understand the how unsigned integer stores negative numbers. 1)in c negative numbers are stored in 2’s complement form. If I write int i=-5; Then -5stored in 2’s complement form.i.e 11111011(for 8 bits).if we convert it to decimal we can get -5. 2)But if I write like below Unsigned int i=-127; ->how -127 is stored in i? ->in my book I read that the above -127 is equal to 128.how it is possible? ->What bits are stored in i so as to get 128? I hope you help me. — Preceding unsigned comment added by Phanihup ( talk • contribs) 02:11, 25 June 2012 (UTC)
Why does Windows Live Mail warn you that images will be removed if you send this Email? Do you want to send it anyway? There were no images on the Email to start with!!
Hamish 84 Hamish84 ( talk) 07:53, 25 June 2012 (UTC)
PS. To all who provide me with help please take it as read that I am grateful.
hi!In java some exceptions are checked exceptions,some exceptions are unchecked. Java compiler checks in compile time whether some exceptions are handled or not.such type exceptions are checked exceptions. ex:IOException The exceptions whose handling is not checked in compile time are called unchecked. Ex: ArrayIndexOutOfBoundsException
-> why some exceptions handling is checked at compile time(checked exceptions)? ->what is the use by checking whether some exceptions are handled or not at compile time? ->if we leave with out checking whether some exceptions are handled or not ,what is loss to us? If you consider the checked exception “IOException”,compiler only knows whether the input given by us is valid or not only at run time.then why should it‘s handling should be tested at compile time?
All the above questions for unchecked exceptions.but in reverse. -> why some exceptions handling is not checked at compile time(unchecked exceptions)? -> what is the use by leaving whether they are handled or not at compile time? ->if we handle unchecked exceptions’ handling at compile time ,what is loss to us?
I hope you help me. — Preceding unsigned comment added by Phanihup ( talk • contribs) 10:18, 25 June 2012 (UTC)
I have a couple of Windows PCs (one XP, one 7 Ultimate) with hard drives that put themselves to sleep (eg stop spinning) to conserve power after some period of inactivity. One is an internal SATA drive, one is an external USB-connected drive. For various reasons it is either not possible or not desirable to disable the power saving function. I would like to be able wake the drives - ie get them spinning again, ready for instant use - on demand, under the control of a command script, and without writing anything to the disk. The simple approach such as "dir d:\" does not work, because typically the computer (or the drive hardware) has some data cached, and simply returns the data from the cache without spinning up the drive. I need a method that is does not depend on knowledge of what might be in the cache (ie previous use of the drive), and does not take very long (eg "dir/s on a drive with many directories/files works, but takes longer than waking the drive automatically).
Is there a simple and reliable way of forcing Windows to spin the drive up and get it ready for action? Mitch Ames ( talk) 12:31, 25 June 2012 (UTC)
C:\>powercfg -setdcvalueindex SCHEME_CURRENT SUB_DISK 80e3c60e-bb94-4ad8-bbe0-0d3195efc663 0 C:\>powercfg -setactive SCHEME_CURRENT
In my project there is a scenario that user will log in -> browse some pages -> then he will click on the logout link . to test this scenario in jemeter , i used csv config so that i can test this scenario for 50 users. during login to the system password are not sent in md5 format but during logout ,each user passowrd is sent as request in the md5 format. so can any body tell me how can i sent the password in md5 format in jmeter. if i use the the same variable which i used for passowrd during login , with encode option clicked , will it work. please help me — Preceding unsigned comment added by 202.90.110.220 ( talk) 17:38, 25 June 2012 (UTC)
What algorithms for semi-supervised text classification, and what methods of validation, are suitable for ongoing use on an evolving body of text, with little or no ongoing input of new labelled examples? Neon Merlin 19:45, 25 June 2012 (UTC)
Computing desk | ||
---|---|---|
< June 24 | << May | June | Jul >> | June 26 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
Hi sir!My doubt is on unsigned integer.I know that unsigned integer ranges from 0 to 255 for 8 bit integer. But I am not able understand the how unsigned integer stores negative numbers. 1)in c negative numbers are stored in 2’s complement form. If I write int i=-5; Then -5stored in 2’s complement form.i.e 11111011(for 8 bits).if we convert it to decimal we can get -5. 2)But if I write like below Unsigned int i=-127; ->how -127 is stored in i? ->in my book I read that the above -127 is equal to 128.how it is possible? ->What bits are stored in i so as to get 128? I hope you help me. — Preceding unsigned comment added by Phanihup ( talk • contribs) 02:11, 25 June 2012 (UTC)
Why does Windows Live Mail warn you that images will be removed if you send this Email? Do you want to send it anyway? There were no images on the Email to start with!!
Hamish 84 Hamish84 ( talk) 07:53, 25 June 2012 (UTC)
PS. To all who provide me with help please take it as read that I am grateful.
hi!In java some exceptions are checked exceptions,some exceptions are unchecked. Java compiler checks in compile time whether some exceptions are handled or not.such type exceptions are checked exceptions. ex:IOException The exceptions whose handling is not checked in compile time are called unchecked. Ex: ArrayIndexOutOfBoundsException
-> why some exceptions handling is checked at compile time(checked exceptions)? ->what is the use by checking whether some exceptions are handled or not at compile time? ->if we leave with out checking whether some exceptions are handled or not ,what is loss to us? If you consider the checked exception “IOException”,compiler only knows whether the input given by us is valid or not only at run time.then why should it‘s handling should be tested at compile time?
All the above questions for unchecked exceptions.but in reverse. -> why some exceptions handling is not checked at compile time(unchecked exceptions)? -> what is the use by leaving whether they are handled or not at compile time? ->if we handle unchecked exceptions’ handling at compile time ,what is loss to us?
I hope you help me. — Preceding unsigned comment added by Phanihup ( talk • contribs) 10:18, 25 June 2012 (UTC)
I have a couple of Windows PCs (one XP, one 7 Ultimate) with hard drives that put themselves to sleep (eg stop spinning) to conserve power after some period of inactivity. One is an internal SATA drive, one is an external USB-connected drive. For various reasons it is either not possible or not desirable to disable the power saving function. I would like to be able wake the drives - ie get them spinning again, ready for instant use - on demand, under the control of a command script, and without writing anything to the disk. The simple approach such as "dir d:\" does not work, because typically the computer (or the drive hardware) has some data cached, and simply returns the data from the cache without spinning up the drive. I need a method that is does not depend on knowledge of what might be in the cache (ie previous use of the drive), and does not take very long (eg "dir/s on a drive with many directories/files works, but takes longer than waking the drive automatically).
Is there a simple and reliable way of forcing Windows to spin the drive up and get it ready for action? Mitch Ames ( talk) 12:31, 25 June 2012 (UTC)
C:\>powercfg -setdcvalueindex SCHEME_CURRENT SUB_DISK 80e3c60e-bb94-4ad8-bbe0-0d3195efc663 0 C:\>powercfg -setactive SCHEME_CURRENT
In my project there is a scenario that user will log in -> browse some pages -> then he will click on the logout link . to test this scenario in jemeter , i used csv config so that i can test this scenario for 50 users. during login to the system password are not sent in md5 format but during logout ,each user passowrd is sent as request in the md5 format. so can any body tell me how can i sent the password in md5 format in jmeter. if i use the the same variable which i used for passowrd during login , with encode option clicked , will it work. please help me — Preceding unsigned comment added by 202.90.110.220 ( talk) 17:38, 25 June 2012 (UTC)
What algorithms for semi-supervised text classification, and what methods of validation, are suitable for ongoing use on an evolving body of text, with little or no ongoing input of new labelled examples? Neon Merlin 19:45, 25 June 2012 (UTC)