rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I agree 100% with HappyGeek. Just think as the cloud as being an external data center. You still have to put in place the security methods you do for internal ones with external access. At Nokia we had thousands of servers in the Amazon cloud, and virtually no security issues, but then our network security people were very dilligent in how they configured the systems, network connections, and all that cruft. They did in the cloud what they did in our own physical data centers. As a result, I never heard about any breaches of security, and I managed our performance, test, and analytical accounts in AWS - I would have been informed.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

As I mentioned before, you need to install all the pkcs11*.h files in the source/Crypto directory. That should allow the CFLAGS options in the Makefile to find them for the build.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Ok. I'm almost there. The three pkcs11.. header files have to go into the TrueCrypt source/Crypto directory. Then you need to install the Linux native assembler nasm, and the fuse-devel (developer) package that has the fuse headers. After all that, it successfully built for me, though I haven't tried running it yet. :-) You'll find the linked executable "truecrypt" in Main under the source directory. Ok, I was able to run it with the --help option and get the command-line options.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You should be able to build it by extracting the directory with the command: tar -zxvf "TrueCrypt 7.1a Source.tar.gz"

After that, cd into the source directory: cd truecrypt-7.1a-source
Then run the "make" command. Do note I just tried it on my RHEL 6.6 clone system and it had some errors with missing header files. I will try to resolve those and get back to you. You can also download the pre-built Linux executables and run those.

Re-reading your original post, those headers you need to wget are those that I am missing. I'll install those and see what happens.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

On Linux systems, double quoting a directory or file name will deal with the spaces. IE, your adding "\ " values to the string are problem causing this error. So, the string probably should be this: "~/.PlayOnLinux/wineprefix/LeagueOfLegends/drive_c/Riot Games/League of Legends/"

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

This is a good exercise in bit-twiddling. Just remember, a left shift is a multiply by 2, a right shift divide by 2. Your logic is faulty and you need to rethink how to deal with the bits. Here is an example:

2 (dec) == 0x10 hex.
3 (dec) == 0x11 hex.

So 2+3 == ??

0x10 + 0x10 (2+2) == 0x100 (4)
0x100 + 0x1 (4+1) == 0x101 (5)

which is 2+3. So, without adding this would be the same as (0x10 << 1) | 0x1 == 0x101 (5). No &'s required.

ddanbe commented: deep knowledge +15
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Function? The only function you have is main()...

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Please post the code directly, and describe the problems you are having.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Systems shut down automatically when certain things happen, such as overheating. Is this a laptop or desktop system? What is the power supply rating (in watts)? Are the cooling fans working?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

We don't do your homework for you. Write the code, post it here along with the errors you are getting, and we may help you...

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Just remember that PHP is a true object-oriented language. Use it appropriately. I posted an article in these forums about how to best utilize it.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Open Office (and Libre Office) should not install any other apps with it. Where did you get the install files from?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You can also try configuring your power settings to only speed up the cpu and RAM when needed for processing purposes, throttling it down when not necessary. This will usually help control system temperatures. Don't set it on maximum continual power.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

This is a simple factoral problem. 1, 2, 4, 8, 16, 32, 64, 128...
As DaveAmour asks, do you have any code yet?

miazara commented: #include <iostream> #include <iomanip> using namespace std ; void main () { int total_month; float total_salary = 0, total_pay = 0; c +0
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You need to be more specific about what you want and the problems you are having. And GOD or $$ have nothing to do with this!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Actually, you can modify it for personal use, but may have to pay a license fee if you want to redistribute it (sell it) with your changes - or at least get permission. I believe that is part of the LGPL lincense. At least that was my understanding when I worked for Nokia when it still owned Qt.

Anyway, I would have to look at the current licensing documents to know exactly what the restrictions are. Typically, LGPL licenses allow you to modify and redistribute code provided you provide proper attribution and a means to obtain the modified source code.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

It puts the last character read from the input buffer back into the buffer so the next call to getch() will return it. Let's say you are reading numbers into a string buffer from stdin and you get a character. You want to process the numeric data and then start reading a string, so you put the character back with ungetch(). That way when you start reading a string, you start with the character you had read. Example where you are reading amounts and currency type and your incoming data looks like this:

100dollars
200euros
300pesos

So you read the 100, and then get the 'd'. You put it back in the buffer and then read the currency, starting with the 'd', getting "dollars", then 200 and 'e', putting the 'e' back and getting "euros", etc.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Ok. Then if you cannot resize the array, you will need to back up your data, and re-configure / re-format the array to the size you need. Others here may have better advice. I try to stay away from Windows as much as possible, especially with regard to this sort of thing.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

The size seen is the file system size, which was set to 250GB originally as that was the size of the smaller drive. You need to go into the disc manager tool and expand the file system. On linux you would do this with the command resize2fs for ext2/3/4 file systems, or if it is an NTFS file system on Linux, ntfsresize.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

The Linux kernel is written in C as are many of the system utilities, though python is becomeing very popular. Most large-scale programs are written in C++ or Java. I prefer C++ myself since it is much more efficient and flexible than Java (my opinion). If you want to write a GUI application, it is best to use one of the high-level API libraries available, such as Qt (a C++ library). Qt is also widely used to write Windows applications. It is very cross-platform compatible.

Slavi commented: flexibility! +0
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You can use a series of if/else branches, or you can create a set of functions for each operator and create a 2d array or 2d vector of operators and the associated function. In the latter method, you look up the operator, and call the associated function with the provided numbers. Using a 2d array will work for both C and C++ as will branching (if/else statements).

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Find a subject that interests you, and then figure out how to program an application that fits it. For example, let's say you like weight lifting and you want to track your progress in pressing more and more weight over time. You could write an application that lets you input current data on a regular basis, stores that in a file or database, and then lets you run some graphs of your progress over time, such as meeting specific goals.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Please show the entire image class definition.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What do you mean? What are the steps the computer goes through to boot Windows (or any other operating system), or how does a user boot Windows? Please be specific.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Most (all) relational databases have native C/C++ api's that you can use, and most of them also support ODBC as well. For small-medium size databases, MySQL is a good choice. For enterprise size systems, then PostgreSQL or Oracle work well. If you are running on a Microsoft operating system, then MS SQL is a reasonable choice. MySQL and PostgreSQL are open source and free database systems. Oracle is free for personal use. MS SQL is probably not (I'm not sure).

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Also, asking people to analyze 1500 lines of code is just simply unreasonable!

Stuugie commented: Agreed. +6
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Software engineering is mostly thinking about data and how it should behave and interact with other data. This gives rise to the expression "data driven architecture". Here, the term "architecture" is key. Look at applications as designing and building buildings... (sic). These days, I recommend starting with some modelling tools, such as UML. There are decent free ones available on the internet, and some really good ones that are not overly expensive (Enterprise Architect - about $200 USD for the professional version, and free for trial purposes).

There are many programming languages. Start with one, learn it well, and then migrate to others. Over 25+ years as a professional software engineer, I have learned many languages, starting with Fortran, Basic, dBase II, C, Cobol, Dibol, Smalltalk, C++, SQL, PL/SQL, PHP, Javascript, and more. The one skill I learned in engineering school that has stood me well was formal logic. Without that, all other stuff is fluff...

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

We don't do your homework for you. Make an effort and we will perhaps help you.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

TCP/IP consists of four layers: link, IP, transport, and application layers. The OSI model consists of 5 layers. So, where is this question coming from? Observation, or just what...?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I think I prefer Windows 7 to XP, but then I REALLY prefer any Linux distribution over ANY Microsoft operating system! FWIW, this is written on a Red Hat Enterprise Linux clone, Scientific Linux, the OS that runs most major science labs in the world. If it's good enough for the LHC at Cern, it is good enough for me! :-)

RikTelner commented: "I think I prefer Windows 7 to XP, but then I REALLY prefer any Linux distribution over ANY Microsoft operating system!" +2
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

We don't do your homework for you. Make an effort. Post the code and errors here. Then we may help you.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Yeah. I just looked and Win7 is the latest. Unless Microsoft has a driver for this, I think you will have to wait as Intel doesn't seem to have one. Have you tried the Win7 driver?

BTW, voting down people who are honestly trying to help you doesn't make us too eager to help... :-(

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Have you visited the Intel web site support pages for this chipset? They should have 8.1 drivers there to download and install.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Homework? Walk through the code, line by line, and describe what it is doing. FWIW, just a cursory view has shown me a couple of bugs in this code. Also, proper indentation will help see where some of the problems are.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Time for a new printer? 5 years is an antique in internet time. I think my last HP printer lasted about 5 years as well before it self-destructed.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

JorgeM pretty much hit this on the head. All the data in a VirtualBox VM are stored in system files. You do want to use the incremental expansion option for the virtual drive though, since it will not take up more space on your system disc than necessary - growing the file only when needed. So, if you allocate 50GB of space, but are only using 20, then it will only take 20GB of space (more or less). Also, with snapshots, you can roll the VM back to an earlier state very easily if needed, such as a bad update or such.

So, if you decide you don't want CentOS on the system any longer, VirtualBox has a "delete" option for your VM's that will give you the opportunity to get rid of the VM as well as all associated files.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

If you want to get rid of the "and" and leave the spaces, then do this: $s/ and/ /
If you want to get rid of the "and" and the leading space then this: $s/ and//

No rocket science required! :-)

JasonHippy commented: definitely not rocket science! :) +9
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Python is a run-time compiled scripting language. C++ is a compiled machine-level language. With python, you can edit your source code and run/test it immediately. With C++, you have to compile and re-link your application after editing the source code.

A lot of people like python, and it is used for a lot of system tools. C++ is mostly used for the most complex and critical systems since it is rigorously defined and supports native C code for low-level hardware access. IE, I know of C++ used for real-time applications such as aircraft and nuclear power plant control systems, but python for such? Not likely!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

This is a case where you need to incorporate multiple threads - one to handle the character, and another to play the music. In a single thread, only one activity can go on at a time.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Pick either and do your best! :-)

@Mike2K - I spent a couple of months sitting in front of a computer in a huge hangar sized warehouse where the PC board lines and CNC machines were in Charleston, SC working on this stuff! That was in the early 1990's. A great experience, for sure! I'm still more proud of the US Patent I got for adaptive systems software about 10 years after that (US Patent #7,185,325) as sole inventor. Check it out. It is currently owned by Applied Materials, the 800lb gorilla of semiconductor equipment. Seems that a number of Java patents cited my work as well. :-)

naqvi.s.bukhari commented: i too struck in these difficulties ,, both i probably bachelor degree have similarities +0
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

And don't be afraid of the math! In any case, formal logic is a subject you should take for either CS or SE. I took it in engineering school, and that one class has been of more benefit to me than all the engineering and programming classes I ever took!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I think that CS is more academically oriented, and SE is more application oriented. Science vs. Engineering. You can't have engineering without the science. :-) IE, it is not hard for someone with a degree in CS to get a job as a software engineer. One of my best friends and colleagues was a professor of CS at a major east coast university. He decided to explore more practical applications of his studies. As as result, we were both software engineers together for many years and developed some really advanced systems. He and I together, implemented the entire TCP/IP protocol suite for a real-time operating system, from the Department of Defense DDN protocol handbooks that define TCP/IP and related protocols. That was used by the US Navy in their RAMP (Rapid Aquisition of Manufactured Parts) program that enabled the Navy to reduce time in dry dock for a battleship or destroyer from months to weeks when getting new parts. We also built a lot of the manufacturing software systems for that program to build electronic assemblies, machine drive shafts and propellers, etc.

mike_2000_17 commented: TCP/IP suite for DoD RTOS... OMG! That's beyond impressive! +14
Slavi commented: (y) +6
iamthwee commented: genius +14
JorgeM commented: Nice! +12
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Agree 98% with Mike2K, except the 2% that is the fact that EXT4 is a journalled file system. :-) Minor point, but agree - btrfs is still too new to rely upon for a reliable system. Ext3 and ext4 are both based upon the old ext2 file system, but with better (and faster) recoverability. The good thing is that they all can use the ext2 utilities.

mike_2000_17 commented: Thanks, I didn't know ext4 was a journaling FS. +14
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You need to post your code before we can help you. Just generalities like you posted are not helpful to determine the cause of your problem.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Good explanation Moschops. Now on to nit-picking and some common new C++ programmer errors.

  1. Always initialize member variables that do not have default constructors, such as pointers. See code below.

  2. DO NOT use NULL for null pointers in C++. Always use 0 (as shown below). NULL is usually defined as a void* and if your compiler is set to fail on warnings, or set to observe strict C++ standards, then using NULL as you did will cause a compiler error since your pointers are char* types and not void* types. You cannot (or should not) expect an automatic cast of a pointer from void to char. The C++ standards allow, and encourage, the use of 0 to initialize or set any pointer type.

    MyString(const char* InitialInput) : Buffer(0)
    {
        cout << "Default constructor: creating new MyString" << endl;
        if(InitialInput != 0)
        {
            Buffer = new char [strlen(InitialInput) + 1];
            strcpy(Buffer, InitialInput);
            // Display memory address pointed by local buffer
            cout << "Buffer points to: 0x" << hex;
            cout << (unsigned int*)Buffer << endl;
        }
    }
    
    // Copy constructor
    MyString(const MyString& CopySource) : Buffer(0)
    {
        cout << "Copy constructor: copying from MyString" << endl;
        if(CopySource.Buffer != 0)
        {
            // ensure deep copy by first allocating own buffer
            Buffer = new char [strlen(CopySource.Buffer) + 1];
            // copy from the source into local buffer
            strcpy(Buffer, CopySource.Buffer);
            // Display memory address pointed by local buffer
            cout << "Buffer points to: 0x" << hex;
            cout << (unsigned int*)Buffer << endl;
        }
    }
    
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Why specifically MSI? There are other motherboards that support the AMD FX series processors. Try some Google searches.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

And? You want us to do your homework for you? Make an effort if you want help here. We don't get your degree - you don't get our help unless you try to solve the problem first.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Well, they are either letters or numbers. What they mean depends upon what they represent. Is it binary code, text, data, what? Until you know what it represents, understanding them is impossible. Some sequences of non-text data are known, and you can then determine what they are, and then decode them. If you determine the values are program code, then you can use a disassembler to turn the hex code into assembly code. If not, then the problem becomes much more difficult as the hex may represent encrypted data, which is another problem entirely.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

It looks like you are trying to access a member of a class that is not declared or instantiated in instances of that class. You need to look at the "module" components and class/structure definitions.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You can use ffmpeg to reduce the size or change the video format easily.

Elvi commented: thanks for your reply! +0