uPortal IRC Logs-2007-12-10
[00:52:03 EST(-0500)] * colinclark (n=atrcwrk2@204-244-68-52.roomlinx.com) has joined ##uportal
[01:08:11 EST(-0500)] * jayshao (n=jayshao@pool-72-79-105-68.nwrknj.east.verizon.net) has joined ##uportal
[09:44:48 EST(-0500)] * esm (n=esm@asdf.dkc.jhu.edu) has joined ##uportal
[10:01:10 EST(-0500)] * EricDalquist (n=EricDalq@76.210.63.222) has joined ##uportal
[10:18:13 EST(-0500)] <esm> well you should be able to do prefDao.update(prefs), prefDao.get(portDef), prefDao.get(portEnt)
[10:18:14 EST(-0500)] <esm> ok
[10:18:26 EST(-0500)] <EricDalquist> yeah
[10:18:28 EST(-0500)] <EricDalquist> so
[10:18:58 EST(-0500)] <EricDalquist> the get methods would really just wrap getting the data from the def/ent directly
[10:19:05 EST(-0500)] <EricDalquist> so I'm not sure they would even be that usefull
[10:19:14 EST(-0500)] <EricDalquist> hrm
[10:19:24 EST(-0500)] <esm> yeah
[10:19:26 EST(-0500)] <EricDalquist> well I'll work on it a bit more without a special prefs helper dao
[10:19:32 EST(-0500)] <EricDalquist> and see if it would actually be useful
[10:19:38 EST(-0500)] <esm> prefDao.get( entity ) is like pdef.getPreferences()
[10:19:45 EST(-0500)] <EricDalquist> gah, roomba just stole my power cord
[10:19:51 EST(-0500)] <esm> what
[10:19:52 EST(-0500)] <esm> lol
[10:19:52 EST(-0500)] <EricDalquist> yup
[10:19:57 EST(-0500)] <esm> are you at home?
[10:20:07 EST(-0500)] <EricDalquist> I'm at home waiting for the local apple store to open
[10:20:10 EST(-0500)] <esm> ah
[10:20:19 EST(-0500)] <esm> silly roomba
[10:20:57 EST(-0500)] <EricDalquist>
[10:21:16 EST(-0500)] <esm> yeah plus you'd have to get a handle on the prefDao each time you wanted to get a pref object
[10:21:18 EST(-0500)] <EricDalquist> but really the important thing in all of this ... Spring 2.5 + JPA + Hibernate == very very cool
[10:21:22 EST(-0500)] <esm> really
[10:21:26 EST(-0500)] <esm> i will have to check it out
[10:21:32 EST(-0500)] <esm> i am doing wsrp4j persistence right now
[10:21:47 EST(-0500)] <EricDalquist> I'll stick my sample project in the jasig sandbox before I head out this morning
[10:21:49 EST(-0500)] <esm> and I have the token xml peristence layer done (for the producer)
[10:22:03 EST(-0500)] <EricDalquist> it is a bare minimum for doing OM/DAO design work
[10:22:04 EST(-0500)] <esm> but a jpa/hb solution sounds cool
[10:22:05 EST(-0500)] <esm> yeah
[10:22:07 EST(-0500)] <EricDalquist> so it is a good example
[10:22:18 EST(-0500)] <esm> excellent I will be sure to check it out
[10:22:37 EST(-0500)] <esm> i finished up an implementation recently of the Sakai course management api
[10:22:45 EST(-0500)] <esm> i'm Soooooo glad i didn't use ORM
[10:22:52 EST(-0500)] <esm> spring jdbc all the way
[10:23:03 EST(-0500)] <EricDalquist> that is nice too
[10:23:28 EST(-0500)] <EricDalquist> but I like 2 line store methods
[10:23:32 EST(-0500)] <EricDalquist> and 4 line retrieve methods
[10:23:44 EST(-0500)] <esm> the course data was a view of just one table. despite that, ORM would have been very onerous.
[10:23:45 EST(-0500)] <esm> nice
[10:23:48 EST(-0500)] <esm> i will have to take a look
[10:24:23 EST(-0500)] <esm> mac question:
[10:24:38 EST(-0500)] <esm> do you know ottoyh how to set the outbound smtp server on an apple
[10:24:46 EST(-0500)] <esm> so you can send email from command line
[10:25:02 EST(-0500)] <EricDalquist> no idea ... the only email work I do is via thunderbird
[10:25:15 EST(-0500)] <EricDalquist> what app are you tryng to use to send the email?
[10:25:35 EST(-0500)] <esm> i'm just doing local developent with a java app which sends out email
[10:25:46 EST(-0500)] <esm> i need ot test password recovery
[10:26:01 EST(-0500)] <esm> so i say "send me mah password" and it blasts an email out
[10:26:16 EST(-0500)] <EricDalquist> ah
[10:26:21 EST(-0500)] <EricDalquist> well that would be the javamail config
[10:27:04 EST(-0500)] <esm> hm yah
[10:27:19 EST(-0500)] <esm> i'll poke around in the app and see if it has a place to config the server
[10:27:23 EST(-0500)] <EricDalquist> I've done a JDNI SMTP config for the jasig confluence install
[10:27:32 EST(-0500)] <esm> ahha nice
[10:27:37 EST(-0500)] <esm> thats cool
[10:27:39 EST(-0500)] <EricDalquist> I believe you need to set up a Session?
[10:28:03 EST(-0500)] <esm> well, this app may already have the settings - eg. and outbound smtp server
[10:28:06 EST(-0500)] <esm> i didn't htink to check
[10:28:08 EST(-0500)] <EricDalquist> oh I think it is a Transport
[10:28:36 EST(-0500)] <esm> yeah i think it is Transport
[10:28:48 EST(-0500)] <esm> i did some mail stuff a long time ago
[10:28:48 EST(-0500)] <esm> oh
[10:28:50 EST(-0500)] <esm> it was for Jira
[10:28:55 EST(-0500)] <esm> because it didn't support SSL imap
[10:29:01 EST(-0500)] <esm> so I had to write an SSL handler
[10:29:02 EST(-0500)] <EricDalquist> yeah
[10:29:03 EST(-0500)] <esm> or something
[10:29:11 EST(-0500)] <EricDalquist> that was why I had to do a JNDI SMTP config
[10:29:17 EST(-0500)] <esm> ah
[10:29:23 EST(-0500)] <esm> i wrote a wrapper
[10:29:25 EST(-0500)] <EricDalquist> since we're using UW's mail system we had to have authd SMTP over SSL
[10:29:36 EST(-0500)] <EricDalquist> and IMAP over SSL
[10:29:47 EST(-0500)] <esm> we have imap over ssl and smtp auth
[10:29:56 EST(-0500)] <esm> but smtp auth is only triggered if you are off campus for use
[10:30:02 EST(-0500)] <esm> s/use/us/
[10:30:11 EST(-0500)] <EricDalquist> same for us
[10:30:20 EST(-0500)] <esm> ah found it yeah it has an smtp server in its config
[10:30:21 EST(-0500)] <esm> nicey
[10:31:59 EST(-0500)] * colinclark (n=atrcwrk2@204-244-68-52.roomlinx.com) has joined ##uportal
[10:33:46 EST(-0500)] * colinclark (n=atrcwrk2@204-244-68-52.roomlinx.com) has left ##uportal
[10:34:23 EST(-0500)] <EricDalquist> ok
[10:34:28 EST(-0500)] <EricDalquist> the ORM code is in jasig svn
[10:34:34 EST(-0500)] <EricDalquist> just sent an email to uportal-dev about it
[10:35:29 EST(-0500)] <esm> nice thanks EricDalquist i'll be sure to take a look this evening
[11:01:02 EST(-0500)] <EricDalquist> DOH
[11:02:53 EST(-0500)] <EricDalquist> I meant to svn revert just properties on the root of my project ...
[11:03:32 EST(-0500)] <EricDalquist> but accidentaly reverted the whole thing
[11:03:35 EST(-0500)] <EricDalquist> lost some changes
[11:06:43 EST(-0500)] <esm> oh wow
[11:06:50 EST(-0500)] <esm> that sucks
[11:06:55 EST(-0500)] <EricDalquist> yup
[11:07:01 EST(-0500)] <EricDalquist> luckily it wasn't a lot of work
[11:18:09 EST(-0500)] * awills (n=awills@uni1.unicon.net) has joined ##uportal
[11:18:47 EST(-0500)] <esm> yeah i really need time machine
[11:18:55 EST(-0500)] <esm> i have so many source code projects that need backign up
[11:19:00 EST(-0500)] <EricDalquist>
[11:19:03 EST(-0500)] <esm> big changes that haven't been committed to svn
[11:19:18 EST(-0500)] <EricDalquist> http://www.imulus.net/george/software/using-leopard-time-machine-to-backup-of-a-network/
[11:19:26 EST(-0500)] <EricDalquist> the network backup is so nice
[11:19:41 EST(-0500)] <EricDalquist> every hour in the background all my changes get backed up
[11:19:50 EST(-0500)] <EricDalquist> I never even notice
[11:19:56 EST(-0500)] <esm> awesome that is exctly what i need
[11:20:06 EST(-0500)] <EricDalquist> the only downside is the network approach uses a .sparceimage file
[11:20:10 EST(-0500)] <esm> when i'm at home I'll back up to my TERABYTE NAS
[11:20:16 EST(-0500)] <EricDalquist> so you can't go on to the remote file system and just browse it
[11:20:17 EST(-0500)] <esm> i can't belive i have a terabyte in a small box
[11:20:23 EST(-0500)] <EricDalquist> you have to mount it using a mac
[11:20:23 EST(-0500)] <esm> ah
[11:20:29 EST(-0500)] <EricDalquist> but that is a small price to pay
[11:20:35 EST(-0500)] <esm> yeah
[11:21:36 EST(-0500)] <EricDalquist> at this point I have hourly backups for the last 24 hours and daily back to november 25th
[11:22:00 EST(-0500)] <EricDalquist> the only big config change I did is exclude everything except /Users on both our macs
[11:22:18 EST(-0500)] <EricDalquist> I don't care about having the entire OS backed up ... apps are easy to re-install
[11:22:40 EST(-0500)] <esm> yeah that is probably what I will do too
[11:22:56 EST(-0500)] <esm> oh i upgraded to the latest m2eclipse plugin
[11:23:05 EST(-0500)] <esm> i have a hard time keeping up with its updates
[11:23:09 EST(-0500)] <esm> for some reason
[11:23:10 EST(-0500)] <EricDalquist> yeah
[11:23:17 EST(-0500)] <EricDalquist> which rev are they on now?
[11:23:51 EST(-0500)] <esm> i was pulling from their update-dev site, but their production update site has a later version
[11:23:57 EST(-0500)] <EricDalquist> oi
[11:24:15 EST(-0500)] <esm> 0.0.12.20071107-2300
[11:24:25 EST(-0500)] <EricDalquist> ok, thats what I'm on
[11:24:30 EST(-0500)] <esm> cool
[11:24:33 EST(-0500)] <esm> yeah i was misisng out
[11:24:46 EST(-0500)] <esm> eclipse is under my /User
[11:24:59 EST(-0500)] <esm> that is one app I wouldn't want to install
[11:25:01 EST(-0500)] <EricDalquist> the book that I'm using for the JPA+Hib work: http://www.amazon.com/Java-Persistence-Hibernate-Christian-Bauer/dp/1932394885/ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1197303874&sr=8-1
[11:25:11 EST(-0500)] <EricDalquist>
[11:25:16 EST(-0500)] <esm> nice yeah I have it!
[11:25:17 EST(-0500)] <esm> sweet
[11:25:24 EST(-0500)] <EricDalquist> very good book
[11:25:32 EST(-0500)] <esm> I had its predecessor, Hibernate in Action, and i got that updated one
[11:25:49 EST(-0500)] <esm> My Hibernate in Action book is well-used
[11:26:35 EST(-0500)] <EricDalquist> I really like that the J2ee folks separated the JPA APIs from the core j2ee APIs
[11:34:38 EST(-0500)] <EricDalquist> I'm off for a bit ... catch everyone later
[11:43:36 EST(-0500)] * colinclark (n=atrcwrk2@128.189.218.164) has joined ##uportal
[12:40:36 EST(-0500)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[13:43:57 EST(-0500)] * colinclar1 (n=atrcwrk2@128.189.218.164) has joined ##uportal
[13:44:06 EST(-0500)] * colinclar1 (n=atrcwrk2@128.189.218.164) has left ##uportal
[16:19:27 EST(-0500)] * colinclark (n=atrcwrk2@128.189.218.164) has joined ##uportal
[16:19:36 EST(-0500)] * colinclark (n=atrcwrk2@128.189.218.164) has left ##uportal
[17:16:35 EST(-0500)] * colinclar1 (n=atrcwrk2@128.189.218.164) has joined ##uportal
[17:16:50 EST(-0500)] * colinclar1 (n=atrcwrk2@128.189.218.164) has left ##uportal
[18:46:51 EST(-0500)] * colinclark (n=atrcwrk2@128.189.218.164) has joined ##uportal
[19:06:39 EST(-0500)] * awills (n=awills@uni1.unicon.net) has left ##uportal
[19:18:58 EST(-0500)] * colinclar1 (n=atrcwrk2@128.189.218.164) has joined ##uportal