Category Archives: NextGen experimentation

Phil 2.11.14

8:00 – 4:00 SR

  • Backups
  • Looking into why MIPRs are not being automatically assigned.
  • Javascript
    • Finish making the ShapeManager a separate module. Don’t forget to add PhysicsShape as a dependency in the module!
    • Havine huge problems with the setTimeout javascript call. Just found the Y.later() method. Trying that. That did it. Adding more peices back in.
      • And for the record, this is how you maintain context for a function call when in a JavaScript prototype, as far as I can tell: Y.on(“click”, function(ev){self.startSampling(ev);}, “#start”);
    • Ok, here’s the new ShapeManager version where everything behaves. Though the ‘PhysicsShape:selected’ event may not be getting where it needs to…
    • Add physics controls (dials?)
    • Start on map integration. Looks like this may do the trick: http://yuilibrary.com/gallery/show/google-maps-loader

Phil 2.10.15

8:30 – 4:30 SR

  • The remote desktop on the server came up really slow this morning. This might have something to do with rebooting the VM. For example, getting Vim to launch takes 15 seconds, but the second time was instant. Going to see if it’s just a case of getting some threads started, but if it presists, I’m going to have to poke around some. Speaking of which, I wonder if Chris had any luck getting us an SA?
  • Backups
  • I was testing all the apps to make sure that they were behaving and had the task manager up on the server. It gets *hammered* when the RA initial query runs. Hmmm.
  • Got the patent back from the USPTO over the weekend, with the claims rejected, based on an Immersion patent from 2001. Since I don’t have the hours or the budget to work on this any more, I’ll need to hand this off. That is assuming that Novetta is interested in adding to its patent portfolio.
  • Javascript.
    • Had a thought about the tooltip over the weekend. It should be possible to do it as a skinnable div with border and background properties. If the width and height are set to auto, it should work…
    • And it did! Need to check on older browsers. And of course, we have problems with the tooltips disappearing in IE. Ignoring this for now.
    • Changed the module to be skinnable, so that labels and tooltips can be styled sensibly.
    • Starting a shapemanager class, since there’s a lot of special code in the top HTML now.

Phil 2.7.14

12:00 – 4:00

  • Spent the morning at UMBC for PhD activities. Had the department heads reinforce that if I couldn’t get additional hours it would be “virtually impossible” to get a degree. Thanks a bunch, WCC/Novetta for reneging on our agreement.
  • Working on integrating tooltips into graphics. Tricky because the only way to get the mouse position is by having a mousemove event listener and you don’t want one for every shape. Adding a “checkMousePos()” method to the PhysicsShape class that uses a sampled mouse pos from the containing class.
  • Stuff to test

Phil 2.6.14

8:00 – 9:30, 12:30 – 5:00 SR

  • Backups
  • Deployed new FA and RA
  • Going to try to add a profiling wrapper around queries that can be triggered to see what’s taking so long. See here for details.
  • JavaScript
    • Adding events – done, though they are not YUI Events. Just added Y.fire and Y.on in the containing HTML
    • Adding tooltips – this is turning out to be hard. Shape nodes don’t seem to support tooltips, and many of the mouse events seem to be misbehaving. So I’m going to use my shape/div trick to build tooltips. I think opacity can be triggered using transitions, but if not, I can do something based on distance.
    • Adding arguments and defaults for size, color and line thickness – done

Phil 2.5.14

8:00 – 4:00 SR

  • Backups
  • Bugs/Comments
    • RA
      • Add ‘View FMP’ button next to ‘View Invoices’
      • Reported FACTS obligated is showing zeros.
    • FA
      • Non admins need to see the panel that clicking on a requisition line brings up, but they should not be able to edit.
      • Clicking on a line in the top panel of the ‘Financial View’ sould bring up the RA ‘Financial Data Entry’ panel
  • JavaScript
    • philfeldman.com is now available through the firewall. And the MSD display is working
    • Add names (show/hide attribute) and tooltips (overlay)  next
      • Labels are working. In YUI you have to handle text as a <div>, since there is no support for text in YUI.Graphic class.
    • Size and color (normal, selected, hover?)  attributes, and initial arguments. Also could have default values this way.
    • Fire a “clicked” event for integration with application.

    DARPA releases open source code. However, some links seem to be broken.

Phil 2.4.14

8:00 – 4:00 SR

  • Backups
  • Deployed new FA
  • more paperwork
  • Talked to Chris about getting a new SA and finding out who our Security guy is.
  • Status report.
  • JavaScript
    • Got lines working. Since there does not seem to be a way to adjust the order of the nodes, I have to add the shape that represents the connecting lines before adding the shapes. THis means two passes in the initialization first the constructor loop, and then a loop where addShape() is called. Clunky, but it works. And here’s the result so far.

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 1.28.14

8:00 – 4:00 SR

  • Backups
  • Deployed FA, RA, and RQ, with a new FA.jar and some new sql.
  • Finally got isVisible working, but I’m not happy myNode.getAttribute(‘hidden’) should work, but doesn’t. myNode._node.hidden does. Totally undocumented yuck.
  • Moving the developed code to CSSRemoteDataModule.
  • Working on putting a Base module in a Panel.
  • That was quicker. The root node that the panel connects to seems only to provide its size. Color seems to get lost, and you need a 50 pixel offset from the top for the title bar.
  • PanelWithWidget

Phil 1.27.14

8:00 – 10:00, 12:30-5:30 SR

  • Made some progress on getting the servers a new lease. Will need to schedule a meeting between Chris and Larry T. when Chris gets back. Also, it looks like we’ll need to find a new system security guy.
  • Backups
  • JavaScript
    • Now that we’ve got CSS-styled modules working with charts, start putting the data access back in. Or find the next broken thing. But at least, that’s the goal.
    • And there it is. Learned abo0ut self = this today. Sheesh. Going to comment now.
    • Base+CSS+POST

Phil 1.23.14

8:00 – SR

  • Backups
  • Javascript
    • Still working out how CSS and YUI work together
    • Ok, figured it out. The css name must match the .js name which must be contained in a folder with the same name as well. See the picture below. Note that in the HTML code that the two “electron” modules are referenced with appropriate names and paths based on this pattern. Note that this is for the default (sam) skin, and might be adjustable with custom skin names/location
    • YUI_CSS_Default_Hierarchy
    • Tried to add charts to the new <div> elements but got a “TypeError: I is undefined combo” error when creating the chart. Posted to the forums.

Phil 1.21.14

7:30 – 11:30 SR

  • Snow coming, so it’ll probably be short hours today.
  • Backups
  • Javascript – well, I moved the entire development environment to the laptop, but got hung up with Tomcat on my work computer not being seen by my home machine. And I need two screens. Grr. Picking it up tomorrow.

Phil 1.17.14

8:00 – 4:00 SR

Phil 1.16.14

8:00 – 5:00 SR

  • Backups
  • Deploy
  • Javascript
    • Created a module based on the YUIConf examples and was able to create a module that I could new(). Next will be to use Base.create to get at the lifecycle management. Then add the chart and table pieces back in.