I'm always struggling with forcing context, but surely this could have been written as ($n) = ($a ^ $b) =~/\0/g;? By parenthesizing $n you'd force list context, right?
That's not a really ofuscated construct. If you know the common 1-character variables, then you know $@, as that is one of the most commonly used ones.
I like the sense of humour displayed by the programmer; but his joke is a bit misaimed, as it only reinforces the standard stereotype of Perl.
For the non-Perl programmers here: $@ is the variable holding the return code of the most recently called function. This return statement thus returns the boolean negated version of that code. The; ends the return statement, and # is the commment marker, just as in C. The % is therefore a comment, creating the joke.
Quite frankly, you're an idiot for raising this argument. As a parallel: the Nazi's killed some 10 million people in their extermination camps. All those people died completely legally under existing German law at the time.
If the UCMJ allows this kind of torture, it's the UCMJ that is at fault. And trying to argue or even imply that it is therefore fully OK to treat Pvt. Manning this way is barbaric.
You keep telling yourself your university doesn't matter. Until the day you are done, and start applying for a job. All your hard work will mean nothing next to the fact that another applicant has spent 6 years in Leiden on his daddy's money schmoozing with his friends at Minerva.
Oh, for sure, HR will find various ways to justify it, but in the end the school does matter, and who you know matters more.
And you should be more careful to not give away that you've actually not read anything by George Orwell, except maybe Animal Farm and a few choice quotes used by the right-wing echo chamber.
Orwell modelled Animal Farm on the Bolshevik revolution and subsequent Stalinism; he was, however, quite open that this was not meant as an exclusive fit.
He also was more than clear that this was in no way a repudiation in his belief in democratic Socialism, which he fervently believed in until his death.
Because ISPs that get blocked by people using MAPS fail the first criterium right out of the gate: by not actively enforcing their TOS, they are accessories to the spamming.
Seriously, this argument is as old as blocklists, and only teens in their mom's basement and spammers don't get it.
Whether or not that's an accurate statement, I can't say. As someone else mentioned, there is hardly a coherent viewpoint against anthropogenic global climate change. In fact, I am inclined to say that you're amended statement is more accurate, but this is a recent position. Until not too long ago, the majority viewpoint seemed to be to be against any warming trend at all.
Then again, I don't keep tabs on what is current among deniers, I tend to follow the science blogs, and you get a grabbag of complete idiots trying to post against the prevailing hypotheses. So that does not enthuse me to start searching out the 'skeptical' blogs; just as I am not inclined to seek out creationist websites or Holocaust deniers. Such wilful ignorance of the facts as seen on display is just painful to my eyes.
Just do a Google search on 'cooling' on the domain.wattsupwiththat.com. You'll see, even from the small snippets in the search results, that WUWT has consistently pushed the myth that the climate is cooling.
I can't think of any prominent skeptic bloggers who have ever argued that the earth is cooling. The main ones I've read have been Climate Audit and Watts up.
Then you're either not paying attention, or you're lying. Anthony Watts is one of the major pushers saying the climate is actually cooling, especially using the 1998-2008 trend as 'proof'
Let's put this into perspective. The US diplomats are looking for 'critical' facilities as an additional task, right alongside their normal duties. The 'bad guys' have nothing better to do than look for targets. Who is going to win this race?
Now, you tell us
IMHO: "A list of stuff that people can blow up if they want to screw with us", is something that legitimately deserves to be hidden from everyone but the guy dispatching people to guard that stuff.
Don't I, living next to a 'critical' facility have the right to know how well secured it is? If it isn't, I could move, or pressure my local politicians to increase security. If this information is hidden from me, my only alternative is to get blown up along with it.
This is legitimate information. If the terrorist threat is as real as the cowards in our public debate allege, keeping this information secret is tantamount to aiding the terrorists in creating more carnage.
The fact that the 45th changed their symbol due to its association with National Socialism is proof that Toulouse's argument is correct. So why do you try to argue the reverse?
Regarding the Motorola vs. Apple, it is also possible that Apple invested in crappy DACs, secure in the knowledge that almost no-one does blind tests of DACs and most people therefore wouldn't know of the difference anyway.
I've always used Cowon players for my portable needs, a brand known for using good-to-great DACs, and the difference with an iPod is shocking, in my experience.
He is right. The only thing Exchange is good at is to enable managers to plan meetings (aka as a calendar server). It is one of the most lousy mail servers available, being sold by a company with zero clue about neither SMTP nor Best Current Practices in handling mail.
And if you want to dispute that, let me ask you a question about just one piece of basic functionality they got wrong: in which edition of Exchange was 'accept-then-bounce' replaced as the default by the SMTP REJECT that BCP requires?
I agree, with one caveat: Nokia' bluetooth stack is a little flaky if you use it as a bluetooth modem. I regularly have to reboot my E71 because the connection hangs.
Nice, except that parent was talking about basic communication facilities, like SMS-answering; not multimedia frippery like an FM-tuner.
Yes, you are a fanboi.
Mart
I simplified. Of course $@ is set by eval, but that requires a bit more in-depth explanation than I was willing to give.
Of course, this being slashdot, there'd have been someone along to provide that anyway. Thanks.
Mart
Oh bugger.
Of course you're right; the object of the given example is to have the final evalution in scalar context, to get the length of the intermediate list.
See what I mean about struggling with forcing context?
Mart
I'm always struggling with forcing context, but surely this could have been written as ($n) = ($a ^ $b) =~ /\0/g;? By parenthesizing $n you'd force list context, right?
Mart
That's not a really ofuscated construct. If you know the common 1-character variables, then you know $@, as that is one of the most commonly used ones.
I like the sense of humour displayed by the programmer; but his joke is a bit misaimed, as it only reinforces the standard stereotype of Perl.
For the non-Perl programmers here: $@ is the variable holding the return code of the most recently called function. This return statement thus returns the boolean negated version of that code. The ; ends the return statement, and # is the commment marker, just as in C. The % is therefore a comment, creating the joke.
Mart
Quite frankly, you're an idiot for raising this argument. As a parallel: the Nazi's killed some 10 million people in their extermination camps. All those people died completely legally under existing German law at the time.
If the UCMJ allows this kind of torture, it's the UCMJ that is at fault. And trying to argue or even imply that it is therefore fully OK to treat Pvt. Manning this way is barbaric.
Mart
You keep telling yourself your university doesn't matter. Until the day you are done, and start applying for a job. All your hard work will mean nothing next to the fact that another applicant has spent 6 years in Leiden on his daddy's money schmoozing with his friends at Minerva.
Oh, for sure, HR will find various ways to justify it, but in the end the school does matter, and who you know matters more.
Mart
And you should be more careful to not give away that you've actually not read anything by George Orwell, except maybe Animal Farm and a few choice quotes used by the right-wing echo chamber.
Orwell modelled Animal Farm on the Bolshevik revolution and subsequent Stalinism; he was, however, quite open that this was not meant as an exclusive fit.
He also was more than clear that this was in no way a repudiation in his belief in democratic Socialism, which he fervently believed in until his death.
You see, I have read all his essays.
Mart
Because ISPs that get blocked by people using MAPS fail the first criterium right out of the gate: by not actively enforcing their TOS, they are accessories to the spamming.
Seriously, this argument is as old as blocklists, and only teens in their mom's basement and spammers don't get it.
Mart
If all your posts are like this one, you get modded down because you post just assertions without backup arguments.
Mart
Whether or not that's an accurate statement, I can't say. As someone else mentioned, there is hardly a coherent viewpoint against anthropogenic global climate change. In fact, I am inclined to say that you're amended statement is more accurate, but this is a recent position. Until not too long ago, the majority viewpoint seemed to be to be against any warming trend at all.
Then again, I don't keep tabs on what is current among deniers, I tend to follow the science blogs, and you get a grabbag of complete idiots trying to post against the prevailing hypotheses. So that does not enthuse me to start searching out the 'skeptical' blogs; just as I am not inclined to seek out creationist websites or Holocaust deniers. Such wilful ignorance of the facts as seen on display is just painful to my eyes.
Mart
Just do a Google search on 'cooling' on the domain .wattsupwiththat.com. You'll see, even from the small snippets in the search results, that WUWT has consistently pushed the myth that the climate is cooling.
Mart
Then you're either not paying attention, or you're lying. Anthony Watts is one of the major pushers saying the climate is actually cooling, especially using the 1998-2008 trend as 'proof'
Mart
No, you get into flame wars because you're a raving idiot.
Mart
Let's put this into perspective. The US diplomats are looking for 'critical' facilities as an additional task, right alongside their normal duties. The 'bad guys' have nothing better to do than look for targets. Who is going to win this race?
Now, you tell us
Don't I, living next to a 'critical' facility have the right to know how well secured it is? If it isn't, I could move, or pressure my local politicians to increase security. If this information is hidden from me, my only alternative is to get blown up along with it.
This is legitimate information. If the terrorist threat is as real as the cowards in our public debate allege, keeping this information secret is tantamount to aiding the terrorists in creating more carnage.
You don't want to aid the terrorists, now do you?
Mart
To hide incompetence and stupidity? Absolutely.
Mart
No, thank the embassy personnel playing spy and violating all rules of Operational Security.
Really? Putting the information and the personally indentifying information on the informant in the very same document?
Mart
Not quite. That 12% double-counts partial disability, which is also counted as labour force. The official numbers from the CBS make it around 8%.
Mart
Since no mainstream Christian denomination preaches that lynching black people is OK?
Mart
The fact that the 45th changed their symbol due to its association with National Socialism is proof that Toulouse's argument is correct. So why do you try to argue the reverse?
Mart
What? Never heard of civil discourse, or just plain 'good manners'?
What kind of an antisocial fuckhead are you?
Mart
Regarding the Motorola vs. Apple, it is also possible that Apple invested in crappy DACs, secure in the knowledge that almost no-one does blind tests of DACs and most people therefore wouldn't know of the difference anyway.
I've always used Cowon players for my portable needs, a brand known for using good-to-great DACs, and the difference with an iPod is shocking, in my experience.
Mart
He is right. The only thing Exchange is good at is to enable managers to plan meetings (aka as a calendar server). It is one of the most lousy mail servers available, being sold by a company with zero clue about neither SMTP nor Best Current Practices in handling mail.
And if you want to dispute that, let me ask you a question about just one piece of basic functionality they got wrong: in which edition of Exchange was 'accept-then-bounce' replaced as the default by the SMTP REJECT that BCP requires?
Mart
Yatakang?
(Let's see who picks up on this one)
Mart
I agree, with one caveat: Nokia' bluetooth stack is a little flaky if you use it as a bluetooth modem. I regularly have to reboot my E71 because the connection hangs.
Mart