Showing posts with label Blog. Show all posts
Showing posts with label Blog. Show all posts

Sunday, January 22, 2012

status

Time for bed. *yawn* Not my fault that it's bed time mind you... it just is bed time.

Saturday, January 21, 2012

status

Just finished watching X-Men First Class. Not too bad of a movie. Not too bad at all.

Database Class

Been thinking of creating my own Database Class. Either PHP class or maybe a ColdFusion component... perhaps both.



I imagine it would be something simple, something that takes arguments of the query built as strings.



For CF, not sure how I would do a <,cfqueryparam>> on parameters send into the function, if the function accepts a string. So something to think about with that for sure.



Not sure what I'll do with said class file(s) but yeah you just never know what it will bring.

Friday, January 20, 2012

WWW Linux

Been working with my /var/www directory lately. Rather annoying how it wasn't working for me. Anytime I tried to upload a file it didn't want to do anything with it etc. Long story. So I ended up running the following commands:




$ mkdir ~/www
$ sudo mv /var/www /var/www-backup
$ sudo ln -s /home/user/www /var/www


Works like a charm!

status

Spent way too much time last night attempting to setup a Linux Server at home. After five hours, I finally figured it out. Woot!

I Love You

So... I wrote a program that would help cheer me up whenever I feel down. Yes I wanted my computer to tell me how wonderful I am and that it loves me.



You'd do it to... if you wanted to. Yeah all of that... because of reasons and other things.



Quite simple actually, all I did was check for keywords that I passed in... if it matched a "bad" keyword, I would output something like "Don't say that, you're wonderful!"



If it happened upon a "good" keyword, it would say "I Love You."



Just something simple. I want to try some kind of text game where it takes input as text, and does things... just moving from screen to screen on a map would be amusing. "Go left, go right, go forward, go backward" etc. Just something to toy and play with for sure.

Thursday, January 19, 2012

Site Updated... Merged Two Sites Into One

Merged two websites into one tonight. Figured why log into two places when one will do.



So yep this is the new improved site. Hopefully all I'll be doing is adding to it from here on out. We'll have to see what happens.



Speaking of moving things around. Tonight I formatted an old computer I have, put Linux Mint on it and created my own home server. Not too bad if I do say so myself.



Can't recall all of the processor specs and all of that, but it has 2 gigs of ram and a 320 gig hard drive in it. So no I don't think I'll be running out of storage space anytime soon.



Kinda enjoy having my own server in the house. Good for projects or whatever else I need/want to put on it.



Not to mention it'll be nice to actually have something that's up 24/7 instead of only when the laptop is on.

Wednesday, January 18, 2012

CFTextarea Railo

Surprise Surprise... I was working on a site and would you know it? cftextarea isn't supported in Railo.



Either I have to come up with some other way to use the cftextarea... or just tell peoples that the app isn't supported on Railo. That kinda sucks for ONE tag to bring down a whole site as not useable.



I suppose I could ditch CFs built in JavaScript error checking and use jQuery... or something else.



Something to think about for sure.



For now at least... yeah need to figure it out.

Sunday, January 15, 2012

Contact Manager

Been working on a Contact Manager. It's almost done... well the main part is almost done. I'm sure I'll figure more to add to it. There are still a few things I need to implement. Adding / modifying users comes to mind. But yes, there's more I can do with the project for sure.



Come to think of it, I should comment my code more. Sure there are some comments and all, but if someone wanted to modify it... yeah not sure how helpful the comments would be.

Spam Spam Spam

Oh Spam. Honestly where do you even come from? So annoying. So crazy.



Not even sure why you are around. I guess you're there to annoy people and whatnot. Yeah all of that. So no. I do not like you spam. You are evil and will never understand what it's like not to be spam.



So yes, you may go now.

Saturday, January 7, 2012

Star Trek: Nemesis

Watching this little gem of a movie today... surround sound of course.



Upon viewing it... the whole idea of having a clone of Picard really is a good idea for a story. Of course I would have loved for them to take it a little differently.



Something along the lines of having the clone be the age of Picard. They could have done some really good stuff there. Half the movie could have been following the clone around the Enterprise etc. and then we find out it's a clone.



Yep something like that for sure.



But it's still a great flick. I enjoy it.

Friday, January 6, 2012

Friday

Friday decided to come. Can't complain about that at all. Looking forward to just relaxing at home during the weekend and all of that fun stuff. Oh yes good times indeed.



You'd think I'd be able to get away from the computer during the weekend. Well no. That's not always the case. I usually tend to program and just have fun. Hobbies are always a good thing, programming happens to be mine. So that's what I do.



I should come up with some ideas this weekend for projects and other things to work on. That would be neat. Of course writing a story would also be well accepted. Yes story writing is a must.



That's what I'll do, start a new story. See where it goes.

Projects Page

Created a Projects page. You can access it through here.


Nothing too special, so far only one project exists on it. The XML project that I talked about earlier.


If it's useful to people great. If not that's okay as well. Just something I felt like working on.

Java XML Documents

So I was looking into creating XML documents. Of course you could use the default that comes with Java or you could use JDom. I've used both methods in the past, and they both work quite well.



Got me thinking though, why not approach the creation of an xml document as a StringBuffer? Could be useful if you don't need to have a DOM to work with. Something simple to just output the xml document in a very simple text format.



I'm currently working on it. Possibly more just a proof of concept.



We'll see how it all turns out.

Recovering Old Projects

I was looking through some old folders the other night and stumbled upon a bunch of code that looked like they were starts to projects that never came to anything.



It was interesting to see the different kinds of ideas I had going, and then for some reason or another just stopped.



I'm wondering if any of these are projects that I should pick back up or not. Should be an interesting journey. Well not to mention it would be nice to clear out the junk and clutter that doesn't need to be there anymore.



So yep something to do for sure.



Looked over my HTML project. I should revive that one for sure and at least post the existing source code that I have. That'll be my next step.

Wednesday, January 4, 2012

Writing

Doesn't feel like I have time to do anything anymore. Especially writing stories.



Need to find a way to figure that out... how to just dive in and start writing things, stories... poetry... whatever I can write. Lots an lots of writing.



Ideas are not always easy to come by of course. So I'll have to do some thinking on those as well.



I suppose I'll just see what happens. Get some ideas together and just see what rolls off the tip of my pencil.

Monday, January 2, 2012

Oh Life

Second day of January. Talk about good times. Didn't have to work today, tomorrow work starts all over for the New Year.



Sometimes all ya have to do is smile at life. Once you can do that and laugh at yourself? Life will be a good ride. Of course it's not always easy, but shoot if you believe in yourself, the sky is the limit!

Sunday, January 1, 2012

One Program Multiple Platforms

They've been doing it in regular desktop apps for years. Why not do the same for web apps?



Here's what I'm thinking. Create a project and code it in the main languages that people use for websites.



Honestly, would it be that difficult? I don't understand why people don't do this. Aside from the fact that they don't know more than one language maybe?



So let's say you have a blogging platform. Why not code it for PHP, ColdFusion, JSP, Perl etc.? (Lets not bring ASP into the mix... but I suppose to be fair we should.)



So yep, that is my question for the morning. Why not do that?



It makes sense to me... of course it might be the high quantity of caffeine in my system at the moment. But that's besides the point.



If you were to code your project in the different web programming languages... made sure that they all looked the same. Just ran differently under the hood. Shoot. I'm loving this idea!

So Far So Good

Well, day one of the new year... not too bad. Nothing truly eventful occurred. It was just life as usual. Of course I hadn't planned on anything really great happening. It is just life afterall.



Probably time to take the Christmas tree down. Yeah... however the cats to appear to enjoy it. Will have to think that one through for sure. Silly kitties, having their fun and all of that.



Speaking of the cats, I'm amazed at how well they get along with the dog. Such good animals they all are.



Tomorrow is the second day. We'll see how that goes.



Bed Time.

2012

Well 2012 came in last night.



Not exactly certain what I think about the new year yet. I'm sure it will be full of whatevers and everything else that has to do with whatevers.



Typical for a new year to do that to ya.



I'd like to say that there were lots of memorable moments in 2011... but well I'm not sure I can recall all of them. So I won't even attempt. Simply on the fact that I might miss a few.



So, here's to 2012! Let's hope it's a good year.

Slump

 I feel like I'm in a slump. I can't even think of what to write about. The cursor just sits there. It's a staring match that wo...