Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
Get HideMyAss! VPN, PC Mag's Top 10 VPNs of 2016 for 55% off for a Limited Time ×

Comment My theory, which is mine (Score 1) 165

I've thought about this.
How did a catastrophe like PHP come to be so widely used?
I've come up with two answers.

1. Historical accident
There was a need for a PHP-like language to write web back-ends. It could have been Perl, or Python, or PHP, or Ruby, or probably any of a hundred others. At some point, some language gains critical mass. Then everyone uses it because everyone uses it, and we're off to the races. Which language is first to critical mass is--at least somewhat--a matter of chance. As it happens, it was PHP.

2. The default behavior of the language processor is to emit the entire program text on STDOUT.
What this means is that you can take an entire existing static web site--a whole tree of static HTML pages--declare them to be PHP scripts, et voila, there is your web site, just like it was before, except that now you can start adding $variables to your pages and creating dynamic content. It gives managers and salesmen and marketing people and non-programmers a way to get into the game without actually having to do any of that--you know--programming stuff.

Calling this an easy learning curve misapprehends the situation. It is more in the "this one weird trick" category.

The actual PHP learning curve is vertical, which is to say, no one can learn PHP. The language is such a tangled mass of inconsistencies, exceptions, breakage and lossage that acquiring the knowledge necessary to use it competently is virtually impossible.

Comment It's just talk (Score 1) 316

AllFlicks conducted a survey...90% said...

Until Netflix actually starts showing ads, it's just talk.

If Netflix does start showing ads, then people either will or will not cancel.
That is true market data, which is very cool.

Market data is difficult to acquire and valuable to have.
If Netflix does this experiment, they probably won't be posting the results on Slashdot.

Comment Not going to happen (Score 1) 247

the only way Windows will become truly stable [...] will be for it to adopt a UNIX architecture

Not going to happen.

I left Windows years ago, partly for the reason that the OS was so badly engineered.

It's not a bug, it's a feature.

Microsoft needs lock-in to maintain their monopoly, and lock-in needs incompatibility.

An OS is its architecture.
If Windows adopts a Unix architecture, then Windows becomes Unix.
If Windows becomes Unix, then customers have their choice: Windows, Linux, BSD, whatever.
No more lock-in, no more monopoly, no more Microsoft.

And the "badly engineered" part? Well, Unix OSs tend to be well engineered. And if the defining characteristic of Windows is that it is incompatible with well engineered OSs, then pretty much of necessity Windows is going to be badly engineered.

Comment Issue? What issue? (Score 4, Insightful) 224

Microsoft is yet to address the issue

There is no issue.
There is nothing to address.
Windows 10 upgrade is doing what Microsoft wants it to do: maximizing the number of machines running Windows 10.

Think about it this way.
If you pay a vendor for something, then--at some level--that vendor will serve you.
If you do not pay a vendor for their product, then that vendor does not serve you. They may serve some other revenue stream, like advertising, or some kind of big-data analytics that they hope to sell, but they definitely do not serve you. If you are not paying for the product, then you are collateral damage, or prey, or fodder: something to be harvested and packaged for resale.

Somewhere in Microsoft is a VP who is in charge of the Windows 10 upgrade.
This VP has been told that his bonus, or stock options, or possibly his job is dependent on getting X million Windows 10 installs, or X million installs per month, or something. He doesn't care how many people are inconvenienced, or lose data, or have their machines bricked. He doesn't care how much bad PR Microsoft gets, or how much bad trade press, or how many outraged Slashdot comments there are. All he cares about is making his number. And this is going to continue until the CEO goes to this VP and changes his performance objectives.

Deal with it.

(Linux works for me. YMMV.)

Comment Charged with believing a story (Score 5, Insightful) 121

I have a real problem with this case.

Suppose it was an undercover drug deal. The cops sell him X grams of cocaine in exchange for $1500 in bitcoins. Then they charge him with buying drugs. When it comes to trial, he pleads that he didn't know they were cops; he never would have bought the drugs if he knew they were cops. Does this matter? Not at all. Buying drugs is illegal. It doesn't matter who he bought them from, or whether he knew they were cops.

Now suppose his attorney say OK, let's see the drugs. And the cops dutifully produce a bag of white powder, and they send it out to be tested, and the test shows that it is 100% primo Dominos 10X confectioner's sugar. And his lawyer says, "Hey! He's charged with buying drugs; where are the drugs?" And the cops say, "Oh, you know, it's such a hassle checking out drugs from the evidence locker; all this paper work; all these forms; god help you if it comes back a gram light... We just went down to store and bought some powdered sugar. But it doesn't matter: we told him it was drugs; he obviously thought it was drugs or he wouldn't have paid $1500 for it." Does this matter? Absolutely. It doesn't matter what he thought: he did not do the illegal thing that he is charged with: he did not buy drugs. He walks.

Now look at this case. The cops paid him $1500 cash for bitcoins. They told him they were going to buy stolen credit cards with the bitcoins. Now maybe, if they had actually bought stolen credit cards with the bitcoins, they could have charged him with being some kind of accessory to that crime. But they didn't. There was no crime. There were never any credit cards. There wasn't even a bag of white powder. All they've got is a story. A story that he believed. Or not. Maybe he didn't know whether it was true. Maybe he didn't care. Sure, sure, you guys want to be leet haxorz buying credit cards? You got $1500 cash you can be James Bond, you can be Tony Stark, whatever.

I do not understand how this guy gets charged in connection with a crime that did not occur.

Comment My benchmark for risk... (Score 1) 97

...is automobiles.

~100 Americans die in auto accidents every day.
(I think recent numbers are closer to 90.)

Any time I hear about some new thing that I'm supposed to be afraid of, I ask, Is it killing 100 American a day, *every* *day*?
And if it isn't, then I get in my car, and I *fasten my seat belt*, and I don't worry about it too much.

Comment Re:You can't copyright a language (Score 1) 220

The word "definition" is used in different senses. The alphabet/dictionary/grammar are more properly referred to as a "specification". They help you decide whether a given character string is a valid Java program. But the language is not the specification: the language is the collection of strings that satisfy the specification.

It's like saying, what is the definition of the set of prime numbers. People will typically say something like, "the set of numbers with no divisors except for one and the number". But that phrase is not the set of prime numbers: it is rule for deciding whether a number is prime. The set of prime numbers is this set: { 2, 3, 5, 7, 11, ... } (you know the one I mean).

See also: This is not a pipe.

Comment You can't copyright a language (Score 4, Interesting) 220

In the Oracle vs. Google Java case, the judge asked the parties, "Can the Java programming language be copyrighted?"
It seemed obvious to me that the answer was no.

The definition of the Java programming language is, "the set of all Java programs".
This is an infinite set.
Therefore it cannot be fixed in a tangible medium.
Therefore it cannot be copyrighted.

It seems like a similar argument should prevail here.

Slashdot Top Deals

Real programmers don't write in BASIC. Actually, no programmers write in BASIC after reaching puberty.

Working...