My New Digital Camera – Canon SD1100 IS (IXUS 80 IS)

Some people may not realize, but I like photography and will spend a lot of time looking at photography on the internet.  My dad actually was an amateur photographer for a while and took several classes to get better and has passed on a little of that knowledge to me.  The biggest problem is I have never had a quality camera that could take a quality picture.  Today I did a little bit of research on ultra compact cameras for around $200, and found an amazing one for the price that a lot of professionals said for the price is an amazing point and shoot camera.  So I got it.

This camera is to be a multi-function camera for me. I will try to carry it with me always so that I have the opportunity to take some pictures I have always wished i had a camera for. Also it is a camera that takes good high quality pictures (8 megapixels) so if I do get that good shot it will be a good picture quality wise. It will also get me started down the path of being a better photographer as it will allow me to take a LOT more pictures anytime I want so that I can get better.

As a test I took some pictures of our dog playing fetch in our living room and here is the results. Note that I know nothing about any settings on the camera at all. This is just me pointing and clicking after throwing the ball. So if they suck its not me. If they are good then I have amazing raw talent ;) LOL

AHHHH I Might Miss It

Time to Dive for It

Am I going to get it?

Pouncing on the Ball

If you are into photography and have any tips please let me know what you think.  If you are in the market for a good inexpensive camera that takes good pictures I think this one is it.

Tulsa Tech Fest 2008 “Moving from Code Behind to Multilayerd Architecture with OOP”

I want to thank all those that came to my talk. I have added the files for you to download. Just a note you will need to edit web.config file for connecting to the DB.

OOP_TechFest_2008_Presentation.zip (737.83 kb)

Change Pirate 4×4 Colors with Greasemonkey

I try to visit Pirate 4×4 when I can to read about jeeps.  The biggest problem is that the color scheme hurst my eyes after a while.  So I found out about Greasemonkey for FireFox and you can write custom scripts to edit "stuff" on a website.  So I found a quick piece of javascript code on a site for editing css and modified it for Pirate 4×4.  So to install and use it here are the instructions

1) Install Greasemonkey for firefox.
2) Visit the script home for "New Pirate 4×4 Colors" and click install this script on the right.
3) Visit Pirate 4×4 forums and seee it change the colors.

 

Note:

So that you know when you load up the page it will load up the normal colors then once the page is done it will execute the Greasemonky script and change the colors.

Hope you find it useful.

Writing Support for Hirigana, Katakana, and Kanji on Tablet PC in Vista

So the other day I acquired a Tablet PC, been wanting one FOREVER. The great thing about having the tablet is now I can do my math on the computer and no more paper.  I also am taking a Japanese class at college to better help my cultural influeances in the world, heh not really I just want to understand anime I watch better.  Anyway one thing about taking the class is I am learning to write kana.

Well it is easier to learn kana when you can write it so I got the wild idea to do it on my tablet. I spent a while online looking for programs to let me write kana and recognize it. Then a friend showed me a link to someone using Vista and writing Kanji. That got me thinking why can't I write in Vista using the default settings. So i set out to figure out how and spent another hour looking online for a how-to. Unfortunately, I didn't find one, but I got very annoyed and just decided to figure it out myself and figured out how easy it was to actually do it. Just add Japanese keyboard to Vista. Its just that easy.

Here are the steps.

1) Open Control Panel.

2) Go to the “Clock, Language, and Region” section and click on “Change keyboards or other input methods”

3) With the new dialog box click on “Change Keyboards…”

4) Click on “Add…” to add the Japanese keyboard to the list.

5) Find “Japanese (Japan)” and select Japanese checkbox. Then OK.

6) Now you should see English and Japanese in the installed services area as an available keyboard to use.

7) Next is to make sure you can write.  Click on the flyout, if available, for the tablet pc writing area on the left side of the screen.  And you should see English and Japanese from the langauge selection.

7) Select Japanese and you should be good to go to start writing Hiragana, Katakana and Kanji.

That is it. That is the process for getting support to write in the Japanese language. I also note stroke order does tend to matter. I found that out trying to write ki in Katakana. I kept getting really really weird results when I got the stroke order wrong.

Agree and Disagree with Hearding Code Podcast

Was looking at the lazycoder blog and saw a post on Herding Code podcast, sounding cool, I saw he posted on a “Back to the Basics” episode. I just want to be clear as I start this. I am a beginnermediate (not quite a beginner, but definitely not an intermediate developer) developer. I look and listen in my world at that level and base my conclusions on my skill level. The purpose of this post is to show a bit of the discrepancy between what an advanced developer would consider basics and what a beginner would consider basics. I do agree these are all basics, but I believe there are levels to them that should be clarified.

Below, I have categorized things the podcast hit on as basics.  I tried my best to put it in a linear fashion as what you should learn first to last.  I have also included a short opinion on each of these.

Beginner

Memory Management

This is defintely something a beginner _needs_ to know.  Not necessarily every part, but have a good idea of what is going on.

References (pointers)

This I agree is another thing to learn so you get a better idea of what is going with Memory Management.

Requirements

Here is the gold of what a beginner needs to learn.  If you don't know the requirements or can't translate those requirements to code then you will most likely fail as a developer.

Beginnermediate

Floating Point Math

This is one thing that should be learned and is important, but not quite as important as not knowing the above. This tends to be an extensive thing to figure out and to really grok so I put it in the beginnermediate area once you know the beginner level and the general basics of developing like: if, then, for, variables and the like.

OOP

This is one thing that is a basic to learn. However, it is HARD to learn for the real world. I learned OOP in a college class in one semester no problem. It has taken me well over a year to translate, effectively, that knowledge into real world applications, that aren’t games. This is a big must, but can be put on hold to learn whats above first.

Source Control

To me this is kind of a debateable topic as when to learn.  I think before you move to intermediate level programming level you should learn the basics of source control because it is at this point that you are going to be writing more sophisticated programs that are going to need Source Control.

Intermediate

Data Structures

Data Structures being an intermediate skill to learn is kind of misnomer. I think you should learn 2 to 3 basic data structures like an array or in .net generic List<>. Just something to get you by then later once you understand more and more go back and really learn other data structures. I believe this really would work out well because then you have probably coded quite a bit and will learn the data structures quicker and really know when and where to use them.

Design Patterns

This is most definitely an intermediate skill to learn. Design patterns are important to writing smooth pretty and effective software, but until you learn OOP really well or a few other things you are stuck in the land of “please just work”. Understanding and using design patterns from what I have seen just takes time and writing quite a bit of code before they make sense. I saw this because I have yet to be able to use them effectively and really understand when and where.

Dependency Injection

I put this in intermediate because I still don’t know what it is and everytime I ask I just get confused which means it is something beyond my skill level so I am defaulting it to the top of the list. Because of the not understanding problem I personally don’t think this is a basic, but I will listen to those more experienced than me and consider it a basic.

Concolusion

I guess I mostly wanted to do this post to kind of come up with a way to organize what and when to learn the basics. From reading and research ALL of the above basics are things that are used daily and very important to know, but not all of it is easy and can be learned quickly so it is good to break it down. I really loved this podcast episode because it is honestly not often I get to hear pro’s talk about the basics. The basics are something I strive to help people understand because it isn’t taught a lot online usually and _most_ of the time not well.

Vista Media Center Not Displaying Videos in Menu – My Solution

I have been wanting to watch my videos that I have on my hard drive on my TV for a looooong time, but never seemed to have the right equipment that actually worked. Well yesterday a friend finally hooked me up with the right equipment and I have been playing with Vista Media Center since then.

First off, Vista Media Center rocks. I am loving it. I used to have to get up every so often and switch videos on my computer to watch from my chair or bed, not to mention mess with rotating the flat panel monitor. Well, now with media center and the IR Remote that is hooked up to the computer I basically have a TiVo like system going, minus recording tv.

Now along the way I ran into a problem, was user error. If you hit the power button on the IR remote it would send the computer to sleep mode. Not to big of a problem except the setting for windows was to prompt the user for a password upon resume. Normally that wouldn’t be a problem for I couldn’t seem to login or even get anything to display on the TV or my computer once I hit the power button on the remote again. So, I did the one last thing I could think of. Hard turn off of the computer.

That is when the problems started. Once I got it back up apparently some db got corrupted that no longer let me view the videos. So after reading for a few hours on the internets I came across the solution, and with a bit of guessing, to just delete the db’s. Only problem is I didn’t know where they were located as no where explicitly said where. After some searching I found out 2 things that are kind of important.

  1. Media Center information and stuffs are stored in “Microsoft\ehome” folder
  2. The media library database is stored in the “Microsoft\Media Player” folder

You can find the main stuff for Media Center at “C:\Windows\ehome”. That is where the executable and other things are located. Other stuffs are in “C:\Users\Buddy\AppData\Local\Microsoft\ehome” that will be important for other things besides this problem. Just letting you know file locations.

What is the most interesting though is that the media center library is stored at “C:\Users\Buddy\AppData\Local\Microsoft\Media Player”. I was amazed because I figured they would store that info in the ehome folder.

Anyway, the problem specifically that I had was when I would go to the videos area of the menu in Media Center it would try to display all the folders, but wouldn’t. I could actually get it to do anything. Once I decided to delete the database information it reset everything back and I could finally add files through the monitoring folders of settings. Well once I did that it still didn’t work properly as the videos would only display in the “Date Captured” view.

So what was my solution?

  1. Delete the database files at “C:\Users\Buddy\AppData\Local\Microsoft\Media Player”
  2. Unmonitor all video locations
  3. Install 3rd party MCE application called Video Browser

That is it. Now I just use video browser app that I installed into Media Center as it works a lot better, but a bit different.

Install and Use Video Browser

Installing Video Browser is super simple. Just visit the site “http://code.google.com/p/videobrowser/” download the installer and install it. After that go to the Pictures+Video section of your Media Center menu and you should see a tab to the left called Video Browser.

Now the most important part to not is. VB only monitors your “C:\Users\\Videos” folder. So to add videos from other locations just simply create a shortcut to that folder or file and it will work. This works out great for me as I have a lot of things I need to watch so I only put shortcuts to my “To Watch” videos.

I suggest giving the Media Center stuff a try in vista it is a lot of fun. So much fun in fact if I am not careful I might make an app for it.

Ionics ISAPI Rewrite module with Code Igniter

One thing that apache has is mod_rewrite, but IIS doesn’t seem to have it nativly.  However, Ionics made an ISAPI filter and submitted it to CodePlex for people to use for free.  To get it to work in Code Igniter is pretty easy once you do it for the first time.  As a note it is best to do it per site.  Here are the steps and some images.

1) Download files from codeplex site (http://www.codeplex.com/IIRF)

2) Unzip IsapiRewrite4.dll

3) Put IsapiRewrite4.dll in folder of the top level of the website (wwwroot/default site)

4) create .ini file named IsapiRewrite4.ini (Must be named IsapiRewrite.ini)

5) Open IIS Manager

6) Right-click on site -> properties

7) Isapi Filters Tab

8) Add…

9) Name filter what ever you want. I named it IONICS Rewrite

10) Click browse and load the IsapiRewrite4.dll in the top level of the site

11) add the code below to the .ini file

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ /index.php/$1 [L]

12) recycle the application pool and all should work.

I got the snippet for the ini file from the CodeIgniter forum, but can’t seem to find exact post to link to.  There are a lot of things that you can do with this rewrite module much similar to mod_rewrite for apache.

Also as a side note this works awesom for wordpress blogs too to get good permalinks.

Subtitles for Video

As many of you may know from my last post, yeah a long time ago, I like anime a lot.  One thing that was always interesting to me was how fansubbers did subtitles.  Well the other day I actually spent about 20 or 30 minutes and figured out how to do basic subtitles.

What I learned was softsubs. Basically an external file (*.srt) that you add your subtitles to and load them up when you play the raw video with no subtitles.  The site I learned off of was from a post on afterdawn website.  They are a great resource when it comes to audio video stuff. Anyway the directions are fairly simple.

1) Get video file.
2) Create a new textfile in that folder. I prefer to call it the video name with srt at the end. so (videoname.srt)
3) Add special codes and text
4) watch video and load the srt file.

Step 3 is what is the most difficult and it really isn't difficult at all. To do it all you need is the start frame and end frame of when you want the text to appear.  Followed by the text.

{1}{200}Hello World How are you Today

That would display "Hello World How are you Today" from frame 1 to 200 then stop displaying it.  You can also change colors and do bold, italic, and underline.

{201}{300}{y:i}I'm Italic
{301}{400}{y:b}I'm bold
{401}{500}{y:u}I'm underlined

You can also do colors too. So something like:

{501}{600}{c:$333333}I'm A different color.

Finally you can even do different fonts too.

{601}{700}{f:Arial}I'm A different font.

So if you wanted to copy paste into a text file all of the above to test it. It would look something like:

{1}{200}Hello World How are you Today
{201}{300}{y:i}I'm Italic
{301}{400}{y:b}I'm bold
{401}{500}{y:u}I'm underlined
{501}{600}{c:$333333}I'm A different color.
{601}{700}{f:Arial}I'm A different font.
{701}{800}{y:i}{c:$333333}I'm several combined into 1

After you have that done you are ready to view them. I personally use windows media player classic and the best way to use them, once the video is loaded, is:

File->load subtitles->(Browse to subtitles and open)

Here are some pictures

 

If you have wanted to do basic Subtitles this gives you a good start. 
I am going to look up how to do embeded subtitles next and will post on
that, hopefully soon.

PowerShell Can Browse a Network Share

If you follow me on twitter then you probably know that I like Anime. If you don’t follow me, you should, then to let you know. I like Anime. Recently, a friend in #alt.net channel on freenode. Was helping me with a script to do some specific renaming to strip out extra crap from anime I download.

Anyway, I have a network share on my anime folder so I can access it from anywhere on my network and watch. Well last night without thinking I just opened up PowerShell CD’d to the network share and ran the script, since I have full control set on the share. After the shows were renamed I closed it and went about finishing Bamboo Blade.

Later I realized I browsed a network share in PowerShell. That is SOOOOO freaking cool that you can do that.  Here is an image proving it:

powershellNetworkShare

Basically, I am starting in my “My Documents” folder on my computer and CD’ing to the remote computer and it works. Then I do a pwd for the path, and viola it works.

This is cool to me and might allow some cool scripts to be run for copying local files to remote servers with a simple click.

When I get the script a little more refined I’ll go ahead and post it up with a blog post.

Here is a silverlight video of it in action.

Update: unfortuneatly in server move I lost the video. :( sorry.

Luanchy the Launcher

For a long time I have been against launchers like Launchy not because I thought they were bad, but because I thought they were useless. Anyway I decided on day that I would give it a shot. After figuring out how to use it and using it for a couple of months now I can honestly say. I like it. I also miss it when I am on another computer without it. It has become and main part of how I use the computer without me realizing it. When I had to redo my computer I didn’t have Launchy installed and constantly kept hitting the buttons to use it. I also realized how much time I save using it. It is definitely a tool that increases productivity.

So, since I was wrong and I admit it I will do a walk through on setting it up and configuring it for you to use. Please, download the app and give it a shot it really is a good product. Best of all it is free.

Install Steps (most are just visual with my config options please read what is typed)

Visit http://www.launchy.net

launchy.net

When going to download area you will be forwarded to SourceForge to finish the download.

Launchy.net download

Launchy SourceForge Download

Next is the Install it is just a typical next next next install please these are the screens for it.

CropperCapture[5]

Eula

Install Location

CropperCapture[9]

CropperCapture[11]

Now we are done so lets configure and use it.

Configure

I am just going to show a couple of screenshots and am going to explain basically what they are and what to do. I'll let you explore the rest.

At this point Launchy should be running. To use launch all you need to do is:

ALT + SPACE

That will bring up something like this: (could be different as there are different skins)

launchy-1

At this point just right click with your mouse and choose options.

A new window should appear and looking like this:

Launchy options

Basically to configure this to launch you applications in the directories area you need to add all the directories you have have applications you want to use. I personally do:

  • C:\Program Files\
  • C:\Documents and Settings\Buddy\My Documents\Programs
  • C:\Windows\System32\

Once you are done with that you should go back and on each direcotry you have chosen go to the left and choose file types you want to launch in each. I usually chose for each.

  • *.exe
  • *.lnk
  • *.pdf

Once you have those done hit the Rescan Catalog button and it will scan all the folders and sub-folders making an index of you applications to launch. After that just hit ok and you are good to start using Launchy.

Once you get done go ahead and to ALT + SPACE and start typing the application name. It should look like.

launchy-2

If you decide to download and install it please leave a comment with what you think.