// this looks obvious, but because of foo baz and kwok should never be attempted. YourName Date
Or you could do the correct thing, which would be to add tests that verify the behavior of foo and baz are correct in the case of kwok, then you're covered regardless of implementation. If the comment describes a performance optimization, you should describe why the current version works, rather than why the old version doesn't.
Either way, your name and date are automatically recorded by your vcs, so you should never need to include that info in a comment.
Depending on your language, putting a "TODO" marker allows for easy and quick cleanup afterwards.
Only if I am allowed to punch you in the face every time I see a TODO in the code from 3 years ago with a terse description that doesn't even match the current code. If it's something that needs to be done now, then do it. Otherwise, track the task as a ticket/store/defect, whatever method you use for tracking and prioritizing work, but please, please don't put a useless comment in the code.
How does leaving commented code help avoid bugs? If a bug was introduced into the code base, first thing an investigating developer usually does is look at the vcs's change log to see what changed, where the deletion will be obvious. Leaving it in the code doesn't make it any more discoverable, and there is a pretty good chance someone will forget to delete it.
If I was performing a reviewing code and saw a bunch of commented out code, I'd ask why the hell it was there and tell the perpetrator to remove it before committing.
The problem is it's just too expensive. All of our road signs are in imperial. All of our building codes are in imperial. All of our tools are imperial. Many standard building materials like pipes are measured in imperial and then converted to metric for the rest of world anyway (if you've ever wondered why they sell weird sizes like 31.8mm, it's because it's 1 1/4 inches).
Space probes run on a couple of lightbulbs worth of power for flight control, communications, instruments and sometimes heat source combined. For example, Curiosity, the newest Mars rover runs on 125 watts of usable power.
What if the security questions you're answering are for your email account? Gmail and others have options for 2 factor auth, where a text is sent to your phone, but it's usually entirely optional.
Well, it was free up until today, and now you can pay $50 per year per person for it. It's only marketed to businesses, but they don't check to make sure you're a business when you sign up, anyone can use it.
I guess most of the tempfile stuff I've worked with has been in Python and Ruby, where the std lib has functions to create tempfiles, and you don't have to worry much about file paths or name collisions or having to set the correct file permissions. Presumably there are similar third party libs for languages lacking these features in the std lib.
There are just as many horribly buggy, slow, and insecure Javascript/HTML sites. I've done some Flex work, and AS3 is a very solid platform. Mozilla's original Javascript JIT was an offshoot of the AS3 JIT, and I'm sure some AS3 features had a lot of influence on web standards such as WebWorkers. Now if the browsers could only agree on a standard for an efficient binary serialization format with object references like AMF....
3.5" platter drivers are not exactly a hot growth area. The big HDD manufacturers had state of the art, super efficient assembly lines, but they are probably unwilling to spend the money required to get back to 100%, since investing the same amount of money in SSD assembly would likely have a much bigger payoff. If I was an HDD company I would spend just enough to get HDD assembly back to 80%, while investing the rest in growth areas like SSD.
The unemployment rate for those majors would like to disagree with you: http://www.cbsnews.com/8301-505145_162-57324669/25-college-majors-with-lowest-unemployment-rates/
It's different with the S (especially if you're going into academics), but if you can't find a decent paying TEM job, then you either need to move to a different area, or you're not very good. The unemployment rate for Computer Scientists, Mathematicians, and Engineers of all fields is below 5% nation wide, and significantly lower than that in most major metro areas.
Liberal arts have already been thrown under the bus at most schools. A 700 person humanities or communications class costs far less to teach than the students are paying in tuition, which helps offset STEM classes that cost far more than what students are paying. Why do you think schools have gen-ed requirements? They are there to subsidizes higher level classes that would be too expensive to teach on their own.
I used to work at a University and I would say it has more to do with the Administration's boner for new multimillion dollar construction projects. Does your campus really need a $50 million dollar rec center or a $150 million student union?
That's a load of BS.
Companies that represent the bulk of US contracting dollars are overwhelmingly run by white males: Boeing, Lockheed, Haliburton, General Dynamics, GE, Cisco, Mircosoft, GM... Which large government contracts are being awarded to minority/female run companies?
I don't think DNT will have such a big effect. Google already offers paid Gmail (and all their other apps) without adds/tracking as well, but most people don't really care. Personally I like targeted adds. If an add pops up for something on sale that I'm interested in, that's great. Win for me buying something on sale, win for the company selling it.
The US has by far the most efficient freight rail system in the world. We move the most absolute tons, plus we move more tons and $ of goods per transportation $ and per unit of energy than any other freight rail system in the world. The reason we don't have passenger rail is because it is far less profitable than freight, and is not very efficient. Car pooling with 2 or more people is more energy efficient than a full train for most autos/trains/distance combinations, and flying is cheaper (although less energy efficient) for most longer distances. Even in Europe, where passenger rail service is well developed, flying is cheaper than high speed trains anytime you are traveling a significant distance like you do in the US. Only the slow and/or short distance train tickets are price competitive.
The amount of data transmitted from spacecraft is highly limited due to power constraints. The amount of data being streamed back to the DSN is really tiny. Getting the data from a weak signal is the difficult part. Processing, storing, and relaying the data would all be trivial with a modern laptop. We're talking about data streams that don't have enough bandwidth to show a YouTube video (165 kbps for the Cassinni spacecraft for example). But as long as we're putting an antenna on the back of the moon, it should probably be able to handle more spacecraft with higher transfer rates, because we're optimistic about the future.
Or you could do the correct thing, which would be to add tests that verify the behavior of foo and baz are correct in the case of kwok, then you're covered regardless of implementation. If the comment describes a performance optimization, you should describe why the current version works, rather than why the old version doesn't. Either way, your name and date are automatically recorded by your vcs, so you should never need to include that info in a comment.
Depending on your language, putting a "TODO" marker allows for easy and quick cleanup afterwards.
Only if I am allowed to punch you in the face every time I see a TODO in the code from 3 years ago with a terse description that doesn't even match the current code. If it's something that needs to be done now, then do it. Otherwise, track the task as a ticket/store/defect, whatever method you use for tracking and prioritizing work, but please, please don't put a useless comment in the code.
How does leaving commented code help avoid bugs? If a bug was introduced into the code base, first thing an investigating developer usually does is look at the vcs's change log to see what changed, where the deletion will be obvious. Leaving it in the code doesn't make it any more discoverable, and there is a pretty good chance someone will forget to delete it.
If I was performing a reviewing code and saw a bunch of commented out code, I'd ask why the hell it was there and tell the perpetrator to remove it before committing.
Or maybe you shouldn't be commiting unreviewed code in the first place (at least the master/trunk branch)
The problem is it's just too expensive. All of our road signs are in imperial. All of our building codes are in imperial. All of our tools are imperial. Many standard building materials like pipes are measured in imperial and then converted to metric for the rest of world anyway (if you've ever wondered why they sell weird sizes like 31.8mm, it's because it's 1 1/4 inches).
Space probes run on a couple of lightbulbs worth of power for flight control, communications, instruments and sometimes heat source combined. For example, Curiosity, the newest Mars rover runs on 125 watts of usable power.
What if the security questions you're answering are for your email account? Gmail and others have options for 2 factor auth, where a text is sent to your phone, but it's usually entirely optional.
I thought this explanation was developed several years ago? Is it just a new analysis confirming the results?
Those mountains of data are more like molehill's by today's standards.
Well, it was free up until today, and now you can pay $50 per year per person for it. It's only marketed to businesses, but they don't check to make sure you're a business when you sign up, anyone can use it.
I guess most of the tempfile stuff I've worked with has been in Python and Ruby, where the std lib has functions to create tempfiles, and you don't have to worry much about file paths or name collisions or having to set the correct file permissions. Presumably there are similar third party libs for languages lacking these features in the std lib.
I haven't done much windows development, are the semantics of C:\temp different from /tmp? Why is writing to it a bad idea?
There are just as many horribly buggy, slow, and insecure Javascript/HTML sites. I've done some Flex work, and AS3 is a very solid platform. Mozilla's original Javascript JIT was an offshoot of the AS3 JIT, and I'm sure some AS3 features had a lot of influence on web standards such as WebWorkers. Now if the browsers could only agree on a standard for an efficient binary serialization format with object references like AMF....
The project is targeting HTML5 capable browsers, this will not work in IE8, or whatever crusty browser you're still using in the hinter land.
Available free from Google: http://www.google.org/flutrends/
3.5" platter drivers are not exactly a hot growth area. The big HDD manufacturers had state of the art, super efficient assembly lines, but they are probably unwilling to spend the money required to get back to 100%, since investing the same amount of money in SSD assembly would likely have a much bigger payoff. If I was an HDD company I would spend just enough to get HDD assembly back to 80%, while investing the rest in growth areas like SSD.
The unemployment rate for those majors would like to disagree with you: http://www.cbsnews.com/8301-505145_162-57324669/25-college-majors-with-lowest-unemployment-rates/ It's different with the S (especially if you're going into academics), but if you can't find a decent paying TEM job, then you either need to move to a different area, or you're not very good. The unemployment rate for Computer Scientists, Mathematicians, and Engineers of all fields is below 5% nation wide, and significantly lower than that in most major metro areas.
Liberal arts have already been thrown under the bus at most schools. A 700 person humanities or communications class costs far less to teach than the students are paying in tuition, which helps offset STEM classes that cost far more than what students are paying. Why do you think schools have gen-ed requirements? They are there to subsidizes higher level classes that would be too expensive to teach on their own.
I used to work at a University and I would say it has more to do with the Administration's boner for new multimillion dollar construction projects. Does your campus really need a $50 million dollar rec center or a $150 million student union?
That's a load of BS. Companies that represent the bulk of US contracting dollars are overwhelmingly run by white males: Boeing, Lockheed, Haliburton, General Dynamics, GE, Cisco, Mircosoft, GM... Which large government contracts are being awarded to minority/female run companies?
I don't think DNT will have such a big effect. Google already offers paid Gmail (and all their other apps) without adds/tracking as well, but most people don't really care. Personally I like targeted adds. If an add pops up for something on sale that I'm interested in, that's great. Win for me buying something on sale, win for the company selling it.
The US has by far the most efficient freight rail system in the world. We move the most absolute tons, plus we move more tons and $ of goods per transportation $ and per unit of energy than any other freight rail system in the world. The reason we don't have passenger rail is because it is far less profitable than freight, and is not very efficient. Car pooling with 2 or more people is more energy efficient than a full train for most autos/trains/distance combinations, and flying is cheaper (although less energy efficient) for most longer distances. Even in Europe, where passenger rail service is well developed, flying is cheaper than high speed trains anytime you are traveling a significant distance like you do in the US. Only the slow and/or short distance train tickets are price competitive.
For that to work, you'd have to bolt on some type of indexing system, which seems way out of scope for a standard file system.
The amount of data transmitted from spacecraft is highly limited due to power constraints. The amount of data being streamed back to the DSN is really tiny. Getting the data from a weak signal is the difficult part. Processing, storing, and relaying the data would all be trivial with a modern laptop. We're talking about data streams that don't have enough bandwidth to show a YouTube video (165 kbps for the Cassinni spacecraft for example). But as long as we're putting an antenna on the back of the moon, it should probably be able to handle more spacecraft with higher transfer rates, because we're optimistic about the future.