Ramblings of a Coder

Brainfarts of an idle mind.

Xbox Live Current Avatar
 
 

New Milestone

Wednesday 14 July 2010 at 9:31 pm

The Second milestone for my course M253 was finally released on Tuesday, Its looking like its going to be a fun few weeks working through this one. Quite a lot of work involved right from the onset, Really going to have to get stuck in as a team. We also have to pair off in 2’s, and each person has to be in 2 groups. But not grouped with the same person, So i was bored waiting on the delayed meetings and wrote a little JavaScript program that does exactly that. It seemed to go down well when i shared it with the team, at least it released some of the tension that had been building over the course of our latest IM meeting anyway,

(0 votes, averaging 0.0)

 
 
 
 

Farewell VS

Friday 23 April 2010 at 9:44 pm

Farewell Visual Studio 2010 Beta 2!

Hello Visual Studio 2010 Professional!

Long arsed uninstall on that beta.. took FOREVER then i had to also remove the Visual Studio 2010 SDK too before it would let me install the Final edition.. what a pain in the arse. And I’m just leaving the installer running for the Final, If its anything like the Beta 2 installer it’ll be done by the time I’ve watched True Blood and Fringe, and probably fallen asleep for a few hours too.

So now that I’m no longer running the beta.. what to finish first? So many projects! So little Time!

(0 votes, averaging 0.0)

 
 
Xbox Live Avatar
 
 

More Tweaks Incoming.

Friday 09 April 2010 at 8:03 pm

Got some more Blog tweak’s incoming, Got them working on my test version but not quite ready to deploy them to hear yet.

Mostly its just visual things, Fixing the page layout so it works on smaller browser windows. and removing the large list of previous entries. Replaced this with a Slideshow type entry that just switches between them, Just less vertical space which i think looks better.

Also tweaking the graphic’s, which really takes time because i absolutely suck at doing graphical work. Gimmie code anyday. Feet from under matress

And most importantly, finally adding in my project pages. Really need to-do this one, Thinking though that I’ll start afresh with this part and only add in projects as/when/if I’ve worked on them from this point forward. Saves having to locate the older stuff and then write about them.

I do have other idea’s for additions, but I’ll leave those so i things to post about in the future. In the meantime,  laugh with me at a picture i took today.

(0 votes, averaging 0.0)

 
 
 
 

Struggling.

Friday 26 March 2010 at 5:33 pm

Time since the last entry has been tough, We had a weekend of hell with the neighbours.  Thankfully by Sunday it had calmed down but still by Sunday i was exhausted and also coming down with a bout of Man-Flu. So yea it continued like that till… well till yesterday when i finally got a full night’s sleep.

Been considering starting to actually just post here when the neighbours start up, Public announcement and all that. Not that anyone local needs that, the noise level from them does it just fine. But it’ll let me keep note, Don’t know yet, watch this space!

Anyway, I’ve had this assessment sitting on my desk for weeks and did plan on using this week to start and finish it. But i just can’t seem to focus on it and its due on Monday. So I’ll have to be forcing myself into it over the weekend, praying that the neighbours actually give us a quiet weekend this week. But for today I’m just going to relax with some mindless and pointless programming, No goals just start up VS and see what occurs. Hopefully energise me enough to get stuck into the assessment… hopefully.

(0 votes, averaging 0.0)

 
 
Xbox Live Avatar
 
 

System update for Client

Sunday 07 March 2010 at 04:36 am

Over the past week I’ve been updating a system that i wrong in late 2007, At that time they wanted the “Cart” system to only be available for a single login session, and not to be saved. So that’s exactly what was supplied. Now they want it updated to to be available at any point in the future and have the ability to be saved.

Normally this would be simple, but the entire system has been modified in gradual stages so much that’s an absolute nightmare. First I tried to just modify the code to get the required behaviour, but that failed. So now I was left with the choice of continuing to hack away at it in the hopes of getting it to work as required finally. Or rewrite the whole subsection from scratch.

I choose the latter, and that's been mostly all that I've been doing. Its been a nightmare but I'm finally seeing the light at the end of the tunnel and its allowed me to future proof the subsystem for the changes I can already foresee in the future.

Downside of it all is I’ve forced myself not to touch any other system within the base system, even though the desire to change quite a bit just to make it easier has been HUGE. But what can i do? I know myself if I started that then I wouldn’t be happy until it was a full re-write and i have neither the time or the patience for that.

Also have a assessment due this month, Not even looked at it yet. Behind on the coursework for it too, mostly theory based coursework and its so dry to read that every time I've attempted to I've fallen asleep. Great for those long nights, bad for assessment time!

Also got a strange project to-do with G for School. Something to-do with a snowman, we really don’t know what's expected though as the school neglected to tell us anything about it. And well G doesn’t seem to know anything about it. We’ve just got some previous entries in this snowman book to go from. Ahh well I've had some ideas and if we can get G to-do them tomorrow then I think his project will be finishable to turn in on Monday. If we’ve got the right idea about it anyway.

(0 votes, averaging 0.0)

 
 
 
 

What now?

Friday 26 February 2010 at 9:45 pm

Well, the update seemed to go rather well. If i don’t mind saying so myself. Only thing is the pickit2toolcomment spam, I noticed a LOT of comment spam appearing in the older entries. So much that i had to enabled the Spam Quiz, Which i have enabled on entries over 14 days old. That seems *fingers crossed* to have cut it down to zero.. for the moment.

Still fighting away with the VS 2010 SDK trying to make the PicKit 2 available directly within the IDE itself. Actually  connecting to the hardware is in, Does that. Now I’m just trying to figure out how to work out various other things. I love that they’ve given a SDK, but i hate that finding information on actually using it is an exercise in pulling teeth solo. I’m sure I'll struggle through and suss it though.

For tonight though i think I’m done, Got a choice of movies to pick from tonight, Funny People or Seven Pounds. Which will be after True blood. I was planning on finishing off Halo 3 : ODST, but i accidentally finished it earlier today. So it’ll have to be movies and TV programs, then if I’m still awake maybe some more work on the project or finish off Prototype. Undecided.

(0 votes, averaging 0.0)

 
 
Xbox Live Avatar
 
 

Update complete!

Wednesday 24 February 2010 at 9:25 pm

Finally, I got round to finishing this update. Well semi finished, Its finished enough to be live now. But i'm sure over the coming week's I'll tweak it ever more.

Parts to tweak are certainly the sidebar, Need to tweak the archives section a bit to a slightly different useage. And fix the links section, Get my friends back in there.

And of course post more! So i'll be creating a nice little projects section. And i DO have some stuff to post in that already. But i'll leave that for another day. For now i'm just going to sit and relax and pray it stops snowing and maybe starts raining so there is no snow left tomorrow morning.

I've recently starting cycling again (Read that as Once so far) but with the snow last night i couldn't get out today, so really hoping its all gone tomorrow morning so i can get back out.

(0 votes, averaging 0.0)

 
 
 
 

Well that month passed

Wednesday 13 May 2009 at 02:21 am

Previous month passed by rather quickly, I never did get to the point of releasing any of the stuff I'd programmed. Mostly because i haven't been playing any subscription games at all lately. Its been refreshing actually. I finished both assessments, One of them i was finishing off with hours to go before the submittal deadline. Purely my own fault too, i just kept putting it off and putting it off. And suddenly the deadline was upon me. But they're done and both passed. Got 2 assessments left on the computing course and that's it done for the year. Basically finished one of them just need to cleanup the written parts and format the code. Other is a multiple choice paper, which I'll do in the coming days. Then its 100% focus educationally on the mathematics course till October when i start the next computing course.

 

IMGP0153 I did make some changes to the cramped computer room, I added some shelving. Trying to work out a way of adding more actual desk space without cramping my movement room to much, but i have some ideas. I'll get round to it, The shelves alone gave me plenty of room to move, and they're well out the way of the two smaller people i live with. So its not so much of an issue right now as it was at the time of the last post. Still haven't built G a computer area yet, but i really want to take a decent amount of time on that and do it 100% correctly and make sure it'll last as long as the ones I've built for myself at least.

 

On the project side, I've been making some headway. Collected a metric ton of research materials and schematics, started slowly building up my parts inventory too, Checking over my current equipment and see what needs replacing/updating before i really get started in earnest. Nothing worse than starting something and having to stop to wait on a part or something to be delivered. There was a lot more to learn though than I'd actually considered, So it may take a bit longer than I've estimated to myself but that's not going to stop me! Its just a matter if finding a good starting point, or even several starting points. Once i get those i'll rush onwards.

 

On the coding side for the above mentioned project, I do love C#, but when it comes down to it I'm still i Delphi man, and its hard hard work to not switch back just due to how easy i find good ole Pascal to use, especially when it comes to breaking completely new ground for myself. But i think I'll soldier onwards with C# anyway.. or maybe a bit of both depending on how it all goes. Getting ahead of myself here anyway.

 

Anyway, its damn late as i write this, so i think I'll finish up right here.

(0 votes, averaging 0.0)

 
 
Xbox Live Avatar
 
 

Busy Month Ahead

Monday 06 April 2009 at 5:59 pm

clipart0196 Yup, as the title states April is going to be a very busy month for me. Got 2 assessments to start and finish this month alone, and both are due around the 25th too. So I've got to get onto those. Throw in the fact that Garion's at home most of the month too due to school holidays, means its definitely going to be an exciting time. Plus we're actually working towards getting G into school for a whole day too. All of which just means more distractions.

 

On top of the two things mentioned above, I've also recently "Finished" a little program that displays the latest Eve-Online Wallet entries on my G15's LCD. So i also want to fire on through and clean it up, remove unneeded/wanted processor usage and just overall make it more presentable and fire it out there into the ether and see if anyone uses it. Knowing me this will take most of the month also. Been working on another little "for fun" project too, Takes your twitter feed, and you can link your friends to Xbox-Live Profiles and it takes there avatar and displays this right into your desktop with whatever they've said, or said to you. Kind of a nice little visual Avatar group/conversation. I know, it's a kind of pointless program and serves absolutely no useful purpose. But i don't really care. Its something fun to-do. I'll get around to posting screenshots of both of them at some point this month also.

IMGP0078And now the real project that I'm going to focus on through the summer/autumn. Radio and Computer interfacing. As I've mentioned before Amateur Radio is a sort of hobby of mines. Its always drawn my attention and imagination. And finally I'm in a position where i can actually do something with this interest. It's going to be fun, for me at least. So expect more on this through the summer months especially when my first course wraps up in the next month or so, which will give me some more time to devote to it before i start the third in august. Lets just say that i wont be buying any prebuilt equipment beyond the power supply which i already own and there will be a lot of computer interaction with it. I dare say this one is going to be a long haul project, but I'm eager and excited and willing to learn whatever it takes to get to where i want to be with it in the end.

 

I'm also going to be hopefully doing some more work within my current house, my small computer room has been great. BUT! I'm quickly running out of room in it and that's just with my course materials, which I'd hedge a bet and say are only going to be getting more plentiful as the course ramps up in difficulty through the years to go on it.  So i need to start thinking of shelving and some more actual work space. as you can see from the recent picture its getting pretty cramped. Maybe move the wall, or remove the wall and replace it with a half height partition. Either way, something has to be done about it. But i still feel the need to keep the equipment separate from the rest of the room.  What i really need is a larger house, but that'll come! Also need to plan out and build a decent computer area for Garion. He seems to prefer a full sized desk and chair these days over the smaller ones that are more aimed at his age.

 

So that's my very rough plans for this summer and what i want to get done. Isn't as much on that to-do list now that I've written it all down. But course I'm not taking into account all the good weather were sure to get and the endless afternoons of sitting in the garden with a book basking in the sunshine. *wonders if its still sleeting outside*

(0 votes, averaging 0.0)

 
 
 
 

Speech Recognition

Friday 19 December 2008 at 6:38 pm

So, who out there hasn't actually watched them using there computer in Star Trek and though "If only!".

The strange part is though that the software for this kind of control exists and is available. Sure it can make mistakes, but people still fart in crowded elevators too. We're not perfect either. Anyway with that bit of humor over i turned my sights to some voice commands in Linux, Not many applications out there for this kind of control. Which really shocked me actually as Linux usually attempts to keep up and/or surpass with features of the Windows, But Windows has had a full system of voice control since early XP, possibly before too. This isnt saying linux doesnt have speech recognition tools, the Sphinx library is pretty damn nice. But actual applications that use it? not very many it seems beyond some plugins and stuff. Disappointing, especially when things like KDE have been massively overhauled and almost completely rewritten. Strange that someone at the start didnt think to include an accessability feature like that.

Anyway, I've decided to give making a simple voice control app myself a go. Not the first time i've played with this idea either, if i remember correctly when i got my Bluetooth headset i also toyed with the idea. But that headset lasted a whole 3 weeks or so before the battery died and stopped charging. Right now im using a Superbeam Stereo mic setup through the rear Mic input and a headset with Microphone through the Front Mic input, and i also have a desktop microphone too. With the 3 of them you can get some good effects when capturing from them. Produces some intresting echo too which i cant seem to get to go away, But PocketSphinx which is the one im currently playing with still has about a 99% accuracy on the simple commands i've setup so far. And its working from all over the room, so thats also a pleasant surpise. Lots of reading up todo though. as it seems to be a complex subject and the documentation is very sparse on it. Which is problem why its a technology thats not really present.

(0 votes, averaging 0.0)

 
 
Xbox Live Avatar
 
 

Xbox360

Thursday 20 November 2008 at 06:43 am

So the xbox360 experience update was finally released. and I got to sit down and create my avatar in my image! with absolutely rocked. Say hello to Specis Avatar. knows who know me should notice it actually looks a lot like me.

Anyway the dashboard update is a major change to the existing system

Only one game really available at the moment that allows me to use my avatar fully in game, but I'm sure we'll see loads soon.

Sad side of the fully 3d avatar's is that for some ungodly reason your not allowed to use them in community XNA games, but certified games seem to be allowed access to them. Ah well I'm sure in the next few months you'll see something on this front. Or we'll see it when XNA 4 comes around. which going by the previous development cycles will be in 6 to 9 months.

(0 votes, averaging 0.0)

 
 
 
 

C# and “Global Variables”

Thursday 19 June 2008 at 8:41 pm

So, much to lots of people's pleasure I haven't used Delphi in a long time now. I've been using C# and one thing that has annoyed me is the lack of Global Variables, Now i know this is completely against the whole OO design but god I still miss them, course you can get around this short coming by using a class with static members. But it still defeats the point, sure it works but now all your Objects are dependant on that Global object being present.  Needless to say I've still found myself doing this little cheat.

 

   1:  static class GlobalSettings
   2:  {
   3:      private static Rectangle internal_screenbounds = new Rectangle(0, 0, 0, 0);
   4:      /// <summary>
   5:      /// screenbounds is the drawable area on screen/window
   6:      /// </summary>
   7:      public static Rectangle screenbounds
   8:      {
   9:          get{ return internal_screenbounds; }
  10:          set{ internal_screenbounds = value; }
  11:      }
  12:  }

 

All that so I could have a global screenbounds rectangle to use within the paddle and ball, I could just grab them on creation of each object. But in a something larger than pong, that *could* be a lot of copied information which is really a waste of space. Why a static class? Because that way I don't have to worry about creating it, its already there. its got something to-do with the instantiation principle or so the book Object Orientated Programming book I read a while ago lead me to believe. Not that I understood it anyway, I remember that chapter being boring and only getting skimmed. But that phrase kind of stuck with me.

I also use the get and set method, makes easier reading. But actually coding everything in that style is nothing but a pain in the arse really. But it was a small example so yay?

Bright side though with XNA is the sheer fact of actually being able to make each entity an individual object entirely. It's something that I really am enjoying about it all from my earlier attempts with Blitz3d, Borland Delphi and Irrlicht.net, GLScene etc.

 

I've also noticed I keep going to program in an none OO style and having to force myself to rethink the section of code I'm writing or have written. I guess its really just something you have to get used to.

(0 votes, averaging 0.0)

 
 
Xbox Live Avatar
 
 

More Active

Tuesday 17 June 2008 at 2:09 pm

Yea, with the last post about education. I decided maybe it was time for me to be a tad more active with my blog itself, Kind off get into the spirit of doing stuff. Not quite sure what I will mostly be posting about but I'm going to aim for at least 3 decent posts a week covering more than "I played WoW today lolz" which seems to have been my standard thus far.

I'll probably go along the path of my adventures in XNA and starting to learn how to program again from scratch, For no reason that I constantly feel like I skip basic topics in some languages because of my understanding of them in others. At times both a blessing and a curse, Anyway I created a pong clone in XNA (Gotta start with pong) and had massive problems porting it over to the 360 itself. Mostly due to aspect ratio's and the XNA book I was reading citing the Safe zone to be 3%, Which is a complete falsehood and/or misprint as the safe zone is in actuality 30% at worst. Quite a difference between 3 and 30.

pong pong2

Another problem i encountered was the console itself returning the backbuffer size as 800x600 and the console actually running in 640x480 or various other resolutions depending on if I'd selected Pal-50 or Pal-60 and widescreen etc in the actual console settings (Same code running on both screenshots above, only difference was ones on the PC, others on the Console). This caused all sorts of scaling nightmares for me somehow that took me forever to fix. Mostly because my onscreen text was always correctly positioned centre screen, Where as my paddles where just all over the place. Turned out to be because in my Paddle Object i was basing the safe screen zone of the client window size. and the On-screen text of the actual backbuffer size. The console itself scales the back buffer to the correct size for display. But you can imagine i was using a safe zone of 640x480 (and various others) on a 800x600 canvas. the correct text was what probably caused me to take so long solving the problem but was also the solution for me in the end. After I'd ripped absolutely everything else out the game.

So that was my first venture into the land of XNA and the Xbox360 development. I will finish the pong game and upload it in the coming week/weeks, Especially now that I installed VC# 2005 and XNA onto the laptop and don't have to walk between rooms to test deployments to the console.

(0 votes, averaging 0.0)

 
 
 
 

Still coding

Wednesday 31 October 2007 at 9:46 pm

Been messing about lately since my last post getting right back into the programming side of PC usage. Been playing with some Javascript under its new name of 'Ajax'. Interesting what people are finally doing with javascript and the web, Calling it ajax and web 2.0 is all a bit bull-shitty though, same old stuff just used correctly finally.
Also been looking at open source software just to see what's going about out there atm, Highly recommend the Free Php/Javascript IDE Called Aptana, Found over here at http://www.aptana.com/
I did notice though that they've released a "Pro" version and are charging for it, Which seems to be quite typical soon as a open source program gets decent and people actually start using it. *Cough* X-Chat *Cough*, Anyway check out the community edition While its still free.

Also though on the open source software front i noticed Mozilla have spread into the IM Client field too with Instantbird, at the moment its very very basic. but it works mostly. Unless you create an IRC account for a server that doesnt exist. you need to actually go and delete all your settings to recover from that one :) I actually only found this one because Windows Messenger Live 8.1 keeps randomly just crashing for me and i was looking for a quick alternative to it. Its that basic I've actually been looking at the source code to it myself see if i can add a few things that i think all IM's require (Emoticons).

Still messing about with XNA too, just been working on my same old TBS game again, nothing really to show just thought it'd mention it. let people know that i am in fact still working on the idea.

(0 votes, averaging 0.0)