Sunday, May 25, 2008
Bye bye blog!
Wednesday, April 16, 2008
It was going so well...
SQL is back to ruin my life though, I was going to use the UPDATE statement to update a persons location but the TIMESTAMP is making this way too difficult and it doesn't want to. So I think I'll have to go to plan B and reorganise the DB. ugh.
Friday, April 11, 2008
No Pressure!
For my final report, it was suggested that I go through my project specification and with each milestone, write whether I have achieved that milestone or not, if not why not, and if I have what steps I took to complete it. These milestones can also be used as my report subheadings to break up the report a bit.
To complete my mandatory I have to get the display working properly, find a way to get Wireless Access Points, hopefully this should be similar to how I obtained the MAC addresses and then I have to find a way so that the clock gets the updated locations automatically rather than the user manually inputting them.
We also talked about the final demo, so I'll have to come with ways of showing the clock in action even though I'll still be in the room the whole time! Lorcan suggested having 2 bluetooth dongles, each representing a different location.
Testing and evaluation was discussed, the idea of testing it with my family would work, then after a week I could ask them if they used it much, did they like it, the usual evaluation questions.
Thursday, April 10, 2008
Back to Work
To update a location it allows it only if it is not there so you can really only register a location and not update it. I think I'll have to add a new table and use the SQL update statement so that this tells the clock where people are without deleting locations with their registered addresses.
Another problem is with the display, if a users location does change then the icon appears in the right location but it also satys in the previous one, so i have extra icons! Not good. Not sure how to fix this one at the moment.
Also need to figure out a way of incorporating individuality to the icons so that they can be distinguished between each other and correspond to a specific user. I think this should be ok to do. Not sure if I'll be using text or pictures yet.
Thats my list of things to do in the immediate future, I'm sure after my meeting later on I'll have a new longer list!
Monday, March 17, 2008
Microsoft Trip - 14/03/08
Geeking it up in
On Friday, Lorcan and I flew out to
We then got to see the Whereabouts Clock and were shown a demo of it. There were a few icons and when an icon was pressed a new display popped up showing text messages that had been sent with the most recent being on top and you could scroll through these messages. One of the icons represented a child who would be too young to take part but when pushed the icon would make a sound and do random animations e.g., the icon would turn into a flower. Also when someone changed location the clock would make a noise which I liked the idea of and would like to use in my project. Below the clock is a small area where the settings are, I didn’t know what these were before so I was curious to find out, the pendulum swings in the middle and this would show the signal strength of the GPRS while on the left hand side was 5 buttons for brightness, Abigail mentioned that in the trials people liked to dim the clock at night and on the right there were 5 buttons for volume as sometimes the noises could be a little loud especially with children pressing their icon. We also got to see other past projects such as HomeNotes.
After lunch we met with Tim Regan, who did not work on the clock but he was full of ideas especially regarding how to acquire Wireless Access Points, and told us about past projects that he had worked on which were all incredible. He kindly took our picture next to the Whereabouts Clock and sent them on. We then got to talk to Sharam Izadi who was behind the technology part of the clock and I showed him what I’d done so far but of course it decided not to work properly!
After meeting everyone we got a chance to go into the town of
I had such a good day and a big thank you to Microsoft Research for having us and also to the college who funded this trip – I really appreciate it and came back eager to get started on my project again! But first there is the small matter of exams…
Tuesday, February 26, 2008
Php and java
e.g., Colin's location is unknown etc...
Go me.
Meeting - 25/02/08
Next I have to combine the java with Processing so that the java code is linked to my clock and the animation is updated whenever someone changes location, Processing is a form of Java so hopefully this won't be too difficult to implement.
I'll be meeting with Lorcan next week at some stage to sort out the plans for the Microsoft trip and he'll run through his presentation.
Then there's the interim report which I hope to have my first draft finished by the end of this week.
After that I'll then get to work on adding a way of getting wireless access points.
Thursday, February 14, 2008
Coding Schtuff
Also I noticed when no name was entered, the record would be added to the database with the name field being null so I changed this where it gives an error if the field is left blank and it quits the program.
Wednesday, February 13, 2008
Designing woop woop
Monday, February 11, 2008
teeny tiny update
I have my java code giving an error whenever its not connected to the internet as me and Graeme couldn't figure out why it wasn't getting the MAC address over in CASL where there is no internet where we were, go us, although in fairness to Graeme he figured it out!
My webpage has two extra pages, one to register a username, one to register a location, at the moment the php page doesn't get the MAC address, it just gives directions on how to get it and the user has to put it in themselves.
Thursday, February 7, 2008
Meeting - 07/02/2008
Also discussed the trip to Microsoft Research, plan is that Lorcan will talk about my project, some of the other final year projects and some of his research which will be interesting, then I'll demo my project which should be pretty good by then (fingers crossed!)
Spent a while cleaning up my code, I had an extra table in my database which I didn't need and I'll incorporate user inputs into my webpage so they can register a location and register their usernames which will then be saved in the database. This shouldn't be too hard so I'll do this first. I will also update my System Architecture diagram and post it when I get round to doing it.
Next step is my clock display, can't wait! Graeme gave me a list with Flash, java 2d etc, which I will look into, was talking to Owen about Processing which he is using, it can be used in Eclipse which sounds handy.
I'm gonna make a start on my report as well wrt the design and why I've chosen to use the technologies and other possibilities I considered etc.
Also have to make a java GUI such as a JOptionPane but this is less important for now.
Monday, February 4, 2008
Presentation plans
Been panicing slightly over the demo we have to give, my Java code is interacting with the database although it isn't inputting the information it takes in, it just adds a blank row, grrr.
I should be meeting with Graeme tomorrow to go over the code in person, this should solve the problem
Friday, January 25, 2008
More Java
Wednesday, January 23, 2008
Java fun
At the moment I have two seperate Java programs, one can read in input from the command line which I need to get a username.
The second is a program that communicates with php, at the moment it's a simple hello world test that prints to my web page but I have it working so shouldn't be too bad to get it to do what I want.
So I've saved the best till last, to get the MAC address through Java.
Monday, January 21, 2008
Meeting - 18/01/08
I had to make a few minor changes to my code, just clean it up a bit.
My next task is to write some java code that takes in a username string and obtains the MAC address, thank you Graeme for sending on the code to help with that section! I'll have to look into how to connect to the web from java such as httprequest or something.
Then I'll have another php page that gets the username and MAC address from the java code and it will then send this to the database.
Thursday, January 17, 2008
yaaay
The code needs to be cleaned up but that can wait.
Wednesday, January 16, 2008
I'm stuck
I tried a few other methods I think the LIMIT method could be a possibility but I wasn't able to incorporate it into my code.
I was thinking maybe there could be a way to have a query for each person to print out their max times but once again I'm not sure how to go about this, any ideas?
Tuesday, January 15, 2008
I've been trying to get it to print out the most recent input rather than all of the fields and it now prints out the most recent one, I'll have to do a bit more to get it to print out a line for each person but hopefully that won't be as time consuming as the other one which turned out to be one line of SQL code
Saturday, January 12, 2008
Database Fun
At the moment it just prints out everything that is the same in both tables so I have to get it to print out the recent location added by someone. I had my 'time' field as type TIMESTAMP but apparently this doesn't work well with comparisons so I'll have to change that probably to DATETIME. TIMESTAMP was handy because it printed out the date and time by default, hopefully DATETIME does this too.
I'll probably need to alter my database a little once most things are working, like the IP address is of type TEXT so it takes in anything at the moment but that's not hugely important right now, also the collation default in phpmyadmin is swedish for some random reason but it works in english so i'll leave it!
Friday, January 11, 2008
First meeting of 2008
I need to input some test data and work from that to get stuff working, i'll need to have two tables in my database using each other to get all the information required, one table will have ID, IP address and location e.g., HOME, SCHOOL etc, the other table will have ID, IP address and the time it was last updated.
I'll then need to have the two tables working together and printing out a line for each person, e.g., Christine was at home at 1.20 p.m.
Once I have that working I can try to find a way to obtain the IP address rather than typing it in manually.
Wednesday, January 9, 2008
Database Interactions
I have to think more about my database now and decide what needs to be stored in it.
I have a meeting tomorrow so there'll be a huge long blog to write after that more than likely.
Friday, January 4, 2008
Christmas is over, sob
Today's goal was to fix up my simple php file as the input from my html form wasn't outputting to another php file but I have that fixed and working now although it is very basic but as long as it's working that's enough for me at the moment.
The next task is to try and get my php file to interact with my database. Not quite sure to go about this but google will be my friend and I'll read up on it.