Author Archives: pgfeldman

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.

    Phil 12.17.2010

    8:00 – 4:30VISIBILITY

    • Meeting with the new TD of S2F, who’s name I can’t recall. It went well. He want’s a diagram of the tables in PPM to figure out what he can do with them. He also liked the idea of being able to use the scripting engine to read and write RESTfully to a Sharepoint DB. Something that he’d like developed is PKI-enabled opening of a dashboard or slide show in VISIBILITY. More as this progresses.
    • Spent the morning getting a printout of the structure of PPM.
    • More work on the Telnet client/OS interface framework

    Dong Shin 12.17.2010

    • created Maven SWC Project, FGMUtils, using Flex SDK 4. Adding stuff as we go
      • added ConfigManger, Loggers
      • installed, deployed to fgmdev.com, checked in to svn as well
    • PPM ER Diagram for customer?
    • add debug flag to pom.xml for Flex App
      • <debug>true</debug>

    Mike 12.16.2010

    • Started combing everything in to a new application framework which is going to look at lot more like a Mac desktop
    • I started out trying to create 2 separate Flex library project: FGMUtils and FGMGraphicUtils but all the graphics stuff required references to FMUtils so I just combined them in to FGMCoreLib
    • Created a MenuBar that pulls it’s menu option from another class that manages them.  This other class will monitor the data model and listen for event pertaining to menu options (maybe a swf module gets loaded with new apps or who knows what).  It also removes all that code from the main app file which can get out of control with a massive switch case statement
    • Added the creation date class Dong found in to my debug panel after updating it to work in Flex 4

    Next on the To Do:

    • Background images
    • Add in the Dock bar
    • Log in screen

    Dong Shin 12.16.2010

    • deployed BlazeDS jars to one single Group ID – com.adobe.blazeds
      • flex-messaging-common 4.0.0.14931
      • flex-messaging-core 4.0.0.14931
      • flex-messaging-opt 4.0.0.14931
      • flex-messaging-proxy – 4.0.0.14931
      • flex-messaging-remoting – 4.0.0.14931
      • cfgatewayadapter – 4.0.0.14931
      • xalan – 2.6.0
      • flex-rds-server 1.5.0
      • commons-codec – 1.3
      • commons-httpclient – 3.0.1
      • commons-logging – 1.0.4
    • finally got BlazeDS up and running from Maven
    • flexmojos:flexbuilder doesn’t create project files properly for Flex SDK 4.0, manually add name spaces
    • Flex 4 webapps needs some dependencies? These are added to the output directory from Flash  Builder, but not included from pom.xml…. causing Remote Methods to fails and other problems….. updated pom to use these, but fails!!!!
      • framework_4.5.0.17689.swc
      • mx_4.5.0.17689.swc
      • osmf_1.0.0.16316.swc
      • rpc_4.5.0.17689.swc
      • spark_4.5.0.17689.swc
      • sparkskins_4.5.0.17689.swc
      • textLayout_2.0.0.139.swc
    • using Flex 4.0 SDK results in different swc’s
      • framework_4.0.0.14159.swf
      • osmf_flex.4.0.0.13495.swf
      • rpc_4.0.0.14159.swf
      • spark_4.0.0.14159.swf
      • sparkskins_4.0.0.14159.swf
      • textLayout_1.0.0.595 ????? 4.0.0.14159?
    • turned out Maven builds swc included
    • services configuration needed in Flex Project in order to work with BlazeDS – source/main/resources directory

      Phil 12.16.2010

      7:30 – 9:30VISIBILITY

      • Meeting with S33P folks Thursday the 23rd at 11:00
      • Brought in my other old windows box to Linuxify

      9:30 – 12:30 FP

      • Finishing paper
      • Ordered an audio oscillator and small amplifier kit. I had the thought last night that sound plus vibration could either augment the kinetic interaction, or possibly replace it. If that’s true, then it’s possible that we might be able to get by with simple force sensitive resistors, which would be pretty cool…

      12:30 – 5:30 VISIBILITY

      • Working on commons-net telnet sandbox application
      • Hmmm. MavenAssist isn’t creating eclipse-compatible jars. Looking into that.
      • Success!!!  To get the listing below, the program started telnet, logged in to 127.0.0.1, and sent the command ‘ls -la’ to the Cygwin intetd:
      • drwxr-xr-x+ 1 phil.feldman ????????       4096 2010-12-15 13:52 .
        drwxrwxrwt+ 1 phil.feldman Administrators    0 2010-12-15 13:26 ..
        -rw-------  1 phil.feldman Administrators  328 2010-12-16 17:02 .bash_history
        -rwxr-xr-x  1 phil.feldman ????????       1150