rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

All laptops/netbooks break at some time or other. What distinguishes one manufacturer from another is how they deal with warranty work. Dell is hands down the best for that, in my experience. With my grandson's acer netbook, when it was overheating, we sent it in for repair - they sent it back saying it was OK (NOT!). When I had a similar problem with my Dell D630, they sent me a replacement system (sans disc drive) via overnight shipping. I swapped the disc drive from the old system, verified it was working ok, and then shipped back the old system with the shipping box and pre-paid shipping label they provided. No muss, no fuss.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

All current graphics cards should support vanilla VGA mode so you can get into the BIOS, and such like installing drivers, etc. If your monitor does not show anything, and you don't have an on-board video adapter, then there is some other problem happening.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

So, is this a question? If so, what is it?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

All cell phones are trackable, using their unique imei number. That is registered with all cell towers in range of the device when it is turned on. That is what the "Find my iPhone" app uses to track your phone if it is lost or stolen. Even if the SIM is changed, the IMEI number is hard-wired into the phone. I don't think it can be changed.

Daniel Jones commented: Thanks rubberman +0
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

This is not particularly informative. Without more information, such as just exactly what you are trying to do, it will be pretty much impossible to help you.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Are you sure it is plugged into a compatible slot on your motherboard? What interface does the video card use - pci-x??. Is the slot compatible with that?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Well, you aren't posting the stack trace, nor the related code. Without that, helping you is not possible.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Sorry, but the last time I did anything with COBOL was about 25 years ago... Try learning the language. The problem should not be difficult to solve, I would think. It is just basic I/O.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

My guess is that these are "filler" tracks, containing nothing, but there as separators for the actual music. Unfortunately, without access to the system(s) in question, that is just a guess... :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Have you done a complete shutdown and then recharged the battery before you tried to boot it up?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

These are linker, not compiler errors. Do you have the libf2c package installed on your system? Also, why use f2c instead of gfortran?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

It's probably your anti-virus scanner that is doing it. McAfee does on-access scanning, which is incredibly CPU intensive. Try disabling it temporarily and see if that solves your problem.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

It depends. What OS is your laptop running? Some (like Windows) will let you use your laptop's wireless as an access point, in which case this may work.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Assuming you just want an internal network address, you need to go into the dhcp setup page on the local router and see what the dhcp address range is. Then you go into the network manager application on ubuntu and set the network interface to use a static address that is outside of that range. You will also have to set the netmask, dns, and gateway addresses, so before you do that, run the ifconfig command to see what those values are for the dhcp address you have now.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Speaking of recursion, I once wrote a test for compiler exception handling (when exceptions were new to C++ in the early 90's) by implementing a Fibbonacci algorithm using exceptions only. You could use that methodology here as well... :-) Anyway, you would be surprised on how many compilers failed that test!

And I'd post the code here except for the fact that I'd have to dust off one of my old floppy disc systems since the code is in one of my old floppy disc archives...

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Learn about finite state machines (FSM). This is how professionals create parsers. There are tools that help with this (Yacc/Lex et al) once you have written the rules needed by the tools. They then create C code that will do the heavy lifting for you. Remember, Google is your friend!

Also, fwiw, the modern version of Yacc (a Unix tool) is Bison (a GNU tool that is compatible with Yacc).

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Before we will help you, you have to make an effort on your own to solve the problem. Try writing pseudo code first - how would you solve the problem in words. Then try to express that in code and class structures. Describe the classes you will need - what elements of the problem they reflect, and what data and methods they may contain to help in solving the problem. As for me, until you go this far, I'm not interested in giving you the answers to your homework problems... :-(

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Send it to the manufacturer. These boneheads are clueless and you should not trust your gear with them - just my humble opinion. As for cost, most manufacturers have a fixed price for out-of-warranty repairs. Check on their web site. If they don't have a repair depot in your country, they probably have authorized/certified independent repair sites that they will send your system to.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You don't indicate what voltage_min and voltage_max may be.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

My guess is that when the application adds the pointers to the top container, that it deletes them when finished, resulting in the access violation. You should probably run the application in the debugger so you can see if that is the case.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Consider Linux samba shares just like Windows shares. If you don't have AD (Active Directory - or OpenLDAP, the Linux equivalent to AD) installed on your system, then you need to have a userid/password for each authenticated user who can access your Samba shares, on each Linux system you want to allow them access to. This is why a single-sign-on method, such as AD or OpenLDAP, is so useful.

So, I think you have some more studying to do, and a recommendation? Install a Linux virtual machine (or 2 or 3) on your Windows PC and experiment with these tools.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You are on your way to c++ coding mastery. As for keyboard input, look at some of the massively available open source code available. In the open source universe, there is no such thing as stealing (unless you don't give credit where credit is due!)... :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I think that rpm uses bzip2 to compress the image, which is significantly more efficient (usually - not always) than gzip, with respect to size at least. BTW, you can create a compressed tarball with just the tar command. For a gzipped one use tar -zcvf tarballname sources*, and for a bzip2 tarball use tar -jcvf tarballname sources*. You can leave off the 'v' option if you don't want the verbose output.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Good link oh m4ster r0shi! The application of recursion for such tasks is one of those elegant applications of logic to overcome system limitations. I used a similar approach to generate the prime factors of very large numbers, such as Goedel encodings.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You can write a genetic algorithm based document clustering program and cannot figure out how to integrate it into a "standard" search engine? Well, I'm not sure there is such a thing as a "standard" search engine... Anyway, what approach are you trying?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Good suggestion Mike! I'd just make one alteration in your showMessageDialog() text, to

      JOptionPane.showMessageDialog(null, "Not good at following instructions?" +
                                            "\nI said enter a number between 1 and 10 bonehead!");

:-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

The first exception, java.sql.SQLException, is the one you need to resolve first. It is telling you that you have not connected successfully to the database. Anything after that won't work, hence the subsequent exceptions. Solve that one first. Maybe the database is inaccessible from your computer, or your database user/password is incorrect, etc.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Your setBaseSalary() function should be tagged as throwing an exception. IE:

 public void setBaseSalary( double salary ) throws IllegalArgumentException
 {
        // TODO: implement this method
        baseSalary = ( salary < 0.0 ) ? 0.0 : salary;
        if (baseSalary < 0.0)
        {
            throw new IllegalArgumentException("Negative base-salary values should be rejected by setBaseSalary and result in an IllegalArgumentException");
        }
 }

Not specifying that the method throws an exception is an error, and should have been trapped by the compiler.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Most library header files these days are C++ safe, using the aformentioned extern "C" {...} constructs necessary to make C++ use C linkages for these functions. If you do include a C header that is not C++ safe, then the linker will likely complain about missing symbols. That can be fixed easily enough in your C++ code with something like this:

extern "C" {
#include <unsafe_header.h>
}

In any case, a lot of C++ code uses SQLite so you shouldn't have too difficult a time with it.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I wrote my first smart-pointer class in the early 90's which implemented a reference-counting garbage collection pattern. It is used for the most widely utilized manufacturiing execution systems software in the semiconductor, flat-panel display, and disc drive industries. In 10M lines of code, there are no deletes and no memory leaks. The hardest part was dealing with recursive (circular) references. So, what decptikon said - look at the implementation of the standard smart pointer classes/templates that are in the current C++ standard, and other frameworks such as Qt and Boost.

mike_2000_17 commented: 10M LOCs no deletes? That's how it should be! But, isn't there one delete in the smart-pointer definition? +13
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Just like human languages, once you are fluent in one it is unlikely that you will confuse it with another that you are also fluent in. I know a LOT of programming languages, and have never had a problem moving from one to another. If I don't use one for a long time, I like to have documentation handy for those niddling edge cases that can drive you to distraction. A good example of that is java, which I have been back to serious programming in after a 7 year hiatus.

In any case, I would agree that for simularity to C/C++ that php would be a good choice as a web application language. Another one good to learn would be javascript.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You have an explicit return before the end of the loop, so there is no looping going on. All of what VernonDozier said goes double for me.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I don't see anything in your code that would cause Ctrl-C to not deliver a kill signal to the application. Since this is a console application, I assume you are running it in a cmd.exe window?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

To solve this problem I usually just wipe the disc and install Linux...

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Most current laptops have pci-x hardware, but no easy way for a user to connect to them, other than via a docking station, or in the case of the ViDock devices, via the ExpressCard port, which this model should have.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Are you asking if it can run using the Toshiba drive, or are you asking if you can boot from an operating system already installed on the Toshiba drive? In the first case, probably, as long as they use the same interface (PATA or SATA). In the second situation, maybe, though most manufacturer installed Windows operating systems are configured to only run on the same hardware.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

There are a lot of java tutorials on the Oracle web site that may help understand what you are trying to fathom. In any case, here is a link to a page on Oracle's java site that explains it clearly: http://docs.oracle.com/javase/1.5.0/docs/guide/language/static-import.html

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What is the internal controller you are using for the robot? Figuring the wired webcam is USB, does the internal controller have a USB port? What OS is it running?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Want a LInux laptop? Go to www.zareason.com - no Windows from them!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

This isn't enough information to be helpful. Please post your compiler error output here. Thanks. Also, post the relevant source code.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Several things. This function (which should be a const function as in Element operator+(const Element&obj) const;) adds one Element to another. That isn't what you are doing. It may work if you have an Element constructor that takes a single integer argument, but in your case, you should create an Element operator+(int) const method, and then reverse the order of arguments in your output stream to cout << (b+5) << endl;

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

The allocation size on the disc should have zero to do with the health of the USB hardware. This sounds a lot like some sort of urban legend.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Sounds like this laptop needs a visit to the factory repair depot.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

There are any number of sata -> esata cables and adapters available for just a few dollars. Try a Google search on the terms "sata to esata adapter".

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You might try using the inotify enabled version of rsync.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Install Linux in a virtual machine that uses bridged networking (so the VM gets a fresh DHCP address from the family router). Then, use that for web surfing. That should completely bypass the Windows filtering tools. Also, have you tried browsers other than IE, such as Firefox, Chrome, or Opera?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

It shut itself off in order to avoid damage. That said, it is likely that your system doesn't have enough cooling capacity to deal with high performance computing. Mine used to have a problem with overheating memory chips until I reorganized them so they got better airflow. I now monitor both CPU and RAM temperature on a continual basis. Does it help to open the computer's case? Mine runs cooler that way.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Try printing it out as hex first:

for (int i = 0; i < length; i++)
{
    if (i > 0) cout << " ";
    cout << hex << (int)buffer[i];
}
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Are you sure your cable is wired correctly? Try plugging a null-modem adapter into one end or the other.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

With the current push to "The Cloud" and "Big Data", companies are looking for professionals who understand large-scale distributed systems. This field includes software engineering/programming, networking, machine learning (statistics and advanced maths), and databases. These are the areas that I have been involved with for years, and were the source that landed my current position as senior systems engineer for a tier-one mobile phone manufacturer.