Info

Programmer by day, artist by night

Posts from the Technical Notes Category

The original motivation behind installing Common Lisp was to try the book: Land of Lisp. Even if you don’t use Lisp in your daily life or workplace, you should give it a try, for they say, coding in Lisp will not only enhance your programming skills but also fundamentally change the way you think!

land-of-lisp

Operating System: Mac OS X Mavericks
Homebrew: Version 0.9.5
GNU CLISP: Version 2.49

The best way to install CLISP on a Mac in our opinion is via Homebrew.

First make sure you have Homebrew installed. You can find the installation instructions at http://brew.sh

You can install Homebrew on your Mac by running the following command in the Terminal:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

We like Homebrew because it’s very easy to maintain and update packages. Besides Homebrew installs packages under the user’s home directory so there is little chance of messing up the Mac system directories and the base packages that come with it.

Once Homebrew is installed and running well, installing CLISP is trivial. Issue the command:

brew install clisp

If you like verbose output, issue the command:

brew -v install clisp

Wait for the packages to download and if necessary follow any recommendations provided by brew.

Once CLISP is installed you can run the following command to get the interactive console:

clisp

lisp_run_—_120×25_and_Object_Coder

Here’s a video that shows CLISP installation in action! The video shows the download and CLISP compiling process.  Warning: Might be boring like watching paint dry 🙂

We must admit, having our own custom favicon does add to the vanity value of our web properties.

Adding a favicon to Google Sites and Blogger is super easy. Here are the steps:

Create a favicon.ico file

First make sure you have a favicon.ico file. You can generate one for free using online favicon generators. Here is one we have used: http://favicon-generator.org

Adding favicon.ico to Blogger

In the Admin panel, go to Layout -> Favicon (Edit) to upload your favicon.ico. And your’e done.

favicon-blogger

Adding favicon.ico to Google Sites

Go to the Manage Sites screen and click Attachments -> Upload to upload your favicon.ico file. Nothing more to do here.

favicon-google-sites

Now refresh your sites and you should see your favicon in the browser tab or web address area (depending on your browser).

Here’s how the favicon looks like on the Safari web browser:

object-coder-favicon

Tested on:

Type the following at the Terminal:

sudo /usr/local/mysql/support-files/mysql.server start
sudo /usr/local/mysql/support-files/mysql.server stop

This is useful for restarting the MySQL server via the command line on Mac.