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, May 2, 2012
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.
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.
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.
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:
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.
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 ____
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.
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.
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.
Wednesday, April 11, 2012
Finally
After being sick and having my computers crap out, I've gotten my laptop back up and running with the newest version of Ubuntu. It took me a few hours to configure everything again for python devel, but now I'm in a better position before. Finally being able to program in this environment and feeling better I went right back to programming. I've completed 4/6 tasks (not including code cleanup) and I'm certain the last 2 won't take long.
One of the tasks I did today was regarding the Launchpad's looks. The main argument was that Chris wanted a simpler version that didn't use my terrible microsoft paint graphis, and I wanted something more than just a few buttons. Well, the deciding argument was won by Chris when we all agreed that neither of us are artistic, so we might as well just stick to what we can do, basic buttons. Now the window is much smaller for the launchpad, and resizes to fit the other elements. There are 4 buttons, edit/new/reports and daemon controls. These are all tightly packed in the 150 x 150 window.
One of the things I worked on that I was not able to get working was the problem that if you resize the window below a certain point, the frames inside stop getting smaller. This is expected, but you couldn't see the chopped off parts. The big problem with this is you can't add scrollbars to frames in this gui library. You can however add them to a "canvas", which at the time this first came up I didn't really understand. My first approach was to just make a canvas, and put it between the window and the main frame. Then add the scrollbars to that. Running this everything showed up fine, but the scrollbars didn't act like anything was there. I fiddled and googled around and found that canvas's don't init like the other widgets, and you have to call a update_idletasks method on the parent window in order for the sizing to work right. This fixed it to the point to where the scrollbars knew what size things were, and how much scrolling could be done, but no scrolling actually happened when you moved them. After searching some more, I didn't find anything that helped but it dawned on me that maybe the canvas was scrolling correctly, but the fact that the contents are all in Frames is the problem. Since Frames don't scroll, then putting Frames into a canvas won't make them scroll. I guess the whole deal is off then. Maybe I can limit how small the window can be made? That seems to be the only other valid option.
One of the tasks I did today was regarding the Launchpad's looks. The main argument was that Chris wanted a simpler version that didn't use my terrible microsoft paint graphis, and I wanted something more than just a few buttons. Well, the deciding argument was won by Chris when we all agreed that neither of us are artistic, so we might as well just stick to what we can do, basic buttons. Now the window is much smaller for the launchpad, and resizes to fit the other elements. There are 4 buttons, edit/new/reports and daemon controls. These are all tightly packed in the 150 x 150 window.
One of the things I worked on that I was not able to get working was the problem that if you resize the window below a certain point, the frames inside stop getting smaller. This is expected, but you couldn't see the chopped off parts. The big problem with this is you can't add scrollbars to frames in this gui library. You can however add them to a "canvas", which at the time this first came up I didn't really understand. My first approach was to just make a canvas, and put it between the window and the main frame. Then add the scrollbars to that. Running this everything showed up fine, but the scrollbars didn't act like anything was there. I fiddled and googled around and found that canvas's don't init like the other widgets, and you have to call a update_idletasks method on the parent window in order for the sizing to work right. This fixed it to the point to where the scrollbars knew what size things were, and how much scrolling could be done, but no scrolling actually happened when you moved them. After searching some more, I didn't find anything that helped but it dawned on me that maybe the canvas was scrolling correctly, but the fact that the contents are all in Frames is the problem. Since Frames don't scroll, then putting Frames into a canvas won't make them scroll. I guess the whole deal is off then. Maybe I can limit how small the window can be made? That seems to be the only other valid option.
Tuesday, April 10, 2012
blaaaarggggg
is a sufficient term to describe how I've been feeling this week. I recently went to Florida to visit family. I didn't sleep the night before the flight in hopes of sleeping during the flight. That didn't happen. Then I had poor sleep both nights I was there, and my first night back here I woke up a few times to tango with the toilet. I'm feeling better today, I still have a lingering cough. The physical toll it took on my body is more than I excpected though. I went to work/school for the first time this week, and after walking from the various parking lots to where I needed to go, I spent at least 10 minutes catching my breath. After getting home in the afternoon, I took a nap. I then had lunch, and took another nap. I pulled myself out of bed finally a few hours later to get some homework done. For the project, other than code cleanup there are a few improvements I've been tasked with. All of them are pretty small, and I've gotten a few done today. I fixed the padding in a tab, and redid how I set up the variables and frames for that tab as well. This also goes with the code cleanliness.
I'm not really worried about the code review. My code is pretty straight and simple, it pretty much just makes gui widgets. The names are probably fine, but I'll look over that. Other than that, there is no public, static, or final modifiers so stylistic things like that aren't going to be considered. At most it will be the basics of programming: naming, short succinct methods, modularity, and documentation. I always incorporate these elements to what I do, except for documentation in this case. Since I was new to python, I didn't know the standards of commenting (JavaDocs in Java for example) so I didn't do much commenting in the begginning. Most of my methods are "private" but I guess I should explicitly say so. A good amount of the "public" ones I have docs for, but I need to go back and make sure they are high quality.
I'm not really worried about the code review. My code is pretty straight and simple, it pretty much just makes gui widgets. The names are probably fine, but I'll look over that. Other than that, there is no public, static, or final modifiers so stylistic things like that aren't going to be considered. At most it will be the basics of programming: naming, short succinct methods, modularity, and documentation. I always incorporate these elements to what I do, except for documentation in this case. Since I was new to python, I didn't know the standards of commenting (JavaDocs in Java for example) so I didn't do much commenting in the begginning. Most of my methods are "private" but I guess I should explicitly say so. A good amount of the "public" ones I have docs for, but I need to go back and make sure they are high quality.
Wednesday, April 4, 2012
Computer Problems Continued
Nothing has yet to improve relative to the situation of my computers. I'm currently in the process of a full re-install of my laptop, and my desktop still misbehaves. Luckily, most of the gui has been finished and all that really remains is making it look good. I still haven't gotten much feedback about this, but the feature freeze is this week and we have all of next week to make it look better. I sure hope my desktop starts working as it should, and I can get my laptop back up and running. Otherwise I'm going to be SOL on the remainder of this project.
Tuesday, April 3, 2012
Computer Problems
So I've been re-installing Ubuntu on my laptop for the past couple of weeks since it had an intermittent hard-drive-likes-to-go-into-read-only-mode-every-once-and-a-while problem. This just happen to occur during a system update, so as you could probably tell it won't boot anymore. So I just decided to update the OS to a newer Ubuntu version and fix this in the process. The first install worked fine and all my stuff was still there, but nothing would run. It would just say that it couldn't run any of the binary files. I then realized I had accidentally gotten the 32 bit version where as the previous was 64. No problem, I went and downloaded the correct version and after installing that one it now has Kernel Panics. I always thought those were such a silly thing. I could just imagine the Kernel just sitting there with its knees shaking having a nervous breakdown. Doesn't seem as bad as what it really means. I'm trying to re-install it to see if it somehow fixes it.
In the meantime, I've switched developing to my desktop which was for gaming only before. Sadly, it is a Windows machine, so most third party things don't exist. For the gui, there wasn't anything I needed other than python itself so this wasn't a problem. Now though, to integrate the Daemon controls to the launchpad I need to install the third party daemon library. I got the easy_install program that installs python packages, and ran "easy_install daemon". Eclipse still didn't recognize the package, so I checked to see if it was in my PYTHONPATH variable. Turns out that var didn't exist. So in order to create it I had to add a new system variable. I didn't remember the location of the python home on the file system, so I decided to open up the windows explorer and find out. I open it up.... nothing shows up in the screen. I then start to hear some funny noises repeat from my computer. A few moments later the application crashes and the start menu and all that disappears. After a few moments all that comes back though. Great, now this computer is having problems as well. Good thing all the code and stuff is on SVN.
This has spurred new energy into the restore my laptop project. It is currently installing again and hopefully should be up tonight. Good thing most of the heavy lifting in the project is done. If all goes to hell I can still do stuff on the C.S. machines, but I don't have the ability to install these third party applications there in a timely fashion. Lets hope it doesn't come to that.
EDIT:
Despite this, I've still managed to accomplish 2 of the features that Ackley suggested:
* The save menu item is disabled when there are no changes to save
* Navigation options allow you to go back and forth from the launchpad.
On the last item, I'm really happy that I've had experience with making Guis of this style before. In order to make this happen, all I had to do was add a 3 line method to the controller. The add and remove functions for all of the windows were already implemented, I just had to make it go back as well. I could see how not building the gui in such a modular way would make things like this nontrivial. My gui's may not be pretty, but they sure as hell work right.
In the meantime, I've switched developing to my desktop which was for gaming only before. Sadly, it is a Windows machine, so most third party things don't exist. For the gui, there wasn't anything I needed other than python itself so this wasn't a problem. Now though, to integrate the Daemon controls to the launchpad I need to install the third party daemon library. I got the easy_install program that installs python packages, and ran "easy_install daemon". Eclipse still didn't recognize the package, so I checked to see if it was in my PYTHONPATH variable. Turns out that var didn't exist. So in order to create it I had to add a new system variable. I didn't remember the location of the python home on the file system, so I decided to open up the windows explorer and find out. I open it up.... nothing shows up in the screen. I then start to hear some funny noises repeat from my computer. A few moments later the application crashes and the start menu and all that disappears. After a few moments all that comes back though. Great, now this computer is having problems as well. Good thing all the code and stuff is on SVN.
This has spurred new energy into the restore my laptop project. It is currently installing again and hopefully should be up tonight. Good thing most of the heavy lifting in the project is done. If all goes to hell I can still do stuff on the C.S. machines, but I don't have the ability to install these third party applications there in a timely fashion. Lets hope it doesn't come to that.
EDIT:
Despite this, I've still managed to accomplish 2 of the features that Ackley suggested:
* The save menu item is disabled when there are no changes to save
* Navigation options allow you to go back and forth from the launchpad.
On the last item, I'm really happy that I've had experience with making Guis of this style before. In order to make this happen, all I had to do was add a 3 line method to the controller. The add and remove functions for all of the windows were already implemented, I just had to make it go back as well. I could see how not building the gui in such a modular way would make things like this nontrivial. My gui's may not be pretty, but they sure as hell work right.
Thursday, March 29, 2012
Night before Gui Demo
I've dubbed it the Gui demo, because most of the requested items are Gui related. There are background things that need to be implemented for the Gui stuff to work, and that is what I'm currently waiting on. Unless I get feedback from my group members, I'm pretty much done with my part. I'm at the point now with python/Tkinter that adding or changing things goes by really quickyl, due to my knowledge of how it all works and the methods I used to set up things before. I have only programmed for 2 hours so far today, and I finished the last half of the items I needed for the demo. I do have an idea on how to improve the Launchpad though, so I'll probably go and do that real quick. Today I added these enhancements:
That's it so far. I'm waiting on method to be implemented that I've created hooks for in my code, so all I'll have to do is call their stuff.
EDIT:
I did what I wanted to do with the launchpad. It is the rest of the team's fault for letting me design it. :)
I've asked them a few times for feedback on how to make the gui look better, but I didn't get any. So I'm just going to do what I want.
For evidence reasons, this is the commit log of the past week:
- Completed change notification elements
- Title bar tells you what file you're working with
- Reporting manager lets you switch to other reports
- Improved the New menu command
- Fixed the layout of the Scheduling tab.
That's it so far. I'm waiting on method to be implemented that I've created hooks for in my code, so all I'll have to do is call their stuff.
EDIT:
I did what I wanted to do with the launchpad. It is the rest of the team's fault for letting me design it. :)
![]() |
| The gui's scheme is gray, black, and white. |
For evidence reasons, this is the commit log of the past week:
![]() | |
| Commit log of the past week |
Wednesday, March 28, 2012
Gui Enhancement
Well the big ticked item for this weeks demo is just Gui enhancements. It is best summed by this email sent to the group about what we should be doing:
Chris: Report Framework, Scheduler Check/reload, Daemon start/stop/restart, slides for Friday's presentation.
Daniel: Email Item Report selection
BrianK: GUI launchpad, Reporting pane, GUI Polish, Change Detection and Save option, daysBack slider 1-10 + inf, gui option to start/stop/restart daemon.
BrianD: setuptools/distutils
Alfonso: setuptools/distutils
I guess I know what I'm doing for the rest of the week. I started yesterday, but I did the most of it today. All I really have left is Gui Polish, and the rest of the Reporting Pane. The Reporting pane will allow you to pick already created reports and push it through a reporting module to process it and save the output. This way you can do the last half of what the Daemon does without setting up a ScanEvent. The other things, including Save, Change Detection, Scans To Keep slider (1-10+inf), and the gui options to start/stop the Daemon were really simple and I did almost all of them in an hour.
As for GUI Polish, I'm pretty much screwed. I'm not good at making GUI's look good, just making good GUIs. I'll have to look to feedback from the rest of the group for that one. As far as functionality goes I've added scrollbars and resizing stuff all around, but the GUI itself isn't aesthetically pleasing. I don't really think there should be much done other than redoing the layout of the Scheduling tab, which is just a bunch of stuff thrown in without any concern whatsoever for looks. The other tabs are pretty simple and well laid out. Other than that all I can think of is some padding and changing of colors/borders. All of these are pretty low on my list of things to do right now.
This awesome coding session brought to you by the awesome song:
http://www.youtube.com/watch?v=hmf34m42JyI
Heads up, this is best listened to loudly.
Chris: Report Framework, Scheduler Check/reload, Daemon start/stop/restart, slides for Friday's presentation.
Daniel: Email Item Report selection
BrianK: GUI launchpad, Reporting pane, GUI Polish, Change Detection and Save option, daysBack slider 1-10 + inf, gui option to start/stop/restart daemon.
Reporting window needs (Ad-Hoc Reporting):
Browse button for .nessus file
List box with available report list
Text box for description
Text box for example output
Save-To box/browse button to choose where the report will be saved
Browse button for .nessus file
List box with available report list
Text box for description
Text box for example output
Save-To box/browse button to choose where the report will be saved
BrianD: setuptools/distutils
Alfonso: setuptools/distutils
I guess I know what I'm doing for the rest of the week. I started yesterday, but I did the most of it today. All I really have left is Gui Polish, and the rest of the Reporting Pane. The Reporting pane will allow you to pick already created reports and push it through a reporting module to process it and save the output. This way you can do the last half of what the Daemon does without setting up a ScanEvent. The other things, including Save, Change Detection, Scans To Keep slider (1-10+inf), and the gui options to start/stop the Daemon were really simple and I did almost all of them in an hour.
As for GUI Polish, I'm pretty much screwed. I'm not good at making GUI's look good, just making good GUIs. I'll have to look to feedback from the rest of the group for that one. As far as functionality goes I've added scrollbars and resizing stuff all around, but the GUI itself isn't aesthetically pleasing. I don't really think there should be much done other than redoing the layout of the Scheduling tab, which is just a bunch of stuff thrown in without any concern whatsoever for looks. The other tabs are pretty simple and well laid out. Other than that all I can think of is some padding and changing of colors/borders. All of these are pretty low on my list of things to do right now.
This awesome coding session brought to you by the awesome song:
http://www.youtube.com/watch?v=hmf34m42JyI
Heads up, this is best listened to loudly.
Tuesday, March 27, 2012
Editor Enhancements
So the big goal for me for the next demo is to add new features to the ScanEventEditor. Well, not really new features, but common ones. A "Save" menu item for one thing, and the ability for the editor to know when something has actually changed. Ackley said it himself, that in order to determine this it is non-trivial if you didn't build the gui right. Well, it took me all of 5 minutes to implement the "save" menu item, and it is starting to look like the "hasChanged" feature is going to be pretty easy. I've already done most of the work. One thing I really like about the gui library in python is for almost all of the input widgets you can set up special variables that when the input changes the variable changes. You can also add a method that will be called when the variable changes. So all I have to do is add a method for each one and check the current value with a previous one. Done deal. Some days I hate python (most of them) some I like it.
I know there were more features he wanted implemented, but I don't remember what they were. I don't think the other ones were all too scary, the "hasChanged" feature was the hardest. I asked my group for a list of things that he wanted changed (Brian D usually takes notes) but I haven't heard anything from them for the past few days.
Before we all left after the client meeting last Friday I told everyone that I would be not working on the project for the whole weekend, as I had 2 take home midterms and a bunch of other stuff to take care of. Well, they decided to schedule a group programming session that I had no choice but to miss. So much for trying to make meetings more. I feel as one of the good programmers in the group I should be kept in the loop a little more.
I know there were more features he wanted implemented, but I don't remember what they were. I don't think the other ones were all too scary, the "hasChanged" feature was the hardest. I asked my group for a list of things that he wanted changed (Brian D usually takes notes) but I haven't heard anything from them for the past few days.
Before we all left after the client meeting last Friday I told everyone that I would be not working on the project for the whole weekend, as I had 2 take home midterms and a bunch of other stuff to take care of. Well, they decided to schedule a group programming session that I had no choice but to miss. So much for trying to make meetings more. I feel as one of the good programmers in the group I should be kept in the loop a little more.
Monday, March 26, 2012
After Big Demo
Well the big demo is over, and we met if not exceeded his expectations for that meeting. I'm happy that we were able to do it, but it came down to the wire on a few things. I think from here on out the project should be much easier than it was for the last few weeks.
I haven't done much in the past 3 days, I've been working on other classes including 2 take home midterms and another group project. This week I need to get the gui in better working shape with some added features common to most guis. This includes a save button (not just save as) and some things to track if a save is actually needed. This will be the most challenging, but I already have a plan of attack on this.
I haven't done much in the past 3 days, I've been working on other classes including 2 take home midterms and another group project. This week I need to get the gui in better working shape with some added features common to most guis. This includes a save button (not just save as) and some things to track if a save is actually needed. This will be the most challenging, but I already have a plan of attack on this.
Thursday, March 22, 2012
Before Demo
Well, I'm sitting here at 8:40pm waiting on responses from pretty much everyone on the team about the status of the demo we need to get working tonight. I've upheld my part of the bargain. The Gui can fully configure a ScanEvent and save/load it back up. I don't know how the rest of the system is going though. I've asked the group multiple times, but I've only heard from Daniel Chee. He helped me on the gui a lot. I think this lack of communication is going to really hurt us in the long run. Chris is supposed to make sure it is working before tomorrow, but I haven't heard from him all day. On a scale from 1 to worried, I'm worried.
Before the Big Deadline
Well, I came back from Spring Break a little late, I missed all classes/meetings on monday. We (UNM SC2 Team) were driving back from texas and we arrive home at about 5-6pm. Next time I talked to my group, it seemed like not much had occurred while I was gone. I was hoping that the project would be mostly done, in terms of what is asked of us but it does not seem like it is the case. The demo is supposed to happen tomorrow, and I don't really know what needs to be finished up. Before I left it seemed like I just had to tighten up some stuff about configuring to a ScanEvent and back in the Editor. I talked to everyone yesterday and it still seems to be the case. I'm not too confident though. I'd feel better if I was doing everything, but I know I can't. I'm going to try and keep in communication with everyone, so I can help out if needed in a heartbeat.
To make the tension worse, I was in the middle of a system update with my laptop - which I use for development - when the file system went into read only mode. The only thing I can really do is restart it from there. This usually isn't a problem, but it didn't finish configuring the update, so when I went to restart it goes through the BIOS, but then immediatly shuts off again. This started last night, but I just got it back up and running by updating the OS. I kept all of my files, so I should be good to go again. Surely didn't help the tension with the deadline tomorrow.
To make the tension worse, I was in the middle of a system update with my laptop - which I use for development - when the file system went into read only mode. The only thing I can really do is restart it from there. This usually isn't a problem, but it didn't finish configuring the update, so when I went to restart it goes through the BIOS, but then immediatly shuts off again. This started last night, but I just got it back up and running by updating the OS. I kept all of my files, so I should be good to go again. Surely didn't help the tension with the deadline tomorrow.
Wednesday, March 14, 2012
Spring break 5 - FINAL
Well today was the last day of my Spring Break binge on programming. We had a group meeting today where I finished up the functional parts of the gui. It doesn't look great but it works. We can worry about how it looks after the demo. All the parts that remain is pretty much the email section of the gui (Daniel Chee's realm) and that isn't something that was on my plate. So really I'm set until I get back. Hopefully it all goes well, and when I get back we're all having tea on the beach-side.
One of the issues we had to get over was for the Scheduling part of the program we're using a python version of cron that takes a dictionary and does its stuff. Generating the dict was a bit tricky, but nothing I couldn't handle with some list comprehensions. The issue though was how to get the dict into a string and back. Now we could write a parser and all that stuff, but who wants to do that? Well, Brian D came up with the idea of when you type the name of a dict variable in the interpreter it prints the dict out in a string. If we could somehow get this string, could that be how we save it? Well, we can't exactly just put the variable in the code and hope somehow it turns into a string. Thinking about this I realized that using the str() method should do the same thing, because how else does the interpreter do it? That worked. Now all we had to do was convert the string back into a dict. With our experience in 357, we were curious if there was an eval() method. There is. Turns out if "d" is a dict, then eval(str(d)) == d. Sweet. Done deal right there.
I think in these past 5 days I've solidified my role in the group as a valuable member. Not only have I produced a lot of code that works great, (maybe not the best style, but I'm short on time) I also stayed in communication, helped others, and organized a meeting. Now I get to go play video games for 3 days.
I feel like the last panel in this comic:
http://www.amazingsuperpowers.com/2011/04/high-pitched-noise/
One of the issues we had to get over was for the Scheduling part of the program we're using a python version of cron that takes a dictionary and does its stuff. Generating the dict was a bit tricky, but nothing I couldn't handle with some list comprehensions. The issue though was how to get the dict into a string and back. Now we could write a parser and all that stuff, but who wants to do that? Well, Brian D came up with the idea of when you type the name of a dict variable in the interpreter it prints the dict out in a string. If we could somehow get this string, could that be how we save it? Well, we can't exactly just put the variable in the code and hope somehow it turns into a string. Thinking about this I realized that using the str() method should do the same thing, because how else does the interpreter do it? That worked. Now all we had to do was convert the string back into a dict. With our experience in 357, we were curious if there was an eval() method. There is. Turns out if "d" is a dict, then eval(str(d)) == d. Sweet. Done deal right there.
I think in these past 5 days I've solidified my role in the group as a valuable member. Not only have I produced a lot of code that works great, (maybe not the best style, but I'm short on time) I also stayed in communication, helped others, and organized a meeting. Now I get to go play video games for 3 days.
I feel like the last panel in this comic:
http://www.amazingsuperpowers.com/2011/04/high-pitched-noise/
Tuesday, March 13, 2012
Spring Break 4
4th Day of Spring Break and the gui is coming along nicely. With Daniel adding his elements to the last tab of the ScanEvent Editor, that pretty much wraps it up for building the gui part. Now all that is needed is taking the data from the gui and configuring the ScanEvent and vice versa. This shouldn't be too bad. I have tomorrow left before I go to Austin Texas for the rest of Spring break. I want to get my group in as good of a position as I can, so that they can continue where I left off and when I get back the I expect the requirements for the demo the following week to be pretty much done.
I hate to say it, but me and Tkinter (the gui library we chose) are finally getting along. Turns out the grid manager in that is a lot like the GridBag manager, so my experience with Java guis has translated over nicely. The gui is pretty good so far, everything resizes appropriately and you can load/save/create ScanEvents. Most of the gui elements don't configure to the loaded ScanEvent, but that is all I need to do really. We really need to come up with a coloring scheme, and get some graphics for the gui. Until then, I'll keep using our horrible defualts:
It won't be hard to change the color scheme, I've set up a configuration file that all the gui widgets get the BG color, foreground color, and things like that from. I might have to add more, but overall it will be an easy change.
I hate to say it, but me and Tkinter (the gui library we chose) are finally getting along. Turns out the grid manager in that is a lot like the GridBag manager, so my experience with Java guis has translated over nicely. The gui is pretty good so far, everything resizes appropriately and you can load/save/create ScanEvents. Most of the gui elements don't configure to the loaded ScanEvent, but that is all I need to do really. We really need to come up with a coloring scheme, and get some graphics for the gui. Until then, I'll keep using our horrible defualts:
![]() |
| Ugly, but effective |
Monday, March 12, 2012
Spring Break 3
Today was the first REAL day of programming. I've been at it since 11am, and it is now 7:30pm. I made the functional layout of the gui, and finished the launchpad (starting window). I also put the effort into figuring out how to make the widgets resize. You can also save/load a ScanEvent from a file using the built in file choosing windows. I also had to use some lame internet code and fix it up to be a TabPane widget, like in Java. Overall a very productive day. Just for evidence in the future:
Chris seems to be working on the project at lot as well, I've been sending emails to the whole group, and only really heard from him:
![]() |
| Suddenly, commits. |
Chris seems to be working on the project at lot as well, I've been sending emails to the whole group, and only really heard from him:
![]() |
| I still get his email notices as to when he's not available.... |
Sunday, March 11, 2012
Spring break 2.
After submitting my evaluation and having lunch with some friends I got home pretty late. I did manage to get a class set up with getters/setters/docs and the ability to load and save instances of that class in a local directory. It currently wont work, because some of the items it should save/load aren't defined. I've informed those that should be responsible. Until that is resolved, it is off to gui land for me tomorrow. I think it might look weird to the other members of my group, in about 2 hours I've made more emails regarding actual content then probably the whole beginning of the semester. In order to meet the deadlines made by Ackley, we gotta all turn on HERO programming mode. I'm already started, and already waiting on the others. Gui land should keep me busy though, even if definitions don't exist, I can still make widgets and controllers to get everything ready for when those items do exist.
Saturday, March 10, 2012
NOT RELATED TO 460 - But a good read anyways.
This topic isn't related to cs 460, but I wanted to share it anyways.
So I was playing a game of sc2 as usual, when a fellow started to be mean to me. Well, this is the internet I get that all the time. After the game was over, that person messaged me personally asking if I was retarded. At this point I was curious. Was he just being a dick for the sake of making me feel sad, or was he himself down? So I decided to ask. He said that he hates where he is from, and everything around him is failing (America). Not wanting him to stay mad and walk away, I asked for specific examples. He went on about the problems with politics and healthcare, and I listend patiently. He said he was negative because of these issues, and doesn't see anything to be happy about. I asked him if he had anything to be happy about, friends family job. He said No. So I started to relate to him, telling him about things that I've had to deal with recently. My life hasn't been really hard or anything, but I have a good time seeing things from other people's points of view. I told him about how I focused on what I wanted to change in my life: quitting WoW and going to the Gym. I've been much happier with myself since then. Simple things that dragged me down. I asked him if there were things he is happy about, and would like to change. We talked a little longer, and I tried as hard as I could to provide the best advice I could. He was surprised that I genuinely cared about him and appreciated it. One of the major things I said was: I don't want to be the best programmer ever, or be rich. I want to try my best and to make the world better as I do it.
An interesting interaction with someone I'll probably never know. I just hope that I've influenced them away from making bad decisions due to likely depression. On top of that, I totally proved him wrong :) I don't want to go about in life spreading negativity. There is always too much of it. I'd rather just look on the bright side. I know that sounds lame, but it really does help in more ways than someone in a negative rut can see.
So I was playing a game of sc2 as usual, when a fellow started to be mean to me. Well, this is the internet I get that all the time. After the game was over, that person messaged me personally asking if I was retarded. At this point I was curious. Was he just being a dick for the sake of making me feel sad, or was he himself down? So I decided to ask. He said that he hates where he is from, and everything around him is failing (America). Not wanting him to stay mad and walk away, I asked for specific examples. He went on about the problems with politics and healthcare, and I listend patiently. He said he was negative because of these issues, and doesn't see anything to be happy about. I asked him if he had anything to be happy about, friends family job. He said No. So I started to relate to him, telling him about things that I've had to deal with recently. My life hasn't been really hard or anything, but I have a good time seeing things from other people's points of view. I told him about how I focused on what I wanted to change in my life: quitting WoW and going to the Gym. I've been much happier with myself since then. Simple things that dragged me down. I asked him if there were things he is happy about, and would like to change. We talked a little longer, and I tried as hard as I could to provide the best advice I could. He was surprised that I genuinely cared about him and appreciated it. One of the major things I said was: I don't want to be the best programmer ever, or be rich. I want to try my best and to make the world better as I do it.
An interesting interaction with someone I'll probably never know. I just hope that I've influenced them away from making bad decisions due to likely depression. On top of that, I totally proved him wrong :) I don't want to go about in life spreading negativity. There is always too much of it. I'd rather just look on the bright side. I know that sounds lame, but it really does help in more ways than someone in a negative rut can see.
Spring break - 1
So in order to meet Ackley's request for the demo next time we meet, I have a lot of work ahead of me this spring break. I don't have anything else really to do, except for LANFEST!!!!! Anyways, I started today and made the custom gui widgets be able to load configurations from the config file. I also started on the main gui panel structuring. I had some difficulties with the layout, still getting used to that. Also, in python if you have different modules that try to load files by relative paths it is much harder than I thought. The current directory for each module is the same as the modules that the program entered in. So if I have a module that handles IO to files in a local directory, then my path to that dir would be "./files" plain and simple. If I use this module from a module in a different directory then it wouldn't work, because the directory the starting module is in doesn't have a "./files". I was able to work around this by not using a relative path, but getting the path to the module the code is in via the symbol table. It ended up taking me an hour to get this part. It is a bit overly complicated, but now that I know how it should be really easy to duplicate in the future.
Thursday, March 8, 2012
Weekly update
Well, turns out I'm really bad at remembering to do things... such as post on a blog. But anywho, this is an update for the whole week, because lets face it, I can't fake 3 good posts in a couple of days. We plan on having a demo tomorrow that should be pretty cool, and show Dr. Ackley a lot about what the project will allow people to do in very little time. As far as the demo is concerned, I won't be involved since it will be done through the command line and a different part of the gui. This is good, because this week I haven't had any time to work on 460 stuff. I've had 3 midterms and a group research project to work on.
I do have to say, as time goes on I find myself more and more happy that I'm in the group I am. I could not stand being with some of the other students in the class, so not being with them is great. Also, if I had been in Joe's group, I would be working many times harder on the project. I kind of enjoy not having to worry about my project all the time. On top of this, everyone in the group seems to be getting along really well, so all in all it just might turn out to be a good thing I ended up here.
I do have to say, as time goes on I find myself more and more happy that I'm in the group I am. I could not stand being with some of the other students in the class, so not being with them is great. Also, if I had been in Joe's group, I would be working many times harder on the project. I kind of enjoy not having to worry about my project all the time. On top of this, everyone in the group seems to be getting along really well, so all in all it just might turn out to be a good thing I ended up here.
Monday, February 27, 2012
Scan Demo
So I'm in charge of making the gui, that is a know fact. Today I build the gui for the demo we want to have ready to present for Friday. It will allow us to start a scan with a nessus server. The basic information needed is the scan policy, a list of targets, name of the scan, and what server will do the scan. Some of the information will be selectable from a list that will be given to the gui from the nessus server itself, and the other stuff (scan name) will be from the user. I've set it up currently so that if you push the scan now button the gui controller polls all the data required and just prints it. The functionality for actually getting the data from the nessus server and starting a scan is not something that I'll be working on, and I'm in the process of communicating this to the person who is. Overall I'd say that in a few hours I think I did a pretty good job of making the gui. It's fairly small and looks terrible, but dammit does it work.
Sunday, February 26, 2012
Third week start
Well the third week has started off well. We've all gathered in the cs dept for some team programming. We all just kind of worked on our own stuff, but with everyone but alfonso here to help with learning python it has gone very well. I've started to get used to the Tkinter gui library, and made a less simple gui. I haven't done much else code then that, but I have done other things not in code. One of which is we had a problem importing each module to each other's code. I figured it would be like java with the import gui.cGui.widgets.CLabel or something. Chris said that with modules you have to add the location of each one into your PYTHONPATH or something. This sounded like a huge pain in my ass, since I love making deep directory structures. The import function is also not recursive, so every directory must be added. I notice every time I want to make a new python module, there is also the option for a python package. Wondering what this is, I tried it out. Turns out it is the same as java. You just make a package, and as long as the top level directory of the package is in the path, then you can import anything inside it as long as it is in a sub-package. This will be much easier than adding each and every little directory. Hopefully I can work more with this group than once per week, they are pretty cool people.
Wednesday, February 22, 2012
Second Week Wednesday
So we have now agreed that the new name is Cerno, which is latin for distinguish. I think this is a fitting name, because the goal of the project is to take a bunch of data and discern who it should be reported to. I have also set up the code repository using google code. I haven't heard of much else going on other than that. I think we are off to a slow start. I'm doing the GUI, which means that I need some sort of code base to work with before I can really do that. So I'll be helping Brian Dennedy with some of the Nessus api stuff, but I haven't heard anything on that. To top it off, I got in a wreck today, complicating after school travel. Despite the slow start, I think we are still fine as far as finishing on time, the project seems pretty lightweight.
Monday, February 20, 2012
Second Week Monday
Well, not much happened. We are still in the process of setting everything up. I'll be starting work with Brian Dennedy soon and we are going to try some team programming with guest appearances from Chris. I'll be helping him on the nessus api side of things. I look forward to working with Brian, we get along from what I can tell. I am in the process of setting up a google code for hosting our svn, but we need to come up with a team name before I can do that. I was thinking maybe Hydra. Because it has many heads, and our project will report to different people. So many outlets of data, thus heads. It also works because Nessie is a mythical creature, and so are hydras.
Friday, February 17, 2012
First Week
Well the first week of our project is over. What we've accomplished isn't much, but we are just getting started. I don't really fell like there will be a lot to do with the project, which I am thankful for. Overall, after having read the proposal and working a bit with Chris White I"m really looking forward to the project. It is actually a much better idea than I had initially imaged. I thought it was going to be a vulnerability scanner. It turns out it is just a front end for one, a much more reasonable project idea.
I have volunteered to work on the gui. I've never programmed in python, but using jython I can use the swing classes I'm used to. I'm pretty good at implementing gui's, but not designing them. I will look to the rest of the group with help on that.
After reading Jan's post about what happened this week, the only thing I can say is that Jan is the best person that I have ever met. <3 <3 <3
I have volunteered to work on the gui. I've never programmed in python, but using jython I can use the swing classes I'm used to. I'm pretty good at implementing gui's, but not designing them. I will look to the rest of the group with help on that.
After reading Jan's post about what happened this week, the only thing I can say is that Jan is the best person that I have ever met. <3 <3 <3
/ \ _-'
_/| \-''- _ /
__-' { | \
/ \
/ "o. |o }
| \ ;
',
\_ __\
''-_ \.//
/ '-____'
/
_'
_-'
-Scurvy
P.S. For those of you who are wondering, the amazing purple wolf I was awarded today
is scurvy. Jan, with his hard earned money, got him for me. I can only hope that
one day I'll be as cool as he is.
Monday, February 13, 2012
DOOM DAY
Doom Day as Jan Monterrubio would call it. The day that each person is assigned the project and group they will work with for the rest of the semester. It's been kind of a shitty day for me. I woke up feeling great. Lately I've been rocking it in SC2. I had a fun weekend. It was raining. There was also the foreboding feeling of the selection process in this class. Well, I felt optimistic. What are the odds that I'll get screwed again in a group project? Jan, Joe, Stephen, Brady, and I got together and decided we should all work on the same project, because we don't want to re-live past nightmares from other group projects, specifically from 351 the pre-cursor to this class. We figured, under a fair system, that if we all picked it as our top project, we'd have a good chance. To my delight, only 4 people had picked it as their top projects when we first saw the scoring in class. Those people were most likely Jan, Joe, Stephen and I. Due to the processes at stake, the selection was reduced to about half of the proposals. This time, after re-selecting projects, our project had 5 top picks. This time Brady joined us. This was perfect. Us 5 in the group as planned. Now for some reason, we decided to throw away all ranking mechanics, and just do a free for all pick what you want. Naturally me and my friends all chose the same project, but we had one addition. Seeing this, I instantly felt trouble brewing. Knowing that if we had more than 5 people (we have 6) then someone would be chosen at random. Really? After all of this ranking and stuff, one of the original people who always chose the project as their top rank could be kicked out for no other reason than a lucky seed? You could say that random number generators are fair. Leaving the rank system and leaving it up to a random number generator I think is not however. Judging from the mood of this post, I think it is clear that I was the one randomly chosen to be ditched.
My feelings about that range from an anger level well above 9,000 to that feeling you get when your team doesn't win. I'm mostly angry about how the goal of the selection process was that each person gets something that was in their top 2 picks. I however, got something that was not on my list at any point in the selection process. I didn't break any rules, I was present for the process. How is it that I end up getting tossed aside into the reject pile? I feel sad because I've been looking forward to working on the project Joe proposed for a while now. What could be more fun than making board games with all of my friends? Playing them. That is about it. I spend the next few hours steaming in my own depression. Now I had to spend the rest of the one class I have looked forward to the most doing something I don't really care about. I care about doing a project well, but just not the one I was dumped into. It is times like this I can do two things. Remain pissed off and just f*ck it for the rest of the semester, or let it be.
The first class I took with Dr. Ackley was cs 351. My first impressions of that class were something along the lines of boot camp. Ackley didn't give us much wiggle room with grading, and the assignments came in hard and fast. His attitude had little empathy for failures due to our own issues. At first I didn't like this, but then I realized that is the way it has to be sometimes. I spent the middle period of the semester just laying back and enjoying his sarcastic sensei approach to teaching. The final project for the course was a group project. I really looked forward to this. I want to do programming as a profession, and no project worth doing in the real world is going to be by myself. I didn't really know anyone in the group, but I had high hopes. If you've known me at all from the C.S. department, you know how that turned out. Not well. I find myself feeling the same kind of regret, in a similarly themed situation with the same instructor.
After 351 was over, I was devastated. I had gotten my first B in college. Worst of all, it was the class that was deemed the turning point from student to programmer. How could I, after doing so well and being so dedicated to programming and getting the top score on the final, end up with a B? This was THE class to get an A on, and I had failed. And to make it worse, getting an A in that class was rumored to get you a very nice scholarship. I was sad, but I knew that I had tried to make the best of a bad situation. That is what really mattered in the end. I knew that I had learned a lot, and also written a lot of semi-good code. I also got to know one of my best friends now, Janners (Jan Monterrubio). As my father used to say, "What doesn't kill you only makes you stronger... or crippled."
At the end of the following summer, I got a letter from Lynn the adviser in the cs dept. Supposedly I had some scholarship opportunity. Yadda yadda, I get those all the time. Something I have to write a paper for, or give them money so I can join some fraternity. I decided to read it anyways, I mean who doesn't want to see what kind of good things people can say about you? Well, it turns out it wasn't some everyday scholarship spam, but that I had been accepted for the Van Dyke scholarship. The same scholarship that you usually get for getting an A in 351. How is it that I came to be selected for this? To this day I don't know. I asked Ackley if he recommended me for it. He answered in his stylistic not-actually-answering-anything-but-posing-another-question fashion. I looked back on the semester and asked myself why he would have done it. My belief is that I tried so hard to make the best of a bad situation in a professional manner. I guess that was more important than getting an A. Thinking about this again, I have made my decision on how the rest of this semester will be.
Sure I'll miss working with my friends on a project that could well make the group money. Sure I don't really enjoy seeing the face of the person that bumped the group number up to 6. Sure I don't really care about the project. Dammit, I'm not the kind of person to give up. Last thing I want to do is be that guy, the guy who drags down the whole project because he doesn't want to be there. If Ackley was the person who suggested me for the Van Dyke scholarship for that reason, then this time I won't let him down.
My feelings about that range from an anger level well above 9,000 to that feeling you get when your team doesn't win. I'm mostly angry about how the goal of the selection process was that each person gets something that was in their top 2 picks. I however, got something that was not on my list at any point in the selection process. I didn't break any rules, I was present for the process. How is it that I end up getting tossed aside into the reject pile? I feel sad because I've been looking forward to working on the project Joe proposed for a while now. What could be more fun than making board games with all of my friends? Playing them. That is about it. I spend the next few hours steaming in my own depression. Now I had to spend the rest of the one class I have looked forward to the most doing something I don't really care about. I care about doing a project well, but just not the one I was dumped into. It is times like this I can do two things. Remain pissed off and just f*ck it for the rest of the semester, or let it be.
The first class I took with Dr. Ackley was cs 351. My first impressions of that class were something along the lines of boot camp. Ackley didn't give us much wiggle room with grading, and the assignments came in hard and fast. His attitude had little empathy for failures due to our own issues. At first I didn't like this, but then I realized that is the way it has to be sometimes. I spent the middle period of the semester just laying back and enjoying his sarcastic sensei approach to teaching. The final project for the course was a group project. I really looked forward to this. I want to do programming as a profession, and no project worth doing in the real world is going to be by myself. I didn't really know anyone in the group, but I had high hopes. If you've known me at all from the C.S. department, you know how that turned out. Not well. I find myself feeling the same kind of regret, in a similarly themed situation with the same instructor.
After 351 was over, I was devastated. I had gotten my first B in college. Worst of all, it was the class that was deemed the turning point from student to programmer. How could I, after doing so well and being so dedicated to programming and getting the top score on the final, end up with a B? This was THE class to get an A on, and I had failed. And to make it worse, getting an A in that class was rumored to get you a very nice scholarship. I was sad, but I knew that I had tried to make the best of a bad situation. That is what really mattered in the end. I knew that I had learned a lot, and also written a lot of semi-good code. I also got to know one of my best friends now, Janners (Jan Monterrubio). As my father used to say, "What doesn't kill you only makes you stronger... or crippled."
At the end of the following summer, I got a letter from Lynn the adviser in the cs dept. Supposedly I had some scholarship opportunity. Yadda yadda, I get those all the time. Something I have to write a paper for, or give them money so I can join some fraternity. I decided to read it anyways, I mean who doesn't want to see what kind of good things people can say about you? Well, it turns out it wasn't some everyday scholarship spam, but that I had been accepted for the Van Dyke scholarship. The same scholarship that you usually get for getting an A in 351. How is it that I came to be selected for this? To this day I don't know. I asked Ackley if he recommended me for it. He answered in his stylistic not-actually-answering-anything-but-posing-another-question fashion. I looked back on the semester and asked myself why he would have done it. My belief is that I tried so hard to make the best of a bad situation in a professional manner. I guess that was more important than getting an A. Thinking about this again, I have made my decision on how the rest of this semester will be.
Sure I'll miss working with my friends on a project that could well make the group money. Sure I don't really enjoy seeing the face of the person that bumped the group number up to 6. Sure I don't really care about the project. Dammit, I'm not the kind of person to give up. Last thing I want to do is be that guy, the guy who drags down the whole project because he doesn't want to be there. If Ackley was the person who suggested me for the Van Dyke scholarship for that reason, then this time I won't let him down.
Thursday, February 9, 2012
Pitch for Troll Quest
This is the pitch I will attempt to make in class on Friday:
Do you enjoy screwing
around with people on the internet? Do
you enjoy playing MMORPGS? Then do I
have a game for you: Troll Quest, the
game that Trolls you!
The game specifically designed to frustrate users! Now don’t get me wrong, it can do Characters,
Quests, instances, and PvP! Every aspect
your average mmo will have a little flavor of internet added right in for your
entertainment value!
Using a pre-built MMO engine, Troll Quest will be created
faster than the latest meme to spread around the world. We aren’t re-inventing the wheel here, just
putting a cool face on it.
I’ve build many sections of an MMO in my free time. This will be on a larger scale, but my
expertise with Object Orientated Programming will be a great asset to any group
willing to take on the challenge of building the first Massively Multiplayer
Troll Playing Game.
Any group willing to create this new generation game is
welcome. But be warned, even though
Troll Quest is light hearted, it is not for the light of heart. Likely in its development Troll Quest will
make its first victims of inexperienced developers. However, the rewards of creating the next big
MMO is a treasure one can’t easily pass up!
And the supporting pdf can be found at:
http://www.cs.unm.edu/~bkraus/tq/pitch_img.pdf
Tuesday, February 7, 2012
Final Proposal
- 'The game itself would still be playable in terms of a normal MMORPG.' So you're going to write an MMORPG from scratch in 12 weeks? For starters. Including both 'M's.. From your functional requirements, it looks like you imagine starting from scratch.
So I've made changes to the original Troll Quest proposal. I've researched into a few MMORPG game engines that can be used to create the game, making it a lot more possible in the amount of time given. The engines range from free in browser games to fully stand alone 3d games. One of the engines proposed (a free one) will even host the game when it is done for free. This will cut out all of the support costs in terms of hosting. Adds are also suggested as a source of income. These adds will be on the server hosting the game. This is because some licenses won't allow the game to have a charge to it, so revenue must come from somewhere else.
- What does this game look like to play? Is it graphical? WoWish? Or a MUD?
Also, the game can either be a 2d or 3d rpg style 3rd person game based on Medieval combat styles. This choice is most likely going to be decided upon the chosen game engine.
I also added a mock budget, including renting a space for 12 weeks, wages for the developers, and buying a game engine.
Here is the link to the final proposal.
http://www.cs.unm.edu/~bkraus/tq/Troll_Quest_f.pdf
Sunday, February 5, 2012
On Software design patterns
Software design patterns are concepts that are commonly used in code that has been abstracted away from the code itself, into tested proven development paradigms. These ideas can't be directly translated to code, it is more of a description or template on how to write the code. Design patterns are commonly created to help mitigate the risk of subtle bugs that can be created in the code from not handling a situation properly.
One such design pattern is Factory Methods. Factory methods are definition (class) level methods that create instances of the class they are defined in. They let subclasses override the function and provide new implementations of the type returned by the Factory Method. It can also be used to manage a pool of objects, as well as specific initializations that cannot be done in a constructor.
One such design pattern is Factory Methods. Factory methods are definition (class) level methods that create instances of the class they are defined in. They let subclasses override the function and provide new implementations of the type returned by the Factory Method. It can also be used to manage a pool of objects, as well as specific initializations that cannot be done in a constructor.
Thursday, February 2, 2012
Three Words
My three words are
Motivated
Educated
Communicated
I had to make the last one past tense to match the others. I'm looking for team members who want to do their best, know how to program well, and know how to talk about things in a respectful environment.
Three words I didn't put in there:
Confident - It is a good thing for someone to be confident, but the people who think that their way is the best and walk all over the others really annoys me.
Hopeful - While having hope in every project can be useful, those who have false hope usually only drag the team down.
Controlling - I'm the kind of person to set my own schedule, and still gets things done. If someone is telling me what to do, when to do it, and how to do it I really dislike that. I trust myself to get it done and with quality. Just let me do it.
Motivated
Educated
Communicated
I had to make the last one past tense to match the others. I'm looking for team members who want to do their best, know how to program well, and know how to talk about things in a respectful environment.
Three words I didn't put in there:
Confident - It is a good thing for someone to be confident, but the people who think that their way is the best and walk all over the others really annoys me.
Hopeful - While having hope in every project can be useful, those who have false hope usually only drag the team down.
Controlling - I'm the kind of person to set my own schedule, and still gets things done. If someone is telling me what to do, when to do it, and how to do it I really dislike that. I trust myself to get it done and with quality. Just let me do it.
Tuesday, January 31, 2012
On Software Craftmanship
Software Craftsmanship is really the one thing that I stress them most when writing code. I'm really big into making the code as readable, flexible, easy to use, neat, and easy to understand. I do think of coding as a craft, an art. I take it as my responsibility to spread my passion for good coding to everyone, and leave only my best code behind.
Since this article is really short, I decided to add another little fact. This article (and all the previous covered in this class) satisfy the XKCD phenomenon of wikipedia:
http://xkcd.com/903/
The text I'm referring to is when you hover over the comic with your mouse, and the message box pops up.
Since this article is really short, I decided to add another little fact. This article (and all the previous covered in this class) satisfy the XKCD phenomenon of wikipedia:
http://xkcd.com/903/
The text I'm referring to is when you hover over the comic with your mouse, and the message box pops up.
Proposal Reviews
That's right! Plural!
Review on Daniel Illescas:
http://www.cs.unm.edu/~bkraus/460/propReviewDanielIllescas.pdf
Review on Jan Monterrubio:
http://www.cs.unm.edu/~bkraus/460/propReviewJanMonterrubio.pdf
Review on Daniel Illescas:
http://www.cs.unm.edu/~bkraus/460/propReviewDanielIllescas.pdf
Review on Jan Monterrubio:
http://www.cs.unm.edu/~bkraus/460/propReviewJanMonterrubio.pdf
Sunday, January 29, 2012
Thursday, January 26, 2012
On Agile Software Development
Here are the things I do like about Agile development:
I've never really believed that a project can be defined from start to finish before any actual development takes place, and this development style takes to that belief well. Since close contact and constant communication with the customer is embedded in this design, there will not be much room for error in the ways of the developer thinks it should work this way, and the customer really wanted it that way. I feel that keeping the distance between customer and developer smaller is better. There will be less obfuscation and motives to interfere with the project. This reminds me of a joke by Michael Aulia on 22 November, 2007 in Jokes & Funny Stuffs:
http://www.cravingtech.com/software-development-joke.html
What I don't like about it:
want to have done work for nothing. The rapid delivery doesn't sound too bad, but I always like to make
sure I'm done with something before I send it off. Being pressured to deliver something on a weekly
basis sounds a bit fast for me.
- Pair Programming
- Sustainable development, able to maintain a constant pace
- Close, daily co-operation between business people and developers
- Face-to-face conversation is the best form of communication (co-location)
- Projects are built around motivated individuals, who should be trusted
- Continuous attention to technical excellence and good design
- Simplicity
I've never really believed that a project can be defined from start to finish before any actual development takes place, and this development style takes to that belief well. Since close contact and constant communication with the customer is embedded in this design, there will not be much room for error in the ways of the developer thinks it should work this way, and the customer really wanted it that way. I feel that keeping the distance between customer and developer smaller is better. There will be less obfuscation and motives to interfere with the project. This reminds me of a joke by Michael Aulia on 22 November, 2007 in Jokes & Funny Stuffs:
http://www.cravingtech.com/software-development-joke.html
What I don't like about it:
- Customer satisfaction by rapid delivery of useful software
- Welcome changing requirements, even late in development
- Working software is delivered frequently (weeks rather than months)
want to have done work for nothing. The rapid delivery doesn't sound too bad, but I always like to make
sure I'm done with something before I send it off. Being pressured to deliver something on a weekly
basis sounds a bit fast for me.
Tuesday, January 24, 2012
On Use Case
I think that a Use Case as described in the Wikipedia article is a natural way to think about how a system works. It lends itself to easily be described in the terms of interface, actor, and system. These concepts can easily then be translated into a program. I could easily imagine the use case image on the wiki page as a program. The Client is a class that takes an instance of a Restaurant and the Restaurant interface describes methods like enter, pay, and make food. There is a pool of Waiters that when a Client enters the Restaurant a Waiter is picked out with respect to load and work hours, and is then attached to the Client. I'm not going to detail the whole image, but you get the idea. I think this will be a useful resource for any developer, since it relates to how humans think of a system.
TrollQuest Timeline
This is the overall timeline for the full development of the TrollQuest game. This timeline will span 12 weeks, and will give a guideline to the hopeful developers.
Week 1: Requirements: What is expected in the final product? How should the development process take place? Come up with some ideas on how to make the game stand out from other MMORPGS.
Week 1.5: Modeling: Come up with the plan on how best to implement the game. This can follow the typical structure of the server to client based system, as many online games implement. This includes what style of programming (agile pair ....) and what type of paradigm to use (MVC...).
Week 2: Begin Development: Create an XML converter and the basic framework for network communications (UDP). Information about the XML converter and UDP will be detailed later in the spec.
Week 3: Development: Create Models for the game, meaning items, characters and the such. Create server controls for those who run the server to modify the game state while it is running.
Week 4: Development: Create game engine.
Week 7: Development: Create client GUI, game interface, and Scriptable Quests. (Also detailed later) Feature freeze date.
Week 9.5: Development: Wrap up final stages of the game.
Week 10: Send out the game for user testing, and do documentation.
Week 11: Implement/fix due to user feedback from week 10. Market the game.
Week 12: Deployment & Delivery.
Each week the team will meet with the client for ½ hour / week x full group.
Week 1: Requirements: What is expected in the final product? How should the development process take place? Come up with some ideas on how to make the game stand out from other MMORPGS.
Week 1.5: Modeling: Come up with the plan on how best to implement the game. This can follow the typical structure of the server to client based system, as many online games implement. This includes what style of programming (agile pair ....) and what type of paradigm to use (MVC...).
Week 2: Begin Development: Create an XML converter and the basic framework for network communications (UDP). Information about the XML converter and UDP will be detailed later in the spec.
Week 3: Development: Create Models for the game, meaning items, characters and the such. Create server controls for those who run the server to modify the game state while it is running.
Week 4: Development: Create game engine.
Week 7: Development: Create client GUI, game interface, and Scriptable Quests. (Also detailed later) Feature freeze date.
Week 9.5: Development: Wrap up final stages of the game.
Week 10: Send out the game for user testing, and do documentation.
Week 11: Implement/fix due to user feedback from week 10. Market the game.
Week 12: Deployment & Delivery.
Each week the team will meet with the client for ½ hour / week x full group.
Friday, January 20, 2012
On Software Requirements
Software Requirements is a sub-field of Software engineering that deals with the elicitation, analysis, specification, and validation of requirements for software.
I think that having requirements for software is essential in the - what do I need the program to do - sake, and mostly helpful in the - how should I do it - sake. We all understand how implementing things from a given set of requirements works, but one thing that I haven't seen much of are "non-functional" requirements. I think that the customer does have some say in the non functional part, but should not have total control over how the code is written. If the customer doesn't see the source code, then I think it is best left to the developers to come up with standards of code design. Designers should always push for a design that is flexible given possible future. There are other standards the designers should enforce, such as code style. Where I work (unknown) we develop code. I noticed that a lot of the older libraries have a lot of warnings. It is my personal goal to have no warnings or errors during compilation and runtime. So I talked with my boss, and we decided that in future projects we should enforce that all developers have the same warning/error settings on their IDE. I think that something like that can be very helpful, because then the developers have come to an agreement on what defines and error or warning, and can all work on the same playing field. If not, then some developers might introduce warnings that to themselves aren't warnings. To others however they could be. This was the case with the old libraries that I had. I tend to have somewhat strict warnings, and follow them judiciously.
I think that having requirements for software is essential in the - what do I need the program to do - sake, and mostly helpful in the - how should I do it - sake. We all understand how implementing things from a given set of requirements works, but one thing that I haven't seen much of are "non-functional" requirements. I think that the customer does have some say in the non functional part, but should not have total control over how the code is written. If the customer doesn't see the source code, then I think it is best left to the developers to come up with standards of code design. Designers should always push for a design that is flexible given possible future. There are other standards the designers should enforce, such as code style. Where I work (unknown) we develop code. I noticed that a lot of the older libraries have a lot of warnings. It is my personal goal to have no warnings or errors during compilation and runtime. So I talked with my boss, and we decided that in future projects we should enforce that all developers have the same warning/error settings on their IDE. I think that something like that can be very helpful, because then the developers have come to an agreement on what defines and error or warning, and can all work on the same playing field. If not, then some developers might introduce warnings that to themselves aren't warnings. To others however they could be. This was the case with the old libraries that I had. I tend to have somewhat strict warnings, and follow them judiciously.
Proposition paragraph
There exists many massively multiplayer online role playing games, but none yet have adopted the culture of the troll genre. I propose a game, that while still retaining the elements of an MMORPG, will add in the flavor of trolling the heck out of the user. This game will be free to play, and open source. Free to play, well, because who wants to pay to be trolled? Unless of course we should have a subscription fee, so that they are being trolled while they play the troll game. I strongly want it to be open source because the community is the best mind for developing the game, not a set group of individuals - since trolling is a community idea.
Here are some of the possibilities I mean by trolling the user. For instance, each player can have a troll level. There can also be merchants that have a suggested troll level, such that if the player does not meet this suggestion, then when "selling" things to the merchant they do not receive money from said merchant. Also, the merchant could supply glorious items that cost 1 gold more than what the player has, at all times. This game would be more of a Massively Multiplayer Online Troll Playing Game (MMOTPG). There will also be many opportunities for the players to troll each other, of course.
The game itself would still be playable in terms of a normal MMORPG. There will still be quests, dungeons, groups, character classes, and player versus player. The main idea is to add some flavor into the game without making it unbearable to play. Trolling will be a constant theme, so it is not unexpected. If someone wants to play this game, they must be aware of the risks to their well being that lie ahead.
Here are some of the possibilities I mean by trolling the user. For instance, each player can have a troll level. There can also be merchants that have a suggested troll level, such that if the player does not meet this suggestion, then when "selling" things to the merchant they do not receive money from said merchant. Also, the merchant could supply glorious items that cost 1 gold more than what the player has, at all times. This game would be more of a Massively Multiplayer Online Troll Playing Game (MMOTPG). There will also be many opportunities for the players to troll each other, of course.
The game itself would still be playable in terms of a normal MMORPG. There will still be quests, dungeons, groups, character classes, and player versus player. The main idea is to add some flavor into the game without making it unbearable to play. Trolling will be a constant theme, so it is not unexpected. If someone wants to play this game, they must be aware of the risks to their well being that lie ahead.
Wednesday, January 18, 2012
In response to reading the wikipedia article on Software Engineering:
You know I never really knew that Software Engineering was thought of possibly being a different degree than Computer Science. To me SE was an integral part of CS. I've programmed a lot during my time at UNM, and as a result I've tried to engineer it in the best way possible to my knowledge. In a sense I've been doing a basic version of SE for almost every project I've worked on for classes, so for me SE is ingrained in everything I do for my degree. To think of it as it's own degree is new to me, and I imagine it would have a lot of overlap with CS, but less on algorithms maybe.
On the whole subject of certification, I'm kind of worried that I have yet to obtain any of these certificates. The idea seems popular enough. Certification has not been stressed in class yet, so I wonder if it is something I should worry about. I worked at Los Alamos a few summers ago, and one of the members on my team was into the idea of obtaining certificates. I remember he had just started learning Linux management and in the end of the 9 week course he had a certificate in it. He held many certifications, one of which was in java programming, and I felt that I was a better programmer. This leads me to believe that these certificates aren't too hard to achieve, and aren't really worth anything. I think a Masters in CS is worth more than any number of certificates. They seem too easy to study hard for a few weeks, pass a test and get certified, then just forget everything - just to get a piece of resume candy. It wouldn't be hard for me to get certified in a bunch of places, but the value of it has not been emphasized enough for me to care.
On SOPA: It seems silly to shut down an ocean just because of some pirates. Who are we to control the ocean of knowledge?
You know I never really knew that Software Engineering was thought of possibly being a different degree than Computer Science. To me SE was an integral part of CS. I've programmed a lot during my time at UNM, and as a result I've tried to engineer it in the best way possible to my knowledge. In a sense I've been doing a basic version of SE for almost every project I've worked on for classes, so for me SE is ingrained in everything I do for my degree. To think of it as it's own degree is new to me, and I imagine it would have a lot of overlap with CS, but less on algorithms maybe.
On the whole subject of certification, I'm kind of worried that I have yet to obtain any of these certificates. The idea seems popular enough. Certification has not been stressed in class yet, so I wonder if it is something I should worry about. I worked at Los Alamos a few summers ago, and one of the members on my team was into the idea of obtaining certificates. I remember he had just started learning Linux management and in the end of the 9 week course he had a certificate in it. He held many certifications, one of which was in java programming, and I felt that I was a better programmer. This leads me to believe that these certificates aren't too hard to achieve, and aren't really worth anything. I think a Masters in CS is worth more than any number of certificates. They seem too easy to study hard for a few weeks, pass a test and get certified, then just forget everything - just to get a piece of resume candy. It wouldn't be hard for me to get certified in a bunch of places, but the value of it has not been emphasized enough for me to care.
On SOPA: It seems silly to shut down an ocean just because of some pirates. Who are we to control the ocean of knowledge?
Subscribe to:
Posts (Atom)




