-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello
We have a very strange issue with a database that has been moved from staging to production.
The first time the database was moved it was by detaching, copying and reattaching, the second time we tried restoring from a backup of the staging.
Both SQL Servers are the same version of MS SQL…
>>> More
-
as seen on Programmers
- Search for 'Programmers'
Computers have trouble storing fractional numbers where the denominator is something other than a solution to 2^x. This is because the first digit after the decimal is worth 1/2, the second 1/4 (or 1/(2^1) and 1/(2^2)) etc.
Why deal with all sorts of rounding errors when the computer could have…
>>> More
-
as seen on Programmers
- Search for 'Programmers'
I'm trying to think about how I would go about doing calculations on extremely large numbers (to infinitum - intergers no floats) if the language construct is incapable of handling numbers larger than a certain value.
I am sure I am not the first nor the last to ask this question but the search…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
Hi,
On one (old OS X 10.4) server I'm tarring up some files which have ACLs. I'm then using ``tar -xp'' to untar the archive onto a new 10.6 server, which doesn't have any users/groups configured on it yet except the default admin (UID 501) (there's a reason for that, don't ask!). Obviously this…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have simple issue -- I would like to check a field to see if it's numeric if it is not blank. I'm not using any additional plugins, just jQuery. My code is as follows:
if($('#Field').val() != "")
{
if($('#Field').val().match('^(0|[1-9][0-9]*)$'))
{
errors+= "Field…
>>> More