Wednesday, May 2, 2012

Final week

So I haven't been a prime mover this past week since others have taken up the task of presenting/doing marketing.  I'm alright with that.  I have donated work in the form of coming up with the overall idea for the presentation, and I added the technical slide.  I also reviewed and slightly edited the paper we will be handing out.  So not big work, but I'm participating.

Since that's about all I have to say, I'd like to throw in this conversation I had with Joe:

Joe:  (In response to the classes I'll be taking next semester) Mmmraahhaaa.
Me:  wwwwwwhaaa????
Joe:  Twas my ackley impression...
Me:  That was more like an internet troll being discovered.  Ackley's is more like years of suppressed disappointment slowly bubbling up a little at a time.

As far as I know, that's what it is.  Any theories otherwise are welcome.

Wednesday, April 25, 2012

TTS Beta

I received special treatment in that I was awarded 5 of the prestigious Table Top Studio beta keys.  Using all of one key, I played around with it for a couple of hours.  If you don't know what these are talking about, I won't explain them since it is specific to the beta test.  This is what I was able to come up with:

1) Maybe an x on the top right of the components when you add them, instead of just having to make the quantity 0 to remove it.

2) Have an option to make an image in the component wizard scale to fit the red or blue outline.

3) Move up and Move down don't seem to do anything in the double click menu of the component wizard, specifically for the board. -- Oh I get it, as in layers like if there are multiple images. I thought it meant move up (-y) and down (+y). Maybe instead of up/down it could be forward/back?

4) For the Game Box, the items in it seem to have a large number of dotted lines. Why? (Especially around the labels)

5) Make the spinboxes for the quantity editable? What if I want 100 of something, then clicking 99 times might get annoying.

5.5) It seems like you send a message to the server each time I click the spinbox + or - signs. With my internet being oddly slow this makes clicking 12 times take a while. In the order of seconds per click. Might just be me though.

6) Resizable Game Box?

7) Every time I add a component, the scrollbar resets to the top.

8) What is the scale of the images used for the default stuff? So are the houses the same size as the planes?

9) If the value is $0.70 it shows up as $0.7, should keep the 0 at the end.

10) Dimensions for the components <---- Biggest thing possibly.

11) Is making custom cards possible?

12) Board costs is N/A? What does that mean - I get one for free?

13) Sum the costs in the game box.

14) An error occurred during saving, but I immediately retried and it seemed to have worked. Could be my internet.

15) Why is there a continue button on the loading window? I pushed it once, the game stopped loading.

16) Loaded components aren't in the same order that I saved it in.

17) Not sure if I like the border lines going away when I mouse over them.

18) Images in the component wizard can be taken out of any reasonable boundaries and off screen where they can never be retrieved.

19) If I zoom out of the board making wizard, insert a small image, resize the image to fit the board, then zoom back in everything gets wacky.

20) Saying that I finished making a custom board closes the wizard, maybe I didn't want to stop wizarding?

21) How do I edit a custom component that I previously "finished".

22) Items in the available images section are oddly arranged in a checkers diagonal fashion.

23) Have an option to zoom to fit the item to the current window size?

24) For the 6 sided dice, how are the faces arranged on the actual dice? So is face 1 adjacent to face 2, and face 3 is opposite face 1?

25) Why are all the components I've added to the Game Box now in the Available Images part of the wizard?

26) Can you make it so when I click something on the Show Components->Default Components menu it doesn't go away and I can keep checking things off. Instead of having to reopen the menu for each item.

27) The names for my custom components aren't staying. I gave something a name, then pressed finish and it shows up as "Untitled" in the Game Box.

28) The back button while editing a component is on top, if I press it then a new back button is on the bottom. Keep it on one side?

29) Maybe if I double click on a component in the Game Box, it opens it in the wizard to edit?

30) I moved a window such that the title bar is too high and I can no longer get to it. This also means I can't move it back down.

31) I pressed f5, in the play test env and it said I hadn't logged out. I selected continue and it reloaded fine.

32) After reloading, I joined the same view I had made with the game board and pieces on it. The game board was on top of everything this time and I had to move it down.

33) Does it make sense to be able to close the communicator? I can have it to where all I have is the list of pieces in the box. That doesn't do much good by itself.

34) Instead of having every element expanded in the Game Box, just have them stack on each other? So instead of having 5 blue stick images, I have one with a little 5 in the bottom right.

35) I can have two views with the same name.

36) Changing the zoom on a view didn't resize all of the images. The board resized, but not the pieces on it.

37) If I spam the chat box, my messages will accumulate in the entry box. Only when they are sent is the box cleared. Maybe just clear it on the client side as soon as a newline is hit?

38) I've logged into multiple guest accounts for a play test, and each time I logout/log back in under a diff account my old accounts still remain in the views.

39) Due to #38, I can't remove views. How do I remove users from a view?

40) Got a NO_SESSION_CREATED error. Don't really know why. I f5'ed into another account again and immediately tried to send a message. I didn't join any views. The game pieces and views from my other sessions were there though. After getting this message all the views and game pieces are gone.

41) I was typing a lot in chat, and usually it scrolls down to the newest post when one is made. I don't remember when this started happening, but after a point it didn't scroll anymore. I was unable to recreate this.

42) For some of the input boxes, do the obvious action if I hit enter.

43) Auto join the view I create?

44) When I put in a different url while in the PTE, it says it cannot connect to the server before the new page loads.

Overall 44 items.  I was able to make a Settlers of Catan game pretty easily.  

Monday, April 23, 2012

Winding Down

As far as I can tell, I've done everything I need to for the gui.  I came up with a good idea for the presentation this week, and the .ppt is in the works.  We plan on using a video demo.

Midterm reviews are supposed to be going out this week.  I know it was meant to review for the middle of the semester, but I'm worried it will put me into depression.  My personal review wasn't good, but since then I've worked a lot harder.  Having that come back again won't be fun.

Thursday, April 19, 2012

What it could have been.

These are my thoughts on Joe's group and the Table Top Studio.

On some levels I'm happy that I'm not in the group, and on most of the levels I'm pretty sad.

From what I'm constantly hearing they are working really hard on their project.  I doubt I could have put the same amount of work into it as Joe or Stephen.  If I did, I probably would have been miserable.  That being said, I think I could have done a million times better than what I've heard Stephen L has done.  Maybe, if I had been in the group the need for Joe and Stephen to work insane hours wouldn't have happened nearly as much.

What I really miss, is the opportunity to be apart of the group.  I'm really good friends with Joe and Jan, and I know Stephen from a few classes and I really think he is a guy I want to get to know.  I don't know Brady much, but we chat every now and then at work.  I think it would have been a really good group, that could achieve many things.

From the word about the amazing super progress they've made I can't believe how I could have done any better, but I'm sure I would have done great.  If Joe would make a start up, I'd join it instantly.  That guy is going somewhere, and I want to be along for the ride.  If TTS becomes big, I'm going to be so sad that I wasn't there when it started.  To think of the opportunities I've missed, I'm sad.

This summer I'm signing on to the team though, so I will be a part of it.  Sadly though, it will be after the feverish grind and I'll be coming into it without any idea of what is going on.  Should be fun though.

Frustration Levels Rising

Grrrrr

I did pretty much all of the programmatic things I needed to do Monday.  That day I also sent out an email with some questions/issues that needed to be resolved by other group members, such as:

  • What method do I call to do ___
  • I think this functionality should be in your module because ____
You get the idea.  I still haven't gotten a response yet from anyone.  Most of this stuff is pointed towards Chris, because its pretty much me and him that own the code.  Daniel has a bunch too, but the issues are usually between me and Chris.  I just can't ever get a reply from the guy in email.

My other task this week was to debug the apscheduler issues we were having.  The schedules the gui was generating weren't working for some reason.  I went over the syntax again and saw a minor change I could make, but other than that it seemed fine.  I wanted to test the save files then and required to start the daemon.  The daemon has been the white whale for Chris for the past few months.  He's always had problems with it and is always fighting it.  I don't know the details, but he seems pretty determined to get it to work.  Recently though he said it was pretty solid, and should work.  So I ran the cernentd module on the command line with no args just to see what it would do.  I got "start|stop|restart".  Makes sense.  I tried again with the argument start, and looking at our log file saw something about shutting down the thread pools. Odd...  I tried again with stop, and got a "Are you sure the daemon is running" sort of deal.  The log file also said the threadpool had been started.  Being thoroughly wierded out, I tried the last option restart.  This threw an exception.  So when our daemon control module starts it stops, when it stops it starts, and when it restarts it dies.  I checked to make sure I had the latest update, and I did.  So I sent Chris specifically an email detailing the encounter.  I have yet to hear from him, and this was Wednesday.  I feel really bad for not working on the project much, but I keep hitting these barriers waiting for simple things from other people that are just ignored.

I think Chris bit off more than he could chew.  He's doing pretty much the whole back-end, which deals with managing the daemon, reports, and all the command line stuff as well as the reporting framework.  Last I talked to him he said he was going to reword the reporting framework to get rid of some hardcodings and such.  I haven't seen his code, but from what I hear going on he hacked it up for demo purposes and now we're dealing with the consequences.  I wouldn't mind helping, but it would mean he would have to stop ignoring me first.  I'm sure he's not doing it on purpose, he's just too bogged down to pay any attention.  I don't think this has anything to do with alfonso, I think that if we would have egged him on to do more things, we'd have multiple areas that we would be having problems with.

Brian_D is working on non code stuff.  It seems like he is being rather productive too.  That's good.  We came up with a pseudo marketing plan as well.  Just trying to get posts on I.T. related blogs and posting on the nessus forums about it.  I think that is all we should really do, this isn't a product with a large target audience.

I don't know what Daniel is up to, but I'm sure hes busy with something.  From what I've known from him he is always taking really hard classes, so I can understand if he's booked.

Alfonso is probably doing nothing.

Monday, April 16, 2012

Starting Early

So this week I'm trying something different.  Instead of starting my goals on wednesday leaving two nights to finish them, I've started much earlier in the week.  I haven't had a problem yet, but for some reason I it just seemed easier to start now.  What I'm doing is just small gui stuff here and there, such as a status bar so when the gui loads stuff from the nessus server it will say that it is loading, instead of just pausing.  Also, if you try to select a server in the listbox, and for some reason the connection fails the listbox item turns red and the status text tells you that it can't connect.  Then I made some graphical changes to the launchpad again, its starting to look like it did when I first made it.  Odd.

What I still need to do is have the gui respond to validation checking.  This means when something is set, I ask the ScanEvent if it was actually valid and then reflect this in the gui.  Then I need to talk to Chris about the daemon controls.  Apparently something funny is happening when you try to start a daemon using the gui controls.  It seems like the current process dies and the daemon starts.  This means the gui will die if you start a daemon through it.  He said he wanted me to spawn a new process to start the daemon, but this sounds like something for the daemon controller to do.

Thursday, April 12, 2012

Prepare for code review!

Thats what I've been doing since I got home at like 3pm.  I went through all of my code, which is the majority in the project.  Since I own the majority, I felt the most pressured to do well tomorrow.  I'm usually proud of the quality of my code, but since I didn't know python well from the start I have some concern that something will be found.  For the most part I expect it to be, "oh you could have named this better".  If that is the worst of my fears, then I think I'll be fine.  Most of what I did today was commenting with the sphinx scheme, which is very close to javadoc.  I did the usual if its not private comment it scheme.  About 90% of my code is in private methods, since most of it is gui boilerplate.  So for the "private" methods, I prefixed them with "_" so I know.  This seems to be the standard in python.

The biggest area of concern for me was the ScanEventEditor.  It is probably the largest single module with about 850 lines of code.  Humongous, I know...  Anyways, my problem with that is python likes to have everything in a single module.  That combined with the small scope of the project I initially decided to keep the controller logic for the editor in the same file as the view stuff.  Terrible.  Well, think about it this way - If I was to make it more MVC modular, I'd put the controller logic in a different class than the view logic.  In python's way of doing things, this would mean I'd have 2 classes in the same module (file).  What would that really get me?  I'd still have to deal with it all in the same file.  The only difference would be at some point in the code I'd add a line "def class <name>".  Thats pretty much it.  What I did do to mitigate any negative feedback about this part is I organized the file layout better.  All the controller code is in the same place, labeled with what parts it controls.  All of the gui creation stuff is in a different part labeled as well.  This way it is almost identical to being in different classes, except I don't have to add inter class communications between them.  Win Win.

The last person I'd like to be tomorrow is Alfonso.  Maybe at some point ackley will get bored looking at gui boilerplate, and ask to see some of Alfonso's code.  Haha!  Good luck trying to find some.

I always think my code could be better.  We'll find out tomorrow if I'm the only one.