Monthly Archives: December 2010

Mike 12.23.2010

  • Came up with a decent restore animation for panels: create a small bitmap copy of the panel at the dock’s location and then quickly transition it to the panels restore location while increasing the image to the panels original size, add the panel back in to the container under the bitmap, finally remove the bitmap
  • Moved the animation and physics engine stuff in to the flex desktop framework and got them working
  • Met with Allen and looked at a sample report for the QuadChart application.  We will need for a starter demo:
    • Datagrids with grouped columns and rows
    • Ability to color columns and rows either by name or by the data they contain
    • Rich text with layout controls
    • A piechart or something that displays selected data from the datagrids would be nice
  • Started experimenting with AdvancedDataGrids and checking out their capabilities
    • Grouped columns is definitely possible
    • Grouped rows can be done by rolling up the data in to a kind of Tree/Datagrid hybrid, can then sum up leaf values in to branch
    • Coloring rows / columns / cells is not  a problem
    • Rich Text should not be an issue
  • Anything beyond is a very static demo is going to require a data backend

Phil 12.23.2010

8:00 – 4:30 VISIBILITY

  • Spent some more time looking at firefox plugin development.After a long talk with Mike, tentatively decided that it was better to go with the DJ Project approach and build a Java wrapper. Spent the rest of the day finding the CVS repo, reading documentation and pondering.

Dong Shin 12.23.2010

  • upgraded Nexus Repo to 1.8.0.1, enabled security so that anonymous doesn’t have full auth anymore. It was also unstable going down without warning, will keep monitoring…
  • working on MySQLDataObject to extend DefaultDataObject

Christine 12.22.2010

  • Apparently I was missing Flex SDK 4 plugin (had hero 4.5 and flex 3.5). Downloaded and added to Eclipse. Now FGMUtils works.
  • Still looking into flexbuilder goal error with MavenAssist create project.

Dong shin 12.22.2010

  • display DB meta info in Tree format
  • created dynamic form based on table meta data
  • creating TableDataObject and TableColumnDataObject
  • <Row NAME=”test” SCHEMA_NAME=”test” TYPE=”DATABASE”>

    <Row DATABASE_NAME=”test” NAME=”doubletable” TYPE=”TABLE”>

    <Row COLUMN_DEFAULT=”” COLUMN_KEY=”” COLUMN_NAME=”value”

    COLUMN_TYPE=”double” DATABASE_NAME=”test” EXTRA=””

    NAME=”value” TYPE=”COLUMN”/>

    </Row>

Phil 12.22.2010

7:30 – 4:30 VISIBILITY

  • Tentatively scheduled my Spider training for Jan 5 at 11:30
  • Looks like you use the NET command to add users, etc using the command line. There are lots of options:
  • Once the user is created, then mkGroup -l > /etc/group and mkPasswd -l > /etc/passwd have to be run to make cygwin aware of the new users. Also, new home directories need to be made. Then the new user can telnet in and everything works fine.
  • Spent a good deal of time looking at making sure that whatever framework we used could support debugging client code. I think the the choice is reall between two options. Either the debugger (and some/all of the dev environment) browser, or the browser runs in the dev environement
    • Running inside the browser means something like Firebug. They have the flashbug plugin, and my guess is that it wouldn’t be too hard to put in additional pieces if we needed too.
    • The other option is to run the browser in the IDE. The DJ Project seems to ba a framework that would support this

Mike 12.21.2010

  • Colored the tooltips to match the default theme
  • Starting work on a smart layout that will suggest window position when asked but not lock windows in place.  It will also, hopefully, be able to save and load window positions from a configuration
  • Got distracted by minimize animations and make a cool physics based one

Phil 12.21.2010

7:00 – 4:00 VISIBILITY

  • Now that the basics of the process-based interaction work, I’m going to make it a useful member of the program family instead of the unstable CPU hog it currently is.
    • Added sleep(10) to the processing loops and made everything work with buffered inputs and outputs. CPU usage is unnoticeable, and responsiveness feels the same.
    • Added watchers for the three threads so they all shut down when the user types “exit”
    • Can navigate around through the OS, run maven and other cool things 🙂
    • Cleaned up the user input so that it is split from the thread that watches the keyboard and the method that sends the command to the process.

On a side note, went out for a lunchtime ride and averaged 18.2, including the parking lot. A nice, summery pace on a day with a 37 degree high.

Christine 12.20.2010

  • Debugging flexbuilder mojos error I continue to receive when using MavenAssist.
  • Checked out FGMUtils and received Flex 4 SDK error. Working on figuring out why Flex plugin isn’t working properly in my environment

Dong Shin 12.20.2010

  • refactored DataObject project to DataManager project
  • imported Phil’s DataManager code to new DataManager project
  • added basic information interface to the DataManagerServer
    • getInfo – list of databases
    • getDbInfo – list of tables
    • getTableInfo – table structure
  • added support for Solr XML format

    Mike 12.20.2010

    Phil 12.20.2010

    8:00 – 5:30 VISIBILITY

    • Ingested some new customer data that has trending! Now I can demonstrate that feature 🙂
    • Working on the ExecShell class. It looks like I should be using ProcessBuilder instead. It was introduced in Jva5 and is a bit more sophisticated. Ideally, I need to be able to use the spawned process (shell?) to run multiple commands, while keeping track of the current directory. Going to try to run the “cmd /k” option, then interact through the processes input, output and error streams.
    • Moderate flailing on the above. Made some progress. Found the following to try tomorrow:

    Mike 12.17.2010

    • Backgrounds
    • Backgrounds
    • Backgrounds
    • Adding a background image to a Flex 4 app is a bit more complicated, you have to created a skin for you app, make an image component and set it on a layer below you application’s content
    • Worked awhile on making the style config panel and binding the options to a background configuration dataobject
    • Worked on the skin to actually draw the background with the selected position: fit, center, stretch, tile
    • Still a few binding issues to work out but almost done

    Tom.DeVito 12.17.2010(Ubuntu notes)

    Problem:

    Set up telnet so it can only be used by localhost

    Solution:

    • sudo apt-get install xinetd
    • sudo apt-get install telnetd
    • add the following to /etc/xinetd.conf:

    service telnet
    {
    socket_type = stream
    protocol = tcp
    wait = no
    user = root
    server = /usr/sbin/in.telnetd

    only_from = 127.0.0.1

    }

    • sudo /etc/init.d/xinetd restart
    • should work from there.

    Discussion:

    The apt-get install command is the command used to download packages for ubuntu and debian.  There are many packages that can achieve the goal of getting telnet to work only for the localhost, but xinetd seems to be the best one.  Unlike standard inetd, xinetd does not use hosts.allow or inetd.conf.  Instead it uses xinetd.conf to do both the service settings and the firewall settings.  If you wanted the telnet server to be accessible by anyone you can take the only_from line out of the service configuration.  Other services can be added to this file as well such as ftp.

    • In order to get ftp working you will first need to get the package by running sudo apt-get install ftpd.
    • add the following to /etc/xinetd.conf

    service ftp

    {

    socket_type = stream

    protocol = tcp

    wait = no

    user = root

    server = /usr/sbin/in.ftp.d

    }

    • restat xinetd by running sudo /etc/init.d/xinetd restart.

    Its basically the same idea but we aren’t restricting the access to only the localhost like we did for telnet, so the only_from line was removed.

    Root Access

    • Root has some undefined password by default.  Run sudo passwd to assign UNIX password.