HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
I HAS A CODE ITZ "CRAZY"
VISIBLE CODE
I HAS A NUMBR
LOL NUMBR R 2
VISIBLE NUMBR TIEMZ 2
I HAS A FIB
I HAS A A ITZ 1
I HAS A B ITZ 0
It's written in LOLCode.NET, a brand new .Net language that quickly gathers support among agile developers. Read the full story on the Scott Hanselman's blog.
Showing posts with label Amazing stuff. Show all posts
Showing posts with label Amazing stuff. Show all posts
Wednesday, 14 May 2008
LOLCode, DLR Edition
This is a code snippet that actually works.
Tuesday, 13 November 2007
MUMPS language sample
Just discovered this piece of code:
(see this link for the full code)
I was going to add some sarcastic comments but found myself at loss of words..
QUE(RTN,DESC,START,ASK) ;...
; Queues a job to Taskman with optional user interaction
; Inputs
; RTN : The full routine info to queue
; DESC : The Description for the task
; START :The start date/time (in FM format) for this job
; : If null, uses today's date/time
; ASK :Prompt the user to queue the job?
; : ASK = 0 (don't) or 1 (ask) If null, defaults to 1
; Outputs
; 0 if not tasked, or the Taskman task # if tasked
;
N %,QUE,TIME,I,X,Y,DTOUT,STOP,%DT
N ZTSK,ZTRTN,ZTDESC,ZTIO,ZTDTH
S QUE=0
S RTN=$G(RTN)
S DESC=$G(DESC)
I RTN=""!(DESC="") Q 0
S START=$G(START)
S ASK=$G(ASK)
I ASK="" S ASK=1
I 'ASK S %=1
S STOP=0
I START="" D ;
(see this link for the full code)
I was going to add some sarcastic comments but found myself at loss of words..
Saturday, 22 September 2007
Tafiti
A few weeks ago I discovered the amazing new search engine by Microsoft. It uses Silverlight of course, and it is sort of beautiful (they improved over their initial design that looked quite childish). The main fun begins when you choose the Tree view. You actually see a tree with search results hanging like fruits. The tree spins slowly, so that you can wait till the link you want moves closer and then pick it. If you are overwhelmed by the quantity of the results, you can move the slider at the bottom, and the less relevant results will disappear.
Visit http://www.tafiti.com/ and see yourself.
Visit http://www.tafiti.com/ and see yourself.
Friday, 17 August 2007
Saturday, 28 July 2007
Electric sheep and collective computer dreams
Just installed me a new screensaver -- the electric sheep. This is not just the most beautiful screensaver I've ever seen. It's a sort of genetic mutation engine. The screensaver is governed by a bunch of parameters ("genes"), which is a common thing. However, here these are not predefined. Numerous combinations are downloaded from the server (or maybe other clients), new combinations are generated by random mutations and uploaded again. You can vote for a combination and thus increase the chance that this specie survives. Thus, the Darwin law dictates that only the most beautiful sheep survive.
The sheep do resemble my computer's dreams indeed.
The sheep do resemble my computer's dreams indeed.
Subscribe to:
Posts (Atom)