That is done so that the mantissa begins with a one. You don't actually need to denormalise at all. You only lose accuracy if there are more digits in the answer than will fit in your chosen representation. Obviously, a recurring fraction won't fit into any representation (example: 0.1 in decimal is 0.0001100110011... 0011... in binary). Note that if you isolate the recurring part, the ratio between it and the same number of ones is the exact fraction. i.e. 0011 / 1111 = 3 / 15. But there is one extra 0 in front of it, so it should be 3 / 30 = 0.1. This works in other bases as well (if you replace "1" by "biggest digit") e.g. 0.66666... decimal = 6 / 9 = 2/3.
Historically, not all computer systems have used the same floating-point mathematics, especially when it was being done in software. British 8-bit micros in particular, unconstrained by requirements to line up word boundaries, used to use a 40-bit representation for floating-point values. Eight bits for the exponent and 32 bits for the mantissa. Now we have hardware to do floating-point maths, there probably is more consistency from one machine to another.
No, Islam is incompatible with anything else. Islam is not even compatible with democracy as we understand it..... more like "one man [and they mean that literally], one vote, once -- and only then if the vote is for a global Caliphate under Shariah law." Sharia law is fundamentally incompatible with Human Rights, since it prescribes punishment by death for crimes against property, as well as some "crimes" which are nothing more than an exercise of Human Rights. Remember, "Islam" literally means "cowering in abject terror". Men cowering in abject terror of Allah, women cowering in abject terror of men and non-Muslims cowering in abject terror of Muslims.
Unfortunately, it is a logical impossibility to prove that Allah doesn't exist. You could prove that Allah existed, if he did, by catching him -- but since he doesn't exist, you can't. Therefore, we're stuck with Muslims -- unless we can convince enough of them that their religion is a steaming heap of camel shit.
Tell that to the British government! Demanding encryption keys (even from people who might have information pertaining to violent acts [which were wrong in spite of being committed against people who were doing wrong {by experimenting on animals}]) is wrong.
Everyone working for Huntingdon Life Sciences does so by choice. They are Legitimate Targets. If they want to be able to open a piece of mail without worrying it might take their hand off; if they want to be able to get in their car and drive it without checking for bombs; if they want to be able to walk down the street and not be called names or worse; then all they have to do is quit working for HLS. It really is that simple.
Let me guess..... you were using some lame distro like Red Hat or SuSE. They are renowned for having kernels that are patched to christ and a faulty default config that doesn't even include basic stuff like gcc (omg oh noes!!!1! compiling is to ahrd omg!!11!). Oh, and they expect you to pay for them. Stick with One of the Three (Debian, Slackware, Gentoo) and you need never worry about a buggered-up kernel again.
If you were writing to a file then yes, it is important to check that the write was successful -- after all, you might have run out of disk space or something. But then you would be using fprintf() rather than printf().
My point (which, I'm pleased to note, managed not to escape at least one person with mod points) was that most of the time, STDOUT and STDERR are the same device. So if printf() goes tits-up, it's highly unlikely that any attempt to display an error message will work either. (I suppose you could exit non-zero, but who checks exit codes in shell scripts?)
# iptables -I INPUT 1 -dport 3306 -j DROP -- how hard can that be?
And the default combination of "root" and no password isn't as insecure as you think, because you still need to originate queries on the machine itself. You would have to get a web hosting account on the server (or find some idiot who wasn't chmod-ing uploaded files non-executable) in order to muck about. Or rather, giving each hosting customer their own database username and password and only GRANTing them permissions on their own databases is no more secure than having users use "root". Think about it; if you were running scripts on the server, then you could look in files in other people's home directories, where their database username and password would be clearly visible. There is no* workaround, either; the apache daemon has to have read access to every user's scripts, including the code used to undo any ad hoc obfuscation applied by users to passwords.
* Actually, you probably could have every user run an instance of httpd in their name, and listening on a non-privileged port which was firewalled off from the outside world. You'd then need one "master" server configured with a module which would do nothing but route incoming requests to specific ports based on hostname. I dread to think how slowly this would run.
To a white person, all Orientals appear similar -- at least, until you have met several and learned where to look for the differences. To an Oriental person, all white people appear similar.
I had an idea, a few years ago, to mount a system consisting of a very large capacitor, a very large coil, a log periodic antenna, a high-voltage power supply and a big switch on the back of a Diesel Series Two (i.e headlights on the "outside") Land Rover (all series one Landies, i.e. headlights on the "inside", were petrol IMMSMC) and drive around causing chaos by blasting EM pulses into car engines.
Never actually did it. Shame really..... I'd've liked to see what we got charged with.
It is quite possible that it's flash related. It shows up as usage by the firefox process, but that's expected for a plugin. How to tell?
Use chmod -x on your flashplayer.so file (most probably somewhere under $HOME/.mozilla/). This will prevent it from starting. If Firefox behaves itself, then you know it must have been Flash that was doing it.
If the law says that a patent is invalid, and the patent office award it anyway, it's still invalid and nothing short of ex post facto enforcement is going to make it valid. The patent office were in the wrong when they awarded it. Making a new law to say "software patents are now allowed as of today" only reinforces that up until yesterday, software patents were not allowed.
It's possible that the prohibition on retroactive enforcement could be repealed (although that would be a breach of an international treaty, and so possibly casus belli). It's also possible that the holders of falsely-granted patents might have grounds for legal action against the patent offices who knowingly granted patents which would not be worth more than the paper on which they were printed. Are patent offices, being (for the time being; I wouldn't be in the least bit surprised if Gordon Brown tries to privatise the UK one) Government departments, generally immune to lawsuits, or will the taxpayer be taken to the cleaners'? On the whole, it's a massive can of worms.
That's the reader you're talking about. I was referring to the full Acrobat package, which lets you create PDF documents with just one extra (and slightly less intuitive) step as compared to OpenOffice.org's "export as PDF" -- and do other things, apparently, though I know not what.
Have you tried using something like evince instead?
If they totally muck up the UI beyond recognition, then they will only give people a reason to try other software. Never mistake inertia for brand loyalty: the fact is, many people are lazy and just would rather pay good money than learn something new. Faced with a choice between a less-expensive product with a radically-different UI or a more-expensive product with the same UI, users will choose the familiar product. Faced with a choice between a less-expensive product with a radically-different UI or a more-expensive product with a radically-different UI, users will choose the less-expensive product.
It was Adobe who invented PostScript. Not only do you have to put the "nouns" before the "verb" (as in Forth), but it uses a riduculous base measuring unit (0.35277... mm.) Whole millimetres, tenths or hundreths -- in fact, almost anything without a recurring fraction -- would have made a lot more sense.
Well, in countries where software patents are not enforcible (i.e., pretty much everywhere except the USA) anyone can already implement the "ribbon" functionality. Should any of those countries in future legalise software patents then, as long as they have ratified the UN Universal Declaration on Human Rights (or otherwise prohibit retroactive enforcement of a new law), there will be no valid software patents in that country (since legalising something implies that it was not legal beforehand; so any software patents that may have been falsely granted in the past will only be confirmed as bogus by the relevant statute) and the competing implementation can be cited as Prior Art to prevent any patent application by Microsoft.
Little s#!tbag gets angry, phones ChildLine and says parent touched him inappropriately.
Parent is treated as guilty even despite being proved innocent in a court of law, placed on sexual offenders' register for life, has extreme difficulty getting a job and eventually becomes a target for hate-filled, News of the World-reading mob.
And that's assuming the kid phones ChildLine, as opposed to taking matters into his own hands. There's a long, long queue of low-life criminal scum only too eager to beat up or kill a suspected nonce on the basis that (1) child-abusers are the only lower form of low-life and (2) being seen to be doing harm to a child-abuser removes suspicion that you yourself may be a child-abuser.
It's true. Cheese contains tyramine, which is a neurotransmitter analogue and an extremely mild hallucinogen -- so mild, in fact, that its effects are only noticeable if you are already asleep and dreaming.
So here's a business opportunity: Sell digital radio sets that require a smart card, something like a telephone SIM, to decrypt scrambled programmes. Broadcast advert-free scrambled programmes, funded by the purchase of said decoder cards. You'll need a lot of capital, but advert-free is a novelty that doesn't wear off -- check out the BBC sometime.
If according to IEC-60559:1989, (2007 - 1989) > 20 then it probably isn't a very good standard to follow.
.....
Perhaps that's what happened with Microsoft Excel
That is done so that the mantissa begins with a one. You don't actually need to denormalise at all. You only lose accuracy if there are more digits in the answer than will fit in your chosen representation. Obviously, a recurring fraction won't fit into any representation (example: 0.1 in decimal is 0.0001100110011 ... 0011 ... in binary). Note that if you isolate the recurring part, the ratio between it and the same number of ones is the exact fraction. i.e. 0011 / 1111 = 3 / 15. But there is one extra 0 in front of it, so it should be 3 / 30 = 0.1. This works in other bases as well (if you replace "1" by "biggest digit") e.g. 0.66666... decimal = 6 / 9 = 2/3.
Historically, not all computer systems have used the same floating-point mathematics, especially when it was being done in software. British 8-bit micros in particular, unconstrained by requirements to line up word boundaries, used to use a 40-bit representation for floating-point values. Eight bits for the exponent and 32 bits for the mantissa. Now we have hardware to do floating-point maths, there probably is more consistency from one machine to another.
No, Islam is incompatible with anything else. Islam is not even compatible with democracy as we understand it ..... more like "one man [and they mean that literally], one vote, once -- and only then if the vote is for a global Caliphate under Shariah law." Sharia law is fundamentally incompatible with Human Rights, since it prescribes punishment by death for crimes against property, as well as some "crimes" which are nothing more than an exercise of Human Rights. Remember, "Islam" literally means "cowering in abject terror". Men cowering in abject terror of Allah, women cowering in abject terror of men and non-Muslims cowering in abject terror of Muslims.
Unfortunately, it is a logical impossibility to prove that Allah doesn't exist. You could prove that Allah existed, if he did, by catching him -- but since he doesn't exist, you can't. Therefore, we're stuck with Muslims -- unless we can convince enough of them that their religion is a steaming heap of camel shit.
Tell that to the British government! Demanding encryption keys (even from people who might have information pertaining to violent acts [which were wrong in spite of being committed against people who were doing wrong {by experimenting on animals}]) is wrong.
And on the way, be sure to look up what Huntingdon Life Sciences and the Oxford Primate Lab actually do.
Everyone working for Huntingdon Life Sciences does so by choice. They are Legitimate Targets. If they want to be able to open a piece of mail without worrying it might take their hand off; if they want to be able to get in their car and drive it without checking for bombs; if they want to be able to walk down the street and not be called names or worse; then all they have to do is quit working for HLS. It really is that simple.
Let me guess ..... you were using some lame distro like Red Hat or SuSE. They are renowned for having kernels that are patched to christ and a faulty default config that doesn't even include basic stuff like gcc (omg oh noes!!!1! compiling is to ahrd omg!!11!). Oh, and they expect you to pay for them. Stick with One of the Three (Debian, Slackware, Gentoo) and you need never worry about a buggered-up kernel again.
If you were writing to a file then yes, it is important to check that the write was successful -- after all, you might have run out of disk space or something. But then you would be using fprintf() rather than printf().
My point (which, I'm pleased to note, managed not to escape at least one person with mod points) was that most of the time, STDOUT and STDERR are the same device. So if printf() goes tits-up, it's highly unlikely that any attempt to display an error message will work either. (I suppose you could exit non-zero, but who checks exit codes in shell scripts?)
If you can't correct it, you needn't detect it.
# iptables -I INPUT 1 -dport 3306 -j DROP -- how hard can that be?
And the default combination of "root" and no password isn't as insecure as you think, because you still need to originate queries on the machine itself. You would have to get a web hosting account on the server (or find some idiot who wasn't chmod-ing uploaded files non-executable) in order to muck about. Or rather, giving each hosting customer their own database username and password and only GRANTing them permissions on their own databases is no more secure than having users use "root". Think about it; if you were running scripts on the server, then you could look in files in other people's home directories, where their database username and password would be clearly visible. There is no* workaround, either; the apache daemon has to have read access to every user's scripts, including the code used to undo any ad hoc obfuscation applied by users to passwords.
* Actually, you probably could have every user run an instance of httpd in their name, and listening on a non-privileged port which was firewalled off from the outside world. You'd then need one "master" server configured with a module which would do nothing but route incoming requests to specific ports based on hostname. I dread to think how slowly this would run.
To a white person, all Orientals appear similar -- at least, until you have met several and learned where to look for the differences. To an Oriental person, all white people appear similar.
I had an idea, a few years ago, to mount a system consisting of a very large capacitor, a very large coil, a log periodic antenna, a high-voltage power supply and a big switch on the back of a Diesel Series Two (i.e headlights on the "outside") Land Rover (all series one Landies, i.e. headlights on the "inside", were petrol IMMSMC) and drive around causing chaos by blasting EM pulses into car engines.
..... I'd've liked to see what we got charged with.
Never actually did it. Shame really
If the law says that a patent is invalid, and the patent office award it anyway, it's still invalid and nothing short of ex post facto enforcement is going to make it valid. The patent office were in the wrong when they awarded it. Making a new law to say "software patents are now allowed as of today" only reinforces that up until yesterday, software patents were not allowed.
It's possible that the prohibition on retroactive enforcement could be repealed (although that would be a breach of an international treaty, and so possibly casus belli). It's also possible that the holders of falsely-granted patents might have grounds for legal action against the patent offices who knowingly granted patents which would not be worth more than the paper on which they were printed. Are patent offices, being (for the time being; I wouldn't be in the least bit surprised if Gordon Brown tries to privatise the UK one) Government departments, generally immune to lawsuits, or will the taxpayer be taken to the cleaners'? On the whole, it's a massive can of worms.
That's the reader you're talking about. I was referring to the full Acrobat package, which lets you create PDF documents with just one extra (and slightly less intuitive) step as compared to OpenOffice.org's "export as PDF" -- and do other things, apparently, though I know not what.
Have you tried using something like evince instead?
If they totally muck up the UI beyond recognition, then they will only give people a reason to try other software. Never mistake inertia for brand loyalty: the fact is, many people are lazy and just would rather pay good money than learn something new. Faced with a choice between a less-expensive product with a radically-different UI or a more-expensive product with the same UI, users will choose the familiar product. Faced with a choice between a less-expensive product with a radically-different UI or a more-expensive product with a radically-different UI, users will choose the less-expensive product.
Adobe have been like that way since forever.
It was Adobe who invented PostScript. Not only do you have to put the "nouns" before the "verb" (as in Forth), but it uses a riduculous base measuring unit (0.35277... mm.) Whole millimetres, tenths or hundreths -- in fact, almost anything without a recurring fraction -- would have made a lot more sense.
What else does it do, then? Not trolling, just curious.
Well, in countries where software patents are not enforcible (i.e., pretty much everywhere except the USA) anyone can already implement the "ribbon" functionality. Should any of those countries in future legalise software patents then, as long as they have ratified the UN Universal Declaration on Human Rights (or otherwise prohibit retroactive enforcement of a new law), there will be no valid software patents in that country (since legalising something implies that it was not legal beforehand; so any software patents that may have been falsely granted in the past will only be confirmed as bogus by the relevant statute) and the competing implementation can be cited as Prior Art to prevent any patent application by Microsoft.
Why bother? Just use ghostscript to create PDF files, and [kgx]pdf to view them.
Parent limits little s#!tbag's use of XBox.
Little s#!tbag gets angry, phones ChildLine and says parent touched him inappropriately.
Parent is treated as guilty even despite being proved innocent in a court of law, placed on sexual offenders' register for life, has extreme difficulty getting a job and eventually becomes a target for hate-filled, News of the World-reading mob.
And that's assuming the kid phones ChildLine, as opposed to taking matters into his own hands. There's a long, long queue of low-life criminal scum only too eager to beat up or kill a suspected nonce on the basis that (1) child-abusers are the only lower form of low-life and (2) being seen to be doing harm to a child-abuser removes suspicion that you yourself may be a child-abuser.
Is qmail the MTA that refuses lines without a \r before the \n?
As a former Amiga user and now a committed penguin-shagger, I find this highly annoying.
It's true. Cheese contains tyramine, which is a neurotransmitter analogue and an extremely mild hallucinogen -- so mild, in fact, that its effects are only noticeable if you are already asleep and dreaming.
So here's a business opportunity: Sell digital radio sets that require a smart card, something like a telephone SIM, to decrypt scrambled programmes. Broadcast advert-free scrambled programmes, funded by the purchase of said decoder cards. You'll need a lot of capital, but advert-free is a novelty that doesn't wear off -- check out the BBC sometime.