uPortal IRC Logs-2008-07-09

[01:04:51 EDT(-0400)] * EiNZTEiN (n=einztein@65.172.10.35) has joined ##uportal
[04:55:56 EDT(-0400)] <higpetter> dstn: memory isolation?
[09:11:26 EDT(-0400)] * awills (n=awills@mtw160-5.ippl.jhu.edu) has joined ##uportal
[09:41:08 EDT(-0400)] * chrisdoyle (n=chrisdoy@mtw160-1.ippl.jhu.edu) has joined ##uportal
[09:43:27 EDT(-0400)] * chrisdoyle (n=chrisdoy@mtw160-1.ippl.jhu.edu) has joined ##uportal
[09:48:19 EDT(-0400)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[09:59:33 EDT(-0400)] * anastasiac (n=team@142.150.154.160) has joined ##uportal
[10:00:26 EDT(-0400)] <dstn> EricDalquist is back ... :-O
[10:00:36 EDT(-0400)] <EricDalquist> thanks
[10:00:54 EDT(-0400)] <EricDalquist> lots of email to catch up on
[10:01:27 EDT(-0400)] <higpetter> tables.xml - how do I specify a default value for a column?
[10:01:31 EDT(-0400)] <dstn> Ya I bet
[10:01:58 EDT(-0400)] <higpetter> like `posted` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
[10:01:58 EDT(-0400)] <EricDalquist> higpetter: I'm not sure you can, it isn't all that flexible
[10:02:38 EDT(-0400)] <higpetter> an alternative would be to let the portlet create its specific table instead...
[10:04:38 EDT(-0400)] <EricDalquist> is this for a new portlet you're working on?
[10:04:49 EDT(-0400)] <higpetter> yep
[10:05:00 EDT(-0400)] <EricDalquist> any thoughts to using JPA&Hibernate
[10:05:15 EDT(-0400)] <higpetter> yes... but time is a problem
[10:05:22 EDT(-0400)] <EricDalquist> ah
[10:05:38 EDT(-0400)] <higpetter> I just peeked at springframework/jdbc for the first time today, and now have a working portlet
[10:06:22 EDT(-0400)] <EricDalquist> cool
[10:06:26 EDT(-0400)] <higpetter> just a "news portlet" to present news from a table
[10:06:38 EDT(-0400)] <higpetter> rss you say, but then I have to provide it with a rss feed...
[10:07:05 EDT(-0400)] <higpetter> it isn't supposed to be more than a "quick-hack" to present local news at oour university
[10:07:19 EDT(-0400)] <EricDalquist> yeah, just suggesting Hibernate since we're slowly moving away from tables.xml for uPortal in favor of ORM
[10:08:05 EDT(-0400)] <higpetter> some other day, I promise! (unless you come up with something better before I have the time... not very unlikely (wink))
[10:16:24 EDT(-0400)] <higpetter> thx for the help today
[10:37:23 EDT(-0400)] * MarkRogers (n=MarkRoge@addhcp129.cc.umanitoba.ca) has joined ##uportal
[11:46:47 EDT(-0400)] * athena7 (n=athena7@128.187.215.129) has joined ##uportal
[11:47:19 EDT(-0400)] * holdorph (n=holdorph@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[11:56:05 EDT(-0400)] * bulloche (n=bulloche@134.250.4.77) has joined ##uportal
[12:28:23 EDT(-0400)] * grimesp (n=grimesp@134.250.4.177) has joined ##uportal
[13:09:53 EDT(-0400)] <athena7> hey dstn did you ever get the weather portlet ajax stuff checked in?
[13:10:09 EDT(-0400)] <dstn> negative... (sad)
[13:10:22 EDT(-0400)] <athena7> is that something i can help with?
[13:10:29 EDT(-0400)] <dstn> a bunch of high priority things have come about
[13:10:49 EDT(-0400)] <dstn> If you would like, please feel free
[13:12:27 EDT(-0400)] <athena7> sure, i'd be happy to
[13:12:34 EDT(-0400)] <athena7> and i totally know how that goes (smile)
[13:12:47 EDT(-0400)] <athena7> if you get a chance, do you just want to email me a diff or extra files or whatever makes sense?
[13:13:43 EDT(-0400)] <athena7> i'd be happy to test/merge/finish/check in
[13:13:46 EDT(-0400)] <athena7> or whatever needs doing
[13:14:19 EDT(-0400)] <dstn> Ya, I didn't get too far. Basically just the autocomplete for weather locations
[13:14:30 EDT(-0400)] <dstn> but that wasn't polished either
[13:14:58 EDT(-0400)] <dstn> the files are at home, I can commit them to a branch
[13:20:05 EDT(-0400)] <athena7> sounds good
[13:20:19 EDT(-0400)] <athena7> is it enough to justify a branch?
[13:24:02 EDT(-0400)] <dstn> Yes I think so...I was going to say create one earlier
[13:24:12 EDT(-0400)] <dstn> well...for your work at least
[13:24:55 EDT(-0400)] <dstn> or were you asking if my ajax work is enough to justify a branch?
[13:37:38 EDT(-0400)] <athena7> oh, yes
[14:42:45 EDT(-0400)] <awills> has anyone listening here implemented impersonation in uP?
[14:45:44 EDT(-0400)] <EricDalquist> I'll be done with it by the end of the week
[14:46:10 EDT(-0400)] <awills> are you loging in again? using SimpleSecurityContext?
[14:46:25 EDT(-0400)] <EricDalquist> I was on vacation for a while
[14:47:11 EDT(-0400)] <EricDalquist> brb ... JimH stopped by
[14:47:15 EDT(-0400)] <awills> yes, we noticed (wink)
[14:51:16 EDT(-0400)] <EricDalquist> so, I'm finishing up the two swapper portlets we use here
[14:51:21 EDT(-0400)] <EricDalquist> id swapper & attribute swapper
[14:51:28 EDT(-0400)] <EricDalquist> id swapper works via the login servlet
[14:51:52 EDT(-0400)] <EricDalquist> it sticks a special attribute in the portal session and then sends a 302 to the login serlvet
[14:52:45 EDT(-0400)] <EricDalquist> the servlet looks for the attribute and if there grabs the target id out of it
[14:53:06 EDT(-0400)] <awills> so the login servlet is changed to support this approach?
[14:53:24 EDT(-0400)] <EricDalquist> dumps the old session, creates a new one and sticks a special attribute with your real id in it and sends you through the normal login chain
[14:53:48 EDT(-0400)] <EricDalquist> at logout the logout servlet looks for that special attribute with your real-id and logs you back in as your original self
[14:53:51 EDT(-0400)] <EricDalquist> yeah
[14:53:58 EDT(-0400)] <EricDalquist> the login servlet changes to support it
[14:54:42 EDT(-0400)] <EricDalquist> for the attribute swapper it is a custom IPersonAttributeDao that substitutes certain attributes based on interactions with the attribute swapper portlet
[14:54:49 EDT(-0400)] <EricDalquist> and updating the IPerson to match
[16:02:45 EDT(-0400)] <MarkRogers> welcome back, EricDalquist
[16:15:28 EDT(-0400)] <EricDalquist> hi mark
[16:18:55 EDT(-0400)] * holdorph (n=holdorph@ip72-201-251-192.ph.ph.cox.net) has joined ##uportal
[16:26:09 EDT(-0400)] * EiNZTEiN (n=einztein@205.241.143.3) has joined ##uportal
[16:54:45 EDT(-0400)] <dstn> EricDalquist: You got a sec?
[16:58:24 EDT(-0400)] <EricDalquist> sure
[16:58:47 EDT(-0400)] <dstn> So this is sort of a general Maven 2 question since I know your good at it
[16:59:00 EDT(-0400)] <EricDalquist> ok
[17:00:28 EDT(-0400)] <dstn> So when you have a project in trunk and you have the version as 1.0.0-SNAPSHOT and you want to create a tag for release 1.0.0. Do you change the version to 1.0.0. in pom.xml and commit and then tag or do you change it and then tag from your local copy?
[17:01:03 EDT(-0400)] <dstn> I'm looking for the "best practice" on that
[17:01:39 EDT(-0400)] <EricDalquist> change to release version, commit, tag, change to next snapshot, commit
[17:01:42 EDT(-0400)] <EricDalquist> or
[17:01:47 EDT(-0400)] <EricDalquist> mvn release:prepare
[17:01:51 EDT(-0400)] <EricDalquist> mvn release:perform
[17:02:00 EDT(-0400)] <EricDalquist> which, if you have all the appropriate scm info in your pom
[17:02:03 EDT(-0400)] <EricDalquist> does it all for you
[17:02:06 EDT(-0400)] <EricDalquist> in that order
[17:02:17 EDT(-0400)] <EricDalquist> prompting you along the way for tag & version strings
[17:02:31 EDT(-0400)] <dstn> sweeeeet
[17:02:46 EDT(-0400)] <EricDalquist> and if you have your repository/site info setup it will deploy your artifacts and site
[17:03:16 EDT(-0400)] <EricDalquist> http://maven.apache.org/plugins/maven-release-plugin/
[17:03:36 EDT(-0400)] <dstn> I have been enlightened
[17:03:39 EDT(-0400)] <dstn> thank you
[17:03:42 EDT(-0400)] <EricDalquist> yup
[17:04:31 EDT(-0400)] * chrisdoyle (n=chrisdoy@mtw160-1.ippl.jhu.edu) has left ##uportal
[17:10:09 EDT(-0400)] * holdorph (n=holdorph@ip72-201-251-192.ph.ph.cox.net) has left ##uportal
[17:10:54 EDT(-0400)] * holdorph (n=holdorph@ip72-201-251-192.ph.ph.cox.net) has joined ##uportal
[17:20:08 EDT(-0400)] <awills> mvn release:prepare is definately slick
[17:22:12 EDT(-0400)] <EricDalquist> I just noticed there is a release:branch now too
[17:44:02 EDT(-0400)] * awills (n=awills@mtw160-5.ippl.jhu.edu) has left ##uportal
[19:11:56 EDT(-0400)] * grimesp (n=grimesp@134.250.4.177) has left ##uportal
[19:19:43 EDT(-0400)] * athena7_ (n=athena7@67.213.1.68) has joined ##uportal
[20:09:16 EDT(-0400)] * JASIGLogBot (i=jasigch@128.112.129.46) has joined ##uportal
[20:09:16 EDT(-0400)] * Topic is 'http://uportal.pastebin.com/ - http://www.ja-sig.org/wiki/display/UPC/uportal+IRC+Logs' set by EricDalquist on 2008-02-27 12:32:13 EST(-0500)
[20:09:25 EDT(-0400)] * higpetter (n=petter@130.243.6.47) has joined ##uportal
[21:37:52 EDT(-0400)] * chrisdoyle (n=chrisdoy@mtw160-1.ippl.jhu.edu) has joined ##uportal
[21:38:12 EDT(-0400)] * chrisdoyle (n=chrisdoy@mtw160-1.ippl.jhu.edu) has left ##uportal