5,331 Posted Topics
Re: Using personal data is never secure - note that the use of a pet name + number broke the encryption of the laptop for a major Lulzsec hacker. I use obscure data related to stuff only I could possibly know. Your idea about a python script to help you generate … | |
Re: You are not showing enough code, such as how you would create the third file "OutPut3.exe". In addition, even if you did that, the system would probably not be happy as your "executable" would contain two main() functions and it would probably just execute the first found, if it didn't … | |
Re: Is it possible that your ISP is throttling your data due to exceeding data caps? You might want to look into that. | |
Re: You can use sudo to do this, as in "sudo userid tar -zxvf filename.tgz". | |
Re: What are the compiler outputs? Are you getting errors? The file "example.txt" should appear in the same directory you run the executable from, not necessarily in the directory where the executable "test" exists. How did you run the executable? | |
| |
Re: Your getter needs to be a const member function as in `int getSimulation() const;`. Other than that, Moschops is correct in that you need to do argument validation before you set member variables otherwise you have effectively made your private members public. In addition, do NOT use leading underscores for … | |
Re: Please show the rest of the code in the function that this conditional statement resides. | |
Re: The reverend's solution should work with MS-SQL. Basically, a Word file is a BLOB of unknown size. If you aren't using MS-SQL, then the definition and possibly access will differ. I don't think the solution will work for Oracle, for example. | |
Re: And this will help with integer roots: http://en.wikipedia.org/wiki/Integer_square_root It may be more to your needs. Do note that the output still needs to be a floating point value (float or double). | |
Re: Of your own? How "random" do you want the output? There are plenty of texts out there that can explain some of the more common ways. Here is a great tutorial compliments of the US government and my tax dollars: http://www.phy.ornl.gov/csep/CSEP/RN/RN.html It is one of the best treatises on the … | |
Re: You aren't being very helpful in providing enough information. Showing code and describing exactly what you want to accomplish will generate a lot more comments. | |
Re: I suspect that the BT adapter is not enabled. If you still have the user docs that came with the laptop, they should tell you how to do it. Also, if you are running Windows, then you should be able to use the device or network manager tools to do … | |
Re: Back in the 1980's I wrote a seive using an array of pre-computed values from 1 to 10,000. Then using a recursive algorithm I could look up primes with almost linear time, and this was on an old Compaq 8088 with 256K of ram... I used doubles so I could … | |
Re: Your main program can poll the files in question. When they get to the requisite size you can fork()/exec() a child process which know it is a child can take the file name and then archive the file in question, terminating when that is finished. So, you could have many … | |
Re: Hard disk checks notwithstanding, this sounds like one of a couple of possibilities. 1. There is a fault in the boot sectors of the disk. You need to run extended disk checks to see if there is a fault there where it can read the sector occasionally, but not always. … | |
Re: For an unlocked device that can use a SIM (assuming you are going with a GSM device) from any provider, then $200 is pretty cheap. Take a look on Amazon.com. I have several, ranging from an old Nexus One (freebee from Google), to a Nokia 920 (freebee from Nokia when … | |
Re: Do you have the pulseaudio plugins installed? Also, the alsa audio drivers are required. | |
Re: The short answer is "it depends". Have you consulted the "gurus" at the Apple Store? Or looked online on the Apple web site? Some things may be upgradeable (depending upon model you have), such as RAM or disc size. So, what are you trying to accomplish. Do bear in mind … | |
Re: 0x00 is a valid (null) character, and indicates the end of a string for C, C++, and other languages. Some languages encode strings with a length indicator (Java and others) and embedded 0x00 chars are just more data. 0x00 is only a problem if it is used to set a … | |
Re: I use Debian for embedded systems work (ARM chip sets), but Scientific Linux (an RHEL clone similar to CentOS) for both my laptop and workstation. SL has been exceptionally reliable and I only reboot when I have installed a new kernel. To get the laptop WiFi working properly, I had … | |
Re: Arbitrary precision math. An interesting problem. Look at the source code for the Boost libraries. I worked on this about 30 years ago and gave up for lack of time (ie, I got a job). | |
Re: I speak pig latin -> Igspay atinlay. My sister and I spoke it extensively as children in the 1950's. FWIW, this is where you want a finite state machine representation of the transformations needed in order to handle this in a generic manner. Have you studied finite state machines as … | |
Re: What do you want to do? I would have thought that you had read the book by now as your exam is coming up. We are not mind readers and the subject is vast. See Niklaus Wirth's seminal text "Algorithms + Data Stuctures = Programs". | |
Re: 1. Asking us to analyze almost 300 lines of x86 assembler code 2 days before your project is due is not reasonable. 2. Show us what is working, and where your problems seem to be. Have you run this in a debugger yet? | |
Re: This is just bogus! if (player == 1 && player != 3) { player = 2; } else if (player == 2 && player != 3) { player = 1; } Just use if (player == 1) { player = 2; } else if (player == 2) { player = … | |
Re: Why did you have to restart? Linux is not like Windows where you need to reboot after installing software. One other thing, Fedora 14 used the old grub bootloader. Your current debian installations uses grub2 (depending upon version - what is it?). So, I am saying that you need to … | |
Re: Ok. To reply to each point... 1. Most current distributions come with KVM built into the kernel. 2. Why? There are a gazillion applications out there. Who decides which get your attention? Just look into your distribution's package list. You'll find what you want easily enough! 3. You want 100% … | |
Re: OS? Driver version? Didn't you get a disc w/ driver and other stuff with the printer? | |
Re: Send it in for repair? Can you boot into the BIOS? Have you run diagnostic checks on the system board and hard drive? | |
Re: Re Microsoft. Sometimes, the left hand doesn't know what the right hand is doing... My advice for MS WIndows systems is to NEVER allow automatic updates, but let them inform you when they are available. Then, wait 7 days before updating in case the changes may "brick" your system (not … | |
Re: "Most modern" != "best". All in all, it depends largely upon what your usage intentions are. Is this a personal workstation, laptop, server, what? Each has very different characteristics and performance needs. | |
Re: You should not need device-specific drivers for a bluetooth keyboard, etc. You will need to use the system BT tools to pair them with the computer. Now, why do you think you need drivers for them? | |
Re: Are you sure you have a big enough power supply? What happens if you remove one of the graphics cards (they use a lot of power)? | |
Re: System (kernel) crash. Reboot into safe mode. Let the OS fix itself, and then reboot into normal mode again. Post the output of the bluescreen here if it happens again. | |
Re: ksh and bash are much the same critter, except that ksh is mostly Unix oriented. What OS are you running? You can also use perl or python (as mentioned by pyTony). You would probably use the 'find' command with the '-ctime' option (N*24 hours) to find the files in the … | |
Re: If it is an Apple phone, it already is installed. If not, then you can't install it. If it is an iPhone and the flash memory has been completely wiped, then you would at least have to go to an Apple Store to get it re-flashed. If you are in … | |
Re: Good answer Beginnerdev. Reformatting the drive means that if you want to use it as a system drive, you will need to re-install the operating system. No Windows installation disc? Need Windows? Contact Microsoft and pay a couple hundred $$ for one, or see if your system vendor can help … | |
Re: I think you need to get the WiFi drivers for the computer from the system vendor(s) for Vista. BTW, why Vista? That was an abomination. Try Windows-7 instead. | |
Re: It means that you are not linking the library that contains that symbol (_flushall_). You need to add that to your link list. | |
Re: There are several package management tools for Debian - based systems, most of which are based upon aptitude. There's the synaptic GUI tool and the command line tool apt-get. As a new user, you are best off using Synaptic. | |
Re: You say you wiped the system and installed Linux Mint (a Ubuntu derivative)? Why does the virus scanner still show windows files? 1. Reset bios and wipe firmware (may require removing battery and shorting out some contacts on the motherboard). 2. Boot from a live cd/dvd/usb linux drive and use … | |
![]() | Re: All of my monitors are now LCD monitors. The backing light can be fluorescent (older tech - more common) or LED (newer, becoming much more mainstream). So, what did you mean by LED monitors? FWIW, LED backing lights are much more efficient and long-lasting, in theory at least. |
Re: A lot depends upon the rendering requirements of the game (more realistic video == more bandwidth required) and resolution you want to use. Most recent cards that are in the under $200 USD category will do quite nicely unless your wishes are to play the most current top-end games. In … | |
Re: You haven't defined the Stacknode class, but are trying to instantiate constructors and other methods inside the template Dynstack class. This is not valid C++ code, at least to my knowledge. | |
Re: Chances are that the server is not listening on port 14. Port 13 is used for daytime services. Also, you may want to connect with an NTP server, which would be listening on port 123. | |
Re: Sorry. We don't do your homework for you. Make an attempt, post your output here, and we may decide to provide some guidance. |
The End.