Category Archives: Phil

Phil 9.10.14

8:00 – 4:00 SR

  • Got an email from Geena – she’s unable to save a mitigation plan. “To elaborate, looks like the malfunction occurs when ‘copy from previous month’ is selected, unable to save. I selected ‘copy from previous month’ and modified the data yet unable to save”
  • DB Backups.
  • Get for class, this too.
  • Working through chapter 3 of AngularJS Up and Running, which introduces unit testing. I was having trouble getting karma to run – getting the error
    • ERROR [karma]: { [Error: listen EACCES] code: ‘EACCES’, errno: ‘EACCES’, syscall: ‘listen’ }
  • Poking around led to this post, which suggested changing the port in the karma.conf.js file to 8001 from 8080. This works just fine, though I’m not sure why port 8080 is choking. I have Tomcat installed on 8080, but even with Tomcat off, I get the same error. Odd.
  • On to forms and validation. Very nicely done.

Phil 9.4.14

8:00 – 8:00SR

  • DB Backups
  • More Angular. Going to try to connect to the server and get Funding Request data.
  • Nope, got distracted. It turns out that the browser DOM keyboard model is not ASCII. If you listen for keyboard events (as some of the charting apps do), then it’s impossible to determine what key has been clicked by just looking at the event.charCode in the keypress event. So instead, my first Angular app is going to be a webapp that allows you to enter in a set of keyboard characters and have the javascript determine what the keycode maps to. This varies by browser and edition. Did someone not tell early web developers that there was this thing called an ASCII table? Here’s the angular directive

Phil 9.2.14

8:30 – 6:00 SR

Phil 8.28.14

8:00 – 5:00 SR

  • Change the “status” algorithm to reflect only the previous month’s PM Actuals.
  • DB Backups
  • Deployed new FR, FA, RA
  • Finished documenting RecordsetPanel and FundingRequestGlobals.
  • Started playing around with how to include a function in a variable’s configuration

Phil 8.27.14

8:00 – 6:00 SR

  • Deployed new FR, FA, RA
  • DB Backups
  • Paperwork success!
  • Discussed pulling FR data into FA for creating projects – will need to create a bunch of projects. And try multiline titles and comments to test CSS overflow problem.
  • Doing some much needed commenting
    • PanelModuleTest.html – done
    • RecordsetPanel – started
    • FundingRequestPanel
  • Sent a new version over to Bill for deployment. The commenting is finding bugs.

Phil 8.26.14

8:00 – 5:00 SR

  • Found out that Tabs are Bad Control Characters in JSON. It turns out that I was explicitly allowing tabs and CRs in the regex. No more. Also, the reason that the tabs were there at all (because they should have moved between fields) was because the lines that had them were pasted. Ya learn something every day.
  • FRs will for now be done in Word documents though. The system is too buggy.
  • Added indications about loading and saving to the top of the page.
  • Trap tabs in FR – done
  • Work on “Are you sure?” dialog – done
  • Ran many tests on loading/saving

Phil 8.25.14

8:00 – 2:30 SR

  • Make the list for approval a global – done
  • Add a “required” config for items. Grids that gave an empty required field remain yellow
  • Make “add’ trigger a save. If there is no project name, add a dialog that forces that – done.
  • Make the lab dropdown loads from a config file – done.

Phil 8.22.14

8:00 – 5:00 SR

  • DB Backups
  • Task number query is messing with taskID query – removed taskID query. Junit test seems OK
  • add multiple role checks during login. – Added to java code. Passed Junit.
  • Scrollbars is not working. Test with other browsers. Tested and all seems to work. added reset-min.css to see what gives.

Phil 8.21.14

8:00 – 4:00 SR

  • DB Backups
  • Deployed FR, FA, RA
  • Need to add Project Number to comments – done
  • Need to format HTML – done. That’s a wierd one, too. If you’re using a div, then setContent() getContent() works like a charm. But since I’m using IE8 compatable textarea, I have to convert CR to <br/>. using JavaScript’s replace() function to do it all by regex.
  • Need to add scrollbar to FundingRequestPanel – done
  • Remove “Testbed” – done