Forgot your password?
typodupeerror
Piracy

The Raid-Proof Hosting Technology Behind 'The Pirate Bay' 141

Posted by timothy
from the pesky-vikings-and-their-lessons dept.
HughPickens.com writes Ernesto reports at TorrentFreak that despite its massive presence the Pirate Bay doesn't have a giant server park but operates from the cloud, on virtual machines that can be quickly moved if needed. The site uses 21 "virtual machines" (VMs) hosted at different providers, up four machines from two years ago, in part due to the steady increase in traffic. Eight of the VMs are used for serving the web pages, searches take up another six machines, and the site's database currently runs on two VMs. The remaining five virtual machines are used for load balancing, statistics, the proxy site on port 80, torrent storage and for the controller. In total the VMs use 182 GB of RAM and 94 CPU cores. The total storage capacity is 620 GB. One interesting aspect of The Pirate Bay is that all virtual machines are hosted with commercial cloud hosting providers, who have no clue that The Pirate Bay is among their customers. "Moving to the cloud lets TPB move from country to country, crossing borders seamlessly without downtime. All the servers don't even have to be hosted with the same provider, or even on the same continent." All traffic goes through the load balancer, which masks what the other VMs are doing. This also means that none of the IP-addresses of the cloud hosting providers are publicly linked to TPB. For now, the most vulnerable spot appears to be the site's domain. Just last year TPB burnt through five separate domain names due to takedown threats from registrars. But then again, this doesn't appear to be much of a concern for TPB as the operators have dozens of alternative domain names standing by.

Comment: Re:And they wonder why I block ads... (Score 1) 223

Me too. Why I would allow advertising on my browser when all it does is try to lock the system using all the CPU time for stupid animations or videos, promotes highly questionable "products" such as the infamous "CleanMyPC", or plain and simply try to install hostile programs to take control of my computer?

Comment: Re:Actually against Islam (Score 1) 952

by TheDarkMaster (#47928575) Attached to: ISIS Bans Math and Social Studies For Children
"...Though I can't see how they're still allowed to teach chemistry"

Without it they have no way to make fertilizer bombs to spread the religious mumbo-jumbo of them. Seriously, we can not just surround them with barbed wire and shoot any of them that try to go out spreading this cancer for the rest of the world? where are the atomic bombs when you really need them?
Education

ISIS Bans Math and Social Studies For Children 952

Posted by Soulskill
from the control-through-indoctrination dept.
mpicpp sends this news from CNN: In swaths of Syria now controlled by ISIS, children can no longer study math or social studies. Sports are out of the question. And students will be banned from learning about elections and democracy. Instead, they'll be subjected to the teachings of the radical Islamist group. And any teacher who dares to break the rules "will be punished." ISIS revealed its new educational demands in fliers posted on billboards and on street poles. The Sunni militant group has captured a slew of Syrian and Iraqi cities in recent months as it tries to establish a caliphate, or Islamic state, spanning Sunni parts of both countries. Books cannot include any reference to evolution. And teachers must say that the laws of physics and chemistry "are due to Allah's rules and laws." Update: 09/18 16:26 GMT by S : CNN has pulled the story over "concerns about the interpretation of the information provided." They promise to update it when they get the facts straight.

Comment: Re:Parallax. (Score 1) 424

by TheDarkMaster (#47926979) Attached to: Apple Edits iPhone 6's Protruding Camera Out of Official Photos
"Elegance" is something very, very subjective. A "ultrathin" phone becomes more expensive because it is more difficult to be manufactured, becomes more fragile (poor resistance against bending, for example) and have higher operating restrictions (heat needs to go somewhere). Replacing all this in the name of a supposed elegance does not seem anything sensible for me.

Comment: Re:Parallax. (Score 1) 424

by TheDarkMaster (#47920897) Attached to: Apple Edits iPhone 6's Protruding Camera Out of Official Photos
"...why wouldn't they just make the case 1mm thicker instead of risking the lawsuits"

Who knows? We're talking about Apple here, so anything is possible. I personally would prefer a thicker device (and therefore higher capacity battery), I do not understand this obsession with "ultrathin" devices. But that said, note that the point of the article is actually Apple trying to hide what she considers a "problem" in her product, and this is not a behavior that is expected of a responsible company.

Comment: Re:+ operator for string concat? (Score 0) 729

I understand, but part of the problem is not knowing for sure what kind of type Javascript will set for your variable. As example, the first time I saw this was one occasion where I had to get input from a user where it should be an integer, but the interpreter assumed it was a string and then the "+" operator made a concatenation instead of an addition (the other variable in the operation was an integer). That's why I consider the operation as non-deterministic, because you know that the "+" operator will do a concatenation for strings, but the interpreter may decide that your variables are integers (or vice versa).

Comment: Re: + operator for string concat? (Score 0) 729

Nice change? Uh... Dumb guy, you are the very first one that I have to give a full explanation and you still could not understand what I mean. You can stop swinging your virtual d*** and pay attention please? You claim to have knowledge of "super-genius" to come here for gratuitous offends a person that you do not have a clue who he is, and yet you're showing me the knowledge of a script kiddie :-(

Last time: I see is only you that do not know what is "deterministic". When you can't say what will be the result of an operation using the "+" because it is not possible to determine which will be the type of the variables involved (or values if you prefer which gives the same), then the result of the operation is non-deterministic. You simply have no way to tell for sure if the result will be a concatenation or addition without being sure if the variables involved are strings, integers, etc. This happens because Javascript can guess wrong the type used (or change it because of previous operations), after all it do not have strong-typed variables (or values if you like, but is the same in pratice).

The "ugly hack" is something simple as this:

var test = (unknow type input) + "";

to be sure the "test" will be recognized as a string. I call it "ugly" because in my humble opinion the correct way to do this would be:

String test = (unknow type input);

or better:

String test = function_to_convert_to_string((unknow type input));

but this will only works on a strong-typed language.

Footnote: I'm not going to answer any more because I have more important things to do than try to explain to you something you do not want to understand, Dumb guy... Think what you want about me, since the only thing that matters to me is that my several clients are very happy with my supposed "terrible job" and their systems work perfectly, even in situations they should not be able to function ;-)

Comment: Re: + operator for string concat? (Score 0) 729

This is not funny, dumb guy. Learn how to read, or I need to use pictures? Well, I try again: I said the behavior of the "+" operator in Javascript is non-deterministic because you have no way to guarantee the type of the variables involved (string, integer, double, etc). The parser sometimes assumes the type correctly but sometimes not, and that is the problem when you use the operator, it needs to know the type of the variables involved in order to decide whether it will be a sum or a concatenation. And the best part is that what you thought set as a string can be transformed into integer and vice versa depending on the interpreter operations that you may have done previously or user inputs, so that depending on the user input your variable may turn in some type different from the expected and thereby generates an unexpected result when using the "+" operator (and therefore the hack to ensure that what should be a string remains a string so that the operation using the "+" return the expected result for a string).

In short, my problem with this is not "nonsense". Is simply the result of having a "+" operator for both concatenation and sum in a language without strong-typed variables. As an example Java does not have this problem because a string variable would always be a string, and so the operation with the "+" becomes deterministic. The problem is two-fold and you blindly read only half of it, super-genius... ;-)

Uncertain fortune is thoroughly mastered by the equity of the calculation. - Blaise Pascal

Working...