rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

"Pure" OOP language? Try Smalltalk... :-) I used it to prototype a lot of concepts that I implemented for production in C++ in the early-to-mid 1990's.

The rub was that for what was simple in Smalltalk, required a LOT of prep work to function with C++. About 6 months of intensive design and coding to be sure!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

To Decepticon:

Just remember that old addage - Those who can, do. Those who can't, teach! :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

A virus is likely, albeit a badly written one. Run your A/V scanner on the system. If you don't have one, either install Microsoft's one, or ClamWin (free, open source), and scan your system.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

"Could there be some sort of conflict?". Unlikely, but that may depend upon how they have configured their iPhone email client. Even if they have configured it to remove read messages from the server, it shouldn't interfere with the Outlook startup on the client Win7 machine. What about upgrading to Outlook 2010?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Installing VS Express should not have done anything to your document, unless it was in a directory that VSex thought it "owns" - unlikely. The question is whether or not your file really WAS saved when you (think you did) enter ^S to save the file. There may be backup files in the document's directory you can view to see if you still have access to your changes. If not, then you are SOL... :-(

P.S. Do try using Libre Office. It is free, open source, and very good - and can read/write MS Office files quite well. If you find a bug like this, reporting it will usually result in a quick fix, unlike reporting such a bug to MS which may result in a fix at some indeterminate time in the future.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Try "sudo fdisk /dev/sdc" instead.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Sorry, but we don't do your homework and/or thesis research for you! Remember, Google is your friend! But, being caught plaigerizing other people's work for your own is a quick way to end a possible career... :-(

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

This is NOT a trivial exercise. I assume you are already a competent C++ programmer? There are several factors to consider for video transcoding (which is what this is all about):

  1. This complex stuff - I assume you only need to deal with a limited number input types? What are they?
  2. There are open source tools out there to learn from, such as ffmpeg (the Swiss Army Knife of video transcoders). Download and study their code. You will learn a lot.
  3. DO NOT just copy their code (ffmpeg or others) - this is cheating and YOU WILL be caught! Some transformations are so fundamental that copying directly may be ok, but a) include proper attribution in your code, and b) ask your professor first if this is OK or not.
  4. Good luck!

Here is a link to the ffmpeg web site: https://www.ffmpeg.org/

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

CMMI is a deep subject and case studies are most likely to be behind paywalls, such as at the IEEE or ACM publications web sites. They do have general (free) search tools, and provide the abstracts of the papers so you can determine which ones you want to purchase. If you are working for a major tech company, many of them have corporate level subscriptions to these sites. I know that my company (Nokia) does and I can get copies of any of the IEEE or ACM publications (and others) as needed for my work.

Note that the IEEE and ACM also have distribution agreements with many institutions of higher education. Yours might if this is in relation to a university class you are taking.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

The simplest way is to use the list.listIterator(start_pos) function to get a ListIterator instance. Using that you would walk the list using iterator.next() to walk the list. Also, you need to create a class/structure that has two elements (name and number) to insert into the list since your method of addFirst(name, number) and addNode(name, number) is invalid. The LinkedList::addFirst and add methods take a single entity to add to the list. There IS no 'addNode' method. :-)

Anyway, here is a link to the Java6 LinkedList documentation: http://docs.oracle.com/javase/6/docs/api/index.html?java/util/LinkedList.html

One final note: LinkedList is a template class. You have to declare it as such:

class MyClass {
public:
    string m_name;
    int    m_number;

    MyClass(string name, int number)
    {
        m_name = name;
        m_number = number;
    }
};
.
.
.
LinkedList<MyClass> myList = new LinkedList<MyClass>();
myList.addFirst(new MyClass("London", 5));
myList.add(new MyClass("Manchester", 10));
.
.
.
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Simplest? Use fopen() w/ binary write flag on the device name (COM1, COM2, etc), and then simply write the data to the file descriptor. I leave the actual coding to you as an exercise.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Consider the memory requirements (have a lot do you?).

1B nodes (1024^3) with a 64bit value field (8 bytes) and a 64bit link to the next node (another 8 bytes) = 16+GB... This is NOT a sustainable model! :-) IE, as others have indicated, this is not feasible with a 32bit system, and unless you have a 64bit one with tonnes of RAM (or swap space), then it won't work there either. Also, if you have less than 32GB of RAM (space for a 1B node list + system memory), then your application will be HORRIBLY time-constrained by memory swapping - the heat-death of the universe comes to mind...

So, rework your algorithm. To deal with this amount of data, is why we have on-disc database systems.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What Dean said. Also, the pshared argument to sem_init(sem_t *sem, int pshared, unsigned int value) has to be 1, not 0, to share between processes vs threads.

DeanMSands3 commented: Completely missed that. Good eye! +5
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Until you try to solve the problem, and post your code here, we don't help with homework problems. That said, ddanbe is correct (hint)... :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

An alternative is to create a ram disc big enough to hold those files, and on boot up copy the php file directory there after the ram disc is created (you can do this in /etc/rc.local). Then you point your php to that directory with the include_path environment variable when it starts up, or you can use the php function set_include_path($path) function in your code.

jkon commented: Clean and clear +6
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

It could be a matter of "stiction" if the drive isn't properly parking the heads on shut down (possible on an older system). Try giving a whack on the edge of the computer on the front left corner of the system, parallel to the surface of the keyboard, with the heel of the palm of your hand, and then try turning it on.

If that doesn't work, get a USB docking bay for the type of hard drive connector you have (probably a mini IDE/PATA connector but depending upon the age of the system it could be a Sata-1 device), and attach that to another computer's USB port. Turn it on, and if it powers up and you can access the drive, then it is likely the disc controller and/or other motherboard issues.

In any case, my advice would be to backup your data, get a newer laptop, and transfer your data to the new system. It would be cheaper than fixing this one.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Please elaborate what these numbers mean. You say they represent shapes. How? Are these vertices? Length of sides? What?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What package manager does Kali use?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You most likely need to reinstall the modem driver. Do you have any discs that came with it originally? If not, remember that Google is your friend for this sort of stuff.

Finally, what make/model is the modem, and what interface does it use (serial, usb, etc)?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Express this as either a process (pseudo-code) or mathematically. Both approaches will help you generate the logic necessary to turn this into code.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Assembler language is very specific to a particular CPU instruction set. It is not something that most people (even serious software engineers) need to concern themselves with, unless they are going to work on the lowest levels of an operating system kernel or operating system boot loaders. Then, it is a necessity. I have written my share of x86 assembler code for such reasons, but I have not had to do so for about 20 years now... :-)

So, if you want to port some low-level kernel code from x86 or ARM to a new XYZZY processor from Fubar, Ltd, then you may well need to learn assembler for the XYZZY processor.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster
  1. Do you want more than 1 CPU?
  2. How much memory (RAM) do you need?
  3. How many disc drives?
  4. Do you want a built-in GPU (graphics processor), or would you prefer to use a 3rd party one, such as nVidia/AMD)?
  5. What about the form factor (small vs. large - ie, desktop vs server-sized)?
  6. (Not mobo or CPU related) What about power supply? This can be critical.
  7. Manageability? Temperature sensors? ECC-RAM support?

All of these need to be taken into account. Example ECC-RAM will allow you to continue computing even if one RAM stick fails (this has saved my bacon on more than one occasion). Temperature sensor support allows you to monitor the thermal state of the system, and be proactive when stuff starts to overheat (see my comment on ECC-RAM).

As for the power supply, high-end video cards take a LOT of power, and not having an adequate supply has caused the melt-down of many motherboards and chip sets.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Either use the setenv() function, or do this for the system() call:

int results = system("PS1=\"LinuxRox $\" ; mycommand);
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

So, please share your solution... :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

The operating system should automatically cache those files in memory when read. IE, you should not have to deal with this! The caveat is whether or not you have sufficient RAM to cache these files. 100K is not much these days.

FWIW, upgrading from CentOS 5.x to 6.x will provide MAJOR performance improvements, especially in file caching.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Many people have perfectly functional computers with WinXP that are not capable of running newer operating systems (from Microsoft at least - Linux not considered here), yet do not have the financial wherewithall to purchase new computers with Win7 or Win8, let alone upgrade all their applications (those that are capable of supporting the new OS's). So, until these systems fail, they will continue to be used, security vulerabilities notwithstanding. Sounds like a good business opportunity for A/V tools to me! :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Unfortunately, your description isn't too clear. You say you have the original database (with 2000+ articles), but you munged the virtual machine you wanted to install it on? You will need to reinstall the operating system on the VM. If that is where the data resides, then you need to boot a recovery OS, mount the file system where it resides, and then copy it to another device/media before you reinstall the OS. Clear as mud, right? :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Not simple. SD/flash cards (current ones at least), will write data to new sectors in order to minimize the number of writes to any specific one (necessary to maximize the life-expectancy of the device). IE, the data is still there (most likely). Unfortunately, it requires special tools to search and find the data on those old sectors, and equally unfortunately I don't know what they are, except that they do exist. A data recovery firm that has such tools may be able to help you.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

In English - you need to get a copy of Linux?
En Espanol - necitas obtenir una copia de Linux?
:-) Sometimes, being bilingual has its advantages!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Usually, the size is a member variable of the class. It would be set to 0 on construction (with no member nodes), incremented when a new node is added, and decremented when one is removed. If you don't do that, then the size() method would have to traverse the entire list to get the number of nodes, and that could be VERY expensive!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

The D620 is an antique (but still usable) in internet terms. I had a D600, D620, and now a D630 (which is about 6-7 years old now). If you can't get to the diagnostics partition (as per CimmerianX's instructions), then you should contact Dell tech support. They do system repairs (probably replacing bad parts with remanufactured ones at this point) at a reasonable cost. The main thing is the hard drive. You need to check that first, because it has all your software and data. IE, if it is functional, don't send it in with the system as you will probably get a new one of those as well, and hence lose everything on the HD.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Using "sudo fdisk /dev/sdc":
1) Remove the ntfs partition.
2) Create a linux partition.
3) Create an ext2/3/4 file system on that partition.

If all this works, then run the command, where extN is ext2, ext3, or ext4 - depending upon the file system type you created: "fsck -t extN -c -f /dev/sdc1". This will do a couple of things. One is that even if it thinks the file system is OK, it will force the check (the -f option). Two, it will physically scan the drive for bad blocks and map those out of use by the file system (the -c option).

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You also need to take into account arithmetic operator precidence. IE, / takes precidence over +, so (a + b / c) == (a + (b / c)), etc - NOT ((a + b) / c)...

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Homework... Or work work. In either case, make an attempt to deal with it, and then we can critique your code.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

This is not a simple subject. Start with some appropriate Google searches and read a lot of the resulting articles.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What Begginnerdev said, but since you havent' asked any questions, what is the point? :rolleyes:

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

If this is an ARM computer you will not be able to disable the Win8 secure boot, but will need to install a secure boot-enabled Linux. There are a few, but it is still a WIP (work-in-progress).

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Why Radeon video cards instead of nVidia? I have some seriouos gamer friends at work (we are a tech company w/ very savvy users) and they won't get AMD video gear simply because they don't perform as well as nVidia cards. As for a case and power supply, the case is only important as far as it's cooling capabilities are concerned, but the power supply is critical. For serious gaming gear, don't go for less than 1000 watts!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I assume you are using a power brick with this? In any case, try removing the battery, and running the system just with the AC plugged in. Also, you can get replacement batteries from places such as buy.com for a lot less than Dell will charge you for a new one (about $100USD typically).

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Does your system have both a built-in Intel GPU (graphics chip) as well as an nVidia (or AMD) GPU? On my Lenovo laptop, I had to disable the Intel GPU in the BIOS so I could get multiple monitors working properly.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Actually, that doesn't create new variables, but simply sets the value of an array member.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

This may, or may not, be possible, depending upon the software and the licenses that apply. Some free or open source tools can simply have their /programs folder copied to the new system. Others will require re-authentication of the license you hold.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

A lot of tech companies hire student interns for these positions, but that usually assumes you have good grades in the relevant subjects. Contact your school's placement office - they should know who in your area are looking for student interns, if only for work-study positions.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Can you post an image of the screen here?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

A fully qualified domain name (FQDN) does use the format of server.domain.com.

Actually, it would be 'server.domain.<root>' where '<root>' can be stuff like .com, .net, .org, .co.uk, .co.tv, etc.

FYI, .com and .co.nn are both for commercial sites. The .net and .org qualifiers are for network services and non-commercial organizations only. The example above for .co.tv is because .tv is assigned to the island nation of Tuvalu, which licenses ($$) its id for TV-related sites. :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

MalwareBytes is good. ClamWin/ClamAV is also, and is free and open source - and the most recommended one for Apple products.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Have you tried to pair the devices (such as a headset) with the laptop? When you go into the laptop's bluetooth admin tool to pair the device, what do you use for the device's password (4 digits usually - many default to 0000)? If 0000 doesn't work, you may need to look at the device documentation for the password required to pair it to your laptop.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

People keep asking this, and I keep answering effectively the same way - the number of topics for an IT thesis are effectively infinite. Write one on a topic that you personally find of interest. If you can't think of any, then I think you are studing the wrong subject...

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Caperjack makes a good point. The use of a single 8GB SIMM would imply that the laptop supports 16GB, but you say it only supports up to 8GB. So, using 2x4GB SIMMs would seem to be a valid point.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Does it have a SIM installed? If so, does the account it is associated with have a data plan? What about tablet configuration? Have you enabled data roaming? In this last case, it may be that the 3g/4g/lte plan provider is not available in your area in which case data roaming would be required (and costly).