- working queries to update obligations through 3rd year…
- fixed incorrect current month set in Query Builder
Phil 10.16.14
8:00 – 5:00 SR
- DB Backups
- MaintainJ – reverse engineered diagramming. Unfortunately, it’s $99 to license. Examine later….
- AgileJ eclipse plugin. Produces class diagrams. Update site: http://www.agilej.com/structureViews. Using that.
- Working on JavaUtils
- Generated class diagrams for all packages
- Finished PropertyLoader
- Finished SSLUtilities
- Working on javaUtils.database
- Finished DbHelper
- Finished DbTable
- Finished DbTypedTable
- Not sure what to do with SQLResult yet. Need to find out where it’s used, and call hierarchy doesn’t work until the code compiles. If it’s anywhere, it’s in FinancialAssistant, which we will get to shortly.
- Working with javaUtils.dbObjects
- Finished BaseObject
- Finished CreateTableObject
- Finished InfoObjectManager
- Finished InsertObject
- Finished QueryObject
- Finished QueryResponseObject
- Working with javaUtils.logging
- Finished Log4jInit
- Finished VisibilityLogger
- Finished LoggingEntry
- Fixed ScriptEngine on the way to fixing FinancialAssistant
Phil 10.15.14
8:00 – 5:00 SR
- DB Backups
- Building query and chart for acceptances. Working, needs to be vetted by Lenny. In addition to CURRENT and OVERDUE, we added NEGATIVE, where the dates of “committed” and “accepted” are incorrect
- Got Javadoc working, and errors turned off in the editor.
- Finished YuiTestServlets
- Ran into a problem navigating code. The compiler has to be working, and that was failing with an “Could not initialize class org.eclipse.jst.j2ee.project.facet.IJ2EEFacetConstants” error. Had to install Web, XML, Java EE and OSGi Enterprise Development plugins.
- And now I have to install Java EE to get the javax.servlet. No, I can’t do that because Oracle has a Glassfish download in their “java_ee_sdk-7u1.zip” file. What an AWESOME company. Got it from http://www.java2s.com/Code/Jar/s/Downloadservletapijar.htm instead.
- Turned off all the Maven external libraries as well, and placed the code in a “jars” folder, so it’s now backed up by SVN.
- Working on JavaUtils
- CalendarParser – done
- CalendarParserException – done
- Dom4jUtils – done
- FileUtils – done
Phil 10.14.14
8:00 – 2:00 SR
- DB backups
- Deployed new FA
- Discussion with Chris about next steps. Going to Javadoc the classes and then discuss next steps. He wants to be able to do visualizations ASAP
- Downloading new Eclipse
- Pulled all the current code from Subversion into new directory from new repository
- Installed JavaDoc plugin
3:00-6:00
- More Wolfram Alpha
- Alpha is more forgiving as far as files, but it still takes the same overall format – a column for each factor (i.e. User, Capability, dollars). There can be a row with factor names.
- Found the financial data charting for Mathematica. Need to find it in Alpha. Or maybe it’s the Wolfram Finance Platform (more info)?
Phil 10.13.14
10:00 – 2:00 SR
- Figuring out if Mathematica can be used for producing presentation widgets for data visualization. The first tricky thing seems to be how it stores tables (lists) for analysis: http://reference.wolfram.com/language/guide/ListManipulation.html
- Success! In that I was able to read in a file (Insert->File Path…), then click Import under the line. Boy, that’s intuitive…
- ANOVA (yes, all caps) runs like this: ANOVA[allErrors, {Alias, TestType, All}, {Alias, TestType}]
Dong Shin 10.10.2014
- fixed Drag and Drop not scrolling thru as Flex doesn’t support auto scrolling – had to add autoScroll method on dragOverHandler
- query folders can now be published/unbublished
Phil 10.10.14
8:00 – 5:00 SR
- Backups
- Updated lab list
- Finish ng-route section of Angular book
- module.config is very picky about what it can use. All the injections that work in controllers, factories and services cannot be used here. Angular module.provider can interact, but providers appear to be tricky too. This post goes into the differences between factories, services and providers.
- Start on Documentation – Nope started on directives, since it’s a long weekend.
- Install Mathematica – done
Dong Shin 10.09.2014
- few issues on-site
- folders in Query Builder keeps adding itself when drop happend – fixed
- datagrid filtering with columns not working – fixed
- Lenny wants to get all related contracts data in separate rows….
Phil 8.9.14
8:00 – 5:00 SR
- Backups!
- Restored the qb_queries table since Lenny had blown some of his queries away
- More Angular – walking though the full webapp example. Also watched this talk on TypeScript and Angular. Good stuff – just not quite yet.
- Meeting at 2:00, plus a deploy of the fixed FA.
- We are to document the current system. I’ll do most of it, which will keep Dong free to fix and update things. Here’s the list of Things To Do.
- Configuration Baseline (Tomcat, Java, MySql plus settings, website layout etc)
- Software architecture
- Interface Control
- Database Design (Entity Relationship)
- API (Java and Actionscript)
- The next step will be to do visualization (reports, slides, quad-charts) of the live data. We may roll our own or possible use something like the Wolfram Alpha Appliance. Have to see how much that costs.
- We are to document the current system. I’ll do most of it, which will keep Dong free to fix and update things. Here’s the list of Things To Do.
Phil 10.8.14
8:00 – 2:30 SR
- Backups!
- More angular. Filters yesterday, directives today?
- Discovered an interesting problem with bound arrays, at least for strings. If the value that Angular is using to connect it to the div is the same for two or more rows, it complains with a “Error: [ngRepeat:dupes] Duplicates in a repeater are not allowed. Use ‘track by’ expression to specify unique keys”. The default seems to be the first column. This is discussed in the documentation here, with the upshot that you can generally get around this by using “
<div ng-repeat="value in [4, 4] track by $index"></div>“. not sure how that would play with some of the large tables we’re using. I’ve just tried this for objects, and it seems just fine. This implies that we’ll need to be careful about how we populate datagrids, but nothing horrible. - Working my way through ng-route.
Phil 10.7.14
8:00 – 4:00 SR
- Another day, another ticket trying to get back my servers.
- Updated the database though, through the scripting server.
- More Angular. First, we’re going to try to move the QueryService off to it’s own file.
- AngularJS: Getting around ngApp limitations with ngModule
- Here’s how to have multiple files with dependencies in Angular, at least insofar as I can tell.
- First, make sure that all your scripts are listed at the bottom of your html file. In this case, the ng-app is queryAppServlet, which is shown below:
<html ng-app="queryAppServlet">
<body ng-controller="MainCtrl as mainCtrl">
<script src="libs/angular.js"> </script>
<script src="queryAppServlet.js"></script>
<script src="tomcatConnection.js"></script>
</body>
</html>
- Each javascript file contains an individual module. Here’s a truncated version of ‘tomcatConnection.js’:
var tc = angular.module('tomcatConnection', []);
tc.factory('QueryService', ['$http', function($http){
"use strict";
var items = ["Ready"];
var message = "No Messages";
var subscribers = [];
return{
addSubscriber: function(subscr){
subscribers.push(subscr);
}
}]);
- ‘queryAppService.js’ uses tomcatConnect for the communication with the server. It looks like this:
var qa = angular.module('queryAppServlet', ['tomcatConnection']);
qa.controller('MainCtrl', ['QueryService', '$http', function (QueryService, $http) {
"use strict";
var self = this;
QueryService.addSubscriber(self);
self.query = "show tables";
self.items = QueryService.getItems();
self.message = QueryService.getMessage();
self.submit = function(){
QueryService.submit(self.query);
};
}]);
Phil 10.6.14
8:00 – 10:00, 1:00 – 5:00 SR
- No joy in getting on the servers. Put in another ticket to get my admin accounts back(?)
- Ronda seems to be making progress though
- Angular
- learning about $q
- Re-rigged the Angular ‘QueryAppServlet’ to use a service. There doesn’t seem to be a straightforward way to bind the values from the service to the controller, so I used a pubsub pattern, which worked just fine and I don’t feel too bad about it, but it seems… clunky. In looking for an answer, I found this discussion on stackoverflow, which I need to spend more time reading.
- Tried to get the Java Servlet to see straight json, but no luck. back to URL encoding.
Dong Shin 10.06.2014
- no luck deploying today….
- fixed rolling months not working properly in RA
Phil 10.3.14
8:00 – 4:00 SR
- Looks like I won’t be getting back on the servers any time soon. Ronda will be our new single point of failure. Be back at noon.
Dong Shin 10.02.2014
- finally got Spring Security example to work!
- configure Tomcat DataSource JNDI! – server.xml and context.xml
- modifying to work with project_portfolio_enh database….
- adding session control
- Lenny reported some problems – both fixed!!
- RA doesn’t show FY15 data…. RA show currently due data only, may have to fix by showing future years
- add PO Reference to the new query builder

You must be logged in to post a comment.