rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I have a StarTech sata dock, remove my drive from the laptop, and plug it into the dock. Voila! Instant connection to the desktop. The doc has 2 ports that handle both 2.5 and 3.5" drives, as well as esata and USB connections. Other than the interface cable (the dock comes with both esata and usb cables), no cables (power or otherwise) are required. Of course it has a power brick, but the dock deals with the drive connections internally. Just slide the drive into one of the ports, turn on that port, and assuming you already have the dock connected to the desktop, it is live.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Research "Sieve of Eratosthenes" for better understanding of how to do this. There is a good Wikipedia article on it: http://en.wikipedia.org/wiki/Sieve_of_Erastosthenes

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Perhaps you have a problem with your RAM. If you can, run the memtest86 software to test your memory.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Shut down, take the battery out, hold the power button/switch on for 10-20 seconds. Let sit for at least 10-30 minutes before putting the battery back and restarting the system.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

First, do a full shutdown, then make sure that all memory is cleared. If this is a laptop, you may need to remove the battery and hold the start button/slide on for 10-20 seconds. If a desktop, then shut down and remove the power cord for at least 30 seconds to 2 minutes. Depending upon your make/model there may be some other thing you need to do to make sure that all RAM and volatile flash memory is "drained". Then restart the system. Some viruses can infect the volatile flash memory so that when you do a warm restart, they reinfect the system.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

A flat text file could have an index too. You can't be too strict about these sorts of definitions.

True enough. I worked on MCBA manufacturing accounting software years ago that used flat files for the database, along with indexes to speed random access to the data.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Assuming that you shut down normally, this should not happen. It will happen either if you tell the system to do a check on reboot, or if there is a file system problem with the drive. Is this a FAT, or is it an NTFS volume?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

A flat file is a file that contains a set of records. The records are normally seperated from each other by a space, a comma, or a new line. You could export a spreadsheet file to a comma seperated list i.e. a text file where every item is seperated by a comma. You can reasd this type of file with a text editor

A not flat file is a file where the records are organized with an index (this is a simplified explanation). The index will then point to the actual location of the record. You would normally need some application like a database management system to read this type of file.

A non-flat file can also be a structured file, such as indicated by Narue's mention of XML as such an example. Indexes are not necessary for such.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Since this is supposed to be a MS Windows process, which should not be trying to execute data as code (which is what DEP is designed to stop), then I think you have a virus.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Ah Narue! You beat me to the post, again! :-) Seems like we are giving more or less the same advice.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You need to check if fgets() returns the address of lineBuffer vs. NULL inside your loop, since when you read the last line, the eof flag on infile will not have been set. So, change your loop internals to this and see what happens:

while (!feof(infile))
{
    if (fgets(LineBuffer, BUFFERSIZE, infile) != NULL)
    {
        printf("%s", LineBuffer);
        fprintf(outfile, "%s", LineBuffer);
    }
}

From the fgets() man page:

fgets(s, size, fp) returns s on success, and NULL on error or when end of file occurs while no characters have been read.

You might also want to check for an error after reading the line, just in case... :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Check on the HP web site. Looking at the technical reference manual for the x2100 workstation, it has SCSI and IDE controllers, so the short answer is no, it does not have a sata controller. However, you can get a PCI sata controller for external drives for under $100 USD that would have 4 ports that can each support multiple devices. I use one on my workstation that has 3 RAID enclosures and a single drive dock, for a total of 13 connected drives. I think the controller cost me about $71 (w/ shipping) almost 3 years ago. Looking on the buy.com web site, today it is $69 w/ shipping. It is an Addonics ADS3GX4R5-E controller card.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

1. Test that the incoming node** q argument is not null.
2. Test that after assigning *q to cur, that cur is not null.
3. Test that the data element in the nodes you are comparing is not null.
4. Simplify, simplify, simplify.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You can also use the tolower(ch) function to make sure uppercase letters are seen as lowercase ones, then you can do something like this

switch( tolower(ch) )
{
    case 'a':
    case 'e':
    case 'i':
    case 'o':
    case 'u':
        printf("vowel");
        break;
    case 'y':
        printf("may be vowel");
        break;
    default:
        printf("not vowel");
        break;
}
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

It may be a Unicode issue in that what you think you are asking for, and what is really on the system are different - single-byte name vs. multi-byte Unicode name. Other than this possibility, I'm out of ideas... :-(

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Can you access the database server from the 64-bit machine using sqlplus? If not, perhaps you have not properly installed the Oracle client tools/code on the 64-bit machine?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Also, bear in mind that thumb (usb flash) drives are a VERY common vector for getting virus infections these days... :-( IE, you might have got this from the device itself!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

After some searching on the terms pjview and pjveaw (as spelled in your captures), I have to think you have a virus infection... :-(

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I presume that is 96c, not 96f. 96f is not a problem. Under high load, my CPU core temps may get to 50c (Intel 3GHz Penryn E5450 processors). I've had more issues with memory temperatures, where they actually would overheat to the extent that the system (Enterprise Linux) would drop one out of use. By re-arranging the SIMM positions, I was able to get the heat down to manageable levels without replacing the stick.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Well, if your laptop doesn't have a bluetooth transceiver, then no, you can't. You can purchase a USB bluetooth device (I use one on my workstation for Skype access) for less than $50 USD.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

There are many ways someone can hijack your gmail account. If they managed to install a keylogger on your system, then they have not only your gmail password, but just about all the others as well. Also, they may have cracked your password if it was the same or similar to that used for some other compromised site, such as happened with The Linux Foundation earlier this year.

1. Do a clean reinstall of the operating system, including a total wipe of the hard drive in case your boot loader has been infected. Note that some new trojans also infect the recovery partition if you have a Windows or dual-boot system, so you really need to wipe the entire disc.
2. Scan ALL of your USB drives - they are a common infection vector.
3. Change ALL of your online passwords, and use new ones for your local system accounts (especially the Administrator/root account).
4. Scan any archived data for viruses and rootkits before you reinstall it on the system.

For Linux systems, you can download the open source AV tool, ClamAV. There are also free Linux versions of commercial products such McAfee.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

A 128GB disc is pretty decent for most purposes. An external HDD is useful for backups, including system disc images for disaster recovery purposes.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

yup i knew bout this...but i had my doubts bout the processes... whether the kernel maintains...individual stacks from the kernel's perspective...

From what I read, this is the case, that the kernel maintains these structures.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Each process, user thread, and kernel thread should have its own stack. The kernel will switch between them as necessary and context changes require.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Ultrabooks are basically small, light-weight laptops that have a bigger footprint (screen/keyboard) than a netbook, as well as the ability to hold more memory and disc space than a netbook. A decent one will probably do you well, though I'd invest a few $$ and get an external display in the 20" or larger category for use on your desk, along with a mouse or trackball. That will be handy for writing those school papers and such, and playing games. Many new systems have hdmi output for the external display, and some no longer have a VGA compatible port, so you will want to make sure the display you get has both vga and dvi/hdmi ports.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

1. Install cygwin or Windows Services For Unix (SFU)
2. Tar and compress the Windows file system (you can delete the a lot of cruft first, such as the Windows directory, swap file, etc), and store that on a network folder somewhere, or backup archive.

If someone decides they need to restore some data, you can access it easily enough from the stored file system image. No discs require. FWIW, you might want to do the tar/compress actions when the disc is still in the original system, just in case it has been encrypted and/or compressed. That way, the archive will be in unencrypted (but compresseed) form.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I don't know about Windows, but Linux has the iNotify tools/API's to do this. Anyway, a Google search came up with this: http://stackoverflow.com/questions/760904/how-can-i-monitor-a-windows-directory-for-changes

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

If you want to eliminate an entry that is only spaces, then try this:

^[ ]*$
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I usually pare down the number of services that are automatically started in my clients' Vista machines for similar reasons - slow booting at the least. However, unless they are taking more memory than the system has (including swap space), they should not cause a BSOD.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What operating system is he running? If some version of Windows (likely), then have you tried booting into "Safe mode"?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Most devices these days can switch a port from requiring a patch cable to using a regular one, but not all do that. Apparently that was your problem.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Where is the router?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

It's sort of like joehms22 said, but it may not work using newlines alone. The printf() function is to stdout, which is buffered by default, and not output until flushed. A newline will not necessarily flush the output. So, do this instead:

#include<stdio.h>

main()
{
    printf("welcome to\n");
    fflush(stdout);
    fork();
    printf("DaniWeb Discussion\n");
    fflush(stdout);
}

Note that stderr is not buffered. All output to stderr is output immediately, so this will also work:

#include<stdio.h>

main()
{
    fprintf(stderr, "welcome to\n");
    fork();
    fprintf(stderr, "DaniWeb Discussion\n");
}
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Run video conversion tools natively, unless the OS you are using on the VM can run the conversion MUCH more efficiently than the equivalent tool on the host OS. I use ffmpeg on Linux to convert videos from one format to another. I always run them on the native OS, not in a virtual machine, but then my host OS is Linux, not Windows... :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You need to know the password for the system oracle account, which you specify I think when you install the database, though it may just default to "oracle". Login to the oracle account, and you can create any number of new dba accounts in the database.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Username/Password for what? For your local Oracle database and/or user account?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Most programs/packages contain executables, scripts, libraries, configuration settings, and possibly databases or other files. They need to be where the program expects them to be, such as in /usr/bin, /etc, /opt, /usr/share, /usr/lib, etc. When you use a package manager, such as apt-get, dpkg, synaptic, etc to install the package, the files are put in their appropriate places by the package installation tool according to the instructions it finds in the package.deb file. You can then manually move the files or installed directories such as /opt/package-name to your USB drive, and create links in their original location back to their new location on the thumb drive. There are other methods as well.

If you install from source, most source packages have a configure script which normally allows you to tell it where to install the package or parts thereof. If you do that, then you will probably have to change your PATH and possibly LD_LIBRARY_PATH environment variables so the system can find the executables and/or libraries.

So, clear as mud, right? :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Oracle has a java-based GUI for server installation. There are some scripts that need to be run as root, which you will be informed of during the installation process. Read the Oracle installation documentation. It is not simple, but the docs are generally quite thorough.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Glad you got a work-around functioning. There are a lot of gutenburg drivers for various printers, most of which work ok. I'd still suggest visiting the openprinting.org site when it is back online to see if there may be something better for your situation.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Yeah i found that same site and used the wayback machine to view the page, but had no luck with the download

The site is still down. It is maintained by The Linux Foundation and they had a serious security breach last month, requiring them to revamp all of their web sites (kernel.org, linuxfoundation.org, linux.com, openprinting.org, et al). It may be that they haven't finished fixing the openprinting site yet - some of the others just got back online this past week. So, you may have to wait a bit to get a current/valid download. Not much I can do about that other than to suggest you keep trying the openprinting.org link from time-to-time until it is back in operation.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Current Linux systems use the CUPS printer system. You need to find a CUPS driver set for the Savin. What model is this printer?

Edit: Ok, I looked on the savin web site to see if there are Linux drivers for this printer (Savin 4022), but only found ones for Windows and Mac. I did find with google search a link for open source drivers on the Linux Foundation site, but when I tried to access the information it came up as "site down for maintenance. Try again later". Here is a link so you can try later: http://www.openprinting.org/driver/pxlmono-Savin

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Can you say which are specific Driver for Windows 7?

Not really. I am a Linux user. However, you might start by looking on the MS and the device manufacturer's web sites.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

In reality, there is no difference between server and desktop Linux versions, other than the packages that are installed by default and whether or not a GUI is installed. You can easily configure a desktop version to handle whatever server duties you need, and vice-versa.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

The Fn key changes the state of the keyboard so that the next key that is pressed while the Fn key is held down will generate a different scan code than it would without the Fn key. Look at it as an alternate Ctrl or Alt key.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Most XP drivers will not work with Win7. You need a Win7-specific driver for your device(s).

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

1) Server Linux usually does not have the X-Windows GUI installed
2) Server Linux usually has services installed that desktop does not need

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Fedora, Ubuntu, Mint (based on Ubuntu) are all good. I have heard good things about Mint being very newbie-friendly.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

As others have said, you need to reconfigure your router. Usually this is a web page, but you will likely need the admin user id and password to change anything on the router.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You will likely need to install a Windows VM and compile the code there, or possibly install a Windows compiler on the Mac using Wine and build it with that. Personally, I have a real issue with CS programs that require Windows software for the class. Basically, it is a violation (IMHO) of common sense and scientific reasoning. AFAIC (as far as I'm concerned), unless the class is MS-specific, then it should allow / require the use of open source software.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You've been pwnd. If it cannot be uninstalled, or your virus scanner cannot remove it, then you will have to either uninstall it manually (remove files and remove entries from registry), or re-image your system. Good luck!