- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
I'LL BE DAMNED
Admin
This is 2013! You can't use text/ mimetypes in new applications anymore! It should be application/diarescript!
Admin
Which prize was won with this entry?
Admin
TRWTF is that diarescript is turing complete
Admin
TRWTF is the XSS exploit going on this comment thread. Seriously?
Admin
Can somebody explain what "$(document).ready(function()" does?
Admin
Admin
That's a jQuery statement. When the document fires the ready event, it will execute whatever the body of the function is.
Admin
What is wrong with diarescript ? Never coded in assembler ?
Admin
Just for fun, I once wrote a set of #defines that I used to write some C code that the local Pascal partisans could read without realizing at first that it wasn't Pascal. Of course, I didn't treat this as anything serious. It's only real effect was to slightly slow down typing the code, since it used more characters and thus more keystrokes to type. But I also had fun using it to argue that Pascal was really just a subset of C, spelled differently. This confused the partisans of both languages, who considered the differences a serious theological issue.
Admin
Well, after MIPS assembly, this diarescript looks not that bad ;(
I'm sad
CAPTCHA: "mara" untangible dream in my languae, job I'd like to have
Admin
There some difference. C used to be slightly faster then TP, but you can do inline assembly code in a tp source while you had to compile some external .asm in C.
the good old time of C and TP... thx to remember me my first real programming language (after gwbasic =])
Admin
Admin
The dev misspelled "Diarrhea".
Admin
Diarescript be that.
Admin
Pfft, that's just an esoteric programming Language, and not even an interesting one. You said entries had to be written in a real language. I bet I could have won by making my own Befunge or Trefunge clone and claiming it as my own.
Admin
I'm inspired to write a Shakespearean equivalent of this now... Imagine the poetic code when combined with human variable names!
Oh Cordelia and Ophelia thou art of a most numeric type but thou be worth nought. Cordelia I add one to thee until thou hast become as days be in a week. Cordelia art thou prime? Yea? Ophelia thou addeth Cordelia unto yourself. Nay? Ophelia thou taketh Cordelia away from yourself. Again Cordelia! Ophelia return to me!
OK... So Ophelia being 6 is very very wrong but still....
Admin
Admin
Gangsta COBOL on the web!
Admin
Admin
This was beautiful. And much more comprehensible than some of the code I have seen.
Some ambiguity with "most numeric type" though. Most = double precision FP? 64-bit unsigned integer? Or will the compiler just figure it out?
Maybe "Thou art of a most precise numeric type" vs. "Thou art fixed in thy numerous yet small nature".
Admin
Oh Cordelia and Ophelia thou art of a most numeric type but thou be worth naught. Cordelia I add one to thee until thou hast become as days be in a week. Cordelia art thou prime? Yea? Ophelia thou addeth Cordelia unto thyself. Nay? Ophelia thou taketh Cordelia away from thyself. Again Cordelia!
//check for legality ;) Know ye well that womanhood, as put forth by the law, is the count of months in one and one-half years. Ophelia art thou greater than or equal to womanhood, as put forth by the law? Yea? //she's lying -- best set things right Ophelia thou art womanhood, as put forth by the law Nay? //uh-oh, jailbait... Ophelia thou addeth to thyself the gulf between womanhood, as put forth by the law, and thyself
//there we go :) Ophelia return to me! //(.Y.)
In University, I used to put mash-ups of random quotations from history's famous crackpots in the comments around code that I had to submit to professors, because I figured it probably got boring for them to read through similar implementations 20+ times including all those 'expected and relevant' explanatory comments
Admin
Admin
hmmm, ok, written in a WTF-ery way, but this looks rather boring compared with LOLcode, at least at the user level.
Admin
DAMNED I BE THAT
Admin
That's beautiful.
This guy deserves a WTF award just for that!
Admin
Almost - $(document).ready fires before all page assets are loaded but after the DOM has been rendered.
$(window).load() fires after all assets have loaded.
so $(window).load() is jQuery's onLoad
Admin
(My last comment was meant to be quote the above)
Almost - $(document).ready fires before all page assets are loaded but after the DOM has been rendered.
$(window).load() fires after all assets have loaded.
so $(window).load() is jQuery's onLoad
Admin
Sure. It complains about a missing parenthesis.
Admin
The invalid code complains about itself?
PEDANTICEPTION!
Admin
The next step is to get the code to correct the errors that in finds in itself. Then any program you want to write, just write one, syntactically-incorrect line and the program will automatically correct itself to be a fully-functioning program meeting the desired requirements. What do you think AI is all about, anyway?
Admin
The next step is to get the code to correct the errors that in finds in itself. Then any program you want to write, just write one, syntactically-incorrect line and the program will automatically correct itself to be a fully-functioning program meeting the desired requirements. What do you think AI is all about, anyway?
Admin
Skynet, evidently.
Admin
Thanks for all the lovely comments. It's truly an honor to be recognized for that terrible mess.
Fyi, the 'diare' in 'diarescript' is actually part of my name.
Admin
As a drunken hillbilly who rumbles when I have a fever dream, I am greatly offended.
Admin
You
ve not experienced Star Wars until you
ve read it in the original Shakespeare.http://tinyurl.com/l6uqlbl
Admin
Diarescript is more readable than javascript.
Captcha: facilisi "Javascript is a facilisi of a real programming language."
Admin
Then your name is now a wtf!
Grats for your shitty work! =)
Admin
Admin
You've created a shining magnificence. I am already feeling love in it.
Admin
The Shakespeare Programming Language: http://shakespearelang.sourceforge.net/report/shakespeare/
Admin
I wrote an implementation of this spec: http://shakespearelang.sourceforge.net/report/shakespeare/shakespeare.html which is essentially what you are proposing. ;)
Admin
The "a" in "diarescript" was a typo that kind of stuck.
It looks more like "direscript".
Admin
LOL.
I'm reminded of one of my favorite Pratchett quotes: "Light thinks it travels faster than anything but it is wrong. No matter how fast light travels, it finds the darkness has always got there first, and is waiting for it."
So 'tis true with any random crazy idea you may have and sourceforge projects.
Admin
And that is sort of true to what turkeys often do in the real world....
Admin
Love the THAT operator. Just imagine how handy it would be to have THAT in a language:
NULL BE 1 VAR01 BE THAT VAR2 BE THAT VARIABLE003 BE THAT VAR_03B BE THAT
With just a single change, you could initialize all variables to whatever value of NULL you may need. That's efficiency!
Admin
Nah, having to initialize each individual variable is inefficient. You need a THEM, viz:
NULL BE 1 FOR (VAR01, VAR2, VARIABLE003, VAR_03B): ALL THEM BE THAT
Admin
Please be kidding....
Admin
I had a son who was a drunken hillbilly who rumbled when he had a fever dream once, and I assure you it was no laughing matter.
Admin
Why? jQuery has different syntax. just because one technology is built on top of another doesn't mean that they're the same thing.