Archive for the ‘Miscellaneous’ Category

Upgraded website

Tuesday, March 11th, 2008

I tried to upgrade wordpress last week on this website. It complained that the version of MySQL was not supported. I sent in a support ticket and got my websites services upgraded. I now have a later version of MySQL, PHP, and even a new control panel. Yay!

My theme appears to have a few problems though. I’ll have to look into that.

Morpheous bugs

Sunday, August 5th, 2007

I’m still having problems using the latest morpheus photo morpher software. This product lets you morph one picture into another. Simple enough. I’m trying to take it a step further and morph the picture into another without showing the other picture. So in effect, I’m just morphing the original into a different shape. The reason? I am working with image maps for a 3-D game to represent myself. I need to wrap my picture just rite so everything lines up in the game. The problem I’m having though is that the software is a bit buggy.Morpheus Photo Morpher - Non Movement.jpg

 

School is out! School is in …

Sunday, April 1st, 2007

Well, today is the last day for the semester.  I had to turn in two essays.  This first semester was interesting.  I’ve learned quiet a bit.  Most of what I have learned is about how to cite references with the APA style and another class taught me how to study.  Well, they actually taught me more then that, but that is a very generalized summary of what I learned.  I was hoping for a break, but next semester starts tomorrow. *sigh*

Dr Who Season Two

Saturday, September 16th, 2006

I was watching my favorite show on the DVR tonight and saw a commercial for the second season of Dr. Who.  Wow.  I kinda got really excited over that.  I had to pause the tv, jump up and find my wife to tell her the news.  We purchased the first season back in July.  We had ordered it just as the season ended.

The funny thing is, I’ve been hearing bits and pieces of the second season from a podcast I listen to from the UK - DarkCompass.  Today DarkCompass came out with some kind of game called Trumps.  Lost of Dr. Who. stuff today here and there.

Resources in .Net

Wednesday, September 13th, 2006

So I’m working on my little log program for my transactions. I look into moving my hard-coded strings into a resource file as good practice. I’m finding that in .Net framework 2.0, it is so much easier. I mean … easy easy. Everything is done for me

I added a resource file to my project and just start typing away names and values for each of my strings. From there, every string is directly accessable from a class that the resource designer makes for me as static methods. I’ve never had it so easy.

In the old .Net framework 1.0, It seemed like I had to jump through a few hoops to pull out resource strings. I’m liking the .Net 2.0 more and more every day.

Maybe tomorrow I’ll go ahead and start running FxCop to help me apply Microsoft suggested practices. I usually try to apply them, but I haven’t gotten around to downloading the program for my new compie.

This entry was posted by Second Life resident Dedric Mauriac from Higgins.

XmlSerialization and SecondLife Logs

Wednesday, September 13th, 2006

So last night, I was able to figure out how to download a log of all my transactions throughout the day

Authenticating with cookies was a pain because the CookieCollection object gets confused with cross-subdomain cookies (ie. .secondlife.com instead of secondlife.com)

So anyways, tonight I got on the ball with XmlSerialization - this handy namespace has an XmlSerializer that can serialize/deserialize xml into objects

Without it, I would have to create an XmlDocument and loop through each element off of the root document

Then depending on each child element, i would have to assign the innerText to different properties on my objects

Let’s just say XmlSerialization takes a lot of work out of the equation

Problem!

SecondLife transaction elements do not share a common name. Each element name has the id appended to it! i.e. transation_1234567. This makes it painful. Why the ID is in there i have no idea as “id” is repeated as a child element of the transaction.

To get around this, I simply used a regular expression.

xml = Regex.Replace(xml, “”, “”);

So yea … that solved the problem there and I was finally able to get my deserialized object just fine

I took it a step further an used a generic collection rather then an array. collections were introduced in .Net 2.0 and they are a god send!

[XmlElement(”transaction”, typeof(SecondLifeTransaction))] public Collection Transactions

So with that all done, I’m setting happy

well … not quite

I have issues with microsoft. I love to catch every exception within my debugger. even when they are caught and handled. My beef is that microsoft decided to look for assemblies that don’t exist for user-defined serializers.

so the MS Core library decided to complian that assemblies didn’t exist … twice. ugh! Although this doesn’t raise an error to the end user, it raises an exception to me as the developer.

Come on mr. gates - can’t you actually communicate amongst your core library without raising exceptions? or at least prevent me from seeing your “core” exceptions since I don’t have access to that code anyways.

To get around the problem, i created an empty library called LogViewer.XmlSerializers and referenced it from my LogViewer project. that fixed the exception problem just fine

End of Line

This entry was posted by Second Life resident Dedric Mauriac from Higgins.

Blogging to lewismoten.com from within SL

Tuesday, September 12th, 2006

Ok, I think this is going to happen.

I’m typing away within the world of second life

and hopefully this little watch i’m wearing from slstats.com will record all of it

then it puts it on http://slstats.com/user/view/Dedric+Mauriac

and hopefully (fingers crossed) it posts it to http://www.lewismoten.com/

Drumroll please ….

This entry was posted by Second Life resident Dedric Mauriac from Huin.

Second Blogaversary

Saturday, September 2nd, 2006

So I’m about an hour away from having my second blogaversary.  7:44 pm, two years ago, I tried my hand at blogging with my first post.  The first year was great.  I was posting like mad.  I tried my best to get a post in about something every day.  Now things have changed.  Ever since my wife introduced me to SecondLife, I’ve been hooked.

There just seems to be too much time involved with blogging.  SecondLife has a larger value for entertainment.  I’m able to be just as creative there, but in a 3-dimensional space.  Hopefully soon we will get web pages displayed on our prims.  For rite now, I can only blog through my watch over on SLStats.com.

Any how, my mother in-law purchased an XBox 360 live for me today.  I picked up a wireless adapter for it and The Elder Scrolls IV: Oblivion.  I’m still trying to get the thing to connect to my windows media center. When was it that game consoles became computers?

How many planets?

Wednesday, August 16th, 2006

Good news is that Pluto is still a planet. Bad news? We now have a new list of planets to remember for our solar system …

Mercury
Venus
Earth
Mars
Ceres
Jupiter
Saturn
Uranus
Neptune
Pluto
Charon
2003 UB313

I can’t believe a ball of ice qualifies as a planet. Seems more like a comet to me. Next thing you know, they’ll be caling our sun a planet.

Still Dreaming

Thursday, April 27th, 2006

I’m still having a lot of odd dreams and such.  I just haven’t gotten around to posting them, or even recording them.  I’m debating on getting a better recorder.  The current one I have is full.  It fills quickly, and the quality is bad.  On top of that, it records in a format that is very low quality and requires a lot of changes before I can actually post it.

Many times, I’ll wake up and recall what my dreams were about and think about recording them.  It’s just that the darn thing is full.  On top of that, I’m a bit lazy when it comes to transferring them to my dreamy audio website.  Even in my dreams, I dream about recording my dreams.  How wierd is that?

So, I got a cheap digital voice recorder originally to try it out and see if I was interested in the idea.  I’ve posted 70 dreams so far.  Still, a really good voice recorder can get expensive, so I’m not looking for something professional.  I just need something that stores more then this small 45 minute recorder that I have, and with better quality.  It also needs to be easy to operate without looking at the buttons.  Most of the time it is dark when I record my dreams.  Hopefully I can find something that records directly to MP3 format, and can connect to a computer as a removable USB mass storage device rather then having to install extra software.  I am so fed up with junk software for devices that should be able to be accessed directly.