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

If it is on a Windows share, it can be configured to require authentication, or be open. I would guess that it was configured for secure access, requiring a Windows AD / LDAP id and password.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Try these search terms in Google or DuckDuckGo: "netbeans on tomcat configuration". You will get quite of number of good articles on how to do it. Examples:

  1. http://wiki.netbeans.org/AddExternalTomcat
  2. https://technology.amis.nl/2012/01/02/installing-tomcat-7-and-configuring-as-server-in-netbeans/
  3. http://stackoverflow.com/questions/9131764/how-to-setup-tomcat-server-in-netbeans
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I think you are correct. The assembly code as written is doing basically this:

d += c;
if (d >= b) then goto .L4;

So, to quote Richard Pryor in Brewster's Millions, the answer is "Vote for None of the Above"... :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

This sounds like a variant of the "traveling salesman" problem.

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

If it isn't an Apple, then you probably won't be able to install Mac OSX on it directly. You should be able to install it in a VirtualBox virtual machine, assuming you have an install disc and license.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Are you sure this computer supports more than 4GB of RAM? Have you checked the BIOS settings to see if you can alter that? The Nanya simms are DDR3 devices so that should not be the issue.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Here is a list of Linux POS software systems, most of which are open source: http://www.linux.com/community/forums/desktop/top-10-point-of-sale-pos-software-in-linux

I worked with OpenBravo in the past. It is a decent system that might work for you.

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

When this happens, the function should also set errno to a known value to indicate the error that occurred.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

AMD chips are usually cheaper than Intel ones of similar capabilities. Here is a link to an Asus motherboard (good quality) for AMD chips, which also has audio and video onboard, $66.99 at rakuten.com (formerly buy.com): http://www.rakuten.com/sr/searchresults.aspx?qu=asus+A68HM-E

Do remember, you still need a case, power supply, CPU chip, RAM, disc drive, and operating system.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What nutster is trying to say is that we don't do your homework for you. Write your code and post it here and we may decide to help you...

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

You have typedef'd PTR_VALUE, but in this function:

int initialize(PTR_VALUE value_array)
{
    value_array = (PTR_VALUE)malloc(sizeof(PTR_VALUE) * 94);
    return 0;
}

You initialized the value_array parameter, but it is never returned to the calling function, or set as a global or static variable. IE, it has taken up memory, but it isn't accessible from anywhere outside of this function. Try this instead:

PTR_VALUE initialize(void)
{
    PTR_VALUE value_array = (PTR_VALUE)malloc(sizeof(PTR_VALUE) * 94);
    return value_array;
}
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Local files as well as shared files? Does this happen at the same time? Are the local files on a shared directory so that others may be reading/updating the same file?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

@sdtechi :-) Thanks for the correction. Senior moments, brain farts! You are 100% correct about the 7 layers of the OSI model. But 5 layers are so much simpler! :lol:

And remember that old saw about "standards" - the nice thing is that there are so many!

sdtechi commented: OSI is a standard model and it has 7 layers. Which is taken worldwide..As i say before you just don't talk anything about networking.. shut your mouth +0
XP78USER commented: sdtechi leave him alone! +2
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

So, you have the math. Write the program!

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

So, where are you getting free-store from the operating system? Usually one uses sbrk() for that. That provides you with heap store that you can allocate with calloc/malloc et al. And you use that store to provide memory to applications when requested. It doesn't come magically... you have to first get it from the operating system.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Unix/Linux passwords are hashed and "salted" with a unique value that will be placed as the first 2 characters of the password in the password file. So, when you want to verify the password, you use the salt value and use that to hash the input value to create a copy of the hash that the user has input. If it matches, then the password is good.

The standard Unix/Linux implementation uses DES-56 to create the passwords. That is not so secure these days, so other login schemes such as LDAP use more secure algorithms.

FWIW, I have implemented these algorithms on a number of occasions for software used in major enterprise systems.

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

Are you sure these are local documents? This behavior sounds like shared documents when there is a glitch in the connection between systems.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

There is no solution to this problem. Occasionally, RF connections drop packets, and such "freezes" happens. You need to copy the data to your local drive for reliable viewing. Consider the shared drive a repository and copy stuff back and forth as needed, not use it as a "live" image.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

To add to what JorgeM said, what OS are you running and which version of Skype?

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

Have you tried Linux? I agree that XP is probably the best Windows OS released, but now out-of-date. Windows 7 is pretty good - kind of an updated XP in my opinion. Windows 8.x? Gah! Windows 10 is still not mainstream and widely available (beta still). I have had to deal with customer Windows 8.x servers, and didn't have much fun with them. Still Windows. Still buggy... They were Windows 2012 servers since they aren't labeling their servers 8.x.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

MP4 files require a different codec. I don't know how you would load/enable that with Delphi, but it should not be difficult.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

The best way is it do this in the class One's constructor. Pass $b as an initialization variable. That said, cereal's approach is also fine, as long as the $a member variable remains public. If at sometime in the future you decide it should be private, then his approach will not work.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I've had the same problem in the past with Windows. The solution was to remove the USB ports and/or hubs from the Device Manager, and then reboot the computer. That does a clean re-install of the USB hubs and ports and then usually it will recognize the thumb drive when you plug it in again.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

So, is there a question here?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

That should not be a problem. You will need more than one WiFi access point (WAP), but each should be connected to the router. A single router should handle dozens or more IP addressed LAN devices without problem. You still only have one WAN connection (to the internet), and the router is the gateway for that. More routers only create mantenance issues. We have two WAPs, but they are configured as bridge devices, not routers.

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

You really only need one router, but you may want multiple access points (WiFi devices) that are connected to the router. The router would be connected to the modem, or contain the modem, that connects you to your ISP. This is what I do in my home. You can hardwire (cat-5 or cat-6 ethernet cables) from the WiFi access points to the router, or you can use, as I suggested, a powerline modem if you don't want to run physical cable. In our old home, the powerline connection was a better option. If you are building out the home now, then physical cables would be better.

Your modem has one WAN port that connects you to the ISP. The other ports are basically just ports for an ethernet switch that the router contains. If you need more ports than it provides, then you can easily get another ethernet switch, and plug one of its ports into one of the router ports. I do this myself. My router has only 4 ports, but I needed more, so I have an 8 port gigabit switch to add the additional capacity. They sit right next to each other on my desk with an ethernet cable connecting the two.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Homework assignment? The concept of inodes (not i-nodes) is really simple. There are directories, and each entry has a pointer to the inode for that file or sub-directory. The file system keeps multiple copies of the inode trees (protected with a checksum) so if one gets munged, the system is still able to recover the file system. This is very robust. Each inode has a link count, incremented when the file created, is opened, or hard-linked to another directory (soft-links don't count). If you delete a file/directory, the inode link count is decremented and the entry is removed from the directory that contained it. However, the file itself is not removed until all links are removed. This is what allows Unix/Linux to update things like shared libraries without needing to reboot the system (unlike Windows), because applications that are using those libraries will still be connected to the old versions until they are shut down, closing the file and decrementing the link count. Only after all links are removed will the file or directory be physically removed from the file system.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

2) for numbers > 9, if it ends in 0, it is divisible by 10. If it ends in a 5, it is divisible by 5. If < 9, it isn't divisible by 10, but if it == 5, then it is divisible by 5. Done...

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What API? OCR is to scan an image to render it into plain text. What library are you using? Is the image being actively scanned by a scanning device? Or is it from an image on the system?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

An R9 290? Is that also a Radeon card? Does it require a dedicated power supply? Some high-end video cards have a power socked and require a cable from the system power supply to connect with it. Also, depending upon other loads, 600 watts may not be sufficient. Finally, are you sure it is in a correct bus slot? Is this a PCIx16 or other?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

The default arguments should be in the class declaration (header), not in the definition. Some compilers may accept this, but many will not.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

To add to what Schol-R-Lea said, there are a large number of graphics libraries for C++, many of which can be used on many operating systems (Windows, Linux, OSX). A very popular one is Qt. It is powerful, robust, and very cross-platform. I have used it without much fussing on Windows and Linux, both.

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

So, what will your internet / ISP download/upload speeds be? That's where you need to start at.

Depending upon the construction of your house, how you set up the network and streaming functions will vary. WiFi 802.11n is currently the best throughput, but all streams are still going to accumumlate to saturate your base internet speed. IE, if you have 2 or 3 TV's streaming Netflix, and a couple of others streaming YouTube videos, stuff is going to get congested. Also, there is WiFi (radio) attenuation to deal with. Hard-wire ethernet is preferable, and sometimes you can use (as we do in my home) ethernet over power line modems. I think we get about 50-100mbps throughput over that. Since my internet is 25mbps max, then it works well for us. My wife has a WiFi 802.11n access point in her office, and in my office is the internet modem, connected to the powerline device. I have a WiFi access point there (part of the internet router/modem), so we can get good speeds anywhere in our house (my office is in the basement).

Adding surveillance cameras adds load to the system. As long as you only connect to them via the internet when you are not at home, that should not be a problem. Configure them to not broadcast until you connect with them, or configure them to record at intervals to a network drive on the premises.

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

First, since I have implemented robust time classes several times in the past, I can say that you only want seconds, and microseconds as member variables. Forget the hours and other cruft. Next, always name your variables in your header functions, including your constructors. Your "explicit" constructor does not do so, and the users of this class may not have access to the source file implementation to see what each means. After all, you may have meant for hours to be the first parameter, or not... You can create a constructor that takes the time as hours/seconds/milliseconds, but inside the constructor you want to convert them to seconds and microseconds (or milliseconds if you prefer - it depends upon the accuracy of the clock as your application may need). You also want to be able to adjust for GMT (grenwich mean time drift). IE, if the input is in local time, do you want the time class to use GMT so you can easily adjust between time zones? So, you can have another member variable for the offset from GMT. Just remember, that some countries are not offset by a fixed number of hours, but sometimes by 1/2 hours (such as India). So, you might want that to be a floating point value, or a two part value of hours and minutes offset from GMT (don't forget the sign).

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

What OS are you running? If Linux, try running Alsamixer to adjust your master and other volume controls. If Windows, then see if your system is using the desired channels. On my work Windows system, I have both external speakers as well as a headset, and I need to enable the appropriate one to get output.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

To continue my previous post - I re-read your original post an see that you have a 10mbps link to the internet. Divide that by 100 users, and at peak times, you are getting only 100kbps for each user. You also don't mention if that is symmetric (10 up and 10 down) or assymetric (10 down, something less like 1mbps down). This has a tremendous impact on thruput. I have a 25mbps download speed on my business internet connect, but only 6 up, and when my wife is posting videos to the internet (uploads), my download speeds get really bad! Symmetric connections are much more expensive than assymetric ones. That requires a T1, T3, or fractional-T3 connection and you will pay dearly for them.

So, for 100 users in your office, you need a much higher capacity connection. Time to look at the budget...

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You need a loop to collect the scores, a variable to store the highest value found, and an array to store them in. Then another loop to find the difference between each value and the highest value that you stored in the variable in the first loop.

You have to write the code. We don't do your homework for you.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

The tablet obviously has access to a valid DNS server. You either need to configure the hotspot software to relay DNS requests from connected systems, or you need to tell your system what DNS server it should use (using an IP address for same). You can set this in the network configuration tool for the attached system.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

The multiply and divide operators are of equal precidence for C/C++ compilers. What order they are evaluated it is up to the compiler. IE, your 400*400/400 expression can be evaluated as 400*(400/400) == 400, or (400*400)/400 == 400. Gee, they compute the same. If you aren't getting 400 as a result, then something else is going on!