Lim For Mac

Posted on

Lime is a WYSIWYG music score editor. It supports input from MIDI instruments such as a MIDI keyboard as well as MIDI playback. It uses QuickTime MIDI if not. Unfortunately, the SBCL maintainers don’t keep the pre-built Mac version up to date, so getting the latest SBCL is a two-step process on Mac OS X. First, hit SBCL’s download page and download both the latest source (1.0.45 at the time of writing) and the latest Mac binary (1.0.29). I’m using a 64-bit SBCL, but 32-bit should work fine as well.

Learn how to get your Mac desktop or Mac notebook fixed and how much it will cost.

How do I get service for my Mac?

To get service for your Mac, you can make a reservation at an Apple Store or an Apple Authorized Service Provider. Make sure you know your Apple ID and password before your appointment. Depending on where you get service, you might be able to check the status of your repair online.

How much will it cost?

There's no charge if the issue is covered under warranty, AppleCare+, or consumer law. If your issue isn’t covered, the price depends on the type of repair. Ask your service representative for an estimate.

Battery service

If you're experiencing an issue with your battery, your Mac notebook might not require a repair. These tips show you how to maximize your battery performance. If you can't turn on your Mac or if the screen turns black, follow these steps to resolve the issue.

Your Mac notebook battery service might be covered by warranty, consumer law, or AppleCare+. We might need to test your product to determine the final service fee.

MacBook ProOut of warranty
16-inch MacBook ProS$ 288
15-inch MacBook Pro with Retina displayS$ 288
13-inch MacBook Pro with Retina displayS$ 288
15-inch MacBook ProS$ 188
13-inch MacBook ProS$ 188
MacBook AirOut of warranty
13-inch MacBook AirS$ 188
11-inch MacBook AirS$ 188

Pricing and terms might vary at other service providers. All prices are in Singapore dollars and include GST.

Accessories

Lim

The Apple-branded accessories that come in the box with your Mac, including the power adapter, are covered under the Apple One Year Limited Warranty and consumer law. Our warranty doesn’t cover batteries that wear down from normal use. If your accessory’s battery is depleted or your accessory is more than one year old, you can replace the accessory’s battery for a fee.

ProductAccessory battery service
Magic KeyboardS$ 44
Magic Keyboard with Numeric KeypadS$ 44
Magic Mouse 2S$ 44
Magic Trackpad 2S$ 44

Pricing and terms might vary at other service providers. All prices are in Singapore dollars and include GST.

AppleCare+

AppleCare+ gives you expert technical support and hardware coverage from Apple, including accidental damage protection. Each incident of accidental damage is subject to a service fee.
If you don't have AppleCare+, you'll pay the out-of-warranty fee for that type of repair.

ModelScreen or external enclosure only (with AppleCare+)Other damage (with AppleCare+)
All Mac modelsS$ 138S$ 428

These fees apply in Singapore. All prices are in Singapore dollars and include GST. AppleCare+ does not cover excessive physical damage, including catastrophic damage due to liquid contact or submersion, or damage caused by the presence of hazardous materials. Devices modified by unauthorized service providers are not eligible for AppleCare+ accidental damage coverage unless all original parts are returned to Apple.

Not sure if you're covered? Check if you have AppleCare+ coverage by entering your Mac's serial number.

Get ready for service

Before you return your Mac to us, be sure to enable FileVault and back up your data. You may need the backup if your Mac needs to be reformatted during the repair process. Apple isn’t responsible for lost data.

Apple Limited Warranty and proof of purchase

The Apple Limited Warranty covers your Mac and the accessories that come with it against manufacturing defects for one year from the date you bought your product. The Apple Limited Warranty is in addition to rights provided by consumer law.

Our warranty doesn't cover damage caused by accidents or unauthorized modifications. See the warranty for complete details. You can check your coverage status online and update your proof-of-purchase information if there's an error in our records. If our warranty, your AppleCare plan, or consumer law don't cover your repair, you'll pay out-of-warranty fees.

Consumer law

Your country or region might have consumer-protection laws for some repair issues.

Our guarantee after service

We guarantee our service, including replacement parts, for 90 days or the remaining term of your Apple warranty or AppleCare plan coverage, whichever is longer. We offer this whenever you get service from us or from an Apple Authorized Service Provider. This is in addition to rights provided by consumer law.

Setting up for Common Lisp development on Mac OS X

High-level overview:

  • Download and install SBCL (http://www.sbcl.org/)

  • Download and install Aquamacs (http://aquamacs.org/)

  • Download and install Quicklisp (http://www.quicklisp.org/)

  • Configure everything so that it plays nice together.

Download and install SBCL

There are several good Common Lisp implementations on Mac OS X. I happen touse SBCL because it worked better with lispbuilder-sdl last time I triedit, so that’s the one I cover here. Clozure CL (http://ccl.clozure.com/)is also very good.

Lime

Unfortunately, the SBCL maintainers don’t keep the pre-built Mac version up todate, so getting the latest SBCL is a two-step process on Mac OS X. First, hitSBCL’s download page and download both the latest source (1.0.45 at thetime of writing) and the latest Mac binary (1.0.29). I’m using a 64-bit SBCL,but 32-bit should work fine as well.

Update: This has changed recently; the last several releases of SBCL have beenpre-built for Mac OS X, so you can just grab one of those.

Now fire up Terminal, switch to where you downloaded SBCL, unpack and installit:

That’ll install SBCL into /usr/local/bin. At this point you should be able torun sbcl and get a Lisp prompt:

Hit Control-D or type (quit) to exit.

Now you can run w/ that version, or if you want the latest/greatest you mayneed to build it. (Note: you may need Apple’s developer tools installed forthis; I can’t remember.) Go back to your downloads directory and unpack thesource distribution:

Lime For Making Masa

Now you’ll have the latest and greatest SBCL installed.

Download and install Aquamacs

Aquamacs (http://aquamacs.org/) is an Emacs distribution customized torun nicely on Mac OS X. It obeys all the normal Mac shortcut keys, printswell, that sort of thing. Download it, open it up and drag theapplication to your Application directory as you would any other Mac app.

Download and install Quicklisp

Download Quicklisp from http://www.quicklisp.org/. (It’s in beta at thetime this was written, but it’s fully functional and awesome). Download theinstall file (http://beta.quicklisp.org/quicklisp.lisp at the time ofwriting) and save it to disk somewhere easy to find.

Next, run sbcl and type in the following:

After it loads, run:

That’ll download the rest of the system and get it set up for you. Quicklispwill install by default in ~/quicklisp; you can change that by passing :path'/target/path/' to the install function.

Finally, run:

That’ll add Quicklisp to your init file so that anytime you run SBCL Quicklispwill be loaded and ready to go.

Now go ahead and read on http://www.quicklisp.org/ about how to use it.It’s very easy to search for and install Common Lisp libraries. For example,to get ahold of “ieee-floats” for the previous entry, just run:

That will download the library if it hasn’t already and load it into your CLenvironment for you.

Lim machineryMachine

Configure everything so that it plays nice together

Lim Machine

SBCL and Quicklisp are already playing nicely together at this point; you justneed to let Aquamacs know about them.

First in SBCL run:

Limit For Mcca Pip Claim

This’ll install SLIME for you,an awesome Common Lisp development environment. It should give you a line toadd to your .emacs configuration file:

Aquamacs will use .emacs, but they recommend keeping your configuration in~/Library/Preferences/Aquamacs Emacs/Preferences.el. Either will work. You’llneed to both tell Aquamacs how to start your Lisp environment and add theabove line to tell it how to find SLIME. To do that, add the following to yourPreferences.el:

At this point, you should be ready to go. To try it all out, launch Emacs,type Alt-x (Meta-x, technically), and type in “slime”. Hit enter and youshould find yourself at a CL-USER prompt within Emacs.

Now, actually learning to use SLIME is well beyond the scope of this entry.For that, I recommend Peter Seibel’s Practical Common Lisp. Chapter2 covers getting around both in Emacs and SLIME.