It only saves fuel for the person behind. It costs the person in front more fuel. If you're a team, you can save fuel overall, but drafting to save yourself fuel at the cost of some stranger's is being an asshole, and a dangerous asshole to boot.
Ok, I'm going to ignore the flaimbait here, and try to avoid pointing out that the gp post was tongue-in-cheak. (hmmm not doing so good so far...)
I need to point out a technical error in this comment. Drafting does in fact help both vehicles. The front vehicle travelling alone has a large buffer of air it is plowing through in front and unless its really sleak / tear drop shaped will have a big turbulant low pressure zone behind it. Both are slowing it down.
Having a second vehicle tuck into the turbulant low pressure zone moves effectively removes the effect. The 2nd vehicle obviously has little to no pressure up front, but is still dealing with the negative pressure on its tail, while the vehicle up front only has the pressure of the air up front to deal with.
Not being an expert on fluid dynamics / friction, I won't comment on how much of an improvement the vehicles gain, but this is one of the reasons 2 or 3 NASCAR vehicles in a tight pack out front can pull away from everyone else. If there was no benefit, or worse a penalty for the car out front you wouldn't see the group pull away from the pack.
However, I suspect that to get any benefit when tailgating / drafting, you need to be extremely close to the vehicle - way to close for most peoples comfort.
But your assuming 'trim($_POST['user'])' is exactly that.
Followed by: Which would be
$_POST['user']=clean_up($_POST['user']);
Now why would you do that? See, as someone who is maintainnig someone else's crap web code seeing the trim function leads me to believe that is what you thought was a good clean up routine. Especially since the argument being passed is the $_POST stream. Also, if your clean_up routine was so hot, then why didn't it also include a trim call?
If you write small 2-bit apps that only you and the web server see, then fine make your code unreadable (by doing things that make it hard to trace).
If you had actually intended to scrub a $_POST parameter first, then fine, scrub it - but put it somewhere else!
$cleaned_user = clean_up($_POST['user']);//clean_up sanitizes input and trims whitespace
// now use the variable $cleaned_user in your embedded SQL.
(rant over)
This article is quite timely. I'm currently going through over 120 ASP pages written by 'professionals' that a) has no error handling, b) has embedded SQL that originally had NO SQL Injection protection, c) no cleaning of input variables (like you suggest good payed developers should do), d) does weird stuff like use a variable 4 or 5 times before declaring it - WTF!?!? and on and on and on...
Who -- besides companies looking for more profits and a constant revenue stream -- actually wants this?
Who would be so stupid as to lease a vehicle, when they can buy one, own it and be free to drive it as far as they want without penalty? It's a crazy business model that's doomed to fail!
People will gladly be nickeled and dimed to death vs pay a large sum up front for more freedom. Look at iTunes. Who would buy a DRM infested single song when the CD is available in stores?
That aside (that people in general can't do basic math and realize that 12x100 is always more then 1000), there are good reasons to rent / lease / perpetually pay for a service. What businesses are realizing is that selling a product is a race to the bottom - someone will find a way to sell a similar product for less. The challenge for business is to justify a service model. Either take the options away or better yet, find a reason to continually charge - unlimited upgrades, data storage and backup/recovery procedures, help desk, etc.
One thing that many people forget - mostly due to the impression given by hollywood - is that gasoline and diesel don't explode at the drop of a hat. But the liquid form doesn't ignite, it must first be vaporized and mixed with oxygen before you have something that will readily combust.
I was working for my uncle in a manufacturing plant (hopper bottom grain bins). He was cutting a piece of steel with a cutting torch. The piece was no bigger then a few square inches and was glowing bright yellow. He grabs it (with welding gloves) and tosses it into a pail of liquid nearby. From the hiss, I assumed it was water - turns out it was acetone (or some similar solvent). Extremely flamable, but I guess the metal failed to heat the fuel / air mixture to the combusting point before it was submerged in an oxygenless environment. I figured he was nuts - maybe he was. The point being, had this been hollywood, the whole plant would have exploded in a massive fireball.
Finally, anyone who thinks kids today have been robbed of their imaginations should drop a box of legos in front of them.
Sadly, I may have to agree with the tone of the summary (haven't read the article). I have a fairly respectable collection of Lego, including the latest NXT Mindstorm. We (family of 4) are now temporarily living in a 1 bedroom apartment with no TV or computer (TV's in storage, PC didn't handle getting moved and is being repaired - I'm taking an extended lunch break at work to write this...). My 9 year old son, who loves to play computer games, sits at the table looking at the box of Lego pieces and exclaims:
"I don't know what to make!"
I'm stunned. Looks like I may have to delay getting the PC out of the shop, and spend some time teaching my kid how to use his imagination....
You're kidding right? I'm going to have to report you to the Cmdr on the basis that your account (an id old enough to know better) must have been hacked by someone with too much time on their hands....
As for the seventh person, I figured it as much. It's just a nicer place when summaries make sense (such as adding the phrase 'and one field support person'). But then again, this is slashdot...
A regular turniquet is reversible for a while (that's why you should note the time at which the tourniquet was applied). Your extremities can survive without blood flow much longer than your brain can.
Which is why a tourniquet is not the recommended procedure for a nose bleed, no matter how severe....
Hear! Hear! My dad worked in a manufacturing plant (farm equipment). A new fork lift driver just about backed into the company president who inappropriately wandered too close. The driver FLIPPED (figuratively). Went up one side and down the other. Told this stranger in a suit that he was DAMN lucky not to be hurt and maybe next time he should either stick closer to the tour guide or stay out of the building (or something to that effect). The president... appologized and left the area.
When the driver was informed who he had taken to task - he immediately feared for his job and went to appologize for being rude. The president would have none of it. He was clearly in the wrong place and he should have known better. He thanked the operator for being vigilant and sent him back to work.
Now that's someone worth working for!
(BTW, anti-union rant here - this is one of the few blue collar large scale manufacturing plants around that is NOT unionized. Upper management appreciates their staff and understands their jobs.)
When our kids where quite young - pre-school age, just learning their ABC's, we were driving through the city and it was scary how many logos / corporate signs the kids were 'reading'! And not just McDonalds (known for being kid friendly), but also BeaverLumber, Safeway, Royal Bank!
The weird part was, they were about 2 & 4 and we had _just_ got a TV, so it wasn't like they had years of commercials as an excuse.
One bit of irony here is that, because the hunter had a 'polar bear' tag, he was under threat of prosecution if the bear was determined to be a grizzly - however, now that the matter is cleared up, he can pick up the carcass while he's on another hunting trip in the same area - for a grizzly! (for which he presumably purchased a license for...)
Martell had a tag that allowed him to hunt polar bears, but conservation officers were threatening to charge him with shooting a grizzly. It could have landed him 12 months in jail.
Martel wasn't very happy, having spent $50,000 on his trip. He was also worried he wouldn't be able to take the hide back home with him to Idaho.
ENR will return the hide to Martell, who is already back in the territory - on a grizzly hunt.
CBC recently had a write up on the issue.
No, actually it would ELIMINATE peak-usage time, making it average-out over the whole day.
Which would actually save money (for the power companies at least) as it would mean they wouldn't have to invest in extra equipment to handle peak demands, they could better plan maintenance, etc. Depending on your luck / area, that should at least help slow down the rate increases.
These types of devices aren't a bad idea, but the payback period is what is important to me. I'm almost sad that I live in a area with cheap electricity ($0.06CDN / kWh) as none of these products will ever pay for themselves.
A number of EV proponents have long been suggesting that the cars could charge overnight, drive to work, then partially discharge during the day to help offset the peak demand and still have enough charge left to make it home. On the surface sounds like a great way to kill a whole bunch of birds at once (cheaper transportation energy costs, reduced demand on the grid, fewer greenhouse gasses, more dead birds from wind power - sorry about that last one).
Isn't a problem with one time pads transmitting the large keys without raising suspicion? A smaller key can be embedded / transmitted without being detected (I realize this is security through obscurity which the purists will tear apart - but I'm sure its used more often then we realize). The smaller key could simply be the quasar and time to start recording the one time pad. Then both parties each have the key that is ultimately used to encrypt the message.
Isn't this a little bit like the PGP algorithms which use strong, hard to do RSA keys to encrypt a simpler key used to encrypt the message?
Double check your CPU fans, heatsinks, etc. I had a customer bring their system in because they were absolutely convinced they had a virus. The PC would reboot every time they ran a virus scan. They even managed to find a virus definition online that described their virus.
Turns out the CPU fan was not connected properly, and the strain of performing a virus scan was enough to cause the system to overheat and the BIOS restarted the machine.
Does anyone else have a problem with using humans to test if a product is harmful?
If a product is intended to modify biological processes in an attempt to improve the quality of life, I recognize the need to ulimately use humans to verify the product does not cause harm.
However, this is a test of a product that is not intended to interfere with basic biological processes like cell growth, reproduction or function. To then use humans to verify if its bad seems like a poor test subject. Why not use animals first, and if that's not conclusive enough, then maybe.
(Animals can protest being the subject of our tests when they evolve the ability to defend themselves from us.)
Now that Apple is using Intel processors, does it improve the cost/benefit ratio for criminals? The argument for Apple has been not that they are better built (they may be - not trolling), but that there are fewer of them, therefore not worth the effort of writing a seperate worm/virus for. Now that they use the same hardware as the more popular Windows boxes, there may be reuse of common payloads. The point of entry may still be different (different weaknesses to exploit).
While the survey may be subjective, it seems to me there should be a limit to how much we can do individually before we are too busy getting nothing done. Technology has freed us to do so much more, and we have risen to the challenge! However, as technology continues to improve our ability to communicate, it also seems to be eroding our ability to stay on task. How many of us drop everything the moment we hear {our phone/pager ring | email notification sound | door bell}. How long does it take to get back on task after the disruption?
Just like a PC with too many tasks to do - each task takes longer and longer to complete as it is starved of CPU cycles.
You mean like the Scuds from Iraq? One of those docu-drama pseudo news shows did a special on the first gen Patriots that were such a 'success'. Turns out they missed completely. The scuds were unstable and zig-zagged too much to be hit. 'course, they also zig-zagged so much they would often self-destruct.
I was _just_ talking to my wife a couple nights ago about this (spooky action at a distance???).
In my opinion there are basically 3 types of employed people.
1) Those who do not like what they are doing - these people are either forced into situations that seem beyond their control due to socio-economcial pressure (my heart goes out to them), or they haven't got up the courage to break free and move on (DO IT! Life is too short to hate your job!)
2) Those who enjoy what they do. Like me, I am working as a software developer and find the work to be interesting and even enjoyable most of the time. This is probably the vast majority of people.
3) Those who do what they enjoy. This is where it is at! A common quote is "find a job you enjoy and you will never work a day in your life" (or something like that). Mostly athletes and business owners in this category, but there are others as well.
The key to getting yourself into group 3 is to ask the question "If you had a million dollars what would you do?". Unless you answer involves 2 girls at once, try and get that job!
All these new safety features are really neat, cool and even brilliant in some cases. However, I still feel that all that R&D, increased cost in purchasing and repairs is directed at 'popular' solutions not real solutions.
I strongly believe that the number of accidents would drop dramatically if instead of spending money on fancy safety features, people had to spend it on getting retested every few years. Have a system that pseudo-randomly selects 15-20% of the drivers each year to undergo retesting to verify their driving abilities. If you are found to be at fault for an accident or are convicted of a traffic offense your odds of being part of the 'test' group increase.
Why am I confident this would work? Because no amount of safety features has ever encouraged me to improve my driving skills and because there are not enough consistent traffic enforcement officers out there making sure I behave. The result is that, while I feel pretty confident in my ability to control a car under normal conditions, I'm prety confident that I'm bending / breaking many laws that are meant to keep me under normal conditions.
Ok, I'm going to ignore the flaimbait here, and try to avoid pointing out that the gp post was tongue-in-cheak. (hmmm not doing so good so far...)
I need to point out a technical error in this comment. Drafting does in fact help both vehicles. The front vehicle travelling alone has a large buffer of air it is plowing through in front and unless its really sleak / tear drop shaped will have a big turbulant low pressure zone behind it. Both are slowing it down.
Having a second vehicle tuck into the turbulant low pressure zone moves effectively removes the effect. The 2nd vehicle obviously has little to no pressure up front, but is still dealing with the negative pressure on its tail, while the vehicle up front only has the pressure of the air up front to deal with.
Not being an expert on fluid dynamics / friction, I won't comment on how much of an improvement the vehicles gain, but this is one of the reasons 2 or 3 NASCAR vehicles in a tight pack out front can pull away from everyone else. If there was no benefit, or worse a penalty for the car out front you wouldn't see the group pull away from the pack.
However, I suspect that to get any benefit when tailgating / drafting, you need to be extremely close to the vehicle - way to close for most peoples comfort.
And I really love this one: i=i++
*POP*
Ow. My brain blew a fuse on that one. Please no wierd / dumb code before my morning coffee....
Followed by:
Which would be
Now why would you do that? See, as someone who is maintainnig someone else's crap web code seeing the trim function leads me to believe that is what you thought was a good clean up routine. Especially since the argument being passed is the $_POST stream. Also, if your clean_up routine was so hot, then why didn't it also include a trim call?
If you write small 2-bit apps that only you and the web server see, then fine make your code
unreadable (by doing things that make it hard to trace).
If you had actually intended to scrub a $_POST parameter first, then fine, scrub it - but put it somewhere else!
(rant over)
This article is quite timely. I'm currently going through over 120 ASP pages written by 'professionals' that a) has no error handling, b) has embedded SQL that originally had NO SQL Injection protection, c) no cleaning of input variables (like you suggest good payed developers should do), d) does weird stuff like use a variable 4 or 5 times before declaring it - WTF!?!? and on and on and on...
Its Friday and I'm a bit overly cranky.
Who -- besides companies looking for more profits and a constant revenue stream -- actually wants this?
Who would be so stupid as to lease a vehicle, when they can buy one, own it and be free to drive it as far as they want without penalty? It's a crazy business model that's doomed to fail!
People will gladly be nickeled and dimed to death vs pay a large sum up front for more freedom. Look at iTunes. Who would buy a DRM infested single song when the CD is available in stores?
That aside (that people in general can't do basic math and realize that 12x100 is always more then 1000), there are good reasons to rent / lease / perpetually pay for a service. What businesses are realizing is that selling a product is a race to the bottom - someone will find a way to sell a similar product for less. The challenge for business is to justify a service model. Either take the options away or better yet, find a reason to continually charge - unlimited upgrades, data storage and backup/recovery procedures, help desk, etc.
"SELECT `userID`,`user`, `password` FROM `table` WHERE `user` = 'trim($_POST['user'])'"
Ack! Nice demonstration of the code that is vulnerable to attacks!
My user id is '; drop database; --
[OT - but reminded me of when I was a teenager]
One thing that many people forget - mostly due to the impression given by hollywood - is that gasoline and diesel don't explode at the drop of a hat. But the liquid form doesn't ignite, it must first be vaporized and mixed with oxygen before you have something that will readily combust.
I was working for my uncle in a manufacturing plant (hopper bottom grain bins). He was cutting a piece of steel with a cutting torch. The piece was no bigger then a few square inches and was glowing bright yellow. He grabs it (with welding gloves) and tosses it into a pail of liquid nearby. From the hiss, I assumed it was water - turns out it was acetone (or some similar solvent). Extremely flamable, but I guess the metal failed to heat the fuel / air mixture to the combusting point before it was submerged in an oxygenless environment. I figured he was nuts - maybe he was. The point being, had this been hollywood, the whole plant would have exploded in a massive fireball.
Sadly, I may have to agree with the tone of the summary (haven't read the article). I have a fairly respectable collection of Lego, including the latest NXT Mindstorm. We (family of 4) are now temporarily living in a 1 bedroom apartment with no TV or computer (TV's in storage, PC didn't handle getting moved and is being repaired - I'm taking an extended lunch break at work to write this...). My 9 year old son, who loves to play computer games, sits at the table looking at the box of Lego pieces and exclaims:
"I don't know what to make!"
I'm stunned. Looks like I may have to delay getting the PC out of the shop, and spend some time teaching my kid how to use his imagination....
*sigh* RBC (read before comment)
You're kidding right? I'm going to have to report you to the Cmdr on the basis that your account (an id old enough to know better) must have been hacked by someone with too much time on their hands....
As for the seventh person, I figured it as much. It's just a nicer place when summaries make sense (such as adding the phrase 'and one field support person'). But then again, this is slashdot...
They need seven volunteers.... 4 science specialists and 2 engineers... and??? someone with a red shirt?
Which is why a tourniquet is not the recommended procedure for a nose bleed, no matter how severe....
Hear! Hear!
My dad worked in a manufacturing plant (farm equipment). A new fork lift driver just about backed into the company president who inappropriately wandered too close. The driver FLIPPED (figuratively). Went up one side and down the other. Told this stranger in a suit that he was DAMN lucky not to be hurt and maybe next time he should either stick closer to the tour guide or stay out of the building (or something to that effect). The president... appologized and left the area.
When the driver was informed who he had taken to task - he immediately feared for his job and went to appologize for being rude. The president would have none of it. He was clearly in the wrong place and he should have known better. He thanked the operator for being vigilant and sent him back to work.
Now that's someone worth working for!
(BTW, anti-union rant here - this is one of the few blue collar large scale manufacturing plants around that is NOT unionized. Upper management appreciates their staff and understands their jobs.)
When our kids where quite young - pre-school age, just learning their ABC's, we were driving through the city and it was scary how many logos / corporate signs the kids were 'reading'! And not just McDonalds (known for being kid friendly), but also BeaverLumber, Safeway, Royal Bank!
The weird part was, they were about 2 & 4 and we had _just_ got a TV, so it wasn't like they had years of commercials as an excuse.
One bit of irony here is that, because the hunter had a 'polar bear' tag, he was under threat of prosecution if the bear was determined to be a grizzly - however, now that the matter is cleared up, he can pick up the carcass while he's on another hunting trip in the same area - for a grizzly! (for which he presumably purchased a license for...)
Martell had a tag that allowed him to hunt polar bears, but conservation officers were threatening to charge him with shooting a grizzly. It could have landed him 12 months in jail. Martel wasn't very happy, having spent $50,000 on his trip. He was also worried he wouldn't be able to take the hide back home with him to Idaho. ENR will return the hide to Martell, who is already back in the territory - on a grizzly hunt. CBC recently had a write up on the issue.
No, actually it would ELIMINATE peak-usage time, making it average-out over the whole day.
Which would actually save money (for the power companies at least) as it would mean they wouldn't have to invest in extra equipment to handle peak demands, they could better plan maintenance, etc. Depending on your luck / area, that should at least help slow down the rate increases.
These types of devices aren't a bad idea, but the payback period is what is important to me. I'm almost sad that I live in a area with cheap electricity ($0.06CDN / kWh) as none of these products will ever pay for themselves.
A number of EV proponents have long been suggesting that the cars could charge overnight, drive to work, then partially discharge during the day to help offset the peak demand and still have enough charge left to make it home. On the surface sounds like a great way to kill a whole bunch of birds at once (cheaper transportation energy costs, reduced demand on the grid, fewer greenhouse gasses, more dead birds from wind power - sorry about that last one).
(Disclaimer: I have not rta)
Isn't a problem with one time pads transmitting the large keys without raising suspicion? A smaller key can be embedded / transmitted without being detected (I realize this is security through obscurity which the purists will tear apart - but I'm sure its used more often then we realize). The smaller key could simply be the quasar and time to start recording the one time pad. Then both parties each have the key that is ultimately used to encrypt the message.
Isn't this a little bit like the PGP algorithms which use strong, hard to do RSA keys to encrypt a simpler key used to encrypt the message?
Double check your CPU fans, heatsinks, etc. I had a customer bring their system in because they were absolutely convinced they had a virus. The PC would reboot every time they ran a virus scan. They even managed to find a virus definition online that described their virus.
Turns out the CPU fan was not connected properly, and the strain of performing a virus scan was enough to cause the system to overheat and the BIOS restarted the machine.
Does anyone else have a problem with using humans to test if a product is harmful?
If a product is intended to modify biological processes in an attempt to improve the quality of life, I recognize the need to ulimately use humans to verify the product does not cause harm.
However, this is a test of a product that is not intended to interfere with basic biological processes like cell growth, reproduction or function. To then use humans to verify if its bad seems like a poor test subject. Why not use animals first, and if that's not conclusive enough, then maybe.
(Animals can protest being the subject of our tests when they evolve the ability to defend themselves from us.)
Now that Apple is using Intel processors, does it improve the cost/benefit ratio for criminals? The argument for Apple has been not that they are better built (they may be - not trolling), but that there are fewer of them, therefore not worth the effort of writing a seperate worm/virus for. Now that they use the same hardware as the more popular Windows boxes, there may be reuse of common payloads. The point of entry may still be different (different weaknesses to exploit).
While the survey may be subjective, it seems to me there should be a limit to how much we can do individually before we are too busy getting nothing done. Technology has freed us to do so much more, and we have risen to the challenge! However, as technology continues to improve our ability to communicate, it also seems to be eroding our ability to stay on task. How many of us drop everything the moment we hear {our phone/pager ring | email notification sound | door bell}. How long does it take to get back on task after the disruption?
Just like a PC with too many tasks to do - each task takes longer and longer to complete as it is starved of CPU cycles.
The CNN article has a great quote: .sig of mine someday....
Unfortunately, there is no way to patch user ignorance...
I love it - might become a
You mean like the Scuds from Iraq? One of those docu-drama pseudo news shows did a special on the first gen Patriots that were such a 'success'. Turns out they missed completely. The scuds were unstable and zig-zagged too much to be hit. 'course, they also zig-zagged so much they would often self-destruct.
I was _just_ talking to my wife a couple nights ago about this (spooky action at a distance???).
In my opinion there are basically 3 types of employed people.
1) Those who do not like what they are doing - these people are either forced into situations that seem beyond their control due to socio-economcial pressure (my heart goes out to them), or they haven't got up the courage to break free and move on (DO IT! Life is too short to hate your job!)
2) Those who enjoy what they do. Like me, I am working as a software developer and find the work to be interesting and even enjoyable most of the time. This is probably the vast majority of people.
3) Those who do what they enjoy. This is where it is at! A common quote is "find a job you enjoy and you will never work a day in your life" (or something like that). Mostly athletes and business owners in this category, but there are others as well.
The key to getting yourself into group 3 is to ask the question "If you had a million dollars what would you do?". Unless you answer involves 2 girls at once, try and get that job!
Enjoy!
All these new safety features are really neat, cool and even brilliant in some cases. However, I still feel that all that R&D, increased cost in purchasing and repairs is directed at 'popular' solutions not real solutions.
I strongly believe that the number of accidents would drop dramatically if instead of spending money on fancy safety features, people had to spend it on getting retested every few years. Have a system that pseudo-randomly selects 15-20% of the drivers each year to undergo retesting to verify their driving abilities. If you are found to be at fault for an accident or are convicted of a traffic offense your odds of being part of the 'test' group increase.
Why am I confident this would work? Because no amount of safety features has ever encouraged me to improve my driving skills and because there are not enough consistent traffic enforcement officers out there making sure I behave. The result is that, while I feel pretty confident in my ability to control a car under normal conditions, I'm prety confident that I'm bending / breaking many laws that are meant to keep me under normal conditions.
I wonder what their theme song was...
Its right up there with passing multiple life sentences that cannot be served concurrently....