Posted 3 years ago at 8:52 pm. 3 comments

I finally had my first taste of CFDG (see old post) and am addicted :shock_ee:.
It feels like using the first language I learned - LOGO, except there is no turtle and it is not sequential. It also feels like coding in Prolog, which is not surprising because both of them use context-free grammar. That reminded me I could have used CFDG as my project topic for my functional and logic programming class. It would have been fun. :mad_ee:
I figured trees would be hard to make, as they require certain amount of geometry skills. Monograms are easy and they sell.

Continue Reading…
Filed under: Tech
Posted 3 years ago at 4:05 pm. 6 comments

Instead of posting teeny-weeny entries on random nerdy bits, from now on, I will compile a list of things that I have learnt or done on computers. The list will be filtered against the boredom threshold and posted on a weekly basis.
Continue Reading…
Posted 3 years ago at 10:39 am. 1 comment
Context Free Design Grammar
CFDG is a very simple programming language made for generating pictures. You write a text file as an input (a .cfdg file), and it spits out a graphic (usually a .png file).

Continue Reading…
Filed under: Tech
Posted 3 years, 1 month ago at 8:29 pm. 2 comments
Greasemonkey (link)

Greasemonkey is a Firefox extension which lets you to add bits of DHTML (”user scripts”) to any web page to change its behaviour. In much the same way that user CSS lets you take control of a web page’s style, user scripts let you easily control any aspect of a web page’s design or interaction.
I have used it to hide ads and add shortcut buttons (Mark Read and Delete) to GMail, add RSS buttons to Xanga blogs, and customize the behaviour of Livejournal user info’s. There are also lots of scripts that would work for all sites, such as auto reload page every N seconds, auto login, …etc. See the list here. It’s pretty amazing how much a simple javascript file can do to enhance your surfing experience.