Archive for September, 2008

Can has lolcode?

Tuesday, September 16th, 2008

HAI
CAN HAS ATTENTION?

About a year ago I wrote a blog post about syntax highlighting and indenting for lolcode in vim. A lot has happened with the programming language since then, and I haven’t had the time to update the two files.

Chris (aka cheepguava) was nice enough to do just that. The things he added includes multiline comments (OBTW … TLDR), special characters within strings (:) or :> or :o or :: or :”) and more language keywords to get it closer to the 1.2 spec.

You can find the tarball at http://www.indentedlines.net/lolcode/vim.tar.gz

Please note that you have to rename the two files to lolcode.vim

Put the two files in $HOME/.vim/syntax and $HOME/.vim/indent respectively. You also need to have filetype plugin indent on in your .vimrc file. Using syntax on and filetype on is also a good idea.

Because lolcode is a new filetype, you need to make sure it is detected by the system: mkdir ~/.vim/ftdetect

Create a new file named lol.vim in that directory. In this file you need to have the following line:

au BufRead,BufNewFile *.lol set filetype=lolcode

Thanks to Chris for helping out, and I hope you enjoy!

KTHXBYE

I heart London

Wednesday, September 3rd, 2008

While sitting on a bench in Hyde Park, watching the leaves fall from the trees, thinking that fall is just around the corner, I started to write on the back of an old receipt. One that says 108,- for a Banana Passion Split and a bottle of Coca Cola. It’s just something I do when I’m nervous, excited, lonely, happy or all of the above.

Sometimes I spend so long thinking about how to express myself, that I forget what I was going to write. I spend too long trying to find the right adjectives. And I wish I could find the right words to describe some of the best moments. My trip to London was more than just Big Ben, The London Eye, Madame Tussauds and Oxford Street. A lot more.

Another receipt says 590,- for a haircut. It’s from July 15th, 2008. My ramblings on the back, blue ink, some words crossed out, some misspelled; at least 1 of the 268 Underground stations has a staircase with 78 steps, a shop on Oxford Street sells salt from the Dead Sea, and some very big soap bubbles were seen in Camden Town.

There are some keywords at the bottom of the second receipt. Just to remember all the other things that happened. Like the time we almost got lost on the Underground, the elevator with no buttons, the Kanye West sunglasses in white and pink, and the lack of a proper breakfast - even though I don’t mind white bread and strawberry jam.

There was just one small thing I wasn’t too happy about; you can’t write on receipts from Tesco. They have THANK YOU FOR SHOPPING WITH US printed all over it. And it took me a while to find that piece of paper in my bag. This time I saw fall in London, and a white pigeon. I will make sure I have my notebook with me next time.