Category Archives: Phil

Phil 2.19.13

9:30 – 4:30 ESSO

  • Dentist this morning
  • Tried to swing by the customer site this morning – not a *single* parking space
  • Installed new video drivers, which led to some cleanup.
  • Back to YUI. Need to write up a justification by Thursday for Dong and I to get Webstorm at least, possibly IntelleJ
  • Multithreading in JavaScript: http://www.html5rocks.com/en/tutorials/workers/basics/

Phil 2.15.13

8:00 – 3:00 ESSO

  • Viztool review Thursday 21 at 8:00
  • Deployed new versions of PPM and PA
    • Text is graying out oddly. The short-term answer could be to leave the colored indicator grayed out, but leave the text intact.
    • Planned outlays need to refresh on save.
    • We really need to get all the “save” buttons in the same place on the screen, ideally near the upper left.
  • YUI 3.5.1 is available on-site
  • Got a local version ofYUI 3.8.1 running on my local tomcat server (as per example 1-8 in the YUI cookbook) . So far, so good. Now is a nice time to stop for the weekend

Phil 2.14.13

8:00 – 4:00 ESSO

  • Icy today. The roads were OK, but the parking lots…
  • Having an odd endpoint problem. Getting a “Channel.Call.Failed: HTTP: Failed runSQL – [object Operation] endpoint https://…/ProjPortfolioMgr/messagebroker/amf. It may need to be amfsecure. Testing…
  • Although I like the Cloud9 IDE, it can’t handle the YUI ().use(….) pattern. Apparently Webstorm can. Getting the download (sigh) now.
  • That works like a charm. To add the YUI libraries, go Settings -> JavaScript -> Librares -> Download… -> and choose the library. And webGL is supported as well! IntelleJ (JetBrains’ Java IDE) may support this as well. Something to think about.

Phil 2.13.13

7:30  – 3:30 ESSO

  • Still feel like crap, though I am now on antibiotics.
  • Meetings until noon. Dong is going to handle the Capability Review.
  • Changed Reported Actual Obligated to Reported FACTS Obligated in project_portfolio
  • Stated digging into YUI. While looking for an IDE, stumbled upon Cloud9 (c9.io), which is a cloud-based IDE developed initially for JavaScript, with jsHint support. Trying out some YUI code from the book. So far, so good! No server side Java support though. Need to see if the code can reach out to a dev server.

Phil 2.12.13

8:30 – 4:30 ESSO

  • Was going to go to CASPORT users group, but had to write a status report for Jim G. instead.
  • Backups
  • More Javascript OO programming today…
  • The Yahoo! User Interface (YUI) library was the first to include parasitic combination inheritance in a widely distributed JavaScript library via the Y.extend() method. YUI is a free, open source JavaScript and CSS library for building richly interactive web applications.” Nice documentation and examples…
  • Jumped ahead to tools and found jshint, which is at http://jshint.com. There is also another lint, JavaScript Lint that runs in windows explorer. it’s here: http://www.javascriptlint.com
  • Ok, I think I’m going to try some YUI tutorials. Confident enough to get the Kindle edition of the YUI 3 Cookbook. I need some standalone examples.

Phil 2.11.13

8:30 – 4:30 ESSO

  • Bronchitis. Urk.
  • Backups, and some fixing of databases, as well as acknowledging all the alerts. We really need to turn some scripts off tomorrow.
  • Showed Carla how the issue was really bad labeling of what the “1 of 4” items actually were.
  • Javascript
  • So this is how you define an inheritable class:
  • Wow – this overwrites the value in the base parent Object, so that every instance of the superclass or subclass now say “foo”:
    SubType.prototype.saySuperName = function(){
    return "foo";
    };
  • This appears to be a good way to do inheritance:
    	//--------- SuperType definition ------------
            function SuperType(name){
                this.name = name;
                this.nickName = "None";
                this.colors = ["red", "blue", "green"];
            }
    
            SuperType.prototype.setNickname = function(nickName){
    			this.nickName = nickName;
    		}
    
            SuperType.prototype.sayName = function(){
                alert("Name = "+this.name+", Nickname = "+this.nickName);
            };
    
    	//--------- SubType definition ------------
            function SubType(name, age){  
                SuperType.call(this, name);
    
                this.age = age;
            }
    
            SubType.prototype = new SuperType();
    
            SubType.prototype.sayAge = function(){
    			if(this.nickName == "None"){
    				alert(this.name+" is "+this.age+" years old");
    			}else{
    				alert(this.nickName+" is "+this.age+" years old");
    			}
            };
    
    	//----------- sequential code --------------------
            var instance1 = new SubType("Nicholas", 29);
    	instance1.setNickname("Nick");
            instance1.colors.push("black");
            alert(instance1.name+"'s colors are: "+instance1.colors);  //"red,blue,green,black"
            instance1.sayName();      //"Nicholas";
            instance1.sayAge();       //29
    
            var instance2 = new SubType("Greg", 27);
            alert(instance2.name+"'s colors are: "+instance2.colors);  //"red,blue,green"
            instance2.sayName();      //"Greg";
            instance2.sayAge();       //27

Phil 2.8.13

8:00 – 4:00 ESSO

  • Backups.
  • There is an issue where an item that is showing up in the Line Item View in PA and the Financial Data Entry view in PPM is not showing up in the Status View in PA. I’ve taken screenshots on what I think all the relavent pages are.
    • Turns out that’s a feature. That particular project is complete, and does not remain to fill out. Dong will verify on Mondy, but we’re betting that’s the case.
  • Javascript.

Phil 2.7.12

8:00 – 4:00 ESSO

  • Backups
  • Got comments from Chris and Carla. Handed off to Dong
  • Lunch with Diane
  • More JavaScript
    • Looking at how to implement the Data Dictionary
  • Leave promptly at 4:00! Class!

Phil 2.6.13

8:00 – 4:00 ESSO

  • Meeting with Chris, Thom, Carla, Lenny and Dong. The notes are here.
  • Some cleanup for Diane’s visit tomorrow. Also asked Dimitri for permission to charge overhead for the real move to WCC
  • Went through the design of FA with Dong, which is all here.

Phil 2.5.13

8:00 – 4:00 ESSO

  • Deployed new Vis2, PPM and PA. Mostly went well, except for one hiccup with the financial_remediation_plans table, that took about an hour of beating on before it submitted to our will
  • Walked through the potential architecture for FA with Dong. Now we need to write it up here.

Phil 2.1.12

Spent the morning doing PhD stuff

1:30 – 5:30 ESSO

  • Working on making larger fonts in tooltips. Done. Just wound up setting the gloab ToolTip and DataTips styles in the vis2.onSliderChanged() method.
  • Need to set the default _labelFieldColumnName to the zeroth, column. So that code was there in WidgetBase.listColumnsHandler() for a reason. It was just being too aggressive…

Phil 1.31.13

7:30 – 3:30 ESSO

  • Brought in a new version of vis2, but the colors still don’t work quite right for a three-element chart
  • Making larger text looks as straightforward as setting up the magnification and sizing appropriate to the conference room screen.
  • Tooltips will still be a problem. Need to get the magnification value passed to them.
  • Need to include the name of the Label Column when loading from XML. Fixed. For some reason I was forcing the _labelColumnField to the name of the 0th column in WidgetBase.setColumns. Dunno why.

Phil 1.29.13

8:00 – 4:00 ESSO

  • Worked on getting all the data in the data visualizer for Col Dukes’ presentation on Thursday. 
    • Cleaned out a lot of old code, files and cruft in general.
    • Had problems getting the ingestor to swallow alerts. Diagnosing this lead to a problem with Projects Under Budget. We’re about halfway through the fix for all that.
    • Loaded up the latest COGNOS data
    • Integrated Comitted with the rest of the FY13 data
  • Javascript
    • Chapter 6, or how to do OO when there is no such thing as a class in JavaScript.
    • JavaScript prototypes are most peculiar.

Phil 1.28.13

9:30 – 5:30 ESSO

  • Ice storm this morning. Yuck. Still, the best traffic I’ve ever seen in the region.
  • Spent most of the day with Dong working out the queries to get the FY13 presentation running from the project_portfolio database. I think it’s all working, with the exception of the data that needs to be input from COGNOS. A couple of issues:
    • Committed is not showing up in any of the plots. Need to look through this with Dong.
    • When Lenny tries to bring up the slide show, the charts do not populate. I think this is a permissions issue.
    • Need to make sure that a transition is not required when running a slide show.
  • Still need to import FY12 COGNOS data. Tomorrow.
  • Back to Javascript. Done with Chapter 5.

Phil 1.25.13

7:30 – 1:30 ESSO

  • Meeting with Lenny, Carla, Tangie and Tom(?). We walked through their list of items thatneed to be modeled. Looks pretty straightforward
  • Backups
  • JavaScript

1:30 – 3:30 FP

  • Wrote up the Synthetic User proposal for David and Samir.