Home MVC Storefront

New SubSonic Provider: LOLCode.NET

Just finished putting the wraps on a new provider for SubSonic using the new LOLCat.NET coding engine. If you haven't seen it, it's "teh suk"...
LOLCODE is an humorous esoteric programming language heavily inspired by structures found in many common programing languages, as modified to be expressed via common terms, stylings and informal spellings found in Internet memes (primarily lolcats) and the communication style found in internet slang, instant messenger chat, and cellphone text messaging ("TXT"), rather than the numerically-based l33t. The name itself comes from the expression "LOL" [laugh out loud].
You've seen this stuff - Twitter uses it a lot: twitter Home Page It's not easy working with this stuff- Phil and I were trying to figure out how to actually create a type with it. Phil took the first pass: HAI! IM IN YR Northwind HOW DUZ I ListProducts YR id PRODUCTS = GETPRODUCTS id OMFG FOUND YR PRODUCTS IF U SEZ IM OUTTA YR Northwind This worked pretty well, doing what you'd expect but you have to be sure to close off the "IM IN YR" opener or you'll have a memory leak. I still needed some help so I trolled over the LOLCode forums and found some great samples to help out. Here's how you can work with strings: I HAS A STRING GIMMEH STRING IM IN YR VAR UPPIN YR 0 TIL LENGTH OF STRING VISIBLE "GIMMEE A " STRING!!VAR STEPPIN IM OUTTA YR VAR But this lacks error trapping. If you wrap it with the equivalent of a try/catch... HAI! WTF: I HAS A STRING GIMMEH STRING IM IN YR VAR UPPIN YR 0 TIL LENGTH OF STRING VISIBLE "GIMMEE A " STRING!!VAR STEPPIN IM OUTTA YR VAR OMFGWTF HALP! Switches are supported too, although the GTFO is much clearer, to me, that "Break": IM IN YR HUNTIN GOT ANIMAL, WTF? OMG “Hedgehog" VISIBLE “Prickly!!" GTFO OMG “Dog" VISIBLE “Halp!!!" GTFO HUNTIN OMG “Maus" VISIBLE “NOM NOM NOM" GTFO OMGWTF VISIBLE “Wat iz Dat?" OIC VISIBLE “Still Huntin!!" IM OUTA YR HUNTIN The best part of the language is the terse syntax - it's immediately readable and allows you to grok the intent of the programmer. Check out this routine - you know what's intended here: HAI! IM IN YR INDEX ITZ 0 BTW counting up TIL SIZEOF ABUKKIT process ABUKKIT!!INDEX UPPIN INDEX ZOMG U SUK WHRZ PRON? IM OUTTA YR INDEX IM IN YR INDEX ITZ SIZEOF ABUKKIT BTW counting down TIL 0 NERFIN INDEX process ABUKKIT!!INDEX IM OUTTA YR INDEX I CAN HAZ PRON? Feel free to check it out in the latest commit to our repository - it's one of the coolest things I've seen... EVAR.
Steven Harman avatar
Steven Harman says:
Friday, October 26, 2007
The World has gone completely mad. Mad I tell ya!

OmegaSupreme avatar
OmegaSupreme says:
Friday, October 26, 2007
LMAO :D

kiran avatar
kiran says:
Friday, October 26, 2007
HAI! IM IN YR blog ROTFL OMGWTF IM OUTTA YR blog

kevin avatar
kevin says:
Friday, October 26, 2007
Finally!!! I was wondering if you guys would ever support LOLCode.NET This is gonna make developing so much easier. I was gonna switch over to Rails but now forget it. This is HUGE! One question though, where's the soniccast. you know people are going to be asking for it.

Ian avatar
Ian says:
Friday, October 26, 2007
I first became aware of LOLCODE after someone entered a post about it at Channel9. Anytime I am discussing languages and their futures with friends or coworkers I always bring up LOLCODE and unless the convo in an email or IM (so I can link directly to it), nobody believes me that it even exists. I guess I could get more behind the LOLCODE community if it did not seem so exclusive . . . "LOLCODE is being developed for the LOLCAT community. To everyone else I say . . ." http://farm3.static.flickr.com/2248/1762000253_1f7933376f_o.jpg

Shawn Burke avatar
Shawn Burke says:
Friday, October 26, 2007
That is totally out of control.

Rob Conery avatar
Rob Conery says:
Friday, October 26, 2007
@Ian - we need to work on your Gravatar I think. Sort of David Lee Roth meets George Michael with a touch of Beyonce :). Diggin the pic! Wish I had that for the Rails post :)

Dan avatar
Dan says:
Friday, October 26, 2007
Rob: I keep getting this error- STFU line wun; meh

DotNetKicks.com avatar
DotNetKicks.com says:
Saturday, October 27, 2007
New SubSonic Provider: LOLCode.NET ... You've been kicked (a good thing) - Trackback from DotNetKicks.com...

Nick Hodge avatar
Nick Hodge says:
Sunday, October 28, 2007
OMFG!! Now I understand all those MSDN tutorials. Thanks LULZ!!!

Development on a Shoestring avatar
Development on a Shoestring says:
Monday, October 29, 2007
And more LOLCode: Now a SubSonic provider too...  New SubSonic Provider: LOLCode.NET Just finished putting the wraps on a new provider for SubSonic using the new LOLCat.NET coding engine. If you haven’t seen it, it’s “teh suk” … HAI! IM IN YR ...

Morgan TIley avatar
Morgan TIley says:
Monday, October 29, 2007
I am crying from LOL'ing so much!!!111oneoneone

Nate Kohari avatar
Nate Kohari says:
Wednesday, October 31, 2007
The scary part is that I look at LOLCODE and see QBASIC. :)

Sergio avatar
Sergio says:
Wednesday, October 31, 2007
Ah, so that's why Microsoft hired you both, right? The rumors about Anders H. jumping ship from C# must be true.

mike kidder avatar
mike kidder says:
Wednesday, November 14, 2007
So what's next..... Klingon.Net

John Tobler avatar
John Tobler says:
Friday, November 16, 2007
Rob, sorry for the probably silly question, but where, exactly is the LOLCode.NET provider to be found now? I'm having some trouble finding it in your Subversion repository.

gavin dou avatar
gavin dou says:
Friday, December 14, 2007
路过,支持一下.

Jason Short avatar
Jason Short says:
Wednesday, January 30, 2008
Wow, this cracked me up. ur 2 7337 4 me


Search Me
Index Of MVC Screencasts

You can watch all of the MVC Screencasts up at ASP.NET, and even leave comments if you like.

Subscribe

Popular Posts
 
My Tweets
  • @mattberther do you really want to use the words "fair", "balanced" and "Hannity" in the same sentence? :):)
  • @ryanlanciaux McCain is becoming a national embarrasment like Bush before him. Cheapens our political process and makes us look like idiots
  • @ryanlanciaux The basics I spose - the ability to speak in full sentences, details about their plans, no overt smears and lies... like that
  • Time Magazine: "what a desperate empty embarrassment the McCain campaign has become". Have to agree. http://tinyurl.com/3kygnq
  • How does O'Reilly keep his job? http://tinyurl.com/3zw5r4
  About Me



Hi! My name is Rob Conery and I work at Microsoft. I am the Creator of SubSonic and was the Chief Architect of the Commerce Starter Kit (a free, Open Source eCommerce platform for .NET)

I live in Kauai, HI with my family, and when my clients aren't looking, I sometimes write things on my blog (giving away secrets of incalculable value).