acoliver's blog

Interceptors and Exception Mapping for Appcelerator

I've been working on some code for both OS Integrators, LLC and for a client as well. I'm using the Appcelerator AJAX framework for both projects. In order to accomplish these goals, I've committed the following to head in the service:java component:

  • @ExceptionResponses/@ExceptionResponse
  • @BeforeMethods
  • @AfterMethods
  • @InterceptorMethod

For example let's say you have:

Firmware upgrade for the cheapy Blu-Ray player from Target

On the last day of Chanukah, I bought my wife one of these: Olevia Blu-Ray player which is actually this player rebranded. Initially many DVDs and one of the Blu-Ray disks I bought her didn't work.

Keyboard issue in upgrading to Ubuntu 8.10 on a MacBook Pro

I recently upgraded to Ubuntu 8.10 in hopes that it would solve some issues I've been having with Ruby's rake. However this gave me a new issue. I keep the useless tiny enter key and right apple key mapped to the right and middle mouse buttons respectively. I do this with two entries in a file called ~/.xmodmap. However with Ibex these codes changed. Luckily there is "xev" to detect them. After the change it is:

keycode 134 = Pointer_Button2
keycode 104 = Pointer_Button3

IOMega StorCenter NAS

I bought an IOMega StorCenter 1TB NAS for the home. I was initially a little irritated that we couldn't seem to locate it even from my wife's windows laptop with the tool that came in the box. However, on a whim, I unplugged the cable modem from the Belkin N access point and restarted both. This resulted in it getting an obvious IP address. From there I switched it into RAID 1 mode. Everyone now can back up their important files to it.

Ubuntu Hardy Fan Control and Power Management

I have a MacBookPro on which I run Ubuntu. I've had a rather dubious history with my MacBookPro and it knows the Genius Bar well. Not because I need help, but because it has had more hardware problems than I care to remember. The biggest problem though is it would have burned my lap off if I had used it as a "laptop".

That being said, Hardy was a great update. It gave me fan control (previously I had to boot to OS X, let the fan widget fix the speed, then restart to Ubuntu). Suspend works! Hibernate works!

I added the following to /etc/rc.local:


#!/bin/bash
...

Launch

Open Software Integrators, LLC is the premier professional service delivery company. Our primary business is simple. When you call your favorite open source vendor for training or consulting, we show up to deliver the service on their behalf and in their name.

Syndicate content