Mike 4.18.10

Lots to post, checked in at least a week ago:

  • Reverted the changes to remove all dollar signs and commas from the data
  • Fixed the issues that the extra characters caused in the widgets

checked in today:

  • Created a new panel type called “ConfigurablePanel” which has a new button in the top right for configuring panel details.  A menu slides up from the bottom when it is clicked and slides away on the next click.
  • Started working on removing the hardcoded “name” column from TrendWidgets but ran in to problem after problem until the latest one: In AdvQueryWidget, when a user wishes to trend several rows of data, the AdvQW generates a query to give to the trend widget.  The query contains the specific rows the user selected by adding where clauses based on the ‘name’ column (the only column we used to think was unique).  Which is the problem I’m not sure how to solve…
  • Ended up creating a popup menu and asked the user to select the appropriate column based on a list of columns containing only unique values
  • Tested the new TrendWidget mechanism: saving, loading, and thresholds all seem to be working now
  • Created a status list similar to our old orb status display.  If a column called “status” exists, a TileList is added to the accordian and each item will be represented by an icon from the library: it tries to match the row’s status to an icon.  For example, if an item’s status is “normal” it displays the icon titled normal.  If a user uploads an icon called “purplemonkeydishwasher” and an row has the corresponding status, that icon will be displayed.  If no matching icon is found, a default file not found icon is displayed.  All text is displayed in a tooltip similar to the map tooltips.  I didn’t want to display a name under each icon since we have no knowledge of the column titles.
  • Added a set of 6 default icons much better than the previous weather icons.  They are: a green checkmark, red error “X”, blue help “?”, blue information “i”, yellow/orange warning “!”, and red forbidden “-“.  Sadly I found that flex cannot dynamically load SVG files (it can only embed them, wtf?) so I had to convert them to 64×64 PNGs which don’t scale as well.
  • Fixed bug in TrendWidget load method that was checking table permissions incorrectly and would never pass
  • The save and load panels are now moved to the top of the z-order when they are made visible instead of being half hidden by the query builder or other windows
  • Got rid of the annoying extra scroll bar that VisContainer was making on small resolution screens (1280 x 800), they may still appear on screens shorter than 800 high but hopefully we won’t have to worry about running on an iphone…

Next in the queue: SlideShows!

Feldman Project Log

  • Was able to get Glut running by making it the main executive
  • Transposed whetstone bridges to a circuit board.  Had to start over cause the soldering was too messy on first attempt.  Glad I waited for Phil to bring in the other solder because it actually melts at the right temperature.
  • Set up everything to attach to the new board both bridges work great.
  • Somehow the strain gauge is touching the bar again despite many tests to make sure this wasn’t happening before.  Might be do to the rust or whatever the yellow stuff is factor.
  • The other stick I made is still testing properly but needs a shim.
  • I think I fixed a problem when the input stick was still sending go commands to the other one when it was in a stopped state due to a collision.  Can’t know for sure with only one stick though.

Phil 4.16.2010

7:30 – 2:30

  • Clean up and test alert adding in jython – done
  • Start on the AlertServlet – particularly how to add, clear, and delete(?) an alert RESTfully. Started. Servlet runs and posts the alert list xml, but doesn’t perform any operations
  • 1:00 meeting at Anne’s – nope, postponed

Feldman Project Log

Tuesday:

  • Shortened signal wires to strain gauges so more of the wire is shielded
  • Strain Gauge came loose on second sensor stick had to redo it.  Did not use enough silicone to hold the connections in place
  • Found out glut is event based.  Need to either use standard GL libraries or freeglut.

Wednesday:

  • Finished repairing second sensor stick
  • Started putting the whetstone bridges on a board so I wouldn’t have to worry about the wires coming loose all the time
  • Had trouble finding GL Headers and libraries.  Found out that they are in the Windows SDK.
  • Cold solder doesn’t conduct well.  Connections need to be well seated on the board.
  • Saw that freeglut is still supported and was updated as of November 2009.  Going to give it a try since I am having trouble with the standard GL libraries and from the description freeglut is designed to replace glut because glut is no longer supported and outdated.  Freeglut supposedly can be used in a non event based way.

Dong Shin 04.15.2010

  • Continue configuring XAMPP- done
    • Visibility not working!
    • Turned out the Tomcat for XAMPP uses Java 1.5
    • replaced jre directory with Java 1.6 and everything seemed well
  • Testing XAMPP install package on laptop-13- done
  • added total_budget to budge_centers table, budget to _funding_requests_budget_centers table
  • added FloatItemRenderer to display floats in currenty format (double precision) – need to do DG.validateNow()

Phil 4.15.2010

7:30 – 3:30

  • Logged into LDAT(2) successfully. Asked for a tutorial/walkthough, and who to talk to for direct JDBC access. I may use the scripting service to publish that data
  • More alerting. Need to do the following
  • Add an alert in the Alert Manager
  • Clean up and test alert adding in jython
  • Start on the AlertServlet – particularly how to add, clear, and delete(?) an alert RESTfully

Phil 4.14.2010

7:30 – 3:30

  • Have you done your taxes yet?
  • Meeting with Jim Murphy & Trish(?) Went through Don’s system pretty thoroughly.
  • Added links to help in vis2
  • Add Alert panel to webbapp – started
  • Add code hints to scriptFacades
  • Start on Alert Servlet

Dong Shin 04.14.2010

Phil 4.13.2010

7:30 -3:30

  • There is some new data in the employees tables on site. With some poor picking, there could be some real combinatorial problems. Not sure what to do about that right now. Maybe a warning (“Warning, this may result in a very slow return, do you wish to…?) Dunno.
  • Working on adding alerts. Can create an alert and add it into the db trough ScriptObject. Tomorrow, I need to be able to pull out the list of alerts for ScriptObject, and start on the REST component. Last thing will be to add interaction with Python.
  • Speaking of which, I really need syntax coloring and code completion in the “IDE”. Found some syntax coloring that might be usable on sorceforge. Nothing on code completion.

Dong Shin 04.13.2010

  • continue working on Funding Request editor
    • Save, Request, Send to BF34, Certify, Accept works (updates the status accordingly)
    • Date updates can now be saved
  • working on Triggers to store data logs (SQL’s)
  • mysql> delimiter $$
    mysql> CREATE TRIGGER Employee_Trigger
        -> AFTER UPDATE ON employee
        -> FOR EACH ROW
        -> BEGIN
        -> INSERT into Employee_log
        -> (user_id, description)VALUES (user(),
        -> CONCAT('Id with ',NEW.id,' is modified ',
        -> ' from ',OLD.start_date, ' to ', NEW.start_date));
        ->  END$$
    Query OK, 0 rows affected (0.00 sec)
    mysql> delimiter ;

Feldman Project Log

  • OpenGL works in a similar fashion to our RCS system so I decided that I’ll make a controller for the graphics simulation.
  • Finally got a second sensor stick assembled waiting for silicone to dry.
  • Amp was running extremely hot.  Lowered input voltage to 5 volts. This helped with the heat but there is less range of voltage change then before.  After shielding the wires and lowering the voltage the idle readings are much more stable.

Phil 4.12.2010

8:00 – 4:00

  • Meeting with Anne at 9:30. Then I need to chase down what the issues are with my certs.
  • Add alerting capability to JavaFacades.java. I’m thinking another db that can be accessed restfully that has a list of all current alerts. This does mean that I’ll need some level of CRUD to deal with handling alerts (acknowledge, etc, from outside the system)
  • BLACKPANTHER meeting/demo

Feldman Project Log

  • Did a couple tutorials for OpenGL.  Going to continue this over the weekend if I have time.
  • Tried to use  the new sensor rod.  The hole for the motor axis is too big.  Tried to use tape and heat shrink but it would still not get tight enough.
  • Started fixing the other sensor rod.