- thought the save problem in Visibility Scripting had gone away magically…
- found a bug in storeScript method in ScriptObject.java in VisibilityScriptingServer
- added try – catch for Integer.parseInt
- updated sqlStr for intervalMinutes
Dong Shin 06.28.2011
- revisiting Scripting
- projects_under_budget.py can now be saved…. no more errors
- questions
- What projects are under #% under budget?
- What managers/Financial people have project > 10%?
- What projects are overdue?
- reworking project_under_budget.py to retrieve the data
Mike 6.27.2011
- Reworked the welcome screen so each Application has it’s own description available prior to launching the app
- Redoing the module loading so for each IApp class a ClassFactory is passed around instead of a raw Class, this lets me attach things like titles, descriptions, and icons at run-time
- Created a generic SWF Loader IApp that, at run-time, a user may enter the url of a swf and load it as an application
- Was able to load WebDesk inside of itself at total of 9 times before i ran out of room (Webception)
- Trouble with loading visibility: the config file is not found since it is a relatively URL and not absolute, quick fix is to copy config files to local deployment
- Extended the ClassFactory implementation to allow pre-configuration of swf loaders
- In the webdesk config file, I put a line describing a remote SWF I’d like to make available as an App
- Once the applications starts, that app is loaded and added to the welcome screen beside all the other existing apps
- This removes the requirement of the user entering in the URL
Phil 6.24.11 – 6.29.11
Off living in a tent, doing Bike Virginia. You may be able to reach me on my cell (410.300.7293) or my home email (phil@philfeldman.com)
Mike 6.23.2011
- Deployed the WebDesk and SCT Document tool to FGMDev and worked out several bugs in the process. Did NOT add pages describing it or linking to it yet.
- Few more touches to the welcome screen. Probably going to restructure it again to provide a description screen or each application
- Tried debugging an issue with the JDBC connection failing every night but my fix apparently didn’t work since I still had to restart stuff this morning
- Read some about Search Engine Optimization (SOE) for flash sites. The most recommended way is to provide alternative html content for people without flash player and kill 2 birds with 1 stone. For us, this could be as simple as copy / pasting the Visibilty, PPM, etc. descriptions to a couple simple HTML pages or as complicated as pulling them from a database for both the flash and html presentations.
Phil 6.23.11
7:30 – 5:00 VISIBILITY
- I’ve reinstalled Ubuntu 10.10 after all of yesterday’s (failed) efforts. Trying FreeNX, following the directions here.
- Installed openSSH
- apt-get install freenx took *forever*. I think it installs gnome…
- Might need this later – we’ll see.
KDE didn’t work, but GNOME did! Looks nice, and the server required no addition of the desktop outside of the basic install. However, it seems to have limited functionality. For example, I can’t launch a terminal window and the ‘Accessories’ menu is not there.- Going to try installing the standard ubuntu desktop (i.e. apt-get install ubuntu_desktop. Well, another long install, but things work quite nicely now.
- Installed Eclipse (New version – Indigo!). Needs Java
- Installed Java
- Worked on the server some more. Sent Jeff an email with a link to a page that show how to set up the interface.
- Talked to Vernon about my login problems. He thinks that it’s the result of a reorg they are going through. Still no luck with my SSL port.Testing the new PPM. It appears to still be missing the capability of setting it so that a user with a particular role is only able to see projects that they are associated with (as a Program Manager, Financial Analyst or POC(?). Added as bug 6097.
Tom DeVito 6.22.2011
Start: 10:40
Arduino Communications:
- Wrote a sketch to handle the communications and deserialization on the arduino side
- Everything should work but I need to fix the PC side deserialization which is currently setup as a test method
- Once I know all the methods work I will put them into a ArduinoCom library to keep the main sketch from getting cluttered
- sendData may need some stuff added to it.
Notes:
- It is fine to send the DataElements individually instead of one buffer which is how I thought it had to be done
- Serial.write needs a uint8_t* to the buffer. I figured they are both 8 bit pointers so I just casted my char*.
End: 5:30
Have to be somewhere at 6:30 will make up the extra hour and change tomorrow.
Phil 6.22.11
8:00 – 7:00 VISIBILITY
- More headless server stuff
- Gave Brian hard copies of SPF to give to Jeff
- Got an email stating that I had filled out all the forms correctly for the SSL connection. Not that anything would be done, mind you, but that I had asked correctly.
- And the PuTTY connections to the Test and Integration machines no longer work. Going to talk to Allen about this tomorrow.
- Meeting with Dee Cutler at 4:30. Discussed potential customers and work for VISIBILITY as well as other possible work we could do.
Tom De Vito 6.21.2011
Start: 10:10
ComConsole:
- Made a library for the ComConsole, ComMgr, and Printable classes
- ComMgr’s sendData, recieveData, and toString were set to virtual
- Not sure why but, when I added the libraries to a new project, it complained about the libraries being in RELEASE instead of DEBUG. They both worked in the other project and I couldn’t find any properties for this.
- Recompiled them as DEBUG
DataDictionary:
- Changed all instances of 32-bit integers to 16-bit so the Arduino matches up.
- Added type parameter and associated methods to DataElement.
Serialization/Deserialization:
- Figured out how to extract data from the receive buffer.
- Tested the PC side Serialize and De-serialize.
- At first I was copying the DataElement out of the buffer but eventually figured out how to read it straight from the buffer
- Started writting a method for the arduino to Deserialize.
End: 6:30
Dong Shin 06.21.2011
- PPM bugs found by Phil
- Available Balance in Financial Status not correct – fixed
- Remote Objet Fault on Register – fixed
- Change Password and Hint – added check for empty field
- Roles not working properly after changing password – fixed
- uploaded the new PPM
Phil 6.21.11
8:00 – 10:00 VISIBILITY
- Testing PPM
- Installing VNC server on the Ubuntu server. Found some information about headless VNC servers here:
Tom DeVito 6.20.2011
Start: 10:00
C++ Libraries
- Just use the .h files from the library source. I thought they had to be special.
- If you don’t want to change a bunch of properties you can drop the .lib and .h files in the source root directory
- Phil recommended making include and lib directories in the source folders to help with organization.
- On the arduino side it seems you cannot use pre-compiled libraries. I looked all over and could not find one example of someone who used anything but the source.
- Put the source into a folder and then drop it into the libraries folder of the arduino IDE.
- Make sure to disable pre-compiled headers for non-windows libraries.
- new and delete are not defined properly in the arduino IDE. The following is needed for these functions to work properly.
#include <stdlib.h> // for malloc and free
void* operator new(size_t size) { return malloc(size); }
void operator delete(void* ptr) { free(ptr); }
Communication:
- Setup serialization methods to return a char*.
- Changed getData to have a special case for remote data which it handle differently.
End: 6:30
Mike 6.20.11
- Created a number of example applications using the Webdesk framework:
- One which simply loads xml configuration information and connects to a remote logging service defined in that config
- One which loads several themes and backgrounds and allows the user to change them
- One which loads a simple application module and adds it to the desktop, the sample application adds children windows as well
- Added a permissions check system to the SCT document manager application. Before any user could do anything but now proper permissions and ownership of documents are enforced. However, any user can view any document for now.
- Implemented a guest system. Guests, for the SCT document manager, can only view documents.
- Created a welcome screen for Webdesk framework. It displays all available applications from loaded modules and allows quick access to them. In the future it may also allow quick access to recently viewed items
Dong Shin 06.20.2011
- uploaded PPM to fgmdev.com for deployment – /exchange/PPM062011 directory; swf only, no DB updates
- troubleshooting VisibilityScripting – not saving scripts….
Phil 6.20.11
7:30 – 4:30 VISIBILITY
- I turn on the computer this morning and Adobe tells me that they want to update Air and FB 4.5. Download estimated time : 20 minutes.
- And now I have 4.5.
- Seems to be the day to update things. Linux and Vista and 7 oh my!
- This looks like fun:
- videos:
- http://tv.adobe.com/watch/adc-presents/flex-mobile-part-2-navigation-and-lists/
- http://tv.adobe.com/watch/adc-presents/flex-mobile-part-3-debug-and-package-apps-for-devices/
- http://tv.adobe.com/watch/adc-presents/build-ios-applications-using-flex-and-flash-builder-45/ (shows how to get certs from Apple and package code to place in you iTunes to download onto your phone)
- Articles
- videos:
- Back to VNC. I seem to be unable to connect to the desktop unless it is already running on the server. Looking into that
- Whoops – wrong ip address. Let’s start over….
- Yeah – the server is already running, but you have to be logged into it to enable a connection. Going to try to set up the pure server configuration.

You must be logged in to post a comment.