Category Archives: Server

Phil 11.19.13

10:00 – 5:00 SR

  • Physicals have more components every year. I’m expecting one day that they’re take so much blood that one of the results of the testes will be “anemia”.
  • Working on Cognos generator. Breaking up the code into better manageable pieces.
  • Finished the main structure. Adding error injection

Phil 11.18.13

8:00 – 4:00 SR

  • This has been the craziest two weeks ever:
    • Dad has heart attack while I’m leaving for a conference
    • Conference, plus the most delayed flight I’ve ever been on, arriving at 1:30 am…
    • Comprehensive exam and portfolio
    • Final paper for 760 – 6 pages in 3 days
    • And, wait for it – I get hit by a car while out riding on Saturday.
    • Looking forward to a nice, slow week.
  • Backups
  • Fake Cognos

Phil 11.15.13

8:00 – 12:30 SR

  • Add appropriation name as a column
  • Overdue
    • Additional query Timeline – don’t cull the less than 21, but keep the greater than 2000
    • Acceptance – For any item that has a filled date field, don’t show.
    • Obligations – Don’t show if 100% obligated
  • Committed amount is currently using Cognos data for committed amount. Need to change to Req. Funded. Keep the committed date.
  • Presentation ready by COB Nov 27
  • November 2014 queries does not show out year 2013  etc.
  • More Face Cognos data

Phil 11.12.13

8:00 – 4:00 SR

  • Back from CA and YUI class. It was 72-76 and clear blue skies out there. Here it’s 40 with sprinkles and gloomy clouds. But our bad traffic is way better than their bad traffic.
  • Backups
  • Need to do status for Tangie. Done.
  • Composing email to Jenny Donnelly about YUI
  • Adding Typescript (Cool Typescript Playground)
  • Following directions on the JetBrains site
    • Downloading and installing node.js
    • added NODE_JS_HOME as a path variable
    • installed the typescript package. Note that it gets installed to the user directory, not the node dir: C:\Users\Phil\AppData\Roaming\npm

  • Pressed the “Configure” button, which downloaded sources
  • Poked at the “set scope” link, which doesn’t have an obvious effect.
  • Clicked on “Add Watcher” in the pop-up alert (shown below) that appeared when I tried to save “typescriptTest.ts”

watcher_prompt

  • Added the C:\Users\Phil\AppData\Roaming\npm\tsc.cmp path to the watcher config dialog and then clicked “OK”
  • Ok, so now Typescript works. However, integrating it looks to be a pain..? But at the same time, it looks like there is a GitHub project that has set up all the interfaces?
  • Ok, the typescript runs, the watcher converts it, and a small HTML file launches it.

TypeScript:

class Greeter {
    greeting: string;
    constructor(message: string) {
        this.greeting = message;
    }
    greet() {
        return "Hello, " + this.greeting;
    }
}

var greeter = new Greeter("typescript");

var button = document.createElement('button');
button.textContent = "Say Hello";
button.onclick = function() {
    alert(greeter.greet());
}

document.body.appendChild(button);

Transpiled JavaScript:

var Greeter = (function () {
    function Greeter(message) {
        this.greeting = message;
    }
    Greeter.prototype.greet = function () {
        return "Hello, " + this.greeting;
    };
    return Greeter;
})();

var greeter = new Greeter("typescript");

var button = document.createElement('button');
button.textContent = "Say Hello";
button.onclick = function () {
    alert(greeter.greet());
};

document.body.appendChild(button);
//# sourceMappingURL=typescriptTest.js.map

HTML (Calling JavaScript)

<!DOCTYPE html>
<html>
<title>TypeScript test</title>
<body>
<script type="text/javascript" src="typescriptTest.js">
</script>
</body>
</html>

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.

Phil 10.28.13

8:00 – 12:30 SR

  • In Reqonciler, an empty result causes the query sequence to break
  • Have to select “refresh” several times when copying a project before it shows up on the project management list
  • Fix Lenny’s bug so that it shows a scanned $100 bill and says, “Lenny! Here’s some money!”

– TIMEOFF

  • Prepping for Thursday comprehensive exam.

Phil 10.23.13

8:00 – 4:00 SR

  • Backups
  • Worked with Dong to isolate and fix query math issues
  • Meeting with some Bee Folks. Went well. Their db is Access, hand rolled on a shared drive. God help us.
  • Moved training along a bit.
  • YUI – Ajax
    • Started up Apache Server and stopped Tomcat so I could serve PHP
    • created directory C:\xampp\htdocs\ajax and put the chapter 5 code in there
    • Connected Webstorm to that code.
    • Running everything nicely now. Working with error handling.

Phil 10.22.13

8:00 – 4:00 SR

  • Need to set up a server and install/uninstall xampp, then install mysql and Tomcat, restore the db and see how that goes.
  • Backups
  • YUI. Finished chapter 4. Somewhat annoyed by the Editor support today. Codecomplete knows, for example that Y.on().xxx has a variety of valid options. Tooltip usage does not. Couldn’t find any way to make the tooltips more verbose either -1, Webstorm…