[07:35:09 CDT(-0500)] <brandon> hello
[07:35:33 CDT(-0500)] <brandon> does anybody know where i can get this mail portlet? https://wiki.jasig.org/display/PLT/Mail+Portlet
[07:35:47 CDT(-0500)] <brandon> it looks like the repo is down
[07:36:40 CDT(-0500)] <Arvids> you can try to build it from source
[07:37:17 CDT(-0500)] <brandon> where would i get the source from?
[07:38:00 CDT(-0500)] <Arvids> try this: https://source.jasig.org/sandbox/MailPortlet/tags/rel-2.0.0-alpha-7/
[07:39:24 CDT(-0500)] <brandon> thanks
[09:30:02 CDT(-0500)] <Arvids> Looks like I can finally translate tab titles
[09:30:46 CDT(-0500)] <Arvids> But that's a patch that I would like to submit through git when we'll have infrastructure set up
[09:31:14 CDT(-0500)] <EricDalquist> sounds good
[09:31:20 CDT(-0500)] <EricDalquist> that should be ready to go Friday for you
[09:31:41 CDT(-0500)] <Arvids> nice
[09:31:58 CDT(-0500)] <EricDalquist> I think I have everything setup to do the switch Thursday
[09:32:48 CDT(-0500)] <Arvids> Regarding current implementation - it's just like we talked: default tab titles serve as message keys
[09:33:06 CDT(-0500)] <Arvids> but I'm thinking - how's about cache usage?
[09:33:21 CDT(-0500)] <EricDalquist> like the rendering cache?
[09:33:29 CDT(-0500)] <Arvids> hibernate cache
[09:33:41 CDT(-0500)] <Arvids> i.e. if message source is database
[09:33:44 CDT(-0500)] <EricDalquist> ah
[09:34:03 CDT(-0500)] <EricDalquist> I think when I reviewed the JPA DAO impl I made sure caching was setup correctly
[09:34:05 CDT(-0500)] <Arvids> for heavy-duty portals it might swallow a lot of memory
[09:34:17 CDT(-0500)] <EricDalquist> I doubt that
[09:34:35 CDT(-0500)] <Arvids> consider the cases that users define their tab names as they wish...
[09:34:42 CDT(-0500)] <EricDalquist> yup
[09:34:47 CDT(-0500)] <EricDalquist> so lets say you're a huge install
[09:34:48 CDT(-0500)] <Arvids> ok, it won't be a problem for my isnitution, but pearson...
[09:34:49 CDT(-0500)] <EricDalquist> like pearson
[09:34:55 CDT(-0500)] <Arvids> that's what i meant
[09:35:04 CDT(-0500)] <EricDalquist> with 5 million users
[09:35:25 CDT(-0500)] <EricDalquist> lets say that they are all crazy active and have ~ 5k active users/server
[09:35:34 CDT(-0500)] <EricDalquist> and every user has 5 custom tabs
[09:35:42 CDT(-0500)] <Arvids> my current implementation checks whether tab is derived from layout owner - that should reduce the cache usage a lot, but still...
[09:35:48 CDT(-0500)] <EricDalquist> so that's 25k strings
[09:36:00 CDT(-0500)] <EricDalquist> likely they will be less than 50 characters
[09:36:09 CDT(-0500)] <Arvids> ahh.. doesn't sound too bad
[09:36:39 CDT(-0500)] <EricDalquist> if we assume Java uses 4 bytes/char in memory (I have no idea what it actually does)
[09:36:42 CDT(-0500)] <EricDalquist> that would be 4.768371582MB
[09:36:54 CDT(-0500)] <EricDalquist> trivial
[09:37:04 CDT(-0500)] <Arvids> ... and thats one of the worst-case scenarios
[09:37:04 CDT(-0500)] <EricDalquist> what I'm really looking forward to is Ehcache 2.5
[09:37:17 CDT(-0500)] <EricDalquist> that introduces % of heap based cache sizing
[09:37:35 CDT(-0500)] <EricDalquist> I'm working with one of the terracotta engineers to figure out how best to configure uPortal's ehcache.xml
[09:37:42 CDT(-0500)] <Arvids> per-cache region or cache as a whole?
[09:37:45 CDT(-0500)] <EricDalquist> both
[09:37:55 CDT(-0500)] <Arvids> interesting
[09:37:57 CDT(-0500)] <EricDalquist> but the end result should be that when Ehcache 2.5 comes out we have a cache config that needs little to no tuning
[09:38:09 CDT(-0500)] <EricDalquist> it would auto-size caches based on the available heap
[09:38:56 CDT(-0500)] <EricDalquist> and as we move forward the only places in uPortal that actually have hard refs to data are request attributes, session attributes and ehcache
[09:39:20 CDT(-0500)] <EricDalquist> and even more so the goal is that the session only holds identifiers which are used to grab data from ehcache
[09:39:26 CDT(-0500)] <EricDalquist> makes managing heap much easier
[09:39:36 CDT(-0500)] <Arvids> indeed
[09:39:44 CDT(-0500)] <Arvids> https://gist.github.com/1292748
[09:40:04 CDT(-0500)] <Arvids> this diff enables tab name translation
[09:40:42 CDT(-0500)] <EricDalquist> nice
[09:40:55 CDT(-0500)] <EricDalquist> I love it when such a little patch adds such a nice feature
[09:42:14 CDT(-0500)] <Arvids> It could've been even less, but I implemented custom message helper in order to reduce the pressure on message sources
[09:43:11 CDT(-0500)] <EricDalquist>
[09:44:04 CDT(-0500)] <Arvids> ... or should I commit it already? Does the code looks ok?
[09:44:10 CDT(-0500)] <EricDalquist> yea
[09:44:13 CDT(-0500)] <EricDalquist> it looks good
[09:44:27 CDT(-0500)] <EricDalquist> I'm also trying to take a look at the translation portlet this week too
[09:44:37 CDT(-0500)] <Arvids> ok, I'll do some final usability tests tomorrow and commit the changes
[09:45:13 CDT(-0500)] <EricDalquist> great
[10:31:42 CDT(-0500)] <brandon> hello
[10:31:51 CDT(-0500)] <EricDalquist> hello
[10:31:59 CDT(-0500)] <brandon> does anyone have any experience using this mail portlet: https://wiki.jasig.org/display/PLT/Mail+Portlet ?
[10:32:54 CDT(-0500)] <EricDalquist> I have not
[10:33:27 CDT(-0500)] <brandon> hmm
[10:33:32 CDT(-0500)] <brandon> what about this one: https://wiki.jasig.org/display/PLT/Email+Preview+Portlet ?
[10:34:01 CDT(-0500)] <EricDalquist> we don't use any of them, we sadly have a iframe to a little widget provided by our mail team
[10:34:16 CDT(-0500)] <brandon> oh
[10:34:19 CDT(-0500)] <EricDalquist> because we have no way to have a portlet access people's email right now due to password/account requirements
[10:34:39 CDT(-0500)] <brandon> how difficult would it be to implement CAS SSO with the email preview portlet?
[10:34:52 CDT(-0500)] <brandon> is there a standard way to "casify" a portlet?
[10:35:16 CDT(-0500)] <brandon> and would you do it in an overlay?
[10:36:15 CDT(-0500)] <EricDalquist> I'm also not a CAS user that said others here may be more help, if not here I'm positive there are people on the uportal-user email list that have done this
[10:38:40 CDT(-0500)] <brandon> ok thanks
[10:46:27 CDT(-0500)] <athena1> brandon: is your IMAP server configured to use pamCAS?