rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Once you start running Oracle you will need more memory. You can do that with virtual memory (swap space), that that will slow down the system terribly! So yes, upgrade to 64-bit Windows and if you can upgrade memory to 8GB. You will be a much more happy camper with that setup. In this case, more memory and 64-bit OS will serve you better than a faster CPU. At least you have two cores - which is equivalent to 2 CPU's. I have a similar setup with my old Dell D630, which has 4GB of RAM, but then I am running 64-bit enterprise Linux on it which works well with 4GB of RAM.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You need to disable the routing capability of the asus, and simply use it as a WiFi access point that is connected with the d-link. This may not be simple. Multiple routers in a LAN is possible, but difficult to set up and deal with. I have such a situation in my home - a Linksys and a Netopia router(s) - the Netopia is connected to the Internet. I disabled the Linksys' router functionality and am only using it as a WiFi access point and Ethernet switch in areas of the house where the Netopia rounter/access-point doesn't reach. I could have them connected wirelessly, but I use a power-line connector instead. Works great (reliable) and has good bandwidth to connect the two devices.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Get it repaired? Either you have a hardware problem keeping the system from booting, or there is a software problem with the operating system. I would suggest trying to boot into the BIOS - hold down the F2 key when you power it up. If that doesn't work, then it is likely a hardware problem with the system. If it does work, then your hard drive may be failing, or your operating system has become corrupted.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

The badblocks command doesn't care. Read the man page before you start though. Also, backup all the audio files first in any case.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What version of Windows are you using?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Don't know - never used it before. I found it with a Google search. FWIW, you should have installed the rpm with yum, not rpm since the rpm command won't deal with dependencies. I would suggest that you remove it, and then reinstall it with yum. That may help. No promises though. You are treading in mostly uncharted territory. Also, you might want to post the output of "ipkgbuild --help" and the man page for ipkgbuild (man ipkgbuild). We may see something that will help you sort out your problems.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

It used to be said that C++ is C with classes. In fact, early C++ compilers would simply generate C code and then compile that. Before C++ was generally available, I used to write C code much like what C++ compilers would generate at that time. Honestly, I much prefer C++ to C now, and if I have to write C code, I still use C++ compilers, except for Linux kernel/driver code (for the most part).

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I've always considered Java to be C++ with training wheels, garbage collection notwithstanding. As a matter of fact, Java's garbage collection (gc) is a major contributor to performance issues for Java applications that are long-running and serious resource users. I wrote a reference-counting gc for C++ back in the 1990's that allowed us to run major enterprise applications written in C++ 24x365 with no memory leaks, and NO application-level delete calls! That code is still running most semiconductor, LCD display, and disc drive manufacturing plants today. These are plants where 1 hour of downtime costs about $10M USD in lost profits...

Smart pointers are fine, but unless they are combined with reference-counting life-cycle management, are of limited use. I'm not that familiar with C++11's shared pointers, so it looks like I have some additional research to do. :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Yes, exceptions are standardized, and all compilers that I am aware of handle them correctly (not always the case in the mid-90's). This signature indicates that Funct1(int) may (or may not) throw an exception. In any case, throw() specifies that it may throw ANY exception. Usually you specify what exception type(s) it may throw. Your usage is a "catch-all". Caveat programmer! :-)

Just a bit of history. In the early-mid 1990's we were writing application development frameworks and applications in C++ that had to run on many different Unix systems (and Windows as well as embedded systems), so consistent exception handling was required. I wrote a recursive routine to compute fibonacci numbers using exceptions to test them. You would be surprised how many failed that test! Let's just say that a lot of major corporate VP's of engineering had some interesting phone calls (Sun, IBM, HP, DEC, et al). Needless to say, since we were a major partner for all of them, the problems were resoved PDQ. In any case, this was not the only compiler issue with many of them. I'm sure that to this day, I am remembered "fondly" by many!

As for the rules changing in the future - it may happen, but probably not - Bjarne would roll over in his grave if he is not around by then! :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

If you have SELinux enabled then try this:

setsebool -P samba_export_all_ro on

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Have you gone to the Toshiba user forums to see if others have had this problem? I suspect that few of us have the same gear as you do, so looking on the Toshiba forums is a sensible (to me at least) approach.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Assuming you want a free tool, then I would suggest that you check out Blender. Not sure about #3, but #2 (multi-track audio) it handles. It is a professional quality tool - mostly used on Linux or OSX (Apple) systems, but it has a Windows version as well. Other Linux tools that meet your needs include Cinelerra, OpenShot, and KdenLive. These days, the preferred audio-video editing tools are Linux ones unless you want to pay thousand$ for commercial tools that are often less capable.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Re. ipkg for installing .ipk packages. Let me do some research and get back to you on that. I've been running RHEL/CentOS/SL systems for about 8 years now and never ran into that requirement! :-)

Ok. Here is a link to an RPM that will install the ipkg installer on Red Hat 6.x or compatible (such as CentOS) systems: http://rpm.pbone.net/index.php3/stat/4/idpl/21706162/dir/redhat_el_6/com/ipkgbuild-0.8.0-1.el6.pp.noarch.rpm.html

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Have you tried replacing the battery? Or removing the battery and using line power (power brick) to boot up? On some systems, if the battery is dead, then even with the power brick plugged it, it won't run and you need to remove the battery to get it running.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

That is usually a subject for experts in computer network security. I am a senior engineer with a major internet company, and I would need a year or two at least to get even a bit competent in determining who was behind some bot/botnet.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Not sure, apart from removing the drive from the ipod, installing it in a carrier, connecting it to another computer, and then running a badblocks check on the device. If it appears as a USB attached drive when the ipod is connected to your computer, then you can run the badblocks program against it as mounted, but specify the output (-o) option to write the bad blocks to a file on your Linux system. I'm not sure what the file system is that the ipod uses. It may be a fat file system, or it may be a regular ios/bsd file system. Removing it and running "fsck -l" may tell you how the disc is formatted.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Version 5.what? I run 5.5.4, and the default on my RedHat Enterprise systems is 5.3.3. In any case, run php from the command line like this: php -l filename.php
That will syntax-check your code.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Well, first of all you are missing some logic and a } for this line:
if (isset($_POST['Login'])){

BTW, what version of PHP are you running?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Give the file system on the drive a label. You can then find it with the e2label command.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Actually, I don't know any standards for pseudo-code except possibly for BNF (Backus–Naur Form) which is used for many standards, including the DDN Whitebook specification of the TCP/IP protocols.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Hassan, you need to try to solve the problem, then post your code here with descriptions (and output) of errors that you are getting, then we may be able to help you. We DO NOT do your homework for you!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster
  1. Plugging the drive into another computer may infect that one also, especially if it is also running a Windows OS.
  2. Yes, they may have your IP address, but if you are using DHCP, that will change when you reinstall the operating system.
  3. Once infected, change all user IDs and passwords when you restore your system.
  4. A lot of modern malware will also infect your recovery partition and/or boot sector, and/or your BIOS. So, do this as well:

    a. wipe your drive with a Linux system - you can boot a Linux Live CD/DVD to do that. Wipe the ENTIRE disc, including boot sector.
    b. reflash your BIOS.
    c. install Linux - it is much more secure from malware than Windows and Apple systems.

One other thing is to make sure you have disabled remote management of your router/firewall, and change its password as well (after disabling remote management), and CLOSE all forwarded ports you may have opened on your router in order to run games and such.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

As Mike2k said, apt-get/aptitude/synaptic/dpkg are package management tools for Debian-based distributions such as Debian, Ubuntu, Mint, et al. For RedHat-based distributions you can use yum, or rpm. That said, yum is the current preferred package manager for RH distributions as it deals with dependencies much better than rpm, whereas with rpm you are pretty much on your own. There are rare occasions where using rpm is called for, but only in rare, and advanced situations, and then it is a case of caveat developer (developer beware!)... :-)

FYI, Suse distributions use yast, which is also an rpm-based package manager. So, if you want to install an rpm meant for a RedHat system, it may also work on a Suse/OpenSuse system (and vice-versa). Again, caveat developer/user!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

So, understand what the various functions/processes need to do (RTFM), and then write out how you would, in simple words, how you would go about performing those processes - this is called "pseudo code". Then consider how you would do that in a C++ class-based environment where strings have their own class. IE, the signature for strcat(target, source), may be something like this:

MyString& MyString::strcat(const MyString& source)
{
    ::strcat(this->raw_string, source.raw_string);
    return *this;
}

Of course, you will also need to add code to increase the size of the local raw_string variable as necessary. This is just one example, and not a particularly great one - I wouldn't use it for production code!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Two popular multi-platform IDE's for software development are Eclipse and Code::Blocks. I have quite a bit of experience with Eclipse and little with C::B, but I have heard a lot about it. I did install it once, and decided that if I wanted an IDE I would use Eclipse. Myself, I prefer a good programming editor, make tools, and compilers.

jwenting commented: irrelevant -3
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

There are a number of unlimited precision math tools. The most used one is probably boost. Here is a wikipedia article about arbitray precision math tools: http://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Well, set_intersectWith() is not implemented. If you don't write the code, how do you expect it to work?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Some viruses / malware are VERY hard to find, and may not be detected by your tools. Another possibility is that the drive is starting to fail, and a lot of the lag is due to the system re-reading disc sectors until they get them successfully. Most modern system drives have a thing called S.M.A.R.T. - this is software that runs on the drives themselves and monitors them for bad sectors, overheating, etc. Here is a link to a list of such tools. You will probably want to look at the drive SMART data next.

http://en.wikipedia.org/wiki/Comparison_of_S.M.A.R.T._tools

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Have you gone on the device's web site and looked to see if they have Win7/Win8 drivers for it?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

A couple of minor issues with the assignment operator in StuXYZ's example:

Way& Way::operator=(const Way& A)
{
    if (this!=&A)
    {
        id=A.id;
        name=A.id;
    }
    return A;
}

should be this:

Way& Way::operator=(const Way& A)
{
    if (this!=&A)
    {
        id=A.id;
        name=A.name;
    }
    return *this;
}
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Me, I have some futures in the Brooklyn Bridge you might be interested in. Far below par value I think! Sorry for all the sarcasm cazmere, but your question is way too vague to answer. Try to be more specific, as in do you want to learn how to write programs?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I would suggest a strongly recursive language such as prolog, lisp, snobol, APL, etc. :-) Yeah, we are getting into the prehistoric era of programming, but that doesn't say some of those languages aren't appropriate for this purpose!

These days, given the penchant for web-based programming, javascript or some of the newer languages that compile to JS may be appropriate as well.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Remember, for Windows, if your user uses backslashes (normal Windows format) for directory separators, then fopen will need double backslashes since the backslash is an "escape" character in C strings. Alternatively, you can convert the backslash into a forward slash (/) and the path should work on Windows as well as Linux/Unix/Mac, et al. Caveat Programmer! :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I'm sure there are some here who speak Portuguez - I speak Spanish and can guess what your comments mean, but others don't. Please translate your post into English as well as you can.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What kind of system do YOU think would be useful to a business owner?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Myself, I usually write a function (for C programs) or a class (for C++ programs) that handles tokenizing of data - ie, extracts each token to be analyzed. I have found that strtok is unsuitable for all but the most elementary uses. Usually, you will pass a list of delimiters to the function, along with the string you are looking at. Then, you can extract the numeric or other data that the token (substring) contains. So, properly done, this string will result in the tokens 1, 2, 3, 300, 400, etc by passing the delimiters " and ' in the the function argument (it assumes that a token ends with a whitespace unless the string is within a delimiter pair): 1 2 3 "300" '400'.

This is called, for lack of a better term here, "generic programming". As a result, this function can be used in many situations, and can be tuned to the local requirements simply by changing the delimiter list.

Example:

const char* numlist = "1 2 3 \"300\" '400'";

char* getToken(const char* pStr, const char* delimiters)
{
    /* Note, the caller has to free the returned string as necessary. */
    char* output = calloc(strlen(pStr), sizeof(char));
    size_t outposn = 0;
    bool indelim = false;
    for (size_t = 0, j = strlen(pStr); i < j; i++)
    {
        if (strchr(delimiters, pStr[i]))
        {
            if (indelim == false)
            {
                indelim = true;
            }
            else
            {
                output[outposn] = 0;
                return output;
            }
        }
        else if (isspace(pStr[i]) && !indelim)
        {
            output[outposn] = 0; …
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You don't say what country you are in. It looks like a moderate Linux/Android fondle-slab (tablet). Not shabby, but not high-end either. Memory (RAM) is minimal (1GB), and internal memory storage is adequate (16GB), but you can add a 32GB SD card to complement that. It appears to be from the United Arab Emirates. Since I don't know where you are located, this may or may not be helpful.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Do I hear an echo...echo? :-)

Basically, it means that some program cannot find a DLL where it expected to. Either it was deleted, or moved. Usually this is a user error in trying to "clean" the system of unnecessary files.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

A dll file contains relocatable binary data/code that can run in a Windows environment. There may be readable strings contained in it, but most of the data is machine code of some kind. As others have suggested, there are cracker and decompiler tools that can turn the binary code into a more readable form, though it will not necessarily be "human readable" unless you are an accomplished assembly language programmer.

So, my question to you is this (in 2 parts) - why do you need to do this, and what do you need to accomplish by doing this?

They are pretty much the same question, but with different intentions.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

.wav files are just data files which contain sound recordings in a non-compressed format (raw data, as opposed to .mp3 files which are compressed and of a different format). If the video player that you are using (Media Player Classic in your case) cannot find it, then you will indeed need to copy it back to your computer - either off of the internet, or from a backup disc or flash/usb device. VLC will behave the same way - it doesn't "keep" a copy of a played file. It just plays files from your system discs.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Sorry, but we don't do your school assignments for you... :-( There is a plethora of information on the internet about this. Start with a Wikipedia search.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What operating system are you using? Also, I presume you want to use free (preferably open source) software?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Learn by doing. Decide what program you would want to have, and then create it - there will be a lot of pain and gnashing of teeth in the process, but when it does what you want, you are ready to move on to more.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

How don't your java programs work with eclipse? Please explain in detail. FWIW, eclipse alse supports C/C++ development.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What deceptikon said. More memory is good - if your system supports it, then 8GB is appropriate, especially once you start running Oracle. BTW, what operating system are you running?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

So, you expect us to analyze 200+ lines of code to find where your logic sucks? Review it yourself with a critical eye, and then post a smaller bit of code here if you still need help. Of course, 136 lines of this input is just data - what does it mean? In any case, just post the relevant data.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

This is not clear. Please be more explicit. I am a senior Nokia systems engineer.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Assuming you are running IE, have you tried Chrome or Firefox?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What audio player are you using? If the normal Windows Media Player, have you tried VLC?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

It is possible that someone has pwnd your youtube account. Have you contacted their support page? Have you tried creating a new account? Have you changed your gmail/google password?