"That's not a paper. It's someone rambling on and on. [...] A great paper does not complain that the name of the C++ language does not lead to an obvious file extention for files."
I'll let L. Wall response to that with a quote I remembered from the paper.
Note how we still periodically hear the phrase ``serious literature''. This is literature that is supposedly about Real Life. Let me tell you something. The most serious literature I've ever read is by Lois McMaster Bujold. Any of you read her? It's also the funniest literature I've ever read.
Ok, I've never read any Bujold, and I don't like space opera, so I'd probably hate it anyway. But the point is that the points of his speech wouldn't be any (more|less) true if he'd embodied them in a "serious" paper, a talk, a tv programme, or even a slashdot post. Although as the message itself criticises beliefs you seem to hold, I'm not surprised you didn't like it.
xxx
tlhf
ps, something you think the paper was about but wasn't != something that the paper was about
Booyah! Funny how a piece of code written using a "worthless" methodology didn't need fixing, where as a bloated piece with endless unnecessary variables did...
xxx
And I think this is the shortest version so far, no one else has got below 64 characters. Evolved from Pez's version.
You may have noticed the intentional (me? lie?) mistake in leaving in the -n. And poor writing. The -i isn't needed because it's gready, but because \w is the same* as [0-9a-zA-Z_]. I found you can also use the paradigm of sort{rand 2} over sort{.5+rand} without sacrificising the pseudo-randomness. The code is now:
But, these variations in probability for different possibilities occur in words of only 6 letters or greater. I got the same results with the sort{.5+rand} paradigm. I suppose the probability of where the letters fall doesn't really matter tho.
xxx
*According to perlretut, anyway. But whether they are functionally identical is anyone's guess.
The \b are not needed because the \w+ match is greedy. So is the -i modifier on the regex. The print statement can be replaced with a -p modifier. With a -p modifier then -n is assumed, so it too becomes unnecessary. We can remove the need for a $3 by lookaheading for the last character, which in turn allows us remove the parenthesis on the join statement. I've also replaced the "!" regex barriers with "|" ones cause they're prettier. I imagine them as being pink. I wonder if there's a font with flowers instead? With these in mind, we can reduce your code to:
With, obviously, out the linebreak. Your random sorting algorithm isn't that random either, but good enough. Far better than I can come up with in such short space. Oddly enough, I'd written a script to do this prior to even reading slashdot (I'd seen it on a friends blog), and despite it not being golf (thank you List::Util::shuffle) it bares an uncany respemblence to yours.
I've have a feeling the replacement part of the regex could be shortened more, but I know not how.
Well, on my Win2k box Apache/2.0.40 installed itself as a '.\LocalSystem'. Which will give Apache far more rights than you'd expect. Effectively not far from root.
I had to set up a seperate user, '.\Apache', - you'd expect Apache to create a restrictive user by default on install.
"I would like to point out that Java runs just fine under Linux."
He never said it wouldn't. What he said was that between Java and.Net there would be an improvement in the security of applications running on the Windows platform.
He isn't considering whether.Net will live up to the hype or not; he's just stating that the security frameworks implemented in.Net and Java will create a more secure system.
tlhf Oh - and nice arbitrary '2-5 years' figure. Making up figures make your point seem more valid....
This has changed AudioGalaxy to 'opt-in', not 'opt-out'. All songs are blocked until they are given the green light. Even songs which having nothing to do with the major labels.
You said "It seems rather simple for an intelligent person to be against Microsoft, yes." I would say you're wrong.
Let's do a little roleplaying, shall we?
You're an intelligent centeral African woman, who was raped whilst a teen, and resultingly now has AIDS. You also have a child, and no full time job, and as such live pretty much a destitute life. The UNAIDS organisation provides some, if not enough, medication which helps with your condition. Without said medication, you'd almost certainly be dead, which would leave your child an orphan. The Bill and Melinda Gates Foundation gave $100,000,000 to help with AIDS relief in Africa[1]; a donation which they could not have afforded had Microsoft not performed monopolistic practices. Also, you don't really care about neither comparatively rich western nerds, nor ex m/BeOS|Netscape|Dr.Dos|Borland/ employees. Do you hate Microsoft?
In such a situation, I very much doubt that I would hate Microsoft. But I guess that makes me stupid.
Oh, sure, it's always been anti-microsoft to a certain extent, but I found that it became "ridiculously" so after the take over. Maybe I was just looking at Slashdot in a more cynical eye. As for my user ID; I remember seeing sig a while ago which went something like "I was an Anonymous Coward for years, but all I got was this sucky uid". Well, I think I got the first bit of that quote right. Granted that I wasn't around when the 3 digits were still going, but I've been around the blog scene for a good few years.
Hey, I never said it whether was flawed or not, good or bad, perfect or imperfect. I just said it was a proof of concept. And as for "So what" - well, it was a counter example to the original post which requested more democracy in Slashdot story posting process. That's 'what'.
What, you mean, it wasn't a pro open source article? Read site description. Originally, this was News for nerds. Stuff that matters.. It only picked up the ridiculously anti-MS slant after it was bought by VALinux. (Well, I think it was known as VALinux at the time, it seems to be constantly changing betwixt the/VA(\w+)/ names.) They seem to be slowly moving back to a less partisan position.
And anyway, it's hardly explicity pro Microsoft. It's just stating that a new language is availible.
tlhf
xxx
And if you do want to be a true open source advocate, you need to understand proprietry software, for otherwise you are ignorant.
Yeah, you know, because that's *the* biggest complaint you see on enthusiast/overclocker message boards.
I guess the common complaint about this article is that... I've already got a Gigabyte motherboard with solid state capacitors!
Link, note point 7.
I'll let L. Wall response to that with a quote I remembered from the paper.
Ok, I've never read any Bujold, and I don't like space opera, so I'd probably hate it anyway. But the point is that the points of his speech wouldn't be any (more|less) true if he'd embodied them in a "serious" paper, a talk, a tv programme, or even a slashdot post. Although as the message itself criticises beliefs you seem to hold, I'm not surprised you didn't like it.
xxx
tlhf
ps, something you think the paper was about but wasn't != something that the paper was about
Well, maybe I just wanted to whore my favourite paper.
xxx
La la La la La la La la La la La la La la La la La la. No text.
perl -pe's|\B(\w+)\B|join"",sort{rand 2}split//,$1|ge'
Which is frigteningly impressive.
xxx
xxx
Booyah! Funny how a piece of code written using a "worthless" methodology didn't need fixing, where as a bloated piece with endless unnecessary variables did...
xxx
And I think this is the shortest version so far, no one else has got below 64 characters. Evolved from Pez's version.
perl -pe's|(\w)(\w+)(?=\w)|$1.join"",sort{rand 2}split//,$2|ge'
Which is a lot shorter than the code in the story ^_^. And survives slashdot mangling ^_^.
When I did look at the randomness for the values of occurances of how the string "abcdef" got randomized the results weren't great:
abcdef: 1/ 8
abcedf: 1/ 8
acbdef: 1/ 8
acbedf: 1/ 8
adbcef: 1/32
adbecf: 1/32
adcbef: 1/32
adcebf: 1/32
adebcf: 1/16
adecbf: 1/16
aebcdf: 1/32
aebdcf: 1/32
aecbdf: 1/32
aecdbf: 1/32
aedbcf: 1/16
aedcbf: 1/16
But, these variations in probability for different possibilities occur in words of only 6 letters or greater. I got the same results with the sort{.5+rand} paradigm. I suppose the probability of where the letters fall doesn't really matter tho.
xxx
*According to perlretut, anyway. But whether they are functionally identical is anyone's guess.
The \b are not needed because the \w+ match is greedy. So is the -i modifier on the regex. The print statement can be replaced with a -p modifier. With a -p modifier then -n is assumed, so it too becomes unnecessary. We can remove the need for a $3 by lookaheading for the last character, which in turn allows us remove the parenthesis on the join statement. I've also replaced the "!" regex barriers with "|" ones cause they're prettier. I imagine them as being pink. I wonder if there's a font with flowers instead? With these in mind, we can reduce your code to:
perl -npe's|(\w)(\w+)(?=\w)|$1.join"",sort{.5+rand}spl
With, obviously, out the linebreak. Your random sorting algorithm isn't that random either, but good enough. Far better than I can come up with in such short space. Oddly enough, I'd written a script to do this prior to even reading slashdot (I'd seen it on a friends blog), and despite it not being golf (thank you List::Util::shuffle) it bares an uncany respemblence to yours.
I've have a feeling the replacement part of the regex could be shortened more, but I know not how.
xxx
yada, no text, ...
I had to set up a seperate user, '.\Apache', - you'd expect Apache to create a restrictive user by default on install.
tlhf
print for @weird_syntax;
He never said it wouldn't. What he said was that between Java and .Net there would be an improvement in the security of applications running on the Windows platform.
He isn't considering whether .Net will live up to the hype or not; he's just stating that the security frameworks implemented in .Net and Java will create a more secure system.
tlhf
Oh - and nice arbitrary '2-5 years' figure. Making up figures make your point seem more valid....
If my modding prilidges hadn't been removed for modding up criticisms of Slashdot, then I'd mod you up.
:D
The world needs more obscure references
They changed the rules.
tlhf
xxx
This has changed AudioGalaxy to 'opt-in', not 'opt-out'. All songs are blocked until they are given the green light. Even songs which having nothing to do with the major labels.
Hmm, well, it's 50x better now, anyway. I remember when it was only 3.2x better. Hopefully soon it will be 58x better by version 1.1!
tlhf
Kids...
Yep.
You obviously did forget the sarcasm tags.
You said "It seems rather simple for an intelligent person to be against Microsoft, yes." I would say you're wrong.
Let's do a little roleplaying, shall we?
You're an intelligent centeral African woman, who was raped whilst a teen, and resultingly now has AIDS. You also have a child, and no full time job, and as such live pretty much a destitute life. The UNAIDS organisation provides some, if not enough, medication which helps with your condition. Without said medication, you'd almost certainly be dead, which would leave your child an orphan. The Bill and Melinda Gates Foundation gave $100,000,000 to help with AIDS relief in Africa[1]; a donation which they could not have afforded had Microsoft not performed monopolistic practices. Also, you don't really care about neither comparatively rich western nerds, nor ex m/BeOS|Netscape|Dr.Dos|Borland/ employees. Do you hate Microsoft?
In such a situation, I very much doubt that I would hate Microsoft. But I guess that makes me stupid.
tlhf
xxx
1. Shaan Online: With a Billion in Pledges, AIDS Fund Still Falls Short
Oh, sure, it's always been anti-microsoft to a certain extent, but I found that it became "ridiculously" so after the take over. Maybe I was just looking at Slashdot in a more cynical eye. As for my user ID; I remember seeing sig a while ago which went something like "I was an Anonymous Coward for years, but all I got was this sucky uid". Well, I think I got the first bit of that quote right. Granted that I wasn't around when the 3 digits were still going, but I've been around the blog scene for a good few years.
tlhf
xxx
Hey, I never said it whether was flawed or not, good or bad, perfect or imperfect. I just said it was a proof of concept. And as for "So what" - well, it was a counter example to the original post which requested more democracy in Slashdot story posting process. That's 'what'.
tlhf
xxx
Heheheh. You honestly think the world is that simple?
tlhf
xxx
Kuro5hin.org, the proof of concept democratic group blog, has already posted this, a few days earlier than slashdot. It got voted to front page.
tlhf
xxx
What, you mean, it wasn't a pro open source article? Read site description. Originally, this was News for nerds. Stuff that matters.. It only picked up the ridiculously anti-MS slant after it was bought by VALinux. (Well, I think it was known as VALinux at the time, it seems to be constantly changing betwixt the /VA(\w+)/ names.) They seem to be slowly moving back to a less partisan position.
And anyway, it's hardly explicity pro Microsoft. It's just stating that a new language is availible.
tlhf
xxx
And if you do want to be a true open source advocate, you need to understand proprietry software, for otherwise you are ignorant.
I always thought Python was Ruby for sissies.
tlhf
xxx
Sorry...