Category Archives: Uncategorized

Phil 4.28.15

8:00 – 3:00 SR

  • You can now ride a bike across BW parkway. Gonna try to ride to work when it gets warmer.
  • Integrating charting code.
  • Updating the libs directory subversion repo

Phil 4.3.15

8:00 – 5:00 SR

  • John P. is having IE 11 problems with FR. Put in a ticket to get upgraded
  • Last chance at getting super.myMethod() to work…
    • Soooooooooo close. I have it working for controllers. I wound up using the eval() function to create a javascript function pointer to the method on this.prototype. I think that’s not horrible. It blows up when I try to use it on a service, which is nearly identical. The ‘this’ seems to be getting lost, so the prototype object that I’m pointing to isn’t there anymore. For kicks, I tried getting the string values of the prototype function and used eval() to attach them as function pointers to ‘this’, but that blows up as well.
    • Falling back to setting the function pointers explicitly in the derived class constructor.
    • And that seems to work…
    • Adding a setFunctionPointer method in the base class that takes the name of the function and attaches it to ‘this’
    • Works! Whoops, not everywhere. Let’s see if we pass in the ‘this’ from the derived class.
    • Works! Adding it to all the derived classes.
    • And that works too. So weird. Ok, because I like pain, I’m going to try to move the call to setFunctionPointer back to the base class constructor.
    • Sonofabitch. That works. super.myMethod() works. Controllers, Directives, Services and Factories work. You can explore it here.

Dong Shin 02.18.2015

  • working off items from Lenny/Chris
    • change the order of buttons
    • POC’s should be user specfic, can be used from other FRs added by the same user
    • ISR PMO panel
      • Only admins can enter ISR PMO information
      • change ISR PMO POC to ISR PM
      • Req # is text, not drop down
      • Prior Req # comes from FA database
    • Project Description panel
      • add Project Lab PM after Project Lab
      • add text – Select the Service this project is supporting
    • Funding Description
      • Mailing Address not required from EA/REQ
    • Funding Details
      • hide Direct Cite/Reimbursable for EA/REQ
      • remove FY 10 from Appropriations
      • move Funding Type from Funding Description panel (copy?)
    • Contract Process
      • change FR Processing to Invoicing Processing Procedures
        • ACRN, Batch Processing, FIFO, Other
      • remove 100% funds required
      • change Explanation if Other to Invoice Instruction
    • Funding Requirement
      • single entry not multiple
      • remove Justification
      • Date Needed, Amount Needed, 100% Required to Obligate (Yes or No)
    • Contract Labor, Government Labor, Travel, Equipment/Material
      • add Contract # from Contract Details
      • Yes or No
    • Outlay Plan
      • remove Month 13-15
      • auto fill rest when 100%
      • check if value is > amount from Funding Details
    • Service Fee
      • Yes or No
      • Justification is textArea
    • FFRDC
      • Yes or No
      • hide when no
    • Contract Details
      • Yes or No
      • add Are any of the funds being required being placed on contract?

Phil 12.12.2014

8:00 – 5:00 SR

  • DB Backups.
  • Got into a very weird discussion where it became apparent that some people value principals (ideologies) explicitly above facts.
  • Angular
    • Working on making the stage a directive. I’m having problems getting the ‘bound’ data converted to a style. The size is set as the json object, but changes to it don’t seem to be doing anything.
    • Everything worked when I bound the item to a string and not a json object. My guess is that the json object has to get created every time for binding to work. The pointer needs to change.

Phil 12.11.14

8:00 – 2:30 SR

  • DB backups
  • Got an annotated set of screenshots for the FMP problem. Left on Dong’s desk.
  • Meeting with Agenia. Progress? There is confusion about what our landlord actually is.
  • Scatterplots
    • Got 3D transforms working. It’s important to have the root (origin) div have the perspective property set, and then the child (stage) div have the transform-style: preserve-3d set. As before, this intro to CSS 3D is most helpful.
    • The points for the pointcloud need to fit inside the dimensions (width/height) defined in the CSS for the rotations to work correctly

Phil 11.25.14

7:30 – 5:30 SR

  • DB backups
  • Worked with Bill V. to correct some web transition paperwork
  • Angular – have a much better sense of the whole $http core service. Bult a factory that converts json to php-compatible queries and takes as arguments function pointers that can in turn have bound components in them. Much better than a subscriber pattern.
  • Discovered flowhub, which seems to be making a javaScript case tool. Need to look more deeply.

Phil 8.19.14

8:00 – 5:30 SR

  • DB backups
  • Check to see what’s going on with the master table status for submit. Bad query. Fixed.
  • Put project ID in the master list? Will require a join on data that might not be there. Not sure how that will work… But done, mostly due to Dong’s mad SQL skillz.
  • Deployed new FR app late in the day because so many people are using it. Wound up being able to make a hot deploy, which is nice.
  • Zipped up new FR app and prepped for deploy tomorrow.
  • Desperately need loading animation. This looks good. Build a module for it tomorrow: http://codepen.io/fbrz/pen/yEHok

Phil 8.18.14

8:00 – 2:30 SR

  • Back from vacation
  • DB backups.
  • Forms did not explode!
  • It’s possible to save funding requests with no title. Not sure how that is, but added another check. Maybe they are all spaces? Also added a login column in FundingRequestPanel so that the admin can see who’s doing what.
  • Need to save scripts or make tools that add/delete/modify funding requests
  • Checked that status reports are good.
  • Adding a modal dialog so that there is an “are you sure?” state before deleting a funding request. Done
  • Adding a module to store variables as a hack around import. Done.

Phil 5.16.14

8:00 – 2:00 SR

  • Server is really slow this morning…
  • DB backups – failed because of slow behavior. Bouncing the server.
  • Server is still really slow and failed to start for a long time. Put in a ticket and will try again later today. Yay! It’s fixed.
  • Working on adding lines with variable endpoints. I’m basing this on this chapter from the upcoming Programming 3D Applications with HTML5 and WebGL and Mr. Doob describing how to draw lines. And it all worked. Woohoo!
  • Also, realized that many charts can be made using extrusions as shown in http://threejs.org/examples/#webgl_geometry_shapes. This uses the THREE.ExtrudeGeometry call.
  • Did some more fiddling with HTML labels. They weren’t showing up in the right places in 2D.
  • Going back to the servers to see if they’re happy now.

Phil 3.25.14

8:00 – 5:30 SR

  • Backups
  • Deployed new FA, VSS, and some new views
  • Meeting with Chris, Tangie, Carla, Betty, Pat and Lenny going over the VizTool presentation
  • Back to JavaScript and WebGL
  • Spent a good deal of time working with how to get multiple buffers to work. Here’s the basic pattern:
function draw(gl, n) {
    // Clear <canvas>
    gl.clear(gl.COLOR_BUFFER_BIT);

    // repeat the following two lines for all your buffers
    gl.bindBuffer(gl.ARRAY_BUFFER, g_vertexSizeBuffer);
    gl.bufferData(gl.ARRAY_BUFFER, g_verticesSizes, gl.STATIC_DRAW);
 
    // once done with updating the data unbind.
    gl.bindBuffer(gl.ARRAY_BUFFER, null);

    // Draw the points
    gl.drawArrays(gl.POINTS, 0, n);
}
  • The basic idea is to bind a buffer, then write into it, write into another, rinse, lather repeat until all the buffers (or whichever ones you pick) are updated. Then tell WebGL to go draw all the buffers. Here’s an example:
  • points
  • Starting on textures.

Phil 3.24.14

8:00 – 10:00, 1:00 – SR

  • Backups
  • Total budgets don’t appear to be calculating correctly. Lenny to provide more info.
  • Scripting is not updating schedules
  • Need to keep the export of tables from FA so that they don’t contain illegal characters. In this case, spaces in the name.
  • Adding an additional question in DV is not working

10:00 – 1:00 School

1:00 – 5:30 SR

  • Fixed Vis2 and VSS. I think.

Phil 1.30.14

8:00 – 2:00 SR

  • Backups
  • Deployed new FA, RA and RQ. Tried some things to see what’s taking so long on the requisition status pull but no joy. Did find out about the mySQL command set profiling though, which is pretty cool.
  • Javascript
    • Add target dictionary to each element and draw lines to them
    • Going to try to build a “physicsParticle” Y.Base class
    • Start adding physics. Include sliders for attraction, repulsion, and damping.
    • Dragging of shapes.

Phil 10.29.13

8:00 – 11:30 SR

  • WordPress was too slow to add things yesterday morning
  • Weird problems with the server. SQL queries that were going through remote objects in Dong’s code were returning “Prolog Error” responses. In the end, restarting Tomcat fixed everything.
  • This may have been the problem for numerous bugs, such as obligations not being calculated. After rerunning the scripts, that all seemed to be fixed.
  • Backups
  • No progress on G2C
  • RA initial and refresh query is running *very* slow – over 30 seconds.