Computing desk | ||
---|---|---|
< October 24 | << Sep | October | Nov >> | October 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. |
How do you get an extremely percise number with C++? Like i know you can use: cout.percision(10); for example But what if i wanted 50 places of percision? I tried to put 50 in the () but i only got i think roughly 10 or so spots of percision (even with a long double data type). is there a limit? is it my compiler? or is it just cause the datatype can't hold it? thanks for the input! -- Agester 04:34, 25 October 2006 (UTC)
Is there any way to tell what parts of your Internet connection are being used for different applications, including how much bandwidth is devoted to various programs? I'm trying to download something but it's going agonisingly slowly and I suspect there is some background software (knowing my luck, something I never use) hogging up all the bandwidth. I'd like to find it and disable it. Battle Ape 05:53, 25 October 2006 (UTC)
Question, refdesk.
I want to protect a folder on my PC from being played around with. However, if someone goes into the folder, I don't want them to know it's password protected. I want a program, essentially, that shows a "blank" folder, until I enter a password to show all the others (password function is obviously hidden). Anyone know of such a program? -- Wooty Woot? | contribs 07:10, 25 October 2006 (UTC)
Hello guys...I use P4,2.6GHz,256 MB RAM,inbuilt video card.I'm using XP with Service pack 2.My pc slows down more severely whenever I try to copy a content from CD.My music also slows down when I copy the data from CD.Why is this?...The CPU usage goes almost 100 when burning CDs using Nero 6 or nero 5..At first when I bought my PC it was not so..Now only the problem persists..It would be nice of you guys if you could provide useful suggestion in getting my PC back to normal..Advance thanks
Also, are you due for a disk defrag ? Fragmentation could slow things down, especially if your computer's going to paging space due to low available memory. StuRat 18:52, 25 October 2006 (UTC)
Hi all. I was looking to install Kubuntu on my computer so I can dual boot, I currently have XP installed. So I used Partition Magic to create a 10 GB FAT32 partition on one of my hard disks to install Kubuntu (it also created the swap partition for me). I also installed Boot Magic.
After creating the partition, I rebooted with the Kubuntu Live CD in and then started installing it. But I didn't know what to do when it came to the step on which hard disk to install on (step 6 of 7 on the installer). On that step, it showed my 3 physical hard disks but none of the partitions (in particular the newly created FAT32 one). So I chose the "Manually edit partitions table" option (option 3), at which stage I could see the partitions but I had no idea how to choose to install it on the new partition, plus I really had no idea about all the mounting business.
Would it be easier for me to just choose the "resize" (option 1) and create a new partition for it there, and delete the partition I made with Partition Magic. The reason I didn't want to do it before was just in case I accidentally format my hard disks (not something I want to do!) or find myself unable to boot into Windows (if that can even happen).
Any help as to how I should go about doing this? Thanks all (sorry about the long post). - Akamad 11:19, 25 October 2006 (UTC)
What are the highest trafficked Usenet groups?
I'm not sure whether to ask this here or at the mathematics reference desk, but it is a computer question so here goes: if I want to transfer a 10 GiB sized file to another person at a speed of 0.5 megabit / second, how long will it take (note that it's megabit/second, not megabyte/second)? I got some different answers when trying to figure it out by myself, but I think the answer is about 1.89 days. Is my calculation correct? 83.250.208.83 12:19, 25 October 2006 (UTC)
I get 8 bits/Byte x 10 GByte x 1000M/G = = 80,000 Mbits.
Then I get 80,000 Mbits / (0.5 Mbits/sec) = 160,000 secs.
Then I get 160,000 secs x (1 hr/3600 secs) = 44.444 hrs.
Finally I get (44.444 hrs) / (24 hrs/day) = 1.85 days.
Note that this is the minimum time, assuming 100% of the transfer rate is available to this process for the entire time, which is a dubious assumption. StuRat 18:43, 25 October 2006 (UTC)
Hello,
I'm using LaTeX to format a book and this is the first line: \documentclass[a4paper,12pt,titlepage,twoside]{book}
The problem is that the wider margins for binding with my twoside command are on the right side, not the left. How do I get them to reverse?
Thank you for any help,
--
CGP
12:41, 25 October 2006 (UTC)
twoside
option should make the margins alternate between right and left, so they're always on the outside. If you want the chapters to start on left pages rather than right ones, use the option openleft
. —
Keenan Pepper
18:46, 25 October 2006 (UTC)
If I have the following,
public class OuterClass { private class InnerClass { public void increment() { ++someVar; } } private int someVar; private InnerClass innerClass; public OuterClass() { this.innerClass = this.new InnerClass(); } public void someMethod() { this.innerClass.increment(); } }
Is there a keyword I can use (sort of like this or super) that will allow me to access the OuterClass instance from within InnerClass? One I can wedge in between the ++ and someVar in the increment() method? Thanks. -- Silvaran 16:40, 25 October 2006 (UTC)
public void someMethod( int someVar ) { ... }
OuterClass.this.someVar
; you qualify the this
to indicate which "current object" you're talking about. --
Tardis
19:26, 25 October 2006 (UTC)If a 64-bit processor can run both 32 and 64-bit software, is there any advantage to downloading 64-bit SUSE 10.1 over the 32-bit version? -- Username132 ( talk) 16:58, 25 October 2006 (UTC)
Ho do I set the margins in Microsoft Word so that, when the text is printed out, it mesures 7.20 by 4.20?
I am learning PHP and I would like to know how to tell if a person is logged in to a website. For example, I can send a cookie, but how reliable is this? How do I know the cookis is real and not a fake. Thanks, 86.41.151.218 22:56, 25 October 2006 (UTC)
Computing desk | ||
---|---|---|
< October 24 | << Sep | October | Nov >> | October 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. |
How do you get an extremely percise number with C++? Like i know you can use: cout.percision(10); for example But what if i wanted 50 places of percision? I tried to put 50 in the () but i only got i think roughly 10 or so spots of percision (even with a long double data type). is there a limit? is it my compiler? or is it just cause the datatype can't hold it? thanks for the input! -- Agester 04:34, 25 October 2006 (UTC)
Is there any way to tell what parts of your Internet connection are being used for different applications, including how much bandwidth is devoted to various programs? I'm trying to download something but it's going agonisingly slowly and I suspect there is some background software (knowing my luck, something I never use) hogging up all the bandwidth. I'd like to find it and disable it. Battle Ape 05:53, 25 October 2006 (UTC)
Question, refdesk.
I want to protect a folder on my PC from being played around with. However, if someone goes into the folder, I don't want them to know it's password protected. I want a program, essentially, that shows a "blank" folder, until I enter a password to show all the others (password function is obviously hidden). Anyone know of such a program? -- Wooty Woot? | contribs 07:10, 25 October 2006 (UTC)
Hello guys...I use P4,2.6GHz,256 MB RAM,inbuilt video card.I'm using XP with Service pack 2.My pc slows down more severely whenever I try to copy a content from CD.My music also slows down when I copy the data from CD.Why is this?...The CPU usage goes almost 100 when burning CDs using Nero 6 or nero 5..At first when I bought my PC it was not so..Now only the problem persists..It would be nice of you guys if you could provide useful suggestion in getting my PC back to normal..Advance thanks
Also, are you due for a disk defrag ? Fragmentation could slow things down, especially if your computer's going to paging space due to low available memory. StuRat 18:52, 25 October 2006 (UTC)
Hi all. I was looking to install Kubuntu on my computer so I can dual boot, I currently have XP installed. So I used Partition Magic to create a 10 GB FAT32 partition on one of my hard disks to install Kubuntu (it also created the swap partition for me). I also installed Boot Magic.
After creating the partition, I rebooted with the Kubuntu Live CD in and then started installing it. But I didn't know what to do when it came to the step on which hard disk to install on (step 6 of 7 on the installer). On that step, it showed my 3 physical hard disks but none of the partitions (in particular the newly created FAT32 one). So I chose the "Manually edit partitions table" option (option 3), at which stage I could see the partitions but I had no idea how to choose to install it on the new partition, plus I really had no idea about all the mounting business.
Would it be easier for me to just choose the "resize" (option 1) and create a new partition for it there, and delete the partition I made with Partition Magic. The reason I didn't want to do it before was just in case I accidentally format my hard disks (not something I want to do!) or find myself unable to boot into Windows (if that can even happen).
Any help as to how I should go about doing this? Thanks all (sorry about the long post). - Akamad 11:19, 25 October 2006 (UTC)
What are the highest trafficked Usenet groups?
I'm not sure whether to ask this here or at the mathematics reference desk, but it is a computer question so here goes: if I want to transfer a 10 GiB sized file to another person at a speed of 0.5 megabit / second, how long will it take (note that it's megabit/second, not megabyte/second)? I got some different answers when trying to figure it out by myself, but I think the answer is about 1.89 days. Is my calculation correct? 83.250.208.83 12:19, 25 October 2006 (UTC)
I get 8 bits/Byte x 10 GByte x 1000M/G = = 80,000 Mbits.
Then I get 80,000 Mbits / (0.5 Mbits/sec) = 160,000 secs.
Then I get 160,000 secs x (1 hr/3600 secs) = 44.444 hrs.
Finally I get (44.444 hrs) / (24 hrs/day) = 1.85 days.
Note that this is the minimum time, assuming 100% of the transfer rate is available to this process for the entire time, which is a dubious assumption. StuRat 18:43, 25 October 2006 (UTC)
Hello,
I'm using LaTeX to format a book and this is the first line: \documentclass[a4paper,12pt,titlepage,twoside]{book}
The problem is that the wider margins for binding with my twoside command are on the right side, not the left. How do I get them to reverse?
Thank you for any help,
--
CGP
12:41, 25 October 2006 (UTC)
twoside
option should make the margins alternate between right and left, so they're always on the outside. If you want the chapters to start on left pages rather than right ones, use the option openleft
. —
Keenan Pepper
18:46, 25 October 2006 (UTC)
If I have the following,
public class OuterClass { private class InnerClass { public void increment() { ++someVar; } } private int someVar; private InnerClass innerClass; public OuterClass() { this.innerClass = this.new InnerClass(); } public void someMethod() { this.innerClass.increment(); } }
Is there a keyword I can use (sort of like this or super) that will allow me to access the OuterClass instance from within InnerClass? One I can wedge in between the ++ and someVar in the increment() method? Thanks. -- Silvaran 16:40, 25 October 2006 (UTC)
public void someMethod( int someVar ) { ... }
OuterClass.this.someVar
; you qualify the this
to indicate which "current object" you're talking about. --
Tardis
19:26, 25 October 2006 (UTC)If a 64-bit processor can run both 32 and 64-bit software, is there any advantage to downloading 64-bit SUSE 10.1 over the 32-bit version? -- Username132 ( talk) 16:58, 25 October 2006 (UTC)
Ho do I set the margins in Microsoft Word so that, when the text is printed out, it mesures 7.20 by 4.20?
I am learning PHP and I would like to know how to tell if a person is logged in to a website. For example, I can send a cookie, but how reliable is this? How do I know the cookis is real and not a fake. Thanks, 86.41.151.218 22:56, 25 October 2006 (UTC)