Daily Log for #alfresco IRC Channel

Alfresco discussion and collaboration. Stick around a few hours after asking a question.

Official support for Enterprise subscribers: support.alfresco.com.

Joining the Channel:

Join in the conversation by getting an IRC client and connecting to #alfresco at Freenode. Our you can use the IRC web chat.

More information about the channel is in the wiki.

Getting Help

More help is available in this list of resources.

Daily Log for #alfresco

2017-09-12 06:26:36 GMT <twen> good morning

2017-09-12 06:48:01 GMT <yreg> Morning !

2017-09-12 07:16:43 GMT <yreg> ~later tell afaust well 2007-2017 that's 1/3 milestone of a work life already :D

2017-09-12 07:16:43 GMT <alfbot> yreg: The operation succeeded.

2017-09-12 07:58:26 GMT <alfbot> AFaust: Sent 41 minutes ago: <yreg> well 2007-2017 that's 1/3 milestone of a work life already :D

2017-09-12 07:59:02 GMT <AFaust> yreg: I don't know what you assume the retirement age to be...

2017-09-12 07:59:59 GMT <MarkTielemans> AFaust: maybe he stayed in school until 37

2017-09-12 08:02:31 GMT <AFaust> MarkTielemans: Well, I certainly have never discussed his age with him if I remember correctly...

2017-09-12 08:07:56 GMT <yreg> AFaust, AFAIK a typical work life is 30-35 years depending on sector but it can be more or less depending on several other variables !

2017-09-12 08:10:32 GMT <AFaust> If I started at 35 then yes, a work life of 35 years would be possible...

2017-09-12 08:10:58 GMT <AFaust> Otherwise 45 years is more realistic...

2017-09-12 08:11:41 GMT <AFaust> Of course in sectors that are more taxing on your physical condition (e.g. mining, steel works, construction etc.) then it is a different matter altogether...

2017-09-12 08:13:34 GMT <AFaust> And of course if you can afford it you can of course stop earlier than the default retirement age set by laws...

2017-09-12 08:14:00 GMT <MarkTielemans> That'd be nice.

2017-09-12 08:30:18 GMT <yreg> AFaust, AFaust that should depend on the laws indeed ... I guess I come from a pretty different background where even life expectancy is not the same

2017-09-12 08:30:31 GMT <yreg> so that should explain it

2017-09-12 09:13:54 GMT <AxelFaust> Argh - just when I complained about the lack of feedback on my GitHub PR on an Alfresco project in an email last night, someone actually went ahead and merged it this morning. (Before anyone can ask: I did not complain to anyone at Alfresco about it in that mail.)

2017-09-12 09:45:22 GMT <hiten> Hi Guys

2017-09-12 09:47:06 GMT <hiten> I am implementing a custom metadata in which I am fetching folder size and no of files in the folder through Ajax call to a custom webscript

2017-09-12 09:48:27 GMT <hiten> the call is working fine and I am able to get the json data in the response object but I am not able to figure out a way to get that data in my custom variables due to asynchronous nature of the Ajax call

2017-09-12 09:50:11 GMT <hiten> here is the java script https://pastebin.com/tecaR3vG

2017-09-12 09:50:12 GMT <alfbot> Title: custom_metadata_js - Pastebin.com (at pastebin.com)

2017-09-12 09:51:22 GMT <hiten> and the custom metadata tag https://pastebin.com/7eF1kACc

2017-09-12 09:51:23 GMT <alfbot> Title: custom_metadata_config - Pastebin.com (at pastebin.com)

2017-09-12 09:52:34 GMT <hiten> I am trying to find examples in share code but not successful so far

2017-09-12 09:58:02 GMT <yreg> AFaust, look at the bright side, your PR was actually merged !

2017-09-12 09:58:52 GMT <yreg> did you have to sign a ton of documents or was it a smooth process?

2017-09-12 10:14:30 GMT <MarkTielemans> hiten, you can't return your variable in that function because as you said you have to work with callbacks due to the call being asynchronous. You could pass a javascript method as a callback parameter to this function or lookup whatever DOM element you need and fill it with html from your custom function, depending on what exactly you are trying to do.

2017-09-12 10:15:13 GMT <MarkTielemans> In any case, this is more of a general Javascript question than an Alfresco question. You should be able to find plenty of information about this on the internet. A random hit: http://javascriptissexy.com/understand-javascript-callback-functions-and-use-them/.

2017-09-12 10:15:14 GMT <alfbot> Title: Understand JavaScript Callback Functions and Use Them | JavaScript is Sexy (at javascriptissexy.com)

2017-09-12 10:24:44 GMT <Sumit> Hi, I need to get a list of users who have logged in duration of last 30 days

2017-09-12 10:25:22 GMT <Sumit> what is the table in alfresco store the user's login timinigs?

2017-09-12 10:25:32 GMT <Sumit> any idea plz...?

2017-09-12 10:32:42 GMT <yreg> Summit You will probably need to enable auditing + make sure that you only audit what you need

2017-09-12 10:32:57 GMT <yreg> in order to avoid having your DB size explode

2017-09-12 10:35:46 GMT <AxelFaust> yreg: It was a "smooth" process of waiting ~22 days without any direct feedback and then being surprised by the merge...

2017-09-12 10:36:17 GMT <MarkTielemans> 22 days must be a record. Right?

2017-09-12 10:37:07 GMT <AxelFaust> Sumit: So what yreg is saying that there is no such table by default in Alfresco. If you want to use it, I have an addon that adds login auditing (and also has a job to consolidate many messages into fewer records): https://github.com/Acosix/alfresco-audit

2017-09-12 10:37:08 GMT <alfbot> Title: GitHub - Acosix/alfresco-audit: Addon to add audit-related utilities and/or common definitions (at github.com)

2017-09-12 10:57:48 GMT <Sumit> Ok @yreg and @AxelFaust

2017-09-12 10:59:19 GMT <yreg> resplin, finally got some time to submit https://github.com/Alfresco/share/pull/2/commits/9b89fdbe72f0d6ba7ae24d396fa246ce9c2c498c

2017-09-12 10:59:20 GMT <alfbot> Title: MNT-17527 Add support for annotation layer by yregaieg · Pull Request #2 · Alfresco/share · GitHub (at github.com)

2017-09-12 11:00:12 GMT <Sumit> So is this mean that alfresco don't store login times? After enable auditing what is the table store these values?

2017-09-12 11:01:26 GMT <Sumit> @AxelFaust Yes I am going to test add-on you suggested.

2017-09-12 11:04:56 GMT <AxelFaust> Sumit: The data will be stored in various alf_prop_* tables in the schema. It is heavily normalised, so there is no single table that holds all the data

2017-09-12 11:05:29 GMT <AxelFaust> ... also alf_audit_entries table (as the top level entry point into the audit data structure)

2017-09-12 11:06:39 GMT <AxelFaust> In that audit addon there is also a web script to retrieve a CSV / JSON of active users within a specific time frame, so you don't have to go to the DB yourself

2017-09-12 11:07:44 GMT <Sumit> Ok.

2017-09-12 11:08:42 GMT <Sumit> Thanks AFaust

2017-09-12 12:58:08 GMT <resplin> yreg: I added a comment to MNT-17527. Thank you for sharing that.

2017-09-12 13:02:24 GMT <MTielemans> Is there any news on what direction Alfresco is going to take towards SMB 4 support?

2017-09-12 13:10:44 GMT <fcorti> Is resplin connected? He is probably the best person to answer to this question. ;-)

2017-09-12 13:17:03 GMT <AxelFaust> MTielemans: SMB 4? Wow - I'd be glad to see SMB 2/3 in my lifetime...

2017-09-12 13:17:48 GMT <AxelFaust> Have you read the long thread in community platform? https://community.alfresco.com/message/816462-smb2-smb3-server-support

2017-09-12 13:17:51 GMT <alfbot> Title: SMB2 / SMB3 server support | Alfresco Community (at community.alfresco.com)

2017-09-12 13:19:00 GMT <AxelFaust> One key excerpt from that which could be meant to speak directly to MTielemans: "It would be great to see someone implement a Samba 4 back-end for Alfresco proof-of-concept that we could use as a starting point for our efforts. Any volunteers?

2017-09-12 13:19:00 GMT <AxelFaust> "

2017-09-12 13:19:16 GMT <AxelFaust> Though I know you already have a different project idea for the global hackathon...

2017-09-12 13:20:26 GMT <AxelFaust> Last I remember (and resplin will correct me if I am wrong) he was looking at options to have SMB 3 support as a potential Enterprise module / feature...

2017-09-12 13:21:30 GMT <AxelFaust> Based on the general rule of thumb: If it is only relevant for a small percentage of customers (or presents a significant investment) it is likely an Enterprise feature

2017-09-12 13:22:09 GMT <AxelFaust> Majority of use cases can be covered by mounting WebDAV / AOS

2017-09-12 13:23:20 GMT <AxelFaust> ...supposedly.

2017-09-12 13:51:56 GMT <MTielemans> Haha, yeah I read the forum thread. I'm inclined to help out but have no prior experience writing a server side for SMB. It'd take some serious deep diving..

2017-09-12 13:52:39 GMT <MTielemans> And yes that often seems the way Alfresco goes, when a small percentage of users really want a complex feature. Which is understandable up to a point of course.

2017-09-12 13:55:10 GMT <MTielemans> I'm one of those convinced WebDAV/AOS isn't or at least isn't going to be perceived by customers as a good alternative. For reasons mostly outlined already in that thread you linked

2017-09-12 14:14:48 GMT <alfbot> david_____: Sent 5 days, 20 hours, and 7 minutes ago: <douglascrp_> https://github.com/ITDSystems/alvex-inform-policy-extension

2017-09-12 14:16:49 GMT <david_____> greetings! I have set Solr6 up but it's having some trouble talking with Alfresco, and Search returns no documents in the Repository. The error is: "Tracking failed. SOLR has successfully connected to your repository however the SOLR indexes and repository database do not match. ..."

2017-09-12 14:17:27 GMT <david_____> btw, douglascrp_, thanks for the link!

2017-09-12 14:35:36 GMT <AFaust> david_____: Have you tried stopping SOLR, deleting the indexes and starting up again? It looks like you simply have an existing index that is inconsistent with the Repository data...

2017-09-12 14:56:51 GMT <MTielemans> I have a 5.2.1 repository which doesn't start due to JMX-configured params in the DB. Do I have any hope of changing those params by plugging into the DB directly? I've seen the keys in the ALF_PROP_STRING_VALUE table but I can't see a way to match keys and values.

2017-09-12 14:58:11 GMT <AFaust> You can technically clean them up, but it can be quite complex to backtrace to the alf_prop_unique_ctxt and alf_prop_root entries that are the entry points AFAIK

2017-09-12 14:59:19 GMT <AFaust> The alf_prop_string_value is linked to the alf_prop_value (via a combination of specific persisted type and long value)

2017-09-12 15:01:23 GMT <MTielemans> Hmm, thanks. That helps, I'll see if I can make sense of it. At least I know I'm looking in the right place

2017-09-12 15:01:56 GMT <AFaust> the alf_prop_value table is linked to alf_prop_link, alf_prop_unique_ctxt, alf_audit_app and alf_audit_entry tables

2017-09-12 15:03:57 GMT <AFaust> The table alf_prop_unique_ctxt has 3 "value" columns and one "prop" column - the "value" ones are actually the keys you use in the AttributeService, and the "prop" is the value.

2017-09-12 15:04:50 GMT <AFaust> So you should be able to create a select with 3+3 joins to resolve the keys ("value") for attributes and use that to find the alf_prop_unique_ctxt you have to delete to remove JMX settings

2017-09-12 15:06:11 GMT <AFaust> An external "AttributeService" inspection / management tool would probably be a neat little helper here, so not everyone has to scour the database structure for clues...

2017-09-12 15:08:19 GMT <MTielemans> Haha, awesome. This should get me there. Thanks a lot.

2017-09-12 15:08:47 GMT <MTielemans> Yeah I'm not big on the system having this 'database always wins' for configuration params.

2017-09-12 15:10:29 GMT <MTielemans> and value=key while prop=value is of course great logic as well :')

2017-09-12 15:20:42 GMT <AFaust> MTielemans: If might have seen my project idea for runtime reconfiguration of Community Edition (similar to the JMX based on in Enterprise). I'd like to do persistence via dynamically generated properties files instead of the DB. That way it would be far easier to recover / change them. Of course that would only work for single instance systems - a cluster might need a different solution, but then again you could put such runtime configuration in a cache

2017-09-12 15:20:42 GMT <AFaust> and distribute it across the cluster instead of using the DB at all (each server could persist to properties file on its own)

2017-09-12 15:22:07 GMT <AFaust> And the first server to start up in a cluster would initialise the cache with its persisted configuration

2017-09-12 15:22:50 GMT <AFaust> "If might have seen" => "You might have seen"

2017-09-12 15:23:33 GMT <MTielemans> I haven't, but I'm very interested. I know something similar has been on the OOTB support tools backlog. Have a link?

2017-09-12 15:25:26 GMT <AFaust> Actually no issue for that on the backlog at OOTBee Support Tools, only listed as https://community.alfresco.com/docs/DOC-7046-projects-and-teams-global-virtual-hack-a-thon-2017#jive_content_id_Persistent_runtime_subsystem_configuration_OOTBee_Support_Tools

2017-09-12 15:25:28 GMT <alfbot> Title: Projects and Teams Global Virtual Hack-a-thon 2017 | Alfresco Community (at community.alfresco.com)

2017-09-12 15:26:24 GMT <AFaust> Though https://github.com/OrderOfTheBee/ootbee-support-tools/issues/32 comes close to it

2017-09-12 15:26:25 GMT <alfbot> Title: Add enterprise-only tool that allows for exporting JMX settings in the form of alfresco-global.properties entries · Issue #32 · OrderOfTheBee/ootbee-support-tools · GitHub (at github.com)

2017-09-12 15:27:25 GMT <AFaust> In the comments I mention a JMX-independent tooling for runtime configuration changes and export/persistence as properties

2017-09-12 15:28:04 GMT <MTielemans> Yep, that's the one I meant. And I think there's also an issue for making the viewed JMX values in support tools editable. But I suppose having the Alfresco repo running for that might make it easier.

2017-09-12 15:31:09 GMT <AFaust> Quite a bit easier, yes, as all tools are based on web scripts...

2017-09-12 15:34:16 GMT <AFaust> MTielemans: Since you are talking about 5.2.1, can you confirm an issue for me: The official Support Tools addons is supposed to be integrated with 5.2 Enterprise, but I get an error when the jmxLogger is to be instantiated. Do you have that as well?

2017-09-12 15:36:01 GMT <MTielemans> Can confirm. Tried adding a definition in the log4j for it but that didn't resolve it.

2017-09-12 15:36:02 GMT <AFaust> I have found the web script files for Support Tools in the alfresco-enterprise-remote-api JAR, but cannot find the class for the JMX appender...

2017-09-12 15:36:26 GMT <AFaust> Ah - so of course they messed up merging in a contribution from one of their own people...

2017-09-12 15:37:39 GMT <AFaust> Ok - so they seem to have added this bug as part of a bug fix: https://issues.alfresco.com/jira/browse/MNT-17640

2017-09-12 15:38:25 GMT <AFaust> ...and https://issues.alfresco.com/jira/browse/REPO-2596

2017-09-12 15:38:40 GMT <AFaust> So maybe in 5.2.2 it will work properly

2017-09-12 15:40:37 GMT <MTielemans> Classic.

2017-09-12 15:40:53 GMT <AFaust> Wait...

2017-09-12 15:41:13 GMT <AFaust> I am getting the error on my SOLR instance, not on Repository (though I still can't find the class)

2017-09-12 15:41:33 GMT <AFaust> Why would it try to load the JMX logger on SOLR if it is not configured in my log4j-solr.properties?

2017-09-12 15:42:03 GMT <AFaust> I guess they included the Enterprise log4j.properties as a default in alfresco-data-model JAR, which is also bundled in SOLR 4

2017-09-12 15:43:32 GMT <AFaust> Ah - it is packaged in alfresco-core JAR, which is loaded in SOLR 4 AND Share.

2017-09-12 15:43:50 GMT <AFaust> Share is just using a way older version of the JAR where it did not include the jmxLogger config

2017-09-12 15:43:57 GMT <AFaust> Otherwise Share would have been affected too

2017-09-12 15:44:47 GMT <AFaust> resplin: Is there any qualified dependency / build manager in the hiring pipeline now that Samuel left / is leaving? Looks like such a person is sorely needed...

2017-09-12 15:46:19 GMT <MTielemans> Hmm. Weird thing is I'm seeing this error in enterprise. That appender class is still missing.

2017-09-12 15:46:40 GMT <AFaust> I actually found it just now

2017-09-12 15:47:03 GMT <AFaust> The Repository WAR should contain a jmxlogger-log4j-0.1.0-AlfrescoPatched.jar

2017-09-12 15:47:16 GMT <AFaust> This contains the class

2017-09-12 15:47:56 GMT <MTielemans> Huh, that's weird.

2017-09-12 15:48:44 GMT <AFaust> I copied into my SOLR 4 webapp to shut up the error message

2017-09-12 15:49:07 GMT <AFaust> Do you have SOLR running in the same Tomcat as Repository?

2017-09-12 15:49:20 GMT <MTielemans> I do

2017-09-12 15:49:25 GMT <MTielemans> Where'd you find the jar?

2017-09-12 15:49:30 GMT <AFaust> Ok, then you are seeing the error of SOLR, not from the Repository...

2017-09-12 15:49:43 GMT <AFaust> In webapps/alfresco/WEB-INF/lib/

2017-09-12 15:50:41 GMT <AFaust> And copied it into webapps/solr4/WEB-INF/lib/ on my SOLR Tomcat instance (best practice: Always separate out your web application in distinct Tomcat instances)

2017-09-12 15:50:43 GMT <MTielemans> oh, so you mean the SOLR war is missing the lib??

2017-09-12 15:51:04 GMT <AFaust> Well, it is missing the lib only because it should not have that Log4J config setting

2017-09-12 15:51:10 GMT <MTielemans> yeah I know, the choice isn't up to me here ;)

2017-09-12 15:51:33 GMT <MTielemans> the log4j settings got merged in from support tools then?

2017-09-12 15:52:12 GMT <AFaust> Sort of - they merged it into multiple sub-projects. Some is merged into remote-api, some into core...

2017-09-12 15:53:16 GMT <AFaust> Ugh - I really don't want to go the damn Support hoops just to have that filed as an issue...

2017-09-12 15:54:05 GMT <MTielemans> Right. You'd think that merged code would still use it's corresponding log4j configuration

2017-09-12 15:55:42 GMT <AFaust> Well, the way that the JMX logger was hooked in previously as part of the addon (as a module log4j.properties) was quite dirty, so they could not keep using that.

2017-09-12 16:06:55 GMT <AFaust> Great... something is now bugged with the Admin Tools page / Surf caches in such a way that my fix / workaround for https://issues.alfresco.com/jira/browse/ALF-9970

2017-09-12 16:07:02 GMT <AFaust> no longer works...

2017-09-12 17:07:53 GMT <resplin> AFaust: Samuel hired Nebil last year, and Nebil is really good.

2017-09-12 17:08:01 GMT <resplin> But Nebil likes to keep to himself.

2017-09-12 17:08:30 GMT <resplin> I should say that Nebil likes to stay in the background. He isn't as public as Samuel was.

2017-09-12 17:09:10 GMT <AFaust> He does not have to engage with the community, as long he is not afraid to bash around internal engineers that mess up artifact layers / dependencies...

2017-09-12 17:09:25 GMT <resplin> He doesn't have any concerns about that. grin

2017-09-12 17:10:15 GMT <AFaust> Well - he must not have bashed them around sufficiently yet, or they would not produce beginner mistakes...

2017-09-12 17:10:29 GMT <resplin> The bashing usually happens after the mistakes.

2017-09-12 17:19:06 GMT <AFaust> Then if he hasn't done so after the 5.2.1 release, he may start a new round of flogging tomorrow...

2017-09-12 17:19:42 GMT * AFaust is heading for the train - will be back in 1 hour-ish...

2017-09-12 19:31:41 GMT <douglascrp> AFaust, hello

2017-09-12 19:32:09 GMT <douglascrp> as you are the only one online now that has worked on js-console, here is something I wish you could take a quick look at

2017-09-12 19:32:10 GMT <douglascrp> https://github.com/share-extras/js-console/issues/78

2017-09-12 19:32:11 GMT <alfbot> Title: Error when trying to dump the auditing information from repository in Alfresco 5.2 · Issue #78 · share-extras/js-console · GitHub (at github.com)

2017-09-12 20:10:50 GMT <douglascrp> AFaust, I have "fixed" that

2017-09-12 20:17:47 GMT <AFaust> Good, I was watching Friends for the umpteenth time and only now got back to look at IRC

2017-09-12 20:18:01 GMT <douglascrp> :D

2017-09-12 20:18:06 GMT <douglascrp> Friends, the sitcom?

2017-09-12 20:18:09 GMT <douglascrp> that is awesome

2017-09-12 20:18:23 GMT <AFaust> Yeah...

2017-09-12 20:18:57 GMT <AFaust> Problem is, I watched almost everything on Netflix and Amazon Prime that is free to watch, so from time to time I have to go through the classics again...

2017-09-12 20:19:32 GMT <douglascrp> when something is good, there is no problem to watch it again

2017-09-12 20:19:56 GMT <AFaust> Regarding the dump feature, that is one of the features that I honestly don't like existing... It's such an ugly hack / tool...

2017-09-12 20:20:24 GMT <douglascrp> I didn't even know about that one

2017-09-12 20:20:41 GMT <douglascrp> I got to know about it just because it caused me that problem

2017-09-12 20:20:46 GMT <AFaust> I believe I removed it in the custom build of js-console that I have used locally

2017-09-12 20:20:51 GMT <douglascrp> I use javascript console since "always", and I never saw that

2017-09-12 20:21:12 GMT <AFaust> Jens Goldhammer added that feature about 2.5 years ago I believe

2017-09-12 20:21:24 GMT <douglascrp> this is one of the most used addons, and even that, it seems like dead

2017-09-12 20:21:30 GMT <douglascrp> or messy, I don't know

2017-09-12 20:21:40 GMT <AFaust> Well, it has always been messy...

2017-09-12 20:21:40 GMT <douglascrp> so much forks, with different versions, features

2017-09-12 20:21:51 GMT <AFaust> It was a hacked tool that has grown over time.

2017-09-12 20:21:54 GMT <douglascrp> so *many

2017-09-12 20:22:17 GMT <douglascrp> well, one more good thing to work on hackathon :P

2017-09-12 20:22:39 GMT <douglascrp> maybe use that day to put all the good things in place, and release a new version

2017-09-12 20:22:50 GMT <AFaust> And as far as I know, Jens and Florian are barely doing anything relating to Alfresco at the moment, so they don't spend any attention to it if they don't have to

2017-09-12 20:23:25 GMT <douglascrp> AFaust, indeed

2017-09-12 20:23:25 GMT <AFaust> I still have my "move JS Console to Aikau" branch in my local fork, but never got around to really finish it up...

2017-09-12 20:23:39 GMT <douglascrp> how about asking them to give the addon to the OOTB?

2017-09-12 20:23:55 GMT <douglascrp> AFaust, do you think it is worth? moving to aikau?

2017-09-12 20:24:12 GMT <douglascrp> as it is left by alfresco, and share seems not to be evolving too much anymore?

2017-09-12 20:24:18 GMT <AFaust> Well, would you know members of the OOTBee that would be willing to commit to maintaining it? And not just willing, but actually doing the work required?

2017-09-12 20:24:40 GMT <douglascrp> AFaust, well, at least we would have the permission to merge the PRs

2017-09-12 20:25:11 GMT <douglascrp> right now, the fork they are "maintaining" has PR that has not even been merged

2017-09-12 20:25:35 GMT <AFaust> Well, what is the option / choice? Aiikau is what we have as the most modern UI platform on Share. I am sure as hell not going to create something on ADF - that would be a pure waste of time and my sanity

2017-09-12 20:26:08 GMT <douglascrp> that is something I still want to test

2017-09-12 20:26:21 GMT <AFaust> And the reason I did my Aikau-based branch is because I needed to do some major refactorings for the JS Console to support my Nashorn project...

2017-09-12 20:26:31 GMT <douglascrp> ah, got it

2017-09-12 20:27:28 GMT <AFaust> I started again to put a bit of time into that Nashorn project earlier this summer, since JDK 9 early access builds are now quite stable.

2017-09-12 20:27:47 GMT <douglascrp> that is something I am not following

2017-09-12 20:28:06 GMT <AFaust> And doing what another round of "building from the ground up" based on the lessons from last year.

2017-09-12 20:28:21 GMT <AFaust> You wouldn't see much in the GitHub repo at this moment.

2017-09-12 20:28:28 GMT <douglascrp> I was watching your session on the enhanced javascript project

2017-09-12 20:28:36 GMT <douglascrp> from 2014, if I am not wrong

2017-09-12 20:29:01 GMT <AFaust> Since I am currently doing a complete revamp of the core module system, everything is broken up at the moment in my local system and I am piecing it back together

2017-09-12 20:29:28 GMT <AFaust> Yeah - 2014 I did the Lightning Talk about my first experiments with Nashorn in Alfresco

2017-09-12 20:29:45 GMT <douglascrp> interesting stuff

2017-09-12 20:29:59 GMT <AFaust> Trying to have the current script API run within Nashorn in an attempt to avoid re-implementing the entire engine...

2017-09-12 20:30:09 GMT <douglascrp> you started by saying "my name is alfresco"

2017-09-12 20:30:11 GMT <douglascrp> :D

2017-09-12 20:30:49 GMT <AFaust> Right, I only noticed that when the recordings went online. No one told me I made that mistake at the day of the conference...

2017-09-12 20:30:59 GMT <douglascrp> I guess so

2017-09-12 20:30:59 GMT <AFaust> Or everyone just assumed I was serious - who knows?

2017-09-12 20:31:14 GMT <douglascrp> that happens

2017-09-12 20:32:01 GMT <douglascrp> AFaust => "Alfresco" Faust

2017-09-12 20:32:41 GMT <douglascrp> but I liked the idea of publishing the batch processing part as js root objects

2017-09-12 20:32:45 GMT <douglascrp> that is really useful

2017-09-12 20:32:51 GMT <AFaust> Wait a second - that Lightning Talk was not the session where I made that mistake - must have been some other session.

2017-09-12 20:32:55 GMT <AFaust> Just checked the recording

2017-09-12 20:33:10 GMT <douglascrp> it was devcon, if I am not wrong

2017-09-12 20:33:45 GMT <AFaust> Well, 2014 was Summit. The only DevCon where I had a talk was the one in Berlin 2012

2017-09-12 20:33:50 GMT <douglascrp> https://www.youtube.com/watch?v=nGwix35kuqc

2017-09-12 20:33:53 GMT <douglascrp> 2013

2017-09-12 20:34:10 GMT <AFaust> Ah - so it was already a DevCon

2017-09-12 20:34:16 GMT <AFaust> I mean a SUmmit

2017-09-12 20:34:26 GMT <AFaust> And I at least corrected myself...

2017-09-12 20:35:07 GMT <AFaust> And the thing about the script imports is the basically the core module system that I am reworking (again) now.

2017-09-12 20:35:44 GMT <douglascrp> yes

2017-09-12 20:35:51 GMT <douglascrp> the import is cool too

2017-09-12 20:36:07 GMT <douglascrp> the <> way is bad, really bad

2017-09-12 20:36:10 GMT <AFaust> See https://github.com/AFaust/alfresco-nashorn-script-engine/tree/master/repository#defining-a-module for the state of last year where I had a full AMD system up and running.

2017-09-12 20:36:11 GMT <alfbot> Title: alfresco-nashorn-script-engine/repository at master · AFaust/alfresco-nashorn-script-engine · GitHub (at github.com)

2017-09-12 20:36:48 GMT <douglascrp> yes, I know that one

2017-09-12 20:37:11 GMT <douglascrp> actually, I tried to put it in place to test, but as always, another project forced me to let it go

2017-09-12 20:37:18 GMT <douglascrp> this is not a new thing, right?

2017-09-12 20:37:30 GMT <douglascrp> more than an year if I am not wrong

2017-09-12 20:38:42 GMT <AFaust> Well - the new thing will look almost the same.

2017-09-12 20:39:06 GMT <AFaust> Basically, I had implemented that module system almost 100% in JavaScript.

2017-09-12 20:39:12 GMT <douglascrp> cool

2017-09-12 20:39:36 GMT <AFaust> That turned out to have some noticeable performance issues.

2017-09-12 20:39:59 GMT <douglascrp> I wish I had more time to work on all the interesting projects out there

2017-09-12 20:40:01 GMT <AFaust> One goal of mine is to have performance that is same or better than Rhino (obviously I prefer better)

2017-09-12 20:40:24 GMT <douglascrp> but as I work alone, with lots of projects on my lap (fortunately), I have to focus to get things delivered

2017-09-12 20:40:41 GMT <AFaust> And when I implemented the first modules to provide the script API components (like ScriptNode) it turned out not to be as fast as I required

2017-09-12 20:41:05 GMT <douglascrp> then I only really do anything for community projects when I face the problem and when I need to get it fixed

2017-09-12 20:41:06 GMT <AFaust> Now I am reworking the same module system in a way that most of the core is implemented in Java, but in a way that is completely transparent to scripts.

2017-09-12 20:41:22 GMT <AFaust> Well - I also work alone since starting my business last year.

2017-09-12 20:41:31 GMT <douglascrp> but you do magic

2017-09-12 20:41:32 GMT <douglascrp> :D

2017-09-12 20:41:37 GMT <douglascrp> I don't know how, but you do

2017-09-12 20:41:44 GMT <AFaust> But I obviously don't know the concept of work-life balance...

2017-09-12 20:41:46 GMT <douglascrp> I am not as productive as you

2017-09-12 20:41:58 GMT <douglascrp> well, that only you can judge...

2017-09-12 20:42:23 GMT <douglascrp> I am trying to improve that part, as I work from home

2017-09-12 20:42:33 GMT <AFaust> If only you knew how unproductive I can be... Compare myself today with myself from 3-4 years ago, you should see noticeable differences

2017-09-12 20:42:52 GMT <douglascrp> \o/

2017-09-12 20:42:59 GMT <AFaust> Working on that community-sourced video has been annoying recently.

2017-09-12 20:43:33 GMT <douglascrp> I know the feeling

2017-09-12 20:43:42 GMT <douglascrp> ok, I am going to make a pause now

2017-09-12 20:43:58 GMT <douglascrp> I wish someone can accept and merge my PR

2017-09-12 23:49:54 GMT *** alfbot` is now known as alfbot

End of Daily Log

The other logs are at http://esplins.org/hash_alfresco