Category Archives: NextGen experimentation

Phil 11.13.14

8:00 – 5:00 SR

  • DB backups
  • Discussion with Lenny about Direct Cite vs. Reimbursable. I think in the future that Spring DB access plus a rules engine (using WEKA?) might give us what we want.
  • Finally got tabs working in my system:
<!doctype html>
<html ng-app="ui.bootstrap">
<head>
    <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js"></script>
    <script src="//angular-ui.github.io/bootstrap/ui-bootstrap-tpls-0.11.2.js"></script>
    <link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>

<div ><!--ng-controller="TabsDemoCtrl as tabCtrl"-->
    <tabset>
        <tab heading="Justified">Justified content</tab>
        <tab heading="SJ">Short Labeled Justified content</tab>
        <tab heading="Long Justified">Long Labeled Justified content</tab>
    </tabset>
</div>
</body>
</html>
  • Ands to get all that working also requres the bootstrap css. This isn’t surprising, it’s just not listed anywhere. So at this point, to accommodate libraries/frameworks and styles that will be reused between projects, we’re settling on a libs and styles directory. These directories will contain the local copies of the code/css files that we use in our apps.
  • Of course, the icons don’t work. It looks like we’ll need the fonts folder in the styles folder as well. Really don’t want to put in the js. And I didn’t have too.
  • So it looks like we need the following two libraries to begin with:
    • UI Bootstrap: Bootstrap components written in pure AngularJS by the AngularUI Team
    • AngularUI: The companion suite(s) to the AngularJS framework.
  • Thinking about the following for the post-JSON formatting
    session charcode char dn msec up msec

 

Phil 11.11.14

7:30 – 10:00, 5:30 – 7:00 SR

  • Taking advantage of the holiday to figure out the Angular that I forgot while I was documenting.
  • Changed queryApp to use factories and added predefined queries
  • Processing json messages. Working on adding a set of tabs to show the different processing.
  • You would think that tabs would be a thing, but they’re really horizontal menues in CSS. Using pure css to make this easier. But I can’t find a way to make the tabs behave like radio buttons. Looks like my first directive…

Phil 11.6.14

8:00 – 5:30 SR

  • DB Backups
  • Deployment of new FA. Still some problems.
  • Chasing down webstorm bugs. Creating a new project seems to make everything work just fine. Going to try checking out ‘experiments’. And that worked!
  • Then the corporate Internet and phones went down. I’m now writing this from home.
  • Angular? Yep, back to directives. FF v.33 is genuinely hosed with the IntelliJ debugger. Though since the FF debugger is so good, that’s not really much of a problem?
    • Chapter 13 – Advanced Directives (pun intended?)

Phil 10.30.14

7:30 – 12:00, 2:30 – 5:30  SR

  • Looks like Angular is going to change substantially: http://jaxenter.com/angular-2-0-112094.html#comment-1658778664
  • Some more Angular 2.0 stuff: http://sdtimes.com/atscript-googles-new-superset-javascript-runtime/
  • DB Backups
  • Security plan with Lenny? Good progress.
  • More documentation. Start Visibility3 today
    • Finished the Java section, working on de-mavening and getting all the old Flex to compile.

Phil 10.27.14

8:00 – 3:00 SR

  • DB Backups
  • Documentation
    • Exporting all the diagrams  – done
  • Checked in JavaUtils after some weirdness. Dong is using it with no problems.
  • Worked on some simple Angular directives over the weekend
  • Started overall system diagrams. First had to download Illustrator. That took an *hour*.

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}]

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

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.
    • 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.

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.