Jul 1

Moved to Slicehost

Category: Uncategorized

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 comments

Jun 7

Itunes remote

Technorati Tags: , ,

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 comments

Jun 5

Grails AcegiSecurity Create User on BootStrap

Category: grails, j2ee, java

To create users on startup with a blank database:

Read more

2 comments

Jun 4

Using services from bootstrap.groovy in grails

Category: j2ee, java

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 12

links for 2008-04-12

Category: Uncategorized

Apr 10

links for 2008-04-10

Category: Uncategorized

Apr 8

links for 2008-04-08

Category: Uncategorized

Apr 6

links for 2008-04-06

Category: Uncategorized

Apr 5

links for 2008-04-05

Category: Uncategorized

Mar 5

MGS 4 Creator Kojima Says Blu-ray Is Too Small

Category: Uncategorized

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

Tags: , ,

No comments

Next Page »