Jul 1
Moved to Slicehost
Giving up on dreamhost, tired of the slow page loads, overloaded databases, etc.
Trying out slicehost for the next few months, seems ok so far since it gives me a playground for my other more interesting things involving java that I want to play with.
No commentsJun 7
Itunes remote
Technorati Tags: itunes remote, itunes, applescript
This nifty little application (http://www.delicioussuite.com/technology/deliciousfun/applications/remote_itunes.html) allows you to remotely control remote instances of itunes using remote applescript events (see http://docs.info.apple.com/article.html?path=Mac/10.4/en/mh896.html on how to enable, you’ll need to make sure your account has a password).
Current limitations like sorting your list doesn’t work, but if you have a mac mini like I do for playing music/video/etc on your television, its a lot easier than flipping over to a VNC connection to hit ‘next’.
No commentsJun 4
Using services from bootstrap.groovy in grails
I’m currently writing an application for some upcoming strutta.com functionality using grails. During development though, I have it setup to recreate my data everytime I restart the server, and then I repopulate from a seperate source.
I do have a controller setup to manually import specific ids from the head end server, but its useful if I didn’t have to do this everything I hit ctrl-c in the wrong window. Using a services orientated design, you seperate out logic from controllers (and is recommended by the grails guys), but if you need to call this from the bootup, you could follow the instructions on http://grails.org/Services (which doesn’t work…) or you could do:
import org.codehaus.groovy.grails.web.servlet.GrailsApplicationAttributes
class BootStrap {
def init = { servletContext ->
def ctx = servletContext.getAttribute(
GrailsApplicationAttributes.APPLICATION_CONTEXT);
def ss = ctx.getBean("feedService");
ss.loadFromFeed();
}
def destroy = {
}
}
1 comment
Apr 10
links for 2008-04-10
Mar 5
MGS 4 Creator Kojima Says Blu-ray Is Too Small
eCanadaNow.com - MGS 4 Creator Kojima Says Blu-ray Is Too Small
Jesus.
Blu-ray holds 50GB per disc. Somehow it reminds me of this:
MGS 4, 360 Edition