I work 40 hours, an hour lunch break included, and do.NET development work at a major company. This isn't to say that there aren't deadlines where you might work longer, but they're pretty rare. I find that I get more done with the 7 hour workday than I do with a 10 hour day. I'm more focused and not pissed about all the time I'm wasting at work.
You probably won't read this since its later in the day, but here goes. I just wrote an xml validator in linq today. This xml has multiple nested nodes. In less than 100 lines of code, I wrote a class that validates that my schema (which is arcane), that all of the numbers match up (100 in the results tag means I actually have 100 results), and counting the number of results. I did this by counting the number of semicolons. Now, you can count the number of semicolons by a loop over the character array, or
int semi = myhugestring.tochararray().where(p => p == ';').count()
You might be able to do this in less code with regular expressions, but it wouldn't be so readable. In addition, say instead of a string, I had a var of xml elements. That var would not be populated until I execute my count code. And then, it iterates over the in memory collection and gets me exactly what I want. It does not build a separate list and do a search. If your xml is huge (as mine is), this greatly reduces the memory footprint. Finally, LINQ provides a well defined expression tree. This means that future version of the framework will be able to determine what is parallelizable and then do it. Currently, C# doesn't really offer parallel constructs (in release), and its really hard to write parallel code anyway. This will take the load off of the programmer. Hope this helps.
I have no especially strong feelings on whether telecoms should get immunity. They were asked to help their country and got some bad legal advice. So, give them immunity. They thought they were doing the right thing and were misled (as were many) by the administration. The people who should be tarred and feathered for this are in the Bush administration. They planned this and then initiated it. Why is no one trying to hold them culpable? Lets place the blame where it truly belongs, with the conspirators who planned this.
I'll reply again, its not spam to mention a business. I also like Google and Yahoo. I could have just as easily said Yahoo.
I also find it hard to believe that your musical tastes are so obscure that you cannot find the music you want anywhere or get someone to order it for you. Where are you working, the South Pole?
What, I could have said Yahoo. Its not spam if i mention a business. I also like Yahoo! and Google. Perhaps you could mod this spam too.
So, by your analogy, if you copy a windows XP cd, that is not stealing either? Now, I know lots of people do it, however that doesn't make it right.
I realize this will be an unpopular opinion on slashdot... However, the fact is these people are stealing. There is no justification for downloading "free" music. Its not free, its just convenient. I don't get the difference between downloading with P2P and seeing a sidewalk sale and walking off with CDs. Three warnings and cutting off internet access seems to be reasonable. I think the US companies are a bit draconian with lawsuits, however a misdemeanor similar to shoplifting with a small fine would be warranted if someone is doing this. Seriously, if you want unlimited music, sign up for Rhapsody. Its not that expensive.
Well, I have a music subscription to Yahoo and am completely addicted to music new and old. I also work at a computer all day where I am always listening to music. I absolutely can't understand why anyone who truly loves music and has eclectic tastes wouldn't do this. For $7 a month, I have access to several million songs of multiple genres. I don't mind paying for nonDRM'd music, but with all of the music I'm listening to on Yahoo, it would cost me about $5000 in downloads. It would take me being a subscription member for 60 years to make buying from itunes a reasonable alternative. Here, I can sample new albums by people I'm interested in and listen to them over and over again. When I get tired of them, I can just delete them. That way they won't go next to Journey in my decaying CD collection. Its unlikely I would have ever been exposed to Nina Simone, Regina Spektor, the Shins, or Wilco if I didn't have an enormous music library to browse. Some people like all you can eat buffets.
I've got a program that does benefit enormously from using multiple cores. I looked into the TBB first, and I have to say my head hurt for an hour after looking at their examples. It would have required a serious rewrite of my core numerical routines, and not in a pretty way. I've found the OpenMP pragmas to be the easiest way to maintain the structure of existing code while leveraging the multiple cores. Now, there are very few examples of OpenMP that do anything useful on the web, but after a couple of hours of reading, I was able to very easily integrate it with maybe an extra couple of lines of code and some very minor reworking of the existing code.
I work 40 hours, an hour lunch break included, and do .NET development work at a major company. This isn't to say that there aren't deadlines where you might work longer, but they're pretty rare. I find that I get more done with the 7 hour workday than I do with a 10 hour day. I'm more focused and not pissed about all the time I'm wasting at work.
You probably won't read this since its later in the day, but here goes. I just wrote an xml validator in linq today. This xml has multiple nested nodes. In less than 100 lines of code, I wrote a class that validates that my schema (which is arcane), that all of the numbers match up (100 in the results tag means I actually have 100 results), and counting the number of results. I did this by counting the number of semicolons. Now, you can count the number of semicolons by a loop over the character array, or int semi = myhugestring.tochararray().where(p => p == ';').count() You might be able to do this in less code with regular expressions, but it wouldn't be so readable. In addition, say instead of a string, I had a var of xml elements. That var would not be populated until I execute my count code. And then, it iterates over the in memory collection and gets me exactly what I want. It does not build a separate list and do a search. If your xml is huge (as mine is), this greatly reduces the memory footprint. Finally, LINQ provides a well defined expression tree. This means that future version of the framework will be able to determine what is parallelizable and then do it. Currently, C# doesn't really offer parallel constructs (in release), and its really hard to write parallel code anyway. This will take the load off of the programmer. Hope this helps.
I have no especially strong feelings on whether telecoms should get immunity. They were asked to help their country and got some bad legal advice. So, give them immunity. They thought they were doing the right thing and were misled (as were many) by the administration. The people who should be tarred and feathered for this are in the Bush administration. They planned this and then initiated it. Why is no one trying to hold them culpable? Lets place the blame where it truly belongs, with the conspirators who planned this.
I'll reply again, its not spam to mention a business. I also like Google and Yahoo. I could have just as easily said Yahoo. I also find it hard to believe that your musical tastes are so obscure that you cannot find the music you want anywhere or get someone to order it for you. Where are you working, the South Pole?
What, I could have said Yahoo. Its not spam if i mention a business. I also like Yahoo! and Google. Perhaps you could mod this spam too. So, by your analogy, if you copy a windows XP cd, that is not stealing either? Now, I know lots of people do it, however that doesn't make it right.
I realize this will be an unpopular opinion on slashdot... However, the fact is these people are stealing. There is no justification for downloading "free" music. Its not free, its just convenient. I don't get the difference between downloading with P2P and seeing a sidewalk sale and walking off with CDs. Three warnings and cutting off internet access seems to be reasonable. I think the US companies are a bit draconian with lawsuits, however a misdemeanor similar to shoplifting with a small fine would be warranted if someone is doing this. Seriously, if you want unlimited music, sign up for Rhapsody. Its not that expensive.
Well, I have a music subscription to Yahoo and am completely addicted to music new and old. I also work at a computer all day where I am always listening to music. I absolutely can't understand why anyone who truly loves music and has eclectic tastes wouldn't do this. For $7 a month, I have access to several million songs of multiple genres. I don't mind paying for nonDRM'd music, but with all of the music I'm listening to on Yahoo, it would cost me about $5000 in downloads. It would take me being a subscription member for 60 years to make buying from itunes a reasonable alternative. Here, I can sample new albums by people I'm interested in and listen to them over and over again. When I get tired of them, I can just delete them. That way they won't go next to Journey in my decaying CD collection. Its unlikely I would have ever been exposed to Nina Simone, Regina Spektor, the Shins, or Wilco if I didn't have an enormous music library to browse. Some people like all you can eat buffets.
I've got a program that does benefit enormously from using multiple cores. I looked into the TBB first, and I have to say my head hurt for an hour after looking at their examples. It would have required a serious rewrite of my core numerical routines, and not in a pretty way. I've found the OpenMP pragmas to be the easiest way to maintain the structure of existing code while leveraging the multiple cores. Now, there are very few examples of OpenMP that do anything useful on the web, but after a couple of hours of reading, I was able to very easily integrate it with maybe an extra couple of lines of code and some very minor reworking of the existing code.