New Whitespace-Only Programming Language 328
foobarbazquux writes "Introducing whitespace, a
language designed to compensate for the "white-space doesn't count" culture of
contemporary programming languages. Amaze your friends by hiding programs in
your web-pages! Astound colleagues by putting a virus in your text file!" (And for those who prefer obfuscation to invisibility, Koshatul writes "This article in the Sydney Morning Herald, tells of a new programming language which 'makes it impossible to express a security vulnerability in a program's source code.'")
Old news; Acme::Bleach (Score:5, Informative)
Hit your nearest CPAN mirror and 'use Acme::Bleach' for great justice.
Re:Old news; Acme::Bleach (Score:5, Funny)
Speaking of which, have you seen http://www.cpan.org/ today?
Re:Old news; Acme::Bleach (Score:2)
an explanation.. (Score:5, Informative)
The most notorious of them all is by FAR 'formail.pl'. This is a pathetically easy script to use for evil purposes since it basically allows you to directly send crap through sendmail (ie spam) on the server - and even a basic understanding of HTML would allow a person to figure out how to do it. If you have logs on a webserver you can STILL find a lot of hits probing for formail.pl in your cgi-bin. Probably the saddest thing about MSA is the fact that it's been around forever and has thus been cataloged by every search engine out there, and as soon as someone searches for "free perl/cgi-scripts" MSA is almost always at the top of the list.
On the lighter side, if you're new to cgi and want to understand more about CGI/perl security - find a friendly Perl guru and have him/her tell you about how NOT to write CGI scripts by using the ones at MSA as an example. The humor in it is probably best known to Perl programmers as MSA is somewhat infamous in the perl world, and probably the cgi world in general.
Re:Old news; Acme::Bleach (Score:3, Informative)
So you're NOT screwed.
Re:Old news; Acme::Bleach (Score:4, Funny)
Is there another source?
and none of these languages (Score:5, Funny)
Your comment violated the "postercomment" compression filter. Try less whitespace and/or less repetition. Comment aborted.
Please not again... (Score:5, Interesting)
Re:Please not again... (Score:5, Funny)
Re:Please not again... (Score:3, Funny)
Thank you for clarifying that. This one [slashdot.org], which is a duplicate of this one [slashdot.org], must be a real article. I shall read it with interest.
Re:Please not again... (Score:4, Funny)
Yes, they do. At the end of the day, they'll do an April Fool's Wrapup article, where they'll explain that they do it to get the flames. In other words, they basically admit to trolling their readership.
Then, of course, a month later they'll be wondering why nobody's willing to pay for Slashdot.
TheFrood
Re:Please not again... (Score:5, Insightful)
Phillip.
April fools, but (Score:5, Interesting)
I just want to mention that April Fools to me has always been to make up BELIEVABLE stories that you can gloat over later - which really adds to more of the fun.
I mean, funny as some of this may be, it gets tiring after a while. I mean, you can make a story believable but still false and a good April Fools candidate.
So learn to write some good stories [soyouwanna.com] and THEN post to the site, eh?
p.s. the above link provides information that helps a great deal in all sorts of situations, I highly recommend it.
Re:April fools, but (Score:2)
Not of it is funny. Slashdot needs a fucking clue on what April Fool's day is all about.
Re:April fools, but (Score:3, Insightful)
Re:April fools, but (Score:5, Funny)
Right, it's not a successful april fools joke until you get convicted of fraud.
Re:April fools, but (Score:4, Funny)
Or manslaughter.
-
Oh really? (Score:4, Funny)
Only 2 symbols are required to express any algorythm (1 and 0), and whitespace has 3 ([SPACE], [TAB] and [LF]). I can see no reason off hand why whitespace cannot work, and in fact without having tried it, I suspect it is probably genuine, if not entirely serious.
Re:Oh really? (Score:2)
No. One also needs a processor/compiler/interpreter. A string of bits is meaningless per se.
Re:Oh really? (Score:2)
Which you can download here [dur.ac.uk] I believe.
Re:Oh really? (Score:2)
Why you 2 when 1 will do?
bin: 1001
base 1: 111 111 111
bin: 0101 0111
base 1: 001 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111
You could make a language aimed at Mac mice
Re:Oh really? (Score:2)
*based off a Dilbert joke.
Re:Oh really? (Score:2)
Well, you young kids with your fancy hard drives... When I was kid, all we had were VIC-4s....no fancy, schmancy hard drives or tape drive, and no monitor, so we had to use the tv. We didnt even have floppy drives. If we wanted to run a program, we typed in all the code in basic each time we turned on the computer, AND WE LIKED IT!
</accent>
Re:April fools, but (Score:5, Insightful)
Perhaps I'm being trolled here, but I went ahead and downloaded the interpreter and wrote a toy program with it, so this is a real language.
And that is the real April Fool's joke.
Re:April fools, but (Score:2, Informative)
I am willing to take back everything I said (and maybe put it in another post) but it's a shame
p.s. (pretent this was written before the exploding head) programing in this is a pain in the butt and a half, even with a hex editor.
Re:April fools, but (Score:2)
Slashdot has posted a link to a real thing here whichis what is actually so amusing.
Try the damn thing if you don't believe me.
The creators intended to use their genius for evil.
Re:April fools, but (Score:2)
Re:April fools, but (Score:2)
that's the real AFJ here...
In other news... (Score:2, Funny)
Incredibly compressible (Score:4, Funny)
Re:Incredibly compressible (Score:3, Insightful)
I'm busy dammit! (Score:3, Funny)
Then again as long as it doesn't use pointers the uni students will be happy.
_______________
Get slashdoted at Cheap Web Site Hosting [cheap-web-...ing.com.au]
A million monkeys... (Score:5, Funny)
Finally, I have the monkeys.. Now, to acquire the keyboards... Quickly too, because the monkeys are starting to get stank.
"...now strip down and get on the probulator!"
-Capt. Leela
Re:A million monkeys... (Score:2)
-Capt. Leela
Except, of course, she didn't become a captain until the end of episode 1ACV01.
What are we supposed to believe this some kind
of, ahem, magic ranking system?
I have something to say (Score:5, Funny)
Source Example (Score:5, Funny)
What's a guy gotta do to post whitespace source code around here?
Security vulnerability in whitespace (Score:4, Funny)
But I foiled the whitespace langauge. You can't see it, until you click and drag down the mozilla windows. Ha ha! I can see it now! Suckers.
lol (Score:2)
and that's all I really have to say about that
hahahaha (Score:2)
Combine them (Score:3, Funny)
"Gentoo Developers to recode kernal in whitespace"
This line was no joke (Score:2)
Considering the article is an April fools joke that quote is an understatement of fact.
______________
Ideal packages for vanity domains @ Cheap Web Site Hosting [cheap-web-...ing.com.au]
Sadly true... (Score:2)
Acme::Bleach [cpan.org]
It's also worth taking a look at Clarinet's offering:
ProleText [templetons.com]...
Next in the news.... (Score:2, Funny)
"whitespace" code broken by buffer overflow. Internationalisation of the "space" key blamed. Authorities warn not to use international versions whitespace.
"It was horrible..one minute I was sitting in a counting loop and then the next thing I know someone pushed [TAB][SPACE][TAB][TAB] into the execution queue and all heck broke loose...."
Sigh (Score:5, Funny)
Unfortunately, I'm unable to post the source code here because of slashdot's lameness filter :(
gnome extensions (Score:2, Funny)
Not an April Fools but pointless none the less (Score:2, Informative)
If you wanted to get technical it would be very easy to use tab and space as 0s and 1s to do low level coding and then write a simple script to convert it to real hex representing x86 (or whatever) assembly. This language appears to do basically that while reducing the number of commands supported and therefore the number of c
Re:Not an April Fools but pointless none the less (Score:2)
Re: (Score:2)
Re:Not an April Fools but pointless none the less (Score:2)
That's pretty much the question I was asking myself after reading this page on Unlambda [eleves.ens.fr].
Sure, no one is going to ever read, let alone debug a Whitespace or Unlambda program's source code, but typing the source code in the first place is a bit harder in the case of Unlambda (only functions, no variables, a number of built-in functions which are used to create other functions which ultimately do the stuff you wanted to do).
Has some truth to it (Score:2)
A search through slashdot itself shows two other discussions (1 [slashdot.org], 2 [slashdot.org]) that talk about Python's use of whitespace for syntax.
But seriously, the site does have a compiler for simple whitespace terms. You can't do a heck of a lot, but it works. Or does it?
Site's down. (Score:5, Funny)
Re:Site's down. (Score:2)
Re:Site's down. (Score:2)
Re:Site's down. (Score:2)
Did any of you have this problem... (Score:4, Funny)
Goddamnit (Score:2)
Perl did it first! (Score:2)
-Dom
C++ already did this (Score:5, Funny)
It's a cool paper; check it out. If you have problems finding it, just Google for "B Stroustrup: Generalizing Overloading for C++2000. Overload, Issue 25. April 1, 1998."
Re:C++ already did this (Score:2)
Re:C++ already did this (Score:2)
Re:C++ already did this (Score:3, Interesting)
I think it would be cool to have a much more meaningful operator, as close to the english language as possible. For example in plain C++ you could concatenate strings this way:
"news" + " for" + " nerds";
Instead of your sentences looking like mathematical functions, it would be nic
Am I the only one that actually read the link? (Score:4, Informative)
What's with all the comments, "This is total bullsh*t! April Fools! Complete crap!" ?
Did anyone actually read the link to the whitespace language? Anyone? Hello? I mean, I know, I know, nobody on /. reads the articles, but this is ridiculous.
It's real! The description of the syntax is a masterwork of stunning proportions!
This is exactly what April Fools is supposed to be about! It's real! It's just... silly.
Re:Am I the only one that actually read the link? (Score:2)
Now the RIAA will be after us all! (Score:5, Funny)
All I have to say is (Score:3, Funny)
>>>>>++[<++++>-]<[<++++>-]<<<<>>++++[<+++++>-]<[ <++++++>-]<-.. >+++++[<+++>+ +++>-]<.>>>.- .>+++[<--->+ .+.
>+++++[<--->-]<.+.>++++[<+++>-]<-.>+++[<----->-]<
-]<-.---.>+++++[<--->-]<.++.++.>>>.<<<++++.>++[<+
<<<>+++[<---->-]<-.>+++[<+++>-]<.+++.>>>.<<<-----
-]<--.>++++[<+++>-]<.>++[<---->-]<.>++++[<+++>-]<
Ridiculous (Score:2)
Programming languages consisting only of workspaces ?
Gentoo to adopt RPM ?
Unicode for the next version? (Score:3, Insightful)
$ grep ";WS;" UnicodeData.txt [unicode.org]
000C;;Cc;0;WS;;;;;N;FORM FEED (FF);;;;
0020;SPACE;Zs;0;WS;;;;;N;;;;;
1680;OGH
2000;EN QUAD;Zs;0;WS;2002;;;;N;;;;;
2001;EM QUAD;Zs;0;WS;2003;;;;N;;;;;
2002;EN SPACE;Zs;0;WS; 0020;;;;N;;;;;
2003;EM SPACE;Zs;0;WS; 0020;;;;N;;;;;
2004;THREE-PER-EM SPACE;Zs;0;WS; 0020;;;;N;;;;;
2005;FOUR-PER-EM SPACE;Zs;0;WS; 0020;;;;N;;;;;
2006;SIX-PER-EM SPACE;Zs;0;WS; 0020;;;;N;;;;;
2007;FIGURE SPACE;Zs;0;WS; 0020;;;;N;;;;;
2008;PUNCTUATION SPACE;Zs;0;WS; 0020;;;;N;;;;;
2009;THIN SPACE;Zs;0;WS; 0020;;;;N;;;;;
200A;HAIR SPACE;Zs;0;WS; 0020;;;;N;;;;;
2028;LINE SEPARATOR;Zl;0;WS;;;;;N;;;;;
202F;NARROW NO-BREAK SPACE;Zs;0;WS; 0020;;;;N;;;;;
205F;MEDIUM MATHEMATICAL SPACE;Zs;0;WS; 0020;;;;N;;;;;
3000;IDEOGRAPHIC SPACE;Zs;0;WS; 0020;;;;N;;;;;
Best April Fools story ever (Score:2)
It was on how to add a GOSUB statement to FORTH. (For those of you who never suffered under one of the old BASIC versions, GOSUB was the statement for calling a function which would return; as opposed to GOTO which would not return.)
About four different ways to write GOSUB were shown, each of which worked, a
RPG on IBM Iron... (Score:4, Informative)
C NUM1 ADD NUM2 RESULT
C MOVE 'HELLO' STR 10
C DSPLY STR
.. etc etc.
Sample "Hello World" program: (Score:2)
It's that easy!
Another one... (Score:2)
Yeah, I know (Score:2)
I found the source!!! (Score:2)
<br> <br> <br> <br> <br>
<br> <br>
(Damn lameness filter won't let this thru because of excessive "co
The Python conformant version.... (Score:2)
Seriously, it looks parsable. This just made the Lives of the NSA people incrediblly more interesting.
(This message may or may not compute a palemset.
New business plan for Whitespace (Score:2, Funny)
2.
3. PROFIT!
Ahhh the fumes (Score:2)
I am just wondering.... (Score:2)
What? (Score:2, Funny)
Isn't this actually useful? (Score:2)
Psh, amateur (Score:2)
What was that? They already made it?! Perl.. hrm, I'll hafta look into that
I want to submit a patch for the hello program (Score:5, Funny)
-
-
+
+
+
+
+
Re:Ok. Stop it. (Score:5, Insightful)
Re:Ok. Stop it. (Score:2)
Because jokes are supposed to be funny. Internet April Fools Jokes are inheritently un-funny. Even the supposedly funny sites, like SomethingAwful, can't even be funny on the one day in the year when they're supposed to be funny.
Re:Ok. Stop it. (Score:5, Funny)
Well, it's what you make of it. For example, this morning I exchanged the sugar in the sugar bowl with salt and watched someone spit coffee all over the place. That was funny.
Oh, you mean jokes with, like, words and stuff ...
Re:Ok. Stop it. (Score:2)
Re:Ok. Stop it. (Score:3, Funny)
not
Re:Ok. Stop it. (Score:2)
At Slashdot, every day is April 1.
Re:Ok. Stop it. (Score:5, Funny)
Is this so hard to understand? We're the type of people who laughed at three Austin Powers Movies worth of the same jokes. The type of people who felt kinship with the horrible jokes of Revenge of the Nerds. The type of people who thought Hackers was hilarious (Oooo! A 28.8bps modem!!!)
By all means, laugh at us rather than with us. It's not like nobody ever has before. I mean, they call us nerds for a reason.
Why must so many people have such contempt for nerdy action on a website with the slugline "News For Nerds"?
Re:Stereotypes (Score:3, Insightful)
But, once again, it doesn't say "News for Computer users and developers" it says "News for Nerds" Why is this such a problem to understand? And why is it always such a problem around here when someone does something nerdy? Honestly, I see people flamed all the time for that kind of stuff. Every once in a while people need a kick in the butt to remind themselves of where this comes from. I personally like that they go overboard with the jokes. Gives me more stuff to laugh at.
Re:Ok. Stop it. (Score:2)
So you want Slashdot to be the same?
Then why come?
Re:Ok. Stop it. (Score:2)
Re:Ok. Stop it. (Score:2, Funny)
Re:sounds good (Score:2)
Re:real simple perl script for my own whitespace l (Score:3, Interesting)
$prog = "";
while(<>) {
chop();
$prog = sprintf("%s%c", $prog, length($_));
}
eval $prog;
Re:April 1st... (Score:2)
Re:April 1st... (Score:2)
Which TZ? (Score:2)
In Russia, April Fool's lasts the whole day.
Re:well, makefile counts (Score:2)
Re:The funny thing (Score:2)
Re:fp (Score:5, Interesting)
Actually, this one isn't a joke.
Okay, that's not true. It is a joke, but it's not an April Fools' prank. I was sent a copy of this link yesterday by a friend of one of the language's designers, who confessed to having 'given encouragement at the wrong time'. The language is real, and does work. The interpretor is written in Haskell which, being a functional language, is very well suited to this task (although may not be very quick).
The second article linked to, however, is clearly an April Fools' joke. Feel free to denigrate it if you wish.