Hanalei, Hawaii Tuesday, February 09, 2010

New SubSonic Provider: LOLCode.NET

Just finished putting the wraps on a new provider for SubSonic using the new LOLCat.NET coding engine.

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.


» New SubSonic Provider: LOLCode.NET - October 26, 2007 - [...] Original post by Rob Conery [...]
Steven Harman - October 26, 2007 - The World has gone completely mad. Mad I tell ya!
OmegaSupreme - October 26, 2007 - LMAO :D
kiran - October 26, 2007 - HAI!
IM IN YR blog
ROTFL
OMGWTF
IM OUTTA YR blog
kevin - 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.
internet provider » New SubSonic Provider: LOLCode.NET - October 26, 2007 - [...] Read the rest of this great post here [...]
Ian - 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 - October 26, 2007 - That is totally out of control.
Rob Conery - 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 - October 26, 2007 - Rob: I keep getting this error- STFU line wun; meh
DotNetKicks.com - October 27, 2007 - New SubSonic Provider: LOLCode.NET ... You've been kicked (a good thing) - Trackback from DotNetKicks.com...
Nick Hodge - October 28, 2007 - OMFG!!
Now I understand all those MSDN tutorials. Thanks

LULZ!!!
SubSonic goes LOLCODE | www.nickhodge.com - October 28, 2007 - [...] Rob Conery, ASP.NET guru, has found LOLCODE. [...]
SubSonic goes LOLCODE (and Microsoft) : DPE Australia - October 29, 2007 - [...] Rob Conery, ASP.NET guru, has found LOLCODE. [...]
Development on a Shoestring - 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 - October 29, 2007 - I am crying from LOL'ing so much!!!111oneoneone
The Phantom City » Cat-like Typing Detected - October 30, 2007 - [...] Update: Good examples of code. [...]
LOLCode.NET… die coole Art des programmierens | Code-Inside Blog - October 30, 2007 - [...] Conery (seit neustem bei Microsoft tätig) hat für SubSonic ein Provider geschrieben. Naja - lustig ist es alle [...]
Nate Kohari - October 31, 2007 - The scary part is that I look at LOLCODE and see QBASIC. :)
Sergio - 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 - November 14, 2007 - So what's next..... Klingon.Net
John Tobler - 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.
LOLCats can haz a programming language! - November 20, 2007 - [...] From: New SubSonic Provider: LOLCode.NET [...]
gavin dou - December 14, 2007 - ??,????.
Caffeinated Coder >> Russell Ball » What Do Underpants Gnomes and Rob Conery Have in Common? - January 15, 2008 - [...] He’s also an excellent blogger and the most recent addition to my top 10 blog roll because of posts like these. He recently announced that he is going to work for Microsoft and that he would [...]
Jason Short - January 30, 2008 - Wow, this cracked me up. ur 2 7337 4 me
Gecko