Category Archives: Rants

Phil 4.28.16

7:00 – 5:00 VTX

  • Reading Informed Citizenship in a Media-Centric Way of Life
    • Jessica Gall Myrick
    • This is a bit out of the concentration of the thesis, but it addresses several themes that relate to system and social trust. And I’m thinking that behind these themes of social vs. system is the Designer’s Social Trust of the user. Think of it this way: If the designer has a high Social Trust intention with respect to the benevolence of the users, then a more ‘human’ interactive site may result with more opportunities for the user to see more deeply into the system and contribute more meaningfully. There is risks in this, such as hellish comment sections, but also rewards (see the YouTube comments section for The Idea Channel episodes). If the designer has a System Trust intention with respect to say, the reliability of the user watching ads, then different systems get designed that learns to generate click-bait using neural networks such as clickotron). Or, closer to home, Instagram might decide to curate a feed for you without affordances to support changing of feed options. The truism goes ‘If you’re not paying, then you’re the product’. And products aren’t people. Products are systems.
    • Page 218: Graber (2001) argues that researchers oten treat the information value of images as a subsidiary to verbal information, rather than having value themselves. Slowly, studies employing visual measures and examining how images facilitate knowledge gain are emerging (Grabe, Bas, & van Driel, 2015; Graber, 2001; Prior, 2014). In a burgeoning media age with citizens who overwhelmingly favor (audio)visually distributed information, research momentum on the role of visual modalities in shaping informed citizenship is needed. Paired with it, reconsideration of the written word as the preeminent conduit of information and rational thought are necessary.
      • The rise of infographics  makes me believe that it’s not image and video per se, but clear information with low cognitive load.
  • ————————–
  • Bob had a little trouble with inappropriate and unclear identity, as well as education, info and other
  • Got tables working for terms and docs.
  • Got callbacks working from table clicks
  • Couldn’t get the table to display. Had to use this ugly hack.
  • Realized that I need name, weight and eigenval. Sorting is by eigenval. Weight is the multiplier of the weights in a row or column associated with a term or document. Mostly done.

Phil 3.26.15

8:00 – 4:00 SR

  • Tested threejs on target browsers. The hardware acceleration is iffy, but the software renderer and the raytracer work fine
  • Deployed Dong’s FR fixes
  • Working on splitting the chart elements into their own module.
  • Argh! Fat arrow functions can’t inherit in TypeScript! Thinking about making a mapping table? Something like
    • fooPtr = (var:number):void =>{…};
    • fooFn(var:number):void{fooPtr(var);}
    • ????
  • Set up and implemented an interface for calculating behaviors, which works nicely:
  • public behavior = (dClock:number, elapsed:number):void => {
       var rb = this.wglCanvas;
       var ci:IChartElement;
       var i:number = 0;
       if (rb) {
          rb.dprint("Hello controller - sin(elapsed) = " + Math.sin(elapsed).toFixed(2));
          for (i = 0; i < this.chartElements.length; i++) {
             ci = this.chartElements[i];
             ci.setZOffset(Math.sin(elapsed + i));
             ci.behavior(dClock, elapsed);
          }
       }
    };

Christine 02.28.2011

It’s been a while, but I wanted to compile a bunch of info before posting since my schedule has been so sporadic.

  • Been working with Tomcat/Eclipse/Flash setup on both Mac and Windows.
    • SSL: Although Dong sent me his .keystore file, it was out of date and contained his info. Created new certificate keystore, then modified settings.xml file.
    • Took a few steps back to try and get a test project working. Combining Phils steps with additional documentation, I was able to successfully get a Flex/Java project working on both mac and windows… with one snag. Question: Why does Tomcat’s settings.xml file reset itself when using Tomcat through Eclipse? (side note: my Mac and Win eclipse are set to “use Tomcat Installation”) Here’s what I found – after modifying the settings.xml file to use SSL, when I use Tomcat through Eclipse SSL is no longer enabled. When I check the settings.xml file I find that it’s been reverted back to its original state (with the SSL connector info commented out and the keystoreFile info removed). Is there a way around this?
    • As for getting a test project to work, I ended up downloading BlazeDS.
      • In Eclipse I start a new project by going File < Import and selecting Java/War file. Name my project and click "finish".
      • Right-click on the project and select “Add/Change Project Type” < "Add Flex Project". I configure the server type to be BlazeDS and click 'Next'.
      • The following screen should be configured as such: Root Folder-Point to the WebContent directory of your project, or if you changed the name point to the folder with the WEB-INF and META-INF directories in it; Root URL-end with project name; Context URL-is the last part of the URL minus the ‘/’. Validate the server location and click “Finish”. (You may see a “Recreate HTML Templates” error in the ‘Problems’ view. Right-click and fix)
    • After this was set up, I moved over the xml files from a working project (see Phil’s post, step 9). Because I created the project as an import using BlazeDS war file, the (basic) jars needed were already imported and a web.xml file was already created. So then I refreshed, rebuilt and tested by going to “http://localhost://messagebroker/amf&#8221; and it worked. yippee.
    • But my celebration ended abruptly when I tried to test the secure messagebroker only to discover that the settings.xml file was reverted back to it’s original state. Need to find out why.
  • Thanks to Phil for helping me deal with Window administrative issues that was making it impossible to run Tomcat. Windows and I have been through a few counseling sessions and we’re starting to get along

Christine 01.17.2011

My adventures in the world of Windows continues.

  • Ended up getting a windows laptop. Spend day configuring (and re-configuring) it. After getting FGM environment set up, I was able to successfully run MavenAssist without the funky errors I was receiving on the other laptop.
  • Before testing AirFileImageAppMaven, I took a look at the configuration and user settings tab in Maven Assist. I notice that my slashes are combined. Ex: Under Configuration, Maven Home is C:Applicationsmvn3.0.2bin/mvn.bat. And under my path, all Java’s jre6 directories are using forward slashes (unix-like), and all of the other directories use backslashes.
    Along those same lines, under User Settings, the path to my Settings.xml file is using a combination of both backward and forward slashes (poking around, I found that in UserSettings.java there is no check to see if OS is Win or Mac & automatically it appends conf/settings.xml, which explains this forward slash). I also clicked ‘Validate’ to see if it would work and received “Java Session 1.6 is invalid!” I’m sure it’s the wonkiness of these slashes.
    So for the Win users out there, why would this slash change be happening? Is there someplace specific I need to check/modify?
  • That being said, and not being sure about the forward/backward slash bit, I still gave the AirFileImageAppMaven a go. Fail. Figured it has to do with the slash issue, but I wanted to check it either way. When I went to set the POM file I got a “Error on Line 1 of document: Premature end of file. Nested exception” and Eclipse was showing a NullPointerException.

Phil 9.13.2010

8:00 – 10:00 VISIBILITY

  • Slow on site. Talked to John Williams. He likes the idea that we’re getting a cloud based Sharepoint Server. Also, the whole SiteWorks deal is that if there is a web developer component to a team, then SiteWorks can’t take any work away from that developer.

10:00 – 11:30

  • Ran cables top hard-wire our computers in because the wifi was too awful to use.

11:30 – 2:00 VISIBILITY

  • Flex in a week
  • Walked through project setup for PPM going forward with Dong
    • The release version only has pgfeldm as a user (Admin privileges). Database is clean except for budget info (FY10 O&M, procurement, etc)
    • Default build is ProjportfolioMgrBeta.swf
    • Background image says “BETA”
    • Manual copy of the swf to ProjPortfolioMgr.swf when all tests are passed
    • There is a separate build for anything that changes the database. SWC has a background of “ALPHA”, and the java talks to a different database (project_portfolio_dev). This gets built and deployed to a different war file than the current release version so that testing can occur without harming the release version

2:00 – 5:00

  • Approved changes on provisional patent
  • Started on SIGCHI 2011 paper.

Feldman Project Log

  • Strain gauge amplifiers need to have ground attached to negative on the power supply not V-
  • Attached is a Better Diagram for straing gauge amplifer set up
  • Increasing the gain on the amp and decreasing the offset makes strain gauges more sensitive but they tend to loose calibration easier so a higher deadzone is required
  • Pushing on bar right on motor1 makes motor 2 go clockwise, pushing left makes it go counter-clockwise
  • Motion is currently very jerky because it simply goes to angle and has to stop for a cycle before going again.  This is a problem in the stepper controller which needs to be changed anyways so that we can have a more analog input of speed.
  • Since there is no set velocity method we will probably have to set max velocity and change it on the fly.  I think setting it to a position that it will never be able to get to and changing max speed will give it a servo motor type functionality while still having accurate stop points if we need them later.  Need to add a set max_pos command to stepper controller and set max_speed so that it can be changed to negative when force is couter clockwise and positive for clockwise.  Max_speed will very proportionally to the amount of voltage registered.   The same principle will work for the controller motor(assuming it works at all) except max_pos will change depending on the force of the collision motor 2 encounters.
  • Calibrating the strain gauges is a little tricky.  Seems some combination of settings hold the calibration better.  There is a problem when the power cuts off that it doesn’t reset to what it shut off at.  Once its been on and off a couple times it seems to hold better.  This may be due to the difference in resistance between the strain gauges and the resistors or that the gain is set too high because of the resistance of the strain gauges. Might try using the the variable resistors to lower the resistances not sure if that will help.

Feldman Project Log

  • Attempted to wire strain gauges.  Not working at the moment.
  • Called the guy at Industrologic.   The only thing I really got out of this was that the resistors had to be very close together which they are. He also recommended against changing the potentiometers on the VRO and VRG at this point. Besides that the conversation kinda went the way it goes when I try to explain to someone how to fix their computer over the phone and they don’t know where the control panel is.  I told him I would call tomorrow when your in so that maybe between the two of us we can figure it out.

Feldman Project Log

  • Got the buttons working so button 0 starts it button 7 stops it
  • Anytime a command is received make sure as part of the check that it isNew() and then after it runs it acknowledge() it so its no longer a new command.
  • Set output 0 to always be on so we will have power for the strain gauges
  • Powered up second motor that has completed strain gauge bar on it.  Holding torque seems high enough for our purposes not sure about how much it will be able to push back before stalling while moving.
  • Command, Response, and State all now display which device is receiving or responding.
  • Need to change the way motor moves so it can be interrupted while moving.  Currently it waits to stop before receiving new commands.

Dong Shin 03.23.2010

  • Add Project working
  • Program Manager and Program Supervisor information gets added to ProjectViewer on Project Builder
  • Financial information (Funding) can be added/removed from Project Viewer

Feldman Project Log

  • Added Output for command, response, and state.  Currently it does not tell you which device though will need to work on that next time.
  • Added bool isRunning function to steppercontrol so the program knows if the motor is running and sets and holds the state appropriately
  • Fixed the decision process might not be exactly the way its supposed to but it works.  Added move and reset states to PhidgetsExec’s states to diffientiate between forward and back commands.
  • Realized that motor going in reverse is negative velocity hence why it was going forward no problem but on the way back was being interrupted.
  • Currently does a 360 degree rotation and then goes reverse back to start.