Category Archives: Server

Phil 3.8.12

7:30 – 11:00 VISIBILITY

  • Demo prep. See Mike’s notes for more detail

11:00 – 4:00 FP

  • Now that I have the pick matrix worked out, I’m going to see how to ask the pipeline if any pixels have been drawn. Also need to see how to prevent the test drawing from going to the render buffer
  • Generating query indices and deleting them in cleanup()
  • Added a pickRender()  and pickResult() method to DrawableObject
  • Picking works, but seems to slow down the display. Also, GL_QUERY_RESULT_AVAILABLE always returns zero, even if there is a result. And just to make things a little weirder, the call glGetQueryObjectiv(drawQuery, GL_QUERY_RESULT_AVAILABLE, &result) does not slow down the display, but the following almost identical call glGetQueryObjectiv(drawQuery, GL_QUERY_RESULT, &result) does. No ideas about this right now.

 

Here’s the code in question

static enum TRANSFORM_MODE{UNAVAILABLE, HIT, MISS};
TRANSFORM_MODE pickResult(){
	GLint result;

	glGetQueryObjectiv(drawQuery, GL_QUERY_RESULT_AVAILABLE, &result);
	if(result == 0)
		return UNAVAILABLE; // always returns this

	glGetQueryObjectiv(drawQuery, GL_QUERY_RESULT, &result); // slows down rendering once called.
	if(result)
		return HIT;
	else
		return MISS;
};

Phil 3.7.12

8:00 – 12:00 visibility

  • Spent the morning putting together a demo walkthrough for tomorrow. We build an ‘enhanced’ data set that would support a lot of queries and started to use it to prepare a slideshow. Got through two slides until we discovered that slides weren’t loading properly.
  • The help for Project Assistant is a bit overwhelming. There needs to be some kind of overview and quickstart.
  • There are some issues on Project Assistant that need to be worked.
    • The help on the main screen and the dialog aren’t the same, and don’t look like buttons.
    • The app does not resize when the browser window resizes. It holds onto it’s original size, regardless.
  • Data Navigator’s ‘browser tab title’ is showing up as ‘#’ again.
  • It is possible to save two desktops with identical names

12:00 – 5:30FP

  • My FB account got hacked! Had to spend some time changing passwords and telling people to ignore my ‘hi ERROR!’ message. No idea how that could have happened…
  • Got the projection matrix set up for picking. Here’s how you do it:
void Gl_ShaderWindow::setPickMatrix(GLdouble x, GLdouble y, GLdouble deltax, GLdouble deltay, GLint viewport[4])
 {
	projectionMatrix.PushMatrix();
	if (deltax <= 0 || deltay <= 0) {
 		return;
 	}
	projectionMatrix.LoadIdentity();
	/* Translate and scale the picked region to the entire window */
 	projectionMatrix.Translate((viewport[2] - 2 * (x - viewport[0])) / deltax, (viewport[3] - 2 * (y - viewport[1])) / deltay, 0);
 	projectionMatrix.Scale(viewport[2] / deltax, viewport[3] / deltay, 1.0);
	projectionMatrix.MultMatrix(viewFrustum.GetProjectionMatrix());
 }

 

Phil 12.14.11

9:00 – 12:00, 2:30 – 3:30 VISIBILITY

  • Spent about 30 minutes doing laps of the house without crutches at around 7:00 this morning, then had to lay down for about an hour to let the leg recover. It wasn’t pretty, but much better than yesterday, when I could only stand that for a few minutes.
  • Now that I have GWT working, I’m going to go through the book (GWT in Action) unless someone has a better suggestion
  • Spent an unreasonably long time getting a request for a doctor’s note that will allow me to charge hours while on disability
  • Tom brought up the laptop. I have two screens! Woot.

Phil 12.13.11

8:00 – 12:00, 4:00 – 5:00VISIBILITY

  • Setting up a developer account with admin privileges on my home machine since I can’t launch the GWT server otherwise. Yay! Everything is working. Going to revisit the StockWatcher RPC tutorial to get back up to speed.
    • All working.
  • Asked Tom to bring up my laptop, since mine is broken. There’s also a DigiKey order here.

Phil 12.2.11

8:30 – VISIBILITY

  • Installed Dong’s new software onto the dual-facing server and added redirects to the instances on Jeff’s server.
  • Notes from meeting with Tangie
    • PA
      • Identifier dropdown needs some kind of labeling, like id:foo, name: bar, etc. The currne tscheme with all the commas doesn’t work
      • The entry screen is getting too busy. We need to clarify the layout
        • Move help to a popup?
        • Choose the visible navigation?
      • Add Kristi’s help and splash screen link to tutorial
      • The grid of attributes sometimes stretches outside the containing panel, we should make the panel wider
      • Incomplete projects should not be listed
      • Too many plurals
      • Confusion between “current” state and “current” month. Let’s change “current” month to “reporting” month
      • Is the cumulative or monthly amount in? I didn’t see it.
    • PPM
      • Add Name to browser tab. Currently it’s “#”
      • Add a button that allows data to be filled on the Edit Project page, not just the financial reporting page

Phil 11.25.11

8:30 – 12:30 VISIBILITY

  • Rode in today – that should burn a calorie or two
  • Tried creating an HTML page using the eclipse gwt wizards and had the same problem. I’m going to try the tutorial from Google to see if I get any different results.
    • It seems as though this is a known bug, and has been around for a long time. The fix is to manually create the html.
    • Though if you create a project with default code in it, all the pieces are created without the widgets and you just need to change the source. Which explains why the bug has been unfixed for so long.
    • Saving the changed code shows in the browser on refresh. Very cool.
    • The proper way to do event handlers in GWT.

Phil 11.22.11

8:00 – 3:30 VISIBILITY

  • Backed up the current database – slight change
  • Making font sizes look at the screen resolution, rather than just being in pixels, since the retina display makes 20 pixels look like bacteria.
  • I think I’m actually done with GesturePieChart!
  • Nice color editor: http://mudcu.be/sphere/
  • Looking at the GWT book.
    • In addition to event handling, GWT has a Message Bus which allows for more decoupled data transfer.
    • UIBinder XML = MXML?
    • Java object serialization. How is typing handled?
    • Updating my Eclipse Google plugin

Phil 11.17.11

7:30 – 4:00 VISIBILITY

  • Deployed Dongs new stuff
  • tried to contact our designated server test guy
  • No meeting with Chris. He’s sick. We’ll try again tomorrow.
  • Need to make FACTS data optional
  • Got a new 4S. Much faster with the app.
  • Fixed up a few things with the style browser
  • Meeting with Kristi and Dong about Project Assistant
    • Splash page with a “tip of the day”, “Tutorial” button, and a “Use Project Assistant” button
    • Kristi will build the tutorial first, then we’ll break it into the help
    • Dong will add the ability to navigate through the monthly entries with the following filters:
      • overdue
      • incomplete
      • current
      • all

Phil 11.15.11

7:30 – 5:00 VISIBILITY

  • Started the ball rolling with Vernon on testing. Call Rich tomorrow to see how to progress.
  • Merged the VisMobScreen code into svn
  • Interview
  • Wrote up an GesturePieChartEvent that handles getting the chartDictionary to the parent component. Now I just need to do some commenting.

Phil 10.26.2010

8:00 – 5:00VISIBILITY

  • Well, the server is mostly back up
    • Wrote up a description of what happened for Laurie
  • Got additional req’s from Christina for PPM. Went over them with Dong.
    • Open multiple projects for editing or modifying
    • A “back” button that re-launches the previous panel. The best way to do this may be to extend the LayoutManager to store the panel with an associated data object? Unsure about this
    • All personnel fields should be able to handle multiple entries. I’m thinking that a variant on the “Add New” combobox might work here.
    • The Portfolio Manager in a funding request also needs to handle multiple entries
    • Look for duplicate projects. The thought is that if the budget values and the service match, then an alert could be shown that warns of the potential match
  • Flex in a week
    • Day 5, Episode 2
    • Day 5, Episode 3
    • Day 5, Episode 4
  • Anne had some problems with a query not showing up in the data visualizer. Will try and see what’s up tomorrow.

Phil 10.25.2010

7:30 – VISIBILITY

  • PPM is getting used. Talked to Christie Richard, who is entering most of the data. She has a list of suggestions
    • She needs to be sysadm to view projects she creates. We need to make it so that if you create a project, you should still be able to see it.
    • We need to make it so that projects can be created piecemeal. The minimum amount of information should be the project name and ID, but after that, the user should be able to enter data in any order or amount.
      • An incomplete project is one that does not have all the fields plus (sufficient? e.g. something other than all zeros) financial data entered.
      • There should be an INCOMPLETE warning in the title bar if a project is not sufficiently entered. Maybe we can flag that in the project list by highlighting the row, or being able to filter on incomplete projects.
      • It might be worth having an alert come up that indicates what still needs to be done on an incomplete project.
    • She’d like the ability to enter more than one POC for a project. Need to find out just what fields those are. Is this just on project creation or also other forms, such as creating funding requests
    • Add a per-project comment log. It should be visible on the project page and the enter financial data forms (Maybe funding request as well?). There should be an entry field that is editable, and then a text area (searchable?) that shown entries with timestamps and user id.
  • Worked on the MavenAssist site with Dong. The updater site is up, as is a download site. The home page is prettier (it’s a copy of our own web page on MavenAssist)

Phil 1.8.2010

8:00 – 4:00

  • Discovered that PRIVATE is not restricting pulls. Fixing that first. No, it’s working correctly, it’s just that admin and superuser can see everything.
  • Good progress on ObjectWrapper. It can apply properties and run functions with arguments.

Phil 9.28.2009

7:30 – 3:30

  • Gotta install sp2…. Well that was 20 minutes well spent! Wheee.
  • Working on multiple select = done. Leaving the single select code in place for a while out of, well, superstition and fear, actually.
  • I’m thinking about adding another chart that has the unique counts for each column – that way it would be possible to easily find out how many people we in a query, even if they had multiple skills. – done

loading data to Visibility server

  • Ingest personnel records:

http://localhost:8080/visibility/Server?action=ingestData&adminPassword=admin&fileName=personnel.xml

  • Delete all personnel records:

http://localhost:8080/visibility/Server?action=deleteRecords&adminPassword=admin&recordType=personnel

  • Query the SOLR personnel table

http://localhost:8080/visibility/Server?action=query&acm=&q=record_type:personnel

  • Ingest personnel records from roster.xml

http://localhost:8080/visibility/Server?action=ingestData&adminPassword=admin&fileName=roster.xml