rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

It really doesn't matter. You can run one desktop, and still run applications built for others, such as KDE apps on Gnome, Gnome apps of XFCE, etc. You can try most of the with live CD/DVD distributions without installing them, to find one that you are most comfortable with. I have used Motif, KDE, Gnome, TWM, XFCE, and others though currently I am running Gnome (with a bunch of KDE applications as well) on Scientific Linux 6 (a clone of Red Hat Enterprise Linux 6) that I am pretty happy with. You will always have issues - nothing is perfect. That's why I suggest you try a bunch of live DVD's to see what you like best. Burn the appropriate ISO images to a DVD-RW so you can reuse it with different distributions as you go.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Best guess? Your keyboard controller is fubar. Are you using a PS/2 keyboard, or is it a USB keyboard? If PS/2, then try a USB one (no keyboard controller). If it is a USB keyboard, and your system has a PS/2 keyboard port, then try one of those. If USB and no PS/2 keyboard port, then I'd think about trying to reinstall the operating system to see if that fixes things.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

This is not a simple subject.

1. As a NetAdmin you will have to maintain firewalls, network sub-nets, internal/external access rules/permissions, and a lot of other stuff.
2. Problems: people always expect that whatever they want, they should be able to do, including sending "sensitive" materials to external users. Dealing with all this cruft is not simple, and requires a lot of political acumen.

Good luck in your endeavors! :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Has this been happening since you got the system, or only recently?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

The file system is corrupted. You need to run chkdsk (Windows) or fsck (Linux) to fix the file system. You also should scan for back blocks since the drive may be starting to fail.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Learning all of the standard Linux commands in a week? Do you have a "wayback machine"? I've been using Unix/Linux for 30 years professionally and there are still commands that I don't know well; and I was the senior/principal software engineer for a top-60 software firm for 20 of those...

Anyway, install a mainstream version of Linux on your PC (at least in a virtual machine - I use Oracle's VirtualBox) and as suggested by others, download a lot of how-to's and such, and just start using it. Use the command line as much as possible since the GUI's available will insulate you too much from the actual commands that they use under the covers.

Good luck!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Nobody uses the Windows burner if they don't have to. There are a lot of much better programs to do that, such as Nero, Alcohol 120%, and some open source tools.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Sounds like you need to do some serious reading. Answering these questions are not simple and I don't have the time to hold your hand - that's what I do for a living...

1. Go to the Microsoft web site and look up documentation for .net and odbc in that environment.

2. Creating DB2 stored procedures is not something I have a lot of experience with (Oracle and Sybase/SQL-Server I do). Go to IBM's DB2 web site for documentation on that. The short answer to your question is: yes, you probably can create a table and then insert data into it in one stored procedure.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

The easiest thing to do is to use the .net ODBC libraries.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Actually, fstream on linux (32-bit or 64-bit) should not have a problem with a 4GB+ file. I process them all the time on a 32-bit Ubuntu 9.04 system on my laptop. In any case, seeing the source code for the write+read operations would be helpful.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You probably have some bad blocks on the disc (it may be failing), so chkdsk will take a long time. You need to run chkdsk with the "scan for bad blocks" option, so it can map those out of use. You also may want to consider replacing the drive.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I usually put the OS on one drive, and user data on the other. That gives you the best split of performance, and reliability. IE, you can replace the system drive if it fails without losing your data. I do the same on Linux as well, so I can boot other operating systems, and still have access to all my user data.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Since you said that other devices connected to your surge protector would not run either, did you think about replacing that?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Run the disc check utility with the "scan for bad blocks" option enabled. You will probably need to reboot the system so it can do that. It will map the bad block out of use. If some service that is running under normal mode is either located on that block, or accesses data on that block, this should fix it. Newer discs have SMART controllers that monitor the health of the drive. I don't know about Windows 7, but current Linux distributions have the ability to monitor that. If you can view the SMART data, it may indicate whether or not your drive is starting to fail. Since SMART will automatically map bad sectors up to some limited number, normally the OS won't see bad sectors until that number is exceeded and the drive controller can no longer remove them from use.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What data format is the server expecting? Binary, or ascii? Have you looked into the OMB Corba specifications?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Are you using DB2? Or some other dbms?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Best? Lot's of opinions about that. If you want something that has a chance of running on different operating systems, then use Linux and g++ for c++ and OpenJDK for Java programming. All free, widely used, and robust.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

When you sign off, all user processes are terminate unless they were started with the nohup command. IE, you need to start the script with nohup. See the nohup man page for details on how to do this.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Usually this is an issue with the PCM (hardware) sound settings being set to minimum or too low. Go into your audio preferences (right click on the audio icon in your top menu bar) and make sure that the PCM output is set to max, and your "master" volume is set to something reasonable, like in the middle of the range.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Have you try with this just in case

sudo apt-get install netbeans

without the 7

Also, please post the actual output of the sudo command.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You can connect to the internet while in safe mode? If so, then it doesn't experience a slow-down? If that is the case, it kind of shoots down my thinking about interrupt storms. What about A/V and firewalls? If you disable them, does that change behavior?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Is the performance still slow while networking in safe mode? If it worked in normal mode (albeit slow), then it should work in safe mode as well. If it is a hardware problem, it is more one of system stability vs. non-functioning altogether.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I also like nVidia hardware, but the 4250 is not a bad GPU. See how it works for you. If you decide later to upgrade to a faster graphics card, then you will also probably want to upgrade your power supply to 750W.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Not without extracting the files, renaming the directory, and then re-zipping it, as far as I have been able to determine.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

This sounds suspiciously like a hardware interrupt problem, given this happens with USB, wireless card, and wired ethernet. My guess is that there is a fault in the motherboard and/or interrupt controller for the board.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Well, if performance is not impacted, then probably this is not an issue. As they say, if it ain't broke, don't try to fix it! :-) Honestly, scheduling interrupts are largely dependent upon the schedulers you are using, and load factors that I cannot know about.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

So compile it with gcc -g prog.c Then run the program as

gdb a.out
<<snip wordy gdb output>>
run

When it crashes, use 'bt' to print where it happened.
'up' and 'down' navigate the stack
'print' can print variables

Find out what variable contained a garbage value, and work from there.

Or, run it in the debugger. When it crashes, the debugger will let you see what was going on (hopefully) to cause this. Post-mortem debugging using the core file is useful, but sometimes running in the debugger is more helpful.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Was this a new, or was it a reconditioned (reloaded) cartridge?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What is the actual output for RES? Rescheduling interrupts occur frequently due to scheduling priority issues. Example: my Scientific Linux 6 (RHEL 6 clone) after 11 days uptime has 400-500K RES events for each of 8 cores - about 4M in total. There are about 3x as many function call interrupts (CAL), and a fair number more TLB shootdowns (TLB). So, without some real numbers, there isn't much we can say about whether or not your system is performing abnormally. In sum, please post the following information:

1. uptime
2. full output of the "cat /proc/interrupts" command

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I have a Nexus One running Android Gingerbread (2.3). When I plug it into the computer, it brings up a screen to connect it to the computer as a USB drive. If I only want to charge it, I just go to the main screen. If I enable it, then the drive appears and is mounted on my computer just like any thumb drive.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

actually i need a c++ framework for improving performance

Go to the IBM web site and look for their Purify/Quantify tools (acquired when they purchased Rational, who previously purchased Pure who originally developed the tools).

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Ah. Well, unetbootin will create a live USB thumb drive from the iso, but as far as I know, you can't just use it to install the system. Of course, I haven't used unetbootin in almost a year, so it may have changed. What OS were you running it from?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Is it just the installation DVD, or is it a live DVD? I assume you burned it to a physical disc (DVD)?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Ask them about tethering. That's where you connect the phone via usb cable to the computer, and it turns into a wireless modem.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Boot your unetbootin device, which is basically a live USB/CD/DVD, and log in as root. Start a terminal (command line) window and execute the command "fdisk /dev/sda". This should put you into the fdisk (disc partitioning utility). Delete the Linux partitions, quit (it will save the new partition table, and then run the install tool.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Different plans, different prices. Go visit your local mobile phone store (Sprint, AT&T, T-Mobile, Verizon, et al), or their online web pages, to get more information about plans and prices.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Well, some 3g phones can be tethered - to act as a broadband modem. Alternatively, you can get a data account and 3g USB modem from your cell phone provider. I used to have a Sprint data account with a wireless cell modem just for traveling, but it could be used at home as well as a backup internet connection.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Or as our friend Homer Simpson would say, "Doh!"... :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

On my Android phone, after connecting it to my desktop I have to enable the "Turn on USB storage" function. I'm running Android 2.3, but it was the same with 2.1 and 2.2.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What about wireless broadband? Can you get 3G/4G cell phone coverage in your area?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Click on the Properties tab next to the disc selection box. That brings up the properties page. Change the speed from "Max speed" to something a couple of entries slower. Burning at the maximum speed the drive or disc can handle is usually a good way to make a coffee coaster. On my 16x drive I usually burn at 8x or 12x.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

That's called a wireless bridge. It can pick up a WiFi signal and let you connect with an ethernet cable. Is that what you are looking for? If so, here is a link for one at buy.com: http://www.buy.com/prod/zyxel-wap3205-300-mbps-wireless-n-access-point-ethernet-client-and/q/loc/101/211875912.html

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What burner software is your system running? Brasero? Have you tried changing the burning options in the tool, such as buffer size, etc? Also, when burning, you want to be sure that you aren't running much else that takes CPU or I/O (disc) cycles or you will experience the problems you have seen. I have been burning discs on Linux (Ubuntu and Red Hat) for years without problems, but I have had a few "coasters" when I forget and start running software that does disc I/O or too much CPU.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Are you saying that your thumb drive has been infected with viruses/malware in the past? From your home computer, or from the office computer? You also indicate that your AV software scans the device on insertion. Is that true? On both systems?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Well, maybe not graduate-level courses, (I am only 14) but it requires reading lots of books.

:-) Well, I for one don't assume that age (or lack thereof) means one cannot understand this stuff. My 16 year old grandson was writing Linux kernel modules at your age, and he is now designing auto-piloting custom-built drone aircraft and helicopters, guided by an embedded system and gps. At 8 he rewired his mom's FM radio so he could use his toy walkietalkie to call her from the back yard! "Hey mom, can you bring me some lemonade?".

FWIW, his aircraft work very well. Mostly he flies them with RC gear, but if they lose contact with the base station, they use the GPS and embedded software to return to base and land without human interaction!

sergent commented: cool +4
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

@sergent

Definitely! Linux is essentially a Unix operating system - not a subject to cover in short snippets. More a series of graduate-level courses I think...

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Since the previous character (the one erased) and the backspace are both counted, then the input stream must be in "raw" as opposed to "cooked" mode. Basically, you need to change the input attributes so that the backspace really removes the previous character from the string/stream. If it doesn't, then you will need to create a callback to handle that for you.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Try indenting your code between braces. It will be a lot easier to read.

Comments:

1. Use loops with control values, not goto statements. I'd fail you for that alone if I were teaching the class.

2. This is a C++ class. You are writing C code. Structure your application with classes - one for the ClassesOffered, and one for Student. The Student class will contain a vector of classes that are taken by each student. Create the appropriate methods for each class, such as name, creditHours, and cost for the ClassesOffered class, and name, classesTaken for Student. One of the methods for the Student class would logically be to compute the total cost for that student. Constant values such as Miscellaneous and Mailing fees should be assigned to constant variables which you would use in computing costs in the Student class.

3. Don't use the gotoxy(x,y) function to position the data on the screen. That is not a standard C++ construct and will only work on a few systems/compilers. Just use output to cout and let the screen scroll.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Does it also count the previous character entered?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Running these sort of games really exercises the RAM. You are more likely experiencing a system RAM overheating problem than CPU or GPU overheating since they have dedicated cooling fans. When system RAM overheats, the system will often shut down to keep from "cooking" all the components. How it behaves is largely dependent upon the operating system. My enterprise Linux system will simply remove the overheating RAM stick(s) from the system virtually so they don't get used and can cool down. Unfortunately, this can result in other problems, such as inadequate memory for running processes.