Hi ceh4702,
Thanks for your detailed post. I realise that there is a lot more to a POS system than my three tables above, the example I gave above was simplified down to things that related to the task at hand.
Yes, I see why pre-packaged software is a good idea, but the main reason for this...
Thanks sillysod, that sounds like a good idea.
I have also thinking about adding a stock level field to the items table which would be updated on each transaction to save having to do a join at all.
It seems less elegant but more efficient.
I'll now go away and think about the two options...
Wow, that wasn't the answer I was expecting. Thanks MDXer, it's good to know that I am not completely database illiterate then.
Yep cool, my example above was simplified down to the stuff relating to what I was worried about.
I've just put 10,000 test products and 100,000 test transactions...
Hi all,
I'm creating a Point of Sale application, mostly to teach myself about GUI programming and obviously some more about database design :)
I want to achieve the following with my database;
- Store a list of products - could be large, like 10,000
- Keep track of stock levels for said...
I remebered seeing a list of words in an article in passing, here's a link
http://www.wdvl.com/Authoring/Languages/PHP/SearchEnginhttp://www.wdvl.com/Authoring/Languages/PHP/SearchEngine/conclusion.htmle/conclusion.html
also, according to here...
You should start a new thread for new problems but this explains your problem...
http://www.php.net/manual/en/language.operators.string.php [smurf]
01101000011000010110010001110011
Doing an MD5 has nothing to do with linux (in this instance). Have you been to the link provided above by smah? It has a downloadable MD5 app that integrates into Windows explorer.
>>How do I tell if I burnt the files as ISO (image) files?
>What do you see on the CD if you put it in the drive...
MD5 sums check that two files match, what you need to do is do an MD5sum on the files you downloaded (with the tool found above or another) and compare the result to the matching MD5sum on the site where you downloaded the files.
One thing that is common, did you make sure you burnt the files...
There's a typo in my earlier post.
tar cpfl - /dir | tar xvpf - -C /mnt/point
should be:
tar cplf - /dir | tar xvpf - -C /mnt/point
Anyway, If the drives have the same geometry you could use dd to copy them:
dd if=/dev/hdb of=/dev/hda bs=???k
Where ???k is the drives cache.
I haven't done...
I don't know of any sofware but...
If you create the partitions on the new disk you can copy linux to fairly easily using:
tar cpfl - /dir | tar xvpf - -C /mnt/point
Where /dir is the directory to copy and /mount/point is the mount point of the new partition you wish to copy to.
You will...
Just add;
/dev/hda4 /mnt/somewheres vfat defaults 0 0
Check out here for a bit of info on fstab
http://www.frankenlinux.com/intro/fstab.html
You may need to adjust the options for uid/gid to let your user write to the partition, I can't remember. but give that a go.
To mount it...
For memory:
cat /proc/meminfo
For CPU:
cat /proc/cpuinfo
For the disks:
cat /proc/partitions
(hda being the first IDE drive, hda1 the first partition, hdb the second drive.)
Hope this helps. [smurf]
01101000011000010110010001110011
Still more details.
Are you trying to mount as root or a normal user?
Is the drive in your fstab?
What is the mount command you are using?
Is that the exact and only error message you get?
What type of disk are you trying to mount?
[smurf]
01101000011000010110010001110011
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.