I had a hard drive that were going dead. Reporting bad sectors all over the place. Then I recovered what data I could, and then used dd if=/dev/zero of=/dev/hdb. And then I did dd if=/dev/urandom of=/dev/hdb. After that I formatted the drive and it worked fine. This worked on two drives that failed within a year of eachother, and I've been using them for at least 2 years. I'm not sure how it fixed anything, but it seemed to work for me.
There's a slight problem with that. First of all, the population of Mexico is around 100 million. The population of China is over 1.2 billion. Also, the GPD per capita of Mexico is $12,000. The GPD per capita of China is $5300. It would probably cost at least twice as much to hire a Mexican worker, as it would a Chinese worker.
That levy only covers CDs that are actually copied. Not music transfered over P2P. You can borrow a CD from the library or a friend, and make a copy for yourself. You cannot make a copy for your friend. Your friend has to make the copy himself. The levy doesn't cover every possible copyright violation you could possibly make.
The US military has bases all over the country, and even all over the world. Put 10-100 computers in at each military base to participate in the botnet, and you could probably have a pretty strong botnet.
Just about everything we purchase now is produced in China. Sure it would hurt China a lot of a country were to boycott them. But it would also hurt their own citizens. Not only would consumers be unable to purchase products from China, but businesses would be unable to outsource labour to China in order to keep prices low. While I think China needs to change their ways, I don't know if boycotting Chinese products is really feasible from an economic standpoint.
In Canada, we pay for airtime on incoming and outgoing calls. For SMS we usually only pay for sending. I'm not sure how they can charge you for receiving an SMS. You have no option but to receive it. With boice calls, you could always just not answer if you don't want to pay for the air time. Or hang up at any time if you find the call is going on too long and you think it's getting too expensive. With SMS the message just shows up own your phone. Could you just ring up hundreds of dollars of charges on someones account by sending them thousands of SMS messages?
Not for the actual concession operators, but that $4 is going somewhere. Most likely to the owners of the baseball team, or the player's salaries, or to the owners of the stadium.
I don't really see the problem with it, but I don't really see why you would want to either. For the reasons I listed above. Sure you could build a house building robot, although it probably wouldn't do the entire job autonomously. Roof trusses already come preassembled in most cases. I don't see why you couldn't have robots assembling them in the first place.
I really don't see the problem with robots building houses. Most new houses look the same anyway. There's entire suburbs where all the houses look the same, and all the suburbs look the same as the other suburbs. There isn't much variation going on lately. Unless you look at expensive designer homes. Besides the actual cost of building a house is quite low. The real expensive part is the land. You can't get robots to create more land. Also, robots probably wouldn't build a house any better than humans will. Any problems with construction are more due to the use of bad materials, or only doing things "to code", and not going anywhere beyond that, and have nothing to do with actual workmanship.
150 KB/s is pretty slow. I'm using 120 KB/s service at home, but that's the slowest actual high speed connection my ISP offers. They also offer 256 kbit connection, with a 2 GB transfer cap, but I don't consider that high speed. They offer all the way up to 18 mbit/s. I actually consider my connection quite slow, as most people I know have a 5 mbit connection (mine is 1 mbit). I find it hard to believe that ISPs actually get away with calling 50 KB/s broadband.
I think that putting code out on the web is something only for experienced developers. Sure, everybody and their brother wants to do it, but that doesn't mean it's a good idea. Putting out an application on the internet, where anybody else can access it is inherently complex. Especially when you have server side code that accesses a database. You can kind of think about programming as chemistry. Anybody can buy a little chemistry kit in the mall, that has been verified to not contain anything that will explode or corrode, but that doesn't mean that people we would assume they are safe using high concentration sulfuric acid. The same for programming. If you are just programming little desktop apps that will be used by a single person then that's not so bad. It's much harder to cause a problem with a program on somebody else's machine if that program isn't accessing the internet. Once the app moves online, everybody is affected when a vulnerability is found. You wouldn't want an amateur making gun powder, you wouldn't want an amateur putting code out on the web.
And yes, I did mean mysql_real_escape_string. I only use PHP for personal development, and haven't used that function for so long that I forgot what it was called. Much easier and less risky to use PDO with prepared queries. You can't accidentally forget to clean a string using that method.
When driven safely, there's nothing wrong with a ford pinto. Sure it's not the best car out there, but it will get you from A to B. And what do you even mean by "doing things the default way", in reference to PHP. Is mysql_query("SELECT * FROM Users WHERE UserID='" . GET["USERID"] . "'") the default way of running a query. Because that's the way most beginner PHP tutorials teach it. Or is the default way to use mysql_real_escape_quote. Or is the default way to use a prepared statement, using PDO. If you think the default is the first way, then I would blame the problem more on badly written tutorials than on any problems with the language itself.
Would booting from an SD card with the write protect on be any faster? I know that not all computers support booting from USB devices, but for those that do, it should be much quicker than booting from a CD.
That's the big problem with PHP. They get all these great new features, but since they weren't there in the first place, you can't really take full advantage of them. Take namespaces for example. It's great that they have namespaces now, but it doesn't help when the entire PHP API is completely devoid of namespaces. You mentioned exception handling, where it's nice that they finally have it, but it sucks, because the current API doesn't employ it. Even things like object oriented programming are only half supported by the API. Certain things are possible to do using objects, but large parts of the PHP API don't even use objects, just functions.
As a fellow.Net developer, I really have to agree. I use PHP for my hobby projects, because it's easy to find a cheap webhost that has it, but I really don't like the unstructured mess that is PHP. Despite the fact that I like to use open source software wherever possible, I have to say that.Net really is quite a bit better than PHP.
Try doing a search on Dice.com, where they post jobs. ASP.Net Developer returns 3626, while PHP developer only returns 1514 jobs. That's less than half. So while PHP may be used by tons of hobbyist coders (I use it myself), ASP.Net is used much more in the business world.
I'm with dreamhost, and I still have the option to switch my domain over to 4.4.x, although I'm currently running on 5.2.x. I don't see why a webhost with a large number of customers, couldn't support multiple versions of PHP, especially if there was a large number of customers (at least 10-15%) using that particular version.
If all somebody needs is your IP address to attack your computer, there's probably other ways for them to get it. I think that files are still sent directly from user to user, so all you have to do is get somebody to accept a file. Or you could just send them to some website you control, and check your logs. If the only think protecting you from the people on the internet is the secrecy of your IP address, then you got big problems.
Which is why ICQ used to be nice it the good old days, when messages were sent directly between users. The servers were only to log in and get the IP address of everyone else in your list. I'm not sure if there's still any messaging protocols that work this way. It makes much more sense, and keeps messages much more private.
Because sometimes it's nice to have a 14 inch screen. I don't mind the idea of a eeePC, but given the fact that I don't feel like spending money on 2 portable computers, I'd much rather have a full sized laptop. I got a $500 Acer Laptop, and it runs Linux just fine.
Cool that there are a couple, but seems to be not much selection. I'd rather pay "extra" for the laptop with the windows license and just install Linux later if everything else meets my needs than spend the same amount on a laptop that comes with Linux preinstalled, but gives me no choice as to the features I can get. It's nice to see that these things are starting to become available though.
Yes you can live completely without meat. One example of a really good plant protein source is Quinoa. Also, 1 billion Hindus can't be wrong. And while I realize that some Hindus do eat meat, there's enough people in the world who eat no meat (or who are completely vegan), who have no problem meeting their nutritional needs. I also enjoy steak, although top sirloin is my favourite cut. I'm didn't say that I was completely vegetarian, or that it's the way people should be, but big chunks of meat at every meal is very detrimental to your health.
I had a hard drive that were going dead. Reporting bad sectors all over the place. Then I recovered what data I could, and then used dd if=/dev/zero of=/dev/hdb. And then I did dd if=/dev/urandom of=/dev/hdb. After that I formatted the drive and it worked fine. This worked on two drives that failed within a year of eachother, and I've been using them for at least 2 years. I'm not sure how it fixed anything, but it seemed to work for me.
There's a slight problem with that. First of all, the population of Mexico is around 100 million. The population of China is over 1.2 billion. Also, the GPD per capita of Mexico is $12,000. The GPD per capita of China is $5300. It would probably cost at least twice as much to hire a Mexican worker, as it would a Chinese worker.
That levy only covers CDs that are actually copied. Not music transfered over P2P. You can borrow a CD from the library or a friend, and make a copy for yourself. You cannot make a copy for your friend. Your friend has to make the copy himself. The levy doesn't cover every possible copyright violation you could possibly make.
The US military has bases all over the country, and even all over the world. Put 10-100 computers in at each military base to participate in the botnet, and you could probably have a pretty strong botnet.
Just about everything we purchase now is produced in China. Sure it would hurt China a lot of a country were to boycott them. But it would also hurt their own citizens. Not only would consumers be unable to purchase products from China, but businesses would be unable to outsource labour to China in order to keep prices low. While I think China needs to change their ways, I don't know if boycotting Chinese products is really feasible from an economic standpoint.
In Canada, we pay for airtime on incoming and outgoing calls. For SMS we usually only pay for sending. I'm not sure how they can charge you for receiving an SMS. You have no option but to receive it. With boice calls, you could always just not answer if you don't want to pay for the air time. Or hang up at any time if you find the call is going on too long and you think it's getting too expensive. With SMS the message just shows up own your phone. Could you just ring up hundreds of dollars of charges on someones account by sending them thousands of SMS messages?
Not for the actual concession operators, but that $4 is going somewhere. Most likely to the owners of the baseball team, or the player's salaries, or to the owners of the stadium.
I don't really see the problem with it, but I don't really see why you would want to either. For the reasons I listed above. Sure you could build a house building robot, although it probably wouldn't do the entire job autonomously. Roof trusses already come preassembled in most cases. I don't see why you couldn't have robots assembling them in the first place.
But who's calling them open source? Certainly Microsoft isn't, otherwise they would have a lawsuit on their hands.
I really don't see the problem with robots building houses. Most new houses look the same anyway. There's entire suburbs where all the houses look the same, and all the suburbs look the same as the other suburbs. There isn't much variation going on lately. Unless you look at expensive designer homes. Besides the actual cost of building a house is quite low. The real expensive part is the land. You can't get robots to create more land. Also, robots probably wouldn't build a house any better than humans will. Any problems with construction are more due to the use of bad materials, or only doing things "to code", and not going anywhere beyond that, and have nothing to do with actual workmanship.
150 KB/s is pretty slow. I'm using 120 KB/s service at home, but that's the slowest actual high speed connection my ISP offers. They also offer 256 kbit connection, with a 2 GB transfer cap, but I don't consider that high speed. They offer all the way up to 18 mbit/s. I actually consider my connection quite slow, as most people I know have a 5 mbit connection (mine is 1 mbit). I find it hard to believe that ISPs actually get away with calling 50 KB/s broadband.
I think that putting code out on the web is something only for experienced developers. Sure, everybody and their brother wants to do it, but that doesn't mean it's a good idea. Putting out an application on the internet, where anybody else can access it is inherently complex. Especially when you have server side code that accesses a database. You can kind of think about programming as chemistry. Anybody can buy a little chemistry kit in the mall, that has been verified to not contain anything that will explode or corrode, but that doesn't mean that people we would assume they are safe using high concentration sulfuric acid. The same for programming. If you are just programming little desktop apps that will be used by a single person then that's not so bad. It's much harder to cause a problem with a program on somebody else's machine if that program isn't accessing the internet. Once the app moves online, everybody is affected when a vulnerability is found. You wouldn't want an amateur making gun powder, you wouldn't want an amateur putting code out on the web.
And yes, I did mean mysql_real_escape_string. I only use PHP for personal development, and haven't used that function for so long that I forgot what it was called. Much easier and less risky to use PDO with prepared queries. You can't accidentally forget to clean a string using that method.
When driven safely, there's nothing wrong with a ford pinto. Sure it's not the best car out there, but it will get you from A to B. And what do you even mean by "doing things the default way", in reference to PHP. Is mysql_query("SELECT * FROM Users WHERE UserID='" . GET["USERID"] . "'") the default way of running a query. Because that's the way most beginner PHP tutorials teach it. Or is the default way to use mysql_real_escape_quote. Or is the default way to use a prepared statement, using PDO. If you think the default is the first way, then I would blame the problem more on badly written tutorials than on any problems with the language itself.
Would booting from an SD card with the write protect on be any faster? I know that not all computers support booting from USB devices, but for those that do, it should be much quicker than booting from a CD.
Name a language that can be used for web development that isn't dangerous in the hands of inexperienced developers.
That's the big problem with PHP. They get all these great new features, but since they weren't there in the first place, you can't really take full advantage of them. Take namespaces for example. It's great that they have namespaces now, but it doesn't help when the entire PHP API is completely devoid of namespaces. You mentioned exception handling, where it's nice that they finally have it, but it sucks, because the current API doesn't employ it. Even things like object oriented programming are only half supported by the API. Certain things are possible to do using objects, but large parts of the PHP API don't even use objects, just functions.
As a fellow .Net developer, I really have to agree. I use PHP for my hobby projects, because it's easy to find a cheap webhost that has it, but I really don't like the unstructured mess that is PHP. Despite the fact that I like to use open source software wherever possible, I have to say that .Net really is quite a bit better than PHP.
Try doing a search on Dice.com, where they post jobs. ASP.Net Developer returns 3626, while PHP developer only returns 1514 jobs. That's less than half. So while PHP may be used by tons of hobbyist coders (I use it myself), ASP.Net is used much more in the business world.
I'm with dreamhost, and I still have the option to switch my domain over to 4.4.x, although I'm currently running on 5.2.x. I don't see why a webhost with a large number of customers, couldn't support multiple versions of PHP, especially if there was a large number of customers (at least 10-15%) using that particular version.
If all somebody needs is your IP address to attack your computer, there's probably other ways for them to get it. I think that files are still sent directly from user to user, so all you have to do is get somebody to accept a file. Or you could just send them to some website you control, and check your logs. If the only think protecting you from the people on the internet is the secrecy of your IP address, then you got big problems.
Which is why ICQ used to be nice it the good old days, when messages were sent directly between users. The servers were only to log in and get the IP address of everyone else in your list. I'm not sure if there's still any messaging protocols that work this way. It makes much more sense, and keeps messages much more private.
Because sometimes it's nice to have a 14 inch screen. I don't mind the idea of a eeePC, but given the fact that I don't feel like spending money on 2 portable computers, I'd much rather have a full sized laptop. I got a $500 Acer Laptop, and it runs Linux just fine.
Cool that there are a couple, but seems to be not much selection. I'd rather pay "extra" for the laptop with the windows license and just install Linux later if everything else meets my needs than spend the same amount on a laptop that comes with Linux preinstalled, but gives me no choice as to the features I can get. It's nice to see that these things are starting to become available though.
Yes you can live completely without meat. One example of a really good plant protein source is Quinoa. Also, 1 billion Hindus can't be wrong. And while I realize that some Hindus do eat meat, there's enough people in the world who eat no meat (or who are completely vegan), who have no problem meeting their nutritional needs. I also enjoy steak, although top sirloin is my favourite cut. I'm didn't say that I was completely vegetarian, or that it's the way people should be, but big chunks of meat at every meal is very detrimental to your health.
The problem isn't with the elected, it's with the electors. Those who would be impeached would probably end up getting voted in again anyway.