Category Archives: Rants

Phil 12.6.17

7:00 – 6:00 ASRC MKT

  • Best Free Alternative PDF Viewer to Adobe Reader
  • Downloaded Modeling Political Information Transmission as a Game of Telephone and gave it a skim. It  looks very much like this is an example of dimension reduction. To refine the idea, there need to be several conditions that lead to a stampeed
    • Dimension reduction and alignment need to occur across a population. It’s no good to have dimension reduction if everyone is pointing in a different direction.
    • The belief has to be ‘containing’ in some way. Either by social interaction (trust), or a lack of awareness of other ideas, it needs to be difficult to break out of.
      • This can be manipulated by external actors posing as trusted members of the group. Direction and level of uniformity can be influenced.
    • It has to be dynamic. A static belief provides the implicit ability to move away from it in any direction. A belief that is evolving fast enough maintains alignment by focusing the need for novelty (exploration?) in one direction.
  • Starting Schooling as a strategy for taxis in a noisy environment here
  • Demo
  • Chaining of matrices should be possible. Imaging an author/term matrix and a document/term matrix. Raising the weight of the author raises the weights on the associated terms. Those terms can be multiplied by the weights in the document term matrix which should result in a correct(?) re-weighting.
  • Chat with Shimei after picking up my gps
    • The Rat Park Experiment
    • Smoking and the bandit: A preliminary study of smoker and non-smoker differences in exploratory behavior measured with a multi-armed bandit task
      • Advantageous decision-making is an adaptive trade-off between exploring alternatives and exploiting the most rewarding option. This trade-off may be related to maladaptive decision-making associated with nicotine dependence; however, explore/exploit behavior has not been previously investigated in the context of addiction. The explore/exploit trade-off is captured by the multi-armed bandit task, in which different arms of a slot machine are chosen to discover the relative payoffs. The goal of this study was to preliminarily investigate whether smokers differ from non-smokers in their degree of exploratory behavior. Smokers (n = 18) and non-smokers (n = 17) completed a six-armed bandit task as well as self-report measures of behavior and personality traits. Smokers were found to exhibit less exploratory behavior (i.e. made fewer switches between slot machine arms) than non-smokers within the first 300 trials of the bandit task. The overall proportion of exploratory choices negatively correlated with self-reported measures of delay aversion and nonplanning impulsivity. These preliminary results suggest that smokers make fewer initial exploratory choices on the bandit task. The bandit task is a promising measure that could provide valuable insights into how nicotine use and dependence is associated with explore/exploit decision-making.

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 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.

Mike 3.19.2010

  • Added the ability for users to click on a specific map marker and edit the icon
  • The map will also look for an “icon” column containing the name of an uploaded icon, if it finds one it will display that icon instead of the default marker

Feldman Project Log Day 3

  • Switched from using enums to having objects for the commands, states, and responses.
  • The decision process still needs to be changed to work with these changes.  Other then that it compiles and runs without errors.

Dong 03.11.2010

  • user permissions working!
    • permissions at database level can be set
    • permissions at table level needs special care and attention
  • testing user permissions and refining UI

Feldman Project Log Day 2

  • Worked with Phil to get framework together
  • Got it working.  Need to declare Enum completely in parent class so all states that children are going to use should be declared there.
  • Must use parent variables for Enum.  If not they will not be able to set equal to the other.
  • Made angleToSteps formula _angle/1.8 * 16 this seems to work very accurately.  Obviously the Stepper with the gear box will need a separate formula to move it correctly but this will work for the other 2.
  • Tried to get it to loop the movement not working currently.  Only move once per run.