The only time I don't do this is if the user-submitted input is first passed through an input validator that should reject anything containing dangerous characters (for example, a valid e-mail address cannot contain HTML tags, so if I reject all but a valid e-mail address, then I don't need to sanitize the e-mail address). But how can I be sure I haven't missed anything somewhere?
Ouch. I can disable the client-side validation entirely. I can also write my own form and send you anything I like.
radio contacts, radios and taximeters are somewhere between 5.0 and 6.0
Radio stuff, sure - but taximeters have been around since Roman times. When I was a kid I had an encyclopedia with a diagram of one, showing wooden cogs (actually wheels with wooden pegs on the face) gearing the axle rotation down and driving something that released a pebble every x revolutions of the cart wheel. The fare was (obviously) based on the number of pebbles spat out during the journey.
I've always thought that it would be far more fun to get into someone's system (actually, lots of people's systems) and replace the smiley images. You send:) and, instead of getting a smiley face, they see an image that contains a sexually explicit proposition in the default MSN font. Imagine the chaos.
Fortunately for the world, I can't write viruses.:D
I admit to having screwed this up myself with a project I maintain - something I'm trying hard to rectify as we speak.
With this sort of honesty and self-awareness from the maintainer, I'd feel a lot more comfortable about using the product (and contributing to it, if I were able).
I sit at work all day with one phone on my desk and one in my pocket. It'd drive my colleagues (and me) nuts if they were both to ring at the same time.
If this could use Latitude to see where my cellphone is, then I could set up certain behaviours, like:
* If my mobile is at home during working hours, chances are I forgot it - ring the desk phone. * If it's at work during working hours, don't ring the desk phone.
"The camera on your phone could not be accessed - 80070037. Close any other applications that may be using it and try again."
This persisted after closing all apps. Rebooted the phone and it was fine.
I got a bit frustrated with trying to get the thing to take a photo, pressing all the buttons that made sense - but while I was waving the phone around, it automatically identified the tag and fired up IE without my pressing anything. Now I know how it works, I'm actually quite impressed.
I can thin[k] of another abundant biofuel source that we have a hard time eliminating and that nobody would eat: fecal waste. Everything from poultry litter and cow manure to even human sewerage. How is THAT for gross?
I can see the Ryanair implementation now. Laxatives in the FREE WATER!!! and no seats, only 200 toilets with seat-belts. Turbulence is going to be messy.
The one you hear in the UK is the "two-second rule" - leave two seconds' gap between you and the car in front. As the guy in front passes something - lamp-post, pothole, cats-eye, whatever, say out loud, "Only a fool breaks the two-second rule." It takes about two seconds. If you're still saying that when you get to the object, you're too close. Double it for wet conditions.
The nice thing about that is, it scales with the speed.
I would have thought the clue was in this part: user-submitted Unless, of course, his users all have logins on his server.
The only time I don't do this is if the user-submitted input is first passed through an input validator that should reject anything containing dangerous characters (for example, a valid e-mail address cannot contain HTML tags, so if I reject all but a valid e-mail address, then I don't need to sanitize the e-mail address). But how can I be sure I haven't missed anything somewhere?
Ouch. I can disable the client-side validation entirely. I can also write my own form and send you anything I like.
Sanitize everything.
As long as it's halal, I don't see the problem :)
Burn your ABBA CDs!
It won't actually make any difference, but it's still a good idea...
Not Quantas.
radio contacts, radios and taximeters are somewhere between 5.0 and 6.0
Radio stuff, sure - but taximeters have been around since Roman times. When I was a kid I had an encyclopedia with a diagram of one, showing wooden cogs (actually wheels with wooden pegs on the face) gearing the axle rotation down and driving something that released a pebble every x revolutions of the cart wheel. The fare was (obviously) based on the number of pebbles spat out during the journey.
See, for example, the fourth post here:
http://engforum.pravda.ru/showthread.php?t=219450
I've always thought that it would be far more fun to get into someone's system (actually, lots of people's systems) and replace the smiley images. You send :) and, instead of getting a smiley face, they see an image that contains a sexually explicit proposition in the default MSN font. Imagine the chaos.
Fortunately for the world, I can't write viruses. :D
What's "capping it", and why would I want to do it alone?
If it had been available in CF format, I'd have my credit card in my hand right now.
I admit to having screwed this up myself with a project I maintain - something I'm trying hard to rectify as we speak.
With this sort of honesty and self-awareness from the maintainer, I'd feel a lot more comfortable about using the product (and contributing to it, if I were able).
I sit at work all day with one phone on my desk and one in my pocket. It'd drive my colleagues (and me) nuts if they were both to ring at the same time.
If this could use Latitude to see where my cellphone is, then I could set up certain behaviours, like:
* If my mobile is at home during working hours, chances are I forgot it - ring the desk phone.
* If it's at work during working hours, don't ring the desk phone.
Sorry, but my "NO DONUTS TODAY" sign constitutes prior art.
What does IE8 have to do with dyslexics buying furniture?
If this is a police state, where are my doughnuts?!
- Aggrieved Sugar-Deficient Brit
Odd... I'd have thought that ethnicity, at least in broad terms, would be a lot easier to determine than age range or gender.
If the baby walri are stupid enough to come ashore to drown they deserve it.
...but what does that Perl do?
HTC Kaiser (O2 XDA Stellar) running WM6.
"The camera on your phone could not be accessed - 80070037. Close any other applications that may be using it and try again."
This persisted after closing all apps. Rebooted the phone and it was fine.
I got a bit frustrated with trying to get the thing to take a photo, pressing all the buttons that made sense - but while I was waving the phone around, it automatically identified the tag and fired up IE without my pressing anything. Now I know how it works, I'm actually quite impressed.
Windows 7 Ho Multimate Edition?
I can thin[k] of another abundant biofuel source that we have a hard time eliminating and that nobody would eat: fecal waste. Everything from poultry litter and cow manure to even human sewerage. How is THAT for gross?
I can see the Ryanair implementation now. Laxatives in the FREE WATER!!! and no seats, only 200 toilets with seat-belts. Turbulence is going to be messy.
...Flight Simulator...
Oh wait, maybe that's me.
Home from church, straight to the pr0n!
I telecommute, you insensitive clod!
...freeing more memory for the benchmark tasks. Of course!
The one you hear in the UK is the "two-second rule" - leave two seconds' gap between you and the car in front. As the guy in front passes something - lamp-post, pothole, cats-eye, whatever, say out loud, "Only a fool breaks the two-second rule." It takes about two seconds. If you're still saying that when you get to the object, you're too close. Double it for wet conditions.
The nice thing about that is, it scales with the speed.