rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You post a chunk of code over 250 lines long, with inconsistent indentations and bracing... :-( Good luck with that! You'd get an 'F' in my class just for appearance and readability.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

This is html, not php, even if you are doing this in a php page. Read the HTML documentation online for help with this.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Please don't ask us to do your homework for you. Make an effort to solve the problem. Post the code here. And we may choose to help you sort out your errors... :-(

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Please don't ask us to do your homework for you. Make an effort to solve the problem. Post the code here. And we may choose to help you sort out your errors... :-(

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

NTFS usually sets (to Linux's view) the execute bit. Which NTFS driver are you using? You probably want to install and use the ntfs-3g driver which has much better capabilities than the fuse-ntfs driver. Here is a link to the manpage for Ubuntu: http://manpages.ubuntu.com/manpages/precise/man8/ntfs-3g.8.html

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

If your disc is hardware encrypted, you do not want to use software encrypting in addition. First, it will seriously impact performance. Second, you now will have two sets of keys to manage. All in all, it won't make your data any more secure. It is more important to encrypt it when transferring from one computer to the backup system so the data is not in the plain during the transfer. Also, you can compress the data before sending it (I am assuming you will be using a secure/encrypted connection, tunnel or whathaveyou), and transfer the encrypted compressed files, then when it gets to the backup server, you can either leave them in a compressed form (less disc space usage) or decompress them if you need them back in their native format.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

If you don't have it, you should get Clocksin and Mellish's book on Prolog programming. It is the "Prolog Bible"...

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

And...? We don't do your homework for you. Make an effort to solve the problem and post the code here, then we may decide to help/criticize/debug.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Have you considered installing Linux on this system? Also, have you determined that the system drives are still good? Seven years is a long time in computer terms, though I have some discs that are about that old, but still good - I monitor them constantly.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

If you have a valid license, then you can get a copy from the computer maker. If not, you will need to purchase a copy. Anything else is theft... :-(

This is one reason why I use Linux. No license and no cost. Yes there is a license, but it doesn't prevent you from using the system - just from changing it, distributing it, and not allowing those you distribute it to from getting your changes.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

For Windows, try ClamWin. For Linux, ClamAV. They are basically the same, just for different operating systems. Myself, when I need to analyize client systems for malware, I use at least 2 or 3 different AV tools simply because one will find stuff the others won't. Then I look at their output to determine which are false positives.

In any case, Clam (free, open source AV tool) works very well. That is my preferred personal AV tool for both my Windows and Linux systems.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

To quote someone - it depends. Both are good.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

For MySQL 5.1 and such, the command "service mysqld start" is proper. For 5.6 (and possibly 5.5) it was changed to "service mysql start" - note the difference between mysqld and mysql in the commands.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Have you tried using the bsearch() function? The only thing you need to do besides calling the function, is to provide the address to a compare function. RTFM...

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

So, what shell are you using? Bash I presume? Show your code, and we may help you. We DO NOT do your homework for you...

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

@LaxL
No, shorter penetrates better, but has lower range, but higher bandwidth.

Ok. I'm wrong! Assuming this is correct: https://system.netsuite.com/core/media/media.nl?id=3987&c=1014127&h=6a3f7973b02b602ff116&_xt=.pdf&ck=Y5MmDtLgAZr6kBFA&vid=Y5MmDtLgAZ76kAkA

The higher bandwidth part is correct, and the penetration specs indicate that the lower range is also correct. I have used both 2.4 and 5 GHz systems. The 5Ghz systems were definitely faster if you had a decent signal.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Check out www.zareason.com - great gear, great people, and really good prices (they are located in Berkeley California). I think they can ship internationally to some countries, but you need to check with them first. Everything they sell comes with Linux pre-installed, and all the hardware works. You can also get most of their stuff with BSD Unix as well, or no OS at all. They know how to deal with all that UEFI cruft, so you don't have to... :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

So, what is your computer and video gear, what operating system (and version) are you running, and what have you tried so far?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I don't use OSX, so other than what I (and you) can find on the Internet, I really can't help. That said, what issues / errors did you get trying that, and which version of VirtualBox did you use?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I knew that rps meant Indian Rupees. I was just asking what the conversion to US $ or Euros would be. Is that before taxes and shipping, or after? Where do you reside, and is that where you want it delivered? There are a number of decent systems for that amount of dosh available, but it depends upon where the system will be delivered and where it is coming from. For example, in the USA, you can get a nice Linux desktop (without monitor) for $499 USD from ZaReason.com. They have nice Linux laptops for as little as $699 USD. Windows systems... that is another issue entirely. Google is your friend.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Also, we don't do your homework for you... :-( AD is just being kind, I think.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I could do this simply in C, C++, or Java. You keep a map of where the key is the data, and the value is the number of times you have seen it. With each input, you look up the data in the map. If not found, then you add a new item with a value of 1. If found, you can increment the value. When done reading the data, you walk through the map, and only output those with a value of 1.

Maps are normal constructs for C++ and Java. For C you would use a structure with a character array (or pointer) for the data, and an integer for the value, and use an array of these structs to substitute for a map.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What language are you using? C++, Java, something else?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

It is a matter of opinion. What are you trying to do?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You can try to run it in a virtual machine such as VirtualBox. Current versions are supposed to allow installing it, but you will need an installation CD, DVD, or ISO image file to do so. Installing it directly on the hardware may not be possible since it has dependencies on some Apple-specific hardware/firmware, which a virtual machine can possibly emulate (reverse engineered, or licensed from Apple).

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What is 50K rps in $ or Euros?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

There is also a tool called OpenVNC (Open Virtual Network Computing) that allows remote/joint control of computers. I have used it quite successfully in the past for this sort of use. The good thing is that it is free and open source software. It is also the default software used to provide remote control/viewing of Linux desktops, including virtual ones. IE, I can log into a server remotely to a virtual desktop and it will display in a window on my local PC (Windows or Linux) just like I was sitting at the local machine.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Experiment and see which gives you better throughput. I assume you are connecting with 802.11n? A signal strength of 60% is pretty good. Remember, 5GHz has a shorter range than 2.4GHz, but by also having a shorter wavelength, it will better penetrate things like walls, floors, etc.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

@ponnan
If you want to learn about this stuff, get the source code for grub, grub2, lilo, and other Linux boot loaders (there are versions for x86, ARM, Power-PC, Sparc, and other processor families). Study that, experiment, and learn what is going on. At this point, we really can't help you much more as the only way to learn this stuff is get the source, get the documentation for your processor assembler/machine code, and then roll up your sleeves - you will have many sleepless nights ahead of you while you become an expert in the domain... :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

@AD
25+ years ago I had to write an x86 boot loader for an OEM'd version of the QNX real-time operating system. I for one don't want to do that again! :-)

Unfortunately, these days I still have to delve into such crud - usually related to Grub, Grub2, UEFI, etc. How do you at a very early part of the boot process access the flash memory and firmware that controls the UEFI BIOS? Assembler of course. So, hit me with a brick, and I'll stop doing that! :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Assembly programming is rarely needed these days. My last assembler coding was over 20 years ago, to write a device driver for a real-time operating system. These days, you don't often need assembler to do that, with a few exceptions. 98% or more of the Linux kernel is in C, with some assembler for very low-level necessities, such as in the C functions to control DMA, etc. Consider the C language instead to start. It is often considered a "high-level" assembly language.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Not enough information to help. What make+model of computer do you have? If it came with 32-bit Win7, are you sure it isn't a 32-bit processor? Normally, 64-bit systems come with 64-bit Win7 unless they were ordered with the 32-bit OS specifically.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Depending upon how you use it, diff can generate files that the patch command can use to update a source file by merging the deltas between the two versions. You need to read the man pages for diff and patch in detail in order to understand how that works, and whether it is applicable for your needs. This technique is commonly used when distribution source code patches for Linux system software, so there is abundant information on the web that can help. Remember, Google (or DuckDuckGo) is your friend! :-)

In any case, if you get the original version of a source file and edit it, you can use diff to generate the deltas that the patch command can be used to create a new (and hopefully fixed) source file.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Directory Server -> Active Directory... :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Most sites will use OpenLDAP for this. FWIW, Windows' Directory Server is based upon it, and they can be made to work together if necessary, for a site-wide single sign-on capability, even with a mix of Windows and Linux machines. My organization does that. I can install a RedHat or other Linux system and use my normal company login credentials to log onto the Linux system.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

There are FAQ's out there that will help you package your own Linux-based OS. Some are RHEL (Red Hat Enterprise Linux) based, and others may be Fedora-based. Remember that Fedora is where RedHat tests out new stuff, so it is not always totally stable. I think the current Fedora version is 19. It does have newer kernels than RHEL and RHEL-based systems. I run Scientific Linux 6.5 and CentOS 6.5 which are clones of RHEL 6.5. Here is a link to the repackaging tools for Scientific Linux (SL) - they call it building a site version, or some such: http://www.scientificlinux.org/distributions/6x/build/sites/view

In any case, you have a lot to learn and experimentation to do. This project will keep you busy for quite a long time I suspect.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Anything specific to Acer you will have to find on their web site (probably in the support section for your hardware). With luck they will have a Windows 7 64-bit version you can download and install.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

NP. Thanks for the update. In my opinion, if the installer needs to be run by an adminstrator account, then it should have detected that you were not doing so in the first place! :-) Anyway, good luck, and have fun!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

And? You want us to do your work for you? What have you tried to do so far?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

@fozis
Bumsfeld's printf() expression is also correct - (5.0/9.0) * (fahr-32.0). You can reverse the expressions and still have the same result. IE. (5.0/9.0) * (fahr-32.0) == (fahr-32.0) * (5.0/9.0). To some, this is orthogonality - the order of expression is irrelevant. Now, I wait for someone more mathematically knowlegeable to tell me how full of it I am... :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I generally agree with ddanbe, and if Windows systems are the ONLY systems you will be programming for, then C# is perfectly fine. However, if you want to expand your horizons, then C/C++, Java, Python, et al are also good to learn.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

IplImage *in; is uninitialized. As a result, this line cvReleaseImage (&in); could cause a core dump because the cvReleaseImage() function could read the contents of in as a valid address. Without seeing the rest of your code, I cannot say for certain.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

My rationale for the bit copy is so you can restore the disk or partition exactly if things go wrong. I work on client systems when this sort of work is necessary, and it is the ONLY way you can be 100% certain that you have a recoverable image. The rsync tool is incredibly useful, and for file-based backups just fine. For device-level backups, not so...

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What Mike2K said. I use dd on Linux for this purpose all the time, and it has saved my bacon on more than one occasion when my system drive started to fail. However, as he pointed out, you REALLY need to know what you are doing. If you point it at the wrong disc... Let's just say that "bad things will happen".

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Time to learn/understand how CSS works, and configure your system accordingly. The question evokes many complex answers that your provided information does nothing to help with... :-(

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

The "file missing" logs are probably the most indicative that you have been seriously hacked, and should NOT be running this system as-is now. No matter the pain in restoring it, you should give some thought to migrating to Linux. Most Windows applications have Linux equivalents, and where they don't, then you can either run them in Wine, or in a full Windows virtual machine.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

@davy
This means that the mysql server package has not been installed on your system. The mysql package is just the client. The mysqld service is installed as part of the mysql-server package.

You indicate that lamp started mysql ok. That may be a red herring. Look in /etc/init.d for anything that looks like mysql...

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You don't need a usb hard drive cable. You need an appropriate docking bay for the drive. Most current laptops have sata drives. You can get one for about $25-50 USD for one that will work with your drive. You remove the drive from the system, plug it into the docking bay, and attach that to another system, either via eSata port or USB port (some bays support both). Then you can backup your data. I do this for my customers frequently, especially when they have been infected with malware.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Time to wipe your computer and start from scratch... :-( First, backup your data, and scan it off-line for viruses (another subject). Then, COMPLETELY wipe your disc, including the recovery partition - I have had a number of clients where a virus would infect the DLL's in the recovery partition and then re-infect the system when you re-install the OS. Other modern viruses will infect the boot sector, the system flash memory (where the BIOS keeps its settings), etc. So, you need to wipe the flash, wipe the disc COMPLETELY, and reconfigure the BIOS, reinstall the OS from hard media (DVD), and finally restore your applications and (cleaned) data. It's probably easier and faster to purchase a new system...

FWIW, this is one reason why I run Linux, and only run Windows in a virtual machine. If the Windows system becomes infected I can easily restore it to the last known good snapshot. That has happened, and restoring took about 2 minutes. :-)

FWIW, I will NEVER again purchase a Windows system without a hard media option. These days, it just isn't worth the pain - and $$ to purchase a new copy of Windows 7 or 8/8.1.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

If you want a DOS 3.1 compatible OS, there is FreeDOS - reverse engineered (legally) and open source. Works fine; however, there are no (to my knowledge) any legal open source clones of Windows NT or later. Wine under Linux is as close as it gets, but with a gazillion caveats - such as performance, compatibility (some applications and games work ok, but many others don't), and stability.

I do use Wine on Linux for a number of applications, including Sparx Enterprise Architect (they spend a lot of cycle$ to be sure it runs well on Linux/Wine), and some other tools. A lot of other cruft won't run (or install) on Wine at all, in which case I run them in a legal copy of XP in a VirtualBox VM.